diff options
author | Mike Frysinger <vapier@gentoo.org> | 2006-02-04 20:37:23 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2006-02-04 20:37:23 +0000 |
commit | 78993d164455762782253a8869d2c44d8a79722f (patch) | |
tree | 8163b060bb406b6ef3b15daa4a1a60a202c91415 /sys-apps/netkit-base | |
parent | touchup (diff) | |
download | gentoo-2-78993d164455762782253a8869d2c44d8a79722f.tar.gz gentoo-2-78993d164455762782253a8869d2c44d8a79722f.tar.bz2 gentoo-2-78993d164455762782253a8869d2c44d8a79722f.zip |
Uncompress patches #120693 by Simon Stelling and just drop the ping related patches since we dont use ping from this package anymore.
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'sys-apps/netkit-base')
-rw-r--r-- | sys-apps/netkit-base/ChangeLog | 15 | ||||
-rw-r--r-- | sys-apps/netkit-base/files/001_alpha_netkit-base-0.17-ping-fix.patch.bz2 | bin | 686 -> 0 bytes | |||
-rw-r--r-- | sys-apps/netkit-base/files/002_all_netkit-base-0.17-wrong-byte-fix.patch.bz2 | bin | 425 -> 0 bytes | |||
-rw-r--r-- | sys-apps/netkit-base/files/003_all_netkit-base-0.17-gcc4.patch | 11 | ||||
-rw-r--r-- | sys-apps/netkit-base/files/003_all_netkit-base-0.17-gcc4.patch.bz2 | bin | 286 -> 0 bytes | |||
-rw-r--r-- | sys-apps/netkit-base/files/004_all_netkit-base-0.17-misc-fixes.patch | 54 | ||||
-rw-r--r-- | sys-apps/netkit-base/files/004_all_netkit-base-0.17-misc-fixes.patch.bz2 | bin | 722 -> 0 bytes | |||
-rw-r--r-- | sys-apps/netkit-base/netkit-base-0.17-r8.ebuild | 9 |
8 files changed, 81 insertions, 8 deletions
diff --git a/sys-apps/netkit-base/ChangeLog b/sys-apps/netkit-base/ChangeLog index 1ad06c2d9968..5d86f694379e 100644 --- a/sys-apps/netkit-base/ChangeLog +++ b/sys-apps/netkit-base/ChangeLog @@ -1,6 +1,17 @@ # ChangeLog for sys-apps/netkit-base -# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/netkit-base/ChangeLog,v 1.25 2005/04/29 10:42:33 azarah Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-apps/netkit-base/ChangeLog,v 1.26 2006/02/04 20:37:23 vapier Exp $ + + 04 Feb 2006; Mike Frysinger <vapier@gentoo.org> + +files/003_all_netkit-base-0.17-gcc4.patch, + -files/003_all_netkit-base-0.17-gcc4.patch.bz2, + +files/004_all_netkit-base-0.17-misc-fixes.patch, + -files/004_all_netkit-base-0.17-misc-fixes.patch.bz2, + -files/001_alpha_netkit-base-0.17-ping-fix.patch.bz2, + -files/002_all_netkit-base-0.17-wrong-byte-fix.patch.bz2, + netkit-base-0.17-r8.ebuild: + Uncompress patches #120693 by Simon Stelling and just drop the ping related + patches since we dont use ping from this package anymore. 29 Apr 2005; Martin Schlemmer <azarah@gentoo.org> +files/003_all_netkit-base-0.17-gcc4.patch.bz2, diff --git a/sys-apps/netkit-base/files/001_alpha_netkit-base-0.17-ping-fix.patch.bz2 b/sys-apps/netkit-base/files/001_alpha_netkit-base-0.17-ping-fix.patch.bz2 Binary files differdeleted file mode 100644 index fa2fd58eb12e..000000000000 --- a/sys-apps/netkit-base/files/001_alpha_netkit-base-0.17-ping-fix.patch.bz2 +++ /dev/null diff --git a/sys-apps/netkit-base/files/002_all_netkit-base-0.17-wrong-byte-fix.patch.bz2 b/sys-apps/netkit-base/files/002_all_netkit-base-0.17-wrong-byte-fix.patch.bz2 Binary files differdeleted file mode 100644 index e34ca47f0140..000000000000 --- a/sys-apps/netkit-base/files/002_all_netkit-base-0.17-wrong-byte-fix.patch.bz2 +++ /dev/null diff --git a/sys-apps/netkit-base/files/003_all_netkit-base-0.17-gcc4.patch b/sys-apps/netkit-base/files/003_all_netkit-base-0.17-gcc4.patch new file mode 100644 index 000000000000..266df811fd77 --- /dev/null +++ b/sys-apps/netkit-base/files/003_all_netkit-base-0.17-gcc4.patch @@ -0,0 +1,11 @@ +--- netkit-base-0.17/inetd/servtab.c ++++ netkit-base-0.17/inetd/servtab.c +@@ -771,7 +771,7 @@ + return; + } + +-#define SWAP(type, a, b) {type c=(type)a; (type)a=(type)b; (type)b=(type)c;} ++#define SWAP(type, a, b) {type c=(type)a; a=(type)b; b=(type)c;} + + /* + * sep->se_wait may be holding the pid of a daemon diff --git a/sys-apps/netkit-base/files/003_all_netkit-base-0.17-gcc4.patch.bz2 b/sys-apps/netkit-base/files/003_all_netkit-base-0.17-gcc4.patch.bz2 Binary files differdeleted file mode 100644 index 1afea5a0bc72..000000000000 --- a/sys-apps/netkit-base/files/003_all_netkit-base-0.17-gcc4.patch.bz2 +++ /dev/null diff --git a/sys-apps/netkit-base/files/004_all_netkit-base-0.17-misc-fixes.patch b/sys-apps/netkit-base/files/004_all_netkit-base-0.17-misc-fixes.patch new file mode 100644 index 000000000000..9492d715e20f --- /dev/null +++ b/sys-apps/netkit-base/files/004_all_netkit-base-0.17-misc-fixes.patch @@ -0,0 +1,54 @@ +--- netkit-base-0.17/inetd/builtins.c ++++ netkit-base-0.17/inetd/builtins.c +@@ -12,6 +12,7 @@ + #include <stdio.h> + #include <stdlib.h> + #include <unistd.h> ++#include <time.h> + + #include "servtab.h" + #include "builtins.h" +--- netkit-base-0.17/inetd/inetd.c ++++ netkit-base-0.17/inetd/inetd.c +@@ -869,8 +869,8 @@ + int on = 1; + + if ((sep->se_fd = socket(sep->se_family, sep->se_socktype, 0)) < 0) { +- syslog(LOG_ERR, "%s: socket: %m", service_name(sep), +- sep->se_service, sep->se_proto); ++ syslog(LOG_ERR, "%s: socket: %m", service_name(sep)); ++/* sep->se_service, sep->se_proto); */ + + if (errno == EMFILE) { + syslog(LOG_ALERT, +@@ -888,8 +888,8 @@ + syslog(LOG_ERR, "setsockopt (SO_REUSEADDR): %m"); + #undef turnon + if (bind(sep->se_fd, &sep->se_ctrladdr, sep->se_ctrladdr_size) < 0) { +- syslog(LOG_ERR, "%s: bind: %m", service_name(sep), +- sep->se_service, sep->se_proto); ++ syslog(LOG_ERR, "%s: bind: %m", service_name(sep)); ++/* sep->se_service, sep->se_proto); */ + (void) close(sep->se_fd); + sep->se_fd = -1; + if (!timingout) { +@@ -938,8 +938,8 @@ + } + m = sizeof(sn); + if (getsockname(sep->se_fd, (struct sockaddr *)&sn, &m) < 0) { +- syslog(LOG_ERR, "%s: getsockname: %m", service_name(sep), +- sep->se_service, sep->se_proto); ++ syslog(LOG_ERR, "%s: getsockname: %m", service_name(sep)); ++/* sep->se_service, sep->se_proto); */ + return; + } + +@@ -1026,7 +1026,7 @@ + if (rl.rlim_cur <= rlim_ofile_cur) { + syslog(LOG_ERR, + "bump_nofile: cannot extend file limit, max = %d", +- rl.rlim_cur); ++ (int)rl.rlim_cur); + return -1; + } + diff --git a/sys-apps/netkit-base/files/004_all_netkit-base-0.17-misc-fixes.patch.bz2 b/sys-apps/netkit-base/files/004_all_netkit-base-0.17-misc-fixes.patch.bz2 Binary files differdeleted file mode 100644 index 7afad31546d9..000000000000 --- a/sys-apps/netkit-base/files/004_all_netkit-base-0.17-misc-fixes.patch.bz2 +++ /dev/null diff --git a/sys-apps/netkit-base/netkit-base-0.17-r8.ebuild b/sys-apps/netkit-base/netkit-base-0.17-r8.ebuild index 41f716a36db9..6175f67125bc 100644 --- a/sys-apps/netkit-base/netkit-base-0.17-r8.ebuild +++ b/sys-apps/netkit-base/netkit-base-0.17-r8.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/netkit-base/netkit-base-0.17-r8.ebuild,v 1.13 2005/04/17 05:38:52 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-apps/netkit-base/netkit-base-0.17-r8.ebuild,v 1.14 2006/02/04 20:37:23 vapier Exp $ inherit eutils @@ -19,10 +19,7 @@ PROVIDE="virtual/inetd" src_unpack() { unpack ${A} cd "${S}" - - # Note that epatch will intelligently patch architecture specific - # patches as well - epatch "${FILESDIR}" + epatch "${FILESDIR}"/*.patch } src_compile() { |