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
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')
-rw-r--r--net-dialup/mgetty/ChangeLog12
-rw-r--r--net-dialup/mgetty/Manifest39
-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
-rw-r--r--net-dialup/mgetty/metadata.xml2
-rw-r--r--net-dialup/mgetty/mgetty-1.1.33.ebuild6
-rw-r--r--net-dialup/mgetty/mgetty-1.1.34.ebuild148
9 files changed, 285 insertions, 22 deletions
diff --git a/net-dialup/mgetty/ChangeLog b/net-dialup/mgetty/ChangeLog
index 087cab3b3f10..a607df8cacb0 100644
--- a/net-dialup/mgetty/ChangeLog
+++ b/net-dialup/mgetty/ChangeLog
@@ -1,6 +1,14 @@
# ChangeLog for net-dialup/mgetty
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/mgetty/ChangeLog,v 1.50 2005/12/26 12:24:19 mrness Exp $
+# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/mgetty/ChangeLog,v 1.51 2006/01/09 09:08:41 mrness Exp $
+
+*mgetty-1.1.34 (09 Jan 2006)
+
+ 09 Jan 2006; Alin Nastac <mrness@gentoo.org>
+ +files/mgetty-1.1.34-callback.patch, +files/mgetty-1.1.34-gentoo.patch,
+ +files/mgetty-1.1.34-strerror.patch, metadata.xml, mgetty-1.1.33.ebuild,
+ +mgetty-1.1.34.ebuild:
+ Add description to metadata.xml. Mark 1.1.33 stable on x86. Version bump.
26 Dec 2005; Alin Nastac <mrness@gentoo.org> -mgetty-1.1.30.ebuild,
-mgetty-1.1.31.ebuild:
diff --git a/net-dialup/mgetty/Manifest b/net-dialup/mgetty/Manifest
index 86a951ca7c6e..2d35bfb922a4 100644
--- a/net-dialup/mgetty/Manifest
+++ b/net-dialup/mgetty/Manifest
@@ -1,29 +1,34 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 613c00d8bb964fcd6799ffb1bd97356a mgetty-1.1.30-r3.ebuild 3808
-MD5 5c1fecd73b6e0ccb0044b2997a067a8c mgetty-1.1.30-r2.ebuild 3541
-MD5 292c3f40fe41b373489b01659b894ce4 mgetty-1.1.31-r1.ebuild 3843
-MD5 4577279366ccc18f6cec52e7dc01eb77 ChangeLog 7556
-MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163
-MD5 ce3d01a1846a5185c2b19a33ac956986 mgetty-1.1.33.ebuild 4315
-MD5 bc47f96a12b21b779d57c0c2ad4b6837 files/mgetty-1.1.30-gentoo.diff 2771
-MD5 98aeee2f59082edadd2c9f85e0fe4fde files/mgetty-1.1.31-logfile.c.diff 1581
-MD5 3d8cb487c2713420c85ac4af2fe324ab files/mgetty-1.1.33-strerror.diff 1573
+MD5 e60e7a59c31d1b6c4c25bfef0fd33bdf ChangeLog 7884
+MD5 503ed4bbf18bb0b46850cb173873e16a files/Lucent.c.patch 814
MD5 c9b070dfabf7bd139d53d263f869b4f0 files/digest-mgetty-1.1.30-r2 70
MD5 c9b070dfabf7bd139d53d263f869b4f0 files/digest-mgetty-1.1.30-r3 70
MD5 892ea03975cbf5145ed6ab5f42424461 files/digest-mgetty-1.1.31-r1 70
+MD5 192de0178f8a1dc659e1a81c7ff002c2 files/digest-mgetty-1.1.33 71
+MD5 76ca07f8e36ebf8d72099ac559bc8a81 files/digest-mgetty-1.1.34 71
+MD5 bc47f96a12b21b779d57c0c2ad4b6837 files/mgetty-1.1.30-gentoo.diff 2771
+MD5 4e57a595747a3348f58b9e0acb19b5b7 files/mgetty-1.1.31-callback.diff 989
MD5 9b39643283b470533c7e4832364aa168 files/mgetty-1.1.31-gentoo.diff 2782
+MD5 98aeee2f59082edadd2c9f85e0fe4fde files/mgetty-1.1.31-logfile.c.diff 1581
MD5 90e6cd2de64fc408ab4103ce1800133f files/mgetty-1.1.31-r1-gentoo.diff 931
-MD5 4e57a595747a3348f58b9e0acb19b5b7 files/mgetty-1.1.31-callback.diff 989
-MD5 192de0178f8a1dc659e1a81c7ff002c2 files/digest-mgetty-1.1.33 71
-MD5 d9069c6812a2e93b2c51d0f59a5bf3f3 files/mgetty-1.1.33-gentoo.diff 933
-MD5 503ed4bbf18bb0b46850cb173873e16a files/Lucent.c.patch 814
MD5 c1e91ed1386ed8e49d88ffca11b2c194 files/mgetty-1.1.33-callback.diff 991
+MD5 d9069c6812a2e93b2c51d0f59a5bf3f3 files/mgetty-1.1.33-gentoo.diff 933
+MD5 3d8cb487c2713420c85ac4af2fe324ab files/mgetty-1.1.33-strerror.diff 1573
+MD5 3df5198ba43975d679dfd11a9c23dc5b files/mgetty-1.1.34-callback.patch 991
+MD5 b245928263a2507460ff9e99d6cd7f06 files/mgetty-1.1.34-gentoo.patch 933
+MD5 32b5b7d9a230a6dd97a35312989562f3 files/mgetty-1.1.34-strerror.patch 1573
+MD5 1bb6061bf8000d07f70ffdd74f5659f4 metadata.xml 377
+MD5 5c1fecd73b6e0ccb0044b2997a067a8c mgetty-1.1.30-r2.ebuild 3541
+MD5 613c00d8bb964fcd6799ffb1bd97356a mgetty-1.1.30-r3.ebuild 3808
+MD5 292c3f40fe41b373489b01659b894ce4 mgetty-1.1.31-r1.ebuild 3843
+MD5 d2a8452d87b401d371d682af009b5ed1 mgetty-1.1.33.ebuild 4311
+MD5 5051a985cf1e4c819f69daa2c4624fe8 mgetty-1.1.34.ebuild 4274
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
+Version: GnuPG v1.4.1 (GNU/Linux)
-iD8DBQFDr+EFNSP4Vda7IdsRAt5EAJ9kk8kMhw2jaMBizNMz5GAtsU6oLACdHo0a
-iLiOffZy0yz+wbZXxVC/LHM=
-=aQRF
+iD8DBQFDwigxjG8pv1lIUX4RAoOEAKCFpXB05MaGld5SnkEirUpuDdVGOQCg5bUY
+DLT6V79Rs8SL9j13GjTZFh8=
+=e6Rt
-----END PGP SIGNATURE-----
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
diff --git a/net-dialup/mgetty/metadata.xml b/net-dialup/mgetty/metadata.xml
index 1e11e7bbd01b..9f353c3814cb 100644
--- a/net-dialup/mgetty/metadata.xml
+++ b/net-dialup/mgetty/metadata.xml
@@ -2,4 +2,6 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>net-dialup</herd>
+<longdescription>Suite of programs that allows you to take full advantage of your voice/fax modem.
+mgetty is capable of handling data, fax and voice calls without interfering with outgoing calls.</longdescription>
</pkgmetadata>
diff --git a/net-dialup/mgetty/mgetty-1.1.33.ebuild b/net-dialup/mgetty/mgetty-1.1.33.ebuild
index bf895258ae26..8a913716eb4d 100644
--- a/net-dialup/mgetty/mgetty-1.1.33.ebuild
+++ b/net-dialup/mgetty/mgetty-1.1.33.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/mgetty/mgetty-1.1.33.ebuild,v 1.5 2005/12/25 15:11:55 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/mgetty/mgetty-1.1.33.ebuild,v 1.6 2006/01/09 09:08:41 mrness Exp $
inherit toolchain-funcs flag-o-matic eutils
@@ -20,7 +20,7 @@ DEPEND="${RDEPEND}
SLOT="0"
LICENSE="GPL-2"
-KEYWORDS="~x86 ~sparc ~alpha ~ia64 ~hppa ~ppc ~amd64 ~mips"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc x86"
IUSE="doc"
pkg_setup() {
diff --git a/net-dialup/mgetty/mgetty-1.1.34.ebuild b/net-dialup/mgetty/mgetty-1.1.34.ebuild
new file mode 100644
index 000000000000..613334d1f9f8
--- /dev/null
+++ b/net-dialup/mgetty/mgetty-1.1.34.ebuild
@@ -0,0 +1,148 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/mgetty/mgetty-1.1.34.ebuild,v 1.1 2006/01/09 09:08:41 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}-Nov30.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"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~sparc ~x86"
+IUSE="doc"
+
+pkg_setup() {
+ enewgroup fax
+ enewuser fax -1 -1 /dev/null fax
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${P}-gentoo.patch
+ # fix deprecate warnings
+ epatch ${FILESDIR}/${P}-strerror.patch
+ # add callback install to Makefile
+ epatch ${FILESDIR}/${P}-callback.patch
+ # Lucent modem CallerID patch - bug #80366
+ epatch ${FILESDIR}/Lucent.c.patch
+
+ #Avoid "is setXid, dynamically linked and using lazy bindings" QA notices
+ append-ldflags $(bindnow-flags)
+
+ sed -i 's: \$(CFLAGS) -o faxq-helper faxq-helper.o: $(LDLAGS) '$(bindnow-flags)' -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
+
+ #Set proper owner:group
+ sed -i -e "s:uucp:fax:g" ${S}/mgetty.cfg.in
+ sed -i -e "s:phone_group phone:phone_group fax:g" \
+ -e "s:phone_owner root:phone_owner fax:g" \
+ -e "s/root.phone/fax: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}
+
+ diropts -m 0750 -o fax -g fax
+ 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
+}
+
+pkg_postinst() {
+ einfo "Users who wish to use the fax or voicemail capabilities must be members"
+ einfo "of the group fax in order to access files"
+ echo
+ einfo "If you want to grab voice messages from a remote location, you must save"
+ einfo "the password in ${ROOT}var/spool/voice/.code file"
+ echo
+ ewarn "${ROOT}var/spool/voice/.code and ${ROOT}var/spool/voice/messages/Index"
+ ewarn "are not longer created by this automatically!"
+}