summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2006-01-09 09:08:41 +0000
committerAlin Năstac <mrness@gentoo.org>2006-01-09 09:08:41 +0000
commitc85ca3cb9d99ef82abd1595279aeda5fa0c26501 (patch)
tree5af6a5e61671e23c504dace79b45735de5bb7e53 /net-dialup/mgetty/files
parentjohntheripper runs free unmasked (diff)
downloadhistorical-c85ca3cb9d99ef82abd1595279aeda5fa0c26501.tar.gz
historical-c85ca3cb9d99ef82abd1595279aeda5fa0c26501.tar.bz2
historical-c85ca3cb9d99ef82abd1595279aeda5fa0c26501.zip
Add description to metadata.xml. Mark 1.1.33 stable on x86. Version bump.
Package-Manager: portage-2.0.53
Diffstat (limited to 'net-dialup/mgetty/files')
-rw-r--r--net-dialup/mgetty/files/digest-mgetty-1.1.341
-rw-r--r--net-dialup/mgetty/files/mgetty-1.1.34-callback.patch26
-rw-r--r--net-dialup/mgetty/files/mgetty-1.1.34-gentoo.patch26
-rw-r--r--net-dialup/mgetty/files/mgetty-1.1.34-strerror.patch47
4 files changed, 100 insertions, 0 deletions
diff --git a/net-dialup/mgetty/files/digest-mgetty-1.1.34 b/net-dialup/mgetty/files/digest-mgetty-1.1.34
new file mode 100644
index 000000000000..460f29a40cc5
--- /dev/null
+++ b/net-dialup/mgetty/files/digest-mgetty-1.1.34
@@ -0,0 +1 @@
+MD5 d34f9bf55cadbcf62dc044c9de88a148 mgetty1.1.34-Nov30.tar.gz 1027591
diff --git a/net-dialup/mgetty/files/mgetty-1.1.34-callback.patch b/net-dialup/mgetty/files/mgetty-1.1.34-callback.patch
new file mode 100644
index 000000000000..9ca066e4cd79
--- /dev/null
+++ b/net-dialup/mgetty/files/mgetty-1.1.34-callback.patch
@@ -0,0 +1,26 @@
+diff -Nur mgetty-1.1.34.orig/Makefile mgetty-1.1.34/Makefile
+--- mgetty-1.1.34.orig/Makefile 2005-11-27 10:16:49.000000000 +0200
++++ mgetty-1.1.34/Makefile 2006-01-09 10:24:04.000000000 +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
+@@ -696,6 +696,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.34-gentoo.patch b/net-dialup/mgetty/files/mgetty-1.1.34-gentoo.patch
new file mode 100644
index 000000000000..b3b8ee9edf00
--- /dev/null
+++ b/net-dialup/mgetty/files/mgetty-1.1.34-gentoo.patch
@@ -0,0 +1,26 @@
+diff -Nur mgetty-1.1.34.orig/doc/mgetty.texi-in mgetty-1.1.34/doc/mgetty.texi-in
+--- mgetty-1.1.34.orig/doc/mgetty.texi-in 2005-11-26 15:25:52.000000000 +0200
++++ mgetty-1.1.34/doc/mgetty.texi-in 2006-01-09 10:23:02.000000000 +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 -Nur mgetty-1.1.34.orig/voice/Makefile mgetty-1.1.34/voice/Makefile
+--- mgetty-1.1.34.orig/voice/Makefile 2001-12-23 17:08:13.000000000 +0200
++++ mgetty-1.1.34/voice/Makefile 2006-01-09 10:23:02.000000000 +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.34-strerror.patch b/net-dialup/mgetty/files/mgetty-1.1.34-strerror.patch
new file mode 100644
index 000000000000..e31c5a49c54d
--- /dev/null
+++ b/net-dialup/mgetty/files/mgetty-1.1.34-strerror.patch
@@ -0,0 +1,47 @@
+diff -Nur mgetty-1.1.34.orig/logfile.c mgetty-1.1.34/logfile.c
+--- mgetty-1.1.34.orig/logfile.c 2005-11-26 15:48:16.000000000 +0200
++++ mgetty-1.1.34/logfile.c 2006-01-09 10:27:09.000000000 +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