From d628c1f8493d09e3deb5d19971cd21691d8758e4 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 1 Mar 2025 19:28:40 +0000 Subject: gentoo auto-resync : 01:03:2025 - 19:28:40 --- net-ftp/tftp-hpa/Manifest | 2 +- net-ftp/tftp-hpa/tftp-hpa-5.2-r3.ebuild | 80 ------------------------------- net-ftp/tftp-hpa/tftp-hpa-5.2-r4.ebuild | 84 +++++++++++++++++++++++++++++++++ 3 files changed, 85 insertions(+), 81 deletions(-) delete mode 100644 net-ftp/tftp-hpa/tftp-hpa-5.2-r3.ebuild create mode 100644 net-ftp/tftp-hpa/tftp-hpa-5.2-r4.ebuild (limited to 'net-ftp/tftp-hpa') diff --git a/net-ftp/tftp-hpa/Manifest b/net-ftp/tftp-hpa/Manifest index cbb0199da39b..4e917cf490b3 100644 --- a/net-ftp/tftp-hpa/Manifest +++ b/net-ftp/tftp-hpa/Manifest @@ -5,5 +5,5 @@ AUX tftp.service 119 BLAKE2B a2d50dba1103fb7c868e070331c8a2000e65364801abc85d969 AUX tftp.socket 112 BLAKE2B 11e8c6e77819ba772b709843af11449e768db16fe866dc67e4209e83e7d6d273583b2cd9104ba611e3acca0018d915f4313860039a3b0003e556f49f82917ef1 SHA512 d49cdbb7e265aa98d989f8ae96e2c80bfd5887ae0efc6bfcd726d5fa4d83ffc480f5f374e30b8564b05d9690eb2a0c0ed0077982a74946edfbce5d19066d0564 AUX tftp.xinetd 219 BLAKE2B d348f13fdfa749b10ec765d5cd90a65a46d266a132dde47dad00fbd1ef4046c250cd9246e7b1fe9590e974a2bc7fcc817535fd2e9447a10c5286f7c4148eec93 SHA512 26883a4feffe8f66fe2c21c05892beeb93fa4511ca5ce18e92273badd4b93afefb0d9cef48e07503037ca37b2ff0cdb24d35e5c24d2e32d8027a5e74c49426f5 DIST tftp-hpa-5.2.tar.xz 89564 BLAKE2B 45917ca3d710f8a4b584dbe1e9a912e06fd181e4ffcfd8fba13008f08dbbce0fe339b61fb6f97236b8012e755025d05700214e365adac81dfce42b0edd636e80 SHA512 a5198e923a6e58281f749dc77b3f3ed8579e56b6f0fd6a17482cc88bdc8d34b6702c7c709717885b9b937ecae459d9a832328a49a2e3536dc7432cdb39d2a394 -EBUILD tftp-hpa-5.2-r3.ebuild 1610 BLAKE2B 3ab990952af355df29f6967ecb8dd7ea10b2d8156b4920d543f64a3793b93922d1db8688470c743caafb96d5419f061e21ae4315f1269c03244442c624ac1563 SHA512 5210afc0616524f30478590154b7d763c73e8eb1ca250e57d47deba7d41524a16583958a0376e56c7b0d3d7d5ce37b50923a497b90da94c2b9bb4f3091959d66 +EBUILD tftp-hpa-5.2-r4.ebuild 1687 BLAKE2B bfc1082e492aac22003d430170ab1a7a0c8bd4797cf43aacc52e50e497de0ef8f62524add87049edf114d7c20dc4d2db4a3f977dd62e38a1fad9573bf4b0bac6 SHA512 75900c9a8bef1b8ed0c27c8e9e90990cc9673243bf80ab2ab4a3e8fb8a9fa5f9a7225ba589fd7709dfd0cd30440c3bdd6da6889e1b1853bbf9b82d58b4cc1cfc MISC metadata.xml 395 BLAKE2B c333bf023404a04db911766366b8cae6b4e8390c8dbbdd5339b1a92291208ba6e8b01ce8f44d5f709fe3fd625368ad5077b8563e694ebb9e24d96047e9219150 SHA512 66038f6011f947ab9c23c8601e24a3caeb6055708e2b99b32d2dbb04ecc5bfc2e7b2446fd1010e94e83e92995ff155528f8c240eb38604d3bd11434f05bcc6b3 diff --git a/net-ftp/tftp-hpa/tftp-hpa-5.2-r3.ebuild b/net-ftp/tftp-hpa/tftp-hpa-5.2-r3.ebuild deleted file mode 100644 index 0ecf65b9f793..000000000000 --- a/net-ftp/tftp-hpa/tftp-hpa-5.2-r3.ebuild +++ /dev/null @@ -1,80 +0,0 @@ -# Copyright 1999-2022 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="7" - -inherit systemd toolchain-funcs - -DESCRIPTION="Port of the OpenBSD TFTP server" -HOMEPAGE="https://www.kernel.org/pub/software/network/tftp/" -SRC_URI="https://www.kernel.org/pub/software/network/tftp/${PN}/${P}.tar.xz" - -LICENSE="BSD-4" -SLOT="0" -KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~s390 sparc x86 ~ppc-macos" -IUSE="ipv6 readline selinux tcpd +client +server" - -DEPEND=" - readline? ( sys-libs/readline:0= ) - tcpd? ( sys-apps/tcp-wrappers ) -" - -RDEPEND="${DEPEND} - selinux? ( sec-policy/selinux-tftp ) - !net-ftp/atftp - server? ( - !net-misc/iputils[tftpd(-)] - !net-ftp/uftpd - ) -" - -PATCHES=( - "${FILESDIR}"/tftp-hpa-5.2-gcc-10.patch -) - -src_prepare() { - default - sed -i "/^AR/s:ar:$(tc-getAR):" MCONFIG.in || die -} - -src_configure() { - local myconf=( - ac_cv_search_bsd_signal=no - $(use_with ipv6) - $(use_with tcpd tcpwrappers) - $(use_with readline) - ) - econf "${myconf[@]}" -} - -src_compile() { - emake version.h - emake -C lib - emake -C common - if use client; then - emake -C tftp - fi - if use server; then - emake -C tftpd - fi -} - -src_install() { - dodoc README* CHANGES tftpd/sample.rules - - if use client; then - emake INSTALLROOT="${D}" -C tftp install - fi - if use server; then - emake INSTALLROOT="${D}" -C tftpd install - - newconfd "${FILESDIR}"/in.tftpd.confd-0.44 in.tftpd - newinitd "${FILESDIR}"/in.tftpd.rc6 in.tftpd - - systemd_dounit "${FILESDIR}"/tftp.service - systemd_dounit "${FILESDIR}"/tftp.socket - - insinto /etc/xinetd.d - newins "${FILESDIR}"/tftp.xinetd tftp - fi -} diff --git a/net-ftp/tftp-hpa/tftp-hpa-5.2-r4.ebuild b/net-ftp/tftp-hpa/tftp-hpa-5.2-r4.ebuild new file mode 100644 index 000000000000..e672befd63f7 --- /dev/null +++ b/net-ftp/tftp-hpa/tftp-hpa-5.2-r4.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +inherit systemd toolchain-funcs + +DESCRIPTION="Port of the OpenBSD TFTP server" +HOMEPAGE="https://www.kernel.org/pub/software/network/tftp/" +SRC_URI="https://www.kernel.org/pub/software/network/tftp/${PN}/${P}.tar.xz" + +LICENSE="BSD-4" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~hppa ~mips ppc ppc64 ~s390 sparc x86 ~ppc-macos" +IUSE="ipv6 readline selinux tcpd +client +server" + +DEPEND=" + readline? ( sys-libs/readline:0= ) + tcpd? ( sys-apps/tcp-wrappers ) +" + +RDEPEND="${DEPEND} + selinux? ( sec-policy/selinux-tftp ) + !net-ftp/atftp + client? ( + !net-misc/inetutils[tftp(+)] + ) + server? ( + !net-misc/inetutils[tftpd(+)] + !net-misc/iputils[tftpd(-)] + !net-ftp/uftpd + ) +" + +PATCHES=( + "${FILESDIR}"/tftp-hpa-5.2-gcc-10.patch +) + +src_prepare() { + default + sed -i "/^AR/s:ar:$(tc-getAR):" MCONFIG.in || die +} + +src_configure() { + local myconf=( + ac_cv_search_bsd_signal=no + $(use_with ipv6) + $(use_with tcpd tcpwrappers) + $(use_with readline) + ) + econf "${myconf[@]}" +} + +src_compile() { + emake version.h + emake -C lib + emake -C common + if use client; then + emake -C tftp + fi + if use server; then + emake -C tftpd + fi +} + +src_install() { + dodoc README* CHANGES tftpd/sample.rules + + if use client; then + emake INSTALLROOT="${D}" -C tftp install + fi + if use server; then + emake INSTALLROOT="${D}" -C tftpd install + + newconfd "${FILESDIR}"/in.tftpd.confd-0.44 in.tftpd + newinitd "${FILESDIR}"/in.tftpd.rc6 in.tftpd + + systemd_dounit "${FILESDIR}"/tftp.service + systemd_dounit "${FILESDIR}"/tftp.socket + + insinto /etc/xinetd.d + newins "${FILESDIR}"/tftp.xinetd tftp + fi +} -- cgit v1.2.3