summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2007-11-27 14:19:42 +0000
committerAlin Năstac <mrness@gentoo.org>2007-11-27 14:19:42 +0000
commit0f4e356ce3264677e4e7af59d1bafe331e8b9164 (patch)
tree2fdd1e2f603ea5bda5690339d058e5ada74b9faa /net-dialup/mgetty
parentFixed quoting. (diff)
downloadhistorical-0f4e356ce3264677e4e7af59d1bafe331e8b9164.tar.gz
historical-0f4e356ce3264677e4e7af59d1bafe331e8b9164.tar.bz2
historical-0f4e356ce3264677e4e7af59d1bafe331e8b9164.zip
Replace nofax USE flag with fax (#195467).
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'net-dialup/mgetty')
-rw-r--r--net-dialup/mgetty/ChangeLog8
-rw-r--r--net-dialup/mgetty/Manifest28
-rw-r--r--net-dialup/mgetty/files/digest-mgetty-1.1.36-r1 (renamed from net-dialup/mgetty/files/digest-mgetty-1.1.36)0
-rw-r--r--net-dialup/mgetty/mgetty-1.1.36-r1.ebuild153
4 files changed, 174 insertions, 15 deletions
diff --git a/net-dialup/mgetty/ChangeLog b/net-dialup/mgetty/ChangeLog
index 62a2dc3fe6a7..c700778cb9bc 100644
--- a/net-dialup/mgetty/ChangeLog
+++ b/net-dialup/mgetty/ChangeLog
@@ -1,6 +1,12 @@
# 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.75 2007/11/25 08:21:35 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/mgetty/ChangeLog,v 1.76 2007/11/27 14:19:42 mrness Exp $
+
+*mgetty-1.1.36-r1 (27 Nov 2007)
+
+ 27 Nov 2007; Alin Năstac <mrness@gentoo.org> -mgetty-1.1.36.ebuild,
+ +mgetty-1.1.36-r1.ebuild:
+ Replace nofax USE flag with fax (#195467).
25 Nov 2007; Alin Năstac <mrness@gentoo.org>
+files/mgetty-1.1.36-nofax.patch, mgetty-1.1.36.ebuild:
diff --git a/net-dialup/mgetty/Manifest b/net-dialup/mgetty/Manifest
index 147d01f17156..b930d0570ca0 100644
--- a/net-dialup/mgetty/Manifest
+++ b/net-dialup/mgetty/Manifest
@@ -51,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 4545 RMD160 a0460af97b718041214f4bf298753145d6de269e SHA1 05dd488da9e65f432bb826c099b31319b83ff3a4 SHA256 8603ebef7912bdb5d084704ef1497526b1c43217de6d55461b2fc1a04e833abd
-MD5 4d458c1b46a59181b1e727375369ec3a mgetty-1.1.36.ebuild 4545
-RMD160 a0460af97b718041214f4bf298753145d6de269e mgetty-1.1.36.ebuild 4545
-SHA256 8603ebef7912bdb5d084704ef1497526b1c43217de6d55461b2fc1a04e833abd mgetty-1.1.36.ebuild 4545
-MISC ChangeLog 11785 RMD160 f97c1c20cdcd46f5d47ec78c1f2f506aaa0dc7e9 SHA1 481a910dd9630f5b1f3d645c47477e94ad6453d3 SHA256 db4a27b75074037234110488dd89bea31bd8bb85289b610e464dff58096d0ad0
-MD5 a268240e616c67f2dbdfed618170008f ChangeLog 11785
-RMD160 f97c1c20cdcd46f5d47ec78c1f2f506aaa0dc7e9 ChangeLog 11785
-SHA256 db4a27b75074037234110488dd89bea31bd8bb85289b610e464dff58096d0ad0 ChangeLog 11785
+EBUILD mgetty-1.1.36-r1.ebuild 4515 RMD160 4376ca8d666550e37c594bd27f3631b3b2d73da5 SHA1 650086cd6dc843cf2d49c1830109b63fe9b421ca SHA256 e2c980422d6bb84d1f27d901099816c3bb286c4ddd29690f1d79c2402b5ca944
+MD5 3602b168bbbd30cf54ae57e79de7535a mgetty-1.1.36-r1.ebuild 4515
+RMD160 4376ca8d666550e37c594bd27f3631b3b2d73da5 mgetty-1.1.36-r1.ebuild 4515
+SHA256 e2c980422d6bb84d1f27d901099816c3bb286c4ddd29690f1d79c2402b5ca944 mgetty-1.1.36-r1.ebuild 4515
+MISC ChangeLog 11963 RMD160 ef3f206be6710714d57d82fb53eaacd6d023efe1 SHA1 5f702d0f9c234f94b716290d2dbd2cdfe4db19d3 SHA256 ae6bc7ea6b16722cd20dbc5e219d7c391f5d03312665e7c671d179d227b0ebba
+MD5 3bcb8c71d4d78c15e8d5e9e2abb6dcc1 ChangeLog 11963
+RMD160 ef3f206be6710714d57d82fb53eaacd6d023efe1 ChangeLog 11963
+SHA256 ae6bc7ea6b16722cd20dbc5e219d7c391f5d03312665e7c671d179d227b0ebba ChangeLog 11963
MISC metadata.xml 377 RMD160 1f17a6dbb9efe9992b812c253e63d02e93e37223 SHA1 0bde55896c3d1b16d71d1b33fc4b267b35817d5d SHA256 b6756d3fd813f8ff00f96cb472d15c9402e18001d9308dfdef1201369a4f6a6e
MD5 1bb6061bf8000d07f70ffdd74f5659f4 metadata.xml 377
RMD160 1f17a6dbb9efe9992b812c253e63d02e93e37223 metadata.xml 377
@@ -66,13 +66,13 @@ SHA256 b6756d3fd813f8ff00f96cb472d15c9402e18001d9308dfdef1201369a4f6a6e metadata
MD5 f2918bd35421e6d03f6fbde02874a7bd files/digest-mgetty-1.1.35-r2 259
RMD160 faffd810fc4a7846ea21a5fcf97c9ee0cd185ff3 files/digest-mgetty-1.1.35-r2 259
SHA256 9f5c26b6296f9ea4f57a6d08d7bd44d8437108ecdf1032a4e209456db3196f8c files/digest-mgetty-1.1.35-r2 259
-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
+MD5 2709b3129958c2fc786427bfdd8dfad0 files/digest-mgetty-1.1.36-r1 259
+RMD160 e41a47622b26c650ab434cae7dd4005f994b6bc8 files/digest-mgetty-1.1.36-r1 259
+SHA256 5c95a8e18abd6c2492e5147988850f914873157ceb79f4ab5e2711da4ab1ec5a files/digest-mgetty-1.1.36-r1 259
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.7 (GNU/Linux)
-iD8DBQFHSTLFVSA5X31g7/gRApeWAJ9Q36dW7OEiWOQ8WieEgINwpN57nwCeNx98
-Jtreo2wZlhLqWGopQK8rvnI=
-=FrF9
+iD8DBQFHTCfZVSA5X31g7/gRAgIZAJ4uk871e5vj58DCi6QgXruiwWzAMgCcCYeV
+4YRfJFqXRFMraGMW1Ct70Cg=
+=H/2y
-----END PGP SIGNATURE-----
diff --git a/net-dialup/mgetty/files/digest-mgetty-1.1.36 b/net-dialup/mgetty/files/digest-mgetty-1.1.36-r1
index 30482dab86c8..30482dab86c8 100644
--- a/net-dialup/mgetty/files/digest-mgetty-1.1.36
+++ b/net-dialup/mgetty/files/digest-mgetty-1.1.36-r1
diff --git a/net-dialup/mgetty/mgetty-1.1.36-r1.ebuild b/net-dialup/mgetty/mgetty-1.1.36-r1.ebuild
new file mode 100644
index 000000000000..80144bb8f399
--- /dev/null
+++ b/net-dialup/mgetty/mgetty-1.1.36-r1.ebuild
@@ -0,0 +1,153 @@
+# 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-r1.ebuild,v 1.1 2007/11/27 14:19:42 mrness Exp $
+
+inherit toolchain-funcs flag-o-matic eutils
+
+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/"
+
+DEPEND="doc? ( virtual/tetex )
+ >=sys-apps/sed-4
+ sys-apps/gawk
+ sys-apps/groff
+ dev-lang/perl
+ sys-apps/texinfo
+ !nofax? ( !net-misc/hylafax )"
+RDEPEND="${DEPEND}
+ media-libs/netpbm
+ virtual/ghostscript"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86"
+IUSE="doc fax fidonet"
+
+pkg_setup() {
+ enewgroup fax
+ enewuser fax -1 -1 /dev/null fax
+}
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-gentoo.patch"
+ 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 fax || 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:' \
+ -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:/usr/local/lib/mgetty+sendfax:/etc/mgetty+sendfax:' faxrunq.config
+ sed -i -e 's:/usr/local/bin/g3cat:/usr/bin/g3cat:' faxrunq.config fax/faxspool.rules
+
+ 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() {
+ #Avoid "is setXid, dynamically linked and using lazy bindings" QA notices
+ append-ldflags $(bindnow-flags)
+
+ use fidonet && append-flags "-DFIDO"
+ 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
+ keepdir /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."
+
+ #Install mgetty into /sbin (#119078)
+ dodir /sbin && \
+ mv "${D}"/usr/sbin/mgetty "${D}"/sbin && \
+ dosym /sbin/mgetty /usr/sbin/mgetty || die "failed to install /sbin/mgetty"
+ #Don't install ct (#106337)
+ rm "${D}"/usr/bin/ct || die "failed to remove useless ct program"
+
+ 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/*
+
+ if use fax; 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/*
+ fi
+
+ insinto /usr/share/${PN}
+ doins -r patches frontends
+ insinto /usr/share/${PN}/voice
+ doins -r voice/{contrib,Perl,scripts}
+
+ diropts -m 0750 -o fax -g fax
+ dodir /var/spool/voice
+ keepdir /var/spool/voice/incoming
+ keepdir /var/spool/voice/messages
+ if use fax; then
+ dodir /var/spool/fax
+ dodir /var/spool/fax/outgoing
+ keepdir /var/spool/fax/outgoing/locks
+ keepdir /var/spool/fax/incoming
+ fi
+}
+
+pkg_postinst() {
+ elog "Users who wish to use the fax or voicemail capabilities must be members"
+ elog "of the group fax in order to access files"
+ elog
+ elog "If you want to grab voice messages from a remote location, you must save"
+ elog "the password in /var/spool/voice/.code file"
+ echo
+ ewarn "/var/spool/voice/.code and /var/spool/voice/messages/Index"
+ ewarn "are not longer created by this automatically!"
+}