diff options
author | Alin Năstac <mrness@gentoo.org> | 2005-03-09 05:53:26 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2005-03-09 05:53:26 +0000 |
commit | af3233e560215218a189b1d91e3198b22aca32b7 (patch) | |
tree | b25772deccc0a4f7a71ae4b523a00507f1e4dad7 /net-dialup/fcdsl | |
parent | gnome-2.10 release (diff) | |
download | historical-af3233e560215218a189b1d91e3198b22aca32b7.tar.gz historical-af3233e560215218a189b1d91e3198b22aca32b7.tar.bz2 historical-af3233e560215218a189b1d91e3198b22aca32b7.zip |
remove obsolete versions
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'net-dialup/fcdsl')
-rw-r--r-- | net-dialup/fcdsl/ChangeLog | 6 | ||||
-rw-r--r-- | net-dialup/fcdsl/Manifest | 16 | ||||
-rw-r--r-- | net-dialup/fcdsl/fcdsl-2.6.20.7-r2.ebuild | 293 | ||||
-rw-r--r-- | net-dialup/fcdsl/fcdsl-2.6.20.7-r3.ebuild | 283 | ||||
-rw-r--r-- | net-dialup/fcdsl/files/digest-fcdsl-2.6.20.7-r2 | 1 | ||||
-rw-r--r-- | net-dialup/fcdsl/files/digest-fcdsl-2.6.20.7-r3 | 5 |
6 files changed, 16 insertions, 588 deletions
diff --git a/net-dialup/fcdsl/ChangeLog b/net-dialup/fcdsl/ChangeLog index 2aaec1946c39..b99f14c19f84 100644 --- a/net-dialup/fcdsl/ChangeLog +++ b/net-dialup/fcdsl/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-dialup/fcdsl # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/fcdsl/ChangeLog,v 1.11 2005/03/04 13:09:49 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/fcdsl/ChangeLog,v 1.12 2005/03/09 05:53:26 mrness Exp $ + + 09 Mar 2005; Alin Nastac <mrness@gentoo.org> -fcdsl-2.6.20.7-r2.ebuild, + -fcdsl-2.6.20.7-r3.ebuild: + Remove obsolete versions. 04 Mar 2005; Stefan Schweizer <genstef@gentoo.org> fcdsl-2.6.20.7-r4.ebuild: diff --git a/net-dialup/fcdsl/Manifest b/net-dialup/fcdsl/Manifest index 2a509ad1c30e..fb5809b06f93 100644 --- a/net-dialup/fcdsl/Manifest +++ b/net-dialup/fcdsl/Manifest @@ -1,13 +1,19 @@ -MD5 dd45a2d2b1c049503c3444b4ce0c9e0d fcdsl-2.6.20.7-r3.ebuild 7673 -MD5 04cbd0d05d96a8067a967e10ea4baf85 fcdsl-2.6.20.7-r2.ebuild 7723 -MD5 77ff66c5cca425b1ffe33e1082fc2ccf ChangeLog 2521 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 e161a170b4d85cbd0243ba44553d261c ChangeLog 2652 MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163 MD5 ae2409fa2559d25cecf4c69bbb691611 fcdsl-2.6.20.7-r4.ebuild 7398 MD5 35e156955da1166d6de5e56bb66857db files/fcdslslusb.diff 4002 MD5 776e0c65eda5432a30f9beae8896ca97 files/fcdslsl.diff 1896 MD5 22a65f3dcb8b67dc53a23ef35886bf18 files/fcdsl.diff 4636 MD5 294902b3dadf7b52b7093305a97c8ff7 files/fcdslusb.diff 2440 -MD5 364100988c059984dab986c49888df6f files/digest-fcdsl-2.6.20.7-r2 72 -MD5 05ac6fb7b43f51ef47b85e53bc08de2d files/digest-fcdsl-2.6.20.7-r3 381 MD5 7d0d40b4547c891577925915b046cffc files/digest-fcdsl-2.6.20.7-r4 381 MD5 4d073842f89f61ce68ae5ee7ac100d70 files/fcdsl2.diff 1867 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.2.6 (GNU/Linux) + +iD8DBQFCLo9hjiC39V7gKu0RAsnFAJ9byjI7rKw3AXRNVWLgrdCMcIbBNACgvc2j +oNbZTELiGW+s8CDwEQWoJPQ= +=y5hs +-----END PGP SIGNATURE----- diff --git a/net-dialup/fcdsl/fcdsl-2.6.20.7-r2.ebuild b/net-dialup/fcdsl/fcdsl-2.6.20.7-r2.ebuild deleted file mode 100644 index 2a1c1fbd5e9f..000000000000 --- a/net-dialup/fcdsl/fcdsl-2.6.20.7-r2.ebuild +++ /dev/null @@ -1,293 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/fcdsl/fcdsl-2.6.20.7-r2.ebuild,v 1.4 2005/02/17 23:02:19 mrness Exp $ - -inherit kernel-mod rpm eutils - -S="${WORKDIR}/fritz" - -DESCRIPTION="AVM FRITZ!Card DSL drivers for 2.6 kernel" -HOMEPAGE="http://www.avm.de/" -SRC_URI="ftp://ftp.suse.com/pub/suse/i386/update/9.1/rpm/src/avm_${P/2.6./2.6-}.src.rpm" - -LICENSE="LGPL-2" -SLOT="0" -KEYWORDS="x86" -IUSE="" - -RDEPEND=">=net-dialup/capi4k-utils-20040810" -DEPEND="${RDEPEND} - sys-apps/gawk - sys-apps/sed - virtual/linux-sources" - -FCDSL_NAMES=("AVM FRITZ!Card DSL" "AVM FRITZ!Card DSL v2.0" "AVM FRITZ!Card DSL SL" "AVM FRITZ!Card DSL USB" "AVM FRITZ!Card DSL SL USB") -FCDSL_BUSTYPES=("pci" "pci" "pci" "usb" "usb") -FCDSL_IDS=("1131:5402" "1244:2900" "1244:2700" "057c:2300" "057c:3500") -FCDSL_FIRMWARES=("fdslbase.bin" "fds2base.bin" "fdssbase.bin" "fdsubase.frm" "fdlubase.frm") -FCDSL_MODULES=("fcdsl" "fcdsl2" "fcdslsl" "fcdslusb" "fcdslslusb") - -detect_fcdsl_card() { - PCI_IDS="" - USB_IDS="" - if [ -d /sys/bus ]; then - if [ -d /sys/bus/pci/devices ]; then - cd /sys/bus/pci/devices - for PCI_DEVICE in *; do - PCI_IDS="${PCI_IDS}$(cat ${PCI_DEVICE}/vendor | sed -e 's:0\x::'):$(cat ${PCI_DEVICE}/device | sed -e 's:0\x::') " - done - unset PCI_DEVICE - fi - if [ -d /sys/bus/usb/devices ]; then - cd /sys/bus/usb/devices - for USB_DEVICE in [0-9]*; do - if [ -f ${USB_DEVICE}/idVendor ]; then - USB_IDS="${USB_IDS}$(cat ${USB_DEVICE}/idVendor):$(cat ${USB_DEVICE}/idProduct) " - fi - done - unset USB_DEVICE - fi - fi - - FCDSL_MODULE="" - for ((CARD=0; CARD < ${#FCDSL_IDS[*]}; CARD++)); do - BUS_IDS="" - if [ "${FCDSL_BUSTYPES[CARD]}" == "pci" ]; then - BUS_IDS="${PCI_IDS}" - else - BUS_IDS="${USB_IDS}" - fi - for BUS_ID in ${BUS_IDS}; do - if [ "${BUS_ID}" == "${FCDSL_IDS[CARD]}" ]; then - einfo "Found: ${FCDSL_NAMES[CARD]}" - FCDSL_FIRMWARE=${FCDSL_FIRMWARES[CARD]} - FCDSL_MODULE=${FCDSL_MODULES[CARD]} - fi - done - done - if [ "${FCDSL_MODULE}" == "" ]; then - ewarn "No AVM FRITZ!Card DSL found!" - fi -} - -is_module_selected() { - if [ -z "${FCDSL_CARDS}" ] ; then - return 0 - fi - for USERCARD in ${FCDSL_CARDS} ; do - if [ "$1" = ${USERCARD} ]; then - return 0 - fi - done - - return 1 -} - -pkg_setup() { - if ! kernel-mod_is_2_6_kernel; then - die "This package works only with 2.6 kernel!" - fi - if ! kernel-mod_configoption_present ISDN_CAPI_CAPI20; then - die "For using the driver you need a kernel with enabled CAPI support." - fi - - kernel-mod_check_modules_supported - - #Check existence of user selected cards - if [ -n "${FCDSL_CARDS}" ] ; then - for USERCARD in ${FCDSL_CARDS} ; do - for ((CARD=0; CARD < ${#FCDSL_MODULES[*]}; CARD++)); do - if [ "$USERCARD" = "${FCDSL_MODULES[CARD]}" ]; then - continue 2 - fi - done - die "Card ${USERCARD} not present in ${P}" - done - else - einfo - einfo "You can control the modules which are built with the variable" - einfo "FCDSL_CARDS which should contain a blank separated list" - einfo "of a selection from the following cards:" - einfo " ${FCDSL_MODULES[*]}" - einfo - ewarn "I give you the chance of hitting Ctrl-C and make the necessary" - ewarn "adjustments in /etc/make.conf." - ebeep - fi -} - -src_compile() { - ( - unset ARCH - for ((CARD=0; CARD < ${#FCDSL_IDS[*]}; CARD++)); do - if is_module_selected "${FCDSL_MODULES[CARD]}"; then - einfo "Compiling driver for ${FCDSL_NAMES[CARD]}" - cd ${WORKDIR}/${FCDSL_MODULES[CARD]/fc/fritz.}/src || die "Could not change to ${FCDSL_NAMES[CARD]} source directory." - kernel-mod_src_compile || die "Could not compile driver for ${FCDSL_NAMES[CARD]}." - fi - done - ) -} - -src_install() { - dodir /etc/drdsl /etc/modules.d /lib/modules/${KV_VERSION_FULL}/misc /lib/firmware /usr/sbin - - echo -e "# card\tfile\tproto\tio\tirq\tmem\tcardnr\toptions" >${D}/etc/capi.conf - echo "#" >>${D}/etc/capi.conf - - echo "# Options for AVM FRITZ!Card DSL cards" >${D}/etc/modules.d/fcdsl - echo "# Correct these settings with the output from drdsl -n" >>${D}/etc/modules.d/fcdsl - - for ((CARD=0; CARD < ${#FCDSL_MODULES[*]}; CARD++)); do - if is_module_selected "${FCDSL_MODULES[CARD]}"; then - echo -e "#${FCDSL_MODULES[CARD]}\t${FCDSL_FIRMWARES[CARD]}\t-\t-\t-\t-\t-" >>${D}/etc/capi.conf - - echo "#options ${FCDSL_MODULES[CARD]} VPI=1 VCI=32 VCC=1" >>${D}/etc/modules.d/fcdsl - - insinto /lib/modules/${KV_VERSION_FULL}/misc - doins ${WORKDIR}/${FCDSL_MODULES[CARD]/fc/fritz.}/src/${FCDSL_MODULES[CARD]}.ko - - insinto /lib/firmware - doins ${WORKDIR}/${FCDSL_MODULES[CARD]/fc/fritz.}/${FCDSL_FIRMWARES[CARD]} - fi - done - - insinto /etc/drdsl - doins ${S}/drdsl.ini - - exeinto /usr/sbin - doexe ${S}/drdsl - - dodoc ${S}/CAPI* ${S}/compile* ${S}/license.txt ${S}/release.txt - dohtml install_passive-*.html -} - -pkg_postinst() { - einfo "Checking kernel module dependencies" - test -r "${ROOT}/usr/src/linux/System.map" && \ - depmod -ae -F "${ROOT}/usr/src/linux/System.map" -b "${ROOT}" -r ${KV} - - echo - einfo "If you want to setup your DSL card driver and create a peer file, please run:" - einfo " etc-update" - einfo " ebuild /var/db/pkg/net-dialup/${PF}/${PF}.ebuild config" - einfo " /etc/init.d/capi start" - einfo " drdsl -n" - einfo " nano /etc/modules.d/fcdsl" - einfo " update-modules" - einfo " /etc/init.d/capi restart" - epause 10 -} - -readpassword() { - VALUE_1="" - VALUE_2="" - while true; do - einfo "Enter your password:" - read -r -s VALUE_1 - einfo "Retype your password:" - read -r -s VALUE_2 - if [ "${VALUE_1}" == "" ]; then - echo - eerror "You entered a blank password. Please try again." - echo - else - if [ "${VALUE_1}" == "${VALUE_2}" ] ; then - break - else - echo - eerror "Your password entries do not match. Please try again." - echo - fi - fi - done - eval ${1}=${VALUE_1} - - VALUE_1="" - VALUE_2="" - unset VALUE_1 - unset VALUE_2 -} - -readvalue() { - VALUE="" - while true; do - einfo "${2}:" - read VALUE - if [ "${VALUE}" == "" ]; then - eerror "You entered a blank value. Please try again." - echo - else - break - fi - done - eval ${1}=${VALUE} - - VALUE="" - unset VALUE -} - -pkg_config() { - detect_fcdsl_card - - if [ "${FCDSL_MODULE}" != "" ]; then - readvalue FCDSL_PROVIDER "Enter the name of your ISP" - if [ ! -e "/etc/ppp/peers/${FCDSL_PROVIDER}" ]; then - readvalue FCDSL_USER "Enter your user name" - if [ "$(grep "${FCDSL_USER}" /etc/ppp/pap-secrets)" == "" ]; then - readpassword FCDSL_PASSWORD - echo '"'${FCDSL_USER}'" * "'${FCDSL_PASSWORD}'"' >>/etc/ppp/pap-secrets - unset FCDSL_PASSWORD - cat <<EOF >>/etc/ppp/peers/${FCDSL_PROVIDER} -connect "" -ipcp-accept-remote -ipcp-accept-local -usepeerdns -defaultroute -user "${FCDSL_USER}" -hide-password -sync -noauth -lcp-echo-interval 5 -lcp-echo-failure 3 -lcp-max-configure 50 -lcp-max-terminate 2 -noccp -noipx -noproxyarp -mru 1492 -mtu 1492 -linkname "${FCDSL_PROVIDER}" -ipparam internet -plugin capiplugin.so -avmadsl -: -/dev/null -EOF - echo - echo - echo - einfo "Now, you can start an ADSL connection with either" - einfo " pon \"${FCDSL_PROVIDER}\"" - einfo "or" - einfo " pppd call \"${FCDSL_PROVIDER}\"" - else - ewarn "User \"${FCDSL_USER}\" always exists in \"/etc/ppp/pap-secrets\"!" - fi - else - ewarn "Peer file \"/etc/ppp/peers/${FCDSL_PROVIDER}\" always exists!" - fi - - #Uncomment correspondent lines in /etc/capi.conf & /etc/modules.d/fcdsl - if [ -f /etc/capi.conf ]; then - sed -i -e "s:^#${FCDSL_MODULE}:${FCDSL_MODULE}" /etc/capi.conf - fi - if [ -f /etc/modules.d/fcdsl ]; then - sed -i -e "s:^#options +${FCDSL_MODULE}:options ${FCDSL_MODULE}" /etc/modules.d/fcdsl - fi - else - ewarn "No AVM FRITZ!Card DSL found!" - fi - unset FCDSL_PROVIDER - unset FCDSL_USER -} diff --git a/net-dialup/fcdsl/fcdsl-2.6.20.7-r3.ebuild b/net-dialup/fcdsl/fcdsl-2.6.20.7-r3.ebuild deleted file mode 100644 index 0257f47b8bed..000000000000 --- a/net-dialup/fcdsl/fcdsl-2.6.20.7-r3.ebuild +++ /dev/null @@ -1,283 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/fcdsl/fcdsl-2.6.20.7-r3.ebuild,v 1.2 2005/02/17 23:02:19 mrness Exp $ - -inherit linux-mod eutils - -S="${WORKDIR}/fritz" - -DESCRIPTION="AVM FRITZ!Card DSL drivers for 2.6 kernel" -HOMEPAGE="http://www.avm.de/" -SRC_URI="ftp://ftp.avm.de/cardware/fritzcrd.dsl/linux/suse.91/fcdsl-suse9.1-3.11-02.tar.gz - ftp://ftp.avm.de/cardware/fritzcrd.dsl_v20/linux/suse.91/fcdsl2-suse9.1-3.11-04.tar.gz - ftp://ftp.avm.de/cardware/fritzcrd.dsl_sl/linux/suse.91/fcdslsl-suse9.1-3.11-04.tar.gz - ftp://ftp.avm.de/cardware/fritzcrd.dsl_sl_usb/linux/suse.91/fcdslslusb-suse9.1-3.11-04.tar.gz - ftp://ftp.avm.de/cardware/fritzcrd.dsl_usb/linux/suse.91/fcdslusb-suse9.1-3.11-02.tar.gz" - -LICENSE="LGPL-2" -KEYWORDS="~x86" -IUSE="" -SLOT="0" - -RDEPEND=">=net-dialup/capi4k-utils-20040810" - -FCDSL_NAMES=("AVM FRITZ!Card DSL" "AVM FRITZ!Card DSL v2.0" "AVM FRITZ!Card DSL SL" "AVM FRITZ!Card DSL USB" "AVM FRITZ!Card DSL SL USB") -FCDSL_BUSTYPES=("pci" "pci" "pci" "usb" "usb") -FCDSL_IDS=("1131:5402" "1244:2900" "1244:2700" "057c:2300" "057c:3500") -FCDSL_FIRMWARES=("fdslbase.bin" "fds2base.bin" "fdssbase.bin" "fdsubase.frm" "fdlubase.frm") -FCDSL_MODULES=("fcdsl" "fcdsl2" "fcdslsl" "fcdslusb" "fcdslslusb") - -pkg_setup() { - CONFIG_CHECK="ISDN_CAPI_CAPI20" - linux-mod_pkg_setup - - MODULE_NAMES="" - #Check existence of user selected cards - if [ -n "${FCDSL_CARDS}" ] ; then - for USERCARD in ${FCDSL_CARDS} ; do - for ((CARD=0; CARD < ${#FCDSL_MODULES[*]}; CARD++)); do - if [ "${USERCARD}" = "${FCDSL_MODULES[CARD]}" ]; then - MODULE_NAMES="${MODULE_NAMES} ${FCDSL_MODULES[CARD]}(net:${WORKDIR}/${FCDSL_MODULES[CARD]/fc/fritz.}/src)" - continue 2 - fi - done - die "Driver for ${USERCARD} not present in ${P}" - done - else - einfo - einfo "You can control the modules which are built with the variable" - einfo "FCDSL_CARDS which should contain a blank separated list" - einfo "of a selection from the following cards:" - einfo " ${FCDSL_MODULES[*]}" - for ((CARD=0; CARD < ${#FCDSL_MODULES[*]}; CARD++)); do - MODULE_NAMES="${MODULE_NAMES} ${FCDSL_MODULES[CARD]}(net:${WORKDIR}/${FCDSL_MODULES[CARD]/fc/fritz.}/src)" - done - fi - BUILD_TARGETS="all" - BUILD_PARAMS="KDIR=${KV_DIR} LIBDIR=${S}" - NO_MODULESD="1" -} - -src_unpack() { - tar xzf ${DISTDIR}/fcdsl-suse9.1-3.11-02.tar.gz - mv fritz fritz.dsl - tar xzf ${DISTDIR}/fcdsl2-suse9.1-3.11-04.tar.gz - mv fritz fritz.dsl2 - tar xzf ${DISTDIR}/fcdslsl-suse9.1-3.11-04.tar.gz - mv fritz fritz.dslsl - tar xzf ${DISTDIR}/fcdslslusb-suse9.1-3.11-04.tar.gz - mv fritz fritz.dslslusb - tar xzf ${DISTDIR}/fcdslusb-suse9.1-3.11-02.tar.gz - mv fritz fritz.dslusb - - ln -s fritz.dsl fritz -} - -src_install() { - linux-mod_src_install - - dodir /etc/drdsl /etc/modules.d /lib/firmware /usr/sbin - - echo -e "# card\tfile\tproto\tio\tirq\tmem\tcardnr\toptions" >${D}/etc/capi.conf - echo "#" >>${D}/etc/capi.conf - - echo "# modules.d config file for AVM FRITZ!Card DSL" >${D}/etc/modules.d/fcdsl - echo "# Correct these settings with the output from drdsl -n" >>${D}/etc/modules.d/fcdsl - - for ((CARD=0; CARD < ${#FCDSL_MODULES[*]}; CARD++)); do - if [ -n "${FCDSL_CARDS}" ] ; then - INS="" - for USERCARD in ${FCDSL_CARDS} ; do - if [ "${USERCARD}" = "${FCDSL_MODULES[CARD]}" ]; then INS="1"; fi - done - if [ -z "${INS}" ]; then continue; fi - fi - echo -e "#${FCDSL_MODULES[CARD]}\t${FCDSL_FIRMWARES[CARD]}\t-\t-\t-\t-\t-" >>${D}/etc/capi.conf - - echo "#options ${FCDSL_MODULES[CARD]} VPI=1 VCI=32 VCC=1" >>${D}/etc/modules.d/fcdsl - - insinto /lib/firmware - doins ${WORKDIR}/${FCDSL_MODULES[CARD]/fc/fritz.}/${FCDSL_FIRMWARES[CARD]} - done - - insinto /etc/drdsl - doins ${S}/drdsl.ini - - exeinto /usr/sbin - doexe ${S}/drdsl - - dodoc ${S}/CAPI* ${S}/compile* ${S}/license.txt -} - -pkg_postinst() { - linux-mod_pkg_postinst - - echo - einfo "If you want to setup your DSL card driver and create a peer file, please run:" - einfo " etc-update" - einfo " ebuild /var/db/pkg/net-dialup/${PF}/${PF}.ebuild config" - einfo " /etc/init.d/capi start" - einfo " drdsl -n" - einfo " nano /etc/modules.d/fcdsl" - einfo " update-modules" - einfo " /etc/init.d/capi restart" - epause 10 -} - -#pkg-config functions - -detect_fcdsl_card() { - PCI_IDS="" - USB_IDS="" - if [ -d /sys/bus ]; then - if [ -d /sys/bus/pci/devices ]; then - cd /sys/bus/pci/devices - for PCI_DEVICE in *; do - vendor="$(< ${PCI_DEVICE}/vendor)" - device="$(< ${PCI_DEVICE}/device)" - PCI_IDS="${PCI_IDS}${vendor:2}:${device:2} " - done - fi - if [ -d /sys/bus/usb/devices ]; then - cd /sys/bus/usb/devices - for USB_DEVICE in [0-9]*; do - if [ -f ${USB_DEVICE}/idVendor ]; then - USB_IDS="${USB_IDS}$(< ${USB_DEVICE}/idVendor):$(< ${USB_DEVICE}/idProduct) " - fi - done - fi - fi - - FCDSL_MODULE="" - for ((CARD=0; CARD < ${#FCDSL_IDS[*]}; CARD++)); do - BUS_IDS="" - if [ "${FCDSL_BUSTYPES[CARD]}" == "pci" ]; then - BUS_IDS="${PCI_IDS}" - else - BUS_IDS="${USB_IDS}" - fi - for BUS_ID in ${BUS_IDS}; do - if [ "${BUS_ID}" == "${FCDSL_IDS[CARD]}" ]; then - einfo "Found: ${FCDSL_NAMES[CARD]}" - FCDSL_FIRMWARE=${FCDSL_FIRMWARES[CARD]} - FCDSL_MODULE=${FCDSL_MODULES[CARD]} - fi - done - done - if [ "${FCDSL_MODULE}" == "" ]; then - ewarn "No AVM FRITZ!Card DSL found!" - fi -} - -readpassword() { - VALUE_1="" - VALUE_2="" - while true; do - einfo "Enter your password:" - read -r -s VALUE_1 - einfo "Retype your password:" - read -r -s VALUE_2 - if [ "${VALUE_1}" == "" ]; then - echo - eerror "You entered a blank password. Please try again." - echo - else - if [ "${VALUE_1}" == "${VALUE_2}" ] ; then - break - else - echo - eerror "Your password entries do not match. Please try again." - echo - fi - fi - done - eval ${1}=${VALUE_1} - - VALUE_1="" - VALUE_2="" - unset VALUE_1 - unset VALUE_2 -} - -readvalue() { - VALUE="" - while true; do - einfo "${2}:" - read VALUE - if [ "${VALUE}" == "" ]; then - eerror "You entered a blank value. Please try again." - echo - else - break - fi - done - eval ${1}=${VALUE} - - VALUE="" - unset VALUE -} - -pkg_config() { - detect_fcdsl_card - - if [ "${FCDSL_MODULE}" != "" ]; then - readvalue FCDSL_PROVIDER "Enter the name of your ISP" - if [ ! -e "/etc/ppp/peers/${FCDSL_PROVIDER}" ]; then - readvalue FCDSL_USER "Enter your user name" - if [ "$(grep "${FCDSL_USER}" /etc/ppp/pap-secrets)" == "" ]; then - readpassword FCDSL_PASSWORD - echo '"'${FCDSL_USER}'" * "'${FCDSL_PASSWORD}'"' >>/etc/ppp/pap-secrets - unset FCDSL_PASSWORD - cat <<EOF >>/etc/ppp/peers/${FCDSL_PROVIDER} -connect "" -ipcp-accept-remote -ipcp-accept-local -usepeerdns -defaultroute -user "${FCDSL_USER}" -hide-password -sync -noauth -lcp-echo-interval 5 -lcp-echo-failure 3 -lcp-max-configure 50 -lcp-max-terminate 2 -noccp -noipx -noproxyarp -mru 1492 -mtu 1492 -linkname "${FCDSL_PROVIDER}" -ipparam internet -plugin capiplugin.so -avmadsl -: -/dev/null -EOF - echo - echo - echo - einfo "Now, you can start an ADSL connection with either" - einfo " pon \"${FCDSL_PROVIDER}\"" - einfo "or" - einfo " pppd call \"${FCDSL_PROVIDER}\"" - else - ewarn "User \"${FCDSL_USER}\" always exists in \"/etc/ppp/pap-secrets\"!" - fi - else - ewarn "Peer file \"/etc/ppp/peers/${FCDSL_PROVIDER}\" always exists!" - fi - - #Uncomment correspondent lines in /etc/capi.conf & /etc/modules.d/fcdsl - if [ -f /etc/capi.conf ]; then - sed -i -e "s:^#${FCDSL_MODULE}:${FCDSL_MODULE}" /etc/capi.conf - fi - if [ -f /etc/modules.d/fcdsl ]; then - sed -i -e "s:^#options +${FCDSL_MODULE}:options ${FCDSL_MODULE}" /etc/modules.d/fcdsl - fi - else - ewarn "No AVM FRITZ!Card DSL found!" - fi - unset FCDSL_PROVIDER - unset FCDSL_USER -} diff --git a/net-dialup/fcdsl/files/digest-fcdsl-2.6.20.7-r2 b/net-dialup/fcdsl/files/digest-fcdsl-2.6.20.7-r2 deleted file mode 100644 index 531d29dea75a..000000000000 --- a/net-dialup/fcdsl/files/digest-fcdsl-2.6.20.7-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 0af47b4ed612deefffa4a7673e20ae41 avm_fcdsl-2.6-20.7.src.rpm 2924582 diff --git a/net-dialup/fcdsl/files/digest-fcdsl-2.6.20.7-r3 b/net-dialup/fcdsl/files/digest-fcdsl-2.6.20.7-r3 deleted file mode 100644 index 0a319f01cd12..000000000000 --- a/net-dialup/fcdsl/files/digest-fcdsl-2.6.20.7-r3 +++ /dev/null @@ -1,5 +0,0 @@ -MD5 4355167c8ca87ef796eb55cdaabf1b36 fcdsl-suse9.1-3.11-02.tar.gz 1931601 -MD5 b33f95f659d50a611dc1b63255a0b5fc fcdsl2-suse9.1-3.11-04.tar.gz 1446440 -MD5 ceadcdddc662fbcfa8fa9e2980748666 fcdslsl-suse9.1-3.11-04.tar.gz 1441516 -MD5 1c35c16e699ed70e70ab2351bd83d109 fcdslslusb-suse9.1-3.11-04.tar.gz 1430073 -MD5 5fde466f6c66d37353355fa6d07721fb fcdslusb-suse9.1-3.11-02.tar.gz 1154136 |