diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2007-11-12 19:16:27 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2007-11-12 19:16:27 +0000 |
commit | 106cddc17c2aa77ac99269e84df647e141476add (patch) | |
tree | d6dc8e217cbb90eae1fe29b9b019acfdc4cad493 /net-dialup | |
parent | Add a note about needing to rebuild xorg-server with USE='-nptl'. (diff) | |
download | historical-106cddc17c2aa77ac99269e84df647e141476add.tar.gz historical-106cddc17c2aa77ac99269e84df647e141476add.tar.bz2 historical-106cddc17c2aa77ac99269e84df647e141476add.zip |
version bump
Package-Manager: portage-2.1.3.19
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/misdn/ChangeLog | 9 | ||||
-rw-r--r-- | net-dialup/misdn/files/digest-misdn-1.1.2 | 3 | ||||
-rw-r--r-- | net-dialup/misdn/files/digest-misdn-1.1.3 | 3 | ||||
-rw-r--r-- | net-dialup/misdn/files/digest-misdn-1.1.5 | 3 | ||||
-rw-r--r-- | net-dialup/misdn/files/digest-misdn-1.1.6 | 3 | ||||
-rw-r--r-- | net-dialup/misdn/files/digest-misdn-1.1.7 | 3 | ||||
-rw-r--r-- | net-dialup/misdn/misdn-1.1.2.ebuild | 181 | ||||
-rw-r--r-- | net-dialup/misdn/misdn-1.1.3.ebuild | 181 | ||||
-rw-r--r-- | net-dialup/misdn/misdn-1.1.5.ebuild | 181 | ||||
-rw-r--r-- | net-dialup/misdn/misdn-1.1.7.ebuild (renamed from net-dialup/misdn/misdn-1.1.6.ebuild) | 4 | ||||
-rw-r--r-- | net-dialup/misdnuser/ChangeLog | 8 | ||||
-rw-r--r-- | net-dialup/misdnuser/files/digest-misdnuser-1.1.3 | 3 | ||||
-rw-r--r-- | net-dialup/misdnuser/files/digest-misdnuser-1.1.5 | 3 | ||||
-rw-r--r-- | net-dialup/misdnuser/files/digest-misdnuser-1.1.7 | 3 | ||||
-rw-r--r-- | net-dialup/misdnuser/misdnuser-1.1.3.ebuild | 30 | ||||
-rw-r--r-- | net-dialup/misdnuser/misdnuser-1.1.7.ebuild (renamed from net-dialup/misdnuser/misdnuser-1.1.5.ebuild) | 6 |
16 files changed, 26 insertions, 598 deletions
diff --git a/net-dialup/misdn/ChangeLog b/net-dialup/misdn/ChangeLog index a16225b7d855..9506cdb3b96a 100644 --- a/net-dialup/misdn/ChangeLog +++ b/net-dialup/misdn/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-dialup/misdn # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/misdn/ChangeLog,v 1.25 2007/10/22 19:03:01 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/misdn/ChangeLog,v 1.26 2007/11/12 19:14:08 genstef Exp $ + +*misdn-1.1.7 (12 Nov 2007) + + 12 Nov 2007; Stefan Schweizer <genstef@gentoo.org> -misdn-1.1.2.ebuild, + -misdn-1.1.3.ebuild, -misdn-1.1.5.ebuild, -misdn-1.1.6.ebuild, + +misdn-1.1.7.ebuild: + version bump *misdn-1.1.6 (22 Oct 2007) diff --git a/net-dialup/misdn/files/digest-misdn-1.1.2 b/net-dialup/misdn/files/digest-misdn-1.1.2 deleted file mode 100644 index 1aca5964c8c1..000000000000 --- a/net-dialup/misdn/files/digest-misdn-1.1.2 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 4681d9b27cf4aaca04ba71f8825af03a mISDN-1_1_2.tar.gz 502737 -RMD160 5abcf20310bf12d2c79a4e2d3f04ae87658fab85 mISDN-1_1_2.tar.gz 502737 -SHA256 32052781349a420fa8b638e42beb2911dd5fa1bb6acb29b5a1b0bc6df6a9f29e mISDN-1_1_2.tar.gz 502737 diff --git a/net-dialup/misdn/files/digest-misdn-1.1.3 b/net-dialup/misdn/files/digest-misdn-1.1.3 deleted file mode 100644 index 33d292208160..000000000000 --- a/net-dialup/misdn/files/digest-misdn-1.1.3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 ea2c70de5370960bd1f07e0175db01b4 mISDN-1_1_3.tar.gz 12414364 -RMD160 2b0b1275ca44de4b103b645175d47ba518545a7e mISDN-1_1_3.tar.gz 12414364 -SHA256 cf7c6bdb28709f4831080f52369f54dc9780844d0ff995f7eb60da201bc7cc3b mISDN-1_1_3.tar.gz 12414364 diff --git a/net-dialup/misdn/files/digest-misdn-1.1.5 b/net-dialup/misdn/files/digest-misdn-1.1.5 deleted file mode 100644 index 481f335f798d..000000000000 --- a/net-dialup/misdn/files/digest-misdn-1.1.5 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 93b1cff7817b82638a0475c2b7b7f1b6 mISDN-1_1_5.tar.gz 473618 -RMD160 ecfcc83f9450c5e7e1ff2b1b4bab6a066999182b mISDN-1_1_5.tar.gz 473618 -SHA256 894f97f7cb5af1f0f9a368dcdf7a2886b272e498d3f245daace7617e144be69d mISDN-1_1_5.tar.gz 473618 diff --git a/net-dialup/misdn/files/digest-misdn-1.1.6 b/net-dialup/misdn/files/digest-misdn-1.1.6 deleted file mode 100644 index 412e6fdd5382..000000000000 --- a/net-dialup/misdn/files/digest-misdn-1.1.6 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 c378fcef555ad20835bc54b0b83b2b5b mISDN-1_1_6.tar.gz 474225 -RMD160 1d0391f9ded51fd89124f4ad2d381a9127b45ea1 mISDN-1_1_6.tar.gz 474225 -SHA256 86885e44c42d5d9cde0b32d7ba03267a58f21dc263381a98e0db76a1360c718b mISDN-1_1_6.tar.gz 474225 diff --git a/net-dialup/misdn/files/digest-misdn-1.1.7 b/net-dialup/misdn/files/digest-misdn-1.1.7 new file mode 100644 index 000000000000..56a03afc495e --- /dev/null +++ b/net-dialup/misdn/files/digest-misdn-1.1.7 @@ -0,0 +1,3 @@ +MD5 6f502c8131e3e3a159c72214e0a933bc mISDN-1_1_7.tar.gz 471967 +RMD160 158d297b83d7157dd5d7d6ae742f6f358c5512e0 mISDN-1_1_7.tar.gz 471967 +SHA256 d3228fafe17046150062f296549abbdccaa9f976e9275f0edd12d1a25ca93f2b mISDN-1_1_7.tar.gz 471967 diff --git a/net-dialup/misdn/misdn-1.1.2.ebuild b/net-dialup/misdn/misdn-1.1.2.ebuild deleted file mode 100644 index f5ec63d1823f..000000000000 --- a/net-dialup/misdn/misdn-1.1.2.ebuild +++ /dev/null @@ -1,181 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/misdn/misdn-1.1.2.ebuild,v 1.4 2007/05/16 17:11:50 genstef Exp $ - -inherit eutils linux-mod - -MY_P=mISDN-${PV//./_} -DESCRIPTION="mISDN is the new ISDN stack of the linux kernel 2.6." -HOMEPAGE="http://www.misdn.org/" -SRC_URI="http://www.misdn.org/downloads/releases/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~amd64 ~ppc" - -# list of echo canceller use flags, -# first active in this list is selected (=order does matter) -MISDN_EC_FLAGS="ecmg2 eckb1 ecmark2" - -# list of card modules -MISDN_MODULES=("avmfritz" "hfcpci" "hfcmulti" "hfcsusb" "hfcsmini" "xhfc" "sedlfax" "w6692pci" "netjetpci") -MISDN_KCONFIG=("AVM_FRITZ" "HFCPCI" "HFCMULTI" "HFCUSB" "HFCMINI" "XHFC" "SPEEDFAX" "W6692" "NETJET") - -IUSE="ecaggressive ${MISDN_EC_FLAGS}" -for i in ${MISDN_MODULES[@]}; do IUSE="${IUSE} misdn_cards_${i}"; done - -RDEPEND=">=net-dialup/capi4k-utils-20050718 - sys-devel/bc" - -S=${WORKDIR}/${MY_P}/drivers/isdn/hardware/mISDN - -### Begin: Helper functions - -select_echo_cancel() { - local myEC="" - for x in ${MISDN_EC_FLAGS}; do - if use ${x}; then - myEC=$(echo "${x}" | sed -e "s:^ec\(.*\):\U\1\E:") - break; - fi - done - echo ${myEC} -} - -dsp_enable() { - local i - for i in "${@}"; do - sed -i -e "s:.*\(#include.*dsp_${i}\):\1:m" dsp.h - done -} - -dsp_disable() { - local i - for i in "${@}"; do - sed -i -e "s:.*\(#include.*dsp_${i}\)://\1:m" dsp.h - done -} - -### End: Helper functions - -pkg_setup() { - local numec=0 - - CONFIG_CHECK="ISDN_CAPI ISDN_CAPI_CAPI20 ISDN_CAPI_CAPIFS_BOOL" - linux-mod_pkg_setup - MODULE_NAMES="mISDN_capi(net:) mISDN_dtmf(net:) mISDN_l1(net:) - mISDN_x25dte(net:) l3udss1(net:) mISDN_core(net:) mISDN_isac(net:) - mISDN_l2(net:) mISDN_dsp(net:)" - BUILD_PARAMS="-C ${KV_DIR} SUBDIRS=${S} MINCLUDES=${WORKDIR}/${MY_P}/include CONFIG_MISDN_DRV=m CONFIG_MISDN_DSP=y" - BUILD_TARGETS="modules" - #I4LmISDN(net:) does not compile :( CONFIG_I4L_CAPI_LAYER=m - # the i4l->capi simulation seems to be only for kernel 2.4 - - # check if multiple echo cancellers have been selected - for x in ${MISDN_EC_FLAGS}; do - use ${x} && : $((numec++)) - done - if [[ ${numec} -gt 1 ]]; then - # multiple flags are active, only the first in the ZAP_EC_FLAGS list - # will be used, make sure the user knows about this - ewarn - ewarn "Multiple echo canceller flags are active but only one will be used!" - ewarn "Selected: $(select_echo_cancel)" - fi - - # Check existence of user selected cards - if [ -n "${MISDN_CARDS}" ]; then - for USERCARD in ${MISDN_CARDS} ; do - for ((CARD=0; CARD < ${#MISDN_MODULES[*]}; CARD++)); do - if [ "${USERCARD}" = "${MISDN_MODULES[CARD]}" ]; then - MODULE_NAMES="${MODULE_NAMES} ${MISDN_MODULES[CARD]}(net:)" - #[ "sedlfax" = "${MISDN_MODULES[CARD]}" ] && MODULE_NAMES="${MODULE_NAMES} faxl3(net:)" - BUILD_PARAMS="${BUILD_PARAMS} CONFIG_MISDN_${MISDN_KCONFIG[CARD]}=y" - continue 2 - fi - done - die "Module ${USERCARD} not present in ${P}" - done - else - elog - elog "You can control the modules which are built with the variable" - elog "MISDN_CARDS which should contain a blank separated list" - elog "of a selection from the following cards:" - elog " ${MISDN_MODULES[*]}" - elog - ewarn "I give you the chance of hitting Ctrl-C and make the necessary" - ewarn "adjustments in /etc/make.conf." - - # enable everything - for ((CARD=0; CARD < ${#MISDN_MODULES[*]}; CARD++)); do - MODULE_NAMES="${MODULE_NAMES} ${MISDN_MODULES[CARD]}(net:)" - #[ "sedlfax" = "${MISDN_MODULES[CARD]}" ] && MODULE_NAMES="${MODULE_NAMES} faxl3(net:)" - BUILD_PARAMS="${BUILD_PARAMS} CONFIG_MISDN_${MISDN_KCONFIG[CARD]}=y" - done - fi -} - -src_unpack() { - unpack ${A} - - cd "${S}" - if use ecaggressive; then - sed -i -e "s:.*#define \(AGGRESSIVE_SUPPRESSOR\):#define \1:m" dsp.h - fi - - case "$(select_echo_cancel)" in - MG2) - dsp_enable mg2ec - dsp_disable kb1ec mec2 - ;; - KB1) - dsp_enable kb1ec - dsp_disable mg2ec mec2 - ;; - MARK2) - dsp_enable mec2 - dsp_disable mg2ec kb1ec - ;; - esac -} - -src_install() { - linux-mod_src_install - - insinto /usr/include/linux - doins "${WORKDIR}/${MY_P}/"include/linux/*.h - - dodir /etc/udev/rules.d - echo 'KERNEL=="obj-*", NAME="mISDN", GROUP="dialout", MODE="0660"' \ - > "${D}/etc/udev/rules.d/53-${PN}.rules" - - insinto /etc/modules.d - newins "${WORKDIR}/${MY_P}/"mISDN.modprobe.d ${PN} - - sed -i -e "s:USER=.*:USER=root:" \ - -e "s:GROUP=.*:GROUP=dialout:" "${WORKDIR}/${MY_P}/"misdn-init - dosbin "${WORKDIR}/${MY_P}/"misdn-init - - dodoc Kconfig.v2.6 - dodoc "${FILESDIR}/README.hfcmulti" "${WORKDIR}/${MY_P}/"README.misdn-init -} - -pkg_preinst() { - if [ -e "${ROOT}"/etc/misdn-init.conf ]; then - cp "${ROOT}"/etc/misdn-init.conf "${D}"/etc - else - sed -i -e "s:/etc/misdn-init.conf:${D}\0:" "${D}"/usr/sbin/misdn-init - "${D}"/usr/sbin/misdn-init config - sed -i -e "s:${D}/etc/misdn-init.conf:/etc/misdn-init.conf:" "${D}"/usr/sbin/misdn-init - fi -} - -pkg_postinst() { - linux-mod_pkg_postinst - - ewarn - ewarn "This driver is still under heavy development" - ewarn "Please report ebuild related bugs / wishes to http://bugs.gentoo.org" - ewarn "Please report driver bugs to the mISDN mailing-list:" - ewarn " https://www.isdn4linux.de/mailman/listinfo/isdn4linux" -} diff --git a/net-dialup/misdn/misdn-1.1.3.ebuild b/net-dialup/misdn/misdn-1.1.3.ebuild deleted file mode 100644 index 77d85628f43d..000000000000 --- a/net-dialup/misdn/misdn-1.1.3.ebuild +++ /dev/null @@ -1,181 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/misdn/misdn-1.1.3.ebuild,v 1.1 2007/05/09 20:43:22 genstef Exp $ - -inherit eutils linux-mod - -MY_P=mISDN-${PV//./_} -DESCRIPTION="mISDN is the new ISDN stack of the linux kernel 2.6." -HOMEPAGE="http://www.misdn.org/" -SRC_URI="http://www.misdn.org/downloads/releases/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~amd64 ~ppc" - -# list of echo canceller use flags, -# first active in this list is selected (=order does matter) -MISDN_EC_FLAGS="ecmg2 eckb1 ecmark2" - -# list of card modules -MISDN_MODULES=("avmfritz" "hfcpci" "hfcmulti" "hfcsusb" "hfcsmini" "xhfc" "sedlfax" "w6692pci" "netjetpci") -MISDN_KCONFIG=("AVM_FRITZ" "HFCPCI" "HFCMULTI" "HFCUSB" "HFCMINI" "XHFC" "SPEEDFAX" "W6692" "NETJET") - -IUSE="ecaggressive ${MISDN_EC_FLAGS}" -for i in ${MISDN_MODULES[@]}; do IUSE="${IUSE} misdn_cards_${i}"; done - -RDEPEND=">=net-dialup/capi4k-utils-20050718 - sys-devel/bc" - -S=${WORKDIR}/${MY_P}/drivers/isdn/hardware/mISDN - -### Begin: Helper functions - -select_echo_cancel() { - local myEC="" - for x in ${MISDN_EC_FLAGS}; do - if use ${x}; then - myEC=$(echo "${x}" | sed -e "s:^ec\(.*\):\U\1\E:") - break; - fi - done - echo ${myEC} -} - -dsp_enable() { - local i - for i in "${@}"; do - sed -i -e "s:.*\(#include.*dsp_${i}\):\1:m" dsp.h - done -} - -dsp_disable() { - local i - for i in "${@}"; do - sed -i -e "s:.*\(#include.*dsp_${i}\)://\1:m" dsp.h - done -} - -### End: Helper functions - -pkg_setup() { - local numec=0 - - CONFIG_CHECK="ISDN_CAPI ISDN_CAPI_CAPI20 ISDN_CAPI_CAPIFS_BOOL" - linux-mod_pkg_setup - MODULE_NAMES="mISDN_capi(net:) mISDN_dtmf(net:) mISDN_l1(net:) - mISDN_x25dte(net:) l3udss1(net:) mISDN_core(net:) mISDN_isac(net:) - mISDN_l2(net:) mISDN_dsp(net:)" - BUILD_PARAMS="-C ${KV_DIR} SUBDIRS=${S} MINCLUDES=${WORKDIR}/${MY_P}/include CONFIG_MISDN_DRV=m CONFIG_MISDN_DSP=y" - BUILD_TARGETS="modules" - #I4LmISDN(net:) does not compile :( CONFIG_I4L_CAPI_LAYER=m - # the i4l->capi simulation seems to be only for kernel 2.4 - - # check if multiple echo cancellers have been selected - for x in ${MISDN_EC_FLAGS}; do - use ${x} && : $((numec++)) - done - if [[ ${numec} -gt 1 ]]; then - # multiple flags are active, only the first in the ZAP_EC_FLAGS list - # will be used, make sure the user knows about this - ewarn - ewarn "Multiple echo canceller flags are active but only one will be used!" - ewarn "Selected: $(select_echo_cancel)" - fi - - # Check existence of user selected cards - if [ -n "${MISDN_CARDS}" ]; then - for USERCARD in ${MISDN_CARDS} ; do - for ((CARD=0; CARD < ${#MISDN_MODULES[*]}; CARD++)); do - if [ "${USERCARD}" = "${MISDN_MODULES[CARD]}" ]; then - MODULE_NAMES="${MODULE_NAMES} ${MISDN_MODULES[CARD]}(net:)" - #[ "sedlfax" = "${MISDN_MODULES[CARD]}" ] && MODULE_NAMES="${MODULE_NAMES} faxl3(net:)" - BUILD_PARAMS="${BUILD_PARAMS} CONFIG_MISDN_${MISDN_KCONFIG[CARD]}=y" - continue 2 - fi - done - die "Module ${USERCARD} not present in ${P}" - done - else - elog - elog "You can control the modules which are built with the variable" - elog "MISDN_CARDS which should contain a blank separated list" - elog "of a selection from the following cards:" - elog " ${MISDN_MODULES[*]}" - elog - ewarn "I give you the chance of hitting Ctrl-C and make the necessary" - ewarn "adjustments in /etc/make.conf." - - # enable everything - for ((CARD=0; CARD < ${#MISDN_MODULES[*]}; CARD++)); do - MODULE_NAMES="${MODULE_NAMES} ${MISDN_MODULES[CARD]}(net:)" - #[ "sedlfax" = "${MISDN_MODULES[CARD]}" ] && MODULE_NAMES="${MODULE_NAMES} faxl3(net:)" - BUILD_PARAMS="${BUILD_PARAMS} CONFIG_MISDN_${MISDN_KCONFIG[CARD]}=y" - done - fi -} - -src_unpack() { - unpack ${A} - - cd "${S}" - if use ecaggressive; then - sed -i -e "s:.*#define \(AGGRESSIVE_SUPPRESSOR\):#define \1:m" dsp.h - fi - - case "$(select_echo_cancel)" in - MG2) - dsp_enable mg2ec - dsp_disable kb1ec mec2 - ;; - KB1) - dsp_enable kb1ec - dsp_disable mg2ec mec2 - ;; - MARK2) - dsp_enable mec2 - dsp_disable mg2ec kb1ec - ;; - esac -} - -src_install() { - linux-mod_src_install - - insinto /usr/include/linux - doins "${WORKDIR}/${MY_P}/"include/linux/*.h - - dodir /etc/udev/rules.d - echo 'KERNEL=="obj-*", NAME="mISDN", GROUP="dialout", MODE="0660"' \ - > "${D}/etc/udev/rules.d/53-${PN}.rules" - - insinto /etc/modules.d - newins "${WORKDIR}/${MY_P}/"mISDN.modprobe.d ${PN} - - sed -i -e "s:USER=.*:USER=root:" \ - -e "s:GROUP=.*:GROUP=dialout:" "${WORKDIR}/${MY_P}/"misdn-init - dosbin "${WORKDIR}/${MY_P}/"misdn-init - - dodoc Kconfig.v2.6 - dodoc "${FILESDIR}/README.hfcmulti" "${WORKDIR}/${MY_P}/"README.misdn-init -} - -pkg_preinst() { - if [ -e "${ROOT}"/etc/misdn-init.conf ]; then - cp "${ROOT}"/etc/misdn-init.conf "${D}"/etc - else - sed -i -e "s:/etc/misdn-init.conf:${D}\0:" "${D}"/usr/sbin/misdn-init - "${D}"/usr/sbin/misdn-init config - sed -i -e "s:${D}/etc/misdn-init.conf:/etc/misdn-init.conf:" "${D}"/usr/sbin/misdn-init - fi -} - -pkg_postinst() { - linux-mod_pkg_postinst - - ewarn - ewarn "This driver is still under heavy development" - ewarn "Please report ebuild related bugs / wishes to http://bugs.gentoo.org" - ewarn "Please report driver bugs to the mISDN mailing-list:" - ewarn " https://www.isdn4linux.de/mailman/listinfo/isdn4linux" -} diff --git a/net-dialup/misdn/misdn-1.1.5.ebuild b/net-dialup/misdn/misdn-1.1.5.ebuild deleted file mode 100644 index f91d797ea479..000000000000 --- a/net-dialup/misdn/misdn-1.1.5.ebuild +++ /dev/null @@ -1,181 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/misdn/misdn-1.1.5.ebuild,v 1.1 2007/07/07 10:21:39 genstef Exp $ - -inherit eutils linux-mod - -MY_P=mISDN-${PV//./_} -DESCRIPTION="mISDN is the new ISDN stack of the linux kernel 2.6." -HOMEPAGE="http://www.misdn.org/" -SRC_URI="http://www.misdn.org/downloads/releases/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86 ~amd64 ~ppc" - -# list of echo canceller use flags, -# first active in this list is selected (=order does matter) -MISDN_EC_FLAGS="ecmg2 eckb1 ecmark2" - -# list of card modules -MISDN_MODULES=("avmfritz" "hfcpci" "hfcmulti" "hfcsusb" "hfcsmini" "xhfc" "sedlfax" "w6692pci" "netjetpci") -MISDN_KCONFIG=("AVM_FRITZ" "HFCPCI" "HFCMULTI" "HFCUSB" "HFCMINI" "XHFC" "SPEEDFAX" "W6692" "NETJET") - -IUSE="ecaggressive ${MISDN_EC_FLAGS}" -for i in ${MISDN_MODULES[@]}; do IUSE="${IUSE} misdn_cards_${i}"; done - -RDEPEND=">=net-dialup/capi4k-utils-20050718 - sys-devel/bc" - -S=${WORKDIR}/${MY_P}/drivers/isdn/hardware/mISDN - -### Begin: Helper functions - -select_echo_cancel() { - local myEC="" - for x in ${MISDN_EC_FLAGS}; do - if use ${x}; then - myEC=$(echo "${x}" | sed -e "s:^ec\(.*\):\U\1\E:") - break; - fi - done - echo ${myEC} -} - -dsp_enable() { - local i - for i in "${@}"; do - sed -i -e "s:.*\(#include.*dsp_${i}\):\1:m" dsp.h - done -} - -dsp_disable() { - local i - for i in "${@}"; do - sed -i -e "s:.*\(#include.*dsp_${i}\)://\1:m" dsp.h - done -} - -### End: Helper functions - -pkg_setup() { - local numec=0 - - CONFIG_CHECK="ISDN_CAPI ISDN_CAPI_CAPI20 ISDN_CAPI_CAPIFS_BOOL" - linux-mod_pkg_setup - MODULE_NAMES="mISDN_capi(net:) mISDN_dtmf(net:) mISDN_l1(net:) - mISDN_x25dte(net:) l3udss1(net:) mISDN_core(net:) mISDN_isac(net:) - mISDN_l2(net:) mISDN_dsp(net:)" - BUILD_PARAMS="-C ${KV_DIR} SUBDIRS=${S} MINCLUDES=${WORKDIR}/${MY_P}/include CONFIG_MISDN_DRV=m CONFIG_MISDN_DSP=y" - BUILD_TARGETS="modules" - #I4LmISDN(net:) does not compile :( CONFIG_I4L_CAPI_LAYER=m - # the i4l->capi simulation seems to be only for kernel 2.4 - - # check if multiple echo cancellers have been selected - for x in ${MISDN_EC_FLAGS}; do - use ${x} && : $((numec++)) - done - if [[ ${numec} -gt 1 ]]; then - # multiple flags are active, only the first in the ZAP_EC_FLAGS list - # will be used, make sure the user knows about this - ewarn - ewarn "Multiple echo canceller flags are active but only one will be used!" - ewarn "Selected: $(select_echo_cancel)" - fi - - # Check existence of user selected cards - if [ -n "${MISDN_CARDS}" ]; then - for USERCARD in ${MISDN_CARDS} ; do - for ((CARD=0; CARD < ${#MISDN_MODULES[*]}; CARD++)); do - if [ "${USERCARD}" = "${MISDN_MODULES[CARD]}" ]; then - MODULE_NAMES="${MODULE_NAMES} ${MISDN_MODULES[CARD]}(net:)" - #[ "sedlfax" = "${MISDN_MODULES[CARD]}" ] && MODULE_NAMES="${MODULE_NAMES} faxl3(net:)" - BUILD_PARAMS="${BUILD_PARAMS} CONFIG_MISDN_${MISDN_KCONFIG[CARD]}=y" - continue 2 - fi - done - die "Module ${USERCARD} not present in ${P}" - done - else - elog - elog "You can control the modules which are built with the variable" - elog "MISDN_CARDS which should contain a blank separated list" - elog "of a selection from the following cards:" - elog " ${MISDN_MODULES[*]}" - elog - ewarn "I give you the chance of hitting Ctrl-C and make the necessary" - ewarn "adjustments in /etc/make.conf." - - # enable everything - for ((CARD=0; CARD < ${#MISDN_MODULES[*]}; CARD++)); do - MODULE_NAMES="${MODULE_NAMES} ${MISDN_MODULES[CARD]}(net:)" - #[ "sedlfax" = "${MISDN_MODULES[CARD]}" ] && MODULE_NAMES="${MODULE_NAMES} faxl3(net:)" - BUILD_PARAMS="${BUILD_PARAMS} CONFIG_MISDN_${MISDN_KCONFIG[CARD]}=y" - done - fi -} - -src_unpack() { - unpack ${A} - - cd "${S}" - if use ecaggressive; then - sed -i -e "s:.*#define \(AGGRESSIVE_SUPPRESSOR\):#define \1:m" dsp.h - fi - - case "$(select_echo_cancel)" in - MG2) - dsp_enable mg2ec - dsp_disable kb1ec mec2 - ;; - KB1) - dsp_enable kb1ec - dsp_disable mg2ec mec2 - ;; - MARK2) - dsp_enable mec2 - dsp_disable mg2ec kb1ec - ;; - esac -} - -src_install() { - linux-mod_src_install - - insinto /usr/include/linux - doins "${WORKDIR}/${MY_P}/"include/linux/*.h - - dodir /etc/udev/rules.d - echo 'KERNEL=="obj-*", NAME="mISDN", GROUP="dialout", MODE="0660"' \ - > "${D}/etc/udev/rules.d/53-${PN}.rules" - - insinto /etc/modules.d - newins "${WORKDIR}/${MY_P}/"mISDN.modprobe.d ${PN} - - sed -i -e "s:USER=.*:USER=root:" \ - -e "s:GROUP=.*:GROUP=dialout:" "${WORKDIR}/${MY_P}/"misdn-init - dosbin "${WORKDIR}/${MY_P}/"misdn-init - - dodoc Kconfig.v2.6 - dodoc "${FILESDIR}/README.hfcmulti" "${WORKDIR}/${MY_P}/"README.misdn-init -} - -pkg_preinst() { - if [ -e "${ROOT}"/etc/misdn-init.conf ]; then - cp "${ROOT}"/etc/misdn-init.conf "${D}"/etc - else - sed -i -e "s:/etc/misdn-init.conf:${D}\0:" "${D}"/usr/sbin/misdn-init - "${D}"/usr/sbin/misdn-init config - sed -i -e "s:${D}/etc/misdn-init.conf:/etc/misdn-init.conf:" "${D}"/usr/sbin/misdn-init - fi -} - -pkg_postinst() { - linux-mod_pkg_postinst - - ewarn - ewarn "This driver is still under heavy development" - ewarn "Please report ebuild related bugs / wishes to http://bugs.gentoo.org" - ewarn "Please report driver bugs to the mISDN mailing-list:" - ewarn " https://www.isdn4linux.de/mailman/listinfo/isdn4linux" -} diff --git a/net-dialup/misdn/misdn-1.1.6.ebuild b/net-dialup/misdn/misdn-1.1.7.ebuild index 58aa7ab63649..0ff38c00628c 100644 --- a/net-dialup/misdn/misdn-1.1.6.ebuild +++ b/net-dialup/misdn/misdn-1.1.7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/misdn/misdn-1.1.6.ebuild,v 1.1 2007/10/22 19:03:01 genstef Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/misdn/misdn-1.1.7.ebuild,v 1.1 2007/11/12 19:14:08 genstef Exp $ inherit eutils linux-mod @@ -119,7 +119,7 @@ src_unpack() { unpack ${A} cd "${S}" - kernel_is ge 2 6 23 && epatch ${FILESDIR}/misdn-2.6.23.diff + kernel_is ge 2 6 23 && epatch "${FILESDIR}"/misdn-2.6.23.diff if use ecaggressive; then sed -i -e "s:.*#define \(AGGRESSIVE_SUPPRESSOR\):#define \1:m" dsp.h diff --git a/net-dialup/misdnuser/ChangeLog b/net-dialup/misdnuser/ChangeLog index 359e7ca1df24..40b67bab6196 100644 --- a/net-dialup/misdnuser/ChangeLog +++ b/net-dialup/misdnuser/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-dialup/misdnuser # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/misdnuser/ChangeLog,v 1.12 2007/10/11 20:31:00 sbriesen Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/misdnuser/ChangeLog,v 1.13 2007/11/12 19:16:27 genstef Exp $ + +*misdnuser-1.1.7 (12 Nov 2007) + + 12 Nov 2007; Stefan Schweizer <genstef@gentoo.org> + -misdnuser-1.1.3.ebuild, -misdnuser-1.1.5.ebuild, +misdnuser-1.1.7.ebuild: + version bump 11 Oct 2007; Stefan Briesenick <sbriesen@gentoo.org> misdnuser-1.1.5.ebuild: diff --git a/net-dialup/misdnuser/files/digest-misdnuser-1.1.3 b/net-dialup/misdnuser/files/digest-misdnuser-1.1.3 deleted file mode 100644 index c9bac6b64cc3..000000000000 --- a/net-dialup/misdnuser/files/digest-misdnuser-1.1.3 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 546c42271307b0ffe1dd55fd899adda8 mISDNuser-1_1_3.tar.gz 380509 -RMD160 420c146c446edc9de62db609ff63900ea300f488 mISDNuser-1_1_3.tar.gz 380509 -SHA256 9613ffaf43927e607dd06d1ff9c9b1c82227ba6608e7f79982cabfd6c960e484 mISDNuser-1_1_3.tar.gz 380509 diff --git a/net-dialup/misdnuser/files/digest-misdnuser-1.1.5 b/net-dialup/misdnuser/files/digest-misdnuser-1.1.5 deleted file mode 100644 index 75ba5d821ed0..000000000000 --- a/net-dialup/misdnuser/files/digest-misdnuser-1.1.5 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 45bf90350ac8f8e1845c02e293126d70 mISDNuser-1_1_5.tar.gz 373913 -RMD160 2ddef1aeb6449753fcdf042f6f7800ec26f82b59 mISDNuser-1_1_5.tar.gz 373913 -SHA256 1b8317c4e566f9cf9daf5a20c04670e29759cc0bd3888772fd4c06df2827469e mISDNuser-1_1_5.tar.gz 373913 diff --git a/net-dialup/misdnuser/files/digest-misdnuser-1.1.7 b/net-dialup/misdnuser/files/digest-misdnuser-1.1.7 new file mode 100644 index 000000000000..89a63be2a332 --- /dev/null +++ b/net-dialup/misdnuser/files/digest-misdnuser-1.1.7 @@ -0,0 +1,3 @@ +MD5 fd66bfaa32751563f8e19fc05615a421 mISDNuser-1_1_7.tar.gz 146480 +RMD160 292449f71781a89cac66b8e881d41868a7a6b511 mISDNuser-1_1_7.tar.gz 146480 +SHA256 954aab56fbeb08e22472bda48d390ad0194183dd9f39c61e689368c2e0140f20 mISDNuser-1_1_7.tar.gz 146480 diff --git a/net-dialup/misdnuser/misdnuser-1.1.3.ebuild b/net-dialup/misdnuser/misdnuser-1.1.3.ebuild deleted file mode 100644 index a13cda44c222..000000000000 --- a/net-dialup/misdnuser/misdnuser-1.1.3.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2007 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/misdnuser/misdnuser-1.1.3.ebuild,v 1.1 2007/05/09 20:43:15 genstef Exp $ - -inherit eutils - -MY_P=mISDNuser-${PV//./_} -DESCRIPTION="mISDN (modular ISDN) kernel link library and includes" -HOMEPAGE="http://www.mISDN.org" -SRC_URI="http://www.misdn.org/downloads/releases/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~x86" -IUSE="" -S=${WORKDIR}/${MY_P} -RDEPEND=">=net-dialup/misdn-1.0.4 - sys-libs/ncurses" -DEPEND="${RDEPEND}" -MAKEOPTS="${MAKEPOPTS} -j1" - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/misdnuser-as-needed.patch -} - -src_install() { - emake INSTALL_PREFIX="${D}" install || die "emake install failed" -} diff --git a/net-dialup/misdnuser/misdnuser-1.1.5.ebuild b/net-dialup/misdnuser/misdnuser-1.1.7.ebuild index c7de3dcbad28..18bc205f3bcb 100644 --- a/net-dialup/misdnuser/misdnuser-1.1.5.ebuild +++ b/net-dialup/misdnuser/misdnuser-1.1.7.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/misdnuser/misdnuser-1.1.5.ebuild,v 1.2 2007/10/11 20:31:00 sbriesen Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/misdnuser/misdnuser-1.1.7.ebuild,v 1.1 2007/11/12 19:16:27 genstef Exp $ inherit eutils @@ -21,8 +21,8 @@ MAKEOPTS="${MAKEPOPTS} -j1" src_unpack() { unpack ${A} - cd ${S} - epatch ${FILESDIR}/misdnuser-as-needed.patch + cd "${S}" + epatch "${FILESDIR}"/misdnuser-as-needed.patch } src_install() { |