From 03dcdbfcd7ade3ea7d1af3f6a7ce5f6483958acb Mon Sep 17 00:00:00 2001 From: Daniel Black Date: Thu, 2 Dec 2004 13:42:03 +0000 Subject: version bump that I should of done before --- net-dialup/isdn4k-utils/ChangeLog | 9 +- net-dialup/isdn4k-utils/Manifest | 12 +- .../files/digest-isdn4k-utils-3.5_pre20041110 | 1 - .../files/digest-isdn4k-utils-3.5_pre20041110-r1 | 1 + .../isdn4k-utils-3.5_pre20041110-r1.ebuild | 214 +++++++++++++++++++++ .../isdn4k-utils-3.5_pre20041110.ebuild | 214 --------------------- 6 files changed, 229 insertions(+), 222 deletions(-) delete mode 100644 net-dialup/isdn4k-utils/files/digest-isdn4k-utils-3.5_pre20041110 create mode 100644 net-dialup/isdn4k-utils/files/digest-isdn4k-utils-3.5_pre20041110-r1 create mode 100644 net-dialup/isdn4k-utils/isdn4k-utils-3.5_pre20041110-r1.ebuild delete mode 100644 net-dialup/isdn4k-utils/isdn4k-utils-3.5_pre20041110.ebuild (limited to 'net-dialup/isdn4k-utils') diff --git a/net-dialup/isdn4k-utils/ChangeLog b/net-dialup/isdn4k-utils/ChangeLog index 4df254b1eba6..aea0a5e9824a 100644 --- a/net-dialup/isdn4k-utils/ChangeLog +++ b/net-dialup/isdn4k-utils/ChangeLog @@ -1,6 +1,13 @@ # 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.31 2004/12/02 12:47:17 dragonheart Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/isdn4k-utils/ChangeLog,v 1.32 2004/12/02 13:42:03 dragonheart Exp $ + +*isdn4k-utils-3.5_pre20041110-r1 (02 Dec 2004) + + 02 Dec 2004; Daniel Black + +isdn4k-utils-3.5_pre20041110-r1.ebuild, + -isdn4k-utils-3.5_pre20041110.ebuild: + version bump that I should of done before 02 Dec 2004; Daniel Black isdn4k-utils-3.2_p1-r2.ebuild, isdn4k-utils-3.5_pre20041110.ebuild: diff --git a/net-dialup/isdn4k-utils/Manifest b/net-dialup/isdn4k-utils/Manifest index 0d6a2176fb75..6ee770be7f10 100644 --- a/net-dialup/isdn4k-utils/Manifest +++ b/net-dialup/isdn4k-utils/Manifest @@ -1,13 +1,13 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 aa35e6b04092c618daaedb211250bd93 ChangeLog 7608 +MD5 5f81f309c3ee3e4d1825ad199dc0d0aa ChangeLog 7837 MD5 3e1f2a62b125bc976d086e9f6c596aa0 isdn4k-utils-3.2_p1-r2.ebuild 2932 -MD5 a2bcb84492a2cb2275c0c61b32060ac7 isdn4k-utils-3.5_pre20041110.ebuild 6715 MD5 bab835f739889e139f5acaf397d3d875 metadata.xml 215 +MD5 d21e8fc9ea7f4cdbbb0e3f87ff714ea7 isdn4k-utils-3.5_pre20041110-r1.ebuild 6718 MD5 e2cc85397eb8ff285f383213ab00cdad files/digest-isdn4k-utils-3.2_p1-r2 73 -MD5 8de88f6cf872f012abe1e320b3fb4336 files/digest-isdn4k-utils-3.5_pre20041110 81 MD5 2dbc97316fbe5d721b9701347464e22c files/gcc33-multiline.patch 1977 +MD5 8de88f6cf872f012abe1e320b3fb4336 files/digest-isdn4k-utils-3.5_pre20041110-r1 81 MD5 7ce4e9c2bb9dee4d231ae8da54a06b9f files/3.2_p1-r2/gentoo.patch 2383 MD5 2f4c186b729606b475e17a0ea54189c9 files/3.2_p1-r2/config 2405 MD5 92412760dfacc81cfac908d522ac8e39 files/3.2_p1-r2/ioptions 86 @@ -31,7 +31,7 @@ MD5 02118ba89fc41144086224482bff7422 files/3.5_pre20041110/options.ippp0 685 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) -iD8DBQFBrw7bmdTrptrqvGERAo8sAJwJjJ3kLE/B4jG0Z+/jK7zGgMSTKgCfYlZB -O91OJvlxrHssq29Z3RJRshE= -=YqEi +iD8DBQFBrxuxmdTrptrqvGERAnrkAJ9AYOOr7d06/pnhBrKl23hXzsLaUQCcDE8F +Xbdkw3Cq9Xce5NWh8D0lAU0= +=zXKf -----END PGP SIGNATURE----- diff --git a/net-dialup/isdn4k-utils/files/digest-isdn4k-utils-3.5_pre20041110 b/net-dialup/isdn4k-utils/files/digest-isdn4k-utils-3.5_pre20041110 deleted file mode 100644 index 9a14b65cf8e9..000000000000 --- a/net-dialup/isdn4k-utils/files/digest-isdn4k-utils-3.5_pre20041110 +++ /dev/null @@ -1 +0,0 @@ -MD5 363efe6929db2fa4196b950c816edb1d isdn4k-utils-CVS-2004-11-10.tar.bz2 5511924 diff --git a/net-dialup/isdn4k-utils/files/digest-isdn4k-utils-3.5_pre20041110-r1 b/net-dialup/isdn4k-utils/files/digest-isdn4k-utils-3.5_pre20041110-r1 new file mode 100644 index 000000000000..9a14b65cf8e9 --- /dev/null +++ b/net-dialup/isdn4k-utils/files/digest-isdn4k-utils-3.5_pre20041110-r1 @@ -0,0 +1 @@ +MD5 363efe6929db2fa4196b950c816edb1d isdn4k-utils-CVS-2004-11-10.tar.bz2 5511924 diff --git a/net-dialup/isdn4k-utils/isdn4k-utils-3.5_pre20041110-r1.ebuild b/net-dialup/isdn4k-utils/isdn4k-utils-3.5_pre20041110-r1.ebuild new file mode 100644 index 000000000000..76b7b34578a7 --- /dev/null +++ b/net-dialup/isdn4k-utils/isdn4k-utils-3.5_pre20041110-r1.ebuild @@ -0,0 +1,214 @@ +# 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-3.5_pre20041110-r1.ebuild,v 1.1 2004/12/02 13:42:03 dragonheart Exp $ + +inherit eutils + +MY_PV="${PV/*_pre/}" +MY_P="${PN}-CVS-${MY_PV:0:4}-${MY_PV:4:2}-${MY_PV:6:2}" +S="${WORKDIR}/${MY_P}" + +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" + +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 :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}/${PV}/config > .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}/${PV}/config > .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() { + 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" + + # remove obsolete firmware files + 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 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 + exeinto /etc/init.d + newexe ${FILESDIR}/${PV}/isdn.init isdn + newexe ${FILESDIR}/${PV}/net.ippp0 net.ippp0 + newexe ${FILESDIR}/${PV}/isdnlog.init isdnlog.contr0 + + # install init-configs + insinto /etc/conf.d + newins ${FILESDIR}/${PV}/isdn.conf isdn + newins ${FILESDIR}/${PV}/isdnlog.conf isdnlog.contr0 + + # install example scripts and configs + exeinto /etc/ppp + insinto /etc/ppp + doexe ${FILESDIR}/${PV}/{ip-up,ip-down} + doins ${FILESDIR}/${PV}/{ioptions,options.ippp0} + + # install example 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 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}/${PV}/isdnlog.logrotated isdnlog + + + # ippdp.init script for the ebuild thinks ipppd should be in /sbin + dodir /sbin + mv ${D}/usr/sbin/ipppd ${D}/sbin/ipppd +} + +pkg_postinst() { + einfo + einfo "Please edit:" + einfo + einfo "- /etc/conf.d/isdn to contain your ISDN kernel modules" + 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.5_pre20041110.ebuild b/net-dialup/isdn4k-utils/isdn4k-utils-3.5_pre20041110.ebuild deleted file mode 100644 index 66bef4bc50cf..000000000000 --- a/net-dialup/isdn4k-utils/isdn4k-utils-3.5_pre20041110.ebuild +++ /dev/null @@ -1,214 +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-3.5_pre20041110.ebuild,v 1.5 2004/12/02 12:47:17 dragonheart Exp $ - -inherit eutils - -MY_PV="${PV/*_pre/}" -MY_P="${PN}-CVS-${MY_PV:0:4}-${MY_PV:4:2}-${MY_PV:6:2}" -S="${WORKDIR}/${MY_P}" - -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" - -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 :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}/${PV}/config > .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}/${PV}/config > .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() { - 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" - - # remove obsolete firmware files - 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 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 - exeinto /etc/init.d - newexe ${FILESDIR}/${PV}/isdn.init isdn - newexe ${FILESDIR}/${PV}/net.ippp0 net.ippp0 - newexe ${FILESDIR}/${PV}/isdnlog.init isdnlog.contr0 - - # install init-configs - insinto /etc/conf.d - newins ${FILESDIR}/${PV}/isdn.conf isdn - newins ${FILESDIR}/${PV}/isdnlog.conf isdnlog.contr0 - - # install example scripts and configs - exeinto /etc/ppp - insinto /etc/ppp - doexe ${FILESDIR}/${PV}/{ip-up,ip-down} - doins ${FILESDIR}/${PV}/{ioptions,options.ippp0} - - # install example 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 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}/${PV}/isdnlog.logrotated isdnlog - - - # ippdp.init script for the ebuild thinks ipppd should be in /sbin - dodir /sbin - mv ${D}/usr/sbin/ipppd ${D}/sbin/ipppd -} - -pkg_postinst() { - einfo - einfo "Please edit:" - einfo - einfo "- /etc/conf.d/isdn to contain your ISDN kernel modules" - 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 -} -- cgit v1.2.3-65-gdbad