diff options
author | Jeremy Olexa <darkside@gentoo.org> | 2009-05-13 04:05:08 +0000 |
---|---|---|
committer | Jeremy Olexa <darkside@gentoo.org> | 2009-05-13 04:05:08 +0000 |
commit | dfeb86f73869cdf101559f0f24dcd815070d99a7 (patch) | |
tree | ef55a0e84a0830160540c499cec16168ae77028f /net-misc | |
parent | remove sys-apps/tinylogin with solar's ack since they are dead and provided v... (diff) | |
download | historical-dfeb86f73869cdf101559f0f24dcd815070d99a7.tar.gz historical-dfeb86f73869cdf101559f0f24dcd815070d99a7.tar.bz2 historical-dfeb86f73869cdf101559f0f24dcd815070d99a7.zip |
remove net-misc/udhcp with solar's ack since they are dead and provided via other means
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/udhcp/ChangeLog | 136 | ||||
-rw-r--r-- | net-misc/udhcp/Manifest | 12 | ||||
-rw-r--r-- | net-misc/udhcp/files/udhcp-0.9.9_pre20041216-env.patch | 127 | ||||
-rw-r--r-- | net-misc/udhcp/files/udhcp-gcc-3.4.patch | 11 | ||||
-rwxr-xr-x | net-misc/udhcp/files/udhcp.rc | 37 | ||||
-rw-r--r-- | net-misc/udhcp/files/udhcpc.sh | 106 | ||||
-rw-r--r-- | net-misc/udhcp/metadata.xml | 5 | ||||
-rw-r--r-- | net-misc/udhcp/udhcp-0.9.8-r3.ebuild | 57 | ||||
-rw-r--r-- | net-misc/udhcp/udhcp-0.9.9_pre20041216-r1.ebuild | 41 | ||||
-rw-r--r-- | net-misc/udhcp/udhcp-0.9.9_pre20041216-r3.ebuild | 57 | ||||
-rw-r--r-- | net-misc/udhcp/udhcp-0.9.9_pre20041216-r4.ebuild | 57 |
11 files changed, 0 insertions, 646 deletions
diff --git a/net-misc/udhcp/ChangeLog b/net-misc/udhcp/ChangeLog deleted file mode 100644 index 69da60122007..000000000000 --- a/net-misc/udhcp/ChangeLog +++ /dev/null @@ -1,136 +0,0 @@ -# ChangeLog for net-misc/udhcp -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/udhcp/ChangeLog,v 1.33 2007/03/28 06:13:08 vapier Exp $ - - 28 Mar 2007; Mike Frysinger <vapier@gentoo.org> - udhcp-0.9.9_pre20041216-r4.ebuild: - Fix install path for rcscript addon #172391 by Georgi Georgiev. - -*udhcp-0.9.9_pre20041216-r4 (23 Feb 2007) - - 23 Feb 2007; Roy Marples <uberlord@gentoo.org> files/udhcp.rc, - +udhcp-0.9.9_pre20041216-r4.ebuild: - Bump for a non bash init script. - - 15 Oct 2006; Roy Marples <uberlord@gentoo.org> files/udhcpc.sh: - Respect PEER_ROUTERS set by the nogateway option in conf.d/net, #151240. - Thanks to John Koleszar. - - 01 Oct 2006; Tobias Scherbaum <dertobi123@gentoo.org> - udhcp-0.9.9_pre20041216-r3.ebuild: - hppa stable, bug #134320 - - 21 Aug 2006; Chris Gianelloni <wolf31o2@gentoo.org> - udhcp-0.9.9_pre20041216-r3.ebuild: - Stable on mips wrt release snapshot. Tested extensively w/ Release - Engineering via Kumba. - - 11 Aug 2006; Thomas Cort <tcort@gentoo.org> - udhcp-0.9.9_pre20041216-r3.ebuild: - Stable on alpha wrt Bug #134320. - - 13 Jul 2006; Aron Griffis <agriffis@gentoo.org> - udhcp-0.9.9_pre20041216-r3.ebuild: - Mark 0.9.9_pre20041216-r3 stable on ia64 - - 06 Jun 2006; Simon Stelling <blubb@gentoo.org> - udhcp-0.9.9_pre20041216-r3.ebuild: - stable on amd64 - - 30 May 2006; Jason Wever <weeve@gentoo.org> - udhcp-0.9.9_pre20041216-r3.ebuild: - Stable on SPARC wrt bug #134320. - - 26 May 2006; Chris Gianelloni <wolf31o2@gentoo.org> - udhcp-0.9.9_pre20041216-r3.ebuild: - Stable on x86 wrt bug #134320. - - 25 May 2006; Joseph Jezak <josejx@gentoo.org> - udhcp-0.9.9_pre20041216-r3.ebuild: - Marked ppc stable for bug #134320. - -*udhcp-0.9.9_pre20041216-r3 (22 Apr 2006) - - 22 Apr 2006; Roy Marples <uberlord@gentoo.org> - +files/udhcp-0.9.9_pre20041216-env.patch, files/udhcpc.sh, - +udhcp-0.9.9_pre20041216-r3.ebuild: - Adds the --env,-e option to pass environment variables to the setup script. - This will be used by baselayout-1.12.0_pre18 and later. - -*udhcp-0.9.9_pre20041216-r2 (07 Apr 2006) - - 07 Apr 2006; Roy Marples <uberlord@gentoo.org> +files/udhcpc.sh, - +udhcp-0.9.9_pre20041216-r2.ebuild: - udhcpc now has it's own setup script. - - 05 Jul 2005; Rene Nussbaumer <killerfox@gentoo.org> - udhcp-0.9.9_pre20041216-r1.ebuild: - Stable on hppa. - -*udhcp-0.9.9_pre20041216-r1 (29 Jun 2005) - - 29 Jun 2005; Roy Marples <uberlord@gentoo.org> - -udhcp-0.9.9_pre20041216.ebuild, +udhcp-0.9.9_pre20041216-r1.ebuild: - Install udhcpd in /sbin instead of /usr/sbin so we don't break baselayout - - 28 Jun 2005; Gustavo Zacarias <gustavoz@gentoo.org> - udhcp-0.9.9_pre20041216.ebuild: - Stable on sparc - - 27 Jun 2005; Aron Griffis <agriffis@gentoo.org> - udhcp-0.9.9_pre20041216.ebuild: - stable on alpha amd64 ia64 x86 - - 07 Jun 2005; Mike Frysinger <vapier@gentoo.org> +files/udhcp.rc, - udhcp-0.9.9_pre20041216.ebuild: - Add an init.d script #95130 by Samuel Penn. - -*udhcp-0.9.9_pre20041216 (16 Dec 2004) - - 16 Dec 2004; Mike Frysinger <vapier@gentoo.org> - +udhcp-0.9.9_pre20041216.ebuild: - CVS snapshot for Uberlord. - - 03 Sep 2004; Daniel Goller <morfic@gentoo.org> udhcp-0.9.8-r3.ebuild: - applying gcc3.4 patch, closing bug 62714 - - 01 Jul 2004; Jon Hood <squinky86@gentoo.org> udhcp-0.9.8-r2.ebuild, - udhcp-0.9.8-r3.ebuild: - change virtual/glibc to virtual/libc, add IUSE - - 25 Mar 2004; Gustavo Zacarias <gustavoz@gentoo.org> udhcp-0.9.8-r3.ebuild: - stable da sparc - - 08 Mar 2004; Seemant Kulleen <seemant@gentoo.org> udhcp-0.9.8-r3.ebuild: - moved -r3 to x86 stable due to lack of bug reports complaining - -*udhcp-0.9.8-r3 (08 Mar 2004) -*udhcp-0.9.8-r2 (08 Mar 2004) - - 08 Mar 2004; Seemant Kulleen <seemant@gentoo.org> udhcp-0.9.8-r1.ebuild, - udhcp-0.9.8-r2.ebuild, udhcp-0.9.8-r3.ebuild, udhcp-0.9.8.ebuild: - Forced a version bump on these ebuilds. Basically, -r0 is now -r2 and -r1 is - now -r3. The reason for the revision bump was to make this package PROVIDE - virtual/dhcp. Closes a long-standing bloat-reduction request made on - gentoo-dev mailing list by: William Hubbs <kc5eiv@kc5eiv.homeip.net> at - http://article.gmane.org/gmane.linux.gentoo.devel/11579 - -*udhcp-0.9.8-r1 (29 Oct 2003) - - 29 Oct 2003; Seemant Kulleen <seemant@gentoo.org> udhcp-0.9.8-r1.ebuild, - files/udhcp.init: - Added an initscript, based largely on dhcp initscript - - 23 Oct 2003; Seemant Kulleen <seemant@gentoo.org> udhcp-0.9.8.ebuild: - Add documentation and samples - -*udhcp-0.9.8 (30 Dec 2002) - - 30 Dec 2002; Mike Frysinger <vapier@gentoo.org> : - Version bump - -*udhcp-0.9.7 (02 Aug 2002) - - 02 Aug 2002; Christoph Lameter <christoph@gentoo.org> udhcp-0.9.7.ebuild : - Ebuild written - diff --git a/net-misc/udhcp/Manifest b/net-misc/udhcp/Manifest deleted file mode 100644 index 0768bc636ad3..000000000000 --- a/net-misc/udhcp/Manifest +++ /dev/null @@ -1,12 +0,0 @@ -AUX udhcp-0.9.9_pre20041216-env.patch 3599 RMD160 4f111f1769232f3bddf5881f8b4a339e74e8309d SHA1 afd89eab23146c490a9597cfa541d66623d370b8 SHA256 5ee4c293e667f4bfa5f8a5a50ce1b1cc3b2dda5de000094fd698e7736ee28c17 -AUX udhcp-gcc-3.4.patch 261 RMD160 d0c31131bc4c14ef20f0a52c46e15a6034bb3fc9 SHA1 d410c8088776ca9449c78375e5c2b2fefd77c163 SHA256 f4ffec4f9bf809b82c4f8a48a3a0b098084c50f904d6c8b1513cb32087459802 -AUX udhcp.rc 819 RMD160 b80fee5a52c80913ed838f52341e6bacb8e4a576 SHA1 593a4bed11d0045e6dc6accab3f82074701b211a SHA256 7579fbea1af3327c6cd0e9a75517d4b785dec9d1371065552c3d33683a1ba9cb -AUX udhcpc.sh 2404 RMD160 c8ce37955f36cb8282352dac2494ee821a663e65 SHA1 9738b949e74e1bafc98c387f982d83cc80189892 SHA256 4e9c1c0c3f479f95a84b91df8ba1f4096d657c53e54e1f4b814d83629de08e6b -DIST udhcp-0.9.8.tar.gz 43889 RMD160 55f3c346e39bc65d6941afccb5ef51a4b5239b37 SHA1 57f5fcd18effe77cff48e8221a20976a3be1f55a SHA256 da0ca1e821e3fa7cfbe73ddb1480b921002ee992f5e5fbc611422c103b907443 -DIST udhcp-0.9.9_pre20041216.tar.bz2 42353 RMD160 ed223b166f9ab9c0e0b210b690319e3ca8417af5 SHA1 f4555fe1c98305b23fdae4e520ec564703ab89a8 SHA256 e4bcf9490f5e5c14a97d6ca46f054225e15a765edf9cdb181888032a0082dad6 -EBUILD udhcp-0.9.8-r3.ebuild 1166 RMD160 386711e40d25bfae45fd8500a34c167efa0c8495 SHA1 dd8a0dd922a862efb55c7088064caa0cc72b6b71 SHA256 86b8bdb9f65695e9cf3fcf850072df2fef5d9044158029b66f8f9de096a40378 -EBUILD udhcp-0.9.9_pre20041216-r1.ebuild 957 RMD160 a96ba48a633f192c60445b2ca78ffbd1e7245254 SHA1 e31065067f251084ed6cd8cd060fa3eafb4281c9 SHA256 0fd541d581cf51d24abdb3aae786349e7fff948c35a91285a20869f23cbee72d -EBUILD udhcp-0.9.9_pre20041216-r3.ebuild 1503 RMD160 1a964b7cc171a857001abcf0963b58c1265c93ec SHA1 90c0d2790067da065f22070ddc211aa4d3b4342a SHA256 150c8c91f63eceda4864620a30069947fdf8cbf481122c6588c32747371e284c -EBUILD udhcp-0.9.9_pre20041216-r4.ebuild 1522 RMD160 a70de7d73660901412f5d156a9f4d25c62dae462 SHA1 8eae1428a429efb6f794c27558b68ae91beabd3c SHA256 b6958b81e879612fca98e693fcb463cefe269dbf18d7a369e9e6a2c99227e3bc -MISC ChangeLog 4700 RMD160 3622efbb1fec39687b28d2a16f1fc90e131b917f SHA1 19ede6d73546608e30feaf5062d5e3065d205c41 SHA256 b0bbf2e12c86051bdd9345c02052c6afc24896c6cc3b2c41bd727699f76c5a3c -MISC metadata.xml 161 RMD160 77385273ea1d12ed4093a4167307486b74d1cf82 SHA1 aa4b2873e32de89c0b0aeb26b5782f77cb00948e SHA256 a11fdd02015a232398fdf22a20d26a95fc34d44c54513e6b26b6128d0b76122e diff --git a/net-misc/udhcp/files/udhcp-0.9.9_pre20041216-env.patch b/net-misc/udhcp/files/udhcp-0.9.9_pre20041216-env.patch deleted file mode 100644 index f3068b698ec7..000000000000 --- a/net-misc/udhcp/files/udhcp-0.9.9_pre20041216-env.patch +++ /dev/null @@ -1,127 +0,0 @@ ---- udhcp/dhcpc.c -+++ udhcp/dhcpc.c -@@ -68,6 +68,8 @@ - clientid: NULL, - hostname: NULL, - fqdn: NULL, -+ envList: NULL, -+ envListLength: 0, - ifindex: 0, - arp: "\0\0\0\0\0\0", /* appease gcc-3.0 */ - }; -@@ -78,6 +80,7 @@ - printf( - "Usage: udhcpc [OPTIONS]\n\n" - " -c, --clientid=CLIENTID Client identifier\n" -+" -e, --env=\"FOO=BAR\" Environment variable passed to script\n" - " -H, --hostname=HOSTNAME Client hostname\n" - " -h Alias for -H\n" - " -F, --fqdn=FQDN Client fully qualified domain name\n" -@@ -193,9 +196,11 @@ - long now; - int max_fd; - int sig; -+ struct stringList *env_tmp; - - static const struct option arg_options[] = { - {"clientid", required_argument, 0, 'c'}, -+ {"env", required_argument, 0, 'e'}, - {"foreground", no_argument, 0, 'f'}, - {"background", no_argument, 0, 'b'}, - {"hostname", required_argument, 0, 'H'}, -@@ -214,7 +219,7 @@ - /* get options */ - while (1) { - int option_index = 0; -- c = getopt_long(argc, argv, "c:fbH:h:F:i:np:qr:s:v", arg_options, &option_index); -+ c = getopt_long(argc, argv, "c:e:fbH:h:F:i:np:qr:s:v", arg_options, &option_index); - if (c == -1) break; - - switch (c) { -@@ -227,6 +232,17 @@ - client_config.clientid[OPT_DATA] = '\0'; - strncpy(client_config.clientid + OPT_DATA, optarg, len); - break; -+ case 'e': -+ env_tmp = xmalloc(strlen(optarg) + sizeof *env_tmp); -+ if (!env_tmp) { -+ DEBUG(LOG_ERR, "No memory for %s", optargs); -+ exit(1); -+ } -+ strncpy(env_tmp->string, optarg, strlen(optarg)); -+ env_tmp->next=client_config.envList; -+ client_config.envList=env_tmp; -+ client_config.envListLength++; -+ break; - case 'f': - client_config.foreground = 1; - break; ---- udhcp/dhcpc.h -+++ udhcp/dhcpc.h -@@ -17,6 +17,12 @@ - #define RELEASED 7 - - -+struct stringList { -+ struct stringList *next; -+ char string[1]; -+}; -+ -+ - struct client_config_t { - char foreground; /* Do not fork */ - char quit_after_lease; /* Quit after obtaining lease */ -@@ -28,6 +34,8 @@ - uint8_t *clientid; /* Optional client id to use */ - uint8_t *hostname; /* Optional hostname to use */ - uint8_t *fqdn; /* Optional fully qualified domain name to use */ -+ struct stringList *envList; /* Environment variables to pass to the script */ -+ int envListLength; /* Length of the environment variable list */ - int ifindex; /* Index number of the interface to use */ - uint8_t arp[6]; /* Our arp address */ - }; ---- udhcp/script.c -+++ udhcp/script.c -@@ -141,6 +141,7 @@ - uint8_t *temp; - struct in_addr subnet; - char over = 0; -+ struct stringList *sp; - - if (packet == NULL) - num_options = 0; -@@ -158,7 +159,7 @@ - if (!(over & SNAME_FIELD) && packet->sname[0]) num_options++; - } - -- envp = xcalloc(sizeof(char *), num_options + 5); -+ envp = xcalloc(sizeof(char *), num_options + client_config.envListLength + 5); - j = 0; - asprintf(&envp[j++], "interface=%s", client_config.interface); - asprintf(&envp[j++], "%s=%s", "PATH", -@@ -198,6 +199,10 @@ - packet->sname[sizeof(packet->sname) - 1] = '\0'; - asprintf(&envp[j++], "sname=%s", packet->sname); - } -+ if (client_config.envList) { -+ for (sp=client_config.envList; sp; sp=sp->next) -+ asprintf(&envp[j++], "%s", sp->string); -+ } - return envp; - } - ---- udhcp/udhcpc.8 -+++ udhcp/udhcpc.8 -@@ -13,6 +13,12 @@ - Send the client identifier - .IR CLIENTID . - .TP -+.BI \-e\ ENV=VALUE ,\ \-\-env= VARIABLE=VALUE -+Send the script the given enviroment variable -+.IR VARIABLE -+set to the value -+.IR VALUE . -+.TP - .BR -f ,\ \-\-foreground - Do not fork after obtaining a lease. - .TP diff --git a/net-misc/udhcp/files/udhcp-gcc-3.4.patch b/net-misc/udhcp/files/udhcp-gcc-3.4.patch deleted file mode 100644 index 141435c8cf9a..000000000000 --- a/net-misc/udhcp/files/udhcp-gcc-3.4.patch +++ /dev/null @@ -1,11 +0,0 @@ -diff -Naur old/dhcpc.c new/dhcpc.c ---- old/dhcpc.c 2004-09-04 01:13:55.325759257 +0200 -+++ new/dhcpc.c 2004-09-04 01:13:36.004144921 +0200 -@@ -132,6 +132,7 @@ - state = INIT_SELECTING; - break; - case INIT_SELECTING: -+ break; - } - - /* start things over */ diff --git a/net-misc/udhcp/files/udhcp.rc b/net-misc/udhcp/files/udhcp.rc deleted file mode 100755 index 59d1fb841f5b..000000000000 --- a/net-misc/udhcp/files/udhcp.rc +++ /dev/null @@ -1,37 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/udhcp/files/udhcp.rc,v 1.2 2007/02/23 12:00:10 uberlord Exp $ - -depend() { - use net logger -} - -checkconfig() { - if [ ! -f /etc/udhcpd.conf ] ; then - eerror "No /etc/udhcpd.conf file exists" - return 1 - fi - - if [ ! -e /var/lib/misc/udhcpd.leases ] ; then - ebegin "Creating udhcpd.leases" - touch /var/lib/misc/udhcpd.leases || return 1 - eend $? - fi -} - -start() { - checkconfig || return 1 - - ebegin "Starting udhcpd" - start-stop-daemon --start --exec /sbin/udhcpd \ - --pidfile /var/run/udhcpd.pid >/dev/null - eend $? -} - -stop() { - ebegin "Stopping udhcpd" - start-stop-daemon --stop --exec /sbin/udhcpd \ - --pidfile /var/run/udhcpd.pid - eend $? -} diff --git a/net-misc/udhcp/files/udhcpc.sh b/net-misc/udhcp/files/udhcpc.sh deleted file mode 100644 index 14530833d40b..000000000000 --- a/net-misc/udhcp/files/udhcpc.sh +++ /dev/null @@ -1,106 +0,0 @@ -#!/bin/sh -# udhcp setup script - -# Ideally this should be the defalt udhcpc script, but I doubt upstream -# will accept it. - -PATH=/bin:/usr/bin:/sbin:/usr/sbin - -update_dns() -{ - [ -n "${PEER_DNS}" ] && [ "${PEER_DNS}" != "yes" ] && return - [ -z "${domain}" ] && [ -z "${dns}" ] && return - - conf="# Generated by udhcpc for ${interface}\n" - [ -n "${domain}" ] && conf="${conf}search ${domain}\n" - for i in ${dns} ; do - conf="${conf}nameserver ${i}\n" - done - if [ -x /sbin/resolvconf ] ; then - printf "${conf}" | resolvconf -a ${interface} - else - printf "${conf}" > /etc/resolv.conf - chmod 644 /etc/resolv.conf - fi -} - -update_ntp() { - [ -n "${PEER_NTP}" ] && [ "${PEER_NTP}" != "yes" ] && return - [ -z "${ntpsrv}" ] && return - - conf="# Generated by udhcpc for interface ${interface}\n" - conf="${conf}restrict default noquery notrust nomodify\n" - conf="${conf}restrict 127.0.0.1\n" - for i in ${ntpsrv} ; do - conf="${conf}restrict ${i} nomodify notrap noquery\n" - conf="${conf}server ${i}\n" - done - conf="${conf}driftfile /var/lib/ntp/ntp.drift\n" - conf="${conf}logfile /var/log/ntp.log\n" - printf "${conf}" > /etc/ntp.conf - chmod 644 /etc/ntp.conf -} - -update_hostname() { - [ -n "${PEER_HOSTNAME}" ] && [ "${PEER_HOSTNAME}" != "yes" ] && return - [ -z "${hostname}" ] && return - - myhost="$(hostname)" - [ -z "${myhost}" ] || [ "${myhost}" = "(none)" ] && hostname "${hostname}" -} - -update_interface() -{ - [ -n "${broadcast}" ] && broadcast="broadcast ${broadcast}" - [ -n "${subnet}" ] && netmask="netmask ${subnet}" - [ -n "${mtu}" ] && mtu="mtu ${mtu}" - ifconfig "${interface}" ${ip} ${broadcast} ${netmask} ${mtu} -} - -update_routes() -{ - while route del default dev "${interface}" 2>/dev/null ; do - : - done - - [ -n "${PEER_ROUTERS}" ] && [ "${PEER_ROUTERS}" != "yes" ] && return - - if [ -n "${router}" ] ; then - metric= - [ -n "${IF_METRIC}" ] && metric="metric ${IF_METRIC}" - for i in ${router} ; do - route add default gw "${i}" ${metric} dev "${interface}" - done - fi -} - -deconfig() -{ - ifconfig "${interface}" 0.0.0.0 - [ -x /sbin/resolvconf ] && resolvconf -d "${interface}" -} - -case "$1" in - bound|renew) - update_hostname - update_interface - update_routes - update_dns - update_ntp - ;; - deconfig|leasefail) - deconfig - ;; - nak) - echo "nak: ${message}" - ;; - *) - echo "unknown option $1" >&2 - echo "Usage: $0 {bound|deconfig|leasefail|nak|renew}" >&2 - exit 1 - ;; -esac - -exit 0 - -# vim: ts=4 : diff --git a/net-misc/udhcp/metadata.xml b/net-misc/udhcp/metadata.xml deleted file mode 100644 index 5c40e771595f..000000000000 --- a/net-misc/udhcp/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>embedded</herd> -</pkgmetadata> diff --git a/net-misc/udhcp/udhcp-0.9.8-r3.ebuild b/net-misc/udhcp/udhcp-0.9.8-r3.ebuild deleted file mode 100644 index 333d70fcb47f..000000000000 --- a/net-misc/udhcp/udhcp-0.9.8-r3.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/udhcp/udhcp-0.9.8-r3.ebuild,v 1.13 2005/08/24 00:05:22 vapier Exp $ - -inherit eutils toolchain-funcs - -DESCRIPTION="udhcp Server/Client Package" -HOMEPAGE="http://udhcp.busybox.net/" -SRC_URI="http://udhcp.busybox.net/source/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha amd64 arm hppa ia64 ~mips ~ppc sparc x86" -IUSE="" - -DEPEND="virtual/libc" -PROVIDE="virtual/dhcpc" - -pkg_setup() { - enewgroup dhcp - enewuser dhcp -1 -1 /var/lib/dhcp dhcp -} - -src_unpack() { - - unpack ${A} - cd ${S} - #fixes #62714, thanks GurliGebis - if [ "`gcc-major-version`" -ge "3" -a "`gcc-minor-version`" -ge "4" ] - then - epatch "${FILESDIR}"/udhcp-gcc-3.4.patch - fi -} - -src_compile() { - emake CROSS_COMPILE=${CHOST}- STRIP=true SYSLOG=1 || die -} - -src_install() { - dodir /usr/sbin /usr/bin /sbin - - insinto /etc - doins samples/udhcpd.conf - - make \ - prefix=${D}/usr \ - SBINDIR=${D}/sbin \ - CROSS_COMPILE=${CHOST}- \ - STRIP=true \ - install \ - || die - - dodoc AUTHORS ChangeLog README* TODO - - insinto /usr/share/udhcpc - doins samples/* -} diff --git a/net-misc/udhcp/udhcp-0.9.9_pre20041216-r1.ebuild b/net-misc/udhcp/udhcp-0.9.9_pre20041216-r1.ebuild deleted file mode 100644 index 2e4fbdcb6173..000000000000 --- a/net-misc/udhcp/udhcp-0.9.9_pre20041216-r1.ebuild +++ /dev/null @@ -1,41 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/udhcp/udhcp-0.9.9_pre20041216-r1.ebuild,v 1.4 2005/08/24 00:05:22 vapier Exp $ - -inherit eutils toolchain-funcs - -DESCRIPTION="udhcp Server/Client Package" -HOMEPAGE="http://udhcp.busybox.net/" -SRC_URI="mirror://gentoo/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ~ppc sparc x86" -IUSE="" - -DEPEND="virtual/libc" -PROVIDE="virtual/dhcpc" - -S=${WORKDIR}/${PN} - -pkg_setup() { - enewgroup dhcp - enewuser dhcp -1 -1 /var/lib/dhcp dhcp -} - -src_compile() { - emake \ - CROSS_COMPILE=${CHOST}- \ - STRIP=true \ - UDHCP_SYSLOG=1 \ - || die -} - -src_install() { - make STRIP=true install DESTDIR="${D}" USRSBINDIR="${D}/sbin" || die - newinitd "${FILESDIR}"/udhcp.rc udhcp - insinto /etc - doins samples/udhcpd.conf - dodoc AUTHORS ChangeLog README* TODO - newdoc samples/README README.scripts -} diff --git a/net-misc/udhcp/udhcp-0.9.9_pre20041216-r3.ebuild b/net-misc/udhcp/udhcp-0.9.9_pre20041216-r3.ebuild deleted file mode 100644 index d9da0f179ff9..000000000000 --- a/net-misc/udhcp/udhcp-0.9.9_pre20041216-r3.ebuild +++ /dev/null @@ -1,57 +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/udhcp/udhcp-0.9.9_pre20041216-r3.ebuild,v 1.10 2006/11/12 04:19:02 vapier Exp $ - -inherit eutils toolchain-funcs - -DESCRIPTION="udhcp Server/Client Package" -HOMEPAGE="http://udhcp.busybox.net/" -SRC_URI="mirror://gentoo/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 mips ppc sparc x86" -IUSE="" - -DEPEND="virtual/libc" -PROVIDE="virtual/dhcpc" - -S="${WORKDIR}/${PN}" - -pkg_setup() { - enewgroup dhcp - enewuser dhcp -1 -1 /var/lib/dhcp dhcp -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # This patch adds the --env,-e option to udhcpc so we can pass the dhcp - # client some environment variables to pass to the script. We do this so - # the script knows mertric and whether to setup DNS, NTP and routers. - epatch "${FILESDIR}/${P}"-env.patch -} - -src_compile() { - emake \ - CROSS_COMPILE=${CHOST}- \ - STRIP=true \ - UDHCP_SYSLOG=1 \ - || die -} - -src_install() { - make STRIP=true install DESTDIR="${D}" USRSBINDIR="${D}/sbin" || die - newinitd "${FILESDIR}"/udhcp.rc udhcp - insinto /etc - doins samples/udhcpd.conf - dodoc AUTHORS ChangeLog README* TODO - newdoc samples/README README.scripts - - # udhcpc setup script - the supplied ones don't work - # This does it supports resolvconf, metrics and whether to setup - # dns, ntp and routers. Requires the --env patch above. - exeinto /lib/rcscripts/sh - newexe "${FILESDIR}"/udhcpc.sh udhcpc.sh -} diff --git a/net-misc/udhcp/udhcp-0.9.9_pre20041216-r4.ebuild b/net-misc/udhcp/udhcp-0.9.9_pre20041216-r4.ebuild deleted file mode 100644 index 97ff0c02140e..000000000000 --- a/net-misc/udhcp/udhcp-0.9.9_pre20041216-r4.ebuild +++ /dev/null @@ -1,57 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/udhcp/udhcp-0.9.9_pre20041216-r4.ebuild,v 1.2 2007/03/28 06:13:08 vapier Exp $ - -inherit multilib eutils toolchain-funcs - -DESCRIPTION="udhcp Server/Client Package" -HOMEPAGE="http://udhcp.busybox.net/" -SRC_URI="mirror://gentoo/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 mips ppc sparc x86" -IUSE="" - -DEPEND="virtual/libc" -PROVIDE="virtual/dhcpc" - -S="${WORKDIR}/${PN}" - -pkg_setup() { - enewgroup dhcp - enewuser dhcp -1 -1 /var/lib/dhcp dhcp -} - -src_unpack() { - unpack ${A} - cd "${S}" - - # This patch adds the --env,-e option to udhcpc so we can pass the dhcp - # client some environment variables to pass to the script. We do this so - # the script knows mertric and whether to setup DNS, NTP and routers. - epatch "${FILESDIR}/${P}"-env.patch -} - -src_compile() { - emake \ - CROSS_COMPILE=${CHOST}- \ - STRIP=true \ - UDHCP_SYSLOG=1 \ - || die -} - -src_install() { - emake STRIP=true install DESTDIR="${D}" USRSBINDIR="${D}/sbin" || die - newinitd "${FILESDIR}"/udhcp.rc udhcp - insinto /etc - doins samples/udhcpd.conf - dodoc AUTHORS ChangeLog README* TODO - newdoc samples/README README.scripts - - # udhcpc setup script - the supplied ones don't work - # This does it supports resolvconf, metrics and whether to setup - # dns, ntp and routers. Requires the --env patch above. - exeinto /$(get_libdir)/rcscripts/sh - newexe "${FILESDIR}"/udhcpc.sh udhcpc.sh -} |