diff options
author | Alin Năstac <mrness@gentoo.org> | 2004-11-08 22:13:04 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2004-11-08 22:13:04 +0000 |
commit | 0feae0e7a41ed54f78c48b5c679e919894710508 (patch) | |
tree | abe1c11f9471cfbb038561f20a17c30a55110fff /net-dialup | |
parent | inject arm (diff) | |
download | historical-0feae0e7a41ed54f78c48b5c679e919894710508.tar.gz historical-0feae0e7a41ed54f78c48b5c679e919894710508.tar.bz2 historical-0feae0e7a41ed54f78c48b5c679e919894710508.zip |
create device nodes
Diffstat (limited to 'net-dialup')
-rw-r--r-- | net-dialup/isdn4k-utils/ChangeLog | 7 | ||||
-rw-r--r-- | net-dialup/isdn4k-utils/Manifest | 10 | ||||
-rw-r--r-- | net-dialup/isdn4k-utils/files/digest-isdn4k-utils-20041024-r1 | 2 | ||||
-rw-r--r-- | net-dialup/isdn4k-utils/isdn4k-utils-20041024-r1.ebuild | 135 |
4 files changed, 149 insertions, 5 deletions
diff --git a/net-dialup/isdn4k-utils/ChangeLog b/net-dialup/isdn4k-utils/ChangeLog index 8f08e066b7bd..898189110cea 100644 --- a/net-dialup/isdn4k-utils/ChangeLog +++ b/net-dialup/isdn4k-utils/ChangeLog @@ -1,6 +1,11 @@ # 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.22 2004/11/07 17:30:20 mrness Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/isdn4k-utils/ChangeLog,v 1.23 2004/11/08 22:13:04 mrness Exp $ + +*isdn4k-utils-20041024-r1 (09 Nov 2004) + + 09 Nov 2004; Alin Nastac <mrness@gentoo.org> +isdn4k-utils-20041024-r1.ebuild: + Allow install to create device nodes. *isdn4k-utils-20041024 (07 Nov 2004) diff --git a/net-dialup/isdn4k-utils/Manifest b/net-dialup/isdn4k-utils/Manifest index 24028dc5715c..19898a1bf1f8 100644 --- a/net-dialup/isdn4k-utils/Manifest +++ b/net-dialup/isdn4k-utils/Manifest @@ -1,18 +1,20 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 -MD5 84a31dd12b021658d30b7bdc623d650f ChangeLog 4023 +MD5 bb630266a4c311b2a7018da7577d3afb ChangeLog 4186 MD5 9f4187355b91c0dabfca1b251589f527 isdn4k-utils-3.2_p1-r2.ebuild 2808 MD5 5bfcbc27dc20e18327b61f5df2bbec60 isdn4k-utils-3.2_p1-r3.ebuild 3070 MD5 f18a68edbe338cae044acc49ae9fdd2b isdn4k-utils-3.2_p1-r4.ebuild 3553 MD5 ec2f84816306825d125d0c01bd86758d metadata.xml 163 MD5 f1cac015a1fd0ca2da5a4712ec6b24fa isdn4k-utils-20041024.ebuild 3525 +MD5 18e1229fe631fbf89555a54ddf4757be isdn4k-utils-20041024-r1.ebuild 3373 MD5 e2cc85397eb8ff285f383213ab00cdad files/digest-isdn4k-utils-3.2_p1-r2 73 MD5 12a790e7cfe579394ff02019abcdf95d files/digest-isdn4k-utils-3.2_p1-r3 136 MD5 12a790e7cfe579394ff02019abcdf95d files/digest-isdn4k-utils-3.2_p1-r4 136 MD5 2dbc97316fbe5d721b9701347464e22c files/gcc33-multiline.patch 1977 MD5 adcc3c0ef100b737b0af224401812a4b files/local.start 564 MD5 73d16856e5d4ae2a30bfb77fbd2ab017 files/digest-isdn4k-utils-20041024 144 +MD5 73d16856e5d4ae2a30bfb77fbd2ab017 files/digest-isdn4k-utils-20041024-r1 144 MD5 2f4c186b729606b475e17a0ea54189c9 files/3.2_p1-r2/config 2405 MD5 7ce4e9c2bb9dee4d231ae8da54a06b9f files/3.2_p1-r2/gentoo.patch 2383 MD5 92412760dfacc81cfac908d522ac8e39 files/3.2_p1-r2/ioptions 86 @@ -39,7 +41,7 @@ MD5 15ef676fec91271f9a48dc7a1b7e82a2 files/20041024/vbox-makefile.am.patch 1211 -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) -iD8DBQFBjlu5jtv59x0+BrURAhhCAKCKOJo/oatEon2ycRZTgIOf7CCWOQCgv2bY -h3EVI3WA0rX998f/M9G/o0k= -=s4UJ +iD8DBQFBj++Ajtv59x0+BrURAqUVAKCDa9QZ5IxK+aqXRhHTclF+91XFewCdHdX0 +IJsKsHqZtHS8PmQdumeycL0= +=Vg8F -----END PGP SIGNATURE----- diff --git a/net-dialup/isdn4k-utils/files/digest-isdn4k-utils-20041024-r1 b/net-dialup/isdn4k-utils/files/digest-isdn4k-utils-20041024-r1 new file mode 100644 index 000000000000..50734554dc2d --- /dev/null +++ b/net-dialup/isdn4k-utils/files/digest-isdn4k-utils-20041024-r1 @@ -0,0 +1,2 @@ +MD5 453e6ca8812555d96fe3e840c89b15a8 isdn4k-utils-CVS-2004-10-24.tar.bz2 5508166 +MD5 dec7c96a6b3e8aa524bf0bcbae1f8af7 vbox3_0.1.9.tar.gz 105619 diff --git a/net-dialup/isdn4k-utils/isdn4k-utils-20041024-r1.ebuild b/net-dialup/isdn4k-utils/isdn4k-utils-20041024-r1.ebuild new file mode 100644 index 000000000000..041caceea84b --- /dev/null +++ b/net-dialup/isdn4k-utils/isdn4k-utils-20041024-r1.ebuild @@ -0,0 +1,135 @@ +# 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-20041024-r1.ebuild,v 1.1 2004/11/08 22:13:04 mrness Exp $ + +inherit eutils + +IUSE="X" +VBOX_V=0.1.9 +MY_PV=${PN}-CVS-2004-10-24 +S=${WORKDIR}/${MY_PV} +DESCRIPTION="ISDN-4-Linux Utils" +SRC_URI="ftp://ftp.isdn4linux.de/pub/isdn4linux/CVS-Snapshots/${MY_PV}.tar.bz2 + http://smarden.org/pape/vbox3/vbox3_${VBOX_V}.tar.gz" +HOMEPAGE="http://www.isdn4linux.de/" + +SLOT="0" +KEYWORDS="~x86 ~amd64 ~alpha" +LICENSE="GPL-2" + +RDEPEND=">=sys-apps/portage-2.0.47-r10 + virtual/libc + sys-libs/ncurses + sys-libs/gdbm + dev-lang/tcl + X? ( + virtual/x11 + )" + +DEPEND="${RDEPEND} + virtual/linux-sources + sys-devel/libtool + sys-devel/automake" + +src_unpack() { + unpack ${A} + + # Get country code from I4L_CC variable + # default country: DE (Germany) + export I4L_CC=`echo -n "${I4L_CC}" | tr "[:lower:]" "[:upper:]"` + [ "X${I4L_CC}" == "X" ] && export I4L_CC=DE + export I4L_CC_LOW=`echo -n "${I4L_CC}" | tr "[:upper:]" "[:lower:]"` + cd ${S} + + # fix for 2.6 headers + find . -name \*.c | xargs sed -i -e 's:linux/capi.h>$:linux/compiler.h>\n#include <linux/capi.h>:g' + + # Patch .config file to suit our needs + cat ${FILESDIR}/${PV}/config | { \ + if use X >/dev/null; then + cat + else + sed -e s/CONFIG_BUILDX11=y/#/ -e s/CONFIG_XISDNLOAD=y/#/ -e s/CONFIG_XMONISDN=y/#/; + fi; } | { \ + case "${I4L_CC}" in + DE|AT|CH|NL) + # These countries are specially supported in the isdnlog source. + sed -e s/CONFIG_ISDN_LOG_XX=y/CONFIG_ISDN_LOG_${I4L_CC}=y/ -e s/CONFIG_ISDN_LOG_CC=\'\'/#/ + ;; + *) + # Others get a generic isdnlog. + sed s/CONFIG_ISDN_LOG_CC=\'\'/CONFIG_ISDN_LOG_CC=\'${I4L_CC_LOW}\'/ + ;; + esac } \ + > .config || die + + # Patch in order to make generic config for countries which are not known to isdnlog source + epatch ${FILESDIR}/${PV}/gentoo.patch + + for x in capi20 capiinfo capiinit ../vbox3-${VBOX_V} + do + cd ${S}/${x} + [ -f ltmain.sh ] && libtoolize --force + rm -f missing + aclocal + automake --add-missing + autoconf + done + + cd ${WORKDIR}/vbox3-${VBOX_V} + epatch ${FILESDIR}/${PV}/vbox-makefile.am.patch || die "failed to patch vbox" +} + +src_compile() { + make subconfig || die + make || die + + cd ${S}/../vbox3-${VBOX_V} + econf || die "econf failed" + emake || die +} + +src_install() { + dodir /dev /sbin /usr/bin + make DESTDIR=${D} install || die + dodoc COPYING NEWS README Mini-FAQ/isdn-faq.txt + + cd ${FILESDIR}/${PV} + dodir /etc/init.d /etc/conf.d /etc/ppp /var/lib/isdn4linux + + exeinto /etc/init.d + doexe net.ippp0 + newexe isdn4linux.init isdn4linux + + insinto /etc/conf.d + newins isdn4linux.conf isdn4linux + + exeinto /etc/ppp + insinto /etc/ppp + doexe ip-up + dosym ip-up /etc/ppp/ip-down + doins ip-down.ippp0 + doins ioptions + doins options.ippp0 + + cd ${S}/../vbox3-${VBOX_V} + einstall || die "cannot install vbox3" + + cd ${D}/etc/isdn + epatch ${FILESDIR}/${PV}/pathfix.patch || die +} + +pkg_postinst() { + einfo + einfo "Please edit:" + einfo + einfo "- /etc/modules.autoload to contain your ISDN kernel modules" + einfo "- /etc/isdn/* (critical)" + einfo "- /etc/ppp/* (critical)" + einfo + einfo "/etc/init.d/isdn4linux will save and restore your isdnctrl config." + einfo "/etc/init.d/net.ippp0 will start synchronous PPP connections which" + einfo "you need to set up using isdnctrl first!" + einfo + +} |