From fe0961fc9674dd24a017f474a34c1edbbd005965 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 19 Sep 2024 12:11:50 +0100 Subject: gentoo auto-resync : 19:09:2024 - 12:11:50 --- net-misc/inetutils/Manifest | 2 +- net-misc/inetutils/inetutils-2.5-r4.ebuild | 141 ---------------------------- net-misc/inetutils/inetutils-2.5-r5.ebuild | 143 +++++++++++++++++++++++++++++ 3 files changed, 144 insertions(+), 142 deletions(-) delete mode 100644 net-misc/inetutils/inetutils-2.5-r4.ebuild create mode 100644 net-misc/inetutils/inetutils-2.5-r5.ebuild (limited to 'net-misc/inetutils') diff --git a/net-misc/inetutils/Manifest b/net-misc/inetutils/Manifest index 7dbbe821881f..214791cc8852 100644 --- a/net-misc/inetutils/Manifest +++ b/net-misc/inetutils/Manifest @@ -1,3 +1,3 @@ DIST inetutils-2.5.tar.xz 1670424 BLAKE2B 80ab4f4287328ceb75c33b8794ec21209ea95206a205ea60fbd8f1d7e7fa01eec228ea50d61c8bb37a88cd3144b58ecfecd0af440ba85d43d5ea19565d88a6d4 SHA512 dc11ad6eeb5ea2c85edddbfc77630b5b09e4e1ac643629edf13b0ac0828c13cdb0885275153c072ae13a798427c96bc461037822ad646f7210369192c35bb04c -EBUILD inetutils-2.5-r4.ebuild 3158 BLAKE2B de42b87b1e85c0e03f7483e40617f9170f73d2bddbb8e471c8339eb75ad5b4026d5ab5c44b01fb6502a7467f92bbf262c9d048af5b2ba6ba6719eeb4871e878f SHA512 7649fc6ab974b3d0784ff6ecae45729d8db37ca10b0eb8489e728372a7c294acc112aac4966ea6ac483ef4635458f9ae3eee5d2e81d0ae4ef1ed24039482b215 +EBUILD inetutils-2.5-r5.ebuild 3167 BLAKE2B e3d609e7b542e782f07532dd31eecd40b9e00e1deafcd3b3ead812d36cc2fb9e96c9bbc310036fdd5cf7d436fdf8534223972a7f20ba856d902cc2f4e0b3fdcf SHA512 b75fc209e3cd0154d9fba223d84c61a590341340496e00320bfd71efedae11bd50ab2e5cb2d3d20b938983efc5471684beb2f0a860914f7e6e5f93adcde31167 MISC metadata.xml 1421 BLAKE2B 71e33b4a980f4a4c3819cecfe8a2421970b4d0120cd06c515553b629ba55151a4d8e4be437adbfae147f62ba35cf548ad8861871709242eea1582855c4250d49 SHA512 55906bb8ca4dbb54d2cfe7253e10c977d3a8b8fd46d10be3ad36d78a60d9ebc7be31e0b5169f0f5eac5dab1b375605d3c4276091599fe6784c6ed01d43246e48 diff --git a/net-misc/inetutils/inetutils-2.5-r4.ebuild b/net-misc/inetutils/inetutils-2.5-r4.ebuild deleted file mode 100644 index 8604c35cfe10..000000000000 --- a/net-misc/inetutils/inetutils-2.5-r4.ebuild +++ /dev/null @@ -1,141 +0,0 @@ -# Copyright 2021-2024 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit pam systemd - -DESCRIPTION="Collection of common network programs" -HOMEPAGE="https://www.gnu.org/software/inetutils/" -SRC_URI="mirror://gnu/${PN}/${P}.tar.xz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64" - -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 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?] ) - ftp? ( !net-ftp/ftp ) - dnsdomainname? ( !sys-apps/net-tools ) - hostname? ( !sys-apps/coreutils[hostname(-)] !sys-apps/net-tools[hostname(+)] ) - inetd? ( !sys-apps/netkit-base ) - ping? ( !net-misc/iputils ) - ping6? ( !net-misc/iputils[ipv6(+)] ) - rcp? ( !net-misc/netkit-rsh ) - rexec? ( !net-misc/netkit-rsh ) - rlogin? ( !net-misc/netkit-rsh ) - rsh? ( !net-misc/netkit-rsh ) - logger? ( !sys-apps/util-linux[logger(+)] ) - telnet? ( !net-misc/telnet-bsd !net-misc/netkit-telnetd ) - telnetd? ( !net-misc/telnet-bsd !net-misc/netkit-telnetd ) - tftp? ( !net-ftp/tftp-hpa ) - whois? ( !net-misc/whois ) - ifconfig? ( !sys-apps/net-tools ) - traceroute? ( !net-analyzer/traceroute ) -" - -QA_CONFIG_IMPL_DECL_SKIP=( MIN static_assert alignof unreachable ) - -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() { - systemd_newunit - "$1.socket" <<-EOF - [Socket] - ListenStream=$2 - Accept=yes - - [Install] - WantedBy=sockets.target - EOF - - systemd_newunit - "$1@.service" <<-EOF - [Service] - CollectMode=inactive-or-failed - 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 ftpd 21 - create_socket rexecd 512 - create_socket rlogind 513 - create_socket rshd 514 - create_socket telnetd 23 - create_socket uucpd 540 -} diff --git a/net-misc/inetutils/inetutils-2.5-r5.ebuild b/net-misc/inetutils/inetutils-2.5-r5.ebuild new file mode 100644 index 000000000000..c42a36ef11c6 --- /dev/null +++ b/net-misc/inetutils/inetutils-2.5-r5.ebuild @@ -0,0 +1,143 @@ +# Copyright 2021-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit pam systemd + +DESCRIPTION="Collection of common network programs" +HOMEPAGE="https://www.gnu.org/software/inetutils/" +SRC_URI="mirror://gnu/${PN}/${P}.tar.xz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64" + +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 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?] ) + ftp? ( !net-ftp/ftp ) + dnsdomainname? ( !sys-apps/net-tools ) + hostname? ( !sys-apps/coreutils[hostname(-)] !sys-apps/net-tools[hostname(+)] ) + inetd? ( !sys-apps/netkit-base ) + ping? ( !net-misc/iputils ) + ping6? ( !net-misc/iputils[ipv6(+)] ) + rcp? ( !net-misc/netkit-rsh ) + rexec? ( !net-misc/netkit-rsh ) + rlogin? ( !net-misc/netkit-rsh ) + rsh? ( !net-misc/netkit-rsh ) + logger? ( !sys-apps/util-linux[logger(+)] ) + telnet? ( !net-misc/telnet-bsd !net-misc/netkit-telnetd ) + telnetd? ( !net-misc/telnet-bsd !net-misc/netkit-telnetd ) + tftp? ( !net-ftp/tftp-hpa ) + whois? ( !net-misc/whois ) + ifconfig? ( !sys-apps/net-tools ) + traceroute? ( !net-analyzer/traceroute ) +" + +QA_CONFIG_IMPL_DECL_SKIP=( MIN static_assert alignof unreachable ) + +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() { + 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 +} + +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 ftpd 21 + create_socket rexecd 512 + create_socket rlogind 513 + create_socket rshd 514 + create_socket telnetd 23 + create_socket uucpd 540 +} -- cgit v1.2.3