diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-20 12:12:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-20 12:12:03 +0100 |
commit | d60aa36cd97fb2193f756b45820d7c073a49229d (patch) | |
tree | b5ae46dda53baf2afda4cd6b637f36cd3ac809e2 /net-misc/inetutils | |
parent | fe0961fc9674dd24a017f474a34c1edbbd005965 (diff) |
gentoo auto-resync : 20:09:2024 - 12:12:03
Diffstat (limited to 'net-misc/inetutils')
-rw-r--r-- | net-misc/inetutils/Manifest | 2 | ||||
-rw-r--r-- | net-misc/inetutils/inetutils-2.5-r7.ebuild (renamed from net-misc/inetutils/inetutils-2.5-r5.ebuild) | 40 |
2 files changed, 34 insertions, 8 deletions
diff --git a/net-misc/inetutils/Manifest b/net-misc/inetutils/Manifest index 214791cc8852..8f17d6d7c876 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-r5.ebuild 3167 BLAKE2B e3d609e7b542e782f07532dd31eecd40b9e00e1deafcd3b3ead812d36cc2fb9e96c9bbc310036fdd5cf7d436fdf8534223972a7f20ba856d902cc2f4e0b3fdcf SHA512 b75fc209e3cd0154d9fba223d84c61a590341340496e00320bfd71efedae11bd50ab2e5cb2d3d20b938983efc5471684beb2f0a860914f7e6e5f93adcde31167 +EBUILD inetutils-2.5-r7.ebuild 3657 BLAKE2B a494e68ebad7c39e2ed1725cdec6c9490f08242f8ee06b0f68953a837979947db93a96335a29757eefbbdd9a262bb7cf6c78c6d3bf131d84ec136abdd84afdd5 SHA512 6a153ec10d390e36a26c9ce7bf1f300930bd6ec75343d44a3e04f3920eab2b1667cd57b808f190a25ab911213c2865a89e693eb661853f075e8219e6fd221d51 MISC metadata.xml 1421 BLAKE2B 71e33b4a980f4a4c3819cecfe8a2421970b4d0120cd06c515553b629ba55151a4d8e4be437adbfae147f62ba35cf548ad8861871709242eea1582855c4250d49 SHA512 55906bb8ca4dbb54d2cfe7253e10c977d3a8b8fd46d10be3ad36d78a60d9ebc7be31e0b5169f0f5eac5dab1b375605d3c4276091599fe6784c6ed01d43246e48 diff --git a/net-misc/inetutils/inetutils-2.5-r5.ebuild b/net-misc/inetutils/inetutils-2.5-r7.ebuild index c42a36ef11c6..c49d4a0d8a55 100644 --- a/net-misc/inetutils/inetutils-2.5-r5.ebuild +++ b/net-misc/inetutils/inetutils-2.5-r7.ebuild @@ -40,6 +40,7 @@ RDEPEND="${DEPEND} rlogin? ( !net-misc/netkit-rsh ) rsh? ( !net-misc/netkit-rsh ) logger? ( !sys-apps/util-linux[logger(+)] ) + syslogd? ( !app-admin/sysklogd ) telnet? ( !net-misc/telnet-bsd !net-misc/netkit-telnetd ) telnetd? ( !net-misc/telnet-bsd !net-misc/netkit-telnetd ) tftp? ( !net-ftp/tftp-hpa ) @@ -98,7 +99,9 @@ create_init() { EOF } -create_socket() { +create_socket_stream() { + use "$1" || return + systemd_newunit - "$1.socket" <<-EOF [Socket] ListenStream=$2 @@ -119,6 +122,26 @@ create_socket() { 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" + KillMode=process + StandardInput=socket + StandardError=journal + EOF +} + src_install() { default iu_pamd rexecd rexec @@ -134,10 +157,13 @@ src_install() { 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 + 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 tftpd 69 + create_socket_datagram talkd 518 } |