summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2006-03-12 17:38:07 +0000
committerAlin Năstac <mrness@gentoo.org>2006-03-12 17:38:07 +0000
commit464f65daae49a9c3a68b51ffa0024021e7f61b64 (patch)
treef0e5795356e3ed4c1173eabbb8cd3804e79d49a1 /net-dialup/mgetty/files
parentMarked 2.0.3 ppc stable for bug #125828. (diff)
downloadhistorical-464f65daae49a9c3a68b51ffa0024021e7f61b64.tar.gz
historical-464f65daae49a9c3a68b51ffa0024021e7f61b64.tar.bz2
historical-464f65daae49a9c3a68b51ffa0024021e7f61b64.zip
Quote various env vars and mark 1.1.34 as stable on x86. Version bump.
Package-Manager: portage-2.0.54
Diffstat (limited to 'net-dialup/mgetty/files')
-rw-r--r--net-dialup/mgetty/files/digest-mgetty-1.1.351
-rw-r--r--net-dialup/mgetty/files/mgetty-1.1.35-callback.patch26
-rw-r--r--net-dialup/mgetty/files/mgetty-1.1.35-gentoo.patch26
-rw-r--r--net-dialup/mgetty/files/mgetty-1.1.35-strerror.patch47
4 files changed, 100 insertions, 0 deletions
diff --git a/net-dialup/mgetty/files/digest-mgetty-1.1.35 b/net-dialup/mgetty/files/digest-mgetty-1.1.35
new file mode 100644
index 000000000000..dffc225411d0
--- /dev/null
+++ b/net-dialup/mgetty/files/digest-mgetty-1.1.35
@@ -0,0 +1 @@
+MD5 6805f8e31423bb777be80e3a856001cb mgetty1.1.35-Feb22.tar.gz 1023412
diff --git a/net-dialup/mgetty/files/mgetty-1.1.35-callback.patch b/net-dialup/mgetty/files/mgetty-1.1.35-callback.patch
new file mode 100644
index 000000000000..c1d1f9d9b13a
--- /dev/null
+++ b/net-dialup/mgetty/files/mgetty-1.1.35-callback.patch
@@ -0,0 +1,26 @@
+diff -Nru mgetty-1.1.35.orig/Makefile mgetty-1.1.35/Makefile
+--- mgetty-1.1.35.orig/Makefile 2006-02-22 15:58:33.000000000 +0200
++++ mgetty-1.1.35/Makefile 2006-03-12 19:29:07.362329250 +0200
+@@ -164,7 +164,7 @@
+ #
+ # if your systems doesn't have one, use the shell script that I provide
+ # in "inst.sh" (taken from X11R5). Needed on IRIX5.2
+-INSTALL=install -c -o bin -g bin
++INSTALL=install -c
+ #INSTALL=install -c -o root -g wheel # NeXT/BSD
+ #INSTALL=/usr/ucb/install -c -o bin -g bin # AIX, Solaris 2.x
+ #INSTALL=installbsd -c -o bin -g bin # OSF/1, AIX 4.1, 4.2
+@@ -698,6 +698,13 @@
+
+ install-vgetty: vgetty-install
+
++install-callback:
++ cd callback; $(MAKE) CFLAGS="$(CFLAGS)" CC="$(CC)" LDFLAGS="$(LDFLAGS)" \
++ BINDIR="$(BINDIR)" SBINDIR="$(SBINDIR)" LIBDIR="$(LIBDIR)" \
++ CONFDIR="$(CONFDIR)" MAN1DIR="$(MAN1DIR)" MAN8DIR="$(MAN8DIR)" INSTALL="$(INSTALL)" \
++ LN="$(LN)" MV="$(MV)" RM="$(RM)" \
++ LIBS="$(LIBS)" install
++
+ ## test suite
+ test: bin-all
+ for D in g3 t ; do \
diff --git a/net-dialup/mgetty/files/mgetty-1.1.35-gentoo.patch b/net-dialup/mgetty/files/mgetty-1.1.35-gentoo.patch
new file mode 100644
index 000000000000..79897e8c7f41
--- /dev/null
+++ b/net-dialup/mgetty/files/mgetty-1.1.35-gentoo.patch
@@ -0,0 +1,26 @@
+diff -Nru mgetty-1.1.35.orig/doc/mgetty.texi-in mgetty-1.1.35/doc/mgetty.texi-in
+--- mgetty-1.1.35.orig/doc/mgetty.texi-in 2005-12-30 23:43:49.000000000 +0200
++++ mgetty-1.1.35/doc/mgetty.texi-in 2006-03-12 19:32:41.331701500 +0200
+@@ -19,6 +19,11 @@
+ Copyright @copyright{} 1993-2005 Gert Doering
+ @end ifinfo
+
++@dircategory User
++@direntry
++* MGETTY: (mgetty). Modem+Voice+Fax utilities
++@end direntry
++
+ @titlepage
+ @sp 6
+ @center @titlefont{mgetty+sendfax}
+diff -Nru mgetty-1.1.35.orig/voice/Makefile mgetty-1.1.35/voice/Makefile
+--- mgetty-1.1.35.orig/voice/Makefile 2001-12-23 17:08:13.000000000 +0200
++++ mgetty-1.1.35/voice/Makefile 2006-03-12 19:32:41.339702000 +0200
+@@ -85,6 +85,7 @@
+ @echo ""
+ $(INSTALL) -m 700 vgetty/vgetty $(SBINDIR)
+ $(INSTALL) -m 755 vm/vm $(BINDIR)
++ $(INSTALL) -m 644 voice.conf-dist $(CONFDIR)/voice.conf
+ for i in $(PVFTOOLS); \
+ do \
+ $(INSTALL) -m 755 pvftools/$$i $(BINDIR); \
diff --git a/net-dialup/mgetty/files/mgetty-1.1.35-strerror.patch b/net-dialup/mgetty/files/mgetty-1.1.35-strerror.patch
new file mode 100644
index 000000000000..a2057d3f7b9b
--- /dev/null
+++ b/net-dialup/mgetty/files/mgetty-1.1.35-strerror.patch
@@ -0,0 +1,47 @@
+diff -Nru mgetty-1.1.35.orig/logfile.c mgetty-1.1.35/logfile.c
+--- mgetty-1.1.35.orig/logfile.c 2005-11-26 15:48:16.000000000 +0200
++++ mgetty-1.1.35/logfile.c 2006-03-12 19:30:46.556528500 +0200
+@@ -58,10 +58,10 @@
+ /* Most systems have these variables but do not declare them. On many
+ of those systems that _do_ declare them, it won't hurt */
+
+-#if !defined(__NetBSD__) && !defined( __FreeBSD__ ) && !defined(__OpenBSD__) && !defined(__GLIBC__) && !defined(__MACH__)
++/*#if !defined(__NetBSD__) && !defined( __FreeBSD__ ) && !defined(__OpenBSD__) && !defined(__GLIBC__) && !defined(__MACH__)
+ extern int sys_nerr;
+ extern char *sys_errlist[];
+-#endif
++#endif*/
+
+ /* Interactive Unix is a little bit braindead - does not have atexit(),
+ */
+@@ -211,6 +211,7 @@
+ va_list pvar;
+ int errnr;
+ char * p;
++char *error_string;
+ static int first_open = TRUE;
+
+ if ( level > log_level ) /* log level high enough? */
+@@ -327,12 +328,20 @@
+ }
+ else /* ERROR or FATAL */
+ {
++ error_string = strerror (errnr);
++ if ( error_string == NULL )
++ {
++ if ( errno == EINVAL )
++ error_string = "<error not in list>";
++ else
++ error_string = "<error calling strerror()>";
++ }
++
+ fprintf(log_fp, "\n%02d/%02d %02d:%02d:%02d %s %s: %s",
+ tm->tm_mon+1, tm->tm_mday,
+ tm->tm_hour, tm->tm_min, tm->tm_sec,
+ log_infix, ws,
+- ( errnr <= sys_nerr ) ? sys_errlist[errnr]:
+- "<error not in list>" );
++ strerror (errnr));
+ #ifdef SYSLOG
+ syslog( level == L_FATAL? LOG_ALERT: LOG_ERR, "%s: %m", ws );
+ #endif