summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeinrich Wendel <lanius@gentoo.org>2004-08-03 07:38:13 +0000
committerHeinrich Wendel <lanius@gentoo.org>2004-08-03 07:38:13 +0000
commit26bb8416356dc67b4dea0259e0f4b313dbf61cf0 (patch)
treefb1ccb3c59a6755b4121de84d1daff42c925dc88 /net-dialup/mgetty
parentremove old buggy ebuild (diff)
downloadhistorical-26bb8416356dc67b4dea0259e0f4b313dbf61cf0.tar.gz
historical-26bb8416356dc67b4dea0259e0f4b313dbf61cf0.tar.bz2
historical-26bb8416356dc67b4dea0259e0f4b313dbf61cf0.zip
fix new user adding, remove old ebuild
Diffstat (limited to 'net-dialup/mgetty')
-rw-r--r--net-dialup/mgetty/ChangeLog6
-rw-r--r--net-dialup/mgetty/files/digest-mgetty-1.1.284
-rw-r--r--net-dialup/mgetty/mgetty-1.1.28.ebuild109
-rw-r--r--net-dialup/mgetty/mgetty-1.1.30-r1.ebuild4
-rw-r--r--net-dialup/mgetty/mgetty-1.1.30.ebuild4
5 files changed, 9 insertions, 118 deletions
diff --git a/net-dialup/mgetty/ChangeLog b/net-dialup/mgetty/ChangeLog
index 9dbb14f3a96b..23a2a8ce4aa6 100644
--- a/net-dialup/mgetty/ChangeLog
+++ b/net-dialup/mgetty/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-dialup/mgetty
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/mgetty/ChangeLog,v 1.31 2004/06/24 22:29:30 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/mgetty/ChangeLog,v 1.32 2004/08/03 07:38:13 lanius Exp $
+
+ 03 Aug 2004; Heinrich Wendel <lanius@gentoo.org> mgetty-1.1.28.ebuild,
+ mgetty-1.1.30-r1.ebuild, mgetty-1.1.30.ebuild:
+ fix new user adding, remove old ebuild
18 May 2004; Mamoru KOMACHI <usata@gentoo.org> mgetty-1.1.28.ebuild,
mgetty-1.1.30-r1.ebuild, mgetty-1.1.30.ebuild:
diff --git a/net-dialup/mgetty/files/digest-mgetty-1.1.28 b/net-dialup/mgetty/files/digest-mgetty-1.1.28
deleted file mode 100644
index 917377f3aa47..000000000000
--- a/net-dialup/mgetty/files/digest-mgetty-1.1.28
+++ /dev/null
@@ -1,4 +0,0 @@
-MD5 a1e05459ce2d5ff673bad552f355be4f /files/mgetty-1.1.28-gentoo.diff 2308
-MD5 bb8c42460c5aa951f0ac657c26d63bf9 /files/mgetty-1.1.26-gentoo.diff 324
-MD5 85278c6f6e27f5f55bad797029663c07 /mgetty-1.1.28.ebuild 2579
-MD5 dc5de3eb1cf75f37e60fb94e321cdcd7 mgetty1.1.28-Jan10.tar.gz 964610
diff --git a/net-dialup/mgetty/mgetty-1.1.28.ebuild b/net-dialup/mgetty/mgetty-1.1.28.ebuild
deleted file mode 100644
index d59cb7b8c20f..000000000000
--- a/net-dialup/mgetty/mgetty-1.1.28.ebuild
+++ /dev/null
@@ -1,109 +0,0 @@
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/mgetty/mgetty-1.1.28.ebuild,v 1.18 2004/07/14 23:02:11 agriffis 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}-Jan10.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"
-IUSE="doc"
-
-append-flags "-DAUTO_PPP"
-
-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
-}
-
-src_compile() {
- emake prefix=/usr \
- CONFDIR=/etc/mgetty+sendfax \
- CFLAGS="${CFLAGS}" \
- || make prefix=/usr \
- CONFDIR=/etc/mgetty+sendfax \
- CFLAGS="${CFLAGS}" \
- || die
-
- cd voice
- emake CONFDIR=/etc/mgetty+sendfax \
- || make CONFDIR=/etc/mgetty+sendfax \
- || die
- cd ${S}
-}
-
-src_install () {
- dodir /var/spool
- 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
-
- 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
- use doc && dodoc mgetty.ps
-
- #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-r1.ebuild b/net-dialup/mgetty/mgetty-1.1.30-r1.ebuild
index 97b4ab9e9ec6..9b0bcfe8e44f 100644
--- a/net-dialup/mgetty/mgetty-1.1.30-r1.ebuild
+++ b/net-dialup/mgetty/mgetty-1.1.30-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 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-r1.ebuild,v 1.4 2004/07/14 23:02:11 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/mgetty/mgetty-1.1.30-r1.ebuild,v 1.5 2004/08/03 07:38:13 lanius Exp $
inherit flag-o-matic eutils
@@ -19,7 +19,7 @@ LICENSE="GPL-2"
KEYWORDS="~x86 ~sparc ~alpha ~ia64 ~hppa ~ppc ~amd64"
IUSE="doc"
-pkg_setup() {
+pkg_preinst() {
enewgroup fax
enewuser fax -1 /bin/false /dev/null fax
}
diff --git a/net-dialup/mgetty/mgetty-1.1.30.ebuild b/net-dialup/mgetty/mgetty-1.1.30.ebuild
index 56d3a98a940c..abac8fb5e15a 100644
--- a/net-dialup/mgetty/mgetty-1.1.30.ebuild
+++ b/net-dialup/mgetty/mgetty-1.1.30.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 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.ebuild,v 1.18 2004/07/14 23:02:11 agriffis Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/mgetty/mgetty-1.1.30.ebuild,v 1.19 2004/08/03 07:38:13 lanius Exp $
inherit flag-o-matic eutils
@@ -19,7 +19,7 @@ LICENSE="GPL-2"
KEYWORDS="x86 sparc alpha ia64 hppa ppc amd64"
IUSE="doc"
-pkg_setup() {
+pkg_preinst() {
enewgroup fax
enewuser fax -1 /bin/false /dev/null fax
}