summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2009-08-31 18:41:35 +0000
committerAlin Năstac <mrness@gentoo.org>2009-08-31 18:41:35 +0000
commit3d599196f82a8cb738ad4d3d07678779d6a1b3b1 (patch)
treefc9c0ed5bac9133b50d9209bf8f2615adb046047
parentMarking musepack-tools-444 ~ppc64 for bug 279069 (diff)
downloadhistorical-3d599196f82a8cb738ad4d3d07678779d6a1b3b1.tar.gz
historical-3d599196f82a8cb738ad4d3d07678779d6a1b3b1.tar.bz2
historical-3d599196f82a8cb738ad4d3d07678779d6a1b3b1.zip
Fix broken nofax.patch and yet another parallelization bug in the main Makefile (#282674).
Package-Manager: portage-2.1.6.13/cvs/Linux x86_64
-rw-r--r--net-dialup/mgetty/ChangeLog7
-rw-r--r--net-dialup/mgetty/Manifest16
-rw-r--r--net-dialup/mgetty/files/mgetty-1.1.36-nofax.patch10
-rw-r--r--net-dialup/mgetty/files/mgetty-1.1.36-qa-fixes.patch115
4 files changed, 86 insertions, 62 deletions
diff --git a/net-dialup/mgetty/ChangeLog b/net-dialup/mgetty/ChangeLog
index f1536e6491cd..72b99d0770be 100644
--- a/net-dialup/mgetty/ChangeLog
+++ b/net-dialup/mgetty/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-dialup/mgetty
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/mgetty/ChangeLog,v 1.97 2009/08/22 08:51:39 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/mgetty/ChangeLog,v 1.98 2009/08/31 18:41:35 mrness Exp $
+
+ 31 Aug 2009; Alin Năstac <mrness@gentoo.org>
+ files/mgetty-1.1.36-nofax.patch, files/mgetty-1.1.36-qa-fixes.patch:
+ Fix broken nofax.patch and yet another parallelization bug in the main
+ Makefile (#282674).
22 Aug 2009; Alin Năstac <mrness@gentoo.org>
files/mgetty-1.1.36-qa-fixes.patch, mgetty-1.1.36-r3.ebuild:
diff --git a/net-dialup/mgetty/Manifest b/net-dialup/mgetty/Manifest
index f281252b44cf..346ea7ba76d8 100644
--- a/net-dialup/mgetty/Manifest
+++ b/net-dialup/mgetty/Manifest
@@ -1,10 +1,20 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX Lucent.c.patch 814 RMD160 686381b3ff22415c3d6a158501ffd1001fd87173 SHA1 c8b62a51af629ad0128a886ae3a78915618113ac SHA256 67770841c024a135efe7fffe24028829366b6da74195ccf43c71d7162738b2e2
AUX mgetty-1.1.36-callback.patch 991 RMD160 fd6b6198865a7cdafe66031014b55a07d217e011 SHA1 28f50f9ad16f5fc928be180ec77db913283b59be SHA256 881df3df8299deea291b1d823ccb0c61430c2f1a2b8f0af4b8ae334d9f6ffb44
AUX mgetty-1.1.36-gentoo.patch 5746 RMD160 59810be601f24213aa4cfcd7f73e0efafa8b33c9 SHA1 959bcd2da70cf8ed6d04573acdc86eee80292573 SHA256 f8124ea78ef813233aa050d25deb45c3c2c667bb8ab8a1f0ce35ef3ed74ef952
-AUX mgetty-1.1.36-nofax.patch 3577 RMD160 1b6cab9f23eb3751fda601e40fe041696836d3a0 SHA1 6d797fd76b636cf950c925615fa7a2c2e99f06a9 SHA256 1b5f270d3589084bda15ef38dcb138113cbe5700287b9b7d89384f1d82867f22
-AUX mgetty-1.1.36-qa-fixes.patch 5557 RMD160 49be23e78fa0a7e52d66c509ba5f410bcda5e7ee SHA1 bec371346345b30011b54f8bb503df7b1ffce5a5 SHA256 276b64fd94ce360bc5dbb5512f4c44bd5b0e3c3c189d833af570b5d38ec9cb3b
+AUX mgetty-1.1.36-nofax.patch 3603 RMD160 3e7880d9ca3bd770177b261de0f22be9fc105316 SHA1 93c409a5b471dd317ab489365eb05720e9710d24 SHA256 0ac3833f007b658a1dfef9826395730d00eefac7232b23ec01f5b20692f0747b
+AUX mgetty-1.1.36-qa-fixes.patch 6005 RMD160 63ef6447fceb32bb1ad161661ff73bf70e6c6cbd SHA1 3f411dbb2b6a100c0443a76d4b50e2ed270aed99 SHA256 55be2d00ff0968c76bb9994ac884d948e52fd9596e9d9449e9055d937999a726
AUX mgetty-1.1.36-tmpfile.patch 796 RMD160 9b45aff46b44bbd38253709bf7d285ccef279401 SHA1 cc4cb771eea571b7cde88807476623810984b8d6 SHA256 22c99bdcf54fe15458c17ee886d24d7d837b8f5642c022dd5542b77a2f7fce68
DIST mgetty1.1.36-Jun15.tar.gz 1046324 RMD160 421c72b8534c6665c46033d5fe1018ba1300fd50 SHA1 a9627e241502c505465a9c8ffadc09dd7d90fc02 SHA256 8b8642aa318604ad057ed161cacff5c600296cbfbc9b4d562134ee5c130c80ce
EBUILD mgetty-1.1.36-r3.ebuild 4713 RMD160 58170f9546e8279746cbb7ef7d7728fa8221b4b9 SHA1 37012ff8ff93342c502a9f4cfb9022269de4ec31 SHA256 40e90cd5c1ce105e53b3bc16ce8da35fdbff8b6b4499c6ccf61b85f6d22ee09f
-MISC ChangeLog 15104 RMD160 4b64554b60bf4eabfcf9da8be07d61e557947e4d SHA1 9f6c584a79eebb9a2da3c50be6e62761337dd4d6 SHA256 69c8ab74d965cb99af3b00a5c7bbe51cec7732a0b2e8a51b3ff4fe7dba53b6e5
+MISC ChangeLog 15319 RMD160 2d897cacad05e90b097ec655c20b9a9cdeaf7388 SHA1 08fd0212f359a915159c67fbd274e833c9087e92 SHA256 2d6168d8da30c392cada0f064c6df0b14aa7f616e550c69089c2c6b5b179dd91
MISC metadata.xml 488 RMD160 db4e5106fed1b87d107149371ea951856aadad24 SHA1 8b38e5d784b606e272aef35707a5760ba67f76b4 SHA256 2fc599d4ff24c2ea89339d5fc8c0794e5ef0b035bac0a99f1726b10363a9543d
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.11 (GNU/Linux)
+
+iEYEARECAAYFAkqcGkEACgkQ9A5kJBGSrssk4ACfRrKFPE5lcNXrAOnq7Md6axUb
+pxsAn2y8/FYe4fbCr+aAhFHa1SywrOT8
+=WcUF
+-----END PGP SIGNATURE-----
diff --git a/net-dialup/mgetty/files/mgetty-1.1.36-nofax.patch b/net-dialup/mgetty/files/mgetty-1.1.36-nofax.patch
index 7fcf7a44655e..a65f867edf64 100644
--- a/net-dialup/mgetty/files/mgetty-1.1.36-nofax.patch
+++ b/net-dialup/mgetty/files/mgetty-1.1.36-nofax.patch
@@ -31,7 +31,7 @@ diff -Nru mgetty-1.1.36.orig/Makefile mgetty-1.1.36/Makefile
@@ -362,9 +362,7 @@
# subdirectories...
- subdirs:
+ subdirs: sedscript
- cd g3 ; $(MAKE) "CC=$(CC)" "CFLAGS=$(CFLAGS) -I.." "LDFLAGS=$(LDFLAGS)" "LIBS=$(LIBS)" all
cd tools ; $(MAKE) "CC=$(CC)" "CFLAGS=$(CFLAGS) -I.." "LDFLAGS=$(LDFLAGS)" "LIBS=$(LIBS)" all
- cd fax ; $(MAKE) "CC=$(CC)" "CFLAGS=$(CFLAGS) -I.." "LDFLAGS=$(LDFLAGS)" "LIBS=$(LIBS)" "FAX_SPOOL_OUT=$(FAX_SPOOL_OUT)" "FAX_OUT_USER=$(FAX_OUT_USER)" "CONFDIR=$(CONFDIR)" all
@@ -66,15 +66,15 @@ diff -Nru mgetty-1.1.36.orig/Makefile mgetty-1.1.36/Makefile
-# fax spool directories
-#
- test -d $(spool) || \
-- ( mkdir $(spool) && chmod 755 $(spool) )
+- ( ./mkidirs $(spool) && chmod 755 $(spool) )
- test -d $(FAX_SPOOL) || \
-- ( mkdir $(FAX_SPOOL) && \
+- ( ./mkidirs $(FAX_SPOOL) && \
- chown $(FAX_OUT_USER) $(FAX_SPOOL) && \
- chmod 755 $(FAX_SPOOL) )
- test -d $(FAX_SPOOL_IN) || \
-- ( mkdir $(FAX_SPOOL_IN) && chmod 755 $(FAX_SPOOL_IN) )
+- ( ./mkidirs $(FAX_SPOOL_IN) && chmod 755 $(FAX_SPOOL_IN) )
- test -d $(FAX_SPOOL_OUT) || \
-- mkdir $(FAX_SPOOL_OUT)
+- ./mkidirs $(FAX_SPOOL_OUT)
- chown $(FAX_OUT_USER) $(FAX_SPOOL_OUT)
- chmod 755 $(FAX_SPOOL_OUT)
-#
diff --git a/net-dialup/mgetty/files/mgetty-1.1.36-qa-fixes.patch b/net-dialup/mgetty/files/mgetty-1.1.36-qa-fixes.patch
index c43a8724dc3f..69ae072fd696 100644
--- a/net-dialup/mgetty/files/mgetty-1.1.36-qa-fixes.patch
+++ b/net-dialup/mgetty/files/mgetty-1.1.36-qa-fixes.patch
@@ -1,29 +1,6 @@
-diff -Nru mgetty-1.1.36.orig/Makefile mgetty-1.1.36/Makefile
---- mgetty-1.1.36.orig/Makefile 2009-08-22 10:37:19.000000000 +0200
-+++ mgetty-1.1.36/Makefile 2009-08-22 10:43:31.000000000 +0200
-@@ -617,15 +617,15 @@
- # fax spool directories
- #
- test -d $(spool) || \
-- ( mkdir $(spool) && chmod 755 $(spool) )
-+ ( ./mkidirs $(spool) && chmod 755 $(spool) )
- test -d $(FAX_SPOOL) || \
-- ( mkdir $(FAX_SPOOL) && \
-+ ( ./mkidirs $(FAX_SPOOL) && \
- chown $(FAX_OUT_USER) $(FAX_SPOOL) && \
- chmod 755 $(FAX_SPOOL) )
- test -d $(FAX_SPOOL_IN) || \
-- ( mkdir $(FAX_SPOOL_IN) && chmod 755 $(FAX_SPOOL_IN) )
-+ ( ./mkidirs $(FAX_SPOOL_IN) && chmod 755 $(FAX_SPOOL_IN) )
- test -d $(FAX_SPOOL_OUT) || \
-- mkdir $(FAX_SPOOL_OUT)
-+ ./mkidirs $(FAX_SPOOL_OUT)
- chown $(FAX_OUT_USER) $(FAX_SPOOL_OUT)
- chmod 755 $(FAX_SPOOL_OUT)
- #
diff -Nru mgetty-1.1.36.orig/doc/Makefile mgetty-1.1.36/doc/Makefile
---- mgetty-1.1.36.orig/doc/Makefile 2009-08-22 09:25:53.000000000 +0200
-+++ mgetty-1.1.36/doc/Makefile 2009-08-22 09:35:54.000000000 +0200
+--- mgetty-1.1.36.orig/doc/Makefile 2006-02-22 18:35:02.000000000 +0100
++++ mgetty-1.1.36/doc/Makefile 2009-08-31 20:31:01.000000000 +0200
@@ -63,7 +63,7 @@
*.man *.[1-9] mgetty.texi
@@ -54,27 +31,9 @@ diff -Nru mgetty-1.1.36.orig/doc/Makefile mgetty-1.1.36/doc/Makefile
../sedscript <$< >$*.8
#
-diff -Nru mgetty-1.1.36.orig/frontends/www/Makefile mgetty-1.1.36/frontends/www/Makefile
---- mgetty-1.1.36.orig/frontends/www/Makefile 2006-02-22 18:25:32.000000000 +0100
-+++ mgetty-1.1.36/frontends/www/Makefile 2009-08-22 09:39:03.000000000 +0200
-@@ -125,12 +125,12 @@
- #
- .SUFFIXES: .in .cgi .html
-
--.in.cgi:
-+.in.cgi: ../../sedscript
- rm -f $*.cgi
- ../../sedscript <$< >$*.cgi
- chmod +x $*.cgi
-
--.in.html:
-+.in.html: ../../sedscript
- rm -f $*.html
- ../../sedscript <$< | \
- sed -e "s!@CGI_HREF@!$(CGI_HREF)!" >$*.html
diff -Nru mgetty-1.1.36.orig/fax/Makefile mgetty-1.1.36/fax/Makefile
---- mgetty-1.1.36.orig/fax/Makefile 2006-02-22 19:25:30.000000000 +0200
-+++ mgetty-1.1.36/fax/Makefile 2007-09-14 23:02:58.000000000 +0300
+--- mgetty-1.1.36.orig/fax/Makefile 2006-02-22 18:25:30.000000000 +0100
++++ mgetty-1.1.36/fax/Makefile 2009-08-31 20:31:01.000000000 +0200
@@ -36,7 +36,7 @@
@cd .. ; $(MAKE) sedscript
@@ -85,8 +44,8 @@ diff -Nru mgetty-1.1.36.orig/fax/Makefile mgetty-1.1.36/fax/Makefile
faxq-helper.o: faxq-helper.c ../sedscript
$(CC) $(CFLAGS) -DFAX_SPOOL_OUT=\"$(FAX_SPOOL_OUT)\" \
diff -Nru mgetty-1.1.36.orig/fax_lib.h mgetty-1.1.36/fax_lib.h
---- mgetty-1.1.36.orig/fax_lib.h 2007-06-15 09:44:36.000000000 +0300
-+++ mgetty-1.1.36/fax_lib.h 2007-09-14 22:29:47.000000000 +0300
+--- mgetty-1.1.36.orig/fax_lib.h 2007-06-15 08:44:36.000000000 +0200
++++ mgetty-1.1.36/fax_lib.h 2009-08-31 20:31:01.000000000 +0200
@@ -41,6 +41,7 @@
int fax_set_fdcc _PROTO(( int fd, int fine, int maxsp, int minsp ));
int fax_set_bor _PROTO(( int fd, int bit_order ));
@@ -95,9 +54,27 @@ diff -Nru mgetty-1.1.36.orig/fax_lib.h mgetty-1.1.36/fax_lib.h
int mdm_identify _PROTO(( int fd ));
void fax2_incoming_nsf _PROTO(( char * nsf_hex ));
void fax1_incoming_nsf _PROTO(( uch * nsf_bin, int len ));
+diff -Nru mgetty-1.1.36.orig/frontends/www/Makefile mgetty-1.1.36/frontends/www/Makefile
+--- mgetty-1.1.36.orig/frontends/www/Makefile 2006-02-22 18:25:32.000000000 +0100
++++ mgetty-1.1.36/frontends/www/Makefile 2009-08-31 20:31:01.000000000 +0200
+@@ -125,12 +125,12 @@
+ #
+ .SUFFIXES: .in .cgi .html
+
+-.in.cgi:
++.in.cgi: ../../sedscript
+ rm -f $*.cgi
+ ../../sedscript <$< >$*.cgi
+ chmod +x $*.cgi
+
+-.in.html:
++.in.html: ../../sedscript
+ rm -f $*.html
+ ../../sedscript <$< | \
+ sed -e "s!@CGI_HREF@!$(CGI_HREF)!" >$*.html
diff -Nru mgetty-1.1.36.orig/logfile.c mgetty-1.1.36/logfile.c
---- mgetty-1.1.36.orig/logfile.c 2005-11-26 15:48:16.000000000 +0200
-+++ mgetty-1.1.36/logfile.c 2007-09-14 22:25:13.000000000 +0300
+--- mgetty-1.1.36.orig/logfile.c 2005-11-26 14:48:16.000000000 +0100
++++ mgetty-1.1.36/logfile.c 2009-08-31 20:31:01.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 */
@@ -142,9 +119,41 @@ diff -Nru mgetty-1.1.36.orig/logfile.c mgetty-1.1.36/logfile.c
#ifdef SYSLOG
syslog( level == L_FATAL? LOG_ALERT: LOG_ERR, "%s: %m", ws );
#endif
+diff -Nru mgetty-1.1.36.orig/Makefile mgetty-1.1.36/Makefile
+--- mgetty-1.1.36.orig/Makefile 2009-08-31 20:30:33.000000000 +0200
++++ mgetty-1.1.36/Makefile 2009-08-31 20:32:08.000000000 +0200
+@@ -361,7 +361,7 @@
+
+ # subdirectories...
+
+-subdirs:
++subdirs: sedscript
+ cd g3 ; $(MAKE) "CC=$(CC)" "CFLAGS=$(CFLAGS) -I.." "LDFLAGS=$(LDFLAGS)" "LIBS=$(LIBS)" all
+ cd tools ; $(MAKE) "CC=$(CC)" "CFLAGS=$(CFLAGS) -I.." "LDFLAGS=$(LDFLAGS)" "LIBS=$(LIBS)" all
+ cd fax ; $(MAKE) "CC=$(CC)" "CFLAGS=$(CFLAGS) -I.." "LDFLAGS=$(LDFLAGS)" "LIBS=$(LIBS)" "FAX_SPOOL_OUT=$(FAX_SPOOL_OUT)" "FAX_OUT_USER=$(FAX_OUT_USER)" "CONFDIR=$(CONFDIR)" all
+@@ -617,15 +617,15 @@
+ # fax spool directories
+ #
+ test -d $(spool) || \
+- ( mkdir $(spool) && chmod 755 $(spool) )
++ ( ./mkidirs $(spool) && chmod 755 $(spool) )
+ test -d $(FAX_SPOOL) || \
+- ( mkdir $(FAX_SPOOL) && \
++ ( ./mkidirs $(FAX_SPOOL) && \
+ chown $(FAX_OUT_USER) $(FAX_SPOOL) && \
+ chmod 755 $(FAX_SPOOL) )
+ test -d $(FAX_SPOOL_IN) || \
+- ( mkdir $(FAX_SPOOL_IN) && chmod 755 $(FAX_SPOOL_IN) )
++ ( ./mkidirs $(FAX_SPOOL_IN) && chmod 755 $(FAX_SPOOL_IN) )
+ test -d $(FAX_SPOOL_OUT) || \
+- mkdir $(FAX_SPOOL_OUT)
++ ./mkidirs $(FAX_SPOOL_OUT)
+ chown $(FAX_OUT_USER) $(FAX_SPOOL_OUT)
+ chmod 755 $(FAX_SPOOL_OUT)
+ #
diff -Nru mgetty-1.1.36.orig/t/t_g3f_c.c mgetty-1.1.36/t/t_g3f_c.c
---- mgetty-1.1.36.orig/t/t_g3f_c.c 2007-05-05 15:03:03.000000000 +0300
-+++ mgetty-1.1.36/t/t_g3f_c.c 2007-09-14 22:26:36.000000000 +0300
+--- mgetty-1.1.36.orig/t/t_g3f_c.c 2007-05-05 14:03:03.000000000 +0200
++++ mgetty-1.1.36/t/t_g3f_c.c 2009-08-31 20:31:01.000000000 +0200
@@ -19,6 +19,7 @@
#include "fax_lib.h"
@@ -154,8 +163,8 @@ diff -Nru mgetty-1.1.36.orig/t/t_g3f_c.c mgetty-1.1.36/t/t_g3f_c.c
#include <errno.h>
#include <stdlib.h>
diff -Nru mgetty-1.1.36.orig/t/t_ring.c mgetty-1.1.36/t/t_ring.c
---- mgetty-1.1.36.orig/t/t_ring.c 2005-03-23 11:56:21.000000000 +0200
-+++ mgetty-1.1.36/t/t_ring.c 2007-09-14 22:25:07.000000000 +0300
+--- mgetty-1.1.36.orig/t/t_ring.c 2005-03-23 10:56:21.000000000 +0100
++++ mgetty-1.1.36/t/t_ring.c 2009-08-31 20:31:01.000000000 +0200
@@ -24,6 +24,7 @@
#include "mgetty.h"