summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2004-11-24 06:31:03 +0000
committerAlin Năstac <mrness@gentoo.org>2004-11-24 06:31:03 +0000
commit857b4c1614c981d4db2b9d6e5536a8f2b5d18f4e (patch)
tree9b7566c7521b18fa4a30ad12856dd338c05c20dd /net-dialup
parentAdding zlib-amd64 patch from bug 57912 to avoid segfault on amd64 (diff)
downloadhistorical-857b4c1614c981d4db2b9d6e5536a8f2b5d18f4e.tar.gz
historical-857b4c1614c981d4db2b9d6e5536a8f2b5d18f4e.tar.bz2
historical-857b4c1614c981d4db2b9d6e5536a8f2b5d18f4e.zip
initial import from #71845
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/ivam2/ChangeLog10
-rw-r--r--net-dialup/ivam2/Manifest15
-rw-r--r--net-dialup/ivam2/files/digest-ivam2-0.31
-rw-r--r--net-dialup/ivam2/files/ivam2.init43
-rw-r--r--net-dialup/ivam2/ivam2-0.3.ebuild44
-rw-r--r--net-dialup/ivam2/metadata.xml6
6 files changed, 119 insertions, 0 deletions
diff --git a/net-dialup/ivam2/ChangeLog b/net-dialup/ivam2/ChangeLog
new file mode 100644
index 000000000000..e82e5cb5fda5
--- /dev/null
+++ b/net-dialup/ivam2/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for net-dialup/ivam2
+# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/ivam2/ChangeLog,v 1.1 2004/11/24 06:31:03 mrness Exp $
+
+*ivam2-0.3 (24 Nov 2004)
+
+ 24 Nov 2004; Alin Nastac <mrness@gentoo.org> +metadata.xml,
+ +files/ivam2.init, +ivam2-0.3.ebuild:
+ Initial import from #71845, thanks to Stefan Briesenick <sbriesen@gmx.de>.
+
diff --git a/net-dialup/ivam2/Manifest b/net-dialup/ivam2/Manifest
new file mode 100644
index 000000000000..f9200e521078
--- /dev/null
+++ b/net-dialup/ivam2/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 0ab0d4ef2515885d0048e74502a7cf67 ivam2-0.3.ebuild 1162
+MD5 0f85f905010789f7ee35acae0307a6d6 metadata.xml 250
+MD5 82f3062cc9a1fcb56c3088773efeab7e ChangeLog 411
+MD5 13c574283b5f131701b415600ab68bcf files/digest-ivam2-0.3 61
+MD5 0b0524fa159ddb2bc40a3f8c6b795e41 files/ivam2.init 1021
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.2.6 (GNU/Linux)
+
+iD8DBQFBpCqzjtv59x0+BrURAmHCAJ90MwS4I7i8JAnPgMvm0MnM5r2tcACgnMmy
+Tr5ggdyyH5OdLFgkNF3eKHo=
+=3rFT
+-----END PGP SIGNATURE-----
diff --git a/net-dialup/ivam2/files/digest-ivam2-0.3 b/net-dialup/ivam2/files/digest-ivam2-0.3
new file mode 100644
index 000000000000..4b934d402807
--- /dev/null
+++ b/net-dialup/ivam2/files/digest-ivam2-0.3
@@ -0,0 +1 @@
+MD5 d41126fa711a6750068dbe017cac4149 ivam2-0.3.tar.gz 306202
diff --git a/net-dialup/ivam2/files/ivam2.init b/net-dialup/ivam2/files/ivam2.init
new file mode 100644
index 000000000000..d6938841fb16
--- /dev/null
+++ b/net-dialup/ivam2/files/ivam2.init
@@ -0,0 +1,43 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/ivam2/files/ivam2.init,v 1.1 2004/11/24 06:31:03 mrness Exp $
+
+opts="start stop reload info"
+
+depend() {
+ need isdn
+}
+
+start() {
+ local CONFIG="/etc/ivam2/ivam2.conf"
+
+ if [ ! -e "$CONFIG" ] ; then
+ eerror "You're missing ${CONFIG}"
+ return 1
+ fi
+
+ source "$CONFIG"
+
+ ebegin "Starting ISDN Voice Box Answering Machine"
+ start-stop-daemon --start --quiet --pidfile /var/run/ivamd.pid \
+ --exec /usr/sbin/ivamd -- ${ARGS} 2>/dev/null
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping ISDN Voice Box Answering Machine"
+ start-stop-daemon --stop --quiet --retry 5 --pidfile /var/run/ivamd.pid >/dev/null && \
+ /usr/bin/find /var/lock -user ivam -prune | /usr/bin/xargs /bin/rm -f /var/run/ivamd.pid
+ eend $?
+}
+
+reload() {
+ ebegin "Reloading ISDN Voice Box Answering Machine"
+ /usr/sbin/ivamd --reload 2>/dev/null
+ eend $?
+}
+
+info() {
+ /usr/sbin/ivamd --info
+}
diff --git a/net-dialup/ivam2/ivam2-0.3.ebuild b/net-dialup/ivam2/ivam2-0.3.ebuild
new file mode 100644
index 000000000000..0c3c525ee42b
--- /dev/null
+++ b/net-dialup/ivam2/ivam2-0.3.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/ivam2/ivam2-0.3.ebuild,v 1.1 2004/11/24 06:31:03 mrness Exp $
+
+inherit eutils
+
+DESCRIPTION="Automatic phone answering machine software for ISDN"
+SRC_URI="http://0pointer.de/lennart/projects/ivam2/${P}.tar.gz"
+HOMEPAGE="http://0pointer.de/lennart/projects/ivam2/"
+
+KEYWORDS="~x86"
+LICENSE="GPL-2"
+IUSE=""
+SLOT="0"
+
+DEPEND="virtual/libc
+ dev-libs/liboop
+ >=dev-libs/libdaemon-0.4
+ >=dev-lang/python-2.3
+ net-dialup/isdn4k-utils"
+
+src_compile() {
+ local myconf="--disable-lynx --disable-xmltoman --disable-gengetopt"
+ econf $myconf || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ keepdir /var/spool/ivam2
+ make install DESTDIR=${D} || die "make install failed"
+ dodoc doc/{README,README.VoiceBox,TODO}
+ dohtml doc/*.{html,css}
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/ivam2.init ivam2
+}
+
+pkg_preinst() {
+ enewgroup ivam || die "Problem adding ivam group"
+ enewuser ivam -1 /bin/false /dev/null ivam || die "Problem adding ivam user"
+}
+
+pkg_postinst() {
+ chown ivam:ivam /var/spool/ivam2
+}
diff --git a/net-dialup/ivam2/metadata.xml b/net-dialup/ivam2/metadata.xml
new file mode 100644
index 000000000000..d1a12fc37b38
--- /dev/null
+++ b/net-dialup/ivam2/metadata.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>net-dialup</herd>
+<longdescription>Automatic phone answering machine software for ISDN</longdescription>
+</pkgmetadata>