summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Robbins <drobbins@gentoo.org>2002-12-17 04:21:16 +0000
committerDaniel Robbins <drobbins@gentoo.org>2002-12-17 04:21:16 +0000
commit7333bfd98a1f85e93de97c2119559142f1701766 (patch)
treec05f790556edc9150158338fcac0907db3e1f0eb /net-dialup/isdn4k-utils/files
parentcvs commit (diff)
downloadgentoo-2-7333bfd98a1f85e93de97c2119559142f1701766.tar.gz
gentoo-2-7333bfd98a1f85e93de97c2119559142f1701766.tar.bz2
gentoo-2-7333bfd98a1f85e93de97c2119559142f1701766.zip
New rev of isdn4kutils, effectively closing bug 9578. Assigning this bug
to seemant since it may indicate that a new person should be added to the dev team.
Diffstat (limited to 'net-dialup/isdn4k-utils/files')
-rw-r--r--net-dialup/isdn4k-utils/files/3.2_p1-r2/config109
-rw-r--r--net-dialup/isdn4k-utils/files/3.2_p1-r2/gentoo.patch22
-rw-r--r--net-dialup/isdn4k-utils/files/3.2_p1-r2/ioptions2
-rw-r--r--net-dialup/isdn4k-utils/files/3.2_p1-r2/ip-down.ippp011
-rw-r--r--net-dialup/isdn4k-utils/files/3.2_p1-r2/ip-up5
-rw-r--r--net-dialup/isdn4k-utils/files/3.2_p1-r2/isdn4linux.conf3
-rw-r--r--net-dialup/isdn4k-utils/files/3.2_p1-r2/isdn4linux.init29
-rw-r--r--net-dialup/isdn4k-utils/files/3.2_p1-r2/net.ippp0101
-rw-r--r--net-dialup/isdn4k-utils/files/3.2_p1-r2/options.ippp025
-rw-r--r--net-dialup/isdn4k-utils/files/digest-isdn4k-utils-3.2_p1-r21
10 files changed, 308 insertions, 0 deletions
diff --git a/net-dialup/isdn4k-utils/files/3.2_p1-r2/config b/net-dialup/isdn4k-utils/files/3.2_p1-r2/config
new file mode 100644
index 000000000000..2bfeb38a2e30
--- /dev/null
+++ b/net-dialup/isdn4k-utils/files/3.2_p1-r2/config
@@ -0,0 +1,109 @@
+#
+# 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 is not set
+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 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/3.2_p1-r2/gentoo.patch b/net-dialup/isdn4k-utils/files/3.2_p1-r2/gentoo.patch
new file mode 100644
index 000000000000..3a4f7e1f4c01
--- /dev/null
+++ b/net-dialup/isdn4k-utils/files/3.2_p1-r2/gentoo.patch
@@ -0,0 +1,22 @@
+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 2002-11-21 00:36:44.000000000 +0100
+@@ -1794,6 +1794,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 ; \
+@@ -1836,8 +1837,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 --git a/net-dialup/isdn4k-utils/files/3.2_p1-r2/ioptions b/net-dialup/isdn4k-utils/files/3.2_p1-r2/ioptions
new file mode 100644
index 000000000000..39cd232ddaba
--- /dev/null
+++ b/net-dialup/isdn4k-utils/files/3.2_p1-r2/ioptions
@@ -0,0 +1,2 @@
+# System-wide configuration for ipppd.
+# Normally, put all options into options.ipppX
diff --git a/net-dialup/isdn4k-utils/files/3.2_p1-r2/ip-down.ippp0 b/net-dialup/isdn4k-utils/files/3.2_p1-r2/ip-down.ippp0
new file mode 100644
index 000000000000..b0db4825ccd0
--- /dev/null
+++ b/net-dialup/isdn4k-utils/files/3.2_p1-r2/ip-down.ippp0
@@ -0,0 +1,11 @@
+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/3.2_p1-r2/ip-up b/net-dialup/isdn4k-utils/files/3.2_p1-r2/ip-up
new file mode 100644
index 000000000000..445fa500b70e
--- /dev/null
+++ b/net-dialup/isdn4k-utils/files/3.2_p1-r2/ip-up
@@ -0,0 +1,5 @@
+#!/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/3.2_p1-r2/isdn4linux.conf b/net-dialup/isdn4k-utils/files/3.2_p1-r2/isdn4linux.conf
new file mode 100644
index 000000000000..9c37494ca519
--- /dev/null
+++ b/net-dialup/isdn4k-utils/files/3.2_p1-r2/isdn4linux.conf
@@ -0,0 +1,3 @@
+# Location where isdnctrl will save its configuration
+
+ISDNCTRL_SAVE="/var/lib/isdn4linux/isdnctrl.conf"
diff --git a/net-dialup/isdn4k-utils/files/3.2_p1-r2/isdn4linux.init b/net-dialup/isdn4k-utils/files/3.2_p1-r2/isdn4linux.init
new file mode 100644
index 000000000000..9e289e155910
--- /dev/null
+++ b/net-dialup/isdn4k-utils/files/3.2_p1-r2/isdn4linux.init
@@ -0,0 +1,29 @@
+#!/sbin/runscript
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/isdn4k-utils/files/3.2_p1-r2/isdn4linux.init,v 1.1 2002/12/17 04:21:16 drobbins Exp $
+
+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 $?
+
+}
+
+stop() {
+
+ ebegin "Saving isdnctrl configuration"
+
+ isdnctrl writeconf ${ISDNCTRL_SAVE} >/dev/null
+
+ eend $?
+
+}
diff --git a/net-dialup/isdn4k-utils/files/3.2_p1-r2/net.ippp0 b/net-dialup/isdn4k-utils/files/3.2_p1-r2/net.ippp0
new file mode 100644
index 000000000000..51499b7b1dc0
--- /dev/null
+++ b/net-dialup/isdn4k-utils/files/3.2_p1-r2/net.ippp0
@@ -0,0 +1,101 @@
+#!/sbin/runscript
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/isdn4k-utils/files/3.2_p1-r2/net.ippp0,v 1.1 2002/12/17 04:21:16 drobbins 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/3.2_p1-r2/options.ippp0 b/net-dialup/isdn4k-utils/files/3.2_p1-r2/options.ippp0
new file mode 100644
index 000000000000..13983f19ee96
--- /dev/null
+++ b/net-dialup/isdn4k-utils/files/3.2_p1-r2/options.ippp0
@@ -0,0 +1,25 @@
+# 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/digest-isdn4k-utils-3.2_p1-r2 b/net-dialup/isdn4k-utils/files/digest-isdn4k-utils-3.2_p1-r2
new file mode 100644
index 000000000000..6b0b9b465e32
--- /dev/null
+++ b/net-dialup/isdn4k-utils/files/digest-isdn4k-utils-3.2_p1-r2
@@ -0,0 +1 @@
+MD5 d347afa462e46eccfd1284aebae227b6 isdn4k-utils.v3.2p1.tar.bz2 5238737