diff options
| author | root <root@alpha.trunkmasters.com> | 2026-08-14 03:04:40 -0500 |
|---|---|---|
| committer | root <root@alpha.trunkmasters.com> | 2026-08-14 03:04:40 -0500 |
| commit | 44ac9950da93ffaa670439fbc31f0a3f95378bb3 (patch) | |
| tree | 88c80e746a3195bb4d1869bcb64467fdabcc54c8 /net-misc | |
| parent | 00a5031b2e58fb36fc981fe226565880b4798a8b (diff) | |
| download | baldeagleos-repo-44ac9950da93ffaa670439fbc31f0a3f95378bb3.tar.gz baldeagleos-repo-44ac9950da93ffaa670439fbc31f0a3f95378bb3.tar.xz baldeagleos-repo-44ac9950da93ffaa670439fbc31f0a3f95378bb3.zip | |
Adding metadata
Diffstat (limited to 'net-misc')
22 files changed, 2 insertions, 2250 deletions
diff --git a/net-misc/freerdp/Manifest b/net-misc/freerdp/Manifest index 74ae8f4287bf..7290cdda36d6 100644 --- a/net-misc/freerdp/Manifest +++ b/net-misc/freerdp/Manifest @@ -1,5 +1,3 @@ -DIST freerdp-3.27.1.tar.gz 11452205 BLAKE2B ee08cfc2e4d203e6a2796bc52fa5b2285d6359d38482c5a4ffcc8dd3bd11c2593ab21a5772bdc13acaf810a8f229d669324f8d6d573d5c7ee9bec20dcfd46c4e SHA512 8d564dd8552abf3ecd592a106c43434f62895caeebb425fa2b259456d6670e64d513d6174ffc31a26aac57697e954156e0f8bb9900524d6f96efd3d8d4f3afe5 -DIST freerdp-3.27.1.tar.gz.asc 228 BLAKE2B 5d0d86bd3e1643b8c325d6197295c74e8ccaa38d2cabb497fbe98ee285f9ab73ffc6f28f1ee4428bab57d7a54952d9ee6daef68761109dc25a3cfd7d5768471b SHA512 32f052e66ecec48315288e2f675853ab823309f20e090596e38a00177e6fecdb69df77d6021564bc4ea6f2c5b914504de105639f1b29ce810fb07d9511910242 DIST freerdp-3.29.0.tar.gz 11067925 BLAKE2B 2202eae9cca1275b366b6b87935760ec438b10ef0e15222241ee8126b74614938dc47586d51c28e68e1597fc46a0a02130238af7dff5db4fc850d6604e516548 SHA512 daa1dc6d561c5ffa65a422ffbd218a6244dd3eff400759a456f33ead3618461302d13543ae32a41aa188b2e3590f15b143cf158b13f38b235fe992c38c9916f9 DIST freerdp-3.29.0.tar.gz.asc 228 BLAKE2B 5df8af1b75bfe5eb0be2526908c39d6324c9bbd04219528b84b467e9db875ed4b406e550d8e2a4ca4ee528d405063183d551f98aa405a1361fdc28307a0b3453 SHA512 46373f21988db91fa9179364290e0daf3a8b2d58cc084a6c1fbd5870994b011bebab01b8e9ee32e7df266350fb0a647defaab37aa5d10246f8922b196460d1ff DIST freerdp-3.30.0.tar.gz 11070523 BLAKE2B 654816d8fede28e5a302f4288481411ae6dc07ab2bd090026e2d92c3d19a896e40b5d8ca79fe45daa7e77459b21b540ef825abd3df1d573a88a59c2dccdcfade SHA512 a7048c67936640779c9a754af35466fe4821b4cf98f68ebeccdbc6793ddf755e53e672390a91cd0440d26b9be9ae65e67689d8e3c9c249ce6971bee3a10c6629 diff --git a/net-misc/freerdp/freerdp-3.27.1.ebuild b/net-misc/freerdp/freerdp-3.27.1.ebuild deleted file mode 100644 index 3398e4ac12ec..000000000000 --- a/net-misc/freerdp/freerdp-3.27.1.ebuild +++ /dev/null @@ -1,192 +0,0 @@ -# Copyright 2011-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake flag-o-matic - -if [[ ${PV} == *9999 ]]; then - inherit git-r3 - EGIT_REPO_URI="https://github.com/FreeRDP/FreeRDP.git" - case ${PV} in - 2.*) EGIT_BRANCH="stable-2.0";; - esac -else - inherit verify-sig - MY_P=${P/_/-} - S="${WORKDIR}/${MY_P}" - SRC_URI="https://pub.freerdp.com/releases/${MY_P}.tar.gz - verify-sig? ( https://pub.freerdp.com/releases/${MY_P}.tar.gz.asc )" - KEYWORDS="~alpha amd64 arm arm64 ~loong ~ppc ppc64 ~riscv x86" - BDEPEND="verify-sig? ( sec-keys/openpgp-keys-akallabeth )" - VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/akallabeth.asc" -fi - -DESCRIPTION="Free implementation of the Remote Desktop Protocol" -HOMEPAGE="https://www.freerdp.com/" - -LICENSE="Apache-2.0" -SLOT="3" -IUSE="aad alsa camera cpu_flags_arm_neon +client cups debug +ffmpeg +fuse gstreamer +icu jpeg kerberos openh264 pulseaudio sdl server smartcard systemd test usb valgrind wayland X xinerama xv" -RESTRICT="!test? ( test )" - -BDEPEND+=" - virtual/pkgconfig - app-text/docbook-xsl-stylesheets - dev-libs/libxslt -" -COMMON_DEPEND=" - dev-libs/openssl:0= - virtual/zlib:= - aad? ( dev-libs/cJSON ) - alsa? ( media-libs/alsa-lib ) - cups? ( net-print/cups ) - usb? ( - virtual/libudev:0= - sys-apps/util-linux:0= - dev-libs/dbus-glib:0= - virtual/libusb:1= - ) - X? ( - x11-libs/libXcursor - x11-libs/libXext - x11-libs/libXi - x11-libs/libXrender - xinerama? ( x11-libs/libXinerama ) - xv? ( x11-libs/libXv ) - ) - ffmpeg? ( media-video/ffmpeg:0= ) - !ffmpeg? ( - x11-libs/cairo:0= - ) - fuse? ( sys-fs/fuse:3= ) - gstreamer? ( - media-libs/gstreamer:1.0 - media-libs/gst-plugins-base:1.0 - X? ( x11-libs/libXrandr ) - ) - icu? ( dev-libs/icu:0= ) - jpeg? ( media-libs/libjpeg-turbo:0= ) - kerberos? ( virtual/krb5 ) - openh264? ( media-libs/openh264:0= ) - pulseaudio? ( media-libs/libpulse ) - server? ( - X? ( - x11-libs/libXcursor - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXrandr - x11-libs/libXtst - xinerama? ( x11-libs/libXinerama ) - ) - ) - smartcard? ( sys-apps/pcsc-lite ) - systemd? ( sys-apps/systemd:0= ) - client? ( - camera? ( media-libs/libv4l ) - sdl? ( - media-libs/libsdl3 - media-libs/sdl3-ttf - ) - wayland? ( - dev-libs/wayland - x11-libs/libxkbcommon - ) - ) - X? ( - x11-libs/libX11 - x11-libs/libxkbfile - ) -" -DEPEND="${COMMON_DEPEND} - test? ( - ffmpeg? ( media-video/ffmpeg:0[x264(-)] ) - ) - valgrind? ( dev-debug/valgrind ) -" -RDEPEND="${COMMON_DEPEND} - !net-misc/freerdp:0 - client? ( !net-misc/freerdp:2[client] ) - server? ( !net-misc/freerdp:2[server] ) - smartcard? ( app-crypt/p11-kit ) -" - -option() { - usex "$1" ON OFF -} - -option_client() { - if use client; then - option "$1" - else - echo OFF - fi -} - -src_configure() { - use debug || append-cppflags -DNDEBUG - local mycmakeargs=( - -Wno-dev - - -DBUILD_TESTING=$(option test) - - # https://bugs.gentoo.org/927037 - -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=OFF - - -DCHANNEL_URBDRC=$(option usb) - -DCHANNEL_RDPECAM_CLIENT=$(option_client camera) - -DWITH_AAD=$(option aad) - -DWITH_ALSA=$(option alsa) - -DWITH_CCACHE=OFF - -DWITH_CLIENT=$(option client) - -DWITH_CLIENT_SDL2=OFF - -DWITH_CLIENT_SDL3=$(option_client sdl) - -DWITH_SAMPLE=OFF - -DWITH_CUPS=$(option cups) - -DWITH_DEBUG_ALL=$(option debug) - -DWITH_VERBOSE_WINPR_ASSERT=$(option debug) - -DWITH_MANPAGES=ON - -DWITH_FFMPEG=$(option ffmpeg) - -DWITH_FREERDP_DEPRECATED_COMMANDLINE=ON - -DWITH_SWSCALE=$(option ffmpeg) - -DWITH_CAIRO=$(option !ffmpeg) - -DWITH_DSP_FFMPEG=$(option ffmpeg) - -DWITH_FUSE=$(option fuse) - -DWITH_GSTREAMER_1_0=$(option gstreamer) - -DWITH_JPEG=$(option jpeg) - -DWITH_KRB5=$(option kerberos) - -DWITH_NEON=$(option cpu_flags_arm_neon) - -DWITH_OPENH264=$(option openh264) - -DWITH_OSS=OFF - -DWITH_PCSC=$(option smartcard) - -DWITH_PKCS11=$(option smartcard) - -DWITH_PULSE=$(option pulseaudio) - -DWITH_SERVER=$(option server) - -DWITH_LIBSYSTEMD=$(option systemd) - -DWITH_UNICODE_BUILTIN=$(option !icu) - -DWITH_VALGRIND_MEMCHECK=$(option valgrind) - -DWITH_X11=$(option X) - -DWITH_XINERAMA=$(option xinerama) - -DWITH_XV=$(option xv) - -DWITH_WAYLAND=$(option_client wayland) - -DWITH_WEBVIEW=OFF - -DWITH_WINPR_TOOLS=$(option server) - ) - cmake_src_configure -} - -src_test() { - # TestBacktrace: bug 930636 - # TestSynchCritical, TestSynchMultipleThreads: bug 951301 - local CMAKE_SKIP_TESTS=( TestBacktrace TestSynchCritical TestSynchMultipleThreads ) - if has network-sandbox ${FEATURES}; then - CMAKE_SKIP_TESTS+=( TestConnect ) - fi - cmake_src_test -} - -src_install() { - cmake_src_install - mv "${ED}"/usr/share/man/man7/wlog{,3}.7 || die -} diff --git a/net-misc/gsasl/Manifest b/net-misc/gsasl/Manifest index 11ba3852d57b..3ff077bc275e 100644 --- a/net-misc/gsasl/Manifest +++ b/net-misc/gsasl/Manifest @@ -1,5 +1,2 @@ -DIST gsasl-2.2.1.tar.gz 3344807 BLAKE2B 3bb1f7dee8510c19215dc8fdc5efd8e53318ab967b4d4af9e48474857a112b0e08872016a5c5bcbd6b1b340f29fbd77623efc6c41a1f87fb734623e2f173e1bf SHA512 161b8a315862a79807ba067c5ae840175b0d8ec14806aceafc3f92d571713b94d1b8c1a5b188c47bf94a79b9a1f133065f96b087baa5e7f360ae7fb8336381ab -DIST gsasl-2.2.2.tar.gz 3254843 BLAKE2B a470697405df87ec6ad98415f2801fa831fdd72eecc951bfe0c16088b95f2a77f2687a5d9081bd86df1094dd198f15729c0e5562d370339975ded99cc1ff8028 SHA512 62fb4a9383392e4816a036f3e8f408c5161a10723e59f0a8f6df5f72101e0b644787f3b07a71c772628fc4f4050960c842c7500736edacd24313ef654e703bc9 -DIST gsasl-2.2.2.tar.gz.sig 1223 BLAKE2B 66997f481108458d76870438cc0af5cfb1d56d474ffc7f0cf172653a3ca8264eb19356e1a8dd799f3cee7e185f7a644bc747839bdbbe145a579b179982b19b70 SHA512 94e307eeaf77d3bef52542ce00d780dd30eedc63152a992d3866f4adbc81766fd92086fc6aaf1837cd4a9f0a7d171083d9e7197ec5c89be04804c0a35249bb59 DIST gsasl-2.2.4.tar.gz 3541621 BLAKE2B c8cd2c433e2338962fcb28e2439115d44734d9412acad9167394039dff3b8732b30a754a496d664741d961c26da8a90d928fcdba362b6da8806122f342bfd0cd SHA512 1ff282a2a4a21b9c8f5ff933410015be8bd8d2c68aca90a7517622616481e4f7512a1879b488e7bf31e97d8280024d3051b3fc257479c895a9dd3eae7899616e DIST gsasl-2.2.4.tar.gz.sig 1223 BLAKE2B 53ccd5a76de5d2924b6ca8472c6e3916fdb134a87ecd06f58d11fdf678196db629ef241bfa4307d6520604d51aa78ae0142564c65f674e1630c26ea4643a4cbc SHA512 60fb1dcb8ff0cff6e5545bea1cfaeae31ab7077e06f28d5bb17b2d53bd6f4d0efd73884a7e6306a0fd19cf9cda25f8854209d44f97aaf929836d873c898ede42 diff --git a/net-misc/gsasl/gsasl-2.2.1.ebuild b/net-misc/gsasl/gsasl-2.2.1.ebuild deleted file mode 100644 index b6242e3e1aad..000000000000 --- a/net-misc/gsasl/gsasl-2.2.1.ebuild +++ /dev/null @@ -1,101 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit autotools - -DESCRIPTION="The GNU SASL client, server, and library" -HOMEPAGE="https://www.gnu.org/software/gsasl/" -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -# Before giving keywords (or ideally even bumping), please check https://www.gnu.org/software/gsasl/ to see -# if it's a stable release or not! -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="+client gcrypt gnutls idn kerberos nls ntlm +server static-libs" -REQUIRED_USE="|| ( client server )" - -DEPEND=" - !net-libs/libgsasl - sys-libs/readline:= - gcrypt? ( dev-libs/libgcrypt:= ) - gnutls? ( net-libs/gnutls:= ) - idn? ( net-dns/libidn:= ) - kerberos? ( >=net-libs/libgssglue-0.5-r1 ) - nls? ( >=sys-devel/gettext-0.18.1 ) - ntlm? ( >=net-libs/libntlm-0.3.5 ) -" -RDEPEND="${DEPEND}" - -QA_CONFIG_IMPL_DECL_SKIP=( - # gnulib FPs - unreachable - MIN - alignof - static_assert -) - -src_prepare() { - default - - sed -i \ - -e '/gl_WARN_ADD(\[-Werror/d' \ - -e 's/ -Werror//' \ - configure.ac || die - - eautoreconf -} - -src_configure() { - local krb5_impl="--with-gssapi-impl=no" - - # See https://blog.josefsson.org/2022/07/14/towards-pluggable-gss-api-modules/ - if use kerberos; then - krb5_impl="--with-gssapi-impl=gssglue" - fi - - local myeconfargs=( - --disable-gcc-warnings - --disable-valgrind-tests - --disable-rpath - - --with-packager="Gentoo Linux" - --with-packager-bug-reports="https://bugs.gentoo.org" - --with-packager-version="r${PR}" - - $(use_enable client) - $(use_enable server) - - $(use_enable kerberos gssapi) - ${krb5_impl} - $(use_enable kerberos gs2) - - $(use_with gcrypt libgcrypt) - $(use_with gnutls) - $(use_enable nls) - $(use_with idn stringprep) - $(use_enable ntlm) - $(use_enable static-libs static) - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - default - - if ! use static-libs; then - rm -f "${ED}"/usr/lib*/lib*.la || die - fi - - doman doc/gsasl.1 doc/man/*.3 -} - -pkg_postinst() { - ewarn "For USE=kerberos, ${PN} now uses libgssglue to allow choosing" - ewarn "the Kerberos implementation at runtime." - elog "See https://blog.josefsson.org/2022/07/14/towards-pluggable-gss-api-modules/" - elog "for more details." -} diff --git a/net-misc/gsasl/gsasl-2.2.2-r1.ebuild b/net-misc/gsasl/gsasl-2.2.2-r1.ebuild deleted file mode 100644 index a9f12a934768..000000000000 --- a/net-misc/gsasl/gsasl-2.2.2-r1.ebuild +++ /dev/null @@ -1,105 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/gsasl.asc -inherit branding multilib-minimal verify-sig - -DESCRIPTION="The GNU SASL client, server, and library" -HOMEPAGE="https://www.gnu.org/software/gsasl/" -SRC_URI=" - mirror://gnu/${PN}/${P}.tar.gz - verify-sig? ( mirror://gnu/${PN}/${P}.tar.gz.sig ) -" - -LICENSE="GPL-3" -SLOT="0" -# Before giving keywords (or ideally even bumping), please check https://www.gnu.org/software/gsasl/ to see -# if it's a stable release or not! -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~s390 ~sparc x86" -IUSE="+client gcrypt gnutls idn kerberos nls ntlm +server static-libs" -REQUIRED_USE="|| ( client server )" - -DEPEND=" - !net-libs/libgsasl - sys-libs/readline:= - gcrypt? ( dev-libs/libgcrypt:= ) - gnutls? ( net-libs/gnutls:= ) - idn? ( net-dns/libidn:= ) - kerberos? ( >=net-libs/libgssglue-0.5-r1 ) - nls? ( >=sys-devel/gettext-0.18.1 ) - ntlm? ( >=net-libs/libntlm-0.3.5 ) -" -RDEPEND="${DEPEND}" -BDEPEND="verify-sig? ( sec-keys/openpgp-keys-gsasl )" - -QA_CONFIG_IMPL_DECL_SKIP=( - # gnulib FPs - unreachable - MIN - alignof - static_assert -) - -src_prepare() { - default - multilib_copy_sources -} - -multilib_src_configure() { - local krb5_impl="--with-gssapi-impl=no" - - # See https://blog.josefsson.org/2022/07/14/towards-pluggable-gss-api-modules/ - if use kerberos; then - krb5_impl="--with-gssapi-impl=gssglue" - fi - - local myeconfargs=( - --disable-gcc-warnings - --disable-valgrind-tests - --disable-rpath - - # Even with multilib we need at least one of these enabled - # so rely on REQUIRED_USE to enforce that and purge the non-native - # bins in multilib_src_install - $(use_enable client) - $(use_enable server) - - $(use_enable kerberos gssapi) - ${krb5_impl} - $(use_enable kerberos gs2) - - $(use_with gcrypt libgcrypt) - $(use_with gnutls) - $(use_enable nls) - $(use_with idn stringprep) - $(use_enable ntlm) - $(use_enable static-libs static) - ) - - ECONF_SOURCE="${S}" econf "${myeconfargs[@]}" -} - -multilib_src_install() { - default - - if ! multilib_is_native_abi ; then - rm -f "${ED}"/usr/bin/gsasl* || die - fi - - if ! use static-libs; then - rm -f "${ED}"/usr/lib*/lib*.la || die - fi -} - -multilib_src_install_all() { - doman doc/gsasl.1 doc/man/*.3 -} - -pkg_postinst() { - ewarn "For USE=kerberos, ${PN} now uses libgssglue to allow choosing" - ewarn "the Kerberos implementation at runtime." - elog "See https://blog.josefsson.org/2022/07/14/towards-pluggable-gss-api-modules/" - elog "for more details." -} diff --git a/net-misc/gsasl/gsasl-2.2.2.ebuild b/net-misc/gsasl/gsasl-2.2.2.ebuild deleted file mode 100644 index bf1d7aa9a52f..000000000000 --- a/net-misc/gsasl/gsasl-2.2.2.ebuild +++ /dev/null @@ -1,88 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -DESCRIPTION="The GNU SASL client, server, and library" -HOMEPAGE="https://www.gnu.org/software/gsasl/" -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz" - -LICENSE="GPL-3" -SLOT="0" -# Before giving keywords (or ideally even bumping), please check https://www.gnu.org/software/gsasl/ to see -# if it's a stable release or not! -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86" -IUSE="+client gcrypt gnutls idn kerberos nls ntlm +server static-libs" -REQUIRED_USE="|| ( client server )" - -DEPEND=" - !net-libs/libgsasl - sys-libs/readline:= - gcrypt? ( dev-libs/libgcrypt:= ) - gnutls? ( net-libs/gnutls:= ) - idn? ( net-dns/libidn:= ) - kerberos? ( >=net-libs/libgssglue-0.5-r1 ) - nls? ( >=sys-devel/gettext-0.18.1 ) - ntlm? ( >=net-libs/libntlm-0.3.5 ) -" -RDEPEND="${DEPEND}" - -QA_CONFIG_IMPL_DECL_SKIP=( - # gnulib FPs - unreachable - MIN - alignof - static_assert -) - -src_configure() { - local krb5_impl="--with-gssapi-impl=no" - - # See https://blog.josefsson.org/2022/07/14/towards-pluggable-gss-api-modules/ - if use kerberos; then - krb5_impl="--with-gssapi-impl=gssglue" - fi - - local myeconfargs=( - --disable-gcc-warnings - --disable-valgrind-tests - --disable-rpath - - --with-packager="Gentoo Linux" - --with-packager-bug-reports="https://bugs.gentoo.org" - --with-packager-version="r${PR}" - - $(use_enable client) - $(use_enable server) - - $(use_enable kerberos gssapi) - ${krb5_impl} - $(use_enable kerberos gs2) - - $(use_with gcrypt libgcrypt) - $(use_with gnutls) - $(use_enable nls) - $(use_with idn stringprep) - $(use_enable ntlm) - $(use_enable static-libs static) - ) - - econf "${myeconfargs[@]}" -} - -src_install() { - default - - if ! use static-libs; then - rm -f "${ED}"/usr/lib*/lib*.la || die - fi - - doman doc/gsasl.1 doc/man/*.3 -} - -pkg_postinst() { - ewarn "For USE=kerberos, ${PN} now uses libgssglue to allow choosing" - ewarn "the Kerberos implementation at runtime." - elog "See https://blog.josefsson.org/2022/07/14/towards-pluggable-gss-api-modules/" - elog "for more details." -} diff --git a/net-misc/inetutils/Manifest b/net-misc/inetutils/Manifest index 837065533630..1883895643a9 100644 --- a/net-misc/inetutils/Manifest +++ b/net-misc/inetutils/Manifest @@ -1,4 +1,2 @@ -DIST inetutils-2.7.tar.gz 3157952 BLAKE2B 0d651cf458dd7c42955be17f82c8f022e7048c694daa94f14fbc15969d628d1e017a05235353a03de8a69dd3f349eb1e4adf89e7dffc82f782858506738f9a42 SHA512 8f36bea126108e8f48f2c436c9ff11684f3bd51c4e48090f0ab8626b8c5878b6dc8c64b84cd7a6220913f68c8602b37c8ac632fe9ef530bf5018c6e51ee1a90b -DIST inetutils-2.7.tar.gz.sig 1223 BLAKE2B 905e53a09d87a734e482dee87ccbdc145f0ae862dfbb5c5fec7d92d87045ad7f2fe555c6e67203443909a652249ed3e0f5dd1da845ad582265e7ff3a82937cbd SHA512 50896de44056f419b743f90bbd462372151da5c6516ea72a552329449d67b0423d15664256a3100f0511353b398745a1261b1fbd6e771f5192eb39026981b425 DIST inetutils-2.8.tar.gz 2985957 BLAKE2B 354ea34874c230c471a060faf88241aa069129a361886cc68db04a205dd5dff88ff5ecacec9fe504eb0266dbdccbf4a5324df2172258e3fecf1add647928b92d SHA512 00b33c9d712cf670f16dbefc963fed880088ff67f506df54fd02fdfc0f8c05d379faba5d602c8772c4dc4fd72e1fa8733777d5840784aa86e092eeb5d0f905f7 DIST inetutils-2.8.tar.gz.sig 1223 BLAKE2B 4f7707c976019790b114d954529f0a37a7ee76b37757e0699398604e74e3417be7eb54cd81f71c03c1f062175016afda8e7af67b70a31140fb7101911532327f SHA512 a86f9513cca247f3ee10b20630b5a791f975ad4fe41a014e887d44c85847a9d203d58507740fcc50897486f93ce4323cfcc18ed4e20aa5fee41ea12ec5ecc44e diff --git a/net-misc/inetutils/inetutils-2.7.ebuild b/net-misc/inetutils/inetutils-2.7.ebuild deleted file mode 100644 index 86a9ff4c1aa1..000000000000 --- a/net-misc/inetutils/inetutils-2.7.ebuild +++ /dev/null @@ -1,182 +0,0 @@ -# Copyright 2021-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit branding pam systemd verify-sig - -DESCRIPTION="Collection of common network programs" -HOMEPAGE="https://www.gnu.org/software/inetutils/" -SRC_URI="mirror://gnu/${PN}/${P}.tar.gz - verify-sig? ( mirror://gnu/${PN}/${P}.tar.gz.sig )" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="amd64 ~x86" - -SERVERS="ftpd inetd rexecd rlogind rshd syslogd talkd telnetd tftpd uucpd" -CLIENTS="ftp dnsdomainname hostname ping ping6 rcp rexec rlogin rsh logger telnet tftp whois ifconfig traceroute" -PROGRAMS="${SERVERS} ${CLIENTS}" -IUSE="idn kerberos pam selinux tcpd ${PROGRAMS}" - -DEPEND=" - sys-libs/readline:0= - ftpd? ( virtual/libcrypt:0= ) - idn? ( net-dns/libidn2:= ) - kerberos? ( virtual/krb5 ) - pam? ( sys-libs/pam ) - tcpd? ( sys-apps/tcp-wrappers ) - uucpd? ( virtual/libcrypt:0= ) -" -RDEPEND="${DEPEND} - ftpd? ( net-ftp/ftpbase[pam?] selinux? ( sec-policy/selinux-ftp ) ) - ftp? ( !net-ftp/ftp selinux? ( sec-policy/selinux-ftp ) ) - dnsdomainname? ( !sys-apps/net-tools ) - hostname? ( !sys-apps/coreutils[hostname(-)] !sys-apps/net-tools[hostname(+)] ) - inetd? ( !sys-apps/netkit-base selinux? ( sec-policy/selinux-inetd ) ) - ping? ( !net-misc/iputils ) - ping6? ( !net-misc/iputils[ipv6(+)] ) - rcp? ( !net-misc/netkit-rsh ) - rexec? ( !net-misc/netkit-rsh ) - rexecd? ( !net-misc/netkit-rsh ) - rlogin? ( !net-misc/netkit-rsh selinux? ( sec-policy/selinux-rlogin ) ) - rlogind? ( !net-misc/netkit-rsh selinux? ( sec-policy/selinux-rlogin ) ) - rsh? ( !net-misc/netkit-rsh ) - rshd? ( !net-misc/netkit-rsh ) - logger? ( !sys-apps/util-linux[logger(+)] ) - syslogd? ( !app-admin/sysklogd ) - talkd? ( !net-misc/netkit-talk ) - telnet? ( !net-misc/telnet-bsd !net-misc/netkit-telnetd selinux? ( sec-policy/selinux-telnet ) ) - telnetd? ( !net-misc/telnet-bsd !net-misc/netkit-telnetd selinux? ( sec-policy/selinux-telnet ) ) - tftp? ( !net-ftp/tftp-hpa[client(+)] selinux? ( sec-policy/selinux-tftp ) ) - tftpd? ( !net-ftp/tftp-hpa[server(+)] selinux? ( sec-policy/selinux-tftp ) ) - whois? ( !net-misc/whois ) - ifconfig? ( !sys-apps/net-tools ) - traceroute? ( !net-analyzer/traceroute ) -" -BDEPEND=" - verify-sig? ( sec-keys/openpgp-keys-inetutils ) -" - -VERIFY_SIG_OPENPGP_KEY_PATH="/usr/share/openpgp-keys/inetutils.asc" - -QA_CONFIG_IMPL_DECL_SKIP=( MIN static_assert alignof unreachable ) - -PATCHES=( - "${FILESDIR}/inetutils-2.7-telnetd.patch" -) - -src_configure() { - local myconf=( - --localstatedir="${EPREFIX}/var" - --disable-clients - --disable-servers - $(use_with idn) - --without-krb4 - $(use_with kerberos krb5) - --without-shishi - $(use_with pam) - $(use_with tcpd wrap) - ) - - local prog - for prog in ${PROGRAMS}; do - myconf+=( $(use_enable "${prog}") ) - done - - econf "${myconf[@]}" -} - -iu_pamd() { - if use "$1"; then - pamd_mimic system-remote-login "$2" auth account password session - fi -} - -create_init() { - use "$1" || return - - newinitd - "$1" <<-EOF - #!${EPREFIX}/sbin/openrc-run - command="${EPREFIX}/usr/libexec/$1" - command_args="$2" - pidfile="${EPREFIX}/var/run/$1.pid" - EOF - - systemd_newunit - "$1.service" <<-EOF - [Service] - ExecStart="${EPREFIX}/usr/libexec/$1"${2:+ }$2 - PIDFile=${EPREFIX}/var/run/$1.pid - Type=forking - - [Install] - WantedBy=multi-user.target - EOF -} - -create_socket_stream() { - use "$1" || return - - systemd_newunit - "$1.socket" <<-EOF - [Socket] - ListenStream=$2 - Accept=yes - - [Install] - WantedBy=sockets.target - EOF - - systemd_newunit - "$1@.service" <<-EOF - [Unit] - CollectMode=inactive-or-failed - - [Service] - ExecStart="${EPREFIX}/usr/libexec/$1" - StandardInput=socket - StandardError=journal - EOF -} - -create_socket_datagram() { - use "$1" || return - - systemd_newunit - "$1.socket" <<-EOF - [Socket] - ListenDatagram=$2 - - [Install] - WantedBy=sockets.target - EOF - - systemd_newunit - "$1.service" <<-EOF - [Service] - ExecStart="${EPREFIX}/usr/libexec/$1" - StandardInput=socket - StandardError=journal - EOF -} - -src_install() { - default - iu_pamd rexecd rexec - iu_pamd rlogind rlogin - iu_pamd rshd rsh - if use kerberos; then - iu_pamd rlogind krlogin - iu_pamd rshd krsh - fi - - create_init ftpd --daemon - create_init inetd - create_init rlogind --daemon - create_init syslogd - - create_socket_stream ftpd 21 - create_socket_stream rexecd 512 - create_socket_stream rlogind 513 - create_socket_stream rshd 514 - create_socket_stream telnetd 23 - create_socket_stream uucpd 540 - - create_socket_datagram talkd 518 -} diff --git a/net-misc/networkmanager/Manifest b/net-misc/networkmanager/Manifest index ae803484ae0b..3de24b69e93c 100644 --- a/net-misc/networkmanager/Manifest +++ b/net-misc/networkmanager/Manifest @@ -1,3 +1,2 @@ -DIST NetworkManager-1.52.1.tar.xz 6166828 BLAKE2B 59a6860bb2ddc737b56b0bf3abbcf80628645a729d9afa51bede6dc532f6802b9e33f0756403bb4efb53a43f5de9badb5fb3111eca333418b6262a364f075223 SHA512 aed3e9175df84229be456ff32e3ab5696f780233fa8d9ab77828bda1ae6e4f0e487f8f12381719c05fda2c12329c0c7d8960c07c0ab6804eee802dbba473b410 DIST NetworkManager-1.56.0.tar.xz 6249604 BLAKE2B e89ae50b6c51bf621ee666bff9767aa3e98c06593f3eeeb5753165066b69760727a809ff2fd335ce75733f569d0960fc5a3638f5cb67c26a935e67ec144f74de SHA512 79cf27c409bfb5fd00ac0d0c1ffc7e59fa084ef34666eff69ad22792ba6883afc05391acefcfb4041bae604ed5c52276a13582e63f1e01b7ea8d4019ad535dd6 DIST NetworkManager-1.56.1.tar.xz 6264604 BLAKE2B 00bd6398609fd9e5221679d49ec291453ba1640b33d170bdf14a1959c3da457d5c6b3ef0416433c1f7006e17046106de7c148e4b80f85e47781f66afb0788d27 SHA512 887d8ee3f80f392fcbaa93d6a704d21be84e246676bb012ab108edcce2503ec875b25a0c3bfab7431e2eb7e3b14a66c662253363a4550f7b283be6885d514d32 diff --git a/net-misc/networkmanager/networkmanager-1.52.1.ebuild b/net-misc/networkmanager/networkmanager-1.52.1.ebuild deleted file mode 100644 index 82f14a334db9..000000000000 --- a/net-misc/networkmanager/networkmanager-1.52.1.ebuild +++ /dev/null @@ -1,416 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -MY_PN="NetworkManager" -PYTHON_COMPAT=( python3_{13..14} ) - -inherit linux-info meson-multilib flag-o-matic python-any-r1 \ - readme.gentoo-r1 systemd toolchain-funcs udev vala virtualx - -DESCRIPTION="A set of co-operative tools that make networking simple and straightforward" -HOMEPAGE=" - https://www.networkmanager.dev - https://gitlab.freedesktop.org/NetworkManager/NetworkManager -" -SRC_URI="https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/releases/${PV}/downloads/${MY_PN}-${PV}.tar.xz" -S="${WORKDIR}"/${MY_PN}-${PV} - -LICENSE="GPL-2+ LGPL-2.1+" -SLOT="0" - -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86" - -IUSE="audit bluetooth +concheck connection-sharing debug dhclient dhcpcd elogind gnutls gtk-doc +introspection iptables iwd psl libedit +nss nftables +modemmanager ofono ovs policykit +ppp resolvconf selinux syslog systemd teamd test +tools vala +wext +wifi" -RESTRICT="!test? ( test )" - -REQUIRED_USE=" - bluetooth? ( modemmanager ) - connection-sharing? ( || ( iptables nftables ) ) - gtk-doc? ( introspection ) - iwd? ( wifi ) - test? ( tools ) - vala? ( introspection ) - wext? ( wifi ) - ^^ ( gnutls nss ) - ?? ( elogind systemd ) - ?? ( dhclient dhcpcd ) - ?? ( syslog systemd ) -" - -COMMON_DEPEND=" - sys-apps/util-linux[${MULTILIB_USEDEP}] - elogind? ( >=sys-auth/elogind-219 ) - >=virtual/libudev-175:=[${MULTILIB_USEDEP}] - sys-apps/dbus[${MULTILIB_USEDEP}] - net-libs/libndp - systemd? ( >=sys-apps/systemd-209:0= ) - >=dev-libs/glib-2.42:2[${MULTILIB_USEDEP}] - introspection? ( >=dev-libs/gobject-introspection-1.82.0-r2:= ) - selinux? ( - sec-policy/selinux-networkmanager - sys-libs/libselinux - ) - audit? ( sys-process/audit ) - teamd? ( - >=dev-libs/jansson-2.7:= - >=net-misc/libteam-1.9 - ) - policykit? ( >=sys-auth/polkit-0.106 ) - nss? ( - dev-libs/nspr[${MULTILIB_USEDEP}] - >=dev-libs/nss-3.11[${MULTILIB_USEDEP}] - ) - gnutls? ( - >=net-libs/gnutls-2.12:=[${MULTILIB_USEDEP}] - ) - ppp? ( >=net-dialup/ppp-2.4.5:=[ipv6(+)] ) - modemmanager? ( - net-misc/mobile-broadband-provider-info - >=net-misc/modemmanager-0.7.991:0= - ) - bluetooth? ( >=net-wireless/bluez-5:= ) - ofono? ( net-misc/ofono ) - dhclient? ( >=net-misc/dhcp-4[client] ) - dhcpcd? ( >=net-misc/dhcpcd-9.3.3 ) - ovs? ( >=dev-libs/jansson-2.7:= ) - resolvconf? ( virtual/resolvconf ) - connection-sharing? ( - net-dns/dnsmasq[dbus,dhcp] - iptables? ( net-firewall/iptables ) - nftables? ( net-firewall/nftables ) - ) - psl? ( net-libs/libpsl ) - concheck? ( net-misc/curl ) - tools? ( - >=dev-libs/jansson-2.7:= - >=dev-libs/newt-0.52.15 - libedit? ( dev-libs/libedit ) - !libedit? ( sys-libs/readline:= ) - ) -" -RDEPEND="${COMMON_DEPEND} - acct-group/plugdev - || ( - net-misc/iputils[arping(+)] - net-analyzer/arping - ) - wifi? ( - !iwd? ( >=net-wireless/wpa_supplicant-0.7.3-r3[dbus] ) - iwd? ( net-wireless/iwd ) - ) -" -DEPEND="${COMMON_DEPEND} - >=sys-kernel/linux-headers-3.18 - net-libs/libndp[${MULTILIB_USEDEP}] - ppp? ( elibc_musl? ( net-libs/ppp-defs ) ) - test? ( >=dev-libs/jansson-2.7 ) -" -BDEPEND=" - >=dev-util/gdbus-codegen-2.80.5-r1 - dev-util/glib-utils - gtk-doc? ( - dev-util/gtk-doc - app-text/docbook-xml-dtd:4.1.2 - ) - >=sys-devel/gettext-0.17 - virtual/pkgconfig - introspection? ( - $(python_gen_any_dep 'dev-python/pygobject:3[${PYTHON_USEDEP}]') - dev-lang/perl - dev-libs/libxslt - ) - vala? ( $(vala_depend) ) - test? ( - $(python_gen_any_dep ' - dev-python/dbus-python[${PYTHON_USEDEP}] - dev-python/pygobject:3[${PYTHON_USEDEP}]') - ) -" - -PATCHES=( - "${FILESDIR}"/networkmanager-1.52.0-fix-pygobject-3.52.patch -) - -python_check_deps() { - if use introspection; then - python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" || return - fi - if use test; then - python_has_version "dev-python/dbus-python[${PYTHON_USEDEP}]" && - python_has_version "dev-python/pygobject:3[${PYTHON_USEDEP}]" - fi -} - -pkg_setup() { - if use connection-sharing; then - if kernel_is lt 5 1; then - CONFIG_CHECK="~NF_NAT_IPV4 ~NF_NAT_MASQUERADE_IPV4" - else - CONFIG_CHECK="~NF_NAT ~NF_NAT_MASQUERADE" - fi - linux-info_pkg_setup - fi - - if use introspection || use test; then - python-any-r1_pkg_setup - fi -} - -src_prepare() { - DOC_CONTENTS="To modify system network connections without needing to enter the - root password, add your user account to the 'plugdev' group." - - default - use vala && vala_setup - - sed -i \ - -e 's#/usr/bin/sed#/bin/sed#' \ - data/84-nm-drivers.rules \ - || die -} - -meson_nm_program() { - usex "$1" "-D${2:-$1}=$3" "-D${2:-$1}=no" -} - -meson_nm_native_program() { - multilib_native_usex "$1" "-D${2:-$1}=$3" "-D${2:-$1}=no" -} - -multilib_src_configure() { - # Workaround for LLD on musl systems (bug #959603) - append-ldflags $(test-flags-CCLD -Wl,--undefined-version) - - # LTO is restricted in older clang for unclear reasons. - # https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/593 - # https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/2053 - tc-is-clang && [[ $(clang-major-version) -lt 18 ]] && filter-lto - - local emesonargs=( - --localstatedir="${EPREFIX}/var" - - -Dsystemdsystemunitdir=$(systemd_get_systemunitdir) - -Dsystem_ca_path=/etc/ssl/certs - -Dudev_dir=$(get_udevdir) - -Ddbus_conf_dir=/usr/share/dbus-1/system.d - -Dkernel_firmware_dir=/lib/firmware - -Diptables=/sbin/iptables - -Dnft=/sbin/nft - -Ddnsmasq=/usr/sbin/dnsmasq - - -Ddist_version=${PVR} - $(meson_native_use_bool policykit polkit) - $(meson_native_use_bool policykit config_auth_polkit_default) - -Dmodify_system=true - -Dpolkit_agent_helper_1=/usr/lib/polkit-1/polkit-agent-helper-1 - $(meson_native_use_bool selinux) - $(meson_native_use_bool systemd systemd_journal) - -Dhostname_persist=gentoo - -Dlibaudit=$(multilib_native_usex audit) - - $(meson_native_use_bool wext) - $(meson_native_use_bool wifi) - $(meson_native_use_bool iwd) - $(meson_native_use_bool ppp) - -Dpppd=/usr/sbin/pppd - $(meson_native_use_bool modemmanager modem_manager) - $(meson_native_use_bool ofono) - $(meson_native_use_bool concheck) - $(meson_native_use_bool teamd teamdctl) - $(meson_native_use_bool ovs) - $(meson_native_use_bool tools nmcli) - $(meson_native_use_bool tools nmtui) - $(meson_native_use_bool tools nm_cloud_setup) - $(meson_native_use_bool bluetooth bluez5_dun) - # ebpf is problematic in at least v1.46.0, bug #926943 - -Debpf=false - - -Dconfig_wifi_backend_default=$(multilib_native_usex iwd iwd default) - -Dconfig_plugins_default=keyfile - -Difcfg_rh=false - -Difupdown=false - -Dconfig_migrate_ifcfg_rh_default=false - - $(meson_nm_native_program resolvconf "" /sbin/resolvconf) - -Dnetconfig=no - -Dconfig_dns_rc_manager_default=auto - - $(meson_nm_program dhclient "" /sbin/dhclient) - $(meson_nm_program dhcpcd "" /sbin/dhcpcd) - - $(meson_native_use_bool introspection) - $(meson_native_use_bool vala vapi) - $(meson_native_use_bool gtk-doc docs) - -Dtests=$(multilib_native_usex test) - $(meson_native_true firewalld_zone) - -Dmore_asserts=0 - $(meson_use debug more_logging) - -Dvalgrind=no - -Dvalgrind_suppressions= - -Dld_gc=false - $(meson_native_use_bool psl libpsl) - -Dqt=false - ) - - if multilib_is_native_abi && use systemd; then - emesonargs+=( -Dsession_tracking_consolekit=false ) - emesonargs+=( -Dsession_tracking=systemd ) - emesonargs+=( -Dsuspend_resume=systemd ) - elif multilib_is_native_abi && use elogind; then - emesonargs+=( -Dsession_tracking_consolekit=false ) - emesonargs+=( -Dsession_tracking=elogind ) - emesonargs+=( -Dsuspend_resume=elogind ) - else - emesonargs+=( -Dsession_tracking_consolekit=false ) - emesonargs+=( -Dsession_tracking=no ) - emesonargs+=( -Dsuspend_resume=auto ) - fi - - if multilib_is_native_abi && use syslog; then - emesonargs+=( -Dconfig_logging_backend_default=syslog ) - elif multilib_is_native_abi && use systemd; then - emesonargs+=( -Dconfig_logging_backend_default=journal ) - else - emesonargs+=( -Dconfig_logging_backend_default=default ) - fi - - if multilib_is_native_abi && use dhclient; then - emesonargs+=( -Dconfig_dhcp_default=dhclient ) - elif multilib_is_native_abi && use dhcpcd; then - emesonargs+=( -Dconfig_dhcp_default=dhcpcd ) - else - emesonargs+=( -Dconfig_dhcp_default=internal ) - fi - - if use nss; then - emesonargs+=( -Dcrypto=nss ) - else - emesonargs+=( -Dcrypto=gnutls ) - fi - - if use tools ; then - emesonargs+=( -Dreadline=$(usex libedit libedit libreadline) ) - else - emesonargs+=( -Dreadline=none ) - fi - - # Same hack as net-dialup/pptpd to get proper plugin dir for ppp, bug #519986 - if use ppp; then - local PPPD_VER=`best_version net-dialup/ppp` - PPPD_VER=${PPPD_VER#*/*-} #reduce it to ${PV}-${PR} - PPPD_VER=${PPPD_VER%%[_-]*} # main version without beta/pre/patch/revision - emesonargs+=( -Dpppd_plugin_dir=/usr/$(get_libdir)/pppd/${PPPD_VER} ) - fi - - meson_src_configure -} - -multilib_src_test() { - if use test && multilib_is_native_abi; then - python_setup - virtx meson_src_test - fi -} - -multilib_src_install() { - meson_src_install - if ! multilib_is_native_abi; then - rm -r "${ED}"/{etc,usr/{bin,lib/NetworkManager,share},var} || die - fi -} - -multilib_src_install_all() { - ! use systemd && readme.gentoo_create_doc - - newinitd "${FILESDIR}/init.d.NetworkManager-r3" NetworkManager - newconfd "${FILESDIR}/conf.d.NetworkManager" NetworkManager - - # Need to keep the /etc/NetworkManager/dispatched.d for dispatcher scripts - keepdir /etc/NetworkManager/dispatcher.d - - # Provide openrc net dependency only when nm is connected - exeinto /etc/NetworkManager/dispatcher.d - newexe "${FILESDIR}/10-openrc-status-r4" 10-openrc-status - sed -e "s:@EPREFIX@:${EPREFIX}:g" \ - -i "${ED}/etc/NetworkManager/dispatcher.d/10-openrc-status" || die - - keepdir /etc/NetworkManager/system-connections - chmod 0600 "${ED}"/etc/NetworkManager/system-connections/.keep* # bug #383765, upstream bug #754594 - - # Allow users in plugdev group to modify system connections - insinto /usr/share/polkit-1/rules.d/ - doins "${FILESDIR}"/01-org.freedesktop.NetworkManager.settings.modify.system.rules - - insinto /usr/lib/NetworkManager/conf.d #702476 - doins "${S}"/examples/nm-conf.d/31-mac-addr-change.conf - - if use iwd; then - # This goes to $nmlibdir/conf.d/ and $nmlibdir is '${prefix}'/lib/$PACKAGE, thus always lib, not get_libdir - cat <<-EOF > "${ED}"/usr/lib/NetworkManager/conf.d/iwd.conf || die - [device] - wifi.backend=iwd - EOF - fi - - mv "${ED}"/usr/share/doc/{NetworkManager/examples/,${PF}} || die - rmdir "${ED}"/usr/share/doc/NetworkManager || die - - # Empty - rmdir "${ED}"/var{/lib{/NetworkManager,},} || die - - # https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/1653 - # https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/2068 - # prebuilt manpages aren't installed by meson - use gtk-doc || doman man/*.[1578] -} - -pkg_postinst() { - udev_reload - - systemd_reenable NetworkManager.service - ! use systemd && readme.gentoo_print_elog - - if [[ -e "${EROOT}/etc/NetworkManager/nm-system-settings.conf" ]]; then - ewarn "The ${PN} system configuration file has moved to a new location." - ewarn "You must migrate your settings from ${EROOT}/etc/NetworkManager/nm-system-settings.conf" - ewarn "to ${EROOT}/etc/NetworkManager/NetworkManager.conf" - ewarn - ewarn "After doing so, you can remove ${EROOT}/etc/NetworkManager/nm-system-settings.conf" - fi - - # NM fallbacks to plugin specified at compile time (upstream bug #738611) - # but still show a warning to remember people to have cleaner config file - if [[ -e "${EROOT}/etc/NetworkManager/NetworkManager.conf" ]]; then - if grep plugins "${EROOT}/etc/NetworkManager/NetworkManager.conf" | grep -q ifnet; then - ewarn - ewarn "You seem to use 'ifnet' plugin in ${EROOT}/etc/NetworkManager/NetworkManager.conf" - ewarn "Since it won't be used, you will need to stop setting ifnet plugin there." - ewarn - fi - fi - - # NM shows lots of errors making nmcli almost unusable, bug #528748 upstream bug #690457 - if grep -r "psk-flags=1" "${EROOT}"/etc/NetworkManager/; then - ewarn "You have psk-flags=1 setting in above files, you will need to" - ewarn "either reconfigure affected networks or, at least, set the flag" - ewarn "value to '0'." - fi - - if use dhclient || use dhcpcd; then - ewarn "You have enabled USE=dhclient and/or USE=dhcpcd, but NetworkManager since" - ewarn "version 1.20 defaults to the internal DHCP client. If the internal client" - ewarn "works for you, and you're happy with, the alternative USE flags can be" - ewarn "disabled. If you want to use dhclient or dhcpcd, then you need to tweak" - ewarn "the main.dhcp configuration option to use one of them instead of internal." - # https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/merge_requests/1988 - ewarn - ewarn "Note that dhclient has been deprecated and support for that will be removed" - ewarn "in a future release." - fi -} - -pkg_postrm() { - udev_reload -} diff --git a/net-misc/openrsync/openrsync-0.5.0_p20260706.ebuild b/net-misc/openrsync/openrsync-0.5.0_p20260706.ebuild index bce59935301c..36a078bb6319 100644 --- a/net-misc/openrsync/openrsync-0.5.0_p20260706.ebuild +++ b/net-misc/openrsync/openrsync-0.5.0_p20260706.ebuild @@ -22,7 +22,7 @@ fi LICENSE="ISC" SLOT="0" if [[ ${PV} != 9999 ]] ; then - KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" + KEYWORDS="~amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~x86" fi IUSE="test" RESTRICT="!test? ( test )" diff --git a/net-misc/rsync/Manifest b/net-misc/rsync/Manifest index bc8a7ad642f8..0b2a7fe5af1d 100644 --- a/net-misc/rsync/Manifest +++ b/net-misc/rsync/Manifest @@ -1,9 +1,3 @@ -DIST rsync-3.4.1.tar.gz 1172739 BLAKE2B 79c1cad697547059ee241e20c26d7f97bed3ad062deb856d31a617fead333a2d9f62c7c47c1efaf70033dbc358fe547d034c35e8181abb51a1fc893557882bc7 SHA512 a3ecde4843ddb795308dca88581b868ac0221eb6f88a1477d7a9a2ecb4e4686042966bdddbab40866f90a4715d3104daa7b83222ddf0f3387b796a86bde8e5c2 -DIST rsync-3.4.1.tar.gz.asc 862 BLAKE2B 5684bd57423e8e43b973c2c416c4897901a3a8b33c22690eaedc609109088e1d5d70f5cf5deaafefc69f547d198b5f8b17f3c484211d545095b19dac7e0bc7d3 SHA512 c83e187c88110b6119a023d239c76291f15124760fd245ead17e747424946e7864187aae96af6f5930cb84beff7308b99daa0566f306c9f2de51e2475704c320 -DIST rsync-3.4.2.tar.gz 1190383 BLAKE2B bfc8aa3dc3b75de5e81519eab6d505ebd4d05ebc79c3336ebc925486fa6267cd13a37844d0817183cec68215788bc07e4a281f716bcd0bc7d93daa995df9122c SHA512 74f623e7f5234ffc12fc60d30f4439bc18796404c866365b7c3bfda87f42b33fc01ce6060187534b6b47d799f5b47fcdb84717faff88b6ce30eb230f1b93afe7 -DIST rsync-3.4.2.tar.gz.asc 862 BLAKE2B b6cc8bbb94fae5111143c9b0fe7aeca07b29494011060b7b00d98d2e6058f1d0474cc87f8db8d2d2812f1b039a4eb6ec386e4d706ee99bc4396ba995da14acae SHA512 c89f24640438566387aeee553c133859667c3e225439c3f113346241e3802c0652ebf6ab6005cc0f412a0f6e4bc055d76dd422691c3f024f347813183f66076e -DIST rsync-3.4.3.tar.gz 1216482 BLAKE2B 0bafded6a76a2cedcc6b1f37610c785fa05e62955a43ecb85b8522183a902be3b86157eccbf502116177be0efe19f3051d93cdca5e5734f4a3fbc8bca9878a4f SHA512 1bf2d7cea7a42c9cd070ffaa5e9e029fbce2c18973d8e946f2a6a91c781d2f3ff2449a8ff2431206396caf1f7d9901865f10772c09019d93318e26196160644f -DIST rsync-3.4.3.tar.gz.asc 862 BLAKE2B dd5ac2de65a02742fb52ff2d7188e0ac5f04d336ba2439b2b05464141f14db805c8074869bd946266d42093aa105ef8c0606edf1348b75cbfd1cac626a100576 SHA512 66686d6bcb365a4a75aaffde3d8675d13a22243f70f55c56c4ca6b805fe3d2d24ebd093a29027cc27fcde87bd2319ba3835f8c76cb35fa6de41d3dfa1c694a14 DIST rsync-3.4.4.tar.gz 1223040 BLAKE2B f4eec8d1077e1cc7eec8cd39dcac4643f7608231f5aa6390cb53104efa1602873a333d9e6cba5d1bb2aeff6c3bf9bccd80370a2105a9cc982b49aae9f39f3bde SHA512 cf9a838b1f019b70fd67fa2c293f267be3f24e579c2ea33177ec7afc502c97ce0b613ff0854088c0eb28acd14ee0a75706ae8445115cef4669bd586c505d8453 DIST rsync-3.4.4.tar.gz.asc 862 BLAKE2B 309fd306467658aad511fe18477af7133fafe7d15a291ba4a837eeaf9312ebd5bbbb41a1aca0a09d37183d3b3e42331d70ba91d7cd1bedbf4c33599a64a1086f SHA512 e65262cb8360cf5c1d81601127367290afbf2fedad3b667299ea7c1c2e850a3f2475e3849ccc3dfe289f86445ebdb657c45619036b3e049faba00582d1af52bc DIST rsync-3.5.0.tar.gz 1892222 BLAKE2B 1a0aaddd9555c14e2b026f4ac9aff0c0b7760a5809fc80c7872b382a0b9b4719dcc0d382c0e43439955efd855ffa2dff101c10a86529b88fd380205cc9506179 SHA512 6c5bada017e4e5f5b451058e2d1863174a1807796525ef4188c1f40358ccbdd36604fd2275dceb1cc6a95ac04da211501553353026c48594c5a79eedb27ce68d diff --git a/net-misc/rsync/files/rsync-3.4.1-CVE-2025-10158.patch b/net-misc/rsync/files/rsync-3.4.1-CVE-2025-10158.patch deleted file mode 100644 index 23687b43d9cd..000000000000 --- a/net-misc/rsync/files/rsync-3.4.1-CVE-2025-10158.patch +++ /dev/null @@ -1,31 +0,0 @@ -https://bugs.gentoo.org/967677 -https://github.com/RsyncProject/rsync/commit/797e17fc4a6f15e3b1756538a9f812b63942686f - -From 797e17fc4a6f15e3b1756538a9f812b63942686f Mon Sep 17 00:00:00 2001 -From: Andrew Tridgell <andrew@tridgell.net> -Date: Sat, 23 Aug 2025 17:26:53 +1000 -Subject: [PATCH] fixed an invalid access to files array - -this was found by Calum Hutton from Rapid7. It is a real bug, but -analysis shows it can't be leverged into an exploit. Worth fixing -though. - -Many thanks to Calum and Rapid7 for finding and reporting this ---- - sender.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/sender.c b/sender.c -index a4d46c39e..b1588b701 100644 ---- a/sender.c -+++ b/sender.c -@@ -262,6 +262,8 @@ void send_files(int f_in, int f_out) - - if (ndx - cur_flist->ndx_start >= 0) - file = cur_flist->files[ndx - cur_flist->ndx_start]; -+ else if (cur_flist->parent_ndx < 0) -+ exit_cleanup(RERR_PROTOCOL); - else - file = dir_flist->files[cur_flist->parent_ndx]; - if (F_PATHNAME(file)) { - diff --git a/net-misc/rsync/files/rsync-3.4.1-c23.patch b/net-misc/rsync/files/rsync-3.4.1-c23.patch deleted file mode 100644 index 111847c0e163..000000000000 --- a/net-misc/rsync/files/rsync-3.4.1-c23.patch +++ /dev/null @@ -1,20 +0,0 @@ -https://github.com/RsyncProject/rsync/pull/716 - -From 026ef4cd09660c0a096e285e668b4ba7cd396509 Mon Sep 17 00:00:00 2001 -From: Michal Ruprich <mruprich@redhat.com> -Date: Fri, 17 Jan 2025 12:37:57 +0100 -Subject: [PATCH] bool is a keyword in C23 - ---- a/wildtest.c -+++ b/wildtest.c -@@ -32,7 +32,9 @@ int fnmatch_errors = 0; - - int wildmatch_errors = 0; - -+#if !defined(__STDC_VERSION__) || __STDC_VERSION__ < 202311L - typedef char bool; -+#endif - - int output_iterations = 0; - int explode_mod = 0; - diff --git a/net-misc/rsync/files/rsync-3.4.1-fix-uninitialized-mul_one.patch b/net-misc/rsync/files/rsync-3.4.1-fix-uninitialized-mul_one.patch deleted file mode 100644 index d6bf6b0baf8b..000000000000 --- a/net-misc/rsync/files/rsync-3.4.1-fix-uninitialized-mul_one.patch +++ /dev/null @@ -1,202 +0,0 @@ -https://github.com/RsyncProject/rsync/commit/aa142f08ef31d3ffa8d6b3b8af16d00324a98c1b - -From: Andrew Tridgell <andrew@tridgell.net> -Date: Sun, 1 Mar 2026 08:42:04 +1100 -Subject: [PATCH] fix uninitialized mul_one in AVX2 checksum and add SIMD checksum test - -The AVX2 get_checksum1_avx2_64() read mul_one before initializing it, -which is undefined behavior. Replace the cmpeq/abs trick with -_mm256_set1_epi8(1) to match the SSSE3 and SSE2 versions. - -Add a TEST_SIMD_CHECKSUM1 test mode that verifies all SIMD paths -(SSE2, SSSE3, AVX2, and the full dispatch chain) produce identical -results to the C reference, across multiple buffer sizes with both -aligned and unaligned buffers. - -Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> ---- - Makefile.in | 11 +++- - simd-checksum-x86_64.cpp | 115 ++++++++++++++++++++++++++++++++++- - testsuite/simd-checksum.test | 11 ++++ - 3 files changed, 134 insertions(+), 3 deletions(-) - create mode 100755 testsuite/simd-checksum.test - -diff --git a/Makefile.in b/Makefile.in -index 6340403be..6f188ee8a 100644 ---- a/Makefile.in -+++ b/Makefile.in -@@ -57,7 +57,8 @@ TLS_OBJ = tls.o syscall.o util2.o t_stub.o lib/compat.o lib/snprintf.o lib/perms - - # Programs we must have to run the test cases - CHECK_PROGS = rsync$(EXEEXT) tls$(EXEEXT) getgroups$(EXEEXT) getfsdev$(EXEEXT) \ -- testrun$(EXEEXT) trimslash$(EXEEXT) t_unsafe$(EXEEXT) wildtest$(EXEEXT) -+ testrun$(EXEEXT) trimslash$(EXEEXT) t_unsafe$(EXEEXT) wildtest$(EXEEXT) \ -+ simdtest$(EXEEXT) - - CHECK_SYMLINKS = testsuite/chown-fake.test testsuite/devices-fake.test testsuite/xattrs-hlink.test - -@@ -326,6 +327,14 @@ wildtest.o: wildtest.c t_stub.o lib/wildmatch.c rsync.h config.h - wildtest$(EXEEXT): wildtest.o lib/compat.o lib/snprintf.o @BUILD_POPT@ - $(CC) $(CFLAGS) $(LDFLAGS) -o $@ wildtest.o lib/compat.o lib/snprintf.o @BUILD_POPT@ $(LIBS) - -+simdtest$(EXEEXT): simd-checksum-x86_64.cpp $(HEADERS) -+ @if test x"@ROLL_SIMD@" != x; then \ -+ $(CXX) -I. $(CXXFLAGS) $(CPPFLAGS) $(LDFLAGS) -DTEST_SIMD_CHECKSUM1 \ -+ -o $@ $(srcdir)/simd-checksum-x86_64.cpp @ROLL_ASM@ $(LIBS); \ -+ else \ -+ touch $@; \ -+ fi -+ - testsuite/chown-fake.test: - ln -s chown.test $(srcdir)/testsuite/chown-fake.test - -diff --git a/simd-checksum-x86_64.cpp b/simd-checksum-x86_64.cpp -index d649091ea..99391cbe4 100644 ---- a/simd-checksum-x86_64.cpp -+++ b/simd-checksum-x86_64.cpp -@@ -347,8 +347,7 @@ __attribute__ ((target("avx2"))) MVSTATIC int32 get_checksum1_avx2_64(schar* buf - __m128i tmp = _mm_load_si128((__m128i*) mul_t1_buf); - __m256i mul_t1 = _mm256_cvtepu8_epi16(tmp); - __m256i mul_const = _mm256_broadcastd_epi32(_mm_cvtsi32_si128(4 | (3 << 8) | (2 << 16) | (1 << 24))); -- __m256i mul_one; -- mul_one = _mm256_abs_epi8(_mm256_cmpeq_epi16(mul_one,mul_one)); // set all vector elements to 1 -+ __m256i mul_one = _mm256_set1_epi8(1); - - for (; i < (len-64); i+=64) { - // Load ... 4*[int8*16] -@@ -548,6 +547,118 @@ int main() { - #pragma clang optimize on - #endif /* BENCHMARK_SIMD_CHECKSUM1 */ - -+#ifdef TEST_SIMD_CHECKSUM1 -+ -+static uint32 checksum_via_default(char *buf, int32 len) -+{ -+ uint32 s1 = 0, s2 = 0; -+ get_checksum1_default_1((schar*)buf, len, 0, &s1, &s2); -+ return (s1 & 0xffff) + (s2 << 16); -+} -+ -+static uint32 checksum_via_sse2(char *buf, int32 len) -+{ -+ int32 i; -+ uint32 s1 = 0, s2 = 0; -+ i = get_checksum1_sse2_32((schar*)buf, len, 0, &s1, &s2); -+ get_checksum1_default_1((schar*)buf, len, i, &s1, &s2); -+ return (s1 & 0xffff) + (s2 << 16); -+} -+ -+static uint32 checksum_via_ssse3(char *buf, int32 len) -+{ -+ int32 i; -+ uint32 s1 = 0, s2 = 0; -+ i = get_checksum1_ssse3_32((schar*)buf, len, 0, &s1, &s2); -+ get_checksum1_default_1((schar*)buf, len, i, &s1, &s2); -+ return (s1 & 0xffff) + (s2 << 16); -+} -+ -+static uint32 checksum_via_avx2(char *buf, int32 len) -+{ -+ int32 i; -+ uint32 s1 = 0, s2 = 0; -+#ifdef USE_ROLL_ASM -+ i = get_checksum1_avx2_asm((schar*)buf, len, 0, &s1, &s2); -+#else -+ i = get_checksum1_avx2_64((schar*)buf, len, 0, &s1, &s2); -+#endif -+ get_checksum1_default_1((schar*)buf, len, i, &s1, &s2); -+ return (s1 & 0xffff) + (s2 << 16); -+} -+ -+int main() -+{ -+ static const int sizes[] = {1, 4, 31, 32, 33, 63, 64, 65, 128, 129, 256, 700, 1024, 4096, 65536}; -+ int num_sizes = sizeof(sizes) / sizeof(sizes[0]); -+ int max_size = sizes[num_sizes - 1]; -+ int failures = 0; -+ -+ /* Allocate with extra bytes for unaligned test */ -+ unsigned char *raw = (unsigned char *)malloc(max_size + 64 + 1); -+ if (!raw) { -+ fprintf(stderr, "malloc failed\n"); -+ return 1; -+ } -+ -+ /* Fill with deterministic data */ -+ for (int i = 0; i < max_size + 64 + 1; i++) -+ raw[i] = (i + (i % 3) + (i % 11)) % 256; -+ -+ /* Test with aligned buffer (64-byte aligned) */ -+ unsigned char *aligned = raw + (64 - ((uintptr_t)raw % 64)); -+ -+ /* Test with unaligned buffer (+1 byte offset) */ -+ unsigned char *unaligned = aligned + 1; -+ -+ struct { const char *name; unsigned char *buf; } buffers[] = { -+ {"aligned", aligned}, -+ {"unaligned", unaligned}, -+ }; -+ -+ for (int b = 0; b < 2; b++) { -+ char *buf = (char *)buffers[b].buf; -+ const char *bname = buffers[b].name; -+ -+ for (int s = 0; s < num_sizes; s++) { -+ int32 len = sizes[s]; -+ uint32 ref = checksum_via_default(buf, len); -+ uint32 cs_sse2 = checksum_via_sse2(buf, len); -+ uint32 cs_ssse3 = checksum_via_ssse3(buf, len); -+ uint32 cs_avx2 = checksum_via_avx2(buf, len); -+ uint32 cs_auto = get_checksum1(buf, len); -+ -+ if (cs_sse2 != ref) { -+ printf("FAIL %-9s size=%5d: SSE2=%08x ref=%08x\n", bname, len, cs_sse2, ref); -+ failures++; -+ } -+ if (cs_ssse3 != ref) { -+ printf("FAIL %-9s size=%5d: SSSE3=%08x ref=%08x\n", bname, len, cs_ssse3, ref); -+ failures++; -+ } -+ if (cs_avx2 != ref) { -+ printf("FAIL %-9s size=%5d: AVX2=%08x ref=%08x\n", bname, len, cs_avx2, ref); -+ failures++; -+ } -+ if (cs_auto != ref) { -+ printf("FAIL %-9s size=%5d: auto=%08x ref=%08x\n", bname, len, cs_auto, ref); -+ failures++; -+ } -+ } -+ } -+ -+ free(raw); -+ -+ if (failures) { -+ printf("%d checksum mismatches!\n", failures); -+ return 1; -+ } -+ printf("All SIMD checksum tests passed.\n"); -+ return 0; -+} -+ -+#endif /* TEST_SIMD_CHECKSUM1 */ -+ - #endif /* } USE_ROLL_SIMD */ - #endif /* } __cplusplus */ - #endif /* } __x86_64__ */ -diff --git a/testsuite/simd-checksum.test b/testsuite/simd-checksum.test -new file mode 100755 -index 000000000..cf7dba2ec ---- /dev/null -+++ b/testsuite/simd-checksum.test -@@ -0,0 +1,11 @@ -+#!/bin/sh -+ -+# Test SIMD checksum implementations against the C reference -+ -+. "$suitedir/rsync.fns" -+ -+if ! test -x "$TOOLDIR/simdtest"; then -+ test_skipped "simdtest not built (SIMD not available)" -+fi -+ -+"$TOOLDIR/simdtest" diff --git a/net-misc/rsync/files/rsync-3.4.1-glibc-2.43.patch b/net-misc/rsync/files/rsync-3.4.1-glibc-2.43.patch deleted file mode 100644 index b4e53fb167e7..000000000000 --- a/net-misc/rsync/files/rsync-3.4.1-glibc-2.43.patch +++ /dev/null @@ -1,77 +0,0 @@ -Manual backport of https://github.com/RsyncProject/rsync/pull/867 - ---- a/access.c -+++ b/access.c -@@ -99,7 +99,7 @@ static void make_mask(char *mask, int pl - return; - } - --static int match_address(const char *addr, const char *tok) -+static int match_address(const char *addr, char *tok) - { - char *p; - struct addrinfo hints, *resa, *rest; ---- a/checksum.c -+++ b/checksum.c -@@ -176,7 +176,7 @@ void parse_checksum_choice(int final_cal - if (valid_checksums.negotiated_nni) - xfer_sum_nni = file_sum_nni = valid_checksums.negotiated_nni; - else { -- char *cp = checksum_choice ? strchr(checksum_choice, ',') : NULL; -+ const char *cp = checksum_choice ? strchr(checksum_choice, ',') : NULL; - if (cp) { - xfer_sum_nni = parse_csum_name(checksum_choice, cp - checksum_choice); - file_sum_nni = parse_csum_name(cp+1, -1); ---- a/compat.c -+++ b/compat.c -@@ -131,7 +131,7 @@ static const char *client_info; - * of that protocol for it to be advertised as available. */ - static void check_sub_protocol(void) - { -- char *dot; -+ const char *dot; - int their_protocol, their_sub; - int our_sub = get_subprotocol_version(); - -@@ -414,7 +414,7 @@ static const char *getenv_nstr(int ntype - env_str = ntype == NSTR_COMPRESS ? "zlib" : protocol_version >= 30 ? "md5" : "md4"; - - if (am_server && env_str) { -- char *cp = strchr(env_str, '&'); -+ const char *cp = strchr(env_str, '&'); - if (cp) - env_str = cp + 1; - } ---- a/exclude.c -+++ b/exclude.c -@@ -904,7 +904,7 @@ static int rule_matches(const char *fnam - { - int slash_handling, str_cnt = 0, anchored_match = 0; - int ret_match = ex->rflags & FILTRULE_NEGATE ? 0 : 1; -- char *p, *pattern = ex->pattern; -+ const char *p, *pattern = ex->pattern; - const char *strings[16]; /* more than enough */ - const char *name = fname + (*fname == '/'); - ---- a/io.c -+++ b/io.c -@@ -1159,7 +1159,7 @@ void set_io_timeout(int secs) - static void check_for_d_option_error(const char *msg) - { - static char rsync263_opts[] = "BCDHIKLPRSTWabceghlnopqrtuvxz"; -- char *colon; -+ const char *colon; - int saw_d = 0; - - if (*msg != 'r' ---- a/loadparm.c -+++ b/loadparm.c -@@ -178,7 +178,7 @@ static char *expand_vars(const char *str - - for (t = buf, f = str; bufsize && *f; ) { - if (*f == '%' && isUpper(f+1)) { -- char *percent = strchr(f+1, '%'); -+ const char *percent = strchr(f+1, '%'); - if (percent && percent - f < bufsize) { - char *val; - strlcpy(t, f+1, percent - f); diff --git a/net-misc/rsync/rsync-3.4.1-r2.ebuild b/net-misc/rsync/rsync-3.4.1-r2.ebuild deleted file mode 100644 index 3f4bd0c83252..000000000000 --- a/net-misc/rsync/rsync-3.4.1-r2.ebuild +++ /dev/null @@ -1,207 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Uncomment when introducing a patch which touches configure -RSYNC_NEEDS_AUTOCONF=1 -PYTHON_COMPAT=( python3_{13..14} ) -inherit flag-o-matic prefix python-single-r1 systemd - -DESCRIPTION="File transfer program to keep remote files into sync" -HOMEPAGE="https://rsync.samba.org/" -if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="https://github.com/WayneD/rsync.git" - inherit autotools git-r3 - - REQUIRED_USE="${PYTHON_REQUIRED_USE}" -else - VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/andrewtridgell.asc - inherit verify-sig - - if [[ -n ${RSYNC_NEEDS_AUTOCONF} ]] ; then - inherit autotools - fi - - if [[ ${PV} == *_pre* ]] ; then - SRC_DIR="src-previews" - else - SRC_DIR="src" - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" - fi - - SRC_URI="https://rsync.samba.org/ftp/rsync/${SRC_DIR}/${P/_/}.tar.gz - verify-sig? ( https://rsync.samba.org/ftp/rsync/${SRC_DIR}/${P/_/}.tar.gz.asc )" - S="${WORKDIR}"/${P/_/} -fi - -LICENSE="GPL-3" -SLOT="0" -IUSE="acl examples iconv lz4 rrsync ssl stunnel system-zlib xattr +xxhash zstd" -REQUIRED_USE+=" examples? ( ${PYTHON_REQUIRED_USE} )" -REQUIRED_USE+=" rrsync? ( ${PYTHON_REQUIRED_USE} )" - -# attr is autodetected and then dropped by -Wl,--as-needed: -# https://github.com/RsyncProject/rsync/pull/753 -RDEPEND=" - >=dev-libs/popt-1.19 - acl? ( virtual/acl ) - examples? ( - ${PYTHON_DEPS} - dev-lang/perl - ) - lz4? ( app-arch/lz4:= ) - rrsync? ( - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-python/bracex[${PYTHON_USEDEP}] - ') - ) - ssl? ( dev-libs/openssl:= ) - system-zlib? ( virtual/zlib:= ) - xxhash? ( >=dev-libs/xxhash-0.8 ) - zstd? ( >=app-arch/zstd-1.4:= ) - iconv? ( virtual/libiconv )" -DEPEND="${RDEPEND}" -BDEPEND=" - examples? ( ${PYTHON_DEPS} ) - rrsync? ( ${PYTHON_DEPS} ) -" - -if [[ ${PV} == *9999 ]] ; then - BDEPEND+=" ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-python/commonmark[${PYTHON_USEDEP}] - ')" -else - BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-andrewtridgell )" -fi - -PATCHES=( - "${FILESDIR}"/${PN}-3.4.1-c23.patch - "${FILESDIR}"/${PN}-3.4.1-CVE-2025-10158.patch -) - -pkg_setup() { - # - USE=examples needs Python itself at runtime, but nothing else - # - 9999 needs commonmark at build time - if [[ ${PV} == *9999 ]] || use examples || use rrsync; then - python-single-r1_pkg_setup - fi -} - -src_prepare() { - default - - sed -i -e 's/AC_HEADER_MAJOR_FIXED/AC_HEADER_MAJOR/' configure.ac - - if [[ ${PV} == *9999 || -n ${RSYNC_NEEDS_AUTOCONF} ]] ; then - eaclocal -I m4 - eautoconf -o configure.sh - eautoheader && touch config.h.in - fi - - if use examples || use rrsync; then - python_fix_shebang support/ - fi - - if [[ -f rrsync.1 ]]; then - # If the pre-build rrsync.1 man page exists, then link to it - # from support/rrsync.1 to avoid rsync's build system attempting - # re-creating the man page (bug #883049). - ln -s ../rrsync.1 support/rrsync.1 || die - fi -} - -src_configure() { - local myeconfargs=( - --with-rsyncd-conf="${EPREFIX}"/etc/rsyncd.conf - --without-included-popt - --enable-ipv6 - $(use_enable acl acl-support) - $(use_enable iconv) - $(use_enable lz4) - $(use_with rrsync) - $(use_enable ssl openssl) - $(use_with !system-zlib included-zlib) - $(use_enable xattr xattr-support) - $(use_enable xxhash) - $(use_enable zstd) - ) - - # https://github.com/WayneD/rsync/pull/428 - if is-flagq -fsanitize=undefined ; then - sed -E -i \ - -e 's:#define CAREFUL_ALIGNMENT (0|1):#define CAREFUL_ALIGNMENT 1:' \ - byteorder.h || die - append-flags -DCAREFUL_ALIGNMENT - fi - - econf "${myeconfargs[@]}" -} - -src_install() { - emake DESTDIR="${D}" install - - newconfd "${FILESDIR}"/rsyncd.conf.d rsyncd - newinitd "${FILESDIR}"/rsyncd.init.d-r1 rsyncd - - dodoc NEWS.md README.md TODO tech_report.tex - - insinto /etc - newins "${FILESDIR}"/rsyncd.conf-3.2.7-r5 rsyncd.conf - - insinto /etc/logrotate.d - newins "${FILESDIR}"/rsyncd.logrotate rsyncd - - insinto /etc/xinetd.d - newins "${FILESDIR}"/rsyncd.xinetd-3.0.9-r1 rsyncd - - # Install stunnel helpers - if use stunnel ; then - emake DESTDIR="${D}" install-ssl-daemon - fi - - # Install the useful contrib scripts - if use examples ; then - # The 'rrsync' script is installed conditionally via the 'rrysnc' - # USE flag, and not via the 'examples' USE flag. - rm support/rrsync* || die - - exeinto /usr/share/rsync - doexe support/* - - rm -f "${ED}"/usr/share/rsync/{Makefile*,*.c} - fi - - eprefixify "${ED}"/etc/{,xinetd.d}/rsyncd* - - systemd_newunit packaging/systemd/rsync.service rsyncd.service -} - -pkg_postinst() { - if grep -Eqis '^[[:space:]]use chroot[[:space:]]*=[[:space:]]*(no|0|false)' \ - "${EROOT}"/etc/rsyncd.conf "${EROOT}"/etc/rsync/rsyncd.conf ; then - ewarn "You have disabled chroot support in your rsyncd.conf. This" - ewarn "is a security risk which you should fix. Please check your" - ewarn "/etc/rsyncd.conf file and fix the setting 'use chroot'." - fi - - if use stunnel ; then - einfo "Please install \">=net-misc/stunnel-4\" in order to use stunnel feature." - einfo - einfo "You maybe have to update the certificates configured in" - einfo "${EROOT}/etc/stunnel/rsync.conf" - fi - - if use system-zlib ; then - ewarn "Using system-zlib is incompatible with <rsync-3.1.1 when" - ewarn "using the --compress option." - ewarn - ewarn "When syncing with >=rsync-3.1.1 built with bundled zlib," - ewarn "and the --compress option, add --new-compress (-zz)." - ewarn - ewarn "For syncing the portage tree, add:" - ewarn "PORTAGE_RSYNC_EXTRA_OPTS=\"--new-compress\" to make.conf" - fi -} diff --git a/net-misc/rsync/rsync-3.4.1-r3.ebuild b/net-misc/rsync/rsync-3.4.1-r3.ebuild deleted file mode 100644 index a0ca3f66c599..000000000000 --- a/net-misc/rsync/rsync-3.4.1-r3.ebuild +++ /dev/null @@ -1,213 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Uncomment when introducing a patch which touches configure -RSYNC_NEEDS_AUTOCONF=1 -PYTHON_COMPAT=( python3_{13..14} ) -inherit flag-o-matic prefix python-single-r1 systemd - -DESCRIPTION="File transfer program to keep remote files into sync" -HOMEPAGE="https://rsync.samba.org/" -if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="https://github.com/WayneD/rsync.git" - inherit autotools git-r3 - - REQUIRED_USE="${PYTHON_REQUIRED_USE}" -else - VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/andrewtridgell.asc - inherit verify-sig - - if [[ -n ${RSYNC_NEEDS_AUTOCONF} ]] ; then - inherit autotools - fi - - if [[ ${PV} == *_pre* ]] ; then - SRC_DIR="src-previews" - else - SRC_DIR="src" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" - fi - - SRC_URI="https://rsync.samba.org/ftp/rsync/${SRC_DIR}/${P/_/}.tar.gz - verify-sig? ( https://rsync.samba.org/ftp/rsync/${SRC_DIR}/${P/_/}.tar.gz.asc )" - S="${WORKDIR}"/${P/_/} -fi - -LICENSE="GPL-3" -SLOT="0" -IUSE="acl examples iconv lz4 rrsync ssl stunnel system-zlib xattr +xxhash zstd" -REQUIRED_USE+=" examples? ( ${PYTHON_REQUIRED_USE} )" -REQUIRED_USE+=" rrsync? ( ${PYTHON_REQUIRED_USE} )" - -# attr is autodetected and then dropped by -Wl,--as-needed: -# https://github.com/RsyncProject/rsync/pull/753 -RDEPEND=" - >=dev-libs/popt-1.19 - acl? ( virtual/acl ) - examples? ( - ${PYTHON_DEPS} - dev-lang/perl - ) - lz4? ( app-arch/lz4:= ) - rrsync? ( - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-python/bracex[${PYTHON_USEDEP}] - ') - ) - ssl? ( dev-libs/openssl:= ) - system-zlib? ( virtual/zlib:= ) - xxhash? ( >=dev-libs/xxhash-0.8 ) - zstd? ( >=app-arch/zstd-1.4:= ) - iconv? ( virtual/libiconv )" -DEPEND="${RDEPEND}" -BDEPEND=" - examples? ( ${PYTHON_DEPS} ) - rrsync? ( ${PYTHON_DEPS} ) -" - -if [[ ${PV} == *9999 ]] ; then - BDEPEND+=" ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-python/commonmark[${PYTHON_USEDEP}] - ')" -else - BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-andrewtridgell )" -fi - -PATCHES=( - "${FILESDIR}"/${PN}-3.4.1-c23.patch - "${FILESDIR}"/${PN}-3.4.1-CVE-2025-10158.patch - "${FILESDIR}"/${PN}-3.4.1-fix-uninitialized-mul_one.patch - "${FILESDIR}"/${PN}-3.4.1-glibc-2.43.patch -) - -pkg_setup() { - # - USE=examples needs Python itself at runtime, but nothing else - # - 9999 needs commonmark at build time - if [[ ${PV} == *9999 ]] || use examples || use rrsync; then - python-single-r1_pkg_setup - fi -} - -src_prepare() { - default - - sed -i -e 's/AC_HEADER_MAJOR_FIXED/AC_HEADER_MAJOR/' configure.ac - - if [[ ${PV} == *9999 || -n ${RSYNC_NEEDS_AUTOCONF} ]] ; then - eaclocal -I m4 - eautoconf -o configure.sh - eautoheader && touch config.h.in - fi - - if use examples || use rrsync; then - python_fix_shebang support/ - fi - - if [[ -f rrsync.1 ]]; then - # If the pre-build rrsync.1 man page exists, then link to it - # from support/rrsync.1 to avoid rsync's build system attempting - # re-creating the man page (bug #883049). - ln -s ../rrsync.1 support/rrsync.1 || die - fi -} - -src_configure() { - local myeconfargs=( - --with-rsyncd-conf="${EPREFIX}"/etc/rsyncd.conf - --without-included-popt - --enable-ipv6 - $(use_enable acl acl-support) - $(use_enable iconv) - $(use_enable lz4) - $(use_with rrsync) - $(use_enable ssl openssl) - $(use_with !system-zlib included-zlib) - $(use_enable xattr xattr-support) - $(use_enable xxhash) - $(use_enable zstd) - ) - - # https://github.com/WayneD/rsync/pull/428 - if is-flagq -fsanitize=undefined ; then - sed -E -i \ - -e 's:#define CAREFUL_ALIGNMENT (0|1):#define CAREFUL_ALIGNMENT 1:' \ - byteorder.h || die - append-flags -DCAREFUL_ALIGNMENT - fi - - # workaround for autoconf-2.73 using C23: - # https://bugs.gentoo.org/972320 - append-cflags -std=gnu17 - - econf "${myeconfargs[@]}" -} - -src_install() { - emake DESTDIR="${D}" install - - newconfd "${FILESDIR}"/rsyncd.conf.d rsyncd - newinitd "${FILESDIR}"/rsyncd.init.d-r1 rsyncd - - dodoc NEWS.md README.md TODO tech_report.tex - - insinto /etc - newins "${FILESDIR}"/rsyncd.conf-3.2.7-r5 rsyncd.conf - - insinto /etc/logrotate.d - newins "${FILESDIR}"/rsyncd.logrotate rsyncd - - insinto /etc/xinetd.d - newins "${FILESDIR}"/rsyncd.xinetd-3.0.9-r1 rsyncd - - # Install stunnel helpers - if use stunnel ; then - emake DESTDIR="${D}" install-ssl-daemon - fi - - # Install the useful contrib scripts - if use examples ; then - # The 'rrsync' script is installed conditionally via the 'rrysnc' - # USE flag, and not via the 'examples' USE flag. - rm support/rrsync* || die - - exeinto /usr/share/rsync - doexe support/* - - rm -f "${ED}"/usr/share/rsync/{Makefile*,*.c} - fi - - eprefixify "${ED}"/etc/{,xinetd.d}/rsyncd* - - systemd_newunit packaging/systemd/rsync.service rsyncd.service -} - -pkg_postinst() { - if grep -Eqis '^[[:space:]]use chroot[[:space:]]*=[[:space:]]*(no|0|false)' \ - "${EROOT}"/etc/rsyncd.conf "${EROOT}"/etc/rsync/rsyncd.conf ; then - ewarn "You have disabled chroot support in your rsyncd.conf. This" - ewarn "is a security risk which you should fix. Please check your" - ewarn "/etc/rsyncd.conf file and fix the setting 'use chroot'." - fi - - if use stunnel ; then - einfo "Please install \">=net-misc/stunnel-4\" in order to use stunnel feature." - einfo - einfo "You maybe have to update the certificates configured in" - einfo "${EROOT}/etc/stunnel/rsync.conf" - fi - - if use system-zlib ; then - ewarn "Using system-zlib is incompatible with <rsync-3.1.1 when" - ewarn "using the --compress option." - ewarn - ewarn "When syncing with >=rsync-3.1.1 built with bundled zlib," - ewarn "and the --compress option, add --new-compress (-zz)." - ewarn - ewarn "For syncing the portage tree, add:" - ewarn "PORTAGE_RSYNC_EXTRA_OPTS=\"--new-compress\" to make.conf" - fi -} diff --git a/net-misc/rsync/rsync-3.4.2.ebuild b/net-misc/rsync/rsync-3.4.2.ebuild deleted file mode 100644 index 96b74267a262..000000000000 --- a/net-misc/rsync/rsync-3.4.2.ebuild +++ /dev/null @@ -1,200 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Uncomment when introducing a patch which touches configure -RSYNC_NEEDS_AUTOCONF=1 -PYTHON_COMPAT=( python3_{13..14} ) -inherit flag-o-matic prefix python-single-r1 systemd - -DESCRIPTION="File transfer program to keep remote files into sync" -HOMEPAGE="https://rsync.samba.org/" -if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="https://github.com/WayneD/rsync.git" - inherit autotools git-r3 - - REQUIRED_USE="${PYTHON_REQUIRED_USE}" -else - VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/andrewtridgell.asc - inherit verify-sig - - if [[ -n ${RSYNC_NEEDS_AUTOCONF} ]] ; then - inherit autotools - fi - - if [[ ${PV} == *_pre* ]] ; then - SRC_DIR="src-previews" - else - SRC_DIR="src" - KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~arm64-macos ~x64-macos ~x64-solaris" - fi - - SRC_URI="https://rsync.samba.org/ftp/rsync/${SRC_DIR}/${P/_/}.tar.gz - verify-sig? ( https://rsync.samba.org/ftp/rsync/${SRC_DIR}/${P/_/}.tar.gz.asc )" - S="${WORKDIR}"/${P/_/} -fi - -LICENSE="GPL-3" -SLOT="0" -IUSE="acl examples iconv lz4 rrsync ssl stunnel system-zlib xattr +xxhash zstd" -REQUIRED_USE+=" examples? ( ${PYTHON_REQUIRED_USE} )" -REQUIRED_USE+=" rrsync? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND=" - >=dev-libs/popt-1.19 - acl? ( virtual/acl ) - examples? ( - ${PYTHON_DEPS} - dev-lang/perl - ) - lz4? ( app-arch/lz4:= ) - rrsync? ( - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-python/bracex[${PYTHON_USEDEP}] - ') - ) - ssl? ( dev-libs/openssl:= ) - system-zlib? ( virtual/zlib:= ) - xxhash? ( >=dev-libs/xxhash-0.8 ) - zstd? ( >=app-arch/zstd-1.4:= ) - iconv? ( virtual/libiconv )" -DEPEND="${RDEPEND}" -BDEPEND=" - examples? ( ${PYTHON_DEPS} ) - rrsync? ( ${PYTHON_DEPS} ) -" - -if [[ ${PV} == *9999 ]] ; then - BDEPEND+=" ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-python/commonmark[${PYTHON_USEDEP}] - ')" -else - BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-andrewtridgell )" -fi - -pkg_setup() { - # - USE=examples needs Python itself at runtime, but nothing else - # - 9999 needs commonmark at build time - if [[ ${PV} == *9999 ]] || use examples || use rrsync; then - python-single-r1_pkg_setup - fi -} - -src_prepare() { - default - - sed -i -e 's/AC_HEADER_MAJOR_FIXED/AC_HEADER_MAJOR/' configure.ac - - if [[ ${PV} == *9999 || -n ${RSYNC_NEEDS_AUTOCONF} ]] ; then - eaclocal -I m4 - eautoconf -o configure.sh - eautoheader && touch config.h.in - fi - - if use examples || use rrsync; then - python_fix_shebang support/ - fi - - if [[ -f rrsync.1 ]]; then - # If the pre-build rrsync.1 man page exists, then link to it - # from support/rrsync.1 to avoid rsync's build system attempting - # re-creating the man page (bug #883049). - ln -s ../rrsync.1 support/rrsync.1 || die - fi -} - -src_configure() { - local myeconfargs=( - --with-rsyncd-conf="${EPREFIX}"/etc/rsyncd.conf - --without-included-popt - --enable-ipv6 - $(use_enable acl acl-support) - $(use_enable iconv) - $(use_enable lz4) - $(use_with rrsync) - $(use_enable ssl openssl) - $(use_with !system-zlib included-zlib) - $(use_enable xattr xattr-support) - $(use_enable xxhash) - $(use_enable zstd) - ) - - # https://github.com/WayneD/rsync/pull/428 - if is-flagq -fsanitize=undefined ; then - sed -E -i \ - -e 's:#define CAREFUL_ALIGNMENT (0|1):#define CAREFUL_ALIGNMENT 1:' \ - byteorder.h || die - append-flags -DCAREFUL_ALIGNMENT - fi - - econf "${myeconfargs[@]}" -} - -src_install() { - emake DESTDIR="${D}" install - - newconfd "${FILESDIR}"/rsyncd.conf.d rsyncd - newinitd "${FILESDIR}"/rsyncd.init.d-r1 rsyncd - - dodoc NEWS.md README.md TODO tech_report.tex - - insinto /etc - newins "${FILESDIR}"/rsyncd.conf-3.2.7-r5 rsyncd.conf - - insinto /etc/logrotate.d - newins "${FILESDIR}"/rsyncd.logrotate rsyncd - - insinto /etc/xinetd.d - newins "${FILESDIR}"/rsyncd.xinetd-3.0.9-r1 rsyncd - - # Install stunnel helpers - if use stunnel ; then - emake DESTDIR="${D}" install-ssl-daemon - fi - - # Install the useful contrib scripts - if use examples ; then - # The 'rrsync' script is installed conditionally via the 'rrysnc' - # USE flag, and not via the 'examples' USE flag. - rm support/rrsync* || die - - exeinto /usr/share/rsync - doexe support/* - - rm -f "${ED}"/usr/share/rsync/{Makefile*,*.c} - fi - - eprefixify "${ED}"/etc/{,xinetd.d}/rsyncd* - - systemd_newunit packaging/systemd/rsync.service rsyncd.service -} - -pkg_postinst() { - if grep -Eqis '^[[:space:]]use chroot[[:space:]]*=[[:space:]]*(no|0|false)' \ - "${EROOT}"/etc/rsyncd.conf "${EROOT}"/etc/rsync/rsyncd.conf ; then - ewarn "You have disabled chroot support in your rsyncd.conf. This" - ewarn "is a security risk which you should fix. Please check your" - ewarn "/etc/rsyncd.conf file and fix the setting 'use chroot'." - fi - - if use stunnel ; then - einfo "Please install \">=net-misc/stunnel-4\" in order to use stunnel feature." - einfo - einfo "You maybe have to update the certificates configured in" - einfo "${EROOT}/etc/stunnel/rsync.conf" - fi - - if use system-zlib ; then - ewarn "Using system-zlib is incompatible with <rsync-3.1.1 when" - ewarn "using the --compress option." - ewarn - ewarn "When syncing with >=rsync-3.1.1 built with bundled zlib," - ewarn "and the --compress option, add --new-compress (-zz)." - ewarn - ewarn "For syncing the portage tree, add:" - ewarn "PORTAGE_RSYNC_EXTRA_OPTS=\"--new-compress\" to make.conf" - fi -} diff --git a/net-misc/rsync/rsync-3.4.3.ebuild b/net-misc/rsync/rsync-3.4.3.ebuild deleted file mode 100644 index e67f1c3e7508..000000000000 --- a/net-misc/rsync/rsync-3.4.3.ebuild +++ /dev/null @@ -1,200 +0,0 @@ -# Copyright 1999-2026 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -# Uncomment when introducing a patch which touches configure -RSYNC_NEEDS_AUTOCONF=1 -PYTHON_COMPAT=( python3_{13..14} ) -inherit flag-o-matic prefix python-single-r1 systemd - -DESCRIPTION="File transfer program to keep remote files into sync" -HOMEPAGE="https://rsync.samba.org/" -if [[ ${PV} == *9999 ]] ; then - EGIT_REPO_URI="https://github.com/WayneD/rsync.git" - inherit autotools git-r3 - - REQUIRED_USE="${PYTHON_REQUIRED_USE}" -else - VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/andrewtridgell.asc - inherit verify-sig - - if [[ -n ${RSYNC_NEEDS_AUTOCONF} ]] ; then - inherit autotools - fi - - if [[ ${PV} == *_pre* ]] ; then - SRC_DIR="src-previews" - else - SRC_DIR="src" - KEYWORDS="~alpha amd64 arm arm64 ~hppa ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 ~sparc x86 ~arm64-macos ~x64-macos ~x64-solaris" - fi - - SRC_URI="https://rsync.samba.org/ftp/rsync/${SRC_DIR}/${P/_/}.tar.gz - verify-sig? ( https://rsync.samba.org/ftp/rsync/${SRC_DIR}/${P/_/}.tar.gz.asc )" - S="${WORKDIR}"/${P/_/} -fi - -LICENSE="GPL-3" -SLOT="0" -IUSE="acl examples iconv lz4 rrsync ssl stunnel system-zlib xattr +xxhash zstd" -REQUIRED_USE+=" examples? ( ${PYTHON_REQUIRED_USE} )" -REQUIRED_USE+=" rrsync? ( ${PYTHON_REQUIRED_USE} )" - -RDEPEND=" - >=dev-libs/popt-1.19 - acl? ( virtual/acl ) - examples? ( - ${PYTHON_DEPS} - dev-lang/perl - ) - lz4? ( app-arch/lz4:= ) - rrsync? ( - ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-python/bracex[${PYTHON_USEDEP}] - ') - ) - ssl? ( dev-libs/openssl:= ) - system-zlib? ( virtual/zlib:= ) - xxhash? ( >=dev-libs/xxhash-0.8 ) - zstd? ( >=app-arch/zstd-1.4:= ) - iconv? ( virtual/libiconv )" -DEPEND="${RDEPEND}" -BDEPEND=" - examples? ( ${PYTHON_DEPS} ) - rrsync? ( ${PYTHON_DEPS} ) -" - -if [[ ${PV} == *9999 ]] ; then - BDEPEND+=" ${PYTHON_DEPS} - $(python_gen_cond_dep ' - dev-python/commonmark[${PYTHON_USEDEP}] - ')" -else - BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-andrewtridgell )" -fi - -pkg_setup() { - # - USE=examples needs Python itself at runtime, but nothing else - # - 9999 needs commonmark at build time - if [[ ${PV} == *9999 ]] || use examples || use rrsync; then - python-single-r1_pkg_setup - fi -} - -src_prepare() { - default - - sed -i -e 's/AC_HEADER_MAJOR_FIXED/AC_HEADER_MAJOR/' configure.ac - - if [[ ${PV} == *9999 || -n ${RSYNC_NEEDS_AUTOCONF} ]] ; then - eaclocal -I m4 - eautoconf -o configure.sh - eautoheader && touch config.h.in - fi - - if use examples || use rrsync; then - python_fix_shebang support/ - fi - - if [[ -f rrsync.1 ]]; then - # If the pre-build rrsync.1 man page exists, then link to it - # from support/rrsync.1 to avoid rsync's build system attempting - # re-creating the man page (bug #883049). - ln -s ../rrsync.1 support/rrsync.1 || die - fi -} - -src_configure() { - local myeconfargs=( - --with-rsyncd-conf="${EPREFIX}"/etc/rsyncd.conf - --without-included-popt - --enable-ipv6 - $(use_enable acl acl-support) - $(use_enable iconv) - $(use_enable lz4) - $(use_with rrsync) - $(use_enable ssl openssl) - $(use_with !system-zlib included-zlib) - $(use_enable xattr xattr-support) - $(use_enable xxhash) - $(use_enable zstd) - ) - - # https://github.com/WayneD/rsync/pull/428 - if is-flagq -fsanitize=undefined ; then - sed -E -i \ - -e 's:#define CAREFUL_ALIGNMENT (0|1):#define CAREFUL_ALIGNMENT 1:' \ - byteorder.h || die - append-flags -DCAREFUL_ALIGNMENT - fi - - econf "${myeconfargs[@]}" -} - -src_install() { - emake DESTDIR="${D}" install - - newconfd "${FILESDIR}"/rsyncd.conf.d rsyncd - newinitd "${FILESDIR}"/rsyncd.init.d-r1 rsyncd - - dodoc NEWS.md README.md TODO tech_report.tex - - insinto /etc - newins "${FILESDIR}"/rsyncd.conf-3.2.7-r5 rsyncd.conf - - insinto /etc/logrotate.d - newins "${FILESDIR}"/rsyncd.logrotate rsyncd - - insinto /etc/xinetd.d - newins "${FILESDIR}"/rsyncd.xinetd-3.0.9-r1 rsyncd - - # Install stunnel helpers - if use stunnel ; then - emake DESTDIR="${D}" install-ssl-daemon - fi - - # Install the useful contrib scripts - if use examples ; then - # The 'rrsync' script is installed conditionally via the 'rrysnc' - # USE flag, and not via the 'examples' USE flag. - rm support/rrsync* || die - - exeinto /usr/share/rsync - doexe support/* - - rm -f "${ED}"/usr/share/rsync/{Makefile*,*.c} - fi - - eprefixify "${ED}"/etc/{,xinetd.d}/rsyncd* - - systemd_newunit packaging/systemd/rsync.service rsyncd.service -} - -pkg_postinst() { - if grep -Eqis '^[[:space:]]use chroot[[:space:]]*=[[:space:]]*(no|0|false)' \ - "${EROOT}"/etc/rsyncd.conf "${EROOT}"/etc/rsync/rsyncd.conf ; then - ewarn "You have disabled chroot support in your rsyncd.conf. This" - ewarn "is a security risk which you should fix. Please check your" - ewarn "/etc/rsyncd.conf file and fix the setting 'use chroot'." - fi - - if use stunnel ; then - einfo "Please install \">=net-misc/stunnel-4\" in order to use stunnel feature." - einfo - einfo "You maybe have to update the certificates configured in" - einfo "${EROOT}/etc/stunnel/rsync.conf" - fi - - if use system-zlib ; then - ewarn "Using system-zlib is incompatible with <rsync-3.1.1 when" - ewarn "using the --compress option." - ewarn - ewarn "When syncing with >=rsync-3.1.1 built with bundled zlib," - ewarn "and the --compress option, add --new-compress (-zz)." - ewarn - ewarn "For syncing the portage tree, add:" - ewarn "PORTAGE_RSYNC_EXTRA_OPTS=\"--new-compress\" to make.conf" - fi -} diff --git a/net-misc/sb-hosts/Manifest b/net-misc/sb-hosts/Manifest index 5e9f69f9ad60..e6f669f2e572 100644 --- a/net-misc/sb-hosts/Manifest +++ b/net-misc/sb-hosts/Manifest @@ -1,2 +1,2 @@ -DIST sb-hosts-3.16.104.tar.gz 23721668 BLAKE2B 4145f89e8265c631f9f7cddacb4e6dcc7fa6332c508ebfec99e8ac47c7eb3a3b9d36e73db03853f9463b5fd9d157f181bf2dadb5b944bc694ef469c99c034763 SHA512 aed92109277115491cba0396c6625f28f5830882e7ed827b0dcd41477f78c88fb888d395e09bd4061cd383d1f6d32903e9caf7164dcb3330e91b627d9aa1c6b1 DIST sb-hosts-3.16.105.tar.gz 23299354 BLAKE2B 5a0533e481c4b0d097e0f9ff396d33d6f012a4d6a9ea36c5364723ad543053692648ee792973a396c2d250b8b90c80bd429f0330c480a9d0c7130bdbd6f2af54 SHA512 6813b4a05b300dee44ddf72c35d28ff91ede257a73e07179fe5be71c62e1b505691049e4a778f90d8ebd138e8dde2e3ec8223c485fea12dee662c3fe4c91afe5 +DIST sb-hosts-3.16.106.tar.gz 23487263 BLAKE2B 89a5e32ff23a64cc534d401cb03846bc77dbec5ca3afd8ae360164e77f6cac522cbbd7ef4c9aed7228007fe36b3eedb5b19f59008e13a6988b592655665087a1 SHA512 bd2e19ca5916102cd76877e9f78d9ab2bacdab3e143597240fc096f1bc0ce422b023e7b7d65438d5f921d17ab0727a9859845a822e97680a4258ebddf4f65b27 diff --git a/net-misc/sb-hosts/sb-hosts-3.16.104.ebuild b/net-misc/sb-hosts/sb-hosts-3.16.106.ebuild index 941876ea977f..941876ea977f 100644 --- a/net-misc/sb-hosts/sb-hosts-3.16.104.ebuild +++ b/net-misc/sb-hosts/sb-hosts-3.16.106.ebuild |
