diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2009-11-14 17:08:18 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2009-11-14 17:08:18 +0000 |
commit | d6576066e0792230699a416de5c501c853691d67 (patch) | |
tree | 7fe3af4192fff417c2eb981aa405e5254068d7a3 /net-misc | |
parent | Automated update of use.local.desc (diff) | |
download | gentoo-2-d6576066e0792230699a416de5c501c853691d67.tar.gz gentoo-2-d6576066e0792230699a416de5c501c853691d67.tar.bz2 gentoo-2-d6576066e0792230699a416de5c501c853691d67.zip |
Drop package masked for removal.
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/rarpd/ChangeLog | 58 | ||||
-rw-r--r-- | net-misc/rarpd/Manifest | 13 | ||||
-rw-r--r-- | net-misc/rarpd/files/1.1-daemon.patch | 29 | ||||
-rw-r--r-- | net-misc/rarpd/files/1.1-libnet-1.0.patch | 60 | ||||
-rw-r--r-- | net-misc/rarpd/files/rarpd-1.1-daemon.patch | 29 | ||||
-rw-r--r-- | net-misc/rarpd/files/rarpd-1.1-fix-packet-growth-bug246891.diff | 15 | ||||
-rw-r--r-- | net-misc/rarpd/files/rarpd-1.1-libnet.diff | 155 | ||||
-rw-r--r-- | net-misc/rarpd/files/rarpd-1.1-printf.diff | 13 | ||||
-rw-r--r-- | net-misc/rarpd/files/rarpd.conf.d | 8 | ||||
-rw-r--r-- | net-misc/rarpd/files/rarpd.init.d | 32 | ||||
-rw-r--r-- | net-misc/rarpd/metadata.xml | 9 | ||||
-rw-r--r-- | net-misc/rarpd/rarpd-1.1-r2.ebuild | 34 | ||||
-rw-r--r-- | net-misc/rarpd/rarpd-1.1-r3.ebuild | 36 |
13 files changed, 0 insertions, 491 deletions
diff --git a/net-misc/rarpd/ChangeLog b/net-misc/rarpd/ChangeLog deleted file mode 100644 index 9d855c2d195c..000000000000 --- a/net-misc/rarpd/ChangeLog +++ /dev/null @@ -1,58 +0,0 @@ -# ChangeLog for net-misc/rarpd -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/rarpd/ChangeLog,v 1.18 2008/02/05 11:12:47 corsair Exp $ - - 05 Feb 2008; Markus Rothe <corsair@gentoo.org> rarpd-1.1-r3.ebuild: - Stable on ppc64 - - 24 Jan 2008; Raúl Porcel <armin76@gentoo.org> rarpd-1.1-r3.ebuild: - sparc/x86 stable - - 28 Oct 2007; Mike Frysinger <vapier@gentoo.org> rarpd-1.1-r3.ebuild: - Block net-misc/iputils #197110 by kouyu. - -*rarpd-1.1-r3 (05 May 2007) - - 05 May 2007; Mike Frysinger <vapier@gentoo.org> - +files/rarpd-1.1-daemon.patch, - +files/rarpd-1.1-fix-packet-growth-bug246891.diff, - +files/rarpd-1.1-libnet.diff, +files/rarpd-1.1-printf.diff, - +rarpd-1.1-r3.ebuild: - Grab a bunch of fixes from SuSE #176558. - - 26 Nov 2006; Markus Rothe <corsair@gentoo.org> rarpd-1.1-r2.ebuild: - Stable on ppc64 - - 13 Oct 2006; Markus Rothe <corsair@gentoo.org> rarpd-1.1-r2.ebuild: - Added ~ppc64 - - 20 Feb 2006; Markus Ullmann <jokey@gentoo.org> +metadata.xml, - rarpd-1.1-r2.ebuild: - Removing virtual/libpcap wrt bug #117898 - - 01 Feb 2006; Patrick McLean <chutzpah@gentoo.org> rarpd-1.1-r2.ebuild: - Added ~amd64 keyword. - - 25 Jul 2005; Rene Nussbaumer <killerfox@gentoo.org> rarpd-1.1-r2.ebuild: - Added to ~hppa. - - 30 Jan 2005; Daniel Black <dragonheart@gentoo.org> rarpd-1.1-r2.ebuild: - Transition dependancy from net-libs/libpcap to virtual/libpcap - -*rarpd-1.1-r2 (03 Nov 2003) - - 03 Nov 2003; Mike Frysinger <vapier@gentoo.org> : - Add init.d scripts and a daemon patch #32540 to write a pid file. - -*rarpd-1.1-r1 (21 Aug 2003) - - 21 Aug 2003; Mike Frysinger <vapier@gentoo.org> : - Patch to compile against SLOT-ed libnet-1.0.x #17772. - -*rarpd-1.1 (28 Aug 2002) - - 03 Sep 2002; Maarten Thibaut <murphy@gentoo.org> rarpd-1.1.ebuild: Fixed libnet - dependency, needs libnet 1.0.2a for correct compilation. Added x86 and PPC keywords. - - 28 Aug 2002; Maarten Thibaut <murphy@gentoo.org> rarpd-1.1.ebuild: Initial - import. Ebuild submitted by Dean Bailey <alron@gentoo.org>, see Bug #5082. diff --git a/net-misc/rarpd/Manifest b/net-misc/rarpd/Manifest deleted file mode 100644 index e9d087af83b9..000000000000 --- a/net-misc/rarpd/Manifest +++ /dev/null @@ -1,13 +0,0 @@ -AUX 1.1-daemon.patch 678 RMD160 c955528906c71e5e4a8b0764c9b1382ad4d47402 SHA1 1dcfdcd63877a87d0496ae00cb36d14e5bdd6246 SHA256 5a4b3e6d8da71e80b5369a875b36849e269ac4b6d9dc36e644fc834a805fc32b -AUX 1.1-libnet-1.0.patch 2428 RMD160 7f643bae359676b0932bb0dc13d642c9d633181c SHA1 45d3062d72bf68b40ff5d2fc1395e9215d115230 SHA256 e482b1720b610e452edff22118a11b06b60b79b35f33ad15fc92d679f11885b2 -AUX rarpd-1.1-daemon.patch 678 RMD160 c955528906c71e5e4a8b0764c9b1382ad4d47402 SHA1 1dcfdcd63877a87d0496ae00cb36d14e5bdd6246 SHA256 5a4b3e6d8da71e80b5369a875b36849e269ac4b6d9dc36e644fc834a805fc32b -AUX rarpd-1.1-fix-packet-growth-bug246891.diff 455 RMD160 6fe4565e3358b2be2a8c433db578c3a7ef63bf67 SHA1 c0284a218846babd4925ad06200d3a23a0571de2 SHA256 93a401bfacb5418a1675fceae3a69162e9a1a1244c2a38187b2736db3515aede -AUX rarpd-1.1-libnet.diff 4375 RMD160 2735c770b52628c23bc46f9f22d87c8f0d2d700a SHA1 5a8c42b23e1ed5f9a11f43404a1c4a2260988d45 SHA256 c7665a21d3b59611f29a74bf20d3501287a2030fd49e033a334f114c3b7e0384 -AUX rarpd-1.1-printf.diff 235 RMD160 32a67577498e9a5083090214bf69324eb9c2d2b6 SHA1 35ba29b63c4e9913be8dcfb2b7e2d3534f886213 SHA256 e2267847de73c9a07c259513c5ac6904570fd8e9e794ca742cb7d307fb4914e1 -AUX rarpd.conf.d 310 RMD160 9d9f5fd0ac1a335b76598c09cf8b16aa4f8752b2 SHA1 bd9d651a7612534e10764fe8b8cc56bac5ccff39 SHA256 e335b30861a11f5644f2101a3f51df0aa26d8399fa709c52080d028927851d71 -AUX rarpd.init.d 643 RMD160 4bf617f7c2036a2050abc6dcef226e194ca6004f SHA1 23a08b08cc9ca9171736ca6fe8ab388bcd65e43f SHA256 da686ebef9f8ea4c43cd435eb7ac58d7cf88a582eeefc6065911b9b02cd217fa -DIST rarpd-1.1.tar.gz 32053 RMD160 107c38c5d349885c838a756552ff553b0f7a9390 SHA1 36c9093fc46307fe3064c6445acb854826ab1c55 SHA256 936dc37422b658a8db98cd1d4d6b9fac63e13ac3fdc036e33dde996843baeba6 -EBUILD rarpd-1.1-r2.ebuild 920 RMD160 37ac2d4101c07e39676e4e15fb0ba43a57746929 SHA1 bedd4e3311c42329e65f54ba29bec92d0c6a19df SHA256 47c05ff685cef02ba3a86e8f39edde20dac4bc73d1da51714e5ae2572b09998f -EBUILD rarpd-1.1-r3.ebuild 978 RMD160 909c4b1b708b959d74031c722797edbb1abf2a21 SHA1 00a7ea6e3519070b17bc5bb79df8aef3155ed60f SHA256 641228ac6e51ffe84ea238e55356fc52bbab9949f44f6ab4dcc4999ed401155b -MISC ChangeLog 2069 RMD160 da5c47ffe3f7d9d10242f3364d1c9437722bd54e SHA1 f3714b5e9943e90f34dcb613ab3768d7deca5830 SHA256 58cd123c272e57b7ce10362ed8996b06f07d91cd2741b37e296d872c3360c80c -MISC metadata.xml 314 RMD160 25181cde297628576a9545bea3a76601485bfaf3 SHA1 ac16b621acf5a22b64859e3323d466fb556fc4c8 SHA256 736baab77aea9c4da199c01e3cd6877c271bd02357ff9b41b537a2232c6e96d7 diff --git a/net-misc/rarpd/files/1.1-daemon.patch b/net-misc/rarpd/files/1.1-daemon.patch deleted file mode 100644 index 7a2d68b856f8..000000000000 --- a/net-misc/rarpd/files/1.1-daemon.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- rarpd.c.orig 2003-11-03 22:10:41.000304928 -0500 -+++ rarpd.c 2003-11-03 22:13:52.683164704 -0500 -@@ -429,12 +429,25 @@ - openlog(program_name, syslogflags, LOG_LOCAL1); - - if (!nofork) { -+ FILE *pidfile; - pid = fork(); -- if (pid > 0) exit(0); - if (pid < 0) { - syslog(LOG_ERR, "%s: fork failed: %s", program_name, strerror(errno)); - exit(1); - } -+ if (pid) { -+ pidfile = fopen("/var/run/rarpd.pid", "w"); -+ if (pidfile) { -+ fprintf(pidfile, "%i", pid); -+ fclose(pidfile); -+ } else -+ perror("Could not write pidfile"); -+ exit(0); -+ } -+ chdir("/"); -+ close(0); -+ close(1); -+ close(2); - } - - if (ethers == NULL) ethers = _PATH_ETHERS; diff --git a/net-misc/rarpd/files/1.1-libnet-1.0.patch b/net-misc/rarpd/files/1.1-libnet-1.0.patch deleted file mode 100644 index 45bacd669423..000000000000 --- a/net-misc/rarpd/files/1.1-libnet-1.0.patch +++ /dev/null @@ -1,60 +0,0 @@ -diff -U 0 -r rarpd-1.1.orig/aclocal.m4 rarpd-1.1/aclocal.m4 ---- rarpd-1.1.orig/aclocal.m4 2003-08-19 15:55:45.204522448 -0400 -+++ rarpd-1.1/aclocal.m4 2003-08-19 15:58:54.344768760 -0400 -@@ -278 +278 @@ --if test -f "$1/libnet-config" ; then -+if test -f "$1/libnet-1.0-config" ; then -@@ -299 +299 @@ --if test -f "$1/libnet.h" ; then -+if test -f "$1/libnet-1.0.h" ; then -@@ -321 +321 @@ --LIBS="$saved_LIBS -L$1 -lnet" -+LIBS="$saved_LIBS -L$1 -lnet-1.0" -@@ -375 +375 @@ -- if test -f "$with_libnet/libnet-config"; then -+ if test -f "$with_libnet/libnet-1.0-config"; then -@@ -413 +413 @@ -- LIBNET_CONFIG=$ac_cv_libnet_where_cfg/libnet-config -+ LIBNET_CONFIG=$ac_cv_libnet_where_cfg/libnet-1.0-config -diff -U 0 -r rarpd-1.1.orig/cmulocal/libnet.m4 rarpd-1.1/cmulocal/libnet.m4 ---- rarpd-1.1.orig/cmulocal/libnet.m4 2003-08-19 15:55:45.205522296 -0400 -+++ rarpd-1.1/cmulocal/libnet.m4 2003-08-19 15:58:54.346768456 -0400 -@@ -7 +7 @@ --if test -f "$1/libnet-config" ; then -+if test -f "$1/libnet-1.0-config" ; then -@@ -28 +28 @@ --if test -f "$1/libnet.h" ; then -+if test -f "$1/libnet-1.0.h" ; then -@@ -50 +50 @@ --LIBS="$saved_LIBS -L$1 -lnet" -+LIBS="$saved_LIBS -L$1 -lnet-1.0" -@@ -104 +104 @@ -- if test -f "$with_libnet/libnet-config"; then -+ if test -f "$with_libnet/libnet-1.0-config"; then -@@ -142 +142 @@ -- LIBNET_CONFIG=$ac_cv_libnet_where_cfg/libnet-config -+ LIBNET_CONFIG=$ac_cv_libnet_where_cfg/libnet-1.0-config -diff -U 0 -r rarpd-1.1.orig/configure rarpd-1.1/configure ---- rarpd-1.1.orig/configure 2003-08-19 15:55:45.205522296 -0400 -+++ rarpd-1.1/configure 2003-08-19 15:58:54.370764808 -0400 -@@ -1670 +1670 @@ -- if test -f "$with_libnet/libnet-config"; then -+ if test -f "$with_libnet/libnet-1.0-config"; then -@@ -1690 +1690 @@ --if test -f "$i/libnet-config" ; then -+if test -f "$i/libnet-1.0-config" ; then -@@ -1716 +1716 @@ --LIBS="$saved_LIBS -L$i -lnet" -+LIBS="$saved_LIBS -L$i -lnet-1.0" -@@ -1789 +1789 @@ --if test -f "$i/libnet.h" ; then -+if test -f "$i/libnet-1.0.h" ; then -@@ -1812 +1812 @@ -- LIBNET_CONFIG=$ac_cv_libnet_where_cfg/libnet-config -+ LIBNET_CONFIG=$ac_cv_libnet_where_cfg/libnet-1.0-config -diff -U 0 -r rarpd-1.1.orig/rarpd.c rarpd-1.1/rarpd.c ---- rarpd-1.1.orig/rarpd.c 2003-08-19 15:55:45.205522296 -0400 -+++ rarpd-1.1/rarpd.c 2003-08-19 15:58:54.374764200 -0400 -@@ -34 +34 @@ --#include <libnet.h> -+#include <libnet-1.0.h> diff --git a/net-misc/rarpd/files/rarpd-1.1-daemon.patch b/net-misc/rarpd/files/rarpd-1.1-daemon.patch deleted file mode 100644 index 7a2d68b856f8..000000000000 --- a/net-misc/rarpd/files/rarpd-1.1-daemon.patch +++ /dev/null @@ -1,29 +0,0 @@ ---- rarpd.c.orig 2003-11-03 22:10:41.000304928 -0500 -+++ rarpd.c 2003-11-03 22:13:52.683164704 -0500 -@@ -429,12 +429,25 @@ - openlog(program_name, syslogflags, LOG_LOCAL1); - - if (!nofork) { -+ FILE *pidfile; - pid = fork(); -- if (pid > 0) exit(0); - if (pid < 0) { - syslog(LOG_ERR, "%s: fork failed: %s", program_name, strerror(errno)); - exit(1); - } -+ if (pid) { -+ pidfile = fopen("/var/run/rarpd.pid", "w"); -+ if (pidfile) { -+ fprintf(pidfile, "%i", pid); -+ fclose(pidfile); -+ } else -+ perror("Could not write pidfile"); -+ exit(0); -+ } -+ chdir("/"); -+ close(0); -+ close(1); -+ close(2); - } - - if (ethers == NULL) ethers = _PATH_ETHERS; diff --git a/net-misc/rarpd/files/rarpd-1.1-fix-packet-growth-bug246891.diff b/net-misc/rarpd/files/rarpd-1.1-fix-packet-growth-bug246891.diff deleted file mode 100644 index a020a0974d2c..000000000000 --- a/net-misc/rarpd/files/rarpd-1.1-fix-packet-growth-bug246891.diff +++ /dev/null @@ -1,15 +0,0 @@ -http://bugs.gentoo.org/176558 - -ripped from suse's rarpd-1.1-631.src.rpm: -* Wed Apr 18 2007 - nadvornik@suse.cz -- fixed unlimited packet growth [#246891] - ---- rarpd.c.orig 2007-02-21 11:41:25.099136000 +0100 -+++ rarpd.c 2007-02-21 12:39:49.837404920 +0100 -@@ -307,6 +307,8 @@ void send_rarpreply(unsigned char *dest_ - syslog(LOG_ERR, "%s: Write error: %s", program_name, libnet_geterror(ld)); - exit(1); - } -+ -+ libnet_clear_packet(ld); - } diff --git a/net-misc/rarpd/files/rarpd-1.1-libnet.diff b/net-misc/rarpd/files/rarpd-1.1-libnet.diff deleted file mode 100644 index c395309b130f..000000000000 --- a/net-misc/rarpd/files/rarpd-1.1-libnet.diff +++ /dev/null @@ -1,155 +0,0 @@ -ripped from suse - ---- rarpd.c -+++ rarpd.c -@@ -65,18 +65,12 @@ - #define ETHERSTRLEN sizeof("00:00:00:00:00:00") - #define IPSTRLEN sizeof(".xxx.xxx.xxx.xxx") - --#ifdef NEW_LIBNET_INTERFACE --#define open_link_interface libnet_open_link_interface --#define link_int libnet_link_int --#define build_arp libnet_build_arp --#define get_ipaddr libnet_get_ipaddr --#define get_hwaddr libnet_get_hwaddr --#define build_ethernet libnet_build_ethernet --#define write_link_layer libnet_write_link_layer -- --/* Temporary workaround */ --#define ARP_H LIBNET_ARP_H --#endif -+struct _ipv4_arp_data_ { -+ u_char ar_sha[6]; /* sender hardware address */ -+ u_char ar_spa[4]; /* sender protocol address */ -+ u_char ar_tha[6]; /* target hardware address */ -+ u_char ar_tpa[4]; /* target protocol address */ -+}; - - extern char pcap_version[]; - extern int optind; -@@ -88,7 +82,7 @@ - static char *program_name; - - static pcap_t *pd; --static struct link_int *ln; -+static libnet_t *ld; - static char *device, *ethers; - struct in_addr my_ipaddr; - static u_char my_hwaddr[ETHERADDRLEN]; -@@ -285,23 +279,34 @@ - void send_rarpreply(unsigned char *dest_hwaddr, - unsigned char *her_hwaddr, struct in_addr *her_ipaddr) - { -- char ebuf[PCAP_ERRBUF_SIZE]; -- u_char buf[ARP_H+ETH_H]; -- -- memset(buf, 0, ARP_H + ETH_H); -- -- /* Ethernet header */ -- build_ethernet(dest_hwaddr, my_hwaddr, ETHERTYPE_REVARP, NULL, 0, buf); -+ int c; -+ libnet_ptag_t t; - - /* ARP header */ -- build_arp(ARPHRD_ETHER, ETHERTYPE_IP, -+ t = libnet_build_arp(ARPHRD_ETHER, ETHERTYPE_IP, - ETHERADDRLEN, IPADDRLEN, - ARPOP_REVREPLY, - my_hwaddr, (u_char *)&(my_ipaddr.s_addr), - her_hwaddr, (u_char *)&(her_ipaddr->s_addr), -- NULL, 0, buf + ETH_H); -+ NULL, 0, ld, 0); -+ if (t == -1) { -+ syslog(LOG_ERR, "%s: Can't build ARP header: %s", program_name, libnet_geterror(ld)); -+ exit(1); -+ } - -- write_link_layer(ln, (const u_char *)device, buf, ARP_H + ETH_H); -+ /* Ethernet header */ -+ t = libnet_build_ethernet(dest_hwaddr, my_hwaddr, ETHERTYPE_REVARP, NULL, 0, ld, 0); -+ if (t == -1) { -+ syslog(LOG_ERR, "%s: Can't build ethernet header: %s", program_name, -+ libnet_geterror(ld)); -+ exit(1); -+ } -+ -+ c = libnet_write(ld); -+ if (c == -1) { -+ syslog(LOG_ERR, "%s: Write error: %s", program_name, libnet_geterror(ld)); -+ exit(1); -+ } - } - - -@@ -314,11 +319,13 @@ - unsigned short pro, hrd, op; - struct in_addr her_ipaddr; - struct libnet_arp_hdr *ap; -+ struct _ipv4_arp_data_ *ad; - struct hostent *hp; - char *ipp; - - bp += sizeof(struct libnet_ethernet_hdr); - ap = (struct libnet_arp_hdr *)bp; -+ ad = (struct _ipv4_arp_data_ *)(bp + sizeof(*ap)); - - pro = EXTRACT_16BITS (&ap->ar_pro); - hrd = EXTRACT_16BITS (&ap->ar_hrd); -@@ -331,10 +338,10 @@ - /* We only answer RARP requests */ - if (op != ARPOP_REVREQUEST) return; - -- sha = ap->ar_sha; -- spa = ap->ar_spa; -- tha = ap->ar_tha; -- tpa = ap->ar_tpa; -+ sha = ad->ar_sha; -+ spa = ad->ar_spa; -+ tha = ad->ar_tha; -+ tpa = ad->ar_tpa; - - if (my_ether_ntohost(toret, tha)) { - if (vflag) { -@@ -399,6 +406,7 @@ - int nofork, op, pid, syslogflags; - bpf_u_int32 localnet, netmask; - char ebuf[PCAP_ERRBUF_SIZE]; -+ char errbuf[LIBNET_ERRBUF_SIZE]; - char *cmdbuf; - struct bpf_program fcode; - -@@ -446,9 +454,9 @@ - } - } - -- ln = open_link_interface(device, ebuf); -- if (ln == NULL) { -- syslog(LOG_ERR, "%s: %s", program_name, ebuf); -+ ld = libnet_init(LIBNET_LINK, device, errbuf); -+ if (ld == NULL) { -+ syslog(LOG_ERR, "%s: %s", program_name, errbuf); - exit(1); - } - -@@ -465,8 +473,8 @@ - } - - memset(&my_ipaddr, 0, sizeof(my_ipaddr)); -- my_ipaddr.s_addr = htonl(get_ipaddr(ln, device, ebuf)); -- memcpy(my_hwaddr, (char *)get_hwaddr(ln, device, ebuf), ETHERADDRLEN); -+ my_ipaddr.s_addr = libnet_get_ipaddr4(ld); -+ memcpy(my_hwaddr, (char *) libnet_get_hwaddr(ld), ETHERADDRLEN); - - setuid(getuid()); - ---- configure -+++ configure -@@ -1734,7 +1734,7 @@ - #include "confdefs.h" - - int main() { --libnet_open_link_interface("",""); -+libnet_open_link("",""); - ; return 0; } - EOF - if { (eval echo configure:1741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then diff --git a/net-misc/rarpd/files/rarpd-1.1-printf.diff b/net-misc/rarpd/files/rarpd-1.1-printf.diff deleted file mode 100644 index 76e49469e0e5..000000000000 --- a/net-misc/rarpd/files/rarpd-1.1-printf.diff +++ /dev/null @@ -1,13 +0,0 @@ -ripped from suse - ---- rarpd.c -+++ rarpd.c -@@ -238,7 +238,7 @@ - } - - fclose(f); -- if (dflag) fprintf(stderr, "Not found\n", hostname); -+ if (dflag) fprintf(stderr, "Not found: %s\n", hostname); - errno = ENOENT; - return -1; - } diff --git a/net-misc/rarpd/files/rarpd.conf.d b/net-misc/rarpd/files/rarpd.conf.d deleted file mode 100644 index 6acbe2972c51..000000000000 --- a/net-misc/rarpd/files/rarpd.conf.d +++ /dev/null @@ -1,8 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/rarpd/files/rarpd.conf.d,v 1.2 2004/07/15 00:10:49 agriffis Exp $ - -# Config file for /etc/init.d/rarpd - -# see the rarpd(8) manpage for more info -RARPD_OPTS="" diff --git a/net-misc/rarpd/files/rarpd.init.d b/net-misc/rarpd/files/rarpd.init.d deleted file mode 100644 index 4c0fb44715b3..000000000000 --- a/net-misc/rarpd/files/rarpd.init.d +++ /dev/null @@ -1,32 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/rarpd/files/rarpd.init.d,v 1.3 2004/07/15 00:10:49 agriffis Exp $ - -depend() { - need net -} - -checkconfig() { - if [ ! -f /etc/ethers ] ; then - eerror "Please create /etc/ethers with the following content:" - eerror "[MAC address] [name or IP]" - return 1 - fi - return 0 -} - -start() { - checkconfig || return 1 - - ebegin "Starting rarpd" - /usr/sbin/rarpd ${RARPD_OPTS} - eend $? -} - -stop() { - ebegin "Stopping rarpd" - kill $(</var/run/rarpd.pid) - eend $? - rm -f /var/run/rarpd.pid -} diff --git a/net-misc/rarpd/metadata.xml b/net-misc/rarpd/metadata.xml deleted file mode 100644 index b17012b02b48..000000000000 --- a/net-misc/rarpd/metadata.xml +++ /dev/null @@ -1,9 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> - <herd>no-herd</herd> - <maintainer> - <email>maintainer-needed@gentoo.org</email> - <description>This package lacks a primary herd or maintainer.</description> - </maintainer> -</pkgmetadata> diff --git a/net-misc/rarpd/rarpd-1.1-r2.ebuild b/net-misc/rarpd/rarpd-1.1-r2.ebuild deleted file mode 100644 index f7052b1ab7ca..000000000000 --- a/net-misc/rarpd/rarpd-1.1-r2.ebuild +++ /dev/null @@ -1,34 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/rarpd/rarpd-1.1-r2.ebuild,v 1.11 2006/11/26 19:49:44 corsair Exp $ - -inherit eutils - -DESCRIPTION="Reverse Address Resolution Protocol Daemon" -HOMEPAGE="ftp://ftp.dementia.org/pub/net-tools" -SRC_URI="ftp://ftp.dementia.org/pub/net-tools/${P}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~amd64 ~hppa ppc ppc64 sparc x86" -IUSE="" - -DEPEND=">=net-libs/libnet-1.0.2a-r3 - <net-libs/libnet-1.1 - net-libs/libpcap" - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/${PV}-libnet-1.0.patch - epatch ${FILESDIR}/${PV}-daemon.patch -} - -src_install() { - #make install DESTDIR=${D} || die # only installs rarpd to / - dosbin rarpd - doman rarpd.8 - dodoc AUTHORS COPYING README TODO VERSION INSTALL - newconfd ${FILESDIR}/rarpd.conf.d rarpd - newinitd ${FILESDIR}/rarpd.init.d rarpd -} diff --git a/net-misc/rarpd/rarpd-1.1-r3.ebuild b/net-misc/rarpd/rarpd-1.1-r3.ebuild deleted file mode 100644 index 9548bed14988..000000000000 --- a/net-misc/rarpd/rarpd-1.1-r3.ebuild +++ /dev/null @@ -1,36 +0,0 @@ -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/rarpd/rarpd-1.1-r3.ebuild,v 1.4 2008/02/05 11:12:47 corsair Exp $ - -inherit eutils - -DESCRIPTION="Reverse Address Resolution Protocol Daemon" -HOMEPAGE="ftp://ftp.dementia.org/pub/net-tools" -SRC_URI="ftp://ftp.dementia.org/pub/net-tools/${P}.tar.gz" - -LICENSE="as-is" -SLOT="0" -KEYWORDS="~amd64 ~hppa ~ppc ppc64 sparc x86" -IUSE="" - -DEPEND=">=net-libs/libnet-1.1 - net-libs/libpcap" -RDEPEND="${DEPEND} - !net-misc/iputils" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch "${FILESDIR}"/${P}-daemon.patch - epatch "${FILESDIR}"/${P}-libnet.diff - epatch "${FILESDIR}"/${P}-fix-packet-growth-bug246891.diff #176558 - epatch "${FILESDIR}"/${P}-printf.diff -} - -src_install() { - dosbin rarpd || die - doman rarpd.8 - dodoc AUTHORS README TODO VERSION INSTALL - newconfd "${FILESDIR}"/rarpd.conf.d rarpd - newinitd "${FILESDIR}"/rarpd.init.d rarpd -} |