summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-dialup/mgetty/Manifest75
-rw-r--r--net-dialup/mgetty/files/digest-mgetty-1.1.30-r21
-rw-r--r--net-dialup/mgetty/files/digest-mgetty-1.1.30-r31
-rw-r--r--net-dialup/mgetty/files/digest-mgetty-1.1.31-r11
-rw-r--r--net-dialup/mgetty/files/mgetty-1.1.30-gentoo.diff75
-rw-r--r--net-dialup/mgetty/files/mgetty-1.1.31-callback.diff26
-rw-r--r--net-dialup/mgetty/files/mgetty-1.1.31-gentoo.diff75
-rw-r--r--net-dialup/mgetty/files/mgetty-1.1.31-logfile.c.diff48
-rw-r--r--net-dialup/mgetty/files/mgetty-1.1.31-r1-gentoo.diff26
-rw-r--r--net-dialup/mgetty/mgetty-1.1.30-r2.ebuild151
-rw-r--r--net-dialup/mgetty/mgetty-1.1.30-r3.ebuild156
-rw-r--r--net-dialup/mgetty/mgetty-1.1.31-r1.ebuild137
12 files changed, 16 insertions, 756 deletions
diff --git a/net-dialup/mgetty/Manifest b/net-dialup/mgetty/Manifest
index 0d3f8940c5ab..90bd06da9844 100644
--- a/net-dialup/mgetty/Manifest
+++ b/net-dialup/mgetty/Manifest
@@ -5,26 +5,6 @@ AUX Lucent.c.patch 814 RMD160 686381b3ff22415c3d6a158501ffd1001fd87173 SHA1 c8b6
MD5 503ed4bbf18bb0b46850cb173873e16a files/Lucent.c.patch 814
RMD160 686381b3ff22415c3d6a158501ffd1001fd87173 files/Lucent.c.patch 814
SHA256 67770841c024a135efe7fffe24028829366b6da74195ccf43c71d7162738b2e2 files/Lucent.c.patch 814
-AUX mgetty-1.1.30-gentoo.diff 2771 RMD160 86f400f1e753dd16589eba5b38771a0054d93fea SHA1 cb813cd99b430768fb9b5275cc29e0a892de2113 SHA256 270035ee4d9014815c66399644978eff0bb59e44a73a050c0850f822db247a13
-MD5 bc47f96a12b21b779d57c0c2ad4b6837 files/mgetty-1.1.30-gentoo.diff 2771
-RMD160 86f400f1e753dd16589eba5b38771a0054d93fea files/mgetty-1.1.30-gentoo.diff 2771
-SHA256 270035ee4d9014815c66399644978eff0bb59e44a73a050c0850f822db247a13 files/mgetty-1.1.30-gentoo.diff 2771
-AUX mgetty-1.1.31-callback.diff 989 RMD160 98d26564299b79f3d951ec9f98a323d99da95cf2 SHA1 5df6282df75c79046b4bf109e19d9025a0a27f17 SHA256 9249e20b6b23c995cc420c3cc052ccd759edd9301a29be10e542aa6baa56d46d
-MD5 4e57a595747a3348f58b9e0acb19b5b7 files/mgetty-1.1.31-callback.diff 989
-RMD160 98d26564299b79f3d951ec9f98a323d99da95cf2 files/mgetty-1.1.31-callback.diff 989
-SHA256 9249e20b6b23c995cc420c3cc052ccd759edd9301a29be10e542aa6baa56d46d files/mgetty-1.1.31-callback.diff 989
-AUX mgetty-1.1.31-gentoo.diff 2782 RMD160 efd2c079f57d661e9781f3c3c4f437507aed3b9b SHA1 f9ba8883a01ec71b9bdbfa01647c48e00227859c SHA256 5a13ccd0dd9633b1b069b460a84a0af852060385e75167b4c695b07f1efb9c66
-MD5 9b39643283b470533c7e4832364aa168 files/mgetty-1.1.31-gentoo.diff 2782
-RMD160 efd2c079f57d661e9781f3c3c4f437507aed3b9b files/mgetty-1.1.31-gentoo.diff 2782
-SHA256 5a13ccd0dd9633b1b069b460a84a0af852060385e75167b4c695b07f1efb9c66 files/mgetty-1.1.31-gentoo.diff 2782
-AUX mgetty-1.1.31-logfile.c.diff 1581 RMD160 839b03bb897e9b3c00a90a22fe9a6b05e22bea72 SHA1 cf0cbaf849543280567b0b633d5e8e2f1abddf5a SHA256 f502096b8dd458c008e4a628f60dbebe847474a4bfc4e0a0bbcd1e669b33cc07
-MD5 98aeee2f59082edadd2c9f85e0fe4fde files/mgetty-1.1.31-logfile.c.diff 1581
-RMD160 839b03bb897e9b3c00a90a22fe9a6b05e22bea72 files/mgetty-1.1.31-logfile.c.diff 1581
-SHA256 f502096b8dd458c008e4a628f60dbebe847474a4bfc4e0a0bbcd1e669b33cc07 files/mgetty-1.1.31-logfile.c.diff 1581
-AUX mgetty-1.1.31-r1-gentoo.diff 931 RMD160 b54601529bf6de33960d895a463df37b58b7f6ed SHA1 530a474f2cca82bf413e44f90cfe2edfbe099600 SHA256 9ae196280008bd6deb7fd75105dd1eec610ef89cddb47dca6d695b26de3a766f
-MD5 90e6cd2de64fc408ab4103ce1800133f files/mgetty-1.1.31-r1-gentoo.diff 931
-RMD160 b54601529bf6de33960d895a463df37b58b7f6ed files/mgetty-1.1.31-r1-gentoo.diff 931
-SHA256 9ae196280008bd6deb7fd75105dd1eec610ef89cddb47dca6d695b26de3a766f files/mgetty-1.1.31-r1-gentoo.diff 931
AUX mgetty-1.1.33-callback.diff 991 RMD160 bcdedd383e889be91a478463244a6242fd03b992 SHA1 93f2e71178a99359f7f453fd020fce54b86015ff SHA256 a97062e4b4d296ab7744f5f121e8750dfb271298776c953d61efca11eb122f67
MD5 c1e91ed1386ed8e49d88ffca11b2c194 files/mgetty-1.1.33-callback.diff 991
RMD160 bcdedd383e889be91a478463244a6242fd03b992 files/mgetty-1.1.33-callback.diff 991
@@ -65,23 +45,9 @@ AUX mgetty-1.1.35-strerror.patch 1573 RMD160 b3b973247539545f90adee99efb50cc53ab
MD5 27565fcde66bcc4c9741fd88dea30d04 files/mgetty-1.1.35-strerror.patch 1573
RMD160 b3b973247539545f90adee99efb50cc53ab0828a files/mgetty-1.1.35-strerror.patch 1573
SHA256 fa3d890c6aee0291db1faf4f1622919b099f42d697a8fcd5079b96eb3c057a40 files/mgetty-1.1.35-strerror.patch 1573
-DIST mgetty1.1.30-Dec16.tar.gz 969967
-DIST mgetty1.1.31-Jul24.tar.gz 998462
-DIST mgetty1.1.33-Apr10.tar.gz 1024596
+DIST mgetty1.1.33-Apr10.tar.gz 1024596 RMD160 25b4a2056f7e09ad90a256fcbfb3c21c22ad1b11 SHA1 ae8b3bc09426fa8d01448a4305f361f87235d4f5 SHA256 05e7b043774864a4ebd7ed6a242198095f090b6a11e879d7309a492ea0c46ca7
DIST mgetty1.1.34-Nov30.tar.gz 1027591 RMD160 0b40c6a0c20b83a9e6f5979c3e662feea38f4205 SHA1 6fab2d7975a893beac5eb327946e385415ad7d05 SHA256 cc2796f569b9501f81931e9bc2599acf3e8969826c666dce1c44a3c33f192cde
DIST mgetty1.1.35-Feb22.tar.gz 1023412 RMD160 835fc090835e3838e7d4c77a7f06a4c59869b3ab SHA1 27f46d22cbcfeac8c434d1784462a05f7425a57e SHA256 0846bfdc49f535842be033a3080b2b08499fabeec8de644c34470243d799f928
-EBUILD mgetty-1.1.30-r2.ebuild 3541 RMD160 0341ade6ec264143e2bfb9a1dc132cea7fa8969c SHA1 022f9d20d6f92df1496b97b0819183b45a51cd4f SHA256 d269fb3fbf7ebad1ca05e1faf78b28c71f68c7118265406a43ed23ee76854080
-MD5 5c1fecd73b6e0ccb0044b2997a067a8c mgetty-1.1.30-r2.ebuild 3541
-RMD160 0341ade6ec264143e2bfb9a1dc132cea7fa8969c mgetty-1.1.30-r2.ebuild 3541
-SHA256 d269fb3fbf7ebad1ca05e1faf78b28c71f68c7118265406a43ed23ee76854080 mgetty-1.1.30-r2.ebuild 3541
-EBUILD mgetty-1.1.30-r3.ebuild 3808 RMD160 51fa677ad7ba9b940931be172d213bf48b2dfe11 SHA1 05a6f8f3022b159da68574bb1d80193ab287383f SHA256 99a02f4ca512cb118bc86a97aa61d4fbbb4cb87fa0b00f2295a61f8168a05a7b
-MD5 613c00d8bb964fcd6799ffb1bd97356a mgetty-1.1.30-r3.ebuild 3808
-RMD160 51fa677ad7ba9b940931be172d213bf48b2dfe11 mgetty-1.1.30-r3.ebuild 3808
-SHA256 99a02f4ca512cb118bc86a97aa61d4fbbb4cb87fa0b00f2295a61f8168a05a7b mgetty-1.1.30-r3.ebuild 3808
-EBUILD mgetty-1.1.31-r1.ebuild 3843 RMD160 1ea648ca933bb4436a6406088cf0c3bca70a10cc SHA1 d05382602d40247388893cd3ff3298812992d9f0 SHA256 07fb66993982efcf85573ab91351bf355586ff268013b4e05c42e0673666c0ba
-MD5 292c3f40fe41b373489b01659b894ce4 mgetty-1.1.31-r1.ebuild 3843
-RMD160 1ea648ca933bb4436a6406088cf0c3bca70a10cc mgetty-1.1.31-r1.ebuild 3843
-SHA256 07fb66993982efcf85573ab91351bf355586ff268013b4e05c42e0673666c0ba mgetty-1.1.31-r1.ebuild 3843
EBUILD mgetty-1.1.33.ebuild 4309 RMD160 0dc85f08814cfa65f518ea3324997d96f5ca9988 SHA1 e7c5eab29046a3388fbdc6c5f95c01c3a4e77ae4 SHA256 1e0b287970abe454665e1e05eeb35c7d5ab0c58f3b8eb5d69aa17736995c6a44
MD5 466a46acdacbc2fff44f054a06731961 mgetty-1.1.33.ebuild 4309
RMD160 0dc85f08814cfa65f518ea3324997d96f5ca9988 mgetty-1.1.33.ebuild 4309
@@ -90,30 +56,21 @@ EBUILD mgetty-1.1.34.ebuild 4323 RMD160 189b8b0e845b73e88236daceea4c873031c161c2
MD5 8761b58020dd077b7abc74b630fd3fb2 mgetty-1.1.34.ebuild 4323
RMD160 189b8b0e845b73e88236daceea4c873031c161c2 mgetty-1.1.34.ebuild 4323
SHA256 32739e9376679e569a77aa977a66b311de1c88b8e7a2862f2ebaf0a33d5f2cf7 mgetty-1.1.34.ebuild 4323
-EBUILD mgetty-1.1.35-r1.ebuild 4365 RMD160 ca4ec78b45bb4def9336661ff79d931c64b711e0 SHA1 dd9078b82ba3db85abcb9597f98b4e3c8008e6f8 SHA256 c0dffe290c14b3821598df07fa73a4f040c86f902fd7f711d04cea2d769ee97b
-MD5 ead0b155f7c7d54f348780bac6ebd090 mgetty-1.1.35-r1.ebuild 4365
-RMD160 ca4ec78b45bb4def9336661ff79d931c64b711e0 mgetty-1.1.35-r1.ebuild 4365
-SHA256 c0dffe290c14b3821598df07fa73a4f040c86f902fd7f711d04cea2d769ee97b mgetty-1.1.35-r1.ebuild 4365
-MISC ChangeLog 9778 RMD160 6027441f59c3a8a7a4c0c307cd9776ccd033b2e9 SHA1 c55d574c3080c2499d149d35ff70e0e93a377a1b SHA256 b880c5c4974ce84155671321c2cb6360a8fddd5c8a3da03b5ae0030763c87850
-MD5 3c54843e93a41a07275840aa4dc3cfcf ChangeLog 9778
-RMD160 6027441f59c3a8a7a4c0c307cd9776ccd033b2e9 ChangeLog 9778
-SHA256 b880c5c4974ce84155671321c2cb6360a8fddd5c8a3da03b5ae0030763c87850 ChangeLog 9778
+EBUILD mgetty-1.1.35-r1.ebuild 4409 RMD160 f10e5b973179cb4a7766d1542f6f00574d4457bb SHA1 eace6caf88217d25b8e63b6f8fc185a2f94ffcb1 SHA256 e39e67f8a87e02d7604421506497f4cb6253000504f9de3c7db770d8a104a65a
+MD5 abf7854001e859a096af5743b9542ab4 mgetty-1.1.35-r1.ebuild 4409
+RMD160 f10e5b973179cb4a7766d1542f6f00574d4457bb mgetty-1.1.35-r1.ebuild 4409
+SHA256 e39e67f8a87e02d7604421506497f4cb6253000504f9de3c7db770d8a104a65a mgetty-1.1.35-r1.ebuild 4409
+MISC ChangeLog 10226 RMD160 f458f92d36caf19a2aa1604da065abea30bce4e2 SHA1 ceca16d92cedc842b83aeb67d4468ac4e4952aed SHA256 6e59d49661fa60c1e9be533a07602c9901ca7ad57bafa832c7e16f4ab4f11d7a
+MD5 87f915c6cb3195096d682301644ccf73 ChangeLog 10226
+RMD160 f458f92d36caf19a2aa1604da065abea30bce4e2 ChangeLog 10226
+SHA256 6e59d49661fa60c1e9be533a07602c9901ca7ad57bafa832c7e16f4ab4f11d7a ChangeLog 10226
MISC metadata.xml 377 RMD160 1f17a6dbb9efe9992b812c253e63d02e93e37223 SHA1 0bde55896c3d1b16d71d1b33fc4b267b35817d5d SHA256 b6756d3fd813f8ff00f96cb472d15c9402e18001d9308dfdef1201369a4f6a6e
MD5 1bb6061bf8000d07f70ffdd74f5659f4 metadata.xml 377
RMD160 1f17a6dbb9efe9992b812c253e63d02e93e37223 metadata.xml 377
SHA256 b6756d3fd813f8ff00f96cb472d15c9402e18001d9308dfdef1201369a4f6a6e metadata.xml 377
-MD5 c9b070dfabf7bd139d53d263f869b4f0 files/digest-mgetty-1.1.30-r2 70
-RMD160 52fb7b8dc290eef3036afdf7021ef69eeda9a281 files/digest-mgetty-1.1.30-r2 70
-SHA256 79933177caf8945fedee14619d896634f5d69c05c063a0361586926800733678 files/digest-mgetty-1.1.30-r2 70
-MD5 c9b070dfabf7bd139d53d263f869b4f0 files/digest-mgetty-1.1.30-r3 70
-RMD160 52fb7b8dc290eef3036afdf7021ef69eeda9a281 files/digest-mgetty-1.1.30-r3 70
-SHA256 79933177caf8945fedee14619d896634f5d69c05c063a0361586926800733678 files/digest-mgetty-1.1.30-r3 70
-MD5 892ea03975cbf5145ed6ab5f42424461 files/digest-mgetty-1.1.31-r1 70
-RMD160 440e82e0e9b2435d73abc559274dd2ac91519cef files/digest-mgetty-1.1.31-r1 70
-SHA256 edf1699b6d8b17bce5ee9bf32f001419ada1e3d242ab5017ae5d5381d9d96fe5 files/digest-mgetty-1.1.31-r1 70
-MD5 192de0178f8a1dc659e1a81c7ff002c2 files/digest-mgetty-1.1.33 71
-RMD160 afb2073ecfbd2def667cc2dd858ffadb9cce415e files/digest-mgetty-1.1.33 71
-SHA256 a591221620c8ddd46f689203b5f8168d23947d0ee02da797633041672fafd930 files/digest-mgetty-1.1.33 71
+MD5 e9c41a9c9632484945beeb17e5ffe73c files/digest-mgetty-1.1.33 259
+RMD160 79362ebae249e6c0d2500b52f30ef8bca3ceee2e files/digest-mgetty-1.1.33 259
+SHA256 f73477b6eb95f680cafe886251c84fa413935e169533ef5d617597d8325bcd47 files/digest-mgetty-1.1.33 259
MD5 8c9de773eb4c765190dfc0bc627db12a files/digest-mgetty-1.1.34 259
RMD160 bed2886a48e287492f62aa1d1592f9f0f0163d20 files/digest-mgetty-1.1.34 259
SHA256 e5377aea2620dcb6b0eab1373bf2d7db0a0edbaa0f1df9445652d3e174fc5d1a files/digest-mgetty-1.1.34 259
@@ -121,9 +78,9 @@ MD5 f2918bd35421e6d03f6fbde02874a7bd files/digest-mgetty-1.1.35-r1 259
RMD160 faffd810fc4a7846ea21a5fcf97c9ee0cd185ff3 files/digest-mgetty-1.1.35-r1 259
SHA256 9f5c26b6296f9ea4f57a6d08d7bd44d8437108ecdf1032a4e209456db3196f8c files/digest-mgetty-1.1.35-r1 259
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.5-ecc0.1.6 (GNU/Linux)
+Version: GnuPG v1.4.5 (GNU/Linux)
-iD8DBQFE01DzKRy60XGEcJIRAhL+AKCma8YZU21M2dDm0pp2cvdo+XHVPgCfYzp8
-KFqWd3zwohRjfvDrTo0PB7k=
-=LJ7R
+iD8DBQFE4hHN3sf9c6kjmR8RAkl8AJ99As2fzey8gs5xTNcu0Gd80LFO9wCfZN1U
+HEaYg7GYDaHTewpTpbl5jeI=
+=ZUvA
-----END PGP SIGNATURE-----
diff --git a/net-dialup/mgetty/files/digest-mgetty-1.1.30-r2 b/net-dialup/mgetty/files/digest-mgetty-1.1.30-r2
deleted file mode 100644
index de8ce3a6b404..000000000000
--- a/net-dialup/mgetty/files/digest-mgetty-1.1.30-r2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 4b80c418bc58add3e40de3be0ac6c02a mgetty1.1.30-Dec16.tar.gz 969967
diff --git a/net-dialup/mgetty/files/digest-mgetty-1.1.30-r3 b/net-dialup/mgetty/files/digest-mgetty-1.1.30-r3
deleted file mode 100644
index de8ce3a6b404..000000000000
--- a/net-dialup/mgetty/files/digest-mgetty-1.1.30-r3
+++ /dev/null
@@ -1 +0,0 @@
-MD5 4b80c418bc58add3e40de3be0ac6c02a mgetty1.1.30-Dec16.tar.gz 969967
diff --git a/net-dialup/mgetty/files/digest-mgetty-1.1.31-r1 b/net-dialup/mgetty/files/digest-mgetty-1.1.31-r1
deleted file mode 100644
index 64a0dfb03159..000000000000
--- a/net-dialup/mgetty/files/digest-mgetty-1.1.31-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 3462a0acbdb2e7165540ef95097d49fb mgetty1.1.31-Jul24.tar.gz 998462
diff --git a/net-dialup/mgetty/files/mgetty-1.1.30-gentoo.diff b/net-dialup/mgetty/files/mgetty-1.1.30-gentoo.diff
deleted file mode 100644
index f16253da0bf5..000000000000
--- a/net-dialup/mgetty/files/mgetty-1.1.30-gentoo.diff
+++ /dev/null
@@ -1,75 +0,0 @@
-diff -u -r /tmp/mgetty-1.1.30/Makefile ./Makefile
---- mgetty-1.1.30/Makefile 2002-12-16 13:08:23.000000000 +0000
-+++ mgetty-1.1.30/Makefile 2003-04-28 08:04:29.000000000 +0000
-@@ -107,7 +107,7 @@
- # prompt first. Don't forget to activate the /AutoPPP/ line in login.config!
- #
- #CFLAGS=-Wall -O2 -pipe -DSECUREWARE -DUSE_POLL
--CFLAGS=-O2 -Wall -pipe
-+#CFLAGS=-O2 -Wall -pipe
- #CFLAGS=-O -DSVR4
- #CFLAGS=-O -DSVR4 -DSVR42
- #CFLAGS=-O -DUSE_POLL
-diff -u -r /tmp/mgetty-1.1.30/doc/mgetty.texi-in ./doc/mgetty.texi-in
---- mgetty-1.1.30/doc/mgetty.texi-in 2002-11-17 21:19:45.000000000 +0000
-+++ mgetty-1.1.30/doc/mgetty.texi-in 2003-04-28 08:05:13.000000000 +0000
-@@ -13,6 +13,11 @@
- Copyright @copyright{} 1993-2000 Gert Doering
- @end ifinfo
-
-+@dircategory User
-+@direntry
-+* MGETTY: (mgetty). Modem+Voice+Fax utilities
-+@end direntry
-+
- @titlepage
- @sp 6
- @center @titlefont{mgetty+sendfax}
-diff -u -r /tmp/mgetty-1.1.30/voice/Makefile ./voice/Makefile
---- mgetty-1.1.30/voice/Makefile 2001-12-23 15:08:13.000000000 +0000
-+++ mgetty-1.1.30/voice/Makefile 2003-04-28 08:04:53.000000000 +0000
-@@ -85,6 +85,7 @@
- @echo ""
- $(INSTALL) -m 700 vgetty/vgetty $(SBINDIR)
- $(INSTALL) -m 755 vm/vm $(BINDIR)
-+ $(INSTALL) -m 755 voice.conf-dist $(CONFDIR)/voice.conf
- for i in $(PVFTOOLS); \
- do \
- $(INSTALL) -m 755 pvftools/$$i $(BINDIR); \
-@@ -97,21 +98,21 @@
- do \
- $(RM) -f $$i.1; $(LN) -s pvf.1 $$i.1; \
- done
--# [ -d $(VOICE_DIR) ] || mkdir $(VOICE_DIR)
--# [ -d $(VOICE_DIR)/incoming ] || mkdir $(VOICE_DIR)/incoming
--# chown 0 $(VOICE_DIR)/incoming
--# chgrp $(PHONE_GROUP) $(VOICE_DIR)/incoming
--# chmod $(PHONE_PERMS) $(VOICE_DIR)/incoming
--# [ -d $(VOICE_DIR)/messages ] || mkdir $(VOICE_DIR)/messages
--# for i in $(SHELLSCRIPTS); do \
--# $(INSTALL) -m 755 $$i $(VOICE_DIR) ;\
--# done
--# [ -f $(VOICE_DIR)/.code ] || echo '12345' >$(VOICE_DIR)/.code
--# chgrp $(PHONE_GROUP) $(VOICE_DIR)/.code
--# chmod $(PHONE_PERMS) $(VOICE_DIR)/.code
--# chmod 660 $(VOICE_DIR)/.code
--# [ -f $(VOICE_DIR)/messages/Index ] || \
--# echo 'put_filename_here' >$(VOICE_DIR)/messages/Index
-+ [ -d $(VOICE_DIR) ] || mkdir $(VOICE_DIR)
-+ [ -d $(VOICE_DIR)/incoming ] || mkdir $(VOICE_DIR)/incoming
-+ chown 0 $(VOICE_DIR)/incoming
-+ chgrp $(PHONE_GROUP) $(VOICE_DIR)/incoming
-+ chmod $(PHONE_PERMS) $(VOICE_DIR)/incoming
-+ [ -d $(VOICE_DIR)/messages ] || mkdir $(VOICE_DIR)/messages
-+ for i in $(SHELLSCRIPTS); do \
-+ $(INSTALL) -m 755 $$i $(VOICE_DIR) ;\
-+ done
-+ [ -f $(VOICE_DIR)/.code ] || echo '12345' >$(VOICE_DIR)/.code
-+ chgrp $(PHONE_GROUP) $(VOICE_DIR)/.code
-+ chmod $(PHONE_PERMS) $(VOICE_DIR)/.code
-+ chmod 660 $(VOICE_DIR)/.code
-+ [ -f $(VOICE_DIR)/messages/Index ] || \
-+ echo 'put_filename_here' >$(VOICE_DIR)/messages/Index
-
- clean:
- @echo "Cleaning..."
diff --git a/net-dialup/mgetty/files/mgetty-1.1.31-callback.diff b/net-dialup/mgetty/files/mgetty-1.1.31-callback.diff
deleted file mode 100644
index 6b0efc94658e..000000000000
--- a/net-dialup/mgetty/files/mgetty-1.1.31-callback.diff
+++ /dev/null
@@ -1,26 +0,0 @@
-diff -Nur mgetty-1.1.31-orig/Makefile mgetty-1.1.31/Makefile
---- mgetty-1.1.31-orig/Makefile 2004-07-24 20:53:47.000000000 +0200
-+++ mgetty-1.1.31/Makefile 2005-02-10 09:55:43.220947304 +0100
-@@ -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
-@@ -697,6 +697,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 ; do \
diff --git a/net-dialup/mgetty/files/mgetty-1.1.31-gentoo.diff b/net-dialup/mgetty/files/mgetty-1.1.31-gentoo.diff
deleted file mode 100644
index df4ed7808655..000000000000
--- a/net-dialup/mgetty/files/mgetty-1.1.31-gentoo.diff
+++ /dev/null
@@ -1,75 +0,0 @@
-diff -Nru mgetty-1.1.31.orig/Makefile mgetty-1.1.31/Makefile
---- mgetty-1.1.31.orig/Makefile 2004-07-24 21:53:47.000000000 +0300
-+++ mgetty-1.1.31/Makefile 2004-11-20 00:54:13.998653696 +0200
-@@ -102,7 +102,7 @@
- # USTAT - ustat(), no statfs etc.
- #
- #CFLAGS=-Wall -O2 -pipe -DSECUREWARE -DUSE_POLL
--CFLAGS=-O2 -Wall -pipe
-+#CFLAGS=-O2 -Wall -pipe
- #CFLAGS=-O -DSVR4
- #CFLAGS=-O -DSVR4 -DSVR42
- #CFLAGS=-O -DUSE_POLL
-diff -Nru mgetty-1.1.31.orig/doc/mgetty.texi-in mgetty-1.1.31/doc/mgetty.texi-in
---- mgetty-1.1.31.orig/doc/mgetty.texi-in 2004-07-24 17:54:40.000000000 +0300
-+++ mgetty-1.1.31/doc/mgetty.texi-in 2004-11-20 00:54:14.001653240 +0200
-@@ -13,6 +13,11 @@
- Copyright @copyright{} 1993-2000 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.31.orig/voice/Makefile mgetty-1.1.31/voice/Makefile
---- mgetty-1.1.31.orig/voice/Makefile 2001-12-23 17:08:13.000000000 +0200
-+++ mgetty-1.1.31/voice/Makefile 2004-11-20 00:54:14.002653088 +0200
-@@ -85,6 +85,7 @@
- @echo ""
- $(INSTALL) -m 700 vgetty/vgetty $(SBINDIR)
- $(INSTALL) -m 755 vm/vm $(BINDIR)
-+ $(INSTALL) -m 755 voice.conf-dist $(CONFDIR)/voice.conf
- for i in $(PVFTOOLS); \
- do \
- $(INSTALL) -m 755 pvftools/$$i $(BINDIR); \
-@@ -97,21 +98,21 @@
- do \
- $(RM) -f $$i.1; $(LN) -s pvf.1 $$i.1; \
- done
--# [ -d $(VOICE_DIR) ] || mkdir $(VOICE_DIR)
--# [ -d $(VOICE_DIR)/incoming ] || mkdir $(VOICE_DIR)/incoming
--# chown 0 $(VOICE_DIR)/incoming
--# chgrp $(PHONE_GROUP) $(VOICE_DIR)/incoming
--# chmod $(PHONE_PERMS) $(VOICE_DIR)/incoming
--# [ -d $(VOICE_DIR)/messages ] || mkdir $(VOICE_DIR)/messages
--# for i in $(SHELLSCRIPTS); do \
--# $(INSTALL) -m 755 $$i $(VOICE_DIR) ;\
--# done
--# [ -f $(VOICE_DIR)/.code ] || echo '12345' >$(VOICE_DIR)/.code
--# chgrp $(PHONE_GROUP) $(VOICE_DIR)/.code
--# chmod $(PHONE_PERMS) $(VOICE_DIR)/.code
--# chmod 660 $(VOICE_DIR)/.code
--# [ -f $(VOICE_DIR)/messages/Index ] || \
--# echo 'put_filename_here' >$(VOICE_DIR)/messages/Index
-+ [ -d $(VOICE_DIR) ] || mkdir $(VOICE_DIR)
-+ [ -d $(VOICE_DIR)/incoming ] || mkdir $(VOICE_DIR)/incoming
-+ chown 0 $(VOICE_DIR)/incoming
-+ chgrp $(PHONE_GROUP) $(VOICE_DIR)/incoming
-+ chmod $(PHONE_PERMS) $(VOICE_DIR)/incoming
-+ [ -d $(VOICE_DIR)/messages ] || mkdir $(VOICE_DIR)/messages
-+ for i in $(SHELLSCRIPTS); do \
-+ $(INSTALL) -m 755 $$i $(VOICE_DIR) ;\
-+ done
-+ [ -f $(VOICE_DIR)/.code ] || echo '12345' >$(VOICE_DIR)/.code
-+ chgrp $(PHONE_GROUP) $(VOICE_DIR)/.code
-+ chmod $(PHONE_PERMS) $(VOICE_DIR)/.code
-+ chmod 660 $(VOICE_DIR)/.code
-+ [ -f $(VOICE_DIR)/messages/Index ] || \
-+ echo 'put_filename_here' >$(VOICE_DIR)/messages/Index
-
- clean:
- @echo "Cleaning..."
diff --git a/net-dialup/mgetty/files/mgetty-1.1.31-logfile.c.diff b/net-dialup/mgetty/files/mgetty-1.1.31-logfile.c.diff
deleted file mode 100644
index 3e28afab4d10..000000000000
--- a/net-dialup/mgetty/files/mgetty-1.1.31-logfile.c.diff
+++ /dev/null
@@ -1,48 +0,0 @@
---- mgetty-1.1.31.orig/logfile.c 2005-02-05 22:52:34.595987224 +0100
-+++ mgetty-1.1.31/logfile.c 2005-02-05 23:03:17.159302752 +0100
-@@ -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 */
-
--extern int sys_nerr;
--#if !defined(__NetBSD__) && !defined( __FreeBSD__ ) && !defined(__OpenBSD__) && !defined(__GLIBC__) && !defined(__MACH__)
--extern char *sys_errlist[];
--#endif
-+/* extern int sys_nerr; */
-+/* #if !defined(__NetBSD__) && !defined( __FreeBSD__ ) && !defined(__OpenBSD__) && !defined(__GLIBC__) && !defined(__MACH__) */
-+/* extern char *sys_errlist[]; */
-+/* #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
diff --git a/net-dialup/mgetty/files/mgetty-1.1.31-r1-gentoo.diff b/net-dialup/mgetty/files/mgetty-1.1.31-r1-gentoo.diff
deleted file mode 100644
index 9d1fc43afe7d..000000000000
--- a/net-dialup/mgetty/files/mgetty-1.1.31-r1-gentoo.diff
+++ /dev/null
@@ -1,26 +0,0 @@
-diff -Naur mgetty-1.1.31-old/doc/mgetty.texi-in mgetty-1.1.31/doc/mgetty.texi-in
---- mgetty-1.1.31-old/doc/mgetty.texi-in 2004-07-24 16:54:40.000000000 +0200
-+++ mgetty-1.1.31/doc/mgetty.texi-in 2004-10-20 01:15:01.240303777 +0200
-@@ -13,6 +13,11 @@
- Copyright @copyright{} 1993-2000 Gert Doering
- @end ifinfo
-
-+@dircategory User
-+@direntry
-+* MGETTY: (mgetty). Modem+Voice+Fax utilities
-+@end direntry
-+
- @titlepage
- @sp 6
- @center @titlefont{mgetty+sendfax}
-diff -Naur mgetty-1.1.31-old/voice/Makefile mgetty-1.1.31/voice/Makefile
---- mgetty-1.1.31-old/voice/Makefile 2001-12-23 16:08:13.000000000 +0100
-+++ mgetty-1.1.31/voice/Makefile 2004-10-20 01:17:16.270550685 +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/mgetty-1.1.30-r2.ebuild b/net-dialup/mgetty/mgetty-1.1.30-r2.ebuild
deleted file mode 100644
index 89f1c5c3bce7..000000000000
--- a/net-dialup/mgetty/mgetty-1.1.30-r2.ebuild
+++ /dev/null
@@ -1,151 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/mgetty/mgetty-1.1.30-r2.ebuild,v 1.12 2005/07/20 05:49:00 mrness Exp $
-
-inherit flag-o-matic eutils
-
-DESCRIPTION="Fax and Voice modem programs."
-SRC_URI="ftp://alpha.greenie.net/pub/mgetty/source/1.1/${PN}${PV}-Dec16.tar.gz"
-HOMEPAGE="http://alpha.greenie.net/mgetty/"
-
-DEPEND=">=sys-apps/portage-2.0.47-r10
- >=sys-apps/sed-4.0.5
- doc? ( virtual/tetex )
- sys-apps/gawk
- dev-lang/perl"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="alpha amd64 hppa ia64 ~mips ppc sparc x86"
-IUSE="doc"
-
-pkg_setup() {
- enewgroup fax
- enewgroup modem
- enewuser fax -1 -1 /dev/null fax
-}
-
-src_unpack() {
- unpack ${A}
-
- epatch ${FILESDIR}/mgetty-${PV}-gentoo.diff
- cd ${S}/doc
- sed -i "s:dvips -o mgetty.ps:dvips -M -o mgetty.ps:" Makefile
- cd ${S}
- sed -e 's:var/log/mgetty:var/log/mgetty/mgetty:' \
- -e 's:var/log/sendfax:var/log/mgetty/sendfax:' \
- -e 's:\/\* \(\#define CNDFILE "dialin.config"\) \*\/:\1:' \
- -e 's:\(\#define FAX_NOTIFY_PROGRAM\).*:\1 "/etc/mgetty+sendfax/new_fax":' \
- policy.h-dist > policy.h
- sed -i -e "s:phone_group phone:phone_group fax:g" voice/voice.conf-dist
- sed -i 's:ECHO="echo":ECHO="echo -e":' Makefile
-}
-
-src_compile() {
- append-flags "-DAUTO_PPP"
-
- emake prefix=/usr \
- CONFDIR=/etc/mgetty+sendfax \
- CFLAGS="${CFLAGS}" \
- || make prefix=/usr \
- CONFDIR=/etc/mgetty+sendfax \
- CFLAGS="${CFLAGS}" \
- || die
-
- einfo "building voice"
- cd voice
- emake CONFDIR=/etc/mgetty+sendfax \
- || make CONFDIR=/etc/mgetty+sendfax \
- || die
-
- cd ${S}
-
- einfo "building callback"
- cd callback
- emake CONFDIR=/etc/mgetty+sendfax \
- CFLAGS="${CFLAGS}" \
- || make CONFDIR=/etc/mgetty+sendfax \
- || die
- cd ${S}
-}
-
-src_install () {
- dodir /var/spool
- dodir /var/log/mgetty
- dodir /usr/share/info
- make prefix=${D}/usr \
- INFODIR=${D}/usr/share/info \
- CONFDIR=${D}/etc/mgetty+sendfax \
- MAN1DIR=${D}/usr/share/man/man1 \
- MAN4DIR=${D}/usr/share/man/man4 \
- MAN5DIR=${D}/usr/share/man/man5 \
- MAN8DIR=${D}/usr/share/man/man8 \
- spool=${D}/var/spool \
- install || die
-
- einfo "Installing callback"
- cd callback
- make prefix=${D}/usr \
- CONFDIR=${D}/etc/mgetty+sendfax \
- MAN1DIR=${D}/usr/share/man/man1 \
- MAN8DIR=${D}/usr/share/man/man8 \
- VOICE_DIR=${D}/var/spool/voice \
- SBINDIR=${D}/usr/sbin \
- BINDIR=${D}/usr/bin \
- INSTALL="install -c -o bin -g bin" \
- PHONE_GROUP=root \
- PHONE_PERMS=755 \
- install || die
- cd ${S}
-
- einfo "installing voice"
- cd voice
- make prefix=${D}/usr \
- CONFDIR=${D}/etc/mgetty+sendfax \
- MAN1DIR=${D}/usr/share/man/man1 \
- MAN8DIR=${D}/usr/share/man/man8 \
- VOICE_DIR=${D}/var/spool/voice \
- PHONE_GROUP=root \
- PHONE_PERMS=755 \
- install || die
-
- cd ${S}
- dodoc BUGS ChangeLog FTP README.1st Recommend THANKS TODO
- cd doc
- dodoc *.txt modems.db
- cd ${S}/samples/
- docinto samples
- dodoc *
- if use doc; then
- dodoc mgetty.ps
- cd ${S}/voice/doc/
- docinto voice
- dodoc *
- fi
-
- #generate missing fonts if any.
- if [ -f ${S}/doc/missfont.log ]
- then
- echo '#!/bin/bash' >genfonts.sh
- cat missfont.log >>genfonts.sh
- chmod +x genfonts.sh
- dodoc genfonts.sh
- fi
-}
-
-pkg_postinst() {
- #generate missing fonts if any.
- if [ -x {$ROOT}/usr/share/doc/${PF}/genfonts.sh ]
- then
- {$ROOT}/usr/share/doc/${PF}/genfonts.sh
- fi
-
- if [ ! -d ${ROOT}/var/spool/fax/incoming ]
- then
- mkdir -p ${ROOT}/var/spool/fax/incoming
- fi
- if [ ! -d ${ROOT}/var/spool/fax/outgoing/locks ]
- then
- mkdir -p ${ROOT}/var/spool/fax/outgoing/locks
- fi
-}
diff --git a/net-dialup/mgetty/mgetty-1.1.30-r3.ebuild b/net-dialup/mgetty/mgetty-1.1.30-r3.ebuild
deleted file mode 100644
index 67ae779f0bd5..000000000000
--- a/net-dialup/mgetty/mgetty-1.1.30-r3.ebuild
+++ /dev/null
@@ -1,156 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/mgetty/mgetty-1.1.30-r3.ebuild,v 1.4 2005/07/20 05:49:00 mrness Exp $
-
-inherit flag-o-matic eutils
-
-DESCRIPTION="Fax and Voice modem programs."
-SRC_URI="ftp://alpha.greenie.net/pub/mgetty/source/1.1/${PN}${PV}-Dec16.tar.gz"
-HOMEPAGE="http://alpha.greenie.net/mgetty/"
-
-DEPEND=">=sys-apps/portage-2.0.47-r10
- >=sys-apps/sed-4.0.5
- doc? ( virtual/tetex )
- sys-apps/gawk
- dev-lang/perl"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~x86 ~sparc ~alpha ~ia64 ~hppa ~ppc ~amd64 ~mips"
-IUSE="doc"
-
-pkg_setup() {
- enewgroup fax
- enewgroup modem
- enewuser fax -1 -1 /dev/null fax
-}
-
-src_unpack() {
- unpack ${A}
-
- epatch ${FILESDIR}/mgetty-${PV}-gentoo.diff
- cd ${S}/doc
- sed -i "s:dvips -o mgetty.ps:dvips -M -o mgetty.ps:" Makefile
- cd ${S}
- sed -e 's:var/log/mgetty:var/log/mgetty/mgetty:' \
- -e 's:var/log/sendfax:var/log/mgetty/sendfax:' \
- -e 's:\/\* \(\#define CNDFILE "dialin.config"\) \*\/:\1:' \
- -e 's:\(\#define FAX_NOTIFY_PROGRAM\).*:\1 "/etc/mgetty+sendfax/new_fax":' \
- policy.h-dist > policy.h
- sed -i -e "s:phone_group phone:phone_group fax:g" voice/voice.conf-dist
- sed -i 's:ECHO="echo":ECHO="echo -e":' Makefile
-}
-
-src_compile() {
- append-flags "-DAUTO_PPP"
-
- #Avoid "is setXid, dynamically linked and using lazy bindings" QA notices
- append-ldflags "-Wl,-z,now"
- sed -i "s:^LDFLAGS=.*:#&:" Makefile
- sed -i 's: \$(CFLAGS) -o faxq-helper faxq-helper.o: $(LDLAGS) -Wl,-z,now -o faxq-helper faxq-helper.o:' fax/Makefile
-
- emake prefix=/usr \
- CONFDIR=/etc/mgetty+sendfax \
- CFLAGS="${CFLAGS}" \
- || make prefix=/usr \
- CONFDIR=/etc/mgetty+sendfax \
- CFLAGS="${CFLAGS}" \
- || die
-
- einfo "building voice"
- cd voice
- emake CONFDIR=/etc/mgetty+sendfax \
- || make CONFDIR=/etc/mgetty+sendfax \
- || die
-
- cd ${S}
-
- einfo "building callback"
- cd callback
- emake CONFDIR=/etc/mgetty+sendfax \
- CFLAGS="${CFLAGS}" \
- || make CONFDIR=/etc/mgetty+sendfax \
- || die
- cd ${S}
-}
-
-src_install () {
- dodir /var/spool
- dodir /var/log/mgetty
- dodir /usr/share/info
- make prefix=${D}/usr \
- INFODIR=${D}/usr/share/info \
- CONFDIR=${D}/etc/mgetty+sendfax \
- MAN1DIR=${D}/usr/share/man/man1 \
- MAN4DIR=${D}/usr/share/man/man4 \
- MAN5DIR=${D}/usr/share/man/man5 \
- MAN8DIR=${D}/usr/share/man/man8 \
- spool=${D}/var/spool \
- install || die
-
- einfo "Installing callback"
- cd callback
- make prefix=${D}/usr \
- CONFDIR=${D}/etc/mgetty+sendfax \
- MAN1DIR=${D}/usr/share/man/man1 \
- MAN8DIR=${D}/usr/share/man/man8 \
- VOICE_DIR=${D}/var/spool/voice \
- SBINDIR=${D}/usr/sbin \
- BINDIR=${D}/usr/bin \
- INSTALL="install -c -o bin -g bin" \
- PHONE_GROUP=root \
- PHONE_PERMS=755 \
- install || die
- cd ${S}
-
- einfo "installing voice"
- cd voice
- make prefix=${D}/usr \
- CONFDIR=${D}/etc/mgetty+sendfax \
- MAN1DIR=${D}/usr/share/man/man1 \
- MAN8DIR=${D}/usr/share/man/man8 \
- VOICE_DIR=${D}/var/spool/voice \
- PHONE_GROUP=root \
- PHONE_PERMS=755 \
- install || die
-
- cd ${S}
- dodoc BUGS ChangeLog FTP README.1st Recommend THANKS TODO
- cd doc
- dodoc *.txt modems.db
- cd ${S}/samples/
- docinto samples
- dodoc *
- if use doc; then
- dodoc mgetty.ps
- cd ${S}/voice/doc/
- docinto voice
- dodoc *
- fi
-
- #generate missing fonts if any.
- if [ -f ${S}/doc/missfont.log ]
- then
- echo '#!/bin/bash' >genfonts.sh
- cat missfont.log >>genfonts.sh
- chmod +x genfonts.sh
- dodoc genfonts.sh
- fi
-}
-
-pkg_postinst() {
- #generate missing fonts if any.
- if [ -x {$ROOT}/usr/share/doc/${PF}/genfonts.sh ]
- then
- {$ROOT}/usr/share/doc/${PF}/genfonts.sh
- fi
-
- if [ ! -d ${ROOT}/var/spool/fax/incoming ]
- then
- mkdir -p ${ROOT}/var/spool/fax/incoming
- fi
- if [ ! -d ${ROOT}/var/spool/fax/outgoing/locks ]
- then
- mkdir -p ${ROOT}/var/spool/fax/outgoing/locks
- fi
-}
diff --git a/net-dialup/mgetty/mgetty-1.1.31-r1.ebuild b/net-dialup/mgetty/mgetty-1.1.31-r1.ebuild
deleted file mode 100644
index 9cccd959f41c..000000000000
--- a/net-dialup/mgetty/mgetty-1.1.31-r1.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/mgetty/mgetty-1.1.31-r1.ebuild,v 1.4 2005/07/20 05:49:00 mrness Exp $
-
-inherit toolchain-funcs flag-o-matic eutils
-
-DESCRIPTION="Fax and Voice modem programs."
-SRC_URI="ftp://alpha.greenie.net/pub/mgetty/source/1.1/${PN}${PV}-Jul24.tar.gz"
-HOMEPAGE="http://alpha.greenie.net/mgetty/"
-
-RDEPEND="virtual/libc"
-
-DEPEND="${RDEPEND}
- >=sys-apps/sed-4
- doc? ( virtual/tetex )
- sys-apps/gawk
- sys-apps/groff
- dev-lang/perl
- sys-apps/texinfo"
-
-SLOT="0"
-LICENSE="GPL-2"
-KEYWORDS="~x86 ~sparc ~alpha ~ia64 ~hppa ~ppc ~amd64 ~mips"
-IUSE="doc"
-
-pkg_setup() {
- enewgroup fax
- enewgroup modem
- enewuser fax -1 -1 /dev/null fax
-}
-
-src_unpack() {
- unpack ${A}
- cd ${S}
- epatch ${FILESDIR}/mgetty-${PV}-r1-gentoo.diff
- # fix deprecate warnings
- epatch ${FILESDIR}/mgetty-${PV}-logfile.c.diff
- # add callback install to Makefile
- epatch ${FILESDIR}/mgetty-${PV}-callback.diff
- # Lucent modem CallerID patch - bug #80366
- epatch ${FILESDIR}/Lucent.c.patch
-
- #Avoid "is setXid, dynamically linked and using lazy bindings" QA notices
- append-ldflags "-Wl,-z,now"
-
- sed -i 's: \$(CFLAGS) -o faxq-helper faxq-helper.o: $(LDLAGS) -Wl,-z,now -o faxq-helper faxq-helper.o:' ${S}/fax/Makefile
-
- sed -e 's:var/log/mgetty:var/log/mgetty/mgetty:' \
- -e 's:var/log/sendfax:var/log/mgetty/sendfax:' \
- -e 's:\/\* \(\#define CNDFILE "dialin.config"\) \*\/:\1:' \
- -e 's:\(\#define FAX_NOTIFY_PROGRAM\).*:\1 "/etc/mgetty+sendfax/new_fax":' \
- ${S}/policy.h-dist > ${S}/policy.h
- sed -i -e "s:phone_group phone:phone_group fax:g" ${S}/voice/voice.conf-dist
-
- # bug 44231 and remove move warning
- sed -e 's:ECHO="echo":ECHO="echo -e":' \
- -e "/mv -f \$(SBINDIR)/d" \
- -i ${S}/Makefile
-
- sed -e "/^doc-all:/s/mgetty.asc mgetty.info mgetty.dvi mgetty.ps/mgetty.info/" \
- -i ${S}/doc/Makefile
- if use doc; then
- sed -e "s:dvips -o mgetty.ps:dvips -M -o mgetty.ps:" \
- -e "s/^doc-all:/doc-all: mgetty.ps/" \
- -i ${S}/doc/Makefile
- fi
-}
-
-src_compile() {
- append-flags "-DAUTO_PPP"
-
- # parallel make fix later - 'sedscript' issue
- make prefix=/usr \
- CC="$(tc-getCC)" \
- CONFDIR=/etc/mgetty+sendfax \
- CFLAGS="${CFLAGS}" \
- LDFLAGS="${LDFLAGS}" \
- all vgetty || die "make failed."
-}
-
-src_install () {
- dodir /var/spool
- dodir /var/log/mgetty
- dodir /usr/share/info
-
- make prefix=${D}/usr \
- INFODIR=${D}/usr/share/info \
- CONFDIR=${D}/etc/mgetty+sendfax \
- MAN1DIR=${D}/usr/share/man/man1 \
- MAN4DIR=${D}/usr/share/man/man4 \
- MAN5DIR=${D}/usr/share/man/man5 \
- MAN8DIR=${D}/usr/share/man/man8 \
- SBINDIR=${D}/usr/sbin \
- BINDIR=${D}/usr/bin \
- VOICE_DIR=${D}/var/spool/voice \
- PHONE_GROUP=fax \
- PHONE_PERMS=755 \
- spool=${D}/var/spool \
- install vgetty-install install-callback || die "make install failed."
-
- cd ${S}
- dodoc BUGS ChangeLog README.1st Recommend THANKS TODO \
- doc/*.txt doc/modems.db || die "dodoc failed."
- doinfo doc/mgetty.info || die "doinfo failed."
-
- docinto vgetty
- dodoc voice/{Readme,Announce,ChangeLog,Credits} || die "vgetty voice failed."
-
- if use doc; then
- dodoc doc/mgetty.ps || die "mgetty.ps failed"
- fi
-
- docinto vgetty/doc
- dodoc voice/doc/*
-
- mv samples/new_fax.all samples_new_fax.all || die "move failed."
- docinto samples
- dodoc samples/*
-
- docinto samples/new_fax
- dodoc samples_new_fax.all/*
-
- insinto /usr/share/"${PN}"
- doins -r patches frontends
- insinto /usr/share/"${PN}"/voice
- doins -r voice/{contrib,Perl,scripts}
-
- keepdir /var/spool/voice/messages
- keepdir /var/spool/fax/outgoing/locks
- keepdir /var/spool/fax/incoming
- diropts -m 0755 -o root -g fax
- keepdir /var/spool/voice/incoming
-}
-pkg_postinst() {
- einfo "${ROOT}/var/spool/voice/.code and ${ROOT}/var/spool/voice/messages/Index"
- einfo "are not longer created by this automatically!"
-}