Portage is a package management system used by Gentoo Linux
# ChangeLog for net-dialup/mgetty
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/mgetty/ChangeLog,v 1.86 2008/07/08 02:24:24 nerdboy Exp $
08 Jul 2008; Steve Arnold
Corrected install to remove extraneous frontends when USE=fax is not set,
mostly just to tidy up along with the Hylafax updates.
07 Jun 2008; Alin Năstac
-files/mgetty-1.1.35-callback.patch, -files/mgetty-1.1.35-faxrunq.patch,
-files/mgetty-1.1.35-gentoo.patch,
-files/mgetty-1.1.35-implicit-decl.patch,
-files/mgetty-1.1.35-netpbm-collision.patch,
-files/mgetty-1.1.35-strerror.patch, -mgetty-1.1.35-r2.ebuild,
mgetty-1.1.36-r1.ebuild:
Remove obsolete version. Remove bindnow flags. Use better ways to circumvent
sandbox violation when building the documentation (#223077).
19 May 2008; Alin Năstac
mgetty-1.1.36-r1.ebuild:
Replace virtual/tetex dependency atom with virtual/latex-base (#222501).
24 Mar 2008; Markus Meier
amd64 stable, bug #204189
08 Feb 2008; Tobias Scherbaum
mgetty-1.1.36-r1.ebuild:
ppc stable, bug #204189
29 Jan 2008; Alin Năstac
Condition dependance of netpbm and ghostscript by the state of fax USE flag
(#208002).
22 Jan 2008; Brent Baude
Marking mgetty-1.1.36-r1 ~ppc64 for bug 206826
16 Jan 2008; Raúl Porcel
alpha/ia64/sparc stable wrt #204189
08 Jan 2008; Jeroen Roovers
Stable for HPPA (bug #204189).
08 Jan 2008; Markus Meier
x86 stable, bug #204189
*mgetty-1.1.36-r1 (27 Nov 2007)
27 Nov 2007; Alin Năstac
+mgetty-1.1.36-r1.ebuild:
Replace nofax USE flag with fax (#195467).
25 Nov 2007; Alin Năstac
+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)
14 Sep 2007; Alin Năstac
+files/mgetty-1.1.36-callback.patch, +files/mgetty-1.1.36-gentoo.patch,
+files/mgetty-1.1.36-qa-fixes.patch, +mgetty-1.1.36.ebuild:
Use ghostscript instead acroread and add netpbm and ghostscript to run-time
dependencies (#191441).
06 May 2007; Marius Mauch
Replacing einfo with elog
15 Apr 2007; Alin Năstac
files/mgetty-1.1.35-gentoo.patch,
+files/mgetty-1.1.35-implicit-decl.patch, mgetty-1.1.35-r2.ebuild:
Fix QA warnings.
10 Feb 2007; Alin Năstac
-files/mgetty-1.1.33-callback.diff, -files/mgetty-1.1.33-gentoo.diff,
-files/mgetty-1.1.33-strerror.diff, -files/mgetty-1.1.34-callback.patch,
-files/mgetty-1.1.34-gentoo.patch, -files/mgetty-1.1.34-strerror.patch,
-mgetty-1.1.33.ebuild, -mgetty-1.1.34.ebuild, -mgetty-1.1.35-r1.ebuild:
Remove obosolete versions.
*mgetty-1.1.35-r2 (20 Nov 2006)
20 Nov 2006; Alin Nastac
+files/mgetty-1.1.35-netpbm-collision.patch, +mgetty-1.1.35-r2.ebuild:
Fix collision with netpbm (#155670). Install mgetty executable in /sbin
(#119078). Don't install useless ct program (#106337). Stable on amd64.
04 Nov 2006; Alexander H. Færøy
mgetty-1.1.35-r1.ebuild:
Stable on alpha
15 Aug 2006; Alin Nastac
-files/mgetty-1.1.30-gentoo.diff, -files/mgetty-1.1.31-callback.diff,
-files/mgetty-1.1.31-gentoo.diff, -files/mgetty-1.1.31-logfile.c.diff,
-files/mgetty-1.1.31-r1-gentoo.diff, -mgetty-1.1.30-r2.ebuild,
-mgetty-1.1.30-r3.ebuild, -mgetty-1.1.31-r1.ebuild,
mgetty-1.1.35-r1.ebuild:
Remove obsolete versions. Add support for FidoNet at
Oleg Stopolenko
04 Aug 2006; Gustavo Zacarias
mgetty-1.1.35-r1.ebuild:
Stable on hppa
13 Jul 2006; Aron Griffis
Mark 1.1.35-r1 stable on ia64
24 May 2006; Michael Hanselmann
mgetty-1.1.35-r1.ebuild:
Stable on ppc.
*mgetty-1.1.35-r1 (18 May 2006)
18 May 2006; Alin Nastac
+files/mgetty-1.1.35-faxrunq.patch, -mgetty-1.1.35.ebuild,
+mgetty-1.1.35-r1.ebuild:
Correct quotes in faxrunq script (#133659).
17 May 2006; Gustavo Zacarias
Stable on sparc
14 May 2006; Alin Nastac
Stable on x86.
02 Apr 2006; Alin Nastac
Keep log directory (#128437).
29 Mar 2006; Aron Griffis
Mark 1.1.34 stable on ia64
22 Mar 2006; Michael Hanselmann
Stable on ppc.
13 Mar 2006; Gustavo Zacarias
Stable on sparc
*mgetty-1.1.35 (12 Mar 2006)
12 Mar 2006; Alin Nastac
+files/mgetty-1.1.35-callback.patch, +files/mgetty-1.1.35-gentoo.patch,
+files/mgetty-1.1.35-strerror.patch, mgetty-1.1.34.ebuild,
+mgetty-1.1.35.ebuild:
Quote various env vars and mark 1.1.34 as stable on x86. Version bump.
10 Mar 2006; Aron Griffis
Mark 1.1.33 stable on ia64
07 Feb 2006; Simon Stelling
stable on amd64
06 Feb 2006; Aron Griffis
Mark 1.1.33 stable on alpha
15 Jan 2006; Michael Hanselmann
Stable on ppc.
09 Jan 2006; Gustavo Zacarias
Stable on sparc
*mgetty-1.1.34 (09 Jan 2006)
09 Jan 2006; Alin Nastac
+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
-mgetty-1.1.31.ebuild:
Remove obsolete versions.
25 Dec 2005; Diego Pettenò
Use bindnow-flags function instead of -Wl,-z,now.
17 Jun 2005; Michael Hanselmann
mgetty-1.1.30-r2.ebuild:
Stable on ppc.
06 May 2005; Sven Wegener
mgetty-1.1.33.ebuild:
Removed * postfix from <, <=, >= and > dependencies.
*mgetty-1.1.33 (19 Apr 2005)
19 Apr 2005; Alin Nastac
+files/mgetty-1.1.33-callback.diff, +files/mgetty-1.1.33-gentoo.diff,
+files/mgetty-1.1.33-strerror.diff, +mgetty-1.1.33.ebuild:
Version bump
07 Apr 2005; Simon Stelling
stable on amd64
01 Apr 2005; Aron Griffis
stable on ia64
14 Feb 2005; Torsten Veller
files/mgetty-1.1.31-r1-gentoo.diff, mgetty-1.1.31-r1.ebuild:
Doesn't install /var/spool/voice/.code and /var/spool/voice/messages/Index
any longer. Added sample scripts to /usr/share/mgetty on request (#80366).
*mgetty-1.1.31-r1 (10 Feb 2005)
10 Feb 2005; Torsten Veller
+files/mgetty-1.1.31-callback.diff, +files/mgetty-1.1.31-logfile.c.diff,
+files/mgetty-1.1.31-r1-gentoo.diff, +mgetty-1.1.31-r1.ebuild:
- bug #80366 - CallerID detection for Lucent chip modems - thanks Peter Hyman
- added a patch to remove deprecated warnings (mgetty-*-logfile.diff) -
taken from debian
- switched off parallel make - needs to be fixed - 'sedscript' doesn't
like it
- patched doc generation - should fix bug #80739
- voice.conf is installed as 644 instead of 755
- changed ownership from bin:bin to root:root
*mgetty-1.1.31 (20 Nov 2004)
20 Nov 2004; Alin Nastac
+files/mgetty-1.1.31-gentoo.diff, -mgetty-1.1.30-r1.ebuild,
+mgetty-1.1.31.ebuild:
Version bump.
*mgetty-1.1.30-r3 (14 Nov 2004)
14 Nov 2004; Alin Nastac
Eliminate QA notices regarding lazy bindings. See bug #66151
11 Nov 2004; Bryan Østergaard
mgetty-1.1.30-r2.ebuild:
Stable on alpha.
02 Nov 2004; Bret Curtis
marked for testing on mips; ~mips
02 Nov 2004; Gustavo Zacarias
Stable on sparc
02 Nov 2004; Daniel Black
x86 stable
13 Oct 2004; Guy Martin
Stable on hppa.
17 Sep 2004; Heinrich Wendel
create /var/log/mgetty; add modem group; bug #64357
*mgetty-1.1.30-r2 (15 Sep 2004)
15 Sep 2004; Heinrich Wendel
add additionally documentation, bug #46131; fix creation of fax group, bug
#59461
03 Aug 2004; Heinrich Wendel
mgetty-1.1.30-r1.ebuild, mgetty-1.1.30.ebuild:
fix new user adding, remove old ebuild
18 May 2004; Mamoru KOMACHI
mgetty-1.1.30-r1.ebuild, mgetty-1.1.30.ebuild:
Changed app-text/tetex to virtual/tetex, see bug #50865
*mgetty-1.1.30-r1 (06 May 2004)
06 May 2004; Steve Arnold
added fix for bug 44231 submitted by Frank Cringle
28 Apr 2004; Scott W Taylor
drop unneeded $S definition
28 Apr 2004; Scott W Taylor
stable promotion
27 Apr 2004; Aron Griffis
Add inherit eutils
14 Apr 2004; Travis Tilley
added ~amd64 keyword
30 Mar 2004; Lars Weiler
Masked ~ppc on user report
18 Feb 2004; Guy Martin
Marked stable on hppa.
17 Feb 2004; Aron Griffis
stable on alpha and ia64
23 Jan 2004; Heinrich Wendel
change group phone to fax in voice.conf-dist and add group fax to the system
14 Jan 2004; Aron Griffis
add ~alpha and ~ia64
26 Dec 2003; Jason Wever
Marked stable on sparc to fix the broken dependencies of hylafax.
21 Nov 2003; Jason Wever
Added ~sparc keyword, resolves bug #33996.
19 Nov 2003; Heinrich Wendel
metadata.xml
13 Oct 2003; Daniel Ahlberg
Install callback programs. Closes #28015.
06 Sep 2003; Daniel Robbins
mgetty-1.1.28.ebuild: made tetex dependency conditional on "doc" USE
variable. Too insane to depend on 100MB of sources to generate a postscript
doc file by default. Closing bug 28014.
29 Apr 2003; Daniel Ahlberg
fax user to allow installation to finish. Closes #19469.
*mgetty-1.1.30 (28 Apr 2003)
28 Apr 2003; Daniel Ahlberg
Security update.
*mgetty-1.1.28 (10 Jul 2002)
06 Apr 2003; Seemant Kulleen
emake->make failthrough, closing bug #14753 by John Sutherland
20 Nov 2002; Daniel Ahlberg
Closes #10722.
27 Sep 2002; Daniel Ahlberg
Closes #8464.
10 Jun 2002; Ryan Phillips
New version and adds /var/spool/voice
Submitted by Rusty Phillips
*mgetty-1.1.26-r4 (1 May 2002)
1 May 2002; Seemant Kulleen
files/digest-mgetty-1.1.26-r4 :
Changed location defined for new_fax from /usr/local/lib/blah to
/etc/mgetty+sendfax. This should close out bug #2157 reported by
keith@kbird.net (Kbird)
*mgetty-1.1.26-r3 (30 Apr 2002)
30 Apr 2002; Seemant Kulleen
man pages moved from /usr/man to /usr/share/man
*mgetty-1.1.26-r2 (23 Apr 2002)
23 Apr 2002; R.Phillips
Fixes variables passed to the makefile and activates Calling Number
Display (CND). Fixes (#1988)
*mgetty-1.1.26-r2 (14 Apr 2002)
14 Apr 2002; M.Schlemmer
Fix sandbox errors related to fonts being installed during .ps generation.
Add support to generate the missing fonts in pkg_postinst().
*mgetty-1.1.26-r1 (1 Feb 2002)
1 Feb 2002; G.Bevin
Added initial ChangeLog which should be updated whenever the package is
updated in any way. This changelog is targetted to users. This means that the
comments should well explained and written in clean English. The details about
writing correct changelogs are explained in the skel.ChangeLog file which you
can find in the root directory of the portage repository.
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 3369 RMD160 0394431b71f5fbe68a7614decabf7e002dda0d00 SHA1 7c54a40b7f9cebc88d20e30d13d2ac2b37393ce9 SHA256 53a0c38440b7f0e15ca032672a3f26913f7736d9d0ddcac7919771cf816a7570
DIST mgetty1.1.36-Jun15.tar.gz 1046324 RMD160 421c72b8534c6665c46033d5fe1018ba1300fd50 SHA1 a9627e241502c505465a9c8ffadc09dd7d90fc02 SHA256 8b8642aa318604ad057ed161cacff5c600296cbfbc9b4d562134ee5c130c80ce
EBUILD mgetty-1.1.36-r1.ebuild 4561 RMD160 7a8caa242881379dc1ed0bf79afd035fcd9b23a4 SHA1 243d1111886da19755ca6cd50cd7b84582a7a368 SHA256 7157b05fd8e27154da749520b7a6b67cbffcb92c618263fe2be7ca86acb9202f
MISC ChangeLog 13652 RMD160 a54c6d9b9716cc6dd7ddd114812e0a68fabee741 SHA1 cad616f9aa91dee4525ad8538a036515a206c866 SHA256 e8e5e646119161d47efa2b7bd35dbbaf063167d06dc2781050ec599beab59d45
MISC metadata.xml 377 RMD160 1f17a6dbb9efe9992b812c253e63d02e93e37223 SHA1 0bde55896c3d1b16d71d1b33fc4b267b35817d5d SHA256 b6756d3fd813f8ff00f96cb472d15c9402e18001d9308dfdef1201369a4f6a6e
mgetty is capable of handling data, fax and voice calls without interfering with outgoing calls.
# Copyright 1999-2008 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.12 2008/07/08 02:24:24 nerdboy 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/latex-base )
>=sys-apps/sed-4
sys-apps/gawk
sys-apps/groff
dev-lang/perl
sys-apps/texinfo
fax? ( !net-misc/hylafax )"
RDEPEND="${DEPEND}
fax? ( media-libs/netpbm virtual/ghostscript )"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="alpha amd64 hppa ia64 ~mips ppc ~ppc64 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/^doc-all:/doc-all: mgetty.ps/" \
-i "${S}/doc/Makefile"
fi
}
src_compile() {
use fidonet && append-flags "-DFIDO"
append-flags "-DAUTO_PPP"
# parallel make fix later - 'sedscript' issue
VARTEXFONTS="${T}"/fonts 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
if ! use fax; then
insinto /usr/share/${PN}/frontends
doins -r frontends/{voice,network}
else
insinto /usr/share/${PN}
doins -r frontends
fi
insinto /usr/share/${PN}
doins -r patches
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!"
}