summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillem Jover <guillem@debian.org>2006-07-19 05:25:20 +0000
committerGuillem Jover <guillem@hadrons.org>2010-06-10 23:21:19 +0200
commit3a0ae01d759b5689c40b0d7e4df439bbdd12a7b6 (patch)
tree4b7e27fe4847352f173c0a3c09667d14920bfa17
parent6e76f3e2338e5889b87b5ac0af3f7fa696dca0d0 (diff)
downloadinetutils-3a0ae01d759b5689c40b0d7e4df439bbdd12a7b6.tar.gz
New upstream snapshot 1.4.3+2006071
-rw-r--r--debian/changelog10
-rw-r--r--debian/patches/00_link_gnulib.patch26
-rw-r--r--debian/patches/01_klog.patch18
-rw-r--r--debian/patches/30_inetd_busy_wait.patch31
-rw-r--r--debian/patches/41_ptr_to_int_cast.patch156
5 files changed, 10 insertions, 231 deletions
diff --git a/debian/changelog b/debian/changelog
index 96e33aa..cb83e53 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,13 @@
+inetutils (2:1.4.3+20060719-1) UNRELEASED; urgency=low
+
+ * New upstream snapshot.
+ - debian/patches/00_link_gnulib.patch: Integrated upstrem. Remove.
+ - debian/patches/01_klog.patch: Likewise.
+ - debian/patches/30_inetd_busy_wait.patch: Likewise.
+ - debian/patches/41_ptr_to_int_cast.patch: Likewise.
+
+ -- Guillem Jover <guillem@debian.org> Wed, 19 Jul 2006 08:21:08 +0300
+
inetutils (2:1.4.3+20051212-4) unstable; urgency=low
* Make syslogd really read /dev/klog on the Hurd. (Closes: #348184)
diff --git a/debian/patches/00_link_gnulib.patch b/debian/patches/00_link_gnulib.patch
deleted file mode 100644
index 2dabe59..0000000
--- a/debian/patches/00_link_gnulib.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-#DPATCHLEVEL=0
-
-2006-03-24 Guillem Jover <guillem@hadrons.org>
-
- * Makefile.am (LDADD): Link against gnulib.
-
-
---- logger/Makefile.am 2005-10-11 14:29:11.000000000 +0300
-+++ logger/Makefile.am 2005-12-12 04:56:34.000000000 +0200
-@@ -18,7 +18,7 @@
-
- bin_PROGRAMS = @logger_BUILD@
-
--LDADD = -L../libinetutils -linetutils
-+LDADD = -L../lib -lgnu -L../libinetutils -linetutils
-
- EXTRA_PROGRAMS = logger
-
---- ifconfig/Makefile.am 2005-10-11 14:29:07.000000000 +0300
-+++ ifconfig/Makefile.am 2005-12-12 05:04:09.000000000 +0200
-@@ -28,4 +28,4 @@
-
- @PATHDEFS_MAKE@
-
--LDADD = -L../libinetutils -linetutils
-+LDADD = -L../lib -lgnu -L../libinetutils -linetutils
diff --git a/debian/patches/01_klog.patch b/debian/patches/01_klog.patch
deleted file mode 100644
index a93efb7..0000000
--- a/debian/patches/01_klog.patch
+++ /dev/null
@@ -1,18 +0,0 @@
-#DPATCHLEVEL=0
-
-2006-03-24 Samuel Thibault <samuel.thibault@ens-lyon.org>
-
- * Makefile.am (INCLUDES): Add PATHDEF_KLOG.
-
-
---- syslogd/Makefile.am 2005-10-11 14:29:12.000000000 +0300
-+++ syslogd/Makefile.am 2006-02-23 23:27:30.000000000 +0200
-@@ -28,7 +28,7 @@
-
- @PATHDEFS_MAKE@
-
--INCLUDES = $(PATHDEF_LOG) $(PATHDEF_LOGCONF) $(PATHDEF_LOGPID) \
-+INCLUDES = $(PATHDEF_LOG) $(PATHDEF_KLOG) $(PATHDEF_LOGCONF) $(PATHDEF_LOGPID) \
- $(PATHDEF_CONSOLE)
-
- LDADD = -L../lib -lgnu -L../libinetutils -linetutils
diff --git a/debian/patches/30_inetd_busy_wait.patch b/debian/patches/30_inetd_busy_wait.patch
deleted file mode 100644
index 7dbe9ec..0000000
--- a/debian/patches/30_inetd_busy_wait.patch
+++ /dev/null
@@ -1,31 +0,0 @@
-#DPATCHLEVEL=1
-
-2006-01-10 Guillem Jover <guillem@hadrons.org>
-
- * inetd/inet.c (main): Use sigsuspend on POSIX systems, otherwise
- sigpause with sysv semantics waits for no signal.
-
-
-diff -aur inetutils-1.4.3+20060110/inetd/inetd.c inetutils-1.4.3+20060110.new/inetd/inetd.c
---- inetutils-1.4.3+20060110/inetd/inetd.c 2005-10-30 01:26:50.000000000 +0300
-+++ inetutils-1.4.3+20060110.new/inetd/inetd.c 2006-01-10 23:53:15.000000000 +0200
-@@ -484,10 +484,18 @@
-
- if (nsock == 0)
- {
-+#if defined(HAVE_SIGACTION)
-+ sigset_t empty;
-+
-+ sigemptyset(&empty);
-+ while (nsock == 0)
-+ sigsuspend(&empty);
-+#else
- signal_block (NULL);
- while (nsock == 0)
- sigpause (0L);
- signal_unblock (NULL);
-+#endif
- }
- readable = allsock;
- if ((n = select (maxsock + 1, &readable, NULL, NULL, NULL)) <= 0)
-
diff --git a/debian/patches/41_ptr_to_int_cast.patch b/debian/patches/41_ptr_to_int_cast.patch
deleted file mode 100644
index 25ee2e5..0000000
--- a/debian/patches/41_ptr_to_int_cast.patch
+++ /dev/null
@@ -1,156 +0,0 @@
-#DPATCHLEVEL=0
-Author: Dann Frazier <dannf@hp.com>
-
-
-2006-03-24 Dann Frazier <dannf@hp.com>
-
- * main.c [HAVE_LIBREADLINE]: Include 'readline/readline.h'.
-
-
-diff -urN ftp/main.c ftp/main.c
---- ftp/main.c 2002-04-29 14:40:30.000000000 -0600
-+++ ftp/main.c 2005-07-17 04:21:01.282833004 -0600
-@@ -55,6 +55,10 @@
- #include <unistd.h>
- #include <getopt.h>
-
-+#if HAVE_LIBREADLINE
-+#include <readline/readline.h>
-+#endif
-+
- /* Define macro to nothing so declarations in ftp_var.h become definitions. */
- #define FTP_EXTERN
- #include "ftp_var.h"
-
-
-2006-03-24 Dann Frazier <dannf@hp.com>
-
- * Makefile.am (noinst_HEADERS): Add 'utmp_init.h'.
- * utmp_init.h: New file.
-
-
---- headers/Makefile.am 2005-10-11 14:31:26.000000000 +0300
-+++ headers/Makefile.am 2005-12-12 04:35:14.000000000 +0200
-@@ -16,4 +16,4 @@
- # to the Free Software Foundation, Inc., 51 Franklin Street,
- # Fifth Floor, Boston, MA 02110-1301 USA.
-
--noinst_HEADERS = tftpsubs.h shishi_def.h
-+noinst_HEADERS = tftpsubs.h shishi_def.h utmp_init.h
-diff -urN headers/utmp_init.h headers/utmp_init.h
---- headers/utmp_init.h 1969-12-31 17:00:00.000000000 -0700
-+++ headers/utmp_init.h 2005-07-17 04:04:55.086555778 -0600
-@@ -0,0 +1,45 @@
-+/* utmp_init.h --
-+ Copyright (C) 2005 Free Software Foundation, Inc.
-+
-+ This program is free software; you can redistribute it and/or modify
-+ it under the terms of the GNU General Public License as published by
-+ the Free Software Foundation; either version 2, or (at your option)
-+ any later version.
-+
-+ This program is distributed in the hope that it will be useful,
-+ but WITHOUT ANY WARRANTY; without even the implied warranty of
-+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-+ GNU General Public License for more details.
-+
-+ You should have received a copy of the GNU General Public License
-+ along with this program; if not, write to the Free Software Foundation,
-+ Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
-+
-+#ifndef UTMP_INIT_H_
-+# define UTMP_INIT_H_
-+
-+# ifndef PARAMS
-+# if defined PROTOTYPES || (defined __STDC__ && __STDC__)
-+# define PARAMS(Args) Args
-+# else
-+# define PARAMS(Args) ()
-+# endif
-+# endif
-+
-+# ifndef __attribute__
-+# if __GNUC__ < 2 || (__GNUC__ == 2 && __GNUC_MINOR__ < 8) || __STRICT_ANSI__
-+# define __attribute__(x)
-+# endif
-+# endif
-+
-+# ifndef ATTRIBUTE_NORETURN
-+# define ATTRIBUTE_NORETURN __attribute__ ((__noreturn__))
-+# endif
-+
-+/* utmp_init - update utmp and wtmp before login */
-+void utmp_init(char *line, char *user, char *id);
-+
-+/* utmp_ptsid - generate utmp id for pseudo terminal */
-+char *utmp_ptsid(char *line, char *tag);
-+
-+#endif /* !UTMP_INIT_H_ */
-
-
-2006-03-24 Dann Frazier <dannf@hp.com>
-
- * rlogind.c: Include 'utmp_init.h'. Add prototype for localhost.
- Move protypes for utmp_ptsid and utmp_init to 'utmp_init.h'.
-
-
-diff -urN rlogind/rlogind.c rlogind/rlogind.c
---- rlogind/rlogind.c 2003-04-05 10:03:39.000000000 -0700
-+++ rlogind/rlogind.c 2005-07-17 04:07:25.644171121 -0600
-@@ -73,6 +73,8 @@
- #include <sys/ioctl.h>
- #include <sys/stat.h> /* Needed for chmod() */
-
-+#include "utmp_init.h"
-+
- /*
- The TIOCPKT_* macros may not be implemented in the pty driver.
- Defining them here allows the program to be compiled. */
-@@ -130,6 +132,7 @@
- # define DEFPORT 513
- #endif
- extern int __check_rhosts_file;
-+extern char *localhost __P ((void));
-
- #ifndef SHISHI
- struct auth_data
-@@ -634,9 +636,6 @@
- }
-
- #ifdef UTMPX
--char *utmp_ptsid ();
--/*FIXME*/ void utmp_init ();
--
- void
- setup_utmp (char *line)
- {
-
-
-2006-03-24 Dann Frazier <dannf@hp.com>
-
- * Makefile.am (INCLUDES): Add '-I$(top_srcdir)/headers'.
- * pty.c: Include 'utmp_init.h'.
-
-
---- telnetd/pty.c~ 2002-04-07 08:31:37.000000000 -0600
-+++ telnetd/pty.c 2005-07-17 06:51:11.121589821 -0600
-@@ -18,6 +18,7 @@
- Fifth Floor, Boston, MA 02110-1301 USA. */
-
- #include "telnetd.h"
-+#include "utmp_init.h"
- #include <sys/wait.h>
-
- #ifdef AUTHENTICATION
---- telnetd/Makefile.am 2005-10-11 14:29:14.000000000 +0300
-+++ telnetd/Makefile.am 2005-12-12 04:39:13.000000000 +0200
-@@ -30,7 +30,8 @@
- @PATHDEFS_MAKE@
-
- INCLUDES = $(PATHDEF_DEV) $(PATHDEF_TTY) $(PATHDEF_LOGIN) \
-- -I$(top_srcdir) -I$(top_srcdir)/lib @INCAUTH@
-+ -I$(top_srcdir) -I$(top_srcdir)/headers -I$(top_srcdir)/lib \
-+ @INCAUTH@
-
- LIBTERMCAP = @LIBTERMCAP@
- LIBCRYPT = @LIBCRYPT@