From 0ec1e1dd7867c3dedcbea76c9b6e847d6b388c03 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 11 Feb 2025 00:12:38 +0000 Subject: gentoo auto-resync : 11:02:2025 - 00:12:37 --- net-misc/Manifest.gz | Bin 53827 -> 53650 bytes net-misc/anydesk/Manifest | 4 +- net-misc/anydesk/anydesk-6.3.2.ebuild | 102 --------- net-misc/anydesk/anydesk-6.4.0.ebuild | 99 ++++++++ net-misc/fatrat/Manifest | 5 - .../fatrat/fatrat-1.2.0_beta2_p20161204.ebuild | 75 ------ .../files/fatrat-1.2.0_beta2_p20150803-build.patch | 13 -- .../fatrat-1.2.0_beta2_p20161204-qt-5.15.patch | 12 - net-misc/fatrat/metadata.xml | 11 - net-misc/memcached/Manifest | 4 +- net-misc/memcached/memcached-1.6.27.ebuild | 4 + net-misc/memcached/memcached-1.6.31.ebuild | 6 +- net-misc/scponly/Manifest | 5 +- net-misc/scponly/files/scponly-4.8-C23.patch | 26 +++ net-misc/scponly/metadata.xml | 1 + net-misc/scponly/scponly-4.8-r8.ebuild | 245 -------------------- net-misc/scponly/scponly-4.8-r9.ebuild | 252 +++++++++++++++++++++ net-misc/zssh/Manifest | 3 +- net-misc/zssh/files/zssh-1.5c-C23.patch | 178 +++++++++++++++ net-misc/zssh/zssh-1.5c-r2.ebuild | 45 ---- net-misc/zssh/zssh-1.5c-r3.ebuild | 52 +++++ 21 files changed, 626 insertions(+), 516 deletions(-) delete mode 100644 net-misc/anydesk/anydesk-6.3.2.ebuild create mode 100644 net-misc/anydesk/anydesk-6.4.0.ebuild delete mode 100644 net-misc/fatrat/Manifest delete mode 100644 net-misc/fatrat/fatrat-1.2.0_beta2_p20161204.ebuild delete mode 100644 net-misc/fatrat/files/fatrat-1.2.0_beta2_p20150803-build.patch delete mode 100644 net-misc/fatrat/files/fatrat-1.2.0_beta2_p20161204-qt-5.15.patch delete mode 100644 net-misc/fatrat/metadata.xml create mode 100644 net-misc/scponly/files/scponly-4.8-C23.patch delete mode 100644 net-misc/scponly/scponly-4.8-r8.ebuild create mode 100644 net-misc/scponly/scponly-4.8-r9.ebuild create mode 100644 net-misc/zssh/files/zssh-1.5c-C23.patch delete mode 100644 net-misc/zssh/zssh-1.5c-r2.ebuild create mode 100644 net-misc/zssh/zssh-1.5c-r3.ebuild (limited to 'net-misc') diff --git a/net-misc/Manifest.gz b/net-misc/Manifest.gz index 33e1c6b9c08b..a913b48117a1 100644 Binary files a/net-misc/Manifest.gz and b/net-misc/Manifest.gz differ diff --git a/net-misc/anydesk/Manifest b/net-misc/anydesk/Manifest index 168a00b3cfec..6afe895eb06e 100644 --- a/net-misc/anydesk/Manifest +++ b/net-misc/anydesk/Manifest @@ -1,8 +1,8 @@ AUX anydesk-4.0.1.service 272 BLAKE2B 7d70803e8c238a8461a8d326e50e4e8d5c404e9a9d912f889700f855ce172f5c114a4d0326257fd9da95c02e4d671eb5fb11d7090760b68d0ec252901fccc3bf SHA512 25c0f527a3b524c756fd77da9b2571bab76ae00bc0cdb467471c4b217eb814d2ec9dc22fb7fc4cec1c9d008ae003ecd2ea6b814880ee0f829e8905a370bdea07 AUX anydesk.desktop 239 BLAKE2B 3e9c2d1b93b7efe9731ffb1ba1202620b71b4c2655d1b053cd303b4e122dac3423998c3bad3b41b491a820587cda5a959f260937f5b5c4ebeed27583d90d2caa SHA512 c6ec7c6022b7cd994d80fa8f3d4bc583e84dc616e0567e50b6a62145ac32d6157eb00a0202633148b00b15523473f3284ca698035ed55bfde9694e3407a8d25c AUX anydesk.init 287 BLAKE2B 75704216e27cffdfdf3e5cf52604c558e5d60333e077fe97c6e38ae2172c00bc234cff078067b94517e4e0498921a7ae9619262609573d012e548eba247a3bc5 SHA512 006a66ac77a30cab0cac9fff99d94fa41b95c53ac32760e4217ff043bbefb02b00808cd09d14eeae189a326e58eb723c0f71af0a6abf2528756bfa5f8aad25c2 -DIST anydesk-6.3.2-amd64.tar.gz 7039607 BLAKE2B dfc628baef862bddb944b02d39c3e270a0ac4dbe88704099f8b9022e7e758a367093432b78e86bcc1d9432fabe1c2842c4e811e59541433cb75a9734e09cff08 SHA512 a0fac07d6beb085666f4414f592b5b26b0f699ebc0b1ad5a587317a0c46b0f92a8d3b3e2e0ab08ce9e6c4c1c15789f8396158cc87075e623e32ce714ad071612 DIST anydesk-6.3.3-amd64.tar.gz 7048124 BLAKE2B 6b97a60709337e01e70f11cfe4a82d71465961de99bc075c900d0f656427502fa6543c68b9dcd30cb4a3091ba0bd10b3b1bea0ea0e7792ef51a76b376d1ffe29 SHA512 4819ee1a7420fed503c743601a8e4e5000150e176b1d695e34c8ffb5da2475ca2ccd6f5024c9d011661e7e0f133a592bcfc19a2e32ba2ffd9a92f701b0eb929f -EBUILD anydesk-6.3.2.ebuild 2381 BLAKE2B baa80aa2b726c6aa47fc7a78423c298d0a0ada0b006ebfcf59a0a89f7de68d4dac8960facaedea4a9763aef0d25d6a3f3176c38884a7369ef831515bce5baf6e SHA512 3b6d190d57f48889ba5707b4685ac8814eb3e7d7e7b6b2eb800c1f3ae9859e0ba9b43cafc9a93b38f6bc49e142350c8fe68c4c487a307a2d163e81613e75b8a7 +DIST anydesk-6.4.0-amd64.tar.gz 8391102 BLAKE2B e0e18b0315d1472bd4479b48052f4617f29d4d8efb9bd61d8e6dac0368302369868703ffaad999c34b648157500e3ce441ea99d7bf54649b8c26d54cb193bbc2 SHA512 15daac65fd26af3abb8916cc545d9b58715cb807ad550908537af32cf152faa2d61d2005cf46de376b64117be93e3562a820eebb1d8f16f9a8f5dd0d21144b6b EBUILD anydesk-6.3.3.ebuild 2313 BLAKE2B 302d03de28a56835b6b660ceb991f900656a96407c09302b683a95b434fa250264443e5bd001926f29dec85b3cc27bff877874c85e42e3920955316cfaaa043a SHA512 fa70dbd667de41f65076d868912f84e0f184f3dcd1aa86539b54f665fbb1dc48284b31323973408e10418d4769815282c4f9b74d6478250617c99cbeda2045ac +EBUILD anydesk-6.4.0.ebuild 2205 BLAKE2B be0530d8387e0e56843d6f0b5678f45675633fd1848510cfd0c484dfb672ef3b3efd4bcc47a2aea95cbc994ca3ff91b0f27ff11addd68c9c4851116fb1783f29 SHA512 f2905a3590d5bb1400f7a52087ecf0904a7379d0ebc15cb98d59a1275a1c6d59b51d5d9d9220f8de2d4ac3d78bdb8234e844bfdbb605f9441efdb0a1fc64d5d9 MISC metadata.xml 801 BLAKE2B ac00be907b480345c3fbbec76cd5c38177aad7e9193f56e7337341f1bc03591cba736ca79ae8edb0d3304bc543a451e8167d5fe00dd532a481478750abf4ecdd SHA512 1582a3006cfa71c72b453307503c955842c7843a0f40e9e95d40a975467b4ff6974677462ceb0766cbfc4028c92e9d9300190165095eb7803598778966f645c3 diff --git a/net-misc/anydesk/anydesk-6.3.2.ebuild b/net-misc/anydesk/anydesk-6.3.2.ebuild deleted file mode 100644 index 8da50cec7b3c..000000000000 --- a/net-misc/anydesk/anydesk-6.3.2.ebuild +++ /dev/null @@ -1,102 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="8" - -inherit desktop optfeature systemd xdg-utils - -DESCRIPTION="Feature rich multi-platform remote desktop application" -HOMEPAGE="https://anydesk.com" -SRC_URI="https://download.anydesk.com/linux/${P}-amd64.tar.gz - https://download.anydesk.com/linux/generic-linux/${P}-amd64.tar.gz" - -# OpeSSL/SSLeay, libvpx, zlib, Xiph, xxHash -LICENSE="AnyDesk-TOS BSD BSD-2 openssl ZLIB" -SLOT="0" -KEYWORDS="-* ~amd64" - -# x11-libs/gtkglext is required and cannot be mitigated: https://bugs.gentoo.org/868255 -RDEPEND=" - app-accessibility/at-spi2-core:2 - dev-libs/glib:2 - media-libs/fontconfig:1.0 - media-libs/freetype:2 - media-libs/glu - media-libs/libglvnd - sys-auth/polkit - x11-libs/cairo - x11-libs/gdk-pixbuf:2 - x11-libs/gtk+:2 - x11-libs/gtkglext - x11-libs/libX11 - x11-libs/libxcb - x11-libs/libXdamage - x11-libs/libXext - x11-libs/libXfixes - x11-libs/libXi - x11-libs/libxkbfile - x11-libs/libXrandr - x11-libs/libXrender - x11-libs/libXtst - x11-libs/pango -" -BDEPEND="dev-util/patchelf" - -RESTRICT="bindist mirror" - -QA_PREBUILT="opt/${PN}/*" - -src_install() { - local dst="/opt/${PN}" - - exeinto ${dst} - doexe ${PN} - - dodir /opt/bin - dosym "${dst}/${PN}" "/opt/bin/${PN}" - - newinitd "${FILESDIR}/anydesk.init" anydesk - systemd_newunit "${FILESDIR}/anydesk-4.0.1.service" anydesk.service - - insinto /usr/share/polkit-1/actions - doins polkit-1/com.anydesk.anydesk.policy - - insinto /usr/share - doins -r icons - - domenu "${FILESDIR}/anydesk.desktop" - - dodoc copyright README -} - -pkg_postinst() { - xdg_desktop_database_update - xdg_icon_cache_update - - if [[ -z ${REPLACING_VERSIONS} ]]; then - elog "To run AnyDesk as background service use:" - elog - elog "OpenRC:" - elog "# rc-service anydesk start" - elog "# rc-update add anydesk default" - elog - elog "Systemd:" - elog "# systemctl start anydesk.service" - elog "# systemctl enable anydesk.service" - elog - elog "Please see README at /usr/share/doc/${PF}/README.bz2 for" - elog "further information about the linux version of AnyDesk." - elog - fi - - optfeature_header "AnyDesk additional tools:" - optfeature "lsb_release" sys-apps/lsb-release - optfeature "lspci" sys-apps/pciutils - optfeature "lsusb" sys-apps/usbutils - optfeature "sound support" media-libs/libcanberra[gtk2] -} - -pkg_postrm() { - xdg_desktop_database_update - xdg_icon_cache_update -} diff --git a/net-misc/anydesk/anydesk-6.4.0.ebuild b/net-misc/anydesk/anydesk-6.4.0.ebuild new file mode 100644 index 000000000000..bff859751dd7 --- /dev/null +++ b/net-misc/anydesk/anydesk-6.4.0.ebuild @@ -0,0 +1,99 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="8" + +inherit desktop optfeature systemd xdg-utils + +DESCRIPTION="Feature rich multi-platform remote desktop application" +HOMEPAGE="https://anydesk.com" +SRC_URI="https://download.anydesk.com/linux/${P}-amd64.tar.gz" + +# OpeSSL/SSLeay, libvpx, zlib, Xiph, xxHash +LICENSE="AnyDesk-TOS BSD BSD-2 openssl ZLIB" +SLOT="0" +KEYWORDS="-* ~amd64" + +RDEPEND=" + app-accessibility/at-spi2-core:2 + dev-libs/glib:2 + media-libs/fontconfig:1.0 + media-libs/freetype:2 + media-libs/harfbuzz + sys-apps/dbus + sys-auth/polkit + x11-libs/cairo + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + x11-libs/libX11 + x11-libs/libxcb + x11-libs/libXdamage + x11-libs/libXext + x11-libs/libXfixes + x11-libs/libXi + x11-libs/libxkbfile + x11-libs/libXrandr + x11-libs/libXrender + x11-libs/libXtst + x11-libs/pango +" +BDEPEND="dev-util/patchelf" + +RESTRICT="bindist mirror" + +QA_PREBUILT="opt/${PN}/*" + +src_install() { + local dst="/opt/${PN}" + + exeinto ${dst} + doexe ${PN} + + dodir /opt/bin + dosym "${dst}/${PN}" "/opt/bin/${PN}" + + newinitd "${FILESDIR}/anydesk.init" anydesk + systemd_newunit "${FILESDIR}/anydesk-4.0.1.service" anydesk.service + + insinto /usr/share/polkit-1/actions + doins polkit-1/com.anydesk.anydesk.policy + + insinto /usr/share + doins -r icons + + domenu "${FILESDIR}/anydesk.desktop" + + dodoc copyright README +} + +pkg_postinst() { + xdg_desktop_database_update + xdg_icon_cache_update + + if [[ -z ${REPLACING_VERSIONS} ]]; then + elog "To run AnyDesk as background service use:" + elog + elog "OpenRC:" + elog "# rc-service anydesk start" + elog "# rc-update add anydesk default" + elog + elog "Systemd:" + elog "# systemctl start anydesk.service" + elog "# systemctl enable anydesk.service" + elog + elog "Please see README at /usr/share/doc/${PF}/README.bz2 for" + elog "further information about the linux version of AnyDesk." + elog + fi + + optfeature_header "AnyDesk additional tools:" + optfeature "lsb_release" sys-apps/lsb-release + optfeature "lspci" sys-apps/pciutils + optfeature "lsusb" sys-apps/usbutils + optfeature "sound support" media-libs/libcanberra[gtk2] +} + +pkg_postrm() { + xdg_desktop_database_update + xdg_icon_cache_update +} diff --git a/net-misc/fatrat/Manifest b/net-misc/fatrat/Manifest deleted file mode 100644 index 1e247f07e6bd..000000000000 --- a/net-misc/fatrat/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX fatrat-1.2.0_beta2_p20150803-build.patch 357 BLAKE2B 31a7da4cd3d49f3ebab037bdc8b32708bc7454bd46ee49ee3582ffc0cad9816dc7ca575f63039c17d2e0f06a455204ccf19197a01845231362a8f6e049cb3de0 SHA512 884c79a2b40ce0aa3748df8df7e7ed5050a56cda23922c3cfbae0987a192fe1d2320d059830ed6de88f527dda87ebbc9033a73f5f12d269e93e1c3deffb0fc3e -AUX fatrat-1.2.0_beta2_p20161204-qt-5.15.patch 297 BLAKE2B 06a07acc7a9c320eb9f52ea039220bebf86bad994d4e599b5bcdcef8f77b11fee4e0ef403397d9efb69eec7b667f90b5e66f36126f270055fab668599c14656d SHA512 ba2035f1f06ea3b36ce616be7a5b7a39c6c83446c1b3c836d4679980647348ad54c31363665428fd7d45435dfb622348be7d25d8dc46fb7ff602771974307f03 -DIST fatrat-1.2.0_beta2_p20161204.tar.gz 4988560 BLAKE2B e55b841bd5741fe81eab79847dddf084a0b193215b791c341d705d840d1658bb7978e53c3de65c23c7c1ac839b29abfceb3b71bcbb124746e841c5fb31ecba14 SHA512 d3a9816cc53fd93ef2ccd3fb5896dde5846382d40e30dc687a14379e6048f8ffc27b40c2b5c3977c6bccc912dcb054426c84c016c319174e2c2a440f9a588063 -EBUILD fatrat-1.2.0_beta2_p20161204.ebuild 1587 BLAKE2B 3a70464d07ad685c29d9e76aeec2193aaa53e4d79a13f939a90812381f9d4f28ded2b4e5f301657825bc525ae60ab59b8b6c842d00bd1be8ce7411f742b655d2 SHA512 96b2068571de2c653eef31e2a9b17b451030f9a4254dd8d6b53ff2c5ecc6bce117e8a02278a0211b4f0e8bd594da866dce7b39d47fded81ba6abdb63e599bf69 -MISC metadata.xml 368 BLAKE2B 0028729dc4ef705d65fde6e2c38b1bed5054d4d02cc4adf1cdf0acce608dc0b516c65ac5d1e9f98c11c439eea938d47eab32ffffe085dbbc19953fa49dec4f50 SHA512 326a0d37af84dcf050a7caf5c78f44a59f6a61b28f1b31458ba20b13cad0edab286cb042f2a508ec925c4f97086c2b4cdff9027f1ac97cd18101c1e5a3b611cc diff --git a/net-misc/fatrat/fatrat-1.2.0_beta2_p20161204.ebuild b/net-misc/fatrat/fatrat-1.2.0_beta2_p20161204.ebuild deleted file mode 100644 index c82928e3267c..000000000000 --- a/net-misc/fatrat/fatrat-1.2.0_beta2_p20161204.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -SNAPSHOT="14a1a146df76d70c44dcc38363848a5b41a364d5" -inherit cmake xdg-utils - -DESCRIPTION="Qt5-based download/upload manager" -HOMEPAGE="http://fatrat.dolezel.info/" -SRC_URI="https://github.com/LubosD/fatrat/tarball/${SNAPSHOT} -> ${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="bittorrent +curl doc nls xmpp" - -BDEPEND=" - dev-qt/linguist-tools:5 - virtual/pkgconfig - nls? ( sys-devel/gettext ) -" -RDEPEND=" - dev-qt/qtcore:5 - dev-qt/qtdbus:5 - dev-qt/qtgui:5 - dev-qt/qtnetwork:5 - dev-qt/qtsvg:5 - dev-qt/qtwidgets:5 - dev-qt/qtxml:5 - bittorrent? ( - dev-qt/qtwebengine:5[widgets] - >=net-libs/libtorrent-rasterbar-1.1.1 - ) - curl? ( >=net-misc/curl-7.18.2 ) - doc? ( dev-qt/qthelp:5 ) - xmpp? ( net-libs/gloox ) -" -DEPEND="${RDEPEND} - dev-libs/boost -" - -S="${WORKDIR}/LubosD-${PN}-14a1a14" - -PATCHES=( - "${FILESDIR}/${PN}-1.2.0_beta2_p20150803-build.patch" - "${FILESDIR}/${P}-qt-5.15.patch" -) - -src_configure() { - local mycmakeargs=( - -DWITH_BITTORRENT="$(usex bittorrent ON OFF)" - -DWITH_CURL="$(usex curl ON OFF)" - -DWITH_DOCUMENTATION="$(usex doc ON OFF)" - -DWITH_NLS="$(usex nls ON OFF)" - -DWITH_JABBER="$(usex xmpp ON OFF)" - -DWITH_WEBINTERFACE=OFF - ) - cmake_src_configure -} - -pkg_postinst() { - # optional runtime dep - if ! has_version dev-libs/geoip; then - elog "If you want GeoIP support, emerge dev-libs/geoip." - fi - - xdg_mimeinfo_database_update - xdg_desktop_database_update -} - -pkg_postrm() { - xdg_mimeinfo_database_update - xdg_desktop_database_update -} diff --git a/net-misc/fatrat/files/fatrat-1.2.0_beta2_p20150803-build.patch b/net-misc/fatrat/files/fatrat-1.2.0_beta2_p20150803-build.patch deleted file mode 100644 index f38604e8588d..000000000000 --- a/net-misc/fatrat/files/fatrat-1.2.0_beta2_p20150803-build.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -127,10 +127,6 @@ - ADD_DEFINITIONS(-DDEBUG_BUILD) - ADD_DEFINITIONS(-DNDEBUG) - ADD_DEFINITIONS(-Wall) --else(CMAKE_BUILD_TYPE MATCHES Debug) -- ADD_DEFINITIONS(-ggdb) -- ADD_DEFINITIONS(-DNDEBUG) -- ADD_DEFINITIONS(-Wall) - endif(CMAKE_BUILD_TYPE MATCHES Debug) - - CHECK_INCLUDE_FILES(sys/epoll.h HAVE_SYS_EPOLL_H) diff --git a/net-misc/fatrat/files/fatrat-1.2.0_beta2_p20161204-qt-5.15.patch b/net-misc/fatrat/files/fatrat-1.2.0_beta2_p20161204-qt-5.15.patch deleted file mode 100644 index def09bbd7673..000000000000 --- a/net-misc/fatrat/files/fatrat-1.2.0_beta2_p20161204-qt-5.15.patch +++ /dev/null @@ -1,12 +0,0 @@ -diff --git a/src/util/BalloonTip.cpp b/src/util/BalloonTip.cpp -index c20c0ee..67b5284 100644 ---- a/src/util/BalloonTip.cpp -+++ b/src/util/BalloonTip.cpp -@@ -2,6 +2,7 @@ - * Based on Qt source code - */ - -+#include - #include "BalloonTip.h" - #include - #include diff --git a/net-misc/fatrat/metadata.xml b/net-misc/fatrat/metadata.xml deleted file mode 100644 index 30e017e14716..000000000000 --- a/net-misc/fatrat/metadata.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - Use the bittorrent protocol via net-libs/libtorrent-rasterbar. - - - LubosD/fatrat - - diff --git a/net-misc/memcached/Manifest b/net-misc/memcached/Manifest index 239cb16614a7..178ddba1233e 100644 --- a/net-misc/memcached/Manifest +++ b/net-misc/memcached/Manifest @@ -5,6 +5,6 @@ AUX memcached.init2 2200 BLAKE2B 9bc5fe76047b7559aec93030829963111353fb5adc3ba55 AUX memcached.service 273 BLAKE2B bfe217d2ec7fd9aead468f4f5b100843287a49bef163dd106349f3275acbffaca60e09c8b723a566a96065d8208eb52f44f7c3ad24a8aaf3980471e8d0478b77 SHA512 647f06160142c5e38e4009203609bf2152dd1bdd4b94be9e2bf3c5741e631419fc9cf300575a65a905956eec916d736c4e3b3d3e3c80438f1b33cd10fe4dcd95 DIST memcached-1.6.27.tar.gz 1189608 BLAKE2B 056f9555dda758ebb46f62c7eb65712107b1e50b4e4e9696ad4962abdd584df0e0d398590b0e6bfabad33ca18f2a7596d9410d8b35fe069bce6f812ecedd3c35 SHA512 d9de26887339d456e1cace60bf5b2cc2a78231a52ec6f6f36ed7d3ad373eaf231419601be46e80963a3a0254638d03198141647f81fa530b85dbdc4a6071c4cd DIST memcached-1.6.31.tar.gz 1216497 BLAKE2B effa03d952e3c9fa9bb8c2ad2bb1c47dc23b8c828d915ded042c0ec468bc13ae6162501feb8bc9c924c717b895385070f407bb42d8d90b67d5d837aa4bd18470 SHA512 6531e161d31ac27addf65fb925c3db54c9dca5782220bc4725b6e6829c59a54a4c1ff364ad271c34de29298fbbc7cb13d67e05e1bf165e9c582d975d3404947d -EBUILD memcached-1.6.27.ebuild 2856 BLAKE2B fefb798ae86002073425c4673cde9ea36022b07b4cde6dfe343d8480bbe5f2412bd0c4820183611e749e87892295e645ae70b62b9011310f0e0845efb63f4c38 SHA512 4c1d465676f0f6776b2fd4a8e4cd6f962aae84e907139eb569fa3c62174388259d5d6900750bdd43e879094e522eabf74d0e1490df9b24c7c88adf4bdca3d1c4 -EBUILD memcached-1.6.31.ebuild 2870 BLAKE2B b55b9fd50ff1fd2e554a4fd32a28f7b6f3300a465cbb9613fa1f032ddb64aa06d1ed3d4adf301c7ccf0494c692bc81327b1119062f90f0ecfd7665cb38e63f16 SHA512 3040aa80ecce2f7367e3bce1e7ab4376f17de0ffa4c4a418d3ad32c9092ad1aca9aca7d709915d0ec51379232a3d24e04a4a27202aaf211f89cb8440fa6939d4 +EBUILD memcached-1.6.27.ebuild 2894 BLAKE2B 1979b590a6ed9bbedd717cf769645f689e69d2661521365c3545a5f03fa4e77d7569c25366db5e931fcb989f843868539481021b530db3970a1959a29347264c SHA512 ceadc7f58ce8b6ffd8ce7de2072ba0a15b4569979af8e79eeecf4b287928f3cf6659586fc8f3f7eba9e308fd970a7f2deb26b6c3c88ad7ba126ad5b170662a6a +EBUILD memcached-1.6.31.ebuild 2908 BLAKE2B fe4c78aa94c8289818c713d964a5cf7fa3968359ec48bf85e41b566dd292092117d9a4198277d3ff6e90816c2ee0d455552da9d37112cb68ecc8f59c07bc248a SHA512 3f80a7e805d78f861d0edbcd923bf09a2397a1bbca38ddf02bc713686ce3e8f0dd85809a61e5a25ab18e11f6bb1b6dc8ebff9640ce28370f712c1c51562a63a1 MISC metadata.xml 1135 BLAKE2B d16930abfea735bd634c90e0add475eab661c6309c83f418586f0fb3a23e001888bb9c455d886a074d652da98bdaf99c2292357d6241b06c33bd046aac67b0ce SHA512 7bc61552d088369f7ad0204444371140dbd75aa10e9340bdafd2046c0dbfe1921edf8806ff8f96dde8e1e9a9239e82f1d8019e386b44c1e916aa39157c29b6de diff --git a/net-misc/memcached/memcached-1.6.27.ebuild b/net-misc/memcached/memcached-1.6.27.ebuild index f9c94759a23f..6dd8292b6ec1 100644 --- a/net-misc/memcached/memcached-1.6.27.ebuild +++ b/net-misc/memcached/memcached-1.6.27.ebuild @@ -37,6 +37,10 @@ PATCHES=( "${FILESDIR}/${PN}-1.4.17-EWOULDBLOCK.patch" ) +QA_CONFIG_IMPL_DECL_SKIP=( + htonll +) + src_prepare() { default diff --git a/net-misc/memcached/memcached-1.6.31.ebuild b/net-misc/memcached/memcached-1.6.31.ebuild index 79b68d40687f..967fec8252b5 100644 --- a/net-misc/memcached/memcached-1.6.31.ebuild +++ b/net-misc/memcached/memcached-1.6.31.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -44,6 +44,10 @@ PATCHES=( "${FILESDIR}/${PN}-1.4.0-fix-as-needed-linking.patch" ) +QA_CONFIG_IMPL_DECL_SKIP=( + htonll +) + src_prepare() { default diff --git a/net-misc/scponly/Manifest b/net-misc/scponly/Manifest index 599524a8a4d3..a9a0a0a120e9 100644 --- a/net-misc/scponly/Manifest +++ b/net-misc/scponly/Manifest @@ -1,6 +1,7 @@ +AUX scponly-4.8-C23.patch 788 BLAKE2B 0e17192178f17143274dedc1efe131cae886d713549f158edd2904b8154f15de870fd8b8994407c8ed1a7f64394d5f20553479befb68b8cd88e3cc40f187db4a SHA512 b56fe9af6873a47daf978748a1b2e185bae285cb6f247483179857614c46a4549d0409b58bb583777940cfe7cd40959aeffbac3a60bfa561a05ba5b53f65ffbb AUX scponly-4.8-gcc4.4.0.patch 555 BLAKE2B 0eff2d5cd94f60540dd1bbb6b6f9f1486abbb25e4a32d6eab5c94e55a3d14b77e4724b7c1e70f8a39369becc554d20953bc9f43d44923582f41ed02adc37f665 SHA512 fd9727364591d528e17845eb3e103728382fa7b476b9c0331f16f3e09dc469df7068412047a30b554578887e7897e80574ac820314ec0dae5d58909e3bb5f7de AUX scponly-4.8-rsync.patch 7838 BLAKE2B 1d6191aee86b0e3e75e527dbb1f8dbf631940a34da3f29f36b0e55577555dc9ad02e2e787a8cd53aeab5a28d93da7dd528a486f1133fd7a04b91971774b4b2a1 SHA512 37885c9b46422ac034182f9c9f230b4e806ce8c894ebb6c621f0e2b3d5f46c91db902c2dae6aefe5471907025d400320e4eff37cc7c5cc4c6f7d8c88a38e53f8 AUX scponly-4.8-sftp-server-path.patch 2692 BLAKE2B ead282d46cb25a6d8606fa65e538142c15dd0be82956c2c8a48c7d46cc9ec59605a4f1c10fc5235acb584945b00ee4c187391d198571d841b45225c328765b49 SHA512 86171549d894426d12eb2f8d65959d1be2e137327c135be31c762820a55256f5c4ac90a01f989c8bffd2b46b275de408912306209b5aba9a94b81dbc06ff5a24 DIST scponly-4.8.tgz 101687 BLAKE2B aa7250464fa3b51a439d35418c64d49f8595eaac6ffe710137c7c53b96bcf66a5ead38e9520b2cead7a829b57520f988f873eb713d5f52045cba4ef02c8e9b61 SHA512 134c008a7377cef7b8e0be483df8413e162a515967147f561d23b72bdef3dfbe70a8313811dfff6372b88f15c1ac8a4385831fcf329261276993c64d5040f29b -EBUILD scponly-4.8-r8.ebuild 6944 BLAKE2B d28b0a4a066ea4cb345d4e7a1219de4b932f6e95bfab5cf968e0025420242909ec0d46e69d7ba8cd276fb10ec2e83021f17ec5c542b1b39cfde154a3febbefa9 SHA512 fbfb223bf0ed14e2632224d590363a9083b519ea3a16569c8e5dfa4cf676e550d801134ff40364af782df147ea7547edb0f48942faeda32fc328089fb1de8ca2 -MISC metadata.xml 1761 BLAKE2B a2fbdcc0e9b89e85180548a97a12eeb27a5d973673451972c32184dfc932d6634950e0620fa2a1e2962d8a08508c31439f9a3e29a6e2a3e4f76d53933ac425e5 SHA512 bdfe9ab129bc9c939850756b23510c91908c21aa417529501b2ada83a30335ce4446f5bbc6dcb728df09e1b27d4cf7ba4eee4f43b96a1b92c0ea476d05ca7592 +EBUILD scponly-4.8-r9.ebuild 7021 BLAKE2B 719addadd400fab7615cc2889f958092db87c97c453deae383e351f48d207a65ea50ac0061e7edd7cbdc12a829d00f5bdeb9f789010ae5e56a8516e00178887d SHA512 fea34003aef58478d02e77e97f5a759ca339522baf4aaa50e472f074f81d851ffa0efca7d5ffdd44897463687daa5f46d4a468754129e2452279ee5db5b75384 +MISC metadata.xml 1816 BLAKE2B 3fe231b9ced26d79b296de4230f5dee7a13414dfad5ef683fec8c993099c59a5ace44b2741b29915b6b4e557b9604b0cd7e4614a3b361880df043412a3ec2112 SHA512 ef9efd06597dfe02ae896b37f9ad94ff3742d0c82a05bccef4f1f70c0561056879f46efe94ff318fc7735e945d6d94c9200977ae2b2d5164ae0ce28c8c8989db diff --git a/net-misc/scponly/files/scponly-4.8-C23.patch b/net-misc/scponly/files/scponly-4.8-C23.patch new file mode 100644 index 000000000000..113451e75aab --- /dev/null +++ b/net-misc/scponly/files/scponly-4.8-C23.patch @@ -0,0 +1,26 @@ +diff -ru a/helper.c b/helper.c +--- a/helper.c 2025-01-10 17:16:03.332900358 +0400 ++++ b/helper.c 2025-01-10 17:17:24.801652374 +0400 +@@ -1,7 +1,9 @@ + /* + * helper functions for scponly + */ ++#define _DEFAULT_SOURCE /* for strsep */ + #include /* io */ ++#include /* for bzero */ + #include /* for str* */ + #include /* for stat, getpwuid */ + #include /* for stat */ +diff -ru a/scponly.c b/scponly.c +--- a/scponly.c 2025-01-10 17:16:03.332900358 +0400 ++++ b/scponly.c 2025-01-10 17:18:13.274524840 +0400 +@@ -6,7 +6,8 @@ + * + * see CONTRIB for additional credits + */ +- ++ ++#define _DEFAULT_SOURCE /* for seteuid */ + #include /* io */ + #include /* for str* */ + #include /* for fork, wait, stat */ diff --git a/net-misc/scponly/metadata.xml b/net-misc/scponly/metadata.xml index 3beb7f62de5b..995af96bb41e 100644 --- a/net-misc/scponly/metadata.xml +++ b/net-misc/scponly/metadata.xml @@ -32,5 +32,6 @@ scponly + scponly/scponly diff --git a/net-misc/scponly/scponly-4.8-r8.ebuild b/net-misc/scponly/scponly-4.8-r8.ebuild deleted file mode 100644 index 93ddd8138d29..000000000000 --- a/net-misc/scponly/scponly-4.8-r8.ebuild +++ /dev/null @@ -1,245 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit readme.gentoo-r1 toolchain-funcs - -DESCRIPTION="A tiny pseudoshell which only permits scp and sftp" -HOMEPAGE="https://github.com/scponly/scponly" -SRC_URI="https://downloads.sourceforge.net/scponly/${P}.tgz" - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="amd64 ~ppc sparc x86" -IUSE="chroot +sftp scp winscp gftp rsync unison subversion wildcards quota passwd logging" -REQUIRED_USE=" - || ( sftp scp winscp rsync unison subversion ) -" - -RDEPEND=" - sys-apps/sed - virtual/openssh - chroot? ( acct-user/scponly acct-group/scponly ) - quota? ( sys-fs/quota ) - rsync? ( net-misc/rsync ) - subversion? ( dev-vcs/subversion ) - unison? ( net-misc/unison:= ) -" -DEPEND="${RDEPEND}" - -PATCHES=( - "${FILESDIR}/${P}-rsync.patch" - "${FILESDIR}/${P}-gcc4.4.0.patch" - "${FILESDIR}/${P}-sftp-server-path.patch" -) - -src_configure() { - CFLAGS="${CFLAGS} ${LDFLAGS}" econf \ - --with-sftp-server="/usr/$(get_libdir)/misc/sftp-server" \ - --disable-restrictive-names \ - $(use_enable chroot chrooted-binary) \ - $(use_enable chroot chrooted-checkdir) \ - $(use_enable winscp winscp-compat) \ - $(use_enable gftp gftp-compat) \ - $(use_enable scp scp-compat) \ - $(use_enable sftp sftp) \ - $(use_enable quota quota-compat) \ - $(use_enable passwd passwd-compat) \ - $(use_enable rsync rsync-compat) \ - $(use_enable unison unison-compat) \ - $(use_enable subversion svn-compat) \ - $(use_enable subversion svnserv-compat) \ - $(use_enable logging sftp-logging-compat) \ - $(use_enable wildcards wildcards) -} - -src_compile() { - emake CC="$(tc-getCC)" -} - -src_install() { - emake DESTDIR="${D}" install - - dodoc AUTHOR BUILDING-JAILS.TXT CHANGELOG CONTRIB README SECURITY TODO - - if use chroot ; then - local DOC_CONTENTS="You might want to run\n - emerge --config =${CATEGORY}/${PF}\n - \nto setup the chroot. Otherwise you will have to setup chroot - manually. Please read the docs in /usr/share/doc/${PF} for more - informations, also the SECURITY file." - ( docinto chroot; dodoc setup_chroot.sh config.h ) - # don't compress setup-script, so it is usable if necessary - docompress -x /usr/share/doc/${PF}/chroot - readme.gentoo_create_doc - fi -} - -pkg_config() { - if ! use chroot ; then - einfo "USE=chroot not enabled, nothing to configure." - return - fi - - myuser="scponly" - myhome="/var/chroot/${myuser}" - mysubdir="/pub" - - # pkg_postinst is based on ${S}/setup_chroot.sh. - - einfo "Collecting binaries and libraries..." - - # Binaries launched in sftp compat mode - if has_version "=${CATEGORY}/${PF}[sftp]" ; then - BINARIES="/usr/$(get_libdir)/misc/sftp-server" - fi - - # Binaries launched by vanilla- and WinSCP modes - if has_version "=${CATEGORY}/${PF}[scp]" || \ - has_version "=${CATEGORY}/${PF}[winscp]" ; then - BINARIES="${BINARIES} /usr/bin/scp /bin/ls /bin/rm /bin/ln /bin/mv" - BINARIES="${BINARIES} /bin/chmod /bin/chown /bin/chgrp /bin/mkdir /bin/rmdir" - fi - - # Binaries launched in WinSCP compatibility mode - if has_version "=${CATEGORY}/${PF}[winscp]" ; then - BINARIES="${BINARIES} /bin/pwd /bin/groups /usr/bin/id /bin/echo" - fi - - # Rsync compatability mode - if has_version "=${CATEGORY}/${PF}[rsync]" ; then - BINARIES="${BINARIES} /usr/bin/rsync" - fi - - # Unison compatability mode - if has_version "=${CATEGORY}/${PF}[unison]" ; then - BINARIES="${BINARIES} /usr/bin/unison" - fi - - # subversion cli/svnserv compatibility - if has_version "=${CATEGORY}/${PF}[subversion]" ; then - BINARIES="${BINARIES} /usr/bin/svn /usr/bin/svnserve" - fi - - # passwd compatibility - if has_version "=${CATEGORY}/${PF}[passwd]" ; then - BINARIES="${BINARIES} /usr/bin/passwd" - fi - - # quota compatibility - if has_version "=${CATEGORY}/${PF}[quota]" ; then - BINARIES="${BINARIES} /usr/bin/quota" - fi - - # build lib dependencies - LIB_LIST=$(ldd ${BINARIES} | sed -n 's:.* => \(/[^ ]\+\).*:\1:p' | sort -u) - - # search and add ld*.so - for LIB in /$(get_libdir)/ld.so /libexec/ld-elf.so /libexec/ld-elf.so.1 \ - /usr/libexec/ld.so /$(get_libdir)/ld-linux*.so.2 /usr/libexec/ld-elf.so.1; do - [ -f "${LIB}" ] && LIB_LIST="${LIB_LIST} ${LIB}" - done - - # search and add libnss_*.so - for LIB in /$(get_libdir)/libnss_{compat,files}*.so.*; do - [ -f "${LIB}" ] && LIB_LIST="${LIB_LIST} ${LIB}" - done - - # create base dirs - if [ ! -d "${myhome}" ]; then - die "Home '${myhome}' should have been created by acct-user but does not exist." - else - einfo "Setting owner for ${myhome}" - chown 0:0 "${myhome}" - fi - - if [ ! -d "${myhome}/etc" ]; then - einfo "Creating ${myhome}/etc" - install -o0 -g0 -m0755 -d "${myhome}/etc" - fi - - if [ ! -d "${myhome}/$(get_libdir)" ]; then - einfo "Creating ${myhome}/$(get_libdir)" - install -o0 -g0 -m0755 -d "${myhome}/$(get_libdir)" - fi - - if [ ! -e "${myhome}/lib" ]; then - einfo "Creating ${myhome}/lib" - ln -snf $(get_libdir) "${myhome}/lib" - fi - - if [ ! -d "${myhome}/usr/$(get_libdir)" ]; then - einfo "Creating ${myhome}/usr/$(get_libdir)" - install -o0 -g0 -m0755 -d "${myhome}/usr/$(get_libdir)" - fi - - if [ ! -e "${myhome}/usr/lib" ]; then - einfo "Creating ${myhome}/usr/lib" - ln -snf $(get_libdir) "${myhome}/usr/lib" - fi - - if [ ! -d "${myhome}${mysubdir}" ]; then - einfo "Creating ${myhome}${mysubdir} directory for uploading files" - install -o${myuser} -g${myuser} -m0755 -d "${myhome}${mysubdir}" - fi - - # create /dev/null (Bug 135505) - if [ ! -e "${myhome}/dev/null" ]; then - install -o0 -g0 -m0755 -d "${myhome}/dev" - mknod -m0777 "${myhome}/dev/null" c 1 3 - fi - - # install binaries - for BIN in ${BINARIES}; do - einfo "Install ${BIN}" - install -o0 -g0 -m0755 -d "${myhome}$(dirname ${BIN})" - if [ "${BIN}" = "/usr/bin/passwd" ]; then # needs suid - install -p -o0 -g0 -m04711 "${BIN}" "${myhome}/${BIN}" - else - install -p -o0 -g0 -m0755 "${BIN}" "${myhome}/${BIN}" - fi - done - - # install libs - for LIB in ${LIB_LIST}; do - einfo "Install ${LIB}" - install -o0 -g0 -m0755 -d "${myhome}$(dirname ${LIB})" - install -p -o0 -g0 -m0755 "${LIB}" "${myhome}/${LIB}" - done - - # create ld.so.conf - einfo "Creating /etc/ld.so.conf" - for LIB in ${LIB_LIST}; do - dirname ${LIB} - done | sort -u | while read DIR; do - if ! grep 2>/dev/null -q "^${DIR}$" "${myhome}/etc/ld.so.conf"; then - echo "${DIR}" >> "${myhome}/etc/ld.so.conf" - fi - done - ldconfig -r "${myhome}" - - # update shells - einfo "Updating /etc/shells" - grep 2>/dev/null -q "^/usr/bin/scponly$" /etc/shells \ - || echo "/usr/bin/scponly" >> /etc/shells - - grep 2>/dev/null -q "^/usr/sbin/scponlyc$" /etc/shells \ - || echo "/usr/sbin/scponlyc" >> /etc/shells - - # create /etc/passwd - if [ ! -e "${myhome}/etc/passwd" ]; then - ( - echo "root:x:0:0:root:/:/bin/sh" - sed -n "s|^\(${myuser}:[^:]*:[^:]*:[^:]*:[^:]*:\).*|\1${mysubdir}:/bin/sh|p" /etc/passwd - ) > "${myhome}/etc/passwd" - fi - - # create /etc/group - if [ ! -e "${myhome}/etc/group" ]; then - ( - echo "root:x:0:" - sed -n "s|^\(${myuser}:[^:]*:[^:]*:\).*|\1|p" /etc/group - ) > "${myhome}/etc/group" - fi -} diff --git a/net-misc/scponly/scponly-4.8-r9.ebuild b/net-misc/scponly/scponly-4.8-r9.ebuild new file mode 100644 index 000000000000..2d6d02714439 --- /dev/null +++ b/net-misc/scponly/scponly-4.8-r9.ebuild @@ -0,0 +1,252 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit readme.gentoo-r1 toolchain-funcs autotools + +DESCRIPTION="A tiny pseudoshell which only permits scp and sftp" +HOMEPAGE="https://github.com/scponly/scponly" +SRC_URI="https://downloads.sourceforge.net/scponly/${P}.tgz" + +LICENSE="BSD-2" +SLOT="0" +KEYWORDS="amd64 ~ppc sparc x86" +IUSE="chroot +sftp scp winscp gftp rsync unison subversion wildcards quota passwd logging" +REQUIRED_USE=" + || ( sftp scp winscp rsync unison subversion ) +" + +RDEPEND=" + sys-apps/sed + virtual/openssh + chroot? ( acct-user/scponly acct-group/scponly ) + quota? ( sys-fs/quota ) + rsync? ( net-misc/rsync ) + subversion? ( dev-vcs/subversion ) + unison? ( net-misc/unison:= ) +" +DEPEND="${RDEPEND}" + +PATCHES=( + "${FILESDIR}/${P}-rsync.patch" + "${FILESDIR}/${P}-gcc4.4.0.patch" + "${FILESDIR}/${P}-sftp-server-path.patch" + "${FILESDIR}/${P}-C23.patch" +) + +src_prepare() { + default + + # bug #900316 + eautoreconf +} + +src_configure() { + CFLAGS="${CFLAGS} ${LDFLAGS}" econf \ + --disable-restrictive-names \ + $(use_enable chroot chrooted-binary) \ + $(use_enable chroot chroot-checkdir) \ + $(use_enable winscp winscp-compat) \ + $(use_enable gftp gftp-compat) \ + $(use_enable scp scp-compat) \ + $(use_with sftp sftp-server "/usr/$(get_libdir)/misc/sftp-server") \ + $(use_enable quota quota-compat) \ + $(use_enable passwd passwd-compat) \ + $(use_enable rsync rsync-compat) \ + $(use_enable unison unison-compat) \ + $(use_enable subversion svn-compat) \ + $(use_enable subversion svnserv-compat) \ + $(use_enable logging sftp-logging-compat) \ + $(use_enable wildcards wildcards) +} + +src_compile() { + emake CC="$(tc-getCC)" +} + +src_install() { + emake DESTDIR="${D}" install + + dodoc AUTHOR BUILDING-JAILS.TXT CHANGELOG CONTRIB README SECURITY TODO + + if use chroot ; then + local DOC_CONTENTS="You might want to run\n + emerge --config =${CATEGORY}/${PF}\n + \nto setup the chroot. Otherwise you will have to setup chroot + manually. Please read the docs in /usr/share/doc/${PF} for more + informations, also the SECURITY file." + ( docinto chroot; dodoc setup_chroot.sh config.h ) + # don't compress setup-script, so it is usable if necessary + docompress -x /usr/share/doc/${PF}/chroot + readme.gentoo_create_doc + fi +} + +pkg_config() { + if ! use chroot ; then + einfo "USE=chroot not enabled, nothing to configure." + return + fi + + myuser="scponly" + myhome="/var/chroot/${myuser}" + mysubdir="/pub" + + # pkg_postinst is based on ${S}/setup_chroot.sh. + + einfo "Collecting binaries and libraries..." + + # Binaries launched in sftp compat mode + if has_version "=${CATEGORY}/${PF}[sftp]" ; then + BINARIES="/usr/$(get_libdir)/misc/sftp-server" + fi + + # Binaries launched by vanilla- and WinSCP modes + if has_version "=${CATEGORY}/${PF}[scp]" || \ + has_version "=${CATEGORY}/${PF}[winscp]" ; then + BINARIES="${BINARIES} /usr/bin/scp /bin/ls /bin/rm /bin/ln /bin/mv" + BINARIES="${BINARIES} /bin/chmod /bin/chown /bin/chgrp /bin/mkdir /bin/rmdir" + fi + + # Binaries launched in WinSCP compatibility mode + if has_version "=${CATEGORY}/${PF}[winscp]" ; then + BINARIES="${BINARIES} /bin/pwd /bin/groups /usr/bin/id /bin/echo" + fi + + # Rsync compatability mode + if has_version "=${CATEGORY}/${PF}[rsync]" ; then + BINARIES="${BINARIES} /usr/bin/rsync" + fi + + # Unison compatability mode + if has_version "=${CATEGORY}/${PF}[unison]" ; then + BINARIES="${BINARIES} /usr/bin/unison" + fi + + # subversion cli/svnserv compatibility + if has_version "=${CATEGORY}/${PF}[subversion]" ; then + BINARIES="${BINARIES} /usr/bin/svn /usr/bin/svnserve" + fi + + # passwd compatibility + if has_version "=${CATEGORY}/${PF}[passwd]" ; then + BINARIES="${BINARIES} /usr/bin/passwd" + fi + + # quota compatibility + if has_version "=${CATEGORY}/${PF}[quota]" ; then + BINARIES="${BINARIES} /usr/bin/quota" + fi + + # build lib dependencies + LIB_LIST=$(ldd ${BINARIES} | sed -n 's:.* => \(/[^ ]\+\).*:\1:p' | sort -u) + + # search and add ld*.so + for LIB in /$(get_libdir)/ld.so /libexec/ld-elf.so /libexec/ld-elf.so.1 \ + /usr/libexec/ld.so /$(get_libdir)/ld-linux*.so.2 /usr/libexec/ld-elf.so.1; do + [ -f "${LIB}" ] && LIB_LIST="${LIB_LIST} ${LIB}" + done + + # search and add libnss_*.so + for LIB in /$(get_libdir)/libnss_{compat,files}*.so.*; do + [ -f "${LIB}" ] && LIB_LIST="${LIB_LIST} ${LIB}" + done + + # create base dirs + if [ ! -d "${myhome}" ]; then + die "Home '${myhome}' should have been created by acct-user but does not exist." + else + einfo "Setting owner for ${myhome}" + chown 0:0 "${myhome}" + fi + + if [ ! -d "${myhome}/etc" ]; then + einfo "Creating ${myhome}/etc" + install -o0 -g0 -m0755 -d "${myhome}/etc" + fi + + if [ ! -d "${myhome}/$(get_libdir)" ]; then + einfo "Creating ${myhome}/$(get_libdir)" + install -o0 -g0 -m0755 -d "${myhome}/$(get_libdir)" + fi + + if [ ! -e "${myhome}/lib" ]; then + einfo "Creating ${myhome}/lib" + ln -snf $(get_libdir) "${myhome}/lib" + fi + + if [ ! -d "${myhome}/usr/$(get_libdir)" ]; then + einfo "Creating ${myhome}/usr/$(get_libdir)" + install -o0 -g0 -m0755 -d "${myhome}/usr/$(get_libdir)" + fi + + if [ ! -e "${myhome}/usr/lib" ]; then + einfo "Creating ${myhome}/usr/lib" + ln -snf $(get_libdir) "${myhome}/usr/lib" + fi + + if [ ! -d "${myhome}${mysubdir}" ]; then + einfo "Creating ${myhome}${mysubdir} directory for uploading files" + install -o${myuser} -g${myuser} -m0755 -d "${myhome}${mysubdir}" + fi + + # create /dev/null (Bug 135505) + if [ ! -e "${myhome}/dev/null" ]; then + install -o0 -g0 -m0755 -d "${myhome}/dev" + mknod -m0777 "${myhome}/dev/null" c 1 3 + fi + + # install binaries + for BIN in ${BINARIES}; do + einfo "Install ${BIN}" + install -o0 -g0 -m0755 -d "${myhome}$(dirname ${BIN})" + if [ "${BIN}" = "/usr/bin/passwd" ]; then # needs suid + install -p -o0 -g0 -m04711 "${BIN}" "${myhome}/${BIN}" + else + install -p -o0 -g0 -m0755 "${BIN}" "${myhome}/${BIN}" + fi + done + + # install libs + for LIB in ${LIB_LIST}; do + einfo "Install ${LIB}" + install -o0 -g0 -m0755 -d "${myhome}$(dirname ${LIB})" + install -p -o0 -g0 -m0755 "${LIB}" "${myhome}/${LIB}" + done + + # create ld.so.conf + einfo "Creating /etc/ld.so.conf" + for LIB in ${LIB_LIST}; do + dirname ${LIB} + done | sort -u | while read DIR; do + if ! grep 2>/dev/null -q "^${DIR}$" "${myhome}/etc/ld.so.conf"; then + echo "${DIR}" >> "${myhome}/etc/ld.so.conf" + fi + done + ldconfig -r "${myhome}" + + # update shells + einfo "Updating /etc/shells" + grep 2>/dev/null -q "^/usr/bin/scponly$" /etc/shells \ + || echo "/usr/bin/scponly" >> /etc/shells + + grep 2>/dev/null -q "^/usr/sbin/scponlyc$" /etc/shells \ + || echo "/usr/sbin/scponlyc" >> /etc/shells + + # create /etc/passwd + if [ ! -e "${myhome}/etc/passwd" ]; then + ( + echo "root:x:0:0:root:/:/bin/sh" + sed -n "s|^\(${myuser}:[^:]*:[^:]*:[^:]*:[^:]*:\).*|\1${mysubdir}:/bin/sh|p" /etc/passwd + ) > "${myhome}/etc/passwd" + fi + + # create /etc/group + if [ ! -e "${myhome}/etc/group" ]; then + ( + echo "root:x:0:" + sed -n "s|^\(${myuser}:[^:]*:[^:]*:\).*|\1|p" /etc/group + ) > "${myhome}/etc/group" + fi +} diff --git a/net-misc/zssh/Manifest b/net-misc/zssh/Manifest index 3c1aa9750f83..951c1055e9ad 100644 --- a/net-misc/zssh/Manifest +++ b/net-misc/zssh/Manifest @@ -1,4 +1,5 @@ AUX zssh-1.5a-gentoo-include.diff 320 BLAKE2B b5ba88091ba1804f22f735ef3d2229a70f24bdddb11a02c128d2c31cccf44a79b532e2455b4f03fc5e273889716e293c3dac2c7a33cf838b8350eed68e752f1d SHA512 447a1aeb095907473ef18a6b2bc6a1a4bfc9baf7ed532382a636ea044667c2f7cbd86c8d0e20ffea7c9751cb9c50249d3085bf65aee7ab7fab5362aae27d8ba5 +AUX zssh-1.5c-C23.patch 4594 BLAKE2B 0e7df641be495e0bdde0ef0183cd58793f3329140ea1358386b939e980d6b7db1ffed854ded98a560230de89c9ae9267d6eda013febb45c99eff5846bfa27c14 SHA512 9773f929c789395d88504aaa95405e74d6a1838add709928ad6dcef1d58006ed19610c4c950448063ed5a5a6e7151c79d197e9038d7433b994efc7781c64734c DIST zssh-1.5c.tgz 344964 BLAKE2B 35b41125ec7a49cae741666516b17e3f0b22b159d0fc2b490565e8eaef366bb4b418895ad028822647a4b946577b2ef9dc588e9dbfe657ce7c1c8300207ca603 SHA512 799ce3bbea5e94a800f61e6c38879746a579992396304861b7584b6bad967214b811b6bf9aecb36d9d60a15857377cb2fee80b495ad69778903fc45593efeebd -EBUILD zssh-1.5c-r2.ebuild 893 BLAKE2B 79106345a84cea18a7c5f87b3975aabe49e80ccb386f1f41bd20808b5bb6b8733a2339368d8ecf213c83d5ca850b9f96dda95071cb8b71ddaaa4d3bd39dcaeb8 SHA512 ccc0dea66e438897e581a24a535a7ef3c05d0f6d638937db9a6df71170a24c28f42522cb9e7526104b43b9d463059b04a8e630546a9fd0d53367521b82fc88d4 +EBUILD zssh-1.5c-r3.ebuild 924 BLAKE2B 615c181f751fa570f102d63611bcc05909653d8a003f00353f306fd4ca06f1ca649a988367eddc3321150c648590a1b61d66a0cb06d694d4b3dbcf759b26a994 SHA512 22b34b59c4bbff448712004e9a956ef4f05d2b2c13e0b87d5aa7fbaf49adc957bbd11119660ac15fd6808b7bb69f34a5a5c24aaf747bb3edab84ba9e31e83c13 MISC metadata.xml 242 BLAKE2B 0219a28d20cce3e716b2e6737277182560a5b292d94b89a3b57385d14393ab6b28a6aac667aac11ff744c6be8042a411c6aef63b2fddf60c40024d6a35e0f2ab SHA512 1214868537bf0006e32453e2962570693e6e18474c468ebe7bc00bf9fb2e6c60775644ebf02471af8fa8e326332ca51f05a2d47b04f7fdbe1d0ad63400b74211 diff --git a/net-misc/zssh/files/zssh-1.5c-C23.patch b/net-misc/zssh/files/zssh-1.5c-C23.patch new file mode 100644 index 000000000000..50fa9ec176d0 --- /dev/null +++ b/net-misc/zssh/files/zssh-1.5c-C23.patch @@ -0,0 +1,178 @@ +Fix compilation errors with GCC-14 and C23 +https://bugs.gentoo.org/875242 +https://bugs.gentoo.org/898974 +and also fold linking with ncurces[tinfo] from sed to configure.ac +https://bugs.gentoo.org/527036 +diff -ru a/configure.in b/configure.in +--- a/configure.in 2025-01-08 21:48:25.202798412 +0400 ++++ b/configure.in 2025-01-08 21:50:36.184060767 +0400 +@@ -5,7 +5,7 @@ + EXTRA_DEPS="" + EXTRA_LIBS="" + EXTRA_CFLAGS="" +-TERMCAP_LIB="" ++TINFO_LIB="" + + dnl Check configure arguments + AC_MSG_CHECKING(whether to use libreadline for cmd-line editing) +@@ -65,8 +65,8 @@ + if test -z "$fakereadline"; then + + dnl libtermcap (or (n)curses) is only needed by libreadline +- BASH_CHECK_LIB_TERMCAP +- LIBS="$LIBS $TERMCAP_LIB" ++ BASH_CHECK_LIB_TINFO ++ LIBS="$LIBS $TINFO_LIB" + + dnl check for readline headers + AC_CHECK_HEADERS(readline/readline.h readline/history.h, , +@@ -127,7 +127,7 @@ + AC_SUBST(EXTRA_DEPS) + AC_SUBST(EXTRA_CFLAGS) + AC_SUBST(EXTRA_LIBS) +-AC_SUBST(TERMCAP_LIB) ++AC_SUBST(TINFO_LIB) + + AC_OUTPUT(Makefile fake_readline/Makefile test/Makefile) + +diff -ru a/completion.c b/completion.c +--- a/completion.c 2025-01-08 21:55:33.535386179 +0400 ++++ b/completion.c 2025-01-08 21:59:46.899959311 +0400 +@@ -41,7 +41,8 @@ + /* Tell the GNU Readline library how to complete. We want to try to complete + on command names if this is the first word in the line, or on filenames + if not. */ +-void initialize_readline() ++void ++initialize_readline (void) + { + #ifdef DEBUG + printf("Using readline library version: %s\n", rl_library_version); +@@ -53,7 +54,7 @@ + so that if zssh_completion() fails nothing is completed */ + rl_completion_entry_function = fake_generator; + /* Tell the completer that we want a crack first. */ +- rl_attempted_completion_function = (CPPFunction *) zssh_completion; ++ rl_attempted_completion_function = zssh_completion; + + } + +@@ -62,10 +63,8 @@ + the word to complete. We can use the entire contents of rl_line_buffer + in case we want to do some simple parsing. Return the array of matches, + or NULL if there aren't any. */ +-char **zssh_completion(text, start, end) +-char *text; +-int start; +-int end; ++char ** ++zssh_completion (const char *text, int start, int end) + { + char **matches; + +@@ -89,9 +88,8 @@ + /* Generator function for command completion. STATE lets us know whether + to start from scratch; without any state (i.e. STATE == 0), then we + start at the top of the list. */ +-char *command_generator(text, state) +-const char *text; +-int state; ++char * ++command_generator (const char *text, int state) + { + static int list_index, len; + char *name; +@@ -123,9 +121,8 @@ + to start from scratch; without any state (i.e. STATE == 0), then we + start at the top of the list. */ + #if 0 +-char *tilde_generator(text, state) +-char *text; +-int state; ++char * ++tilde_generator (char *text, int state) + { + struct passwd *pwd; + static int len; +@@ -154,9 +151,8 @@ + } + #endif /* 0 */ + +-char *fake_generator(text, state) +-const char *text; +-int state; ++char * ++fake_generator (const char *text, int state) + { + return (0); + } +diff -ru a/fun.h b/fun.h +--- a/fun.h 2025-01-08 21:55:33.531386202 +0400 ++++ b/fun.h 2025-01-08 22:00:12.795813473 +0400 +@@ -1,7 +1,7 @@ + + /* completion.c */ + void initialize_readline(void); +-char **zssh_completion(char *text, int start, int end); ++char **zssh_completion(const char *text, int start, int end); + char *command_generator(const char *text, int state); + char *tilde_generator(char *text, int state); + char *fake_generator(const char *text, int state); +diff -ru a/init.c b/init.c +--- a/init.c 2025-01-08 21:55:33.535386179 +0400 ++++ b/init.c 2025-01-08 21:58:35.526361264 +0400 +@@ -90,7 +90,8 @@ + exit (0); + } + +-void usage() ++void ++usage (void) + { + printf("\ + Usage: zssh [zssh options] [--] [ssh options]\n\ +@@ -143,7 +144,8 @@ + * ^@ -> C-Space + * ^X -> C-x + */ +-char *escape_help() ++char * ++escape_help (void) + { + static char str[40]; + +@@ -154,9 +156,8 @@ + return (str); + } + +-void command_line_options(argc,argv) +-int *argc; +-char ***argv; ++void ++command_line_options (int *argc, char ***argv) + { + int ac = *argc; + char **av = *argv; +@@ -213,9 +214,8 @@ + } + + +-void init(argc,argv) +-int *argc; +-char ***argv; ++void ++init (int *argc, char ***argv) + { + char *str; + +diff -ru a/zssh.h b/zssh.h +--- a/zssh.h 2025-01-08 21:55:33.535386179 +0400 ++++ b/zssh.h 2025-01-08 21:57:02.938882687 +0400 +@@ -45,6 +45,7 @@ + #include + #include + #include ++#include + + /*#include alpha */ + diff --git a/net-misc/zssh/zssh-1.5c-r2.ebuild b/net-misc/zssh/zssh-1.5c-r2.ebuild deleted file mode 100644 index 3d3cfc636134..000000000000 --- a/net-misc/zssh/zssh-1.5c-r2.ebuild +++ /dev/null @@ -1,45 +0,0 @@ -# Copyright 1999-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit toolchain-funcs - -DESCRIPTION="SSH wrapper enabling zmodem up/download in ssh" -HOMEPAGE="https://zssh.sourceforge.net/" -SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tgz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ~ppc sparc x86" -IUSE="nls readline" - -DEPEND="readline? ( - sys-libs/ncurses:0 - sys-libs/readline:0 - )" -RDEPEND="${DEPEND} - net-dialup/lrzsz - virtual/openssh" - -src_prepare() { - eapply "${FILESDIR}/${PN}-1.5a-gentoo-include.diff" - - # Fix linking with sys-libs/ncurses[tinfo], bug #527036 - sed -i -e 's/-ltermcap/-ltinfo/g' configure || die - - eapply_user -} - -src_configure() { - tc-export AR CC RANLIB - econf \ - $(use_enable nls) \ - $(use_enable readline) -} - -src_install() { - dobin ${PN} ztelnet - doman ${PN}.1 ztelnet.1 - dodoc CHANGES FAQ README TODO -} diff --git a/net-misc/zssh/zssh-1.5c-r3.ebuild b/net-misc/zssh/zssh-1.5c-r3.ebuild new file mode 100644 index 000000000000..c675342be7fd --- /dev/null +++ b/net-misc/zssh/zssh-1.5c-r3.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs autotools + +DESCRIPTION="SSH wrapper enabling zmodem up/download in ssh" +HOMEPAGE="https://zssh.sourceforge.net/" +SRC_URI="https://downloads.sourceforge.net/${PN}/${P}.tgz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~sparc ~x86" +IUSE="nls readline" + +DEPEND=" + readline? ( + sys-libs/ncurses:= + sys-libs/readline:= + ) +" +RDEPEND=" + ${DEPEND} + net-dialup/lrzsz[nls?] + virtual/openssh +" + +PATCHES=( + "${FILESDIR}/${PN}-1.5a-gentoo-include.diff" + "${FILESDIR}/${P}-C23.patch" +) + +src_prepare() { + default + + eautoreconf +} + +src_configure() { + tc-export AR CC RANLIB + #actually, nls isn't supported in this software, but in bundled lrzsz + econf \ + $(use_enable nls) \ + $(use_enable readline) +} + +src_install() { + dobin ${PN} ztelnet + doman ${PN}.1 ztelnet.1 + dodoc CHANGES FAQ README TODO +} -- cgit v1.2.3