diff options
author | Alin Năstac <mrness@gentoo.org> | 2004-11-09 16:48:37 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2004-11-09 16:48:37 +0000 |
commit | 5d521628b4f7cc8572179681b7f98c6921623c47 (patch) | |
tree | 397b552e10477b6774b7726f37a44899331fb3b8 /net-dialup/isdn4k-utils | |
parent | bump with the correct version this time (Manifest recommit) (diff) | |
download | gentoo-2-5d521628b4f7cc8572179681b7f98c6921623c47.tar.gz gentoo-2-5d521628b4f7cc8572179681b7f98c6921623c47.tar.bz2 gentoo-2-5d521628b4f7cc8572179681b7f98c6921623c47.zip |
remove badly named ebuilds
Diffstat (limited to 'net-dialup/isdn4k-utils')
16 files changed, 11 insertions, 671 deletions
diff --git a/net-dialup/isdn4k-utils/ChangeLog b/net-dialup/isdn4k-utils/ChangeLog index db1ae26cc078..0cd3d65c65ad 100644 --- a/net-dialup/isdn4k-utils/ChangeLog +++ b/net-dialup/isdn4k-utils/ChangeLog @@ -1,7 +1,16 @@ # ChangeLog for net-dialup/isdn4k-utils # Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/isdn4k-utils/ChangeLog,v 1.24 2004/11/09 16:34:43 mrness Exp $ - +# $Header: /var/cvsroot/gentoo-x86/net-dialup/isdn4k-utils/ChangeLog,v 1.25 2004/11/09 16:48:37 mrness Exp $ + + 09 Nov 2004; Alin Nastac <mrness@gentoo.org> + -isdn4k-utils-20041024.ebuild, -isdn4k-utils-20041024-r1.ebuild, + -files/20041024/config, -files/20041024/gentoo.patch, + -files/20041024/ioptions, -files/20041024/ip-down.ippp0, -files/20041024/ip-up, + -files/20041024/isdn4linux.conf, -files/20041024/isdn4linux.init, + -files/20041024/net.ippp0, -files/20041024/options.ippp0, -files/20041024/pathfix.patch, + -files/20041024/vbox-makefile.am.patch: + Remove badly named ebuilds. See bug #65168. + *isdn4k-utils-3.5_p20041024 (09 Nov 2004) 09 Nov 2004; Alin Nastac <mrness@gentoo.org> diff --git a/net-dialup/isdn4k-utils/files/20041024/config b/net-dialup/isdn4k-utils/files/20041024/config deleted file mode 100644 index a07d9589bf52..000000000000 --- a/net-dialup/isdn4k-utils/files/20041024/config +++ /dev/null @@ -1,120 +0,0 @@ -# -# 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/20041024/gentoo.patch b/net-dialup/isdn4k-utils/files/20041024/gentoo.patch deleted file mode 100644 index 4101b3abf044..000000000000 --- a/net-dialup/isdn4k-utils/files/20041024/gentoo.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff -ruN isdn4k-utils.orig/isdnlog/Makefile.in isdn4k-utils/isdnlog/Makefile.in ---- isdn4k-utils.orig/isdnlog/Makefile.in 2002-07-19 21:03:55.000000000 +0200 -+++ isdn4k-utils/isdnlog/Makefile.in 2003-04-26 12:06:28.000000000 +0200 -@@ -1959,6 +1959,7 @@ - $(INSTALL_DATA) samples/$$f.conf.$(NATION) $(DESTDIR)$(I4LCONFDIR)/$$f.conf.new ; \ - fi ; \ - done -+ @[ -f "$(DESTDIR)$(I4LCONFDIR)/isdn.conf" ] || $(INSTALL_DATA) samples/isdn.conf $(DESTDIR)$(I4LCONFDIR) - @for f in callerid.conf isdnlog.isdnctrl0.options isdnlog.users ; do \ - if [ ! -f "$(DESTDIR)$(I4LCONFDIR)/$$f" ]; then \ - $(INSTALL_DATA) samples/$$f $(DESTDIR)$(I4LCONFDIR)/$$f ; \ -@@ -2005,8 +2005,8 @@ - $(INSTALL_DATA) tools/isdnrate.1 $(DESTDIR)$(MAN1DIR)/isdnrate$(MAN1EXT) - $(INSTALL_DATA) tools/rate-files.5 $(DESTDIR)$(MAN5DIR)/rate-files$(MAN5EXT) - $(INSTALL_DATA) country-de.dat $(DESTDIR)$(DATADIR)/country.dat -- $(INSTALL_DATA) rate-$(NATION).dat $(DESTDIR)$(DATADIR) -- $(INSTALL_DATA) holiday-$(NATION).dat $(DESTDIR)$(DATADIR) -+ @[ ! -f rate-${NATION}.dat ] || $(INSTALL_DATA) rate-$(NATION).dat $(DESTDIR)$(DATADIR) -+ @[ ! -f holiday-${NATION}.dat ] || $(INSTALL_DATA) holiday-$(NATION).dat $(DESTDIR)$(DATADIR) - @for f in `ls zone-$(NATION)-*.gdbm zone-$(NATION)-*.db zone-$(NATION)-*.cdb tools/dest/dest.gdbm tools/dest/dest.db tools/dest/dest.cdb 2>/dev/null` ; do \ - $(INSTALL_DATA) $$f $(DESTDIR)$(DATADIR); \ - echo Installing $(DESTDIR)$(DATADIR)/$$f; \ -diff -ruN isdn4k-utils.orig/isdnlog/samples/isdn.conf isdn4k-utils/isdnlog/samples/isdn.conf ---- isdn4k-utils.orig/isdnlog/samples/isdn.conf 2002-01-29 17:39:20.000000000 +0100 -+++ isdn4k-utils/isdnlog/samples/isdn.conf 2003-04-26 12:05:01.000000000 +0200 -@@ -21,13 +21,13 @@ - CHARGEMAX = 50.00 - CURRENCY = 0.062,EUR - --COUNTRYFILE = /usr/lib/isdn/country.dat --DESTFILE= /usr/lib/isdn/dest.cdb -+COUNTRYFILE = /usr/share/isdn/country.dat -+DESTFILE= /usr/share/isdn/dest.cdb - RATECONF= /etc/isdn/rate.conf - # replace the xx in the next 3 lines with your country's letters! --RATEFILE= /usr/lib/isdn/rate-xx.dat --HOLIDAYS= /usr/lib/isdn/holiday-xx.dat --ZONEFILE= /usr/lib/isdn/zone-xx-%s.cdb -+RATEFILE= /usr/share/isdn/rate-xx.dat -+HOLIDAYS= /usr/share/isdn/holiday-xx.dat -+ZONEFILE= /usr/share/isdn/zone-xx-%s.cdb - - # providerselect - VBN = 10 # change this, depends on your country diff --git a/net-dialup/isdn4k-utils/files/20041024/ioptions b/net-dialup/isdn4k-utils/files/20041024/ioptions deleted file mode 100644 index 39cd232ddaba..000000000000 --- a/net-dialup/isdn4k-utils/files/20041024/ioptions +++ /dev/null @@ -1,2 +0,0 @@ -# System-wide configuration for ipppd. -# Normally, put all options into options.ipppX diff --git a/net-dialup/isdn4k-utils/files/20041024/ip-down.ippp0 b/net-dialup/isdn4k-utils/files/20041024/ip-down.ippp0 deleted file mode 100644 index b0db4825ccd0..000000000000 --- a/net-dialup/isdn4k-utils/files/20041024/ip-down.ippp0 +++ /dev/null @@ -1,11 +0,0 @@ -IFACE=$1 - -/bin/sleep 1 - -[ -s /etc/conf.d/net ] && . /etc/conf.d/net - -# Recreate the default route so autodial works - -if [ -n "${gateway}" ] && [ "${gateway%/*}" = "${IFACE}" ]; then - /sbin/route add default dev ${gateway%/*} -fi diff --git a/net-dialup/isdn4k-utils/files/20041024/ip-up b/net-dialup/isdn4k-utils/files/20041024/ip-up deleted file mode 100644 index e84dea974285..000000000000 --- a/net-dialup/isdn4k-utils/files/20041024/ip-up +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash - -# This calls /etc/ppp/ip-up.<interface> or /etc/ppp/ip-down.<interface> - -[ -s $0.$1 ] && . $0.$1 "$@" diff --git a/net-dialup/isdn4k-utils/files/20041024/isdn4linux.conf b/net-dialup/isdn4k-utils/files/20041024/isdn4linux.conf deleted file mode 100644 index 9c37494ca519..000000000000 --- a/net-dialup/isdn4k-utils/files/20041024/isdn4linux.conf +++ /dev/null @@ -1,3 +0,0 @@ -# Location where isdnctrl will save its configuration - -ISDNCTRL_SAVE="/var/lib/isdn4linux/isdnctrl.conf" diff --git a/net-dialup/isdn4k-utils/files/20041024/isdn4linux.init b/net-dialup/isdn4k-utils/files/20041024/isdn4linux.init deleted file mode 100644 index 82be3854d14f..000000000000 --- a/net-dialup/isdn4k-utils/files/20041024/isdn4linux.init +++ /dev/null @@ -1,35 +0,0 @@ -#!/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/isdn4k-utils/files/20041024/isdn4linux.init,v 1.1 2004/11/07 17:30:20 mrness Exp $ - -opts="start stop save reload" - -depend() { - use pcmcia -} - -start() { - ebegin "Loading isdnctrl configuration" - - # This variable is set in /etc/conf.d/isdn4linux - [ ! -f ${ISDNCTRL_SAVE} ] || isdnctrl readconf ${ISDNCTRL_SAVE} >/dev/null - - eend $? -} - -save() { - ebegin "Saving isdnctrl configuration" - - isdnctrl writeconf ${ISDNCTRL_SAVE} >/dev/null - - eend $? -} - -stop() { - ebegin "Unloading isdnctrl configuration" - - isdnctrl reset force >/dev/null - - eend $? -} diff --git a/net-dialup/isdn4k-utils/files/20041024/net.ippp0 b/net-dialup/isdn4k-utils/files/20041024/net.ippp0 deleted file mode 100644 index 76e913707f67..000000000000 --- a/net-dialup/isdn4k-utils/files/20041024/net.ippp0 +++ /dev/null @@ -1,101 +0,0 @@ -#!/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/isdn4k-utils/files/20041024/net.ippp0,v 1.1 2004/11/07 17:30:20 mrness Exp $ - -#NB: Config is in /etc/conf.d/net - -depend() { - need isdn4linux -} - -checkconfig() { - if [ -z "$(eval echo \$\{iface_${IFACE}\})" ] - then - eerror "Please make sure that /etc/conf.d/net has \$iface_$IFACE set" - return 1 - fi -} - -start() { - checkconfig || return 1 - - local iface_args="$(eval echo \$\{iface_${IFACE}\})" - local ipppd_opts="" - - ebegin "Starting ipppd for ${IFACE}" - [ -n "${gateway}" ] && [ "${gateway%/*}" = "${IFACE}" ] && ipppd_opts='defaultroute' - /sbin/ipppd ${ipppd_opts} pidfile /var/run/ipppd.${IFACE}.pid file /etc/ppp/options.${IFACE} || { - local retval=$? - eend ${retval} "Failed to start ipppd" - return ${retval} - } - eend 0 - - ebegin "Bringing ${IFACE} up" - /sbin/ifconfig ${IFACE} ${iface_args} >/dev/null || { - local retval=$? - eend ${retval} "Failed to bring ${IFACE} up" - stop - return ${retval} - } - eend 0 - - if [ -n "$(eval echo \$\{inet6_${IFACE}\})" ] - then - local x="" - ebegin " Adding inet6 addresses" - for x in $(eval echo \$\{inet6_${IFACE}\}) - do - ebegin " ${IFACE} inet6 add ${x}" - /sbin/ifconfig ${IFACE} inet6 add ${x} >/dev/null - eend 0 - done - save_options "inet6" "$(eval echo \$\{inet6_${IFACE}\})" - fi - - if [ -n "${gateway}" ] && [ "${gateway%/*}" = "${IFACE}" ] - then - ebegin " Setting default gateway" - /sbin/route add default dev ${gateway%/*} >/dev/null || { - local retval=$? - eend ${retval} "Failed to bring ${IFACE} up" - stop - return ${retval} - } - eend 0 - fi - - # Enabling rp_filter causes wacky packets to be auto-dropped by - # the kernel - if [ -e /proc/sys/net/ipv4/conf/${IFACE}/rp_filter ] - then - echo 1 > /proc/sys/net/ipv4/conf/${IFACE}/rp_filter - fi -} - -stop() { - local myinet6="$(get_options inet6)" - local pidfile="/var/run/ipppd.${IFACE}.pid" - - ebegin "Bringing ${IFACE} down" - - # Also down the inet6 interfaces - if [ -n "${myinet6}" ] - then - local x="" - for x in ${myinet6} - do - /sbin/ifconfig ${IFACE} inet6 del ${x} >/dev/null - done - fi - - /sbin/ifconfig ${IFACE} down >/dev/null - - # Kill ipppd - test -s "${pidfile}" && kill `cat ${pidfile}` - sleep 1 - test -s "${pidfile}" && sleep 2 && test -s "${pidfile}" && einfon "Killing ipppd" && kill -KILL `cat ${pidfile}` - - eend 0 -} diff --git a/net-dialup/isdn4k-utils/files/20041024/options.ippp0 b/net-dialup/isdn4k-utils/files/20041024/options.ippp0 deleted file mode 100644 index 13983f19ee96..000000000000 --- a/net-dialup/isdn4k-utils/files/20041024/options.ippp0 +++ /dev/null @@ -1,25 +0,0 @@ -# Example config for a personal ISP dialin -# see "man ipppd" for explanation of all possible options - -# for the defaultroute setting, look in /etc/conf.d/net - -/dev/isdn/ippp0 - -# you have to put login and password into /etc/ppp/pap-secrets too - -name "insert ppp login here" - -lock -ipcp-accept-local -ipcp-accept-remote -noipdefault - -# You might want to try these if you have problems: -#-vj -#-vjccomp -#-ac -#-pc -#-bsdcomp -#mru 1524 -#mtu 1500 -#noccp diff --git a/net-dialup/isdn4k-utils/files/20041024/pathfix.patch b/net-dialup/isdn4k-utils/files/20041024/pathfix.patch deleted file mode 100644 index 1b5c0bdd5d17..000000000000 --- a/net-dialup/isdn4k-utils/files/20041024/pathfix.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- isdn.conf.install 2004-03-19 13:53:59.000000000 +0100 -+++ isdn.conf 2004-03-19 13:54:48.000000000 +0100 -@@ -24,12 +24,12 @@ - CHARGEMAX = 50.00 - CURRENCY = 0.062,EUR - --COUNTRYFILE = /usr/lib/isdn/country.dat -+COUNTRYFILE = /usr/share/isdn/country.dat - RATECONF= /etc/isdn/rate.conf --RATEFILE= /usr/lib/isdn/rate-de.dat --HOLIDAYS= /usr/lib/isdn/holiday-de.dat --ZONEFILE= /usr/lib/isdn/zone-de-%s.cdb --DESTFILE= /usr/lib/isdn/dest.cdb -+RATEFILE= /usr/share/isdn/rate-de.dat -+HOLIDAYS= /usr/share/isdn/holiday-de.dat -+ZONEFILE= /usr/share/isdn/zone-de-%s.cdb -+DESTFILE= /usr/share/isdn/dest.cdb - - # providerselect - VBN = 010:01900 diff --git a/net-dialup/isdn4k-utils/files/20041024/vbox-makefile.am.patch b/net-dialup/isdn4k-utils/files/20041024/vbox-makefile.am.patch deleted file mode 100644 index 226262112f89..000000000000 --- a/net-dialup/isdn4k-utils/files/20041024/vbox-makefile.am.patch +++ /dev/null @@ -1,24 +0,0 @@ ---- vboxgetty/examples/scripts/Makefile.am.orig 2004-09-24 11:14:08.044455472 +0930 -+++ vboxgetty/examples/scripts/Makefile.am 2004-09-24 11:14:38.451386288 +0930 -@@ -14,6 +14,6 @@ - ## Local install routines ################################################ - - install-data-local: -- $(mkinstalldirs) $(pkgdatadir)/tcl -- $(INSTALL) -m 644 initmodem.tcl $(pkgdatadir)/tcl/ -- $(INSTALL) -m 644 answercall.tcl $(pkgdatadir)/tcl/ -+ $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/tcl -+ $(INSTALL) -m 644 initmodem.tcl $(DESTDIR)$(pkgdatadir)/tcl/ -+ $(INSTALL) -m 644 answercall.tcl $(DESTDIR)$(pkgdatadir)/tcl/ ---- vboxgetty/examples/Makefile.am.orig 2004-09-24 11:27:49.756751152 +0930 -+++ vboxgetty/examples/Makefile.am 2004-09-24 11:27:08.663145584 +0930 -@@ -18,6 +18,6 @@ - ## Local install routines ################################################ - - install-data-local: -- $(mkinstalldirs) $(sysconfdir) -- $(INSTALL) -m 664 vboxgetty.conf $(sysconfdir) -- $(INSTALL) -m 664 vboxcallerid.conf $(sysconfdir) -+ $(mkinstalldirs) $(DESTDIR)/$(sysconfdir) -+ $(INSTALL) -m 664 vboxgetty.conf $(DESTDIR)/$(sysconfdir) -+ $(INSTALL) -m 664 vboxcallerid.conf $(DESTDIR)/$(sysconfdir) diff --git a/net-dialup/isdn4k-utils/files/digest-isdn4k-utils-20041024 b/net-dialup/isdn4k-utils/files/digest-isdn4k-utils-20041024 deleted file mode 100644 index 50734554dc2d..000000000000 --- a/net-dialup/isdn4k-utils/files/digest-isdn4k-utils-20041024 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 453e6ca8812555d96fe3e840c89b15a8 isdn4k-utils-CVS-2004-10-24.tar.bz2 5508166 -MD5 dec7c96a6b3e8aa524bf0bcbae1f8af7 vbox3_0.1.9.tar.gz 105619 diff --git a/net-dialup/isdn4k-utils/files/digest-isdn4k-utils-20041024-r1 b/net-dialup/isdn4k-utils/files/digest-isdn4k-utils-20041024-r1 deleted file mode 100644 index 50734554dc2d..000000000000 --- a/net-dialup/isdn4k-utils/files/digest-isdn4k-utils-20041024-r1 +++ /dev/null @@ -1,2 +0,0 @@ -MD5 453e6ca8812555d96fe3e840c89b15a8 isdn4k-utils-CVS-2004-10-24.tar.bz2 5508166 -MD5 dec7c96a6b3e8aa524bf0bcbae1f8af7 vbox3_0.1.9.tar.gz 105619 diff --git a/net-dialup/isdn4k-utils/isdn4k-utils-20041024-r1.ebuild b/net-dialup/isdn4k-utils/isdn4k-utils-20041024-r1.ebuild deleted file mode 100644 index 041caceea84b..000000000000 --- a/net-dialup/isdn4k-utils/isdn4k-utils-20041024-r1.ebuild +++ /dev/null @@ -1,135 +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/isdn4k-utils/isdn4k-utils-20041024-r1.ebuild,v 1.1 2004/11/08 22:13:04 mrness Exp $ - -inherit eutils - -IUSE="X" -VBOX_V=0.1.9 -MY_PV=${PN}-CVS-2004-10-24 -S=${WORKDIR}/${MY_PV} -DESCRIPTION="ISDN-4-Linux Utils" -SRC_URI="ftp://ftp.isdn4linux.de/pub/isdn4linux/CVS-Snapshots/${MY_PV}.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/libc - sys-libs/ncurses - sys-libs/gdbm - dev-lang/tcl - X? ( - virtual/x11 - )" - -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} - - # fix for 2.6 headers - find . -name \*.c | xargs sed -i -e 's:linux/capi.h>$:linux/compiler.h>\n#include <linux/capi.h>:g' - - # Patch .config file to suit our needs - cat ${FILESDIR}/${PV}/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}/${PV}/gentoo.patch - - for x in capi20 capiinfo capiinit ../vbox3-${VBOX_V} - do - cd ${S}/${x} - [ -f ltmain.sh ] && libtoolize --force - rm -f missing - aclocal - automake --add-missing - autoconf - done - - cd ${WORKDIR}/vbox3-${VBOX_V} - epatch ${FILESDIR}/${PV}/vbox-makefile.am.patch || die "failed to patch vbox" -} - -src_compile() { - make subconfig || die - make || die - - cd ${S}/../vbox3-${VBOX_V} - econf || die "econf failed" - emake || die -} - -src_install() { - dodir /dev /sbin /usr/bin - make DESTDIR=${D} install || die - dodoc COPYING NEWS README Mini-FAQ/isdn-faq.txt - - cd ${FILESDIR}/${PV} - 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 "cannot install vbox3" - - cd ${D}/etc/isdn - epatch ${FILESDIR}/${PV}/pathfix.patch || 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 - -} diff --git a/net-dialup/isdn4k-utils/isdn4k-utils-20041024.ebuild b/net-dialup/isdn4k-utils/isdn4k-utils-20041024.ebuild deleted file mode 100644 index 7ac0cc93ddff..000000000000 --- a/net-dialup/isdn4k-utils/isdn4k-utils-20041024.ebuild +++ /dev/null @@ -1,140 +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/isdn4k-utils/isdn4k-utils-20041024.ebuild,v 1.1 2004/11/07 17:30:20 mrness Exp $ - -inherit eutils - -IUSE="X" -VBOX_V=0.1.9 -MY_PV=${PN}-CVS-2004-10-24 -S=${WORKDIR}/${MY_PV} -DESCRIPTION="ISDN-4-Linux Utils" -SRC_URI="ftp://ftp.isdn4linux.de/pub/isdn4linux/CVS-Snapshots/${MY_PV}.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/libc - sys-libs/ncurses - sys-libs/gdbm - dev-lang/tcl - X? ( - virtual/x11 - )" - -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} - - # fix for 2.6 headers - find . -name \*.c | xargs sed -i -e 's:linux/capi.h>$:linux/compiler.h>\n#include <linux/capi.h>:g' - - # Patch .config file to suit our needs - cat ${FILESDIR}/${PVR}/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}/${PVR}/gentoo.patch - - # disabling device creation the easy way: - echo "#!/bin/bash" > scripts/makedev.sh - echo "true" >> scripts/makedev.sh - - for x in capi20 capiinfo capiinit ../vbox3-${VBOX_V} - do - cd ${S}/${x} - [ -f ltmain.sh ] && libtoolize --force - rm -f missing - aclocal - automake --add-missing - autoconf - done - - cd ${WORKDIR}/vbox3-${VBOX_V} - epatch ${FILESDIR}/${PVR}/vbox-makefile.am.patch || die "failed to patch vbox" -} - -src_compile() { - make subconfig || die - make || die - - cd ${S}/../vbox3-${VBOX_V} - econf || die "econf failed" - 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}/${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 "cannot install vbox3" - - cd ${D}/etc/isdn - epatch ${FILESDIR}/${PVR}/pathfix.patch || 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 - -} |