From be94ae04eee564451203d45977c2ef7c7ace1580 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 10 Nov 2024 03:03:09 +0000 Subject: gentoo auto-resync : 10:11:2024 - 03:03:09 --- net-nds/389-ds-base/389-ds-base-3.0.2-r1.ebuild | 340 +++++++++++++++++++++ net-nds/389-ds-base/389-ds-base-3.0.2.ebuild | 333 -------------------- net-nds/389-ds-base/Manifest | 3 +- .../389-ds-base-3.0.2-fix-rust-in-configure.patch | 34 +++ net-nds/Manifest.gz | Bin 2221 -> 2226 bytes 5 files changed, 376 insertions(+), 334 deletions(-) create mode 100644 net-nds/389-ds-base/389-ds-base-3.0.2-r1.ebuild delete mode 100644 net-nds/389-ds-base/389-ds-base-3.0.2.ebuild create mode 100644 net-nds/389-ds-base/files/389-ds-base-3.0.2-fix-rust-in-configure.patch (limited to 'net-nds') diff --git a/net-nds/389-ds-base/389-ds-base-3.0.2-r1.ebuild b/net-nds/389-ds-base/389-ds-base-3.0.2-r1.ebuild new file mode 100644 index 000000000000..cb81c3d6e77f --- /dev/null +++ b/net-nds/389-ds-base/389-ds-base-3.0.2-r1.ebuild @@ -0,0 +1,340 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +CRATES=" + addr2line@0.21.0 + adler@1.0.2 + ahash@0.7.7 + atty@0.2.14 + autocfg@1.1.0 + backtrace@0.3.69 + base64@0.13.1 + bitflags@1.3.2 + bitflags@2.4.2 + byteorder@1.5.0 + cbindgen@0.26.0 + cc@1.0.83 + cfg-if@1.0.0 + clap@3.2.25 + clap_lex@0.2.4 + concread@0.2.21 + crossbeam-channel@0.5.11 + crossbeam-deque@0.8.5 + crossbeam-epoch@0.9.18 + crossbeam-queue@0.3.11 + crossbeam-utils@0.8.19 + crossbeam@0.8.4 + errno@0.3.8 + fastrand@2.0.1 + fernet@0.1.4 + foreign-types-shared@0.1.1 + foreign-types@0.3.2 + getrandom@0.2.12 + gimli@0.28.1 + hashbrown@0.12.3 + heck@0.4.1 + hermit-abi@0.1.19 + indexmap@1.9.3 + instant@0.1.12 + itoa@1.0.10 + jobserver@0.1.27 + libc@0.2.152 + linux-raw-sys@0.4.13 + lock_api@0.4.11 + log@0.4.20 + lru@0.7.8 + memchr@2.7.1 + miniz_oxide@0.7.1 + object@0.32.2 + once_cell@1.19.0 + openssl-macros@0.1.1 + openssl-sys@0.9.99 + openssl@0.10.63 + os_str_bytes@6.6.1 + parking_lot@0.11.2 + parking_lot_core@0.8.6 + paste-impl@0.1.18 + paste@0.1.18 + pin-project-lite@0.2.13 + pkg-config@0.3.29 + ppv-lite86@0.2.17 + proc-macro-hack@0.5.20+deprecated + proc-macro2@1.0.78 + quote@1.0.35 + rand@0.8.5 + rand_chacha@0.3.1 + rand_core@0.6.4 + redox_syscall@0.2.16 + redox_syscall@0.4.1 + rustc-demangle@0.1.23 + rustix@0.38.30 + ryu@1.0.16 + scopeguard@1.2.0 + serde@1.0.196 + serde_derive@1.0.196 + serde_json@1.0.113 + smallvec@1.13.1 + strsim@0.10.0 + syn@1.0.109 + syn@2.0.48 + tempfile@3.9.0 + termcolor@1.4.1 + textwrap@0.16.0 + tokio-macros@2.2.0 + tokio@1.35.1 + toml@0.5.11 + unicode-ident@1.0.12 + uuid@0.8.2 + vcpkg@0.2.15 + version_check@0.9.4 + wasi@0.11.0+wasi-snapshot-preview1 + winapi-i686-pc-windows-gnu@0.4.0 + winapi-util@0.1.6 + winapi-x86_64-pc-windows-gnu@0.4.0 + winapi@0.3.9 + windows-sys@0.52.0 + windows-targets@0.52.0 + windows_aarch64_gnullvm@0.52.0 + windows_aarch64_msvc@0.52.0 + windows_i686_gnu@0.52.0 + windows_i686_msvc@0.52.0 + windows_x86_64_gnu@0.52.0 + windows_x86_64_gnullvm@0.52.0 + windows_x86_64_msvc@0.52.0 + zeroize@1.7.0 + zeroize_derive@1.4.2 +" + +PYTHON_COMPAT=( python3_{10..12} ) + +DISTUTILS_SINGLE_IMPL=1 +DISTUTILS_USE_PEP517=setuptools + +RUST_MAX_VER="1.77.1" + +inherit autotools cargo distutils-r1 readme.gentoo-r1 systemd tmpfiles + +DESCRIPTION="389 Directory Server (core libraries and daemons)" +HOMEPAGE="https://directory.fedoraproject.org/" +SRC_URI=" + https://github.com/389ds/${PN}/archive/refs/tags/${P}.tar.gz + ${CARGO_CRATE_URIS} +" +S="${WORKDIR}/${PN}-${P}" + +LICENSE="GPL-3+" +# Dependent crate licenses +LICENSE+=" Apache-2.0 BSD MIT MPL-2.0 Unicode-DFS-2016" + +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE_PLUGINS="+accountpolicy +bitwise +dna +pam-passthru" +IUSE="${IUSE_PLUGINS} +autobind auto-dn-suffix debug doc +ldapi selinux systemd" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +# lib389 tests (which is most of the suite) can't find their own modules. +RESTRICT="test" + +# Do not add any AGPL-3 BDB here! +# See bug 525110, comment 15. +DEPEND=" + >=app-crypt/mit-krb5-1.7-r100[openldap] + dev-db/lmdb:= + >=dev-libs/cyrus-sasl-2.1.19:2[kerberos] + dev-libs/json-c:= + >=dev-libs/icu-60.2:= + dev-libs/nspr + >=dev-libs/nss-3.22[utils] + dev-libs/libpcre2:= + dev-libs/openssl:0= + >=net-analyzer/net-snmp-5.1.2:= + net-nds/openldap:=[sasl] + sys-libs/cracklib + sys-libs/db:5.3 + sys-libs/zlib + sys-fs/e2fsprogs + pam-passthru? ( sys-libs/pam ) + selinux? ( + $(python_gen_cond_dep ' + sys-libs/libselinux[python,${PYTHON_USEDEP}] + ') + ) + systemd? ( >=sys-apps/systemd-244 ) + virtual/libcrypt:= +" + +BDEPEND=">=dev-build/autoconf-2.69-r5 + virtual/pkgconfig + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/argparse-manpage[${PYTHON_USEDEP}] + ') + doc? ( app-text/doxygen ) + test? ( dev-util/cmocka ) +" + +# perl dependencies are for logconv.pl +RDEPEND="${DEPEND} + acct-user/dirsrv + ${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/pyasn1[${PYTHON_USEDEP}] + dev-python/pyasn1-modules[${PYTHON_USEDEP}] + dev-python/argcomplete[${PYTHON_USEDEP}] + dev-python/cryptography[${PYTHON_USEDEP}] + dev-python/python-dateutil[${PYTHON_USEDEP}] + dev-python/python-ldap[sasl,${PYTHON_USEDEP}] + dev-python/distro[${PYTHON_USEDEP}] + ') + virtual/perl-Archive-Tar + virtual/perl-DB_File + virtual/perl-IO + virtual/perl-Getopt-Long + virtual/perl-IO-Compress + virtual/perl-MIME-Base64 + virtual/perl-Scalar-List-Utils + virtual/perl-Time-Local + virtual/logger + selinux? ( sec-policy/selinux-dirsrv ) +" + +PATCHES=( + "${FILESDIR}/${PN}-db-gentoo.patch" + "${FILESDIR}/${PN}-3.0.2-fix-rust-in-configure.patch" +) + +distutils_enable_tests pytest + +pkg_setup() { + python-single-r1_pkg_setup + rust_pkg_setup +} + +src_prepare() { + # https://github.com/389ds/389-ds-base/issues/4292 + if use !systemd; then + sed -i \ + -e 's|WITH_SYSTEMD = 1|WITH_SYSTEMD = 0|' \ + Makefile.am || die + fi + + default + + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable accountpolicy acctpolicy) + $(use_enable bitwise) + $(use_enable dna) + $(use_enable pam-passthru) + $(use_enable autobind) + $(use_enable auto-dn-suffix) + $(use_enable debug) + $(use_enable ldapi) + $(use_with selinux) + $(use_with !systemd initddir "/etc/init.d") + $(use_with systemd) + $(use_enable test cmocka) + --with-systemdgroupname="dirsrv.target" + --with-tmpfiles-d="${EPREFIX}/usr/lib/tmpfiles.d" + --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" + --enable-rust-offline + --with-pythonexec="${PYTHON}" + --with-fhs + --with-openldap + --with-db-inc="${EPREFIX}"/usr/include/db5.3 + --disable-cockpit + ) + + econf "${myeconfargs[@]}" + + rm .cargo/config || die +} + +src_compile() { + export CARGO_HOME="${ECARGO_HOME}" + + default + + if use doc; then + doxygen docs/slapi.doxy || die + fi + + emake src/lib389/setup.py + pushd src/lib389 &>/dev/null || die + distutils-r1_src_compile + popd &>/dev/null || die + + # argparse-manpage dynamic man pages have hardcoded man v1 in header + sed -i \ + "1s/\"1\"/\"8\"/" \ + src/lib389/man/{openldap_to_ds,ds{conf,ctl,idm,create}}.8 || die +} + +src_test () { + emake check + distutils-r1_src_test +} + +src_install() { + # -j1 is a temporary workaround for bug #605432 + emake -j1 DESTDIR="${D}" install + + # Install gentoo style init script + # Get these merged upstream + newinitd "${FILESDIR}"/389-ds.initd-r1 389-ds + newinitd "${FILESDIR}"/389-ds-snmp.initd 389-ds-snmp + + dotmpfiles "${FILESDIR}"/389-ds-base.conf + + # cope with libraries being in /usr/lib/dirsrv + dodir /etc/env.d + echo "LDPATH=/usr/$(get_libdir)/dirsrv" > "${ED}"/etc/env.d/08dirsrv || die + + if use doc; then + docinto html/ + dodoc -r html/. + fi + + pushd src/lib389 &>/dev/null || die + distutils-r1_src_install + popd &>/dev/null || die + + # wheel installs this in site-packages/usr.. + local misplaced_usr="${D}/usr/lib/${EPYTHON}/site-packages/usr" + mkdir -p "${ED}"/usr/libexec/dirsrv + mv "${misplaced_usr}/libexec/dirsrv/dscontainer" "${ED}"/usr/libexec/dirsrv + mv "${misplaced_usr}/sbin/openldap_to_ds" "${ED}"/usr/sbin + mv "${misplaced_usr}/sbin/dsconf" "${ED}"/usr/sbin + mv "${misplaced_usr}/sbin/dsctl" "${ED}"/usr/sbin + mv "${misplaced_usr}/sbin/dsidm" "${ED}"/usr/sbin + mv "${misplaced_usr}/sbin/dscreate" "${ED}"/usr/sbin + mv "${misplaced_usr}/share/man/man8/openldap_to_ds.8" "${ED}"/usr/share/man/man8 + mv "${misplaced_usr}/share/man/man8/dsconf.8" "${ED}"/usr/share/man/man8 + mv "${misplaced_usr}/share/man/man8/dsctl.8" "${ED}"/usr/share/man/man8 + mv "${misplaced_usr}/share/man/man8/dsidm.8" "${ED}"/usr/share/man/man8 + mv "${misplaced_usr}/share/man/man8/dscreate.8" "${ED}"/usr/share/man/man8 + rm -d "${misplaced_usr}"/share/man/man8 || die + rm -d "${misplaced_usr}"/share/man || die + rm -d "${misplaced_usr}"/libexec/dirsrv || die + rm -d "${misplaced_usr}"/{libexec,sbin,share} || die + rm -d "${misplaced_usr}" || die + + python_fix_shebang "${ED}" + python_optimize + + readme.gentoo_create_doc + + find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die +} + +pkg_postinst() { + tmpfiles_process 389-ds-base.conf + + readme.gentoo_print_elog +} diff --git a/net-nds/389-ds-base/389-ds-base-3.0.2.ebuild b/net-nds/389-ds-base/389-ds-base-3.0.2.ebuild deleted file mode 100644 index 5a5199ac853f..000000000000 --- a/net-nds/389-ds-base/389-ds-base-3.0.2.ebuild +++ /dev/null @@ -1,333 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -CRATES=" - addr2line@0.21.0 - adler@1.0.2 - ahash@0.7.7 - atty@0.2.14 - autocfg@1.1.0 - backtrace@0.3.69 - base64@0.13.1 - bitflags@1.3.2 - bitflags@2.4.2 - byteorder@1.5.0 - cbindgen@0.26.0 - cc@1.0.83 - cfg-if@1.0.0 - clap@3.2.25 - clap_lex@0.2.4 - concread@0.2.21 - crossbeam-channel@0.5.11 - crossbeam-deque@0.8.5 - crossbeam-epoch@0.9.18 - crossbeam-queue@0.3.11 - crossbeam-utils@0.8.19 - crossbeam@0.8.4 - errno@0.3.8 - fastrand@2.0.1 - fernet@0.1.4 - foreign-types-shared@0.1.1 - foreign-types@0.3.2 - getrandom@0.2.12 - gimli@0.28.1 - hashbrown@0.12.3 - heck@0.4.1 - hermit-abi@0.1.19 - indexmap@1.9.3 - instant@0.1.12 - itoa@1.0.10 - jobserver@0.1.27 - libc@0.2.152 - linux-raw-sys@0.4.13 - lock_api@0.4.11 - log@0.4.20 - lru@0.7.8 - memchr@2.7.1 - miniz_oxide@0.7.1 - object@0.32.2 - once_cell@1.19.0 - openssl-macros@0.1.1 - openssl-sys@0.9.99 - openssl@0.10.63 - os_str_bytes@6.6.1 - parking_lot@0.11.2 - parking_lot_core@0.8.6 - paste-impl@0.1.18 - paste@0.1.18 - pin-project-lite@0.2.13 - pkg-config@0.3.29 - ppv-lite86@0.2.17 - proc-macro-hack@0.5.20+deprecated - proc-macro2@1.0.78 - quote@1.0.35 - rand@0.8.5 - rand_chacha@0.3.1 - rand_core@0.6.4 - redox_syscall@0.2.16 - redox_syscall@0.4.1 - rustc-demangle@0.1.23 - rustix@0.38.30 - ryu@1.0.16 - scopeguard@1.2.0 - serde@1.0.196 - serde_derive@1.0.196 - serde_json@1.0.113 - smallvec@1.13.1 - strsim@0.10.0 - syn@1.0.109 - syn@2.0.48 - tempfile@3.9.0 - termcolor@1.4.1 - textwrap@0.16.0 - tokio-macros@2.2.0 - tokio@1.35.1 - toml@0.5.11 - unicode-ident@1.0.12 - uuid@0.8.2 - vcpkg@0.2.15 - version_check@0.9.4 - wasi@0.11.0+wasi-snapshot-preview1 - winapi-i686-pc-windows-gnu@0.4.0 - winapi-util@0.1.6 - winapi-x86_64-pc-windows-gnu@0.4.0 - winapi@0.3.9 - windows-sys@0.52.0 - windows-targets@0.52.0 - windows_aarch64_gnullvm@0.52.0 - windows_aarch64_msvc@0.52.0 - windows_i686_gnu@0.52.0 - windows_i686_msvc@0.52.0 - windows_x86_64_gnu@0.52.0 - windows_x86_64_gnullvm@0.52.0 - windows_x86_64_msvc@0.52.0 - zeroize@1.7.0 - zeroize_derive@1.4.2 -" - -PYTHON_COMPAT=( python3_{10..12} ) - -DISTUTILS_SINGLE_IMPL=1 -DISTUTILS_USE_PEP517=setuptools - -inherit autotools cargo distutils-r1 readme.gentoo-r1 systemd tmpfiles - -DESCRIPTION="389 Directory Server (core libraries and daemons)" -HOMEPAGE="https://directory.fedoraproject.org/" -SRC_URI=" - https://github.com/389ds/${PN}/archive/refs/tags/${P}.tar.gz - ${CARGO_CRATE_URIS} -" -S="${WORKDIR}/${PN}-${P}" - -LICENSE="GPL-3+" -# Dependent crate licenses -LICENSE+=" Apache-2.0 BSD MIT MPL-2.0 Unicode-DFS-2016" - -SLOT="0" -KEYWORDS="~amd64 ~arm64" -IUSE_PLUGINS="+accountpolicy +bitwise +dna +pam-passthru" -IUSE="${IUSE_PLUGINS} +autobind auto-dn-suffix debug doc +ldapi selinux systemd" - -REQUIRED_USE="${PYTHON_REQUIRED_USE}" - -# lib389 tests (which is most of the suite) can't find their own modules. -RESTRICT="test" - -# Do not add any AGPL-3 BDB here! -# See bug 525110, comment 15. -DEPEND=" - >=app-crypt/mit-krb5-1.7-r100[openldap] - dev-db/lmdb:= - >=dev-libs/cyrus-sasl-2.1.19:2[kerberos] - dev-libs/json-c:= - >=dev-libs/icu-60.2:= - dev-libs/nspr - >=dev-libs/nss-3.22[utils] - dev-libs/libpcre2:= - dev-libs/openssl:0= - >=net-analyzer/net-snmp-5.1.2:= - net-nds/openldap:=[sasl] - sys-libs/cracklib - sys-libs/db:5.3 - sys-libs/zlib - sys-fs/e2fsprogs - pam-passthru? ( sys-libs/pam ) - selinux? ( - $(python_gen_cond_dep ' - sys-libs/libselinux[python,${PYTHON_USEDEP}] - ') - ) - systemd? ( >=sys-apps/systemd-244 ) - virtual/libcrypt:= -" - -BDEPEND=">=dev-build/autoconf-2.69-r5 - virtual/pkgconfig - >=virtual/rust-1.70 - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-python/argparse-manpage[${PYTHON_USEDEP}] - ') - doc? ( app-text/doxygen ) - test? ( dev-util/cmocka ) -" - -# perl dependencies are for logconv.pl -RDEPEND="${DEPEND} - acct-user/dirsrv - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-python/pyasn1[${PYTHON_USEDEP}] - dev-python/pyasn1-modules[${PYTHON_USEDEP}] - dev-python/argcomplete[${PYTHON_USEDEP}] - dev-python/cryptography[${PYTHON_USEDEP}] - dev-python/python-dateutil[${PYTHON_USEDEP}] - dev-python/python-ldap[sasl,${PYTHON_USEDEP}] - dev-python/distro[${PYTHON_USEDEP}] - ') - virtual/perl-Archive-Tar - virtual/perl-DB_File - virtual/perl-IO - virtual/perl-Getopt-Long - virtual/perl-IO-Compress - virtual/perl-MIME-Base64 - virtual/perl-Scalar-List-Utils - virtual/perl-Time-Local - virtual/logger - selinux? ( sec-policy/selinux-dirsrv ) -" - -PATCHES=( - "${FILESDIR}/${PN}-db-gentoo.patch" -) - -distutils_enable_tests pytest - -src_prepare() { - # https://github.com/389ds/389-ds-base/issues/4292 - if use !systemd; then - sed -i \ - -e 's|WITH_SYSTEMD = 1|WITH_SYSTEMD = 0|' \ - Makefile.am || die - fi - - default - - eautoreconf -} - -src_configure() { - local myeconfargs=( - $(use_enable accountpolicy acctpolicy) - $(use_enable bitwise) - $(use_enable dna) - $(use_enable pam-passthru) - $(use_enable autobind) - $(use_enable auto-dn-suffix) - $(use_enable debug) - $(use_enable ldapi) - $(use_with selinux) - $(use_with !systemd initddir "/etc/init.d") - $(use_with systemd) - $(use_enable test cmocka) - --with-systemdgroupname="dirsrv.target" - --with-tmpfiles-d="${EPREFIX}/usr/lib/tmpfiles.d" - --with-systemdsystemunitdir="$(systemd_get_systemunitdir)" - --enable-rust-offline - --with-pythonexec="${PYTHON}" - --with-fhs - --with-openldap - --with-db-inc="${EPREFIX}"/usr/include/db5.3 - --disable-cockpit - ) - - econf "${myeconfargs[@]}" - - rm .cargo/config || die -} - -src_compile() { - export CARGO_HOME="${ECARGO_HOME}" - - default - - if use doc; then - doxygen docs/slapi.doxy || die - fi - - emake src/lib389/setup.py - pushd src/lib389 &>/dev/null || die - distutils-r1_src_compile - popd &>/dev/null || die - - # argparse-manpage dynamic man pages have hardcoded man v1 in header - sed -i \ - "1s/\"1\"/\"8\"/" \ - src/lib389/man/{openldap_to_ds,ds{conf,ctl,idm,create}}.8 || die -} - -src_test () { - emake check - distutils-r1_src_test -} - -src_install() { - # -j1 is a temporary workaround for bug #605432 - emake -j1 DESTDIR="${D}" install - - # Install gentoo style init script - # Get these merged upstream - newinitd "${FILESDIR}"/389-ds.initd-r1 389-ds - newinitd "${FILESDIR}"/389-ds-snmp.initd 389-ds-snmp - - dotmpfiles "${FILESDIR}"/389-ds-base.conf - - # cope with libraries being in /usr/lib/dirsrv - dodir /etc/env.d - echo "LDPATH=/usr/$(get_libdir)/dirsrv" > "${ED}"/etc/env.d/08dirsrv || die - - if use doc; then - docinto html/ - dodoc -r html/. - fi - - pushd src/lib389 &>/dev/null || die - distutils-r1_src_install - popd &>/dev/null || die - - # wheel installs this in site-packages/usr.. - local misplaced_usr="${D}/usr/lib/${EPYTHON}/site-packages/usr" - mkdir -p "${ED}"/usr/libexec/dirsrv - mv "${misplaced_usr}/libexec/dirsrv/dscontainer" "${ED}"/usr/libexec/dirsrv - mv "${misplaced_usr}/sbin/openldap_to_ds" "${ED}"/usr/sbin - mv "${misplaced_usr}/sbin/dsconf" "${ED}"/usr/sbin - mv "${misplaced_usr}/sbin/dsctl" "${ED}"/usr/sbin - mv "${misplaced_usr}/sbin/dsidm" "${ED}"/usr/sbin - mv "${misplaced_usr}/sbin/dscreate" "${ED}"/usr/sbin - mv "${misplaced_usr}/share/man/man8/openldap_to_ds.8" "${ED}"/usr/share/man/man8 - mv "${misplaced_usr}/share/man/man8/dsconf.8" "${ED}"/usr/share/man/man8 - mv "${misplaced_usr}/share/man/man8/dsctl.8" "${ED}"/usr/share/man/man8 - mv "${misplaced_usr}/share/man/man8/dsidm.8" "${ED}"/usr/share/man/man8 - mv "${misplaced_usr}/share/man/man8/dscreate.8" "${ED}"/usr/share/man/man8 - rm -d "${misplaced_usr}"/share/man/man8 || die - rm -d "${misplaced_usr}"/share/man || die - rm -d "${misplaced_usr}"/libexec/dirsrv || die - rm -d "${misplaced_usr}"/{libexec,sbin,share} || die - rm -d "${misplaced_usr}" || die - - python_fix_shebang "${ED}" - python_optimize - - readme.gentoo_create_doc - - find "${ED}" -type f \( -name "*.a" -o -name "*.la" \) -delete || die -} - -pkg_postinst() { - tmpfiles_process 389-ds-base.conf - - readme.gentoo_print_elog -} diff --git a/net-nds/389-ds-base/Manifest b/net-nds/389-ds-base/Manifest index 2e86eb9ca41e..510ef438f949 100644 --- a/net-nds/389-ds-base/Manifest +++ b/net-nds/389-ds-base/Manifest @@ -1,3 +1,4 @@ +AUX 389-ds-base-3.0.2-fix-rust-in-configure.patch 1157 BLAKE2B e79081e399ed900ed22c75c975599c6a7ebf7fd1735258b39cc2b4f1c8f3b0a41f5353e260cfe14a10683a53e9dca3f6cf37bfee9ffb1289d83698185a737ce2 SHA512 480a86503a8724a9b68755a4d04c5231f17bcd9bf27e8251ec183a7a2a66b5aca4160afc255cb84e0c5c8a81516bdc100ee5e8e03ee84f052453733c4a87ade4 AUX 389-ds-base-db-gentoo.patch 838 BLAKE2B 88ba5e7b2868b9e790fd2b326e4ceddbbb5d82f8f598ab8a41c4f1acb79d3796a9e17f20fc9fd282a801e761612bf568947657f46001fd7d3fa76daadac44cfb SHA512 e37a1ca80cbd733e01bd077cb05cc656b725a3f596221946198a34b9e62f231642d5e10b09e40dd02564cab9e01593225b622c70d49b456054f9fcfd762f597d AUX 389-ds-base.conf 118 BLAKE2B 48d1ef0410b57658508544aa8826ff8e12a17aaf5de1c1ea3346414d6f16ea3b44d14e300b23b82441ae6272df36089892aabfd027c73a3ce70e6a3c9ec9d358 SHA512 69ed8b8f3bdbf9098088b0c92c41a238f16d14ba9f86ebc2b5debe5f001b4d8e235f7cff4731d72b30b5ac70486b0f4300b99646aa3926a3fa59515a64f16402 AUX 389-ds-snmp.initd 951 BLAKE2B 5598a35b1368cce330d314e335d8fe624ed318c3363f32e9128968cc23de9f87a253b4790673c7557325a395961490ee4918d9a9d9bce4efd23d616418735aaf SHA512 ce58938ac13efb74e3a70def3a44c267095aae4c2e47e65ff176e9cc7e65f4210af230dc52738b5dcd3d831c9ba97cb030f8e5c5f0eaccb6bc6a1a379383f3a4 @@ -105,5 +106,5 @@ DIST windows_x86_64_gnullvm-0.52.0.crate 430165 BLAKE2B af9345a1f6e0ed1392ca1534 DIST windows_x86_64_msvc-0.52.0.crate 821600 BLAKE2B cc448b65f98fc0fc4949ae622b7020d2dae927ae45310649f6ef71809740eda9d3db0fc035676c201fd9ab9639e9e7f21e2e992b4c789542f12b419d2c752179 SHA512 3aaee31533a1a48a6ab5cd15b3cadfbd906a93a153e53919d0aa74e440d11e29830554e4e014c215f5b88a475bb733fa8ba4ce9d773d3e23a40ea9ad37ddd0a7 DIST zeroize-1.7.0.crate 19039 BLAKE2B 2f94a5025f409bd2b96a456d2f78a34c6b05b5554abe7ef3fad2a55a8fcff8a6a1b971be660aa4c2954ab7d6e89bebc431036e349edef74711292f9f64b1dbae SHA512 9d31e3e76e8c861309a3579c21f6da5fd6b056c7d7a350427445a1a832e8827204804783f7f9b808acaa2148efef883d9078bf84943b1db55526bba5bf5a2756 DIST zeroize_derive-1.4.2.crate 11141 BLAKE2B a40add656369a3a40d5b5f3397a77a1e9f803d4b8ae5b7d51c9f2ebb332a289b3c1ea528655806a26998e081a1cc9f4b07828664542de8d8d2619faf079d25c5 SHA512 d6966b024ce5e265c93e7056659ccbb97bbf6baa30f759fd96dc4391a6487426637f61f0a2713b6160019d778cf7d8ff1f25bb33d6c4f4585b990baae418b226 -EBUILD 389-ds-base-3.0.2.ebuild 7769 BLAKE2B e925ec32f7878a8180dbf2bbbc4ceb8f54ec813cfb9c088577eb35d76fe660b36272107f4382bb109666788fbb91005dcc55d3a6beff47b4b49d1edf5744df4c SHA512 ddf6ddea05fe21eb19374ff648285dd323fa2a5027b5120e2d6b841a5d95affdc1f2155d208ef3bcdba02db985b182df9c773f8ea15fac55f46dc51a7fc07c06 +EBUILD 389-ds-base-3.0.2-r1.ebuild 7887 BLAKE2B 8f3106c7193af203e9a7fe94c89ecbd6cb68d64d35cb770311ac3a1e9d54f9b635dc21f16f754d8b833fe7f1156834a66b76ba620cfe5c0bde584a9a4658c950 SHA512 0c6a3d8b6a7063582f5590af39ade1a28ee30972584e47c416de70fc15fe07e25d453d75093a657b1e4ab8f1182f10f3fa8e7609e68e2a3dbedf76df90104219 MISC metadata.xml 1582 BLAKE2B b29c4633cc0264cfc762327d8b24f21abed6a0e7b92d093d46826945f500d73898a488003d00a4c1fd2feef469a095ef3fc3d55c710f1c6543fb469e088ce2fd SHA512 6413a53a8494cb491bfdabfb4f097f657f86163e33e60ea0c7c1f02079a44d2e487ab2fd72a15f0e34d66ce840d52f058212b97213e45f50069d333a910dc83f diff --git a/net-nds/389-ds-base/files/389-ds-base-3.0.2-fix-rust-in-configure.patch b/net-nds/389-ds-base/files/389-ds-base-3.0.2-fix-rust-in-configure.patch new file mode 100644 index 000000000000..fef1496e52af --- /dev/null +++ b/net-nds/389-ds-base/files/389-ds-base-3.0.2-fix-rust-in-configure.patch @@ -0,0 +1,34 @@ +From 28d4871c5844b41d63a5cbc093b4453c98d5427e Mon Sep 17 00:00:00 2001 +From: Matt Jolly +Date: Thu, 7 Nov 2024 20:08:44 +1000 +Subject: [PATCH] Fix rust in configure + +RUSTC and CARGO are standard variables that are often used to indicate +the desired implementation to build systems. + +Prefix existing usage of these variables with `HAS_` so that this +does not just break +--- a/configure.ac ++++ b/configure.ac +@@ -95,10 +95,10 @@ AS_IF([test "$enable_rust_offline" = yes], + [rust_vendor_sources=""]) + AC_SUBST([rust_vendor_sources]) + if test "$enable_rust_offline" = yes; then +- AC_CHECK_PROG(CARGO, [cargo], [yes], [no]) +- AC_CHECK_PROG(RUSTC, [rustc], [yes], [no]) ++ AC_CHECK_PROG(HAS_CARGO, [cargo], [yes], [no]) ++ AC_CHECK_PROG(HAS_RUSTC, [rustc], [yes], [no]) + +- AS_IF([test "$CARGO" != "yes" -o "$RUSTC" != "yes"], [ ++ AS_IF([test "$HAS_CARGO" != "yes" -o "$HAS_RUSTC" != "yes"], [ + AC_MSG_FAILURE("Rust based plugins cannot be built cargo=$CARGO rustc=$RUSTC") + ]) + fi +@@ -944,4 +944,3 @@ AC_CONFIG_FILES([Makefile rpm/389-ds-base.spec ]) + AC_CONFIG_FILES([.cargo/config]) + + AC_OUTPUT +- +-- +2.47.0 + diff --git a/net-nds/Manifest.gz b/net-nds/Manifest.gz index ea6458b4c65f..12d28cdfded6 100644 Binary files a/net-nds/Manifest.gz and b/net-nds/Manifest.gz differ -- cgit v1.2.3