diff options
author | Stefan Briesenick <sbriesen@gentoo.org> | 2005-09-03 20:41:21 +0000 |
---|---|---|
committer | Stefan Briesenick <sbriesen@gentoo.org> | 2005-09-03 20:41:21 +0000 |
commit | fa1565ab2b97990a87e706baedfea17a820534fd (patch) | |
tree | 13165677c645a7fd47fbb7477881b4cf8afde243 /net-dialup/isdn4k-utils | |
parent | Stable on ppc64 (diff) | |
download | gentoo-2-fa1565ab2b97990a87e706baedfea17a820534fd.tar.gz gentoo-2-fa1565ab2b97990a87e706baedfea17a820534fd.tar.bz2 gentoo-2-fa1565ab2b97990a87e706baedfea17a820534fd.zip |
removing old version (3.7_pre20050329), mark 3.7_pre20050626 stable on x86.
(Portage version: 2.0.51.22-r2)
Diffstat (limited to 'net-dialup/isdn4k-utils')
5 files changed, 16 insertions, 238 deletions
diff --git a/net-dialup/isdn4k-utils/ChangeLog b/net-dialup/isdn4k-utils/ChangeLog index a000551039f2..4592eed81d4c 100644 --- a/net-dialup/isdn4k-utils/ChangeLog +++ b/net-dialup/isdn4k-utils/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-dialup/isdn4k-utils # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/isdn4k-utils/ChangeLog,v 1.43 2005/07/02 09:34:30 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/isdn4k-utils/ChangeLog,v 1.44 2005/09/03 20:41:21 sbriesen Exp $ + + 03 Sep 2005; Stefan Briesenick <sbriesen@gentoo.org> metadata.xml, + -isdn4k-utils-3.7_pre20050329.ebuild, isdn4k-utils-3.7_pre20050626.ebuild: + removing old version (3.7_pre20050329), mark 3.7_pre20050626 stable on x86. 02 Jul 2005; David Holm <dholm@gentoo.org> isdn4k-utils-3.7_pre20050626.ebuild: diff --git a/net-dialup/isdn4k-utils/files/digest-isdn4k-utils-3.7_pre20050329 b/net-dialup/isdn4k-utils/files/digest-isdn4k-utils-3.7_pre20050329 deleted file mode 100644 index 03c7ee362540..000000000000 --- a/net-dialup/isdn4k-utils/files/digest-isdn4k-utils-3.7_pre20050329 +++ /dev/null @@ -1 +0,0 @@ -MD5 cc4ed55aecb2f612ef51d88a0345a56f isdn4k-utils-CVS-2005-03-29.tar.bz2 5579826 diff --git a/net-dialup/isdn4k-utils/isdn4k-utils-3.7_pre20050329.ebuild b/net-dialup/isdn4k-utils/isdn4k-utils-3.7_pre20050329.ebuild deleted file mode 100644 index 0d3cefb5e6c1..000000000000 --- a/net-dialup/isdn4k-utils/isdn4k-utils-3.7_pre20050329.ebuild +++ /dev/null @@ -1,232 +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/isdn4k-utils/isdn4k-utils-3.7_pre20050329.ebuild,v 1.1 2005/03/29 08:40:14 mrness Exp $ - -inherit eutils linux-info - -MY_PV="${PV/*_pre/}" -MY_P="${PN}-CVS-${MY_PV:0:4}-${MY_PV:4:2}-${MY_PV:6:2}" - -DESCRIPTION="ISDN4Linux Utils" -SRC_URI="ftp://ftp.isdn4linux.de/pub/isdn4linux/CVS-Snapshots/${MY_P}.tar.bz2" -HOMEPAGE="http://www.isdn4linux.de/" - -KEYWORDS="~x86 ~amd64 ~alpha" -LICENSE="GPL-2" -IUSE="X unicode" -SLOT="0" - -DEPEND="virtual/linux-sources - virtual/libc - sys-libs/ncurses - sys-libs/gdbm - dev-lang/tcl - X? ( virtual/x11 )" -RDEPEND="${DEPEND} - virtual/modutils - net-dialup/ppp" - -S="${WORKDIR}/${MY_P}" - -pkg_setup() { - CONFIG_CHECK="PPP" - linux-info_pkg_setup - - # Get country code from I4L_CC variable - # default country: DE (Germany) - I4L_CC=$(echo -n "${I4L_CC}" | tr "[:lower:]" "[:upper:]") - [ -z "${I4L_CC}" ] && I4L_CC="DE" - I4L_CC_LOW=$(echo -n "${I4L_CC}" | tr "[:upper:]" "[:lower:]") - - # Get language from I4L_LANG variable ('de' or 'en') - I4L_LANG=$(echo -n "${I4L_CC}" | tr "[:lower:]" "[:upper:]") - if [ -z "${I4L_LANG}" ]; then - case "${I4L_CC}" in - AT|CH|DE) - I4L_LANG="DE" - ;; - *) - I4L_LANG="EN" - ;; - esac - fi - [ "${I4L_LANG}" = "DE" -o "${I4L_LANG}" = "EN" ] || I4L_LANG="EN" -} - -src_unpack() { - unpack ${A} - cd ${S} - - # fix for 2.6 headers - find . -name "*.c" | \ - xargs -r sed -i -e 's:linux/capi.h>$:linux/compiler.h>\n#include <linux/capi.h>:g' - - # patch all Makefiles to use our CFLAGS - find . -name "Makefile*" | \ - xargs -r sed -i -e "s:^CFLAGS\(.*\)-O[26]:CFLAGS\1${CFLAGS}:g" \ - -e "s:^CFLAGS\(.*\)-g:CFLAGS\1${CFLAGS}:g" \ - -e "s:^CFLAGS = -Wall$:CFLAGS = ${CFLAGS}:g" || die "sed failed" - - # install our config - case "${I4L_CC}" in - DE|AT|NL|LU|CH) - # These countries are specially supported in the isdnlog source. - sed -e "s:^CONFIG_ISDN_LOG_XX=:CONFIG_ISDN_LOG_${I4L_CC}=:g" -e "s:^CONFIG_ISDN_LOG_CC=.*$:#:g" \ - -e "s:^\(CONFIG_ISDN_LOG_CC_\)..=:\1${I4L_LANG}=:g" < ${FILESDIR}/config-${PV} > .config || die "failed to modify .config" - ;; - *) - # Others get a generic isdnlog. - sed -e "s:^\(CONFIG_ISDN_LOG_CC=\).*$:\1'${I4L_CC_LOW}':g" \ - -e "s:^\(CONFIG_ISDN_LOG_CC_\)..=:\1${I4L_LANG}=:g" < ${FILESDIR}/config-${PV} > .config || die "failed to modify .config" - ;; - esac - - useq X || \ - sed -i -e "s:^CONFIG_BUILDX11=.*$:#:g" \ - -e "s:^CONFIG_XISDNLOAD=.*$:#:g" \ - -e "s:^CONFIG_XMONISDN=.*$:#:g" .config - - # Patch in order to make generic config for countries which are not known to isdnlog source - sed -i -e "s:\$(INSTALL_DATA) rate-:-\$(INSTALL_DATA) rate-:g" \ - -e "s:\$(INSTALL_DATA) holiday-:-\$(INSTALL_DATA) holiday-:g" isdnlog/Makefile.in - - # if specified, convert all relevant files from latin1 to UTF-8 - if useq unicode; then - for i in isdnlog/samples/{isdn,rate}.conf* isdnlog/*-{at,ch,de,no}.dat isdnlog/{Isdn,.country-alias}; do - iconv -f latin1 -t utf8 -o "${i}~" "${i}" && mv -f "${i}~" "${i}" || rm -f "${i}~" - done - fi -} - -src_compile() { - for i in eicon; do - cd $i && autoconf || \ - die "autoconf failed in dir $i" - cd .. - done - make subconfig || die "make subconfig failed" - make || die "make failed" -} - -src_install() { - keepdir /var/lib/isdn - dodir /dev /etc/isdn /usr/bin /usr/sbin - make DESTDIR=${D} install || die "make install failed" - - # move ISAR.BIN (hisax firmware) to /lib/firmware - insinto /lib/firmware - doins ${D}/usr/share/isdn/ISAR.BIN - rm -f ${D}/usr/share/isdn/ISAR.BIN - - # remove obsolete firmware files (these are in net-dialup/isdn-firmware) - rm -f ${D}/usr/share/isdn/{bip1120.btl,dnload.bin,ds4bri.bit,dspdload.bin} - rm -f ${D}/usr/share/isdn/{loadpg.bin,pc_??_ca.bin,prload.bin,te_????.*} - - # install autoload/hotplug blacklist - insinto /etc/hotplug/blacklist.d - newins ${FILESDIR}/isdn.blacklist isdn - - # install docs (base) - dodoc NEWS README Mini-FAQ/isdn-faq.txt scripts/makedev.sh FAQ/_howto/xp* - - # install docs (ipppd) - docinto ipppd - dodoc LEGAL.ipppcomp ipppd/{README,README.*.ORIG,NOTES.IPPPD} ipppcomp/README.LZS # ipppd/README.RADIUS - docinto ipppd/example - dodoc FAQ/_example/*.txt - docinto ipppd/howto - dodoc FAQ/_howto/{dns*,i4l_ipx*,isdn*,lan*,leased*,masq*,mppp*,ppp*,route*} - - # install docs (isdnlog) - docinto isdnlog - dodoc isdnlog/{BUGS,FAQ,Isdn,NEWS,README*} FAQ/_howto/win* - docinto isdnlog/areacode - dodoc areacode/*.doc - docinto isdnlog/contrib/isdnbill - dodoc isdnlog/contrib/isdnbill/{*.isdnbill,*.gz} - docinto isdnlog/contrib/winpopup - dodoc isdnlog/contrib/winpopup/* - - # install docs (eft) - docinto eft - dodoc eurofile/{CHANGES,INSTALL,README*,TODO} - newdoc eurofile/src/wuauth/README README.AUTHLIB - docinto eft/scripts - dodoc eurofile/scripts/{eft_useradd,check_system,ix25test,eftd.sh,eftp.sh} - - # install init-scripts - newinitd ${FILESDIR}/isdn.initd isdn - newinitd ${FILESDIR}/hisax.initd hisax - newinitd ${FILESDIR}/net.ippp0 net.ippp0 - newinitd ${FILESDIR}/isdnlog.initd isdnlog.contr0 - - # install init-configs - dodir /etc/conf.d # BUG: w/o newconfd failes - newconfd ${FILESDIR}/isdn.confd isdn - newconfd ${FILESDIR}/isdnlog.confd isdnlog.contr0 - - # install example ippp scripts and configs - exeinto /etc/ppp - insinto /etc/ppp - doins ${FILESDIR}/{ioptions,options.ippp0} - - # install example isdn configs - insinto /etc/isdn - doins isdnlog/samples/{isdn,rate}.conf.{at,de,lu,nl,no,pl} - newins isdnlog/samples/isdn.conf isdn.conf.unknown - if [ -f isdnlog/samples/isdn.conf.${I4L_CC_LOW} ]; then - newins isdnlog/samples/isdn.conf.${I4L_CC_LOW} isdn.conf - else - doins isdnlog/samples/isdn.conf - fi - if [ -f isdnlog/samples/rate.conf.${I4L_CC_LOW} ]; then - newins isdnlog/samples/rate.conf.${I4L_CC_LOW} rate.conf - fi - sed -i -e "s:/usr/lib/isdn/:/usr/share/isdn/:g" ${D}/etc/isdn/isdn.conf* - - # install example hisax config - insinto /etc - doins ${FILESDIR}/hisax.conf - - # install sample provider script - exeinto /etc/isdn - doexe isdnlog/samples/provider - - # rename isdnlog options file - insinto /etc/isdn - mv -f ${D}/etc/isdn/isdnlog.isdnctrl0.options ${D}/etc/isdn/isdnlog.options.contr0 - - # install isdnlog data files - insinto /usr/share/isdn - doins isdnlog/*.dat - - # install logrotate configs - insinto /etc/logrotate.d - newins ${FILESDIR}/isdnlog.logrotated isdnlog -} - -pkg_postinst() { - einfo - einfo "Please edit:" - einfo - einfo "- /etc/conf.d/isdn to contain your ISDN kernel modules" - einfo "- /etc/hisax.conf if you have hisax supported cards" - einfo "- /etc/ppp/* critical if you need networking" - einfo - einfo "For isdnlog you should edit:" - einfo - einfo "- /etc/conf.d/isdnlog.contr0" - einfo "- /etc/isdn/isdnlog.options.contr0" - einfo "- /etc/isdn/*.conf" - einfo - einfo "/etc/init.d/isdn will save and restore your isdnctrl config." - einfo "it will also handle the modem-register daemon." - einfo - einfo "/etc/init.d/net.ippp0 will start synchronous PPP connections" - einfo "which you need to set up using isdnctrl first!" - einfo - einfo "/etc/init.d/isdnlog.contr0 starts and stops isdnlog for contr0" - einfo "You can symlink it to isdnlog.contr1 and copy the corresponding" - einfo "configs if you have more than one card." - einfo -} diff --git a/net-dialup/isdn4k-utils/isdn4k-utils-3.7_pre20050626.ebuild b/net-dialup/isdn4k-utils/isdn4k-utils-3.7_pre20050626.ebuild index 8ca99064d6df..6365f252b56f 100644 --- a/net-dialup/isdn4k-utils/isdn4k-utils-3.7_pre20050626.ebuild +++ b/net-dialup/isdn4k-utils/isdn4k-utils-3.7_pre20050626.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/isdn4k-utils/isdn4k-utils-3.7_pre20050626.ebuild,v 1.2 2005/07/02 09:34:30 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/isdn4k-utils/isdn4k-utils-3.7_pre20050626.ebuild,v 1.3 2005/09/03 20:41:21 sbriesen Exp $ inherit eutils linux-info multilib gnuconfig @@ -11,7 +11,7 @@ DESCRIPTION="ISDN4Linux Utils" SRC_URI="ftp://ftp.isdn4linux.de/pub/isdn4linux/CVS-Snapshots/${MY_P}.tar.bz2" HOMEPAGE="http://www.isdn4linux.de/" -KEYWORDS="~alpha ~amd64 ~ppc ~x86" +KEYWORDS="~alpha ~amd64 ~ppc x86" LICENSE="GPL-2" IUSE="X unicode ipppd isdnlog eurofile" #IUSE="X unicode ipppd isdnlog eurofile mysql postgres oracle" diff --git a/net-dialup/isdn4k-utils/metadata.xml b/net-dialup/isdn4k-utils/metadata.xml index 1fa8855a476e..600ae8bd3568 100644 --- a/net-dialup/isdn4k-utils/metadata.xml +++ b/net-dialup/isdn4k-utils/metadata.xml @@ -1,6 +1,13 @@ <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> -<herd>net-dialup</herd> -<longdescription>ISDN4Linux Utils</longdescription> + <herd>net-dialup</herd> + <maintainer> + <email>sbriesen@gentoo.org</email> + <name>Stefan Briesenick</name> + </maintainer> + <longdescription lang="en"> + The isdn4k-utils package contains a collection of utilities needed for + configuring an ISDN subsystem. + </longdescription> </pkgmetadata> |