-AUX 20041006/README.gentoo 1492 RMD160 4d20f69323c1a23d8611bc73733b24d290b4aad4 SHA1 4db880d17b2300233a3e6a3cc3a202ecda6071c6 SHA256 cb1731784b0a693580ca65538fc06f608056380a34e55658f73900cc78030be9
-MD5 e74f9b822b6f485ca6ff834c2699151a files/20041006/README.gentoo 1492
-RMD160 4d20f69323c1a23d8611bc73733b24d290b4aad4 files/20041006/README.gentoo 1492
-SHA256 cb1731784b0a693580ca65538fc06f608056380a34e55658f73900cc78030be9 files/20041006/README.gentoo 1492
-AUX 20041006/capi.blacklist 455 RMD160 d72b4f1c480bcb82ec21aa972490539ceeb70929 SHA1 b73f8e12864884528f11e0ec23214bd08438ae90 SHA256 885482f1558618d382fdedaa23e004c2029294c4a243ed8c634919ee640458df
-MD5 650c413593fe44524150e1365965cdb3 files/20041006/capi.blacklist 455
-RMD160 d72b4f1c480bcb82ec21aa972490539ceeb70929 files/20041006/capi.blacklist 455
-SHA256 885482f1558618d382fdedaa23e004c2029294c4a243ed8c634919ee640458df files/20041006/capi.blacklist 455
-AUX 20041006/capi.confd 424 RMD160 6b527c36e35372750b29eae4f3f82591d5133515 SHA1 c04bb751af733d0cb59468bd52c2dad2f95bc950 SHA256 5e18ee17f6b2cdd2d685ff9926b9a3bde9f3f1e01469033d38c2003b23fe7c82
-MD5 fb9f9b4003d8d1647e23cf7b329386f6 files/20041006/capi.confd 424
-RMD160 6b527c36e35372750b29eae4f3f82591d5133515 files/20041006/capi.confd 424
-SHA256 5e18ee17f6b2cdd2d685ff9926b9a3bde9f3f1e01469033d38c2003b23fe7c82 files/20041006/capi.confd 424
-AUX 20041006/capi.hotplug 2435 RMD160 c70e758239a1962f499cb9d44035cce74c8b74f8 SHA1 7ad29dfb3f0eb5067cf16e0013a6bef38c04ce4d SHA256 4f511afcc34792bcd947a80bddf00c1c18a45f0e682d642176015819970cdacb
-MD5 2ddf9c04a03949cb2301888586096bfe files/20041006/capi.hotplug 2435
-RMD160 c70e758239a1962f499cb9d44035cce74c8b74f8 files/20041006/capi.hotplug 2435
-SHA256 4f511afcc34792bcd947a80bddf00c1c18a45f0e682d642176015819970cdacb files/20041006/capi.hotplug 2435
-AUX 20041006/capi.initd 1297 RMD160 e880c79650490bde705ced5cee02f159905035e7 SHA1 2f2fd3eba5a7f6afbc4910390d32c7ede1320366 SHA256 d305d3fe3838151f632a733b787456259f51fe7add54f4e54150536a39a6bbef
-MD5 1954a92bd07c3e2dfcfe1d68d8a290d8 files/20041006/capi.initd 1297
-RMD160 e880c79650490bde705ced5cee02f159905035e7 files/20041006/capi.initd 1297
-SHA256 d305d3fe3838151f632a733b787456259f51fe7add54f4e54150536a39a6bbef files/20041006/capi.initd 1297
-AUX 20041006/capi.usermap 1504 RMD160 235f25fb3725882b38534e093e014a499cbd5e05 SHA1 8b926dd6ac71cb6737e1f8cd66c3fc54d58f41f4 SHA256 98595fc1e0d6ee3d715a6e032214bb6f243c88d55bf2e627b5181f0d434ae626
-MD5 fa4cf0be46c4a16a2ef6fd178ed54c01 files/20041006/capi.usermap 1504
-RMD160 235f25fb3725882b38534e093e014a499cbd5e05 files/20041006/capi.usermap 1504
-SHA256 98595fc1e0d6ee3d715a6e032214bb6f243c88d55bf2e627b5181f0d434ae626 files/20041006/capi.usermap 1504
-AUX 20041006/config 195 RMD160 73c580942621e1e4fcbe75c7953c5122206be67f SHA1 6eb4ac945b8a4811f74a407b3fe92aa0e352e970 SHA256 961697c42ebbf04ba5f0e9b7aa84129580445e80ebc4ab3d8fafa6dae0987717
-MD5 edc50538053b658093927f9fb28c3aff files/20041006/config 195
-RMD160 73c580942621e1e4fcbe75c7953c5122206be67f files/20041006/config 195
-SHA256 961697c42ebbf04ba5f0e9b7aa84129580445e80ebc4ab3d8fafa6dae0987717 files/20041006/config 195
-AUX 20041006/rcapid.xinetd 236 RMD160 070f398e02331f62849d0ff9469beae6d14076ef SHA1 ba58782573aa19545c97b8b28552d67a96197608 SHA256 c0bed83e2e4b7eb08ef7be5f2d3ee0de97cbbb45f5043a9d037c0daca4ebf595
-MD5 2fe94d2623c5b129780b72bacaf4a7bc files/20041006/rcapid.xinetd 236
-RMD160 070f398e02331f62849d0ff9469beae6d14076ef files/20041006/rcapid.xinetd 236
-SHA256 c0bed83e2e4b7eb08ef7be5f2d3ee0de97cbbb45f5043a9d037c0daca4ebf595 files/20041006/rcapid.xinetd 236
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
AUX README.gentoo 2800 RMD160 20def6cfff0f413e67f017179ae00fdb17ad6ed7 SHA1 6f7a68e7efa87d6d9e181a37085f7336f9f36a0a SHA256 809a82b753b12ad0bd75092ec249fe9044090eeb2c2f32b9f04cb3f46815c6fd
MD5 c1f67e98c19fe5ece86b9242a00e6a38 files/README.gentoo 2800
RMD160 20def6cfff0f413e67f017179ae00fdb17ad6ed7 files/README.gentoo 2800
MD5 2fe94d2623c5b129780b72bacaf4a7bc files/rcapid.xinetd 236
RMD160 070f398e02331f62849d0ff9469beae6d14076ef files/rcapid.xinetd 236
SHA256 c0bed83e2e4b7eb08ef7be5f2d3ee0de97cbbb45f5043a9d037c0daca4ebf595 files/rcapid.xinetd 236
-DIST capi4k-utils-2004-10-06.tar.gz 743667
-DIST capi4k-utils-20041006-patches.tar.bz2 11674
-DIST capi4k-utils-2005-05-09.tar.gz 679827
DIST capi4k-utils-2005-07-18.tar.gz 862826 RMD160 cadd13328aeef50ab26218614176b4f368b0b19d SHA1 df8590d2b933d8230838667666790ca0ba708b5c SHA256 b162d726a31310fc29e7c0a25a4f82a590457f6a95c1b1168bcd72b6497b5746
-EBUILD capi4k-utils-20041006-r5.ebuild 3736 RMD160 0ee728c3bb0a6bb1e93929198f3a5dcffc5e03bc SHA1 7b27954aa4ea70814aeebff154ad05d555726cbb SHA256 0b3466c68152e111e24721fe609208009db42f596737b13810783d577586dec2
-MD5 5dc6f506ad44aae8328d0690e94eb688 capi4k-utils-20041006-r5.ebuild 3736
-RMD160 0ee728c3bb0a6bb1e93929198f3a5dcffc5e03bc capi4k-utils-20041006-r5.ebuild 3736
-SHA256 0b3466c68152e111e24721fe609208009db42f596737b13810783d577586dec2 capi4k-utils-20041006-r5.ebuild 3736
-EBUILD capi4k-utils-20050509.ebuild 3972 RMD160 d9b7bc8a14cf37e0577f98f99b5ed58284a08d99 SHA1 cbe7752b138c4f8d83fc9d3741183201eed4c630 SHA256 95e06eb7bf29ddcf0d7609bba0c57f8114d7b9e4669c1aa456b4f97bcfdef766
-MD5 c5a706bb72295f4e108225e00c37f3ba capi4k-utils-20050509.ebuild 3972
-RMD160 d9b7bc8a14cf37e0577f98f99b5ed58284a08d99 capi4k-utils-20050509.ebuild 3972
-SHA256 95e06eb7bf29ddcf0d7609bba0c57f8114d7b9e4669c1aa456b4f97bcfdef766 capi4k-utils-20050509.ebuild 3972
EBUILD capi4k-utils-20050718-r1.ebuild 5162 RMD160 e80262b7c9c40a4048023a8cc6f3b3a9a454f3da SHA1 7670e374be8852ca9a1aebd987327012403c5f98 SHA256 4d3c17ae9b2c0258cdfbeaeea8a97c6efaa389c2f2c6cf55712bc014c215eba0
MD5 b2649900dfdcf522086f129fe3dbf660 capi4k-utils-20050718-r1.ebuild 5162
RMD160 e80262b7c9c40a4048023a8cc6f3b3a9a454f3da capi4k-utils-20050718-r1.ebuild 5162
MD5 656e728081ebe4ba3c6d54cae1646c7c capi4k-utils-20050718-r2.ebuild 5237
RMD160 d0e58606865daab1d1c9706a7b764c5e5f4c936f capi4k-utils-20050718-r2.ebuild 5237
SHA256 160bc9c313e2bbc2d46b3dc35c8decc6f1128855ea18d359f8e2af213711a62b capi4k-utils-20050718-r2.ebuild 5237
-EBUILD capi4k-utils-20050718.ebuild 3978 RMD160 ca4b6a9d5ea5e41ab36278d249a4a95550b900f8 SHA1 c5ae2aa7ef187a0138fd595bdc0dec3b7017a8ec SHA256 e7c505a0c5dce3277d642e9840229c27dba5fd125b2c52bf8ae464f4ab8a352f
-MD5 2c1a45b850f5072a7e30fb95cada2fa0 capi4k-utils-20050718.ebuild 3978
-RMD160 ca4b6a9d5ea5e41ab36278d249a4a95550b900f8 capi4k-utils-20050718.ebuild 3978
-SHA256 e7c505a0c5dce3277d642e9840229c27dba5fd125b2c52bf8ae464f4ab8a352f capi4k-utils-20050718.ebuild 3978
-MISC ChangeLog 8879 RMD160 a4b0749093639b17c7619e13b9e42d719d36e22a SHA1 45b9837aeb831e230bcec18437278ddef80e9fe0 SHA256 c7803c6ad623f104bec02dcac5ea84f50609302afd0825530797d54c681426a2
-MD5 2471d175f1a8e3daaa74b2aeeb8a52f4 ChangeLog 8879
-RMD160 a4b0749093639b17c7619e13b9e42d719d36e22a ChangeLog 8879
-SHA256 c7803c6ad623f104bec02dcac5ea84f50609302afd0825530797d54c681426a2 ChangeLog 8879
+MISC ChangeLog 9295 RMD160 79e2f4e0a50b8259c9e754d749f91b3ab27e6e1a SHA1 f66c6c83050800307263288eb3de9401407a74d4 SHA256 1fe594383ba66600d3e9e9b108a9155047071db85cca16661c18e1163fba7280
+MD5 bf420ac5538a8778c2aa356d003ee2c4 ChangeLog 9295
+RMD160 79e2f4e0a50b8259c9e754d749f91b3ab27e6e1a ChangeLog 9295
+SHA256 1fe594383ba66600d3e9e9b108a9155047071db85cca16661c18e1163fba7280 ChangeLog 9295
MISC metadata.xml 618 RMD160 7dc735e007ea83f896fae31e70ce14b5410035fa SHA1 89000a29d9233eb928388c169cb0993c0f187370 SHA256 b99ca46c9cdbd485f0fc6c1cfe135d9e999b515da81632fb5330ebae8a3d025c
MD5 57ebf0922074a9d61182c51349de5d53 metadata.xml 618
RMD160 7dc735e007ea83f896fae31e70ce14b5410035fa metadata.xml 618
SHA256 b99ca46c9cdbd485f0fc6c1cfe135d9e999b515da81632fb5330ebae8a3d025c metadata.xml 618
-MD5 5567e0f076f3d1faafcd0d4fa39a1c4e files/digest-capi4k-utils-20041006-r5 156
-RMD160 aa41c45aa5020583d72c3fb6dfc0116f05d85df5 files/digest-capi4k-utils-20041006-r5 156
-SHA256 4308b3fd8a4bd92517c8158eec40e417499299128ce4dceb64d4eb90fc1a5dbe files/digest-capi4k-utils-20041006-r5 156
-MD5 239b613eb69255eead19892de760db8d files/digest-capi4k-utils-20050509 75
-RMD160 e4fa61389ca06baab70f49668d2d7f3290bee4da files/digest-capi4k-utils-20050509 75
-SHA256 51898b8819149ff0a083d27ba95e0b6ef03cc6e5c705d4106610378540bd65dd files/digest-capi4k-utils-20050509 75
-MD5 b4861d0c45b8a00cec2a5b865193129b files/digest-capi4k-utils-20050718 271
-RMD160 a4a39ae3b1cc0cbd42ff915bc8293d1d046f4422 files/digest-capi4k-utils-20050718 271
-SHA256 1ec64e092e9d52395cf5d2eeb946130f512e430f54bab63ee7a5f2363e1fc4d1 files/digest-capi4k-utils-20050718 271
MD5 b4861d0c45b8a00cec2a5b865193129b files/digest-capi4k-utils-20050718-r1 271
RMD160 a4a39ae3b1cc0cbd42ff915bc8293d1d046f4422 files/digest-capi4k-utils-20050718-r1 271
SHA256 1ec64e092e9d52395cf5d2eeb946130f512e430f54bab63ee7a5f2363e1fc4d1 files/digest-capi4k-utils-20050718-r1 271
MD5 b4861d0c45b8a00cec2a5b865193129b files/digest-capi4k-utils-20050718-r2 271
RMD160 a4a39ae3b1cc0cbd42ff915bc8293d1d046f4422 files/digest-capi4k-utils-20050718-r2 271
SHA256 1ec64e092e9d52395cf5d2eeb946130f512e430f54bab63ee7a5f2363e1fc4d1 files/digest-capi4k-utils-20050718-r2 271
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.5 (GNU/Linux)
+
+iD8DBQFFXrwi3sf9c6kjmR8RAomAAJ46B/CGZrNYP0TTEisn1Xi9OobZWQCfVwje
+LzLoP1rDUjjmv4h6BOknvP4=
+=Nv0f
+-----END PGP SIGNATURE-----
+++ /dev/null
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/capi4k-utils/capi4k-utils-20041006-r5.ebuild,v 1.4 2005/07/09 18:47:20 swegener Exp $
-
-inherit eutils
-
-YEAR_PV=${PV:0:4}
-MON_PV=${PV:4:2}
-DAY_PV=${PV:6:2}
-MY_P=${PN}-${YEAR_PV}-${MON_PV}-${DAY_PV}
-PPPVERSIONS="2.4.2 2.4.3" # versions in portage
-
-DESCRIPTION="CAPI4Linux Utils"
-HOMEPAGE="ftp://ftp.in-berlin.de/pub/capi4linux/"
-SRC_URI="ftp://ftp.in-berlin.de/pub/capi4linux/${MY_P}.tar.gz
- ftp://ftp.in-berlin.de/pub/capi4linux/OLD/${MY_P}.tar.gz
- mirror://gentoo/${P}-patches.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="x86 ~amd64 ~ppc"
-IUSE=""
-
-DEPEND="virtual/linux-sources
- dev-lang/perl
- >=sys-apps/sed-4
- virtual/os-headers
- sys-devel/automake
- sys-devel/autoconf
- sys-devel/libtool"
-RDEPEND=""
-
-S=${WORKDIR}/${PN}
-
-src_unpack() {
- unpack ${A} || die "failed to unpack sources"
- cd ${S}
- # set our config
- cp -f ${FILESDIR}/${PV}/config .config
- # fix the little odd bugs
- EPATCH_OPTS="-p1"
- epatch ${WORKDIR}/${PN}.diff ${WORKDIR}/ppp-2.4.3.diff || die "${PN} patch failed"
- # patch includes of all *.c files
- sed -i -e "s:linux/capi.h>$:linux/compiler.h>\n#include <linux/capi.h>:g" */*.c || die "sed failed"
- # patch all Makefile.am and Rules.make to use our CFLAGS
- sed -i -e "s:^CFLAGS\(.*\)-O2:CFLAGS\1${CFLAGS}:g" */Makefile.am */Rules.make || die "sed failed"
- # patch capi20/Makefile.am to use -fPIC for shared library
- sed -i -e "s:^\(libcapi20_la_CFLAGS = \):\1-fPIC :g" capi20/Makefile.am || die "sed failed"
- # patch pppdcapiplugin/Makefile to use only the ppp versions we want
- sed -i -e "s:^\(PPPVERSIONS = \).*$:\1${PPPVERSIONS}:g" pppdcapiplugin/Makefile || die "sed failed"
- # patch capiinit/capiinit.c to look also in /lib/firmware
- sed -i -e "/\"\/usr\/share\/isdn\"/i\"/lib/firmware\"," capiinit/capiinit.c || die "sed failed"
-}
-
-src_compile() {
- # required by fPIC patch
- cd ${S}/capi20 || die "capi20 directory not found"
- ebegin "Updating autotools-generated files"
- aclocal -I . || die "aclocal failed"
- automake -a || die "automake failed"
- autoconf || die "autoconf failed"
- libtoolize -f -c || die "libtoolize failed"
- eend $?
- cd ${S}
-
- emake subconfig || die "make subconfig failed"
- emake || die "make failed"
-}
-
-src_install() {
- dodir /dev
- make DESTDIR=${D} install || die "make install failed"
-
- # install docs
- newdoc rcapid/README README.rcapid
- newdoc pppdcapiplugin/README README.pppdcapiplugin
- dodoc scripts/makedev.sh ${FILESDIR}/${PV}/README.gentoo
- docinto pppdcapiplugin.examples; dodoc pppdcapiplugin/examples/*
-
- # install init-script + init-config
- dodir /etc/conf.d # BUG: w/o newconfd failes
- newinitd ${FILESDIR}/${PV}/capi.initd capi
- newconfd ${FILESDIR}/${PV}/capi.confd capi
-
- # install USB hotplug stuff
- insinto /etc/hotplug/blacklist.d
- newins ${FILESDIR}/${PV}/capi.blacklist capi
- insinto /etc/hotplug/usb
- newins ${FILESDIR}/${PV}/capi.usermap capi.usermap
- exeinto /etc/hotplug/usb
- newexe ${FILESDIR}/${PV}/capi.hotplug capi
-
- # example config
- insinto /etc
- insopts -m 0600
- doins ${FILESDIR}/capi.conf
-
- # rcapid config for xinetd
- insinto /etc/xinetd.d
- insopts -m 0644
- newins ${FILESDIR}/${PV}/rcapid.xinetd rcapid
-
- # very useful tool ;-)
- dobin scripts/isdncause
-}
-
-pkg_postinst() {
- einfo "Please read the instructions in:"
- einfo "/usr/share/doc/${PF}/README.gentoo.gz"
- einfo
- einfo "Annotation for active AVM ISDN boards (B1 ISA/PCI, ...):"
- einfo "If you run"
- einfo " emerge isdn-firmware"
- einfo "you will probably find your board's firmware in /lib/firmware."
- einfo
- einfo "If you have another active ISDN board, you should create"
- einfo "/lib/firmware and copy there your board's firmware."
-}
+++ /dev/null
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/capi4k-utils/capi4k-utils-20050509.ebuild,v 1.5 2006/01/21 20:35:19 pylon Exp $
-
-inherit multilib gnuconfig
-
-YEAR_PV=${PV:0:4}
-MON_PV=${PV:4:2}
-DAY_PV=${PV:6:2}
-MY_P=${PN}-${YEAR_PV}-${MON_PV}-${DAY_PV}
-PPPVERSIONS="2.4.2 2.4.3" # versions in portage
-
-DESCRIPTION="CAPI4Linux Utils"
-HOMEPAGE="ftp://ftp.in-berlin.de/pub/capi4linux/"
-SRC_URI="ftp://ftp.in-berlin.de/pub/capi4linux/${MY_P}.tar.gz
- ftp://ftp.in-berlin.de/pub/capi4linux/OLD/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ppc x86"
-IUSE=""
-
-DEPEND="virtual/linux-sources
- dev-lang/perl
- >=sys-apps/sed-4
- virtual/os-headers"
-RDEPEND=""
-
-S=${WORKDIR}/${PN}
-
-src_unpack() {
- unpack ${A} || die "failed to unpack sources"
- cd ${S}
- # set our config
- cp -f ${FILESDIR}/config .config
- # patch includes of all *.c files
- sed -i -e "s:linux/capi.h>$:linux/compiler.h>\n#include <linux/capi.h>:g" */*.c || die "sed failed"
- # patch all Makefile.* and Rules.make to use our CFLAGS
- sed -i -e "s:^\(CFLAGS.*\)-O2:\1${CFLAGS}:g" */Makefile.* */Rules.make || die "sed failed"
- # patch capi20/Makefile.* to use -fPIC for shared library
- sed -i -e "s:^\(CFLAGS.*\):\1 -fPIC:g" capi20/Makefile.* || die "sed failed"
- # patch pppdcapiplugin/Makefile to use only the ppp versions we want
- sed -i -e "s:^\(PPPVERSIONS = \).*$:\1${PPPVERSIONS}:g" pppdcapiplugin/Makefile || die "sed failed"
- # patch capiinit/capiinit.c to look also in /lib/firmware
- sed -i -e "s:\(\"/lib/firmware/isdn\",\):\1 \"/lib/firmware\",:g" capiinit/capiinit.c || die "sed failed"
- # no, we don't need any devices nodes
- sed -i -e "s:\(sh scripts/makedev.sh\):echo \1:g" Makefile || die "sed failed"
- # add --libdir to configure call in Makefile
- sed -i -e "s:\(\./configure \):\1--libdir=/usr/$(get_libdir) :g" Makefile || die "sed failed"
- # patch /usr/lib/pppd in pppdcapiplugin tree
- sed -i -e "s:/usr/lib/pppd:/usr/$(get_libdir)/pppd:g" \
- pppdcapiplugin/ppp-*/Makefile pppdcapiplugin/{README,*.8} || die "sed failed"
-}
-
-src_compile() {
- gnuconfig_update
- emake subconfig || die "make subconfig failed"
- emake || die "make failed"
-}
-
-src_install() {
- make DESTDIR=${D} install || die "make install failed"
-
- # install docs
- newdoc rcapid/README README.rcapid
- dodoc scripts/makedev.sh ${FILESDIR}/README.gentoo
- docinto pppdcapiplugin; dodoc pppdcapiplugin/README pppdcapiplugin/examples/*
-
- # install init-script + init-config
- dodir /etc/conf.d # BUG: w/o newconfd fails
- newinitd ${FILESDIR}/capi.initd capi
- newconfd ${FILESDIR}/capi.confd capi
-
- # install USB hotplug stuff
- insinto /etc/hotplug/blacklist.d
- newins ${FILESDIR}/capi.blacklist capi
- insinto /etc/hotplug/usb
- newins ${FILESDIR}/capi.usermap capi.usermap
- exeinto /etc/hotplug/usb
- newexe ${FILESDIR}/capi.hotplug capi
-
- # example config
- insinto /etc
- insopts -m 0600
- doins ${FILESDIR}/capi.conf
-
- # rcapid config for xinetd
- insinto /etc/xinetd.d
- insopts -m 0644
- newins ${FILESDIR}/rcapid.xinetd rcapid
-
- # install DSL/ISDN sample config
- insinto /etc/ppp/peers
- doins pppdcapiplugin/peers/t-dsl ${FILESDIR}/capi-isdn
-
- # very useful tool ;-)
- dobin scripts/isdncause
-}
-
-pkg_postinst() {
- einfo
- einfo "Please read the instructions in:"
- einfo "/usr/share/doc/${PF}/README.gentoo.gz"
- einfo
- einfo "Annotation for active AVM ISDN boards (B1 ISA/PCI, ...):"
- einfo "If you run"
- einfo " emerge isdn-firmware"
- einfo "you will probably find your board's firmware in /lib/firmware."
- einfo
- einfo "If you have another active ISDN board, you should create"
- einfo "/lib/firmware and copy there your board's firmware."
- einfo
- ewarn "If you're upgrading from an older capi4k-utils, you must recompile"
- ewarn "the other packages on your system that link with libcapi after the"
- ewarn "upgrade completes. To perform this action, please run revdep-rebuild"
- ewarn "in package app-portage/gentoolkit."
- ewarn
-}
+++ /dev/null
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/capi4k-utils/capi4k-utils-20050718.ebuild,v 1.1 2005/07/18 21:05:33 sbriesen Exp $
-
-inherit multilib gnuconfig
-
-YEAR_PV=${PV:0:4}
-MON_PV=${PV:4:2}
-DAY_PV=${PV:6:2}
-MY_P=${PN}-${YEAR_PV}-${MON_PV}-${DAY_PV}
-PPPVERSIONS="2.4.2 2.4.3" # versions in portage
-
-DESCRIPTION="CAPI4Linux Utils"
-HOMEPAGE="ftp://ftp.in-berlin.de/pub/capi4linux/"
-SRC_URI="ftp://ftp.in-berlin.de/pub/capi4linux/${MY_P}.tar.gz
- ftp://ftp.in-berlin.de/pub/capi4linux/OLD/${MY_P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~x86 ~amd64 ~ppc"
-IUSE=""
-
-DEPEND="virtual/linux-sources
- dev-lang/perl
- >=sys-apps/sed-4
- virtual/os-headers"
-RDEPEND=""
-
-S=${WORKDIR}/${PN}
-
-src_unpack() {
- unpack ${A} || die "failed to unpack sources"
- cd ${S}
- # set our config
- cp -f ${FILESDIR}/config .config
- # patch includes of all *.c files
- sed -i -e "s:linux/capi.h>$:linux/compiler.h>\n#include <linux/capi.h>:g" */*.c || die "sed failed"
- # patch all Makefile.* and Rules.make to use our CFLAGS
- sed -i -e "s:^\(CFLAGS.*\)-O2:\1${CFLAGS}:g" */Makefile.* */Rules.make || die "sed failed"
- # patch capi20/Makefile.* to use -fPIC for shared library
- sed -i -e "s:^\(CFLAGS.*\):\1 -fPIC:g" capi20/Makefile.* || die "sed failed"
- # patch pppdcapiplugin/Makefile to use only the ppp versions we want
- sed -i -e "s:^\(PPPVERSIONS = \).*$:\1${PPPVERSIONS}:g" pppdcapiplugin/Makefile || die "sed failed"
- # patch capiinit/capiinit.c to look also in /lib/firmware
- sed -i -e "s:\(\"/lib/firmware/isdn\",\):\1 \"/lib/firmware\",:g" capiinit/capiinit.c || die "sed failed"
- # no, we don't need any devices nodes
- sed -i -e "s:\(sh scripts/makedev.sh\):echo \1:g" Makefile || die "sed failed"
- # add --libdir to configure call in Makefile
- sed -i -e "s:\(\./configure \):\1--libdir=/usr/$(get_libdir) :g" Makefile || die "sed failed"
- # patch /usr/lib/pppd in pppdcapiplugin tree
- sed -i -e "s:/usr/lib/pppd:/usr/$(get_libdir)/pppd:g" \
- pppdcapiplugin/ppp-*/Makefile pppdcapiplugin/{README,*.8} || die "sed failed"
-}
-
-src_compile() {
- gnuconfig_update
- emake subconfig || die "make subconfig failed"
- emake || die "make failed"
-}
-
-src_install() {
- make DESTDIR=${D} install || die "make install failed"
-
- # install docs
- newdoc rcapid/README README.rcapid
- dodoc scripts/makedev.sh ${FILESDIR}/README.gentoo
- docinto pppdcapiplugin; dodoc pppdcapiplugin/README pppdcapiplugin/examples/*
-
- # install init-script + init-config
- dodir /etc/conf.d # BUG: w/o newconfd fails
- newinitd ${FILESDIR}/capi.initd capi
- newconfd ${FILESDIR}/capi.confd capi
-
- # install USB hotplug stuff
- insinto /etc/hotplug/blacklist.d
- newins ${FILESDIR}/capi.blacklist capi
- insinto /etc/hotplug/usb
- newins ${FILESDIR}/capi.usermap capi.usermap
- exeinto /etc/hotplug/usb
- newexe ${FILESDIR}/capi.hotplug capi
-
- # example config
- insinto /etc
- insopts -m 0600
- doins ${FILESDIR}/capi.conf
-
- # rcapid config for xinetd
- insinto /etc/xinetd.d
- insopts -m 0644
- newins ${FILESDIR}/rcapid.xinetd rcapid
-
- # install DSL/ISDN sample config
- insinto /etc/ppp/peers
- doins pppdcapiplugin/peers/t-dsl ${FILESDIR}/capi-isdn
-
- # very useful tool ;-)
- dobin scripts/isdncause
-}
-
-pkg_postinst() {
- einfo
- einfo "Please read the instructions in:"
- einfo "/usr/share/doc/${PF}/README.gentoo.gz"
- einfo
- einfo "Annotation for active AVM ISDN boards (B1 ISA/PCI, ...):"
- einfo "If you run"
- einfo " emerge isdn-firmware"
- einfo "you will probably find your board's firmware in /lib/firmware."
- einfo
- einfo "If you have another active ISDN board, you should create"
- einfo "/lib/firmware and copy there your board's firmware."
- einfo
- ewarn "If you're upgrading from an older capi4k-utils, you must recompile"
- ewarn "the other packages on your system that link with libcapi after the"
- ewarn "upgrade completes. To perform this action, please run revdep-rebuild"
- ewarn "in package app-portage/gentoolkit."
- ewarn
-}
+++ /dev/null
-####################################################################
-# CAPI4Linux / Gentoo usage instructions #
-####################################################################
-
-First edit /etc/capi.conf to match your configuration.
-
-here an example for the AVM B1 PCI card:
-
- # card file proto io irq mem cardnr options
- b1pci b1.t4 DSS1 - - - -
-
-First option is the name of the kernel driver, second is the firmware
-file which will be uploaded to the card. All firmware files for the
-active AVM controllers can be found in /lib/firmware which is the
-location where all firmware files have to be placed.
-
-The 'cardnr' option can be left '-' if you only have one card.
-Otherwise fill in the card number you want to assign to this card.
-
-Now you can start the CAPI with
-
- /etc/init.d/capi start
-
-It should show the loaded drivers/cards after the initialization.
-You can check the CAPI with the 'capiinfo' command.
-
-So, if all runs smoothly, then fixate it
-
- rc-update add capi boot
-
-You can now install the package net-dialup/isdn4k-utils if you
-want to use all the legacy ISDN apps, such as 'isdnlog'.
-
-
-pppdcapiplugin
-~~~~~~~~~~~~~~
-please read the README and have a look at the examples.
-
-
-rcapid
-~~~~~~
-if you want to use 'rcapid' (remote capi daemon), then install
-sys-apps/xinetd and configure it in /etc/xinetd.d/rcapid
-and read the rcapid documentation.
-
-
---
-Stefan Briesenick <sbriesen@gmx.de> 2004-12-20
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/capi4k-utils/files/20041006/capi.blacklist,v 1.1 2004/12/23 20:57:46 mrness Exp $
-
-# CAPI USB is handled via /etc/hotplug/usb/capi.usermap
-fcusb
-fcusb2
-fxusb
-fxusb_CZ
-fcdslusb
-bfusb
-
-# CAPI modules are load from /etc/init.d/capi
-b1isa
-b1pci
-b1pcmcia
-c4
-t1isa
-t1pci
-fcpci
-fcclassic
-fcdsl
-fcdsl2
-fcdslsl
+++ /dev/null
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/capi4k-utils/files/20041006/capi.confd,v 1.1 2004/12/23 20:57:46 mrness Exp $
-
-# do you want to use USB hotplug?
-# if disabled, you have to configure your device in /etc/capi.conf
-CAPI_HOTPLUG_USB=1
-
-# should via hotplug added cards generate a beep?
-CAPI_HOTPLUG_BEEP=1
-
+++ /dev/null
-#!/bin/bash
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/capi4k-utils/files/20041006/capi.hotplug,v 1.1 2004/12/23 20:57:46 mrness Exp $
-
-. /etc/conf.d/capi
-
-[ "$CAPI_HOTPLUG_USB" = "0" ] && exit 0
-
-# driver lookup
-cardinfo() { # <driver>
- /bin/sed 2>/dev/null -n "s:^\([1-9][0-9]*\) \+${1} \+\([^ ]\+\) \+\([^ ]\+\).*:\1 \3 \2:p" /proc/capi/controller
-}
-
-# AVM firmware loader
-avmusb() { # <card> <firmware>
- /usr/sbin/avmcapictrl load "/lib/firmware/${2}" "${1}"
-}
-
-# normalize and split product code
-# only needed, because coldplug gives other results than hotplug :-/
-IFS="/" read _A _B _C < <(echo "${PRODUCT}")
-read VENDOR DEVID PCLASS < <(/usr/bin/printf "%04x %04x %04x" "0x${_A}" "0x${_B}" "0x${_C}")
-VENDID="${VENDOR}/${DEVID}"
-DEVTMP="${DEVICE##/proc/bus/usb/}"
-USBBUS="${DEVTMP%%/*}"
-USBDEV="${DEVTMP##*/}"
-
-LOCK="/tmp/.capi-usb-${USBBUS}-${USBDEV}"
-LOADER=""
-DRIVER=""
-FIRMWARE=""
-
-# select driver and firmware
-case "${VENDID}" in
- "057c/0c00") # FRITZCARD!USB
- DRIVER="fcusb"
- ;;
- "057c/1000") # FRITZCARD!USB v2.0
- LOADER="avmusb"
- DRIVER="fcusb2"
- FIRMWARE="fus2base.frm"
- ;;
- "057c/1900") # FRITZCARD!USB v2.1
- LOADER="avmusb"
- DRIVER="fcusb2"
- FIRMWARE="fus3base.frm"
- ;;
- "057c/2000") # FRITZX!USB
- DRIVER="fxusb"
- ;;
- "057c/2200") # BlueFRITZ!USB
- DRIVER="bfusb"
- ;;
- "057c/2300") # FRITZDSL!USB
- LOADER="avmusb"
- DRIVER="fcdslusb"
- FIRMWARE="fdsubase.frm"
- ;;
- "057c/2800") # FRITZX!USB OEM
- DRIVER="fxusb_CZ"
- ;;
- "057c/3500") # FRITZDSL!USB SL
- LOADER="avmusb"
- DRIVER="fcdslslusb"
- FIRMWARE="fdlubase.frm"
- ;;
- *) # unknown card
- echo "unknown USB product: $VENDID"
- exit 1
-esac
-
-case "$ACTION" in
- add)
- /bin/ln 2>/dev/null -s "$$" "$LOCK" || exit 0
- for MODULE in kernelcapi capi capidrv $DRIVER; do
- /sbin/modprobe -s $MODULE || exit 1
- done
- if [ -n "$LOADER" -a -n "$FIRMWARE" ]; then
- CNT=0 # wait for udev
- while [ ! -e /dev/capi20 -a $CNT -lt 10 ]; do
- sleep 1; : $((CNT++))
- done
- read CARD NAME STATUS < <(cardinfo $DRIVER)
- [ "$STATUS" = "detected" ] && $LOADER $CARD $FIRMWARE
- fi
- [ "$CAPI_HOTPLUG_BEEP" = "0" ] || echo -en "\033[10;1200]\a\033[10;262]" > /dev/console
- /bin/rm -f "$LOCK"
- ;;
- remove)
- /sbin/modprobe -sqr $DRIVER
- [ "$CAPI_HOTPLUG_BEEP" = "0" ] || echo -en "\033[10;300]\a\033[10;262]" > /dev/console
- ;;
-esac
-exit 0
+++ /dev/null
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/capi4k-utils/files/20041006/capi.initd,v 1.3 2005/01/06 18:17:57 mrness Exp $
-
-opts="start stop info"
-
-depend() {
- after coldplug isapnp
-}
-
-get_modules() {
- /usr/bin/cut 2>/dev/null -f2 -d' ' /proc/capi/controller
-}
-
-start() {
- if [ ! -e /etc/capi.conf ] ; then
- eerror "You're missing /etc/capi.conf (comes with a capi-driver)."
- eerror "Emerge net-dialup/fcpci if you are having an AVM Fritz!Card PCI"
- return 1
- fi
-
- ebegin "Loading CAPI"
-
- /sbin/modprobe -s kernelcapi
- /sbin/modprobe -s capi
- /sbin/modprobe -s capidrv
-
- CNT=0 # wait for udev
- while [ ! -e /dev/capi20 -a $CNT -lt 10 ]; do
- sleep 1; : $((CNT++))
- done
-
- if /usr/sbin/capiinit activate ; then
- while read INFO; do einfo " $INFO"; done < /proc/capi/controller
- fi
-
- eend $?
-}
-
-stop() {
- local DRIVERS=$(get_modules)
-
- ebegin "Unloading CAPI"
-
- /sbin/modprobe -sr capidrv
- /usr/sbin/capiinit 2>/dev/null stop
- for DRV in $DRIVERS; do /sbin/modprobe -sr $DRV; done
-
- eend $?
-}
-
-info() {
- if [ -e /proc/capi/controller ]; then
- while read INFO; do einfo "$INFO"; done < /proc/capi/controller
- else
- eerror "ERROR: CAPI not loaded"
- return 1
- fi
-}
+++ /dev/null
-capi 0x0003 0x057c 0x0c00 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
-capi 0x0003 0x057c 0x1000 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
-capi 0x0003 0x057c 0x1900 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
-capi 0x0003 0x057c 0x2000 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
-capi 0x0003 0x057c 0x2200 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
-capi 0x0003 0x057c 0x2300 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
-capi 0x0003 0x057c 0x2800 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
-capi 0x0003 0x057c 0x3500 0x0000 0x0000 0x00 0x00 0x00 0x00 0x00 0x00 0x00000000
+++ /dev/null
-CONFIG_KERNELDIR='/usr/src/linux'
-CONFIG_BINDIR='/usr/bin'
-CONFIG_SBINDIR='/usr/sbin'
-CONFIG_MANDIR='/usr/share/man'
-CONFIG_AVMCAPICTRL=y
-CONFIG_CAPIFAX=y
-CONFIG_RCAPID=y
-CONFIG_PPPDCAPIPLUGIN=y
+++ /dev/null
-service rcapid
-{
- port = 2662
- socket_type = stream
- wait = no
- user = root
- type = unlisted
- server = /usr/sbin/rcapid
- server_args = -l 5
- log_on_success += USERID
- log_on_failure += USERID
- disable = yes
-}
+++ /dev/null
-MD5 54992ff362ca44629fdf59773a6864cd capi4k-utils-2004-10-06.tar.gz 743667
-MD5 74951d290e717c8bc87887f55ad3e0dd capi4k-utils-20041006-patches.tar.bz2 11674
+++ /dev/null
-MD5 16fd3dd947812a110227a6e7aa0ab021 capi4k-utils-2005-05-09.tar.gz 679827
+++ /dev/null
-MD5 c745759b6b3d64e19763727176648cdf capi4k-utils-2005-07-18.tar.gz 862826
-RMD160 cadd13328aeef50ab26218614176b4f368b0b19d capi4k-utils-2005-07-18.tar.gz 862826
-SHA256 b162d726a31310fc29e7c0a25a4f82a590457f6a95c1b1168bcd72b6497b5746 capi4k-utils-2005-07-18.tar.gz 862826