summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-11-25 08:21:36 +0000
committerAlin Năstac <mrness@gentoo.org>2007-11-25 08:21:36 +0000
commit2db8d5c4e5e80329cd2656aaf963250e01ae1551 (patch)
tree62c3d67bdc339dbe792a1a91c26b650bf03609c9 /net-dialup
parentAdded nofax flag for net-dialup/mgetty (#195467). (diff)
downloadhistorical-2db8d5c4e5e80329cd2656aaf963250e01ae1551.tar.gz
historical-2db8d5c4e5e80329cd2656aaf963250e01ae1551.tar.bz2
historical-2db8d5c4e5e80329cd2656aaf963250e01ae1551.zip
Added nofax flag, for resolving collision between mgetty and hylafax (#195467).
Package-Manager: portage-2.1.3.16
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/mgetty/ChangeLog6
-rw-r--r--net-dialup/mgetty/Manifest28
-rw-r--r--net-dialup/mgetty/files/mgetty-1.1.36-nofax.patch110
-rw-r--r--net-dialup/mgetty/mgetty-1.1.36.ebuild29
4 files changed, 148 insertions, 25 deletions
diff --git a/net-dialup/mgetty/ChangeLog b/net-dialup/mgetty/ChangeLog
index 856172668b21..62a2dc3fe6a7 100644
--- a/net-dialup/mgetty/ChangeLog
+++ b/net-dialup/mgetty/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-dialup/mgetty
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/mgetty/ChangeLog,v 1.74 2007/09/14 20:33:55 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/mgetty/ChangeLog,v 1.75 2007/11/25 08:21:35 mrness Exp $
+
+ 25 Nov 2007; Alin Năstac <mrness@gentoo.org>
+ +files/mgetty-1.1.36-nofax.patch, mgetty-1.1.36.ebuild:
+ Added nofax flag, for resolving collision between mgetty and hylafax (#195467).
*mgetty-1.1.36 (14 Sep 2007)
diff --git a/net-dialup/mgetty/Manifest b/net-dialup/mgetty/Manifest
index 6e75b8e7ec9b..9927b460e246 100644
--- a/net-dialup/mgetty/Manifest
+++ b/net-dialup/mgetty/Manifest
@@ -37,6 +37,10 @@ AUX mgetty-1.1.36-gentoo.patch 5746 RMD160 59810be601f24213aa4cfcd7f73e0efafa8b3
MD5 ea2d814f816dd0c17e470f3bc2b7be27 files/mgetty-1.1.36-gentoo.patch 5746
RMD160 59810be601f24213aa4cfcd7f73e0efafa8b33c9 files/mgetty-1.1.36-gentoo.patch 5746
SHA256 f8124ea78ef813233aa050d25deb45c3c2c667bb8ab8a1f0ce35ef3ed74ef952 files/mgetty-1.1.36-gentoo.patch 5746
+AUX mgetty-1.1.36-nofax.patch 3577 RMD160 1b6cab9f23eb3751fda601e40fe041696836d3a0 SHA1 6d797fd76b636cf950c925615fa7a2c2e99f06a9 SHA256 1b5f270d3589084bda15ef38dcb138113cbe5700287b9b7d89384f1d82867f22
+MD5 fe6568794233597a593668e6a3dac3c9 files/mgetty-1.1.36-nofax.patch 3577
+RMD160 1b6cab9f23eb3751fda601e40fe041696836d3a0 files/mgetty-1.1.36-nofax.patch 3577
+SHA256 1b5f270d3589084bda15ef38dcb138113cbe5700287b9b7d89384f1d82867f22 files/mgetty-1.1.36-nofax.patch 3577
AUX mgetty-1.1.36-qa-fixes.patch 3369 RMD160 0394431b71f5fbe68a7614decabf7e002dda0d00 SHA1 7c54a40b7f9cebc88d20e30d13d2ac2b37393ce9 SHA256 53a0c38440b7f0e15ca032672a3f26913f7736d9d0ddcac7919771cf816a7570
MD5 2eba5374603a7f5d35e22d2e3da2005f files/mgetty-1.1.36-qa-fixes.patch 3369
RMD160 0394431b71f5fbe68a7614decabf7e002dda0d00 files/mgetty-1.1.36-qa-fixes.patch 3369
@@ -47,14 +51,14 @@ EBUILD mgetty-1.1.35-r2.ebuild 4978 RMD160 a066cbf99c4abdb73f935c6263fbf998e4cc7
MD5 c37de847fbb35c3f6c416e758ac620e5 mgetty-1.1.35-r2.ebuild 4978
RMD160 a066cbf99c4abdb73f935c6263fbf998e4cc7ecc mgetty-1.1.35-r2.ebuild 4978
SHA256 05ea76c0d1c9d902e5a1836cde50907128dce574402e7384eda6e7aa7f3381e0 mgetty-1.1.35-r2.ebuild 4978
-EBUILD mgetty-1.1.36.ebuild 4348 RMD160 68b0130313dc28e1340850272d5c105804f7db1d SHA1 8cac29703279ebef24e3c2f116148f3bdb0452e8 SHA256 d59fc9e361e1b1178dac0d18863d4584bbc1fbcc89a56f5f764f7bdeed806856
-MD5 89e2e1c979ef9fbf1f13e53404d049c9 mgetty-1.1.36.ebuild 4348
-RMD160 68b0130313dc28e1340850272d5c105804f7db1d mgetty-1.1.36.ebuild 4348
-SHA256 d59fc9e361e1b1178dac0d18863d4584bbc1fbcc89a56f5f764f7bdeed806856 mgetty-1.1.36.ebuild 4348
-MISC ChangeLog 11596 RMD160 b4494b09250c7749c5e39961ee272cad7a3f419f SHA1 598c6d6d8409cf5d6e314090bcd11061f3498a04 SHA256 c47915ca9dd03cd6b4a2338443721858f4f640ef8c10bad7395b3375416112de
-MD5 365bfa357eb98d27de8aa3df818221bd ChangeLog 11596
-RMD160 b4494b09250c7749c5e39961ee272cad7a3f419f ChangeLog 11596
-SHA256 c47915ca9dd03cd6b4a2338443721858f4f640ef8c10bad7395b3375416112de ChangeLog 11596
+EBUILD mgetty-1.1.36.ebuild 4514 RMD160 e1ba84c52222bbdece3114419a473c4b7d7490a6 SHA1 0ec2335b9462c1d71c5e0afe93754e69cecf1d40 SHA256 4a364be91ea7831fb25d23cbfa5d885e985ddd7027c2356f4c240f2cd2567276
+MD5 1528873751481434dc446da7b8b22158 mgetty-1.1.36.ebuild 4514
+RMD160 e1ba84c52222bbdece3114419a473c4b7d7490a6 mgetty-1.1.36.ebuild 4514
+SHA256 4a364be91ea7831fb25d23cbfa5d885e985ddd7027c2356f4c240f2cd2567276 mgetty-1.1.36.ebuild 4514
+MISC ChangeLog 11785 RMD160 f97c1c20cdcd46f5d47ec78c1f2f506aaa0dc7e9 SHA1 481a910dd9630f5b1f3d645c47477e94ad6453d3 SHA256 db4a27b75074037234110488dd89bea31bd8bb85289b610e464dff58096d0ad0
+MD5 a268240e616c67f2dbdfed618170008f ChangeLog 11785
+RMD160 f97c1c20cdcd46f5d47ec78c1f2f506aaa0dc7e9 ChangeLog 11785
+SHA256 db4a27b75074037234110488dd89bea31bd8bb85289b610e464dff58096d0ad0 ChangeLog 11785
MISC metadata.xml 377 RMD160 1f17a6dbb9efe9992b812c253e63d02e93e37223 SHA1 0bde55896c3d1b16d71d1b33fc4b267b35817d5d SHA256 b6756d3fd813f8ff00f96cb472d15c9402e18001d9308dfdef1201369a4f6a6e
MD5 1bb6061bf8000d07f70ffdd74f5659f4 metadata.xml 377
RMD160 1f17a6dbb9efe9992b812c253e63d02e93e37223 metadata.xml 377
@@ -66,9 +70,9 @@ MD5 2709b3129958c2fc786427bfdd8dfad0 files/digest-mgetty-1.1.36 259
RMD160 e41a47622b26c650ab434cae7dd4005f994b6bc8 files/digest-mgetty-1.1.36 259
SHA256 5c95a8e18abd6c2492e5147988850f914873157ceb79f4ab5e2711da4ab1ec5a files/digest-mgetty-1.1.36 259
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.6 (GNU/Linux)
+Version: GnuPG v2.0.7 (GNU/Linux)
-iD8DBQFG6vA9VSA5X31g7/gRAt/9AKCO276U9GtqUMzk0L8vTzXjdrdoNwCeNhk+
-CbHGLcV20sNjbyBc8YUznYM=
-=F3PC
+iD8DBQFHSTCZVSA5X31g7/gRAt20AJ49e/qAPN62rTGx4CLIBnX+KJpFlACdFMxJ
+Vdws9mGX5MKgPXnIPLXt9Vk=
+=DYBK
-----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
new file mode 100644
index 000000000000..7fcf7a44655e
--- /dev/null
+++ b/net-dialup/mgetty/files/mgetty-1.1.36-nofax.patch
@@ -0,0 +1,110 @@
+diff -Nru mgetty-1.1.36.orig/doc/Makefile mgetty-1.1.36/doc/Makefile
+--- mgetty-1.1.36.orig/doc/Makefile 2007-11-25 09:31:56.000000000 +0200
++++ mgetty-1.1.36/doc/Makefile 2007-11-25 09:28:02.000000000 +0200
+@@ -6,11 +6,10 @@
+ NROFF=nroff
+ #
+ #
+-MAN1PAGES=g32pbm.1 g3cat.1 pbm2g3.1 sff2g3.1 fax.1 \
+- faxspool.1 faxrunq.1 faxq.1 faxrm.1 coverpg.1
++MAN1PAGES=
+ MAN4PAGES=mgettydefs.4
+-MAN5PAGES=faxqueue.5
+-MAN8PAGES=sendfax.8 mgetty.8 callback.8 faxrunqd.8 faxq-helper.8
++MAN5PAGES=
++MAN8PAGES=mgetty.8 callback.8
+ MANSRC=$(MAN1PAGES) $(MAN4PAGES) $(MAN5PAGES) $(MAN8PAGES)
+ MAN1DIR=/usr/local/man/man1
+ MAN4DIR=/usr/local/man/man4
+diff -Nru mgetty-1.1.36.orig/Makefile mgetty-1.1.36/Makefile
+--- mgetty-1.1.36.orig/Makefile 2007-11-25 09:31:58.000000000 +0200
++++ mgetty-1.1.36/Makefile 2007-11-25 09:34:45.000000000 +0200
+@@ -317,7 +317,7 @@
+
+ all: bin-all doc-all
+
+-bin-all: mgetty sendfax newslock sedscript subdirs call-back
++bin-all: mgetty newslock sedscript subdirs call-back
+
+ # a few C files need extra compiler arguments
+
+@@ -362,9 +362,7 @@
+ # subdirectories...
+
+ subdirs:
+- 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
+
+ call-back:
+ @$(MAKE) mgetty
+@@ -585,7 +583,6 @@
+
+ -test -d $(SBINDIR) || ( ./mkidirs $(SBINDIR) ; chmod 755 $(SBINDIR) )
+ $(INSTALL) -m 700 mgetty $(SBINDIR)
+- $(INSTALL) -m 755 sendfax $(SBINDIR)
+ #
+ # data files + directories
+ #
+@@ -597,12 +594,8 @@
+ $(INSTALL) -o root -m 600 login.config $(CONFDIR)/
+ test -f $(CONFDIR)/mgetty.config || \
+ $(INSTALL) -o root -m 600 mgetty.config $(CONFDIR)/
+- test -f $(CONFDIR)/sendfax.config || \
+- $(INSTALL) -o root -m 644 sendfax.config $(CONFDIR)/
+ test -f $(CONFDIR)/dialin.config || \
+ $(INSTALL) -o root -m 600 dialin.config $(CONFDIR)/
+- test -f $(CONFDIR)/faxrunq.config || \
+- $(INSTALL) -o root -m 644 faxrunq.config $(CONFDIR)/
+ #
+ # test for outdated stuff
+ #
+@@ -614,34 +607,6 @@
+ echo "" ;\
+ fi
+ #
+-# fax spool directories
+-#
+- test -d $(spool) || \
+- ( mkdir $(spool) && chmod 755 $(spool) )
+- test -d $(FAX_SPOOL) || \
+- ( mkdir $(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) )
+- test -d $(FAX_SPOOL_OUT) || \
+- mkdir $(FAX_SPOOL_OUT)
+- chown $(FAX_OUT_USER) $(FAX_SPOOL_OUT)
+- chmod 755 $(FAX_SPOOL_OUT)
+-#
+-# g3 tool programs
+-#
+- cd g3 ; $(MAKE) install INSTALL="$(INSTALL)" \
+- BINDIR=$(BINDIR) \
+- LIBDIR=$(LIBDIR) CONFDIR=$(CONFDIR)
+-#
+-# fax programs / scripts / font file
+-#
+- cd fax ; $(MAKE) install INSTALL="$(INSTALL)" \
+- FAX_OUT_USER=$(FAX_OUT_USER) \
+- BINDIR=$(BINDIR) SBINDIR=$(SBINDIR) \
+- LIBDIR=$(LIBDIR) CONFDIR=$(CONFDIR)
+-#
+ # compatibility
+ #
+ if [ ! -z "$(INSTALL_MECHO)" ] ; then \
+diff -Nru mgetty-1.1.36.orig/t/Makefile mgetty-1.1.36/t/Makefile
+--- mgetty-1.1.36.orig/t/Makefile 2006-09-26 01:32:10.000000000 +0300
++++ mgetty-1.1.36/t/Makefile 2007-11-25 09:32:28.000000000 +0200
+@@ -8,8 +8,8 @@
+ CFLAGS=-O2 -I.. -g #-DT_LOG_VERBOSE
+
+ TEST_PROGRAMS=t_config t_ring
+-TEST_HELP_PGM=t_g3f_c
+-TEST_SCRIPTS=t_echo t_trap t_g3file
++TEST_HELP_PGM=
++TEST_SCRIPTS=t_echo t_trap
+
+ test: $(TEST_PROGRAMS) $(TEST_HELP_PGM)
+ @for f in $(TEST_PROGRAMS) ; \
diff --git a/net-dialup/mgetty/mgetty-1.1.36.ebuild b/net-dialup/mgetty/mgetty-1.1.36.ebuild
index 6413dcbc888e..a4570746e2e9 100644
--- a/net-dialup/mgetty/mgetty-1.1.36.ebuild
+++ b/net-dialup/mgetty/mgetty-1.1.36.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/mgetty/mgetty-1.1.36.ebuild,v 1.1 2007/09/14 20:33:55 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/mgetty/mgetty-1.1.36.ebuild,v 1.2 2007/11/25 08:21:35 mrness Exp $
inherit toolchain-funcs flag-o-matic eutils
-DESCRIPTION="Fax and Voice modem programs."
+DESCRIPTION="fax and voice modem programs"
SRC_URI="ftp://mgetty.greenie.net/pub/mgetty/source/1.1/${PN}${PV}-Jun15.tar.gz"
HOMEPAGE="http://mgetty.greenie.net/"
@@ -21,7 +21,7 @@ RDEPEND="${DEPEND}
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86"
-IUSE="doc fidonet"
+IUSE="doc fidonet nofax"
pkg_setup() {
enewgroup fax
@@ -36,6 +36,7 @@ src_unpack() {
epatch "${FILESDIR}/${P}-qa-fixes.patch"
epatch "${FILESDIR}/${P}-callback.patch" # add callback install to Makefile
epatch "${FILESDIR}/Lucent.c.patch" # Lucent modem CallerID patch - bug #80366
+ use nofax && epatch "${FILESDIR}/${P}-nofax.patch" # don't install fax related files - bug #195467
sed -e 's:var/log/mgetty:var/log/mgetty/mgetty:' \
-e 's:var/log/sendfax:var/log/mgetty/sendfax:' \
@@ -113,12 +114,14 @@ src_install () {
docinto vgetty/doc
dodoc voice/doc/*
- mv samples/new_fax.all samples_new_fax.all || die "move failed."
- docinto samples
- dodoc samples/*
+ if ! use nofax; then
+ 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/*
+ docinto samples/new_fax
+ dodoc samples_new_fax.all/*
+ fi
insinto /usr/share/${PN}
doins -r patches frontends
@@ -129,10 +132,12 @@ src_install () {
dodir /var/spool/voice
keepdir /var/spool/voice/incoming
keepdir /var/spool/voice/messages
- dodir /var/spool/fax
- dodir /var/spool/fax/outgoing
- keepdir /var/spool/fax/outgoing/locks
- keepdir /var/spool/fax/incoming
+ if ! use nofax; then
+ dodir /var/spool/fax
+ dodir /var/spool/fax/outgoing
+ keepdir /var/spool/fax/outgoing/locks
+ keepdir /var/spool/fax/incoming
+ fi
}
pkg_postinst() {