summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Knoblich <stkn@gentoo.org>2004-03-16 00:25:17 +0000
committerStefan Knoblich <stkn@gentoo.org>2004-03-16 00:25:17 +0000
commitb1fed385b836e2baf562d414e529614511584ec0 (patch)
treec1b044c032bbc04338065f8044d857e317b161a0 /net-misc/zaptel
parentfixes up amd64 and some other minor things (Manifest recommit) (diff)
downloadgentoo-2-b1fed385b836e2baf562d414e529614511584ec0.tar.gz
gentoo-2-b1fed385b836e2baf562d414e529614511584ec0.tar.bz2
gentoo-2-b1fed385b836e2baf562d414e529614511584ec0.zip
version bump
Diffstat (limited to 'net-misc/zaptel')
-rw-r--r--net-misc/zaptel/ChangeLog8
-rw-r--r--net-misc/zaptel/files/digest-zaptel-0.8.12
-rw-r--r--net-misc/zaptel/zaptel-0.8.1.ebuild53
3 files changed, 62 insertions, 1 deletions
diff --git a/net-misc/zaptel/ChangeLog b/net-misc/zaptel/ChangeLog
index e5b898816091..b22c15f1fb2e 100644
--- a/net-misc/zaptel/ChangeLog
+++ b/net-misc/zaptel/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/zaptel
# Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/zaptel/ChangeLog,v 1.2 2004/02/19 00:25:57 stkn Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/zaptel/ChangeLog,v 1.3 2004/03/16 00:25:16 stkn Exp $
+
+*zaptel-0.8.1 (16 Mar 2004)
+
+ 16 Mar 2004; Stefan Knoblich <stkn@gentoo.org> zaptel-0.8.1.ebuild:
+ version bump, this version still lacks linux-2.6 support
+ (kbuild + sandbox is a problem atm...)
19 Feb 2004; Stefan Knoblich <stkn@gentoo.org> zaptel-0.7.0.ebuild:
fixed SRC_URI
diff --git a/net-misc/zaptel/files/digest-zaptel-0.8.1 b/net-misc/zaptel/files/digest-zaptel-0.8.1
new file mode 100644
index 000000000000..6f3a8a864b99
--- /dev/null
+++ b/net-misc/zaptel/files/digest-zaptel-0.8.1
@@ -0,0 +1,2 @@
+MD5 d4ce4a6f1a17b5c2f3906b2f14806315 zaptel-0.8.1.tar.gz 287529
+MD5 d88b9795302be7999ccbc8e7fd1ef676 bri-stuff-0.0.2rc10.tar.gz 46107
diff --git a/net-misc/zaptel/zaptel-0.8.1.ebuild b/net-misc/zaptel/zaptel-0.8.1.ebuild
new file mode 100644
index 000000000000..db09f9dbf0ea
--- /dev/null
+++ b/net-misc/zaptel/zaptel-0.8.1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/zaptel/zaptel-0.8.1.ebuild,v 1.1 2004/03/16 00:25:16 stkn Exp $
+
+IUSE=""
+
+DESCRIPTION="Pseudo-TDM engine"
+HOMEPAGE="http://www.asterisk.org"
+SRC_URI="ftp://ftp.asterisk.org/pub/telephony/zaptel/zaptel-${PV}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+DEPEND="virtual/glibc
+ virtual/linux-sources"
+
+pkg_setup() {
+ # check if we're running a 2.6 kernel (not supported, atm)
+ if [ $(echo $KV | cut -d. -f1) -eq 2 ] && [ $(echo $KV|cut -d. -f2) -eq 6 ]; then
+ eerror "Linux kernel 2.6 is not supported at the moment..."
+ die
+ fi
+
+ einfo "Please make sure that your kernel has the appropriate"
+ einfo "ppp support enabled or present as modules before merging"
+ einfo "e.g."
+ einfo "CONFIG_PPP=m"
+ einfo "CONFIG_PPP_ASYNC=m"
+ einfo "CONFIG_PPP_DEFLATE=m"
+ einfo "CONFIG_PPPOE=m"
+ einfo "Otherwise quit this ebuild, rebuild your kernel and reboot"
+ sleep 5
+}
+
+src_unpack() {
+ unpack ${A}
+
+ cd ${S}
+ epatch ${FILESDIR}/${PN}-mkdir-usrincludelinux.patch
+ epatch ${FILESDIR}/${PN}-modulesd.patch
+}
+
+src_compile() {
+ make || die
+}
+
+src_install() {
+ make INSTALL_PREFIX=${D} install || die
+
+ dodoc ChangeLog README.fxsusb zaptel.init zaptel.sysconfig
+ dodoc zaptel.conf.sample
+}