diff options
author | Heinrich Wendel <lanius@gentoo.org> | 2003-12-23 12:58:51 +0000 |
---|---|---|
committer | Heinrich Wendel <lanius@gentoo.org> | 2003-12-23 12:58:51 +0000 |
commit | 8b5d3072182513ba71bc2d87a817f87064eb1a47 (patch) | |
tree | e9b9e71e35174b3fa538cb1481d2fcaf7ab00975 /net-dialup | |
parent | added avmcapicontrol build (diff) | |
download | gentoo-2-8b5d3072182513ba71bc2d87a817f87064eb1a47.tar.gz gentoo-2-8b5d3072182513ba71bc2d87a817f87064eb1a47.tar.bz2 gentoo-2-8b5d3072182513ba71bc2d87a817f87064eb1a47.zip |
added avmcapicontrol build
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/isdn4k-utils/ChangeLog | 9 | ||||
-rw-r--r-- | net-dialup/isdn4k-utils/Manifest | 6 | ||||
-rw-r--r-- | net-dialup/isdn4k-utils/files/3.2_p1-r4/config | 120 | ||||
-rw-r--r-- | net-dialup/isdn4k-utils/files/digest-isdn4k-utils-3.2_p1-r4 | 2 | ||||
-rw-r--r-- | net-dialup/isdn4k-utils/isdn4k-utils-3.2_p1-r3.ebuild | 8 | ||||
-rw-r--r-- | net-dialup/isdn4k-utils/isdn4k-utils-3.2_p1-r4.ebuild | 124 |
6 files changed, 262 insertions, 7 deletions
diff --git a/net-dialup/isdn4k-utils/ChangeLog b/net-dialup/isdn4k-utils/ChangeLog index c5c21340a42a..d67f616924bf 100644 --- a/net-dialup/isdn4k-utils/ChangeLog +++ b/net-dialup/isdn4k-utils/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-dialup/isdn4k-utils # Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/isdn4k-utils/ChangeLog,v 1.12 2003/12/14 19:03:35 lanius Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/isdn4k-utils/ChangeLog,v 1.13 2003/12/23 12:58:41 lanius Exp $ + +*isdn4k-utils-3.2_p1-r4 (23 Dec 2003) + + 23 Dec 2003; Heinrich Wendel <lanius@gentoo.org> + isdn4k-utils-3.2_p1-r3.ebuild, isdn4k-utils-3.2_p1-r4.ebuild, + files/3.2_p1-r4/config: + added avmcapicontrol build 14 Dec 2003; Heinrich Wendel <lanius@gentoo.org> isdn4k-utils-3.2_p1-r2.ebuild, isdn4k-utils-3.2_p1-r3.ebuild: diff --git a/net-dialup/isdn4k-utils/Manifest b/net-dialup/isdn4k-utils/Manifest index fc0a93c6f24b..7e830fb58b4c 100644 --- a/net-dialup/isdn4k-utils/Manifest +++ b/net-dialup/isdn4k-utils/Manifest @@ -1,7 +1,7 @@ -MD5 0903cc891419cab28dfa08d1b7c42d4f isdn4k-utils-3.2_p1-r3.ebuild 3038 +MD5 30d284548c54931aebdd486ea36fc8f6 isdn4k-utils-3.2_p1-r3.ebuild 3038 MD5 468b2b7db6120886e52b67c055c8d7b2 isdn4k-utils-3.2_p1-r2.ebuild 2797 -MD5 dfa68e0e06c7e04b655b4cb3d7ef4b50 isdn4k-utils-3.2_p1-r4.ebuild 3030 -MD5 3f0ac1adc687d6f620b2cf3017d0b4ff ChangeLog 2011 +MD5 b3c1f6f0c0eb86fcd6e1e5c21f0ba0bd isdn4k-utils-3.2_p1-r4.ebuild 3110 +MD5 b1604879d8fb66f7f303057525f62687 ChangeLog 2221 MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163 MD5 2dbc97316fbe5d721b9701347464e22c files/gcc33-multiline.patch 1977 MD5 e2cc85397eb8ff285f383213ab00cdad files/digest-isdn4k-utils-3.2_p1-r2 73 diff --git a/net-dialup/isdn4k-utils/files/3.2_p1-r4/config b/net-dialup/isdn4k-utils/files/3.2_p1-r4/config new file mode 100644 index 000000000000..50eeaa14e2e8 --- /dev/null +++ b/net-dialup/isdn4k-utils/files/3.2_p1-r4/config @@ -0,0 +1,120 @@ +# +# Automatically generated by make menuconfig: don't edit +# + +# +# Code maturity level options +# +# CONFIG_EXPERIMENTAL is not set + +# +# General configuration +# +CONFIG_BUILDX11=y +CONFIG_KERNELDIR='/usr/src/linux' +CONFIG_BINDIR='/usr/bin' +CONFIG_SBINDIR='/sbin' +CONFIG_MANDIR='/usr/share/man' +CONFIG_RUNDIR='/var/run' +CONFIG_LOCKDIR='/var/lock' +CONFIG_LOCKFILE='LCK..' +CONFIG_I4LCONFDIR='/etc/isdn' +CONFIG_CONFFILE='isdn.conf' +CONFIG_CALLERIDFILE='callerid.conf' +CONFIG_USERCONFFILE='~/.isdn' +CONFIG_COUNTRYCODE='49' +CONFIG_AREACODE='89' +CONFIG_COUNTRY_PREFIX='+' +CONFIG_AREA_PREFIX='0' +CONFIG_DATADIR='/usr/share/isdn' + +# +# Runtime configuration tools +# +CONFIG_ISDNCTRL=y +CONFIG_ISDNCTRL_CONF=y +CONFIG_ISDNCTRL_TIMRU=y +CONFIG_IPROFD=y +CONFIG_DIVERTCTRL=y + +# +# Card configuration tools +# +CONFIG_HISAXCTRL=y +CONFIG_ICNCTRL=y +# CONFIG_ICNCTRL_DEBUG is not set +CONFIG_PCBITCTL=y +CONFIG_AVMCAPICTRL=y +CONFIG_ACTCTRL=y +CONFIG_EICONCTRL=y + +# +# Tools for monitoring activity +# +CONFIG_IMON=y +CONFIG_IMONTTY=y +CONFIG_ISDNLOG=y + +# +# Options for isdnlog package +# +CONFIG_ISDNLOG_SERV_PORT=20011 +CONFIG_ISDNLOG_USERFILE='isdnlog.users' +CONFIG_ISDNLOG_CHARGEFILE='charge.dat' +CONFIG_ISDNLOG_LOGFILE='/var/log/isdn.log' +CONFIG_ISDNLOG_RELOADCMD='/etc/init.d/isdn4linux restart' +CONFIG_ISDNLOG_STOPCMD='/etc/init.d/isdn4linux stop' +CONFIG_ISDNLOG_REBOOTCMD='/sbin/reboot' +CONFIG_ISDNLOG_OLDI4LCONFDIR='/etc/isdnlog' +CONFIG_ISDNLOG_OLDI4LCONFFILE='isdnlog.conf' +# CONFIG_ISDNLOG_POSTGRES is not set +# CONFIG_ISDNLOG_MYSQLDB is not set +# CONFIG_ISDNLOG_ORACLE is not set +CONFIG_ISDN_LOG_XX=y +CONFIG_ISDN_LOG_CC='' +CONFIG_ISDN_LOG_CC_EN=y +CONFIG_ISDN_LOG_DEST_DE=y +CONFIG_ISDN_LOG_DEST_AT=y +CONFIG_ISDN_LOG_DEST_NL=y +CONFIG_ISDN_LOG_DEST_CH=y +CONFIG_IPPPSTATS=y +CONFIG_XISDNLOAD=y +CONFIG_XMONISDN=y + +# +# Options for xmonisdn +# +CONFIG_XMONISDN_UPCMD='/etc/isdn/netup' +CONFIG_XMONISDN_DOWNCMD='/etc/isdn/netdown' + +# +# Applications +# +# CONFIG_VBOX is not set +CONFIG_IPPPD=y + +# +# Options for vbox package +# +VBOX_SPOOLDIR='/var/spool/vbox' +VBOX_LOGDIR='/var/log/vbox' +VBOX_PIDDIR='/var/run' +VBOX_LOCKDIR='/var/lock' +VBOX_DOCDIR='/usr/doc/vbox' +VBOX_TCL='tcl8.3' +# VBOX_SUSPEND_ID is not set + +# +# Options for ipppd +# +CONFIG_IPPPD_MSCHAP=y +# CONFIG_IPPPD_RADIUS is not set +# CONFIG_RADIUS_WTMP_LOGGING is not set +RADIUS_CLIENT_CONFIG_FILE='' + +# +# Documentation +# +CONFIG_GENMAN=y +#CONFIG_FAQ=y +#CONFIG_FAQDIR='/usr/doc/faq/isdn4linux' diff --git a/net-dialup/isdn4k-utils/files/digest-isdn4k-utils-3.2_p1-r4 b/net-dialup/isdn4k-utils/files/digest-isdn4k-utils-3.2_p1-r4 new file mode 100644 index 000000000000..fa921629c0cd --- /dev/null +++ b/net-dialup/isdn4k-utils/files/digest-isdn4k-utils-3.2_p1-r4 @@ -0,0 +1,2 @@ +MD5 d347afa462e46eccfd1284aebae227b6 isdn4k-utils.v3.2p1.tar.bz2 5238737 +MD5 dec7c96a6b3e8aa524bf0bcbae1f8af7 vbox3_0.1.9.tar.gz 105619 diff --git a/net-dialup/isdn4k-utils/isdn4k-utils-3.2_p1-r3.ebuild b/net-dialup/isdn4k-utils/isdn4k-utils-3.2_p1-r3.ebuild index acd0b4c6945f..b5313e2e37c9 100644 --- a/net-dialup/isdn4k-utils/isdn4k-utils-3.2_p1-r3.ebuild +++ b/net-dialup/isdn4k-utils/isdn4k-utils-3.2_p1-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2003 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/isdn4k-utils/isdn4k-utils-3.2_p1-r3.ebuild,v 1.2 2003/12/14 19:03:35 lanius Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/isdn4k-utils/isdn4k-utils-3.2_p1-r3.ebuild,v 1.3 2003/12/23 12:58:41 lanius Exp $ IUSE="X" VBOX_V=0.1.9 @@ -20,8 +20,10 @@ RDEPEND=">=sys-apps/portage-2.0.47-r10 virtual/glibc sys-libs/ncurses sys-libs/gdbm - dev-lang/tcl - X? ( virtual/x11 )" + X? ( + virtual/x11 + dev-lang/tcl + )" DEPEND="${RDEPEND} virtual/linux-sources" diff --git a/net-dialup/isdn4k-utils/isdn4k-utils-3.2_p1-r4.ebuild b/net-dialup/isdn4k-utils/isdn4k-utils-3.2_p1-r4.ebuild new file mode 100644 index 000000000000..17c40b55f988 --- /dev/null +++ b/net-dialup/isdn4k-utils/isdn4k-utils-3.2_p1-r4.ebuild @@ -0,0 +1,124 @@ +# Copyright 1999-2003 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dialup/isdn4k-utils/isdn4k-utils-3.2_p1-r4.ebuild,v 1.1 2003/12/23 12:58:41 lanius Exp $ + +IUSE="X" +VBOX_V=0.1.9 +MY_PVR=${PV}-r2 + +S=${WORKDIR}/${PN} +DESCRIPTION="ISDN-4-Linux Utils" +SRC_URI="ftp://ftp.isdn4linux.de/pub/isdn4linux/utils/${PN}.v3.2p1.tar.bz2 + http://smarden.org/pape/vbox3/vbox3_${VBOX_V}.tar.gz" +HOMEPAGE="http://www.isdn4linux.de/" + +SLOT="0" +KEYWORDS="~x86 ~amd64 ~alpha" +LICENSE="GPL-2" + +RDEPEND=">=sys-apps/portage-2.0.47-r10 + virtual/glibc + sys-libs/ncurses + sys-libs/gdbm + X? ( + virtual/x11 + dev-lang/tcl + )" + +DEPEND="${RDEPEND} + virtual/linux-sources + sys-devel/libtool + sys-devel/automake" + +src_unpack() { + unpack ${A} + # Get country code from I4L_CC variable + # default country: DE (Germany) + export I4L_CC=`echo -n "${I4L_CC}" | tr "[:lower:]" "[:upper:]"` + [ "X${I4L_CC}" == "X" ] && export I4L_CC=DE + export I4L_CC_LOW=`echo -n "${I4L_CC}" | tr "[:upper:]" "[:lower:]"` + cd ${S} + + # Patch .config file to suit our needs + cat ${FILESDIR}/${PV}-r4/config | { \ + if use X >/dev/null; then + cat + else + sed -e s/CONFIG_BUILDX11=y/#/ -e s/CONFIG_XISDNLOAD=y/#/ -e s/CONFIG_XMONISDN=y/#/; + fi; } | { \ + case "${I4L_CC}" in + DE|AT|CH|NL) + # These countries are specially supported in the isdnlog source. + sed -e s/CONFIG_ISDN_LOG_XX=y/CONFIG_ISDN_LOG_${I4L_CC}=y/ -e s/CONFIG_ISDN_LOG_CC=\'\'/#/ + ;; + *) + # Others get a generic isdnlog. + sed s/CONFIG_ISDN_LOG_CC=\'\'/CONFIG_ISDN_LOG_CC=\'${I4L_CC_LOW}\'/ + ;; + esac } \ + > .config || die + + # Patch in order to make generic config for countries which are not known to isdnlog source + epatch ${FILESDIR}/${MY_PVR}/gentoo.patch + + # disabling device creation the easy way: + echo "#!/bin/bash" > scripts/makedev.sh + echo "true" >> scripts/makedev.sh + + epatch ${FILESDIR}/gcc33-multiline.patch + + (cd capi20; libtoolize --force) + (cd capiinfo; ln -s /usr/share/automake-1.6/depcomp) +} + +src_compile() { + make subconfig || die + make || die + + cd ${S}/../vbox3-${VBOX_V} + econf + emake || die +} + +src_install() { + dodir /dev /sbin /usr/bin + make DESTDIR=${D} install || die + rm -rf ${D}/usr/doc ${D}/dev + dodoc COPYING NEWS README Mini-FAQ/isdn-faq.txt + + cd ${FILESDIR}/${MY_PVR} + dodir /etc/init.d /etc/conf.d /etc/ppp /var/lib/isdn4linux + + exeinto /etc/init.d + doexe net.ippp0 + newexe isdn4linux.init isdn4linux + + insinto /etc/conf.d + newins isdn4linux.conf isdn4linux + + exeinto /etc/ppp + insinto /etc/ppp + doexe ip-up + dosym ip-up /etc/ppp/ip-down + doins ip-down.ippp0 + doins ioptions + doins options.ippp0 + + cd ${S}/../vbox3-${VBOX_V} + einstall || die +} + +pkg_postinst() { + einfo + einfo "Please edit:" + einfo + einfo "- /etc/modules.autoload to contain your ISDN kernel modules" + einfo "- /etc/isdn/* (critical)" + einfo "- /etc/ppp/* (critical)" + einfo + einfo "/etc/init.d/isdn4linux will save and restore your isdnctrl config." + einfo "/etc/init.d/net.ippp0 will start synchronous PPP connections which" + einfo "you need to set up using isdnctrl first!" + einfo + +} |