diff options
author | Stefan Schweizer <genstef@gentoo.org> | 2006-10-03 01:46:45 +0000 |
---|---|---|
committer | Stefan Schweizer <genstef@gentoo.org> | 2006-10-03 01:46:45 +0000 |
commit | 4628f989f27f1baae47b4f7135fa9286fe98956b (patch) | |
tree | 980f28eb748c36a5e639f0d4305e5bf5320e98f8 | |
parent | net-misc/asterisk: PDEPEND="|| ( media-sound/mpg123 net-misc/asterisk-addons )" (diff) | |
download | voip-4628f989f27f1baae47b4f7135fa9286fe98956b.tar.gz voip-4628f989f27f1baae47b4f7135fa9286fe98956b.tar.bz2 voip-4628f989f27f1baae47b4f7135fa9286fe98956b.zip |
new sourceforge pwlib and opal, masked because it breaks ekiga, remove some old stuff
svn path=/trunk/; revision=376
112 files changed, 3076 insertions, 10366 deletions
diff --git a/dev-libs/pwlib-cvs/ChangeLog b/dev-libs/pwlib-cvs/ChangeLog deleted file mode 100644 index c906f7b..0000000 --- a/dev-libs/pwlib-cvs/ChangeLog +++ /dev/null @@ -1,13 +0,0 @@ -2005-11-26 21:00 stkn - - * [r49] Manifest, pwlib-cvs-20051125.ebuild: - Fix creation of /usr/lib/libpt.so symlink, PV can not be used in - a cvs snapshot ebuild - -2005-11-26 19:00 stkn - - * [r46] ., Manifest, files, files/digest-pwlib-cvs-20051125, - files/pwlib-1.6.3-dyn-esd.patch, - files/pwlib-1.8.7-instplugins.diff, pwlib-cvs-20051125.ebuild: - Add CVS snapshot ebuild for pwlib - diff --git a/dev-libs/pwlib-cvs/Manifest b/dev-libs/pwlib-cvs/Manifest deleted file mode 100644 index 2fad2d1..0000000 --- a/dev-libs/pwlib-cvs/Manifest +++ /dev/null @@ -1,20 +0,0 @@ -AUX pwlib-1.6.3-dyn-esd.patch 366 RMD160 1afe15d6578da7de00293edc4818b54fc1ca5540 SHA1 ba9177add96a9903646503bae739cf01cbc49d4f SHA256 1c84ea308fcaa1d38d348dd79ed936034a7528368285982e7101ba0b79ff94b9 -MD5 94fe183a68413eaeb8242cd30532d963 files/pwlib-1.6.3-dyn-esd.patch 366 -RMD160 1afe15d6578da7de00293edc4818b54fc1ca5540 files/pwlib-1.6.3-dyn-esd.patch 366 -SHA256 1c84ea308fcaa1d38d348dd79ed936034a7528368285982e7101ba0b79ff94b9 files/pwlib-1.6.3-dyn-esd.patch 366 -AUX pwlib-1.8.7-instplugins.diff 1044 RMD160 722bc5e665f787e14f9d0e54679c8ba3fcc5e7e6 SHA1 90ccb7e33024dbb36e635b5b47ee0f67a9af7c05 SHA256 39e0b892ae1aa82af87a92a71c8ba78a84ee18984732856ce2f228a6d4340552 -MD5 cd832010589d81cab25d2523d62a3401 files/pwlib-1.8.7-instplugins.diff 1044 -RMD160 722bc5e665f787e14f9d0e54679c8ba3fcc5e7e6 files/pwlib-1.8.7-instplugins.diff 1044 -SHA256 39e0b892ae1aa82af87a92a71c8ba78a84ee18984732856ce2f228a6d4340552 files/pwlib-1.8.7-instplugins.diff 1044 -DIST pwlib-cvs_20051125-01.tar.gz 2960821 -EBUILD pwlib-cvs-20051125.ebuild 4854 RMD160 663519aeb298e95cabda37b6424d906fee0403fe SHA1 2eaf7601b7fb849e90bd59fe1d57aed43a3f12fd SHA256 a8bb1d27b578be7baa5273d38183c680049d35b96b7f4335e566ad803ec6509d -MD5 f937c45662cf2a5b9176f860103fc6da pwlib-cvs-20051125.ebuild 4854 -RMD160 663519aeb298e95cabda37b6424d906fee0403fe pwlib-cvs-20051125.ebuild 4854 -SHA256 a8bb1d27b578be7baa5273d38183c680049d35b96b7f4335e566ad803ec6509d pwlib-cvs-20051125.ebuild 4854 -MISC ChangeLog 390 RMD160 09de19398bf15f05dfc52d257bbba90ed12565d8 SHA1 d33c0b19183dd5cd8436681bd040d76abb60970e SHA256 869908f99d5a2f08e0762f86315c048f01e0c92c44e26ef7d1ead363d6316915 -MD5 bf4858c31f96e6dda28d3f5ad053ca66 ChangeLog 390 -RMD160 09de19398bf15f05dfc52d257bbba90ed12565d8 ChangeLog 390 -SHA256 869908f99d5a2f08e0762f86315c048f01e0c92c44e26ef7d1ead363d6316915 ChangeLog 390 -MD5 d025ebbb9802e8d85edb4a88b1ca9d66 files/digest-pwlib-cvs-20051125 74 -RMD160 9e5734f2241a8b0ac7a9344063f7e23fb92fd8b8 files/digest-pwlib-cvs-20051125 74 -SHA256 33631419cc8747319bb481e2deccfc7105155c8e1817ece3cc0ed1e435b42eff files/digest-pwlib-cvs-20051125 74 diff --git a/dev-libs/pwlib-cvs/files/digest-pwlib-cvs-20051125 b/dev-libs/pwlib-cvs/files/digest-pwlib-cvs-20051125 deleted file mode 100644 index d271a2c..0000000 --- a/dev-libs/pwlib-cvs/files/digest-pwlib-cvs-20051125 +++ /dev/null @@ -1 +0,0 @@ -MD5 ccb3c58b5ac13140b857f059a011fda4 pwlib-cvs_20051125-01.tar.gz 2960821 diff --git a/dev-libs/pwlib/ChangeLog b/dev-libs/pwlib/ChangeLog new file mode 100644 index 0000000..04c3315 --- /dev/null +++ b/dev-libs/pwlib/ChangeLog @@ -0,0 +1,413 @@ +# ChangeLog for dev-libs/pwlib +# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/ChangeLog,v 1.98 2006/07/05 00:50:55 nerdboy Exp $ + + 05 Jul 2006; Steve Arnold <nerdboy@gentoo.org> + +files/pwlib-1.8.7-gcc-4.1-v4l2.patch, pwlib-1.8.7.ebuild: + Added the rest of the gcc4 support (see bug 135909) since it's broken + without it. Thanks to Zdenek Behan <behanz _at_ seznam.cz> for the patch. + + 06 Jun 2006; Stefan Schweizer <genstef@gentoo.org> pwlib-1.10.1.ebuild: + Make USE="-alsa oss" work, thanks to Christophe PEREZ <chris@novazur.fr> in + bug 127677 + +*pwlib-1.10.1 (06 Jun 2006) + + 06 Jun 2006; Stefan Schweizer <genstef@gentoo.org> +pwlib-1.10.1.ebuild: + version bump thanks to David PIRY <klessou@gmail.com> in bug 135785 + + 01 May 2006; Mark Loeser <halcy0n@gentoo.org> + +files/pwlib-1.8.7-gcc41.patch, pwlib-1.8.7.ebuild: + Add patch to fix compilation with gcc-4.1 + +*pwlib-1.10.0 (20 Mar 2006) + + 20 Mar 2006; Stefan Schweizer <genstef@gentoo.org> + +files/pwlib-1.9.3-sdl-configure.patch, +pwlib-1.10.0.ebuild: + version bump + +*pwlib-1.8.7 (12 Sep 2005) + + 12 Sep 2005; Stefan Knoblich <stkn@gentoo.org> + +files/pwlib-1.8.7-instplugins.diff, +pwlib-1.8.7.ebuild: + Version bump, finally removed /usr/share/pwlib/{lib,lib32,lib64,include} + symlinks and other little cleanups. + + 12 Sep 2005; Aron Griffis <agriffis@gentoo.org> pwlib-1.8.4.ebuild: + Mark 1.8.4 stable on alpha + + 09 Sep 2005; Stefan Knoblich <stkn@gentoo.org> pwlib-1.8.4.ebuild: + Changed ebuild to fix #105057, pwlib no longer builds plugins that have their + flags disabled. New libdc1394 API is currently unsupported, changed DEPENDS to + block >=libdc1394-2.0.0_pre0 (to avoid possible loops during updating) and + depend on <1.9.9. + + 07 Sep 2005; Stefan Knoblich <stkn@gentoo.org> +files/pwlib-1.8.4-gcc4.diff, + -files/pwlib-gcc4.gz, pwlib-1.8.4.ebuild: + Ungzipped and renamed gcc4 patch (origin unknown -> .diff). + + 06 Sep 2005; Hanno Boeck <hanno@gentoo.org> +files/pwlib-gcc4.gz, + pwlib-1.8.4.ebuild: + Fix for gcc4. + + 03 Sep 2005; Stefan Knoblich <stkn@gentoo.org> pwlib-1.6.3-r3.ebuild: + Added missing eutils eclass to inherit line. + + 26 Aug 2005; Seemant Kulleen <seemant@gentoo.org> pwlib-1.6.6-r2.ebuild, + pwlib-1.8.3-r1.ebuild, pwlib-1.8.4.ebuild: + moved libdc1394 from media-plugins to media-libs + + 15 Aug 2005; <stkn@gentoo.org> +files/pwlib-1.6.3-dyn-esd.patch, + pwlib-1.6.3-r3.ebuild, pwlib-1.6.6-r2.ebuild, pwlib-1.8.3-r1.ebuild, + pwlib-1.8.4.ebuild: + Newer version of esound doesn't install libesd.a anymore, + added patch (provided by Geoff Leach) to use the dynamic library + instead (fixes #100432). Basic compile testing done with latest + revisions of 1.6.3, 1.6.6, 1.8.3 and 1.8.4. Extended build testing + with pwlib-1.8.4 and openh323-1.15.3. + + 15 Aug 2005; <stkn@gentoo.org> -pwlib-1.5.2.ebuild, + -pwlib-1.5.2-r1.ebuild, -pwlib-1.5.2-r2.ebuild, -pwlib-1.6.3.ebuild, + -pwlib-1.6.3-r1.ebuild, -pwlib-1.6.3-r2.ebuild, -pwlib-1.6.6.ebuild, + -pwlib-1.6.6-r1.ebuild, -pwlib-1.8.3.ebuild: + Removing obsolete ebuilds. + + 27 Jul 2005; Pieter Van den Abeele <pvdabeel@gentoo.org> + pwlib-1.8.3.ebuild, pwlib-1.8.3-r1.ebuild, pwlib-1.8.4.ebuild: + Marked 1.8.3-5 stable. Used in the Freescale DES. Dependency for openh323. + +*pwlib-1.8.4 (11 Apr 2005) + + 11 Apr 2005; Stefan Knoblich <stkn@gentoo.org> +pwlib-1.8.4.ebuild: + Version bump. + + 11 Apr 2005; Stefan Knoblich <stkn@gentoo.org> -files/pwlib-1.3.11-r1.diff, + -pwlib-1.3.11-r1.ebuild, -pwlib-1.4.11.ebuild: + cleanup part #1 + + 27 Feb 2005; Simon Stelling <blubb@gentoo.org> pwlib-1.8.3-r1.ebuild: + stable on amd64; fixes bug #72706 + + 19 Feb 2005; David Holm <dholm@gentoo.org> pwlib-1.6.6-r2.ebuild: + Stable on ppc + + 18 Feb 2005; Stefan Knoblich <stkn@gentoo.org> pwlib-1.8.3-r1.ebuild: + Added support for v4l2 use-flag (bug #84239, thx to jcn@xtra.co.nz). + +*pwlib-1.8.3-r1 (03 Feb 2005) + + 03 Feb 2005; Stefan Knoblich <stkn@gentoo.org> +pwlib-1.6.3-r3.ebuild, + +pwlib-1.6.6-r2.ebuild, +pwlib-1.8.3-r1.ebuild: + Small cleanups and important fixes for amd64. + + 14 Jan 2005; <dholm@gentoo.org> pwlib-1.8.3.ebuild: + Added to ~ppc. + + 12 Jan 2005; Stefan Knoblich <stkn@gentoo.org> pwlib-1.8.3.ebuild: + Changed MAKEOPTS="..." to emake -j1, removed RESTRICT. + + 10 Jan 2005; Stefan Knoblich <stkn@gentoo.org> pwlib-1.6.6-r1.ebuild, + pwlib-1.8.3.ebuild: + Filter -fstack-protector, this may cause an ICE (bug #70638). + + 10 Jan 2005; Stefan Knoblich <stkn@gentoo.org> pwlib-1.8.3.ebuild: + Marked ~alpha. + + 09 Jan 2005; Jason Wever <weeve@gentoo.org> pwlib-1.8.3.ebuild: + Added ~sparc keyword as it went missing in the version bump. + + 08 Jan 2005; Stefan Knoblich <stkn@gentoo.org> pwlib-1.8.3.ebuild: + marked ~x86 + + 29 Dec 2004; Ciaran McCreesh <ciaranm@gentoo.org> : + Change encoding to UTF-8 for GLEP 31 compliance + + 29 Dec 2004; Stefan Knoblich <stkn@gentoo.org> pwlib-1.8.3.ebuild: + cleanup, SRC_URI changed, include order fix + +*pwlib-1.8.3 (28 Dec 2004) + + 28 Dec 2004; Stefan Knoblich <stkn@gentoo.org> +pwlib-1.8.3.ebuild: + new version, hard-masked for now (needs testing) + + 05 Dec 2004; Stefan Knoblich <stkn@gentoo.org> + +files/pwlib-1.6.6-alsa_dmix.diff: + cvs broke the patch, removed and re-added with -kb, closes #73008 + +*pwlib-1.6.6-r1 (30 Nov 2004) + + 30 Nov 2004; <stkn@gentoo.org> +files/pwlib-1.6.6-alsa_dmix.diff, + +pwlib-1.6.6-r1.ebuild: + backported patch makes it possible to use gnomemeeting (and other apps) + to use alsa+dmix for sound output, thx to Benoit Chesneau <bchesneau@gmail.com> + + 09 Nov 2004; Bryan Østergaard <kloeri@gentoo.org> pwlib-1.6.6.ebuild: + ~alpha keyword. + + 31 Oct 2004; Joseph Jezak <josejx@gentoo.org> pwlib-1.6.6.ebuild: + Marked ppc stable. + + 23 Oct 2004; Jason Wever <weeve@gentoo.org> pwlib-1.6.6.ebuild: + Added ~sparc keyword. + + 19 Oct 2004; Bryan Østergaard <kloeri@gentoo.org> pwlib-1.6.3-r2.ebuild: + Stable on alpha. + + 14 Oct 2004; Bryan Østergaard <kloeri@gentoo.org> pwlib-1.6.3-r2.ebuild: + Add ~alpha keyword. + + 18 Sep 2004; Jason Wever <weeve@gentoo.org> pwlib-1.6.3-r2.ebuild: + Stable on sparc. + + 01 Sep 2004; <stkn@gentoo.org> files/pwlib-1.6.6-ieee1394dc-fix.diff: + fix the patch one more time... + + 01 Sep 2004; Stefan Knoblich <stkn@gentoo.org> + files/pwlib-1.6.6-ieee1394dc-fix.diff: + fix the patch once again + + 31 Aug 2004; <stkn@gentoo.org> files/pwlib-1.6.6-ieee1394dc-fix.diff: + cvs killed the patch... (closing #62192) + + 30 Aug 2004; <stkn@gentoo.org> +files/pwlib-1.6.6-ieee1394dc-fix.diff, + pwlib-1.6.6.ebuild: + fixes libdc1394 related bug in vidinput_dc plugin (thx to Can Altineller + <caltineller@ttnet.net.tr> for reporting this), adds libdc1394 to DEPENDS and + enables dc plugin if ieee1394 use-flag is set + + 14 Aug 2004; <stkn@gentoo.org> pwlib-1.5.0-r1.ebuild: + fixed wrong patch suffix in ebuild (#60345) + + 14 Aug 2004; Danny van Dyk <kugelfang@gentoo.org> pwlib-1.6.6.ebuild: + Marked ~amd64. + + 07 Jun 2004; Bryan Østergaard <kloeri@gentoo.org> pwlib-1.5.2-r3.ebuild: + Stable on alpha. + + 03 Jun 2004; Aron Griffis <agriffis@gentoo.org> pwlib-1.4.11.ebuild, + pwlib-1.5.0.ebuild, pwlib-1.5.2-r1.ebuild, pwlib-1.5.2-r2.ebuild, + pwlib-1.5.2.ebuild, pwlib-1.6.3-r1.ebuild, pwlib-1.6.3-r2.ebuild, + pwlib-1.6.3.ebuild, pwlib-1.6.6.ebuild: + Fix use invocation + + 27 May 2004; Stefan Knoblich <stkn@gentoo.org> pwlib-1.6.3-r2.ebuild: + pwlib-1.6.3-r2 stable on x86 + + 09 May 2004; David Holm <dholm@gentoo.org> pwlib-1.6.6.ebuild: + Added to ~ppc. Some joker decided to remove the keyword. + +*pwlib-1.6.6 (11 Apr 2004) + + 11 Apr 2004; Stefan Knoblich <stkn@gentoo.org> pwlib-1.6.6.ebuild: + version bump + + 31 Mar 2004; Stefan Knoblich <stkn@gentoo.org> pwlib-1.5.2-r3.ebuild: + Marked stable on x86 + + 30 Mar 2004; Jon Portnoy <avenj@gentoo.org> pwlib-1.5.2-r3.ebuild : + Stable on AMD64. + + 30 Mar 2004; Lars Weiler <pylon@gentoo.org> pwlib-1.6.3-r2.ebuild: + Added ~ppc on request of cybersystem + + 30 Mar 2004; Lars Weiler <pylon@gentoo.org> pwlib-1.5.2-r3.ebuild: + stable on ppc + + 30 Mar 2004; Sven Blumenstein <bazik@gentoo.org> pwlib-1.5.2-r3.ebuild: + Stable on sparc, see #45846 + + 29 Mar 2004; Stefan Knoblich <stkn@gentoo.org> pwlib-1.6.3-r2.ebuild: + Fix #46017 and cleanup libpt.so symlink creation. Tested on sparc. + +*pwlib-1.5.2-r3 (29 Mar 2004) + + 29 Mar 2004; Stefan Knoblich <stkn@gentoo.org> pwlib-1.5.2-r3.ebuild, + files/pwlib-1.5.2-asnparser-secfix.diff: + Fix #45864 (possible buffer overflow in asn parser, + fixed by James Strandboge <jstrand1@rochester.rr.com>), #46017 and amd64. + Cleanup libpt.so symlink creation. Tested on ppc, alpha and sparc. + +*pwlib-1.6.3-r2 (25 Mar 2004) + + 25 Mar 2004; Jason Huebel,,, <jhuebel@gentoo.org> pwlib-1.6.3-r1.ebuild, + pwlib-1.6.3-r2.ebuild: + Revision bump for amd64 only. Masked 1.6.3-r1 for amd64 since it's broken + + 24 Mar 2004; Jason Huebel,,, <jhuebel@gentoo.org> pwlib-1.6.3-r1.ebuild: + added ~amd64 to keywords + + 19 Mar 2004; Gustavo Zacarias <gustavoz@gentoo.org> pwlib-1.6.3-r1.ebuild: + ~sparc lovin + + 19 Mar 2004; Stefan Knoblich <stkn@gentoo.org> pwlib-1.6.3-r1.ebuild: + fixes bugs #45016 and #45059 (thx to Konrad Rieck <kr@roqe.org>) + +*pwlib-1.6.3-r1 (12 Mar 2004) + + 12 Mar 2004; Stefan Knoblich <stkn@gentoo.org> pwlib-1.6.3-r1.ebuild: + this update fixes a gnugk/mysql++ compile problem and other c++ programs + that link against pwlib and use the typeid c++ function + +*pwlib-1.6.3 (09 Mar 2004) + + 09 Mar 2004; Stefan Knoblich <stkn@gentoo.org> pwlib-1.3.11-r1.ebuild, + pwlib-1.4.11.ebuild, pwlib-1.5.0.ebuild, pwlib-1.5.2-r1.ebuild, + pwlib-1.5.2-r2.ebuild, pwlib-1.5.2.ebuild, pwlib-1.6.3.ebuild, + files/pwlib-1.6.3-install.diff: + new version, plugin configuration contributed by Edward Middleton + <edwardmiddleton@k3.dion.ne.jp>. Copyright header updates + +*pwlib-1.5.0-r1 (08 Feb 2004) + + 08 Feb 2004; <nerdboy@gentoo.org> pwlib-1.5.0-r1.ebuild, + files/pwlib-1.5.0-r1-gentoo.diff: + added fix for 2.6.1 kernel header time.h bug + +*pwlib-1.5.2-r2 (13 Nov 2003) + + 13 Nov 2003; <stkn@gentoo.org> pwlib-1.5.2-r2.ebuild: + fixes include problems on gcc-2.95 systems when using ssl support, + found and fixed by Martin Schlemmer <azarah@gentoo.org> + (bug #33204) + + 10 Nov 2003; <stkn@gentoo.org> metadata.xml: + new maintainer + + 09 Nov 2003; Jason Wever <weeve@gentoo.org> pwlib-1.5.2-r1.ebuild: + Added ~sparc to keywords and fixed library symlink + s to work on sparc. + +*pwlib-1.5.2-r1 (24 Oct 2003) + + 24 Oct 2003; <stkn@gentoo.org> pwlib-1.5.2-r1.ebuild: + install version.h, required fix for asterisk h.323 plugin + + 03 Sep 2003; Alastair Tse <liquidx@gentoo.org> pwlib-1.5.0.ebuild: + marking 1.5.0 as stable x86 + +*pwlib-1.5.2 (03 Sep 2003) + + 03 Sep 2003; Alastair Tse <liquidx@gentoo.org> pwlib-1.5.2.ebuild: + version bump. fixes to ptlib-config installation. switch back to using + emake but set MAKEOPTS=-j1 + + 02 Jul 2003; Patrick Kursawe <phosphan@gentoo.org> pwlib-1.5.0.ebuild: + Had trouble with parallel make. Changing emake to make. + + 27 Jun 2003; Alastair Tse <liquidx@gentoo.org> pwlib-1.5.0.ebuild: + further fixes. symlinks don't override existing directories using portage :( + + 27 Jun 2003; Alastair Tse <liquidx@gentoo.org> pwlib-1.5.0.ebuild: + workaround upgrade path problems (#23594) + +*pwlib-1.5.0 (27 Jun 2003) + + 27 Jun 2003; Alastair Tse <liquidx@gentoo.org> pwlib-1.5.0.ebuild: + version bump. the build systems has changed to ./configure. also removed + extraneous files from /usr/share/pwlib + + 17 May 2003; Alastair Tse <liquidx@gentoo.org> pwlib-1.4.11.ebuild: + marked as x86 stable + +*pwlib-1.4.11 (20 Mar 2003) + + 01 Apr 2003; Alastair Tse <liquidx@gentoo.org> pwlib-1.4.11.ebuild: + workaround for problems when upgrading openh323 and pwlib. fixes #14979. + + 20 Mar 2003; Alastair Tse <liquidx@gentoo.org> pwlib-1.4.11.ebuild: + version bump + +*pwlib-1.4.10 (06 Mar 2003) + + 06 Mar 2003; Nick Hadaway <lu_zero@gentoo.org> pwlib-1.4.10.ebuild : + Version Bump, thanks to Michele Balistreri <brain87@gmx.net> + +*pwlib-1.4.7 (Jan 28 2003) + + 27 Mar 2003; Alastair Tse <liquidx@gentoo.org> pwlib-1.4.7.ebuild: + using gnomemeeting SRC_URI temporarily + + 13 Feb 2003; Nick Hadaway <raker@gentoo.org> pwlib-1.4.7.ebuild : + Added a warning so people realize that during a pwlib upgrade, + the build will fail and to unmerge previous versions before + continuing. + + 01 Feb 2003; Nick Hadaway <raker@gentoo.org> pwlib-1.4.7.ebuild : + Marked stable + + 28 Jan 2003; Nick Hadaway <raker@gentoo.org> pwlib-1.4.7.ebuild, + files/digest-pwlib-1.4.7 : + Version bump to coincide with gnomemeeting-0.96 + + 06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords + +*pwlib-1.3.11-r1 (04 Nov 2002) + + 09 Nov 2002; Nick Hadaway <raker@gentoo.org> pwlib-1.3.11-r1.ebuild : + Removed esound support as it causes more trouble than it is worth. + Added minor change so ppc libs are linked correctly + + 04 Nov 2002; Nick Hadaway <raker@gentoo.org> pwlib-1.3.11-r1.ebuild, + files/digest-pwlib-1.3.11-r1, files/pwlib-1.3.11-r1.diff : + New ebuild with support for esd and ssl added. Big patch update. + Changed -ppc to ~ppc as a user has reported success with gnomemeeting + on ppc. Also fixed a problem where ptclib files were not being + installed. + +*pwlib-1.3.11 (24 Oct 2002) + + 09 Nov 2002; Nick Hadaway <raker@gentoo.org> pwlib-1.3.11.ebuild : + Removed esound support as it causes more trouble than it is worth. + + 04 Oct 2002; Nick Hadaway <raker@gentoo.org> pwlib-1.3.11.ebuild : + Added dependancy on dev-libs/expat. + + 24 Oct 2002; Nick Hadaway <raker@gentoo.org> pwlib-1.3.11.ebuild, + files/digest-pwlib-1.3.11 : + Previous patch works with this new version. Updated to coincide with + new gnomemeeting release. Marked unsuntil the new gnomemeeting gets + tested. + +*pwlib-1.3.3 (20 Jul 2002) + + 22 Jul 2002; Nick Hadaway <raker@gentoo.org> files/opts.diff : + Added a patch to remove unix makefile optimizations to allow the users + make.conf to set the appropriate optimization flags. Closes bug #5413. + + 20 Jul 2002; Nick Hadaway <raker@gentoo.org> + pwlib-1.3.3.ebuild, file/digest-pwlib-1.3.3 : + Updated to pwlib version that matches the gnomemeeting-0.93 install. + Removed all previous version from cvs. Re-SLOT'ed to 0. + +*pwlib-1.2.19 (05 Jul 2002) + + 05 Jul 2002; Nick Hadaway <raker@gentoo.org> pwlib-1.2.19.ebuild: + openh323.org no longer has 1.2.x series available for download. + This is a download from gnomemeeting.org. The patch for 1.2.20 + has also been used for this build and seems to work fine. + +#pwlib-1.3.2 (05 Jul 2002) + + 05 Jul 2002; Nick Hadaway <raker@gentoo.org> pwlib-1.3.2.ebuild: + Version bump. This time it compiles beautilfully with gcc-3.1. + +*pwlib-1.3.1 (03 Jul 2002) + + 03 Jul 2002; Daniel Robbins <drobbins@gentoo.org> New version of pwlib that + works with gcc 3.1. Needs additional testing, so masking for now. + +*pwlib-1.2.13 (29 Mar 2002) + + 29 Mar 2002; Seemant Kulleen <seemant@gentoo.org> pwlib-1.2.13.ebuild : I was + careless and did not check the SRC_URI. The package name in the .12 ebuild + was hardcoded, so that's the one that got fetched anyway. Thanks to + lostlogic for catching and reporting this. And now, the ebuild can simply be + renamed for future version bumps. + +*pwlib-1.2.13 (28 Mar 2002) + + 28 Mar 2002; Seemant Kulleen <seemant@gentoo.org> pwlib-1.2.13.ebuild : + Version bump, and the patch has been renamed to allow it to work with both + pacakge versions, and the patch has been augmented to include the <stdio.h> + lib. This fix, provided by vikingo <gabriel@elvikingo.com.ar> on the + gentoo-user list, allows for successful compilation of pwlib again. diff --git a/dev-libs/pwlib/Manifest b/dev-libs/pwlib/Manifest new file mode 100644 index 0000000..deeb517 --- /dev/null +++ b/dev-libs/pwlib/Manifest @@ -0,0 +1,127 @@ +AUX pwlib-1.5.0-r1-gentoo.diff 391 RMD160 5fa8bfc2c4b27a495c54f0610314888f6cb12526 SHA1 acfbb5b64f1fdc416c589ac8012ca1d43d4914ce SHA256 eaf7a4188e746db29c2809366f7ee9dffde36d5d70032988c7a684ddbb2beab8 +MD5 0a9a8c5a1417127269e2e0f24ded1b2c files/pwlib-1.5.0-r1-gentoo.diff 391 +RMD160 5fa8bfc2c4b27a495c54f0610314888f6cb12526 files/pwlib-1.5.0-r1-gentoo.diff 391 +SHA256 eaf7a4188e746db29c2809366f7ee9dffde36d5d70032988c7a684ddbb2beab8 files/pwlib-1.5.0-r1-gentoo.diff 391 +AUX pwlib-1.5.2-asnparser-secfix.diff 1299 RMD160 9cbd32778be7bc7484aa179d282ff7590b9875d8 SHA1 80a0313d8fa0e93dbd108cffdafacad32ab3f6c0 SHA256 463f6bcb1f759433eb8e253508c527c497c8543ef306e6322110dfd31e6421e2 +MD5 8c6469f000dea2a13869631fcedbe0ff files/pwlib-1.5.2-asnparser-secfix.diff 1299 +RMD160 9cbd32778be7bc7484aa179d282ff7590b9875d8 files/pwlib-1.5.2-asnparser-secfix.diff 1299 +SHA256 463f6bcb1f759433eb8e253508c527c497c8543ef306e6322110dfd31e6421e2 files/pwlib-1.5.2-asnparser-secfix.diff 1299 +AUX pwlib-1.6.3-dyn-esd.patch 366 RMD160 1afe15d6578da7de00293edc4818b54fc1ca5540 SHA1 ba9177add96a9903646503bae739cf01cbc49d4f SHA256 1c84ea308fcaa1d38d348dd79ed936034a7528368285982e7101ba0b79ff94b9 +MD5 94fe183a68413eaeb8242cd30532d963 files/pwlib-1.6.3-dyn-esd.patch 366 +RMD160 1afe15d6578da7de00293edc4818b54fc1ca5540 files/pwlib-1.6.3-dyn-esd.patch 366 +SHA256 1c84ea308fcaa1d38d348dd79ed936034a7528368285982e7101ba0b79ff94b9 files/pwlib-1.6.3-dyn-esd.patch 366 +AUX pwlib-1.6.6-alsa_dmix.diff 7450 RMD160 f393b89f1c8dca190b6252b02ca459f0d27526e5 SHA1 d5c46a78e806b2775a57dc8a9e17d39885b86d26 SHA256 b544a297b257c9d6cc160012faddc93af683aa454f5ddc6548740ec01250cdfe +MD5 0fbee42a70e13b6fe530a1f1ca8086ac files/pwlib-1.6.6-alsa_dmix.diff 7450 +RMD160 f393b89f1c8dca190b6252b02ca459f0d27526e5 files/pwlib-1.6.6-alsa_dmix.diff 7450 +SHA256 b544a297b257c9d6cc160012faddc93af683aa454f5ddc6548740ec01250cdfe files/pwlib-1.6.6-alsa_dmix.diff 7450 +AUX pwlib-1.6.6-ieee1394dc-fix.diff 7207 RMD160 8020610ca1bfb6e0d565297100ba90b337770e5e SHA1 487829388504ce21ffd4bd92064b85180bbdedb3 SHA256 ee9b8b13cb82ae7f5a9104d64fd0f329693df2daf54cea5bd26a2a893ad12e35 +MD5 ef62669acbbbc63a30d475ca9865adb6 files/pwlib-1.6.6-ieee1394dc-fix.diff 7207 +RMD160 8020610ca1bfb6e0d565297100ba90b337770e5e files/pwlib-1.6.6-ieee1394dc-fix.diff 7207 +SHA256 ee9b8b13cb82ae7f5a9104d64fd0f329693df2daf54cea5bd26a2a893ad12e35 files/pwlib-1.6.6-ieee1394dc-fix.diff 7207 +AUX pwlib-1.8.4-gcc4.diff 1574 RMD160 6ed6e3c8fc9532472516cd140f8b61b56a639116 SHA1 648bbd13aca363593ed8a279722670220a6b97d6 SHA256 051a9c0b01254ab919b911320bddef16f92f68adcac952a6a671ea24c2f5bb9e +MD5 6aa40def4f33c78a2c05f91aeda058c1 files/pwlib-1.8.4-gcc4.diff 1574 +RMD160 6ed6e3c8fc9532472516cd140f8b61b56a639116 files/pwlib-1.8.4-gcc4.diff 1574 +SHA256 051a9c0b01254ab919b911320bddef16f92f68adcac952a6a671ea24c2f5bb9e files/pwlib-1.8.4-gcc4.diff 1574 +AUX pwlib-1.8.7-gcc-4.1-v4l2.patch 365 RMD160 59912c01346938ce57e251ae85f54f16882a6301 SHA1 d11665768db40b463cc0171d9ced8c61b3be3149 SHA256 5c76311cff3b883d5e6c8ea68df09d523d0704fc7f615c292606e6f1f157e93b +MD5 3fecacf32bc697a6b106ca508b2a6463 files/pwlib-1.8.7-gcc-4.1-v4l2.patch 365 +RMD160 59912c01346938ce57e251ae85f54f16882a6301 files/pwlib-1.8.7-gcc-4.1-v4l2.patch 365 +SHA256 5c76311cff3b883d5e6c8ea68df09d523d0704fc7f615c292606e6f1f157e93b files/pwlib-1.8.7-gcc-4.1-v4l2.patch 365 +AUX pwlib-1.8.7-gcc41.patch 1540 RMD160 8260dab8d84081ae9c21bdc5ba4841f39d4e6be1 SHA1 035b0de63fc1eabe1be4452c64c60609cee65502 SHA256 fadfc6d4c1223cb0a3eac73fbd6eafc0618b8d1fde323f46d9d2071d75757b8d +MD5 223dafbac9787545227998ed2979a44f files/pwlib-1.8.7-gcc41.patch 1540 +RMD160 8260dab8d84081ae9c21bdc5ba4841f39d4e6be1 files/pwlib-1.8.7-gcc41.patch 1540 +SHA256 fadfc6d4c1223cb0a3eac73fbd6eafc0618b8d1fde323f46d9d2071d75757b8d files/pwlib-1.8.7-gcc41.patch 1540 +AUX pwlib-1.8.7-instplugins.diff 1044 RMD160 722bc5e665f787e14f9d0e54679c8ba3fcc5e7e6 SHA1 90ccb7e33024dbb36e635b5b47ee0f67a9af7c05 SHA256 39e0b892ae1aa82af87a92a71c8ba78a84ee18984732856ce2f228a6d4340552 +MD5 cd832010589d81cab25d2523d62a3401 files/pwlib-1.8.7-instplugins.diff 1044 +RMD160 722bc5e665f787e14f9d0e54679c8ba3fcc5e7e6 files/pwlib-1.8.7-instplugins.diff 1044 +SHA256 39e0b892ae1aa82af87a92a71c8ba78a84ee18984732856ce2f228a6d4340552 files/pwlib-1.8.7-instplugins.diff 1044 +AUX pwlib-1.9.3-sdl-configure.patch 1403 RMD160 240822a74944a5f54f147023b50966c72a232f24 SHA1 4d65a4a4c0663ac3c8a281ad6bfbe06a86727f1c SHA256 467c44ad1d8d2c6f76e712e908476d3a1f948d5e3b1412546f1fb0b776068052 +MD5 e6f4109b8afd168be571ddc00b16707b files/pwlib-1.9.3-sdl-configure.patch 1403 +RMD160 240822a74944a5f54f147023b50966c72a232f24 files/pwlib-1.9.3-sdl-configure.patch 1403 +SHA256 467c44ad1d8d2c6f76e712e908476d3a1f948d5e3b1412546f1fb0b776068052 files/pwlib-1.9.3-sdl-configure.patch 1403 +DIST pwlib-1.10.0.tar.gz 1480233 RMD160 5341a4d21996472665032b3cfcc184f04435ddab SHA1 ce8be112cbb0f88ab33be0c4061d18d4bfa967dd SHA256 3bcbb47600061b6872215fbc68e7f04566a93bc602fa008636c85d47be5f5c00 +DIST pwlib-1.10.1.tar.gz 1485094 RMD160 860ce13ea7df77723c5697691602be4fe9087b5d SHA1 104e7fe42661b410749d19c90803715734bc1e3b SHA256 c7356f43f13995ece66e0becf84e38932b2e9f7a238b07f345c5b8fac6f823e3 +DIST pwlib-1.6.3.tar.gz 1158037 RMD160 a8f52e7825106475ad23a312e38e7ab8ebcc929b SHA1 e40fd4e27f479652bf4c51978a5f9da212d0697e SHA256 c371238a4719c9fe53bf6b1a89f490fdc6b5ea834c610b88f7e944c681179d03 +DIST pwlib-1.8.4.tar.gz 1382438 RMD160 3848d47d3cb903444759ecf41c5fc4c716fadc8c SHA1 bf56dd1e2383c1c1f3bdf3a6424234c26550fed0 SHA256 08f204423cc4112794e6f031ba0b908c0d90cbefb58e83ea7c4b4e55643ebf01 +DIST pwlib-1.8.7.tar.gz 1900458 RMD160 b968571a6ffeb162e4b426e1588c82b490b8d7dc SHA1 9333edf45f1022ba2529f7e731db9e5ffa92a17f SHA256 120e95ba090f0c8fa8768e8241b98a711e88973cb625288c2616092061d08ff7 +DIST pwlib-v1_6_6-src.tar.gz 1583087 +DIST pwlib-v1_8_3-src-tar.gz 1900922 +DIST pwlib_1.5.0.tar.gz 1074311 RMD160 e2d8bfe0ecaa4be9f95d7c3b6bad509953c03e74 SHA1 762384a53fb4f42522b0f322fa37fb7271b1f41a SHA256 8061922457b7e6b879a2c8324cc395032df73045759d4764dd0e45a9a66b68da +DIST pwlib_1.5.2.tar.gz 1085203 RMD160 87ec385fe384fb0098e53ebecf2a6e1b260a7917 SHA1 cbf9170dfe727d2423e312ca701cdf263c42ac86 SHA256 62b254548ad7a9e71231a160275827d67ff39022ee8e2854a7c9d9fe9a688e65 +EBUILD pwlib-1.10.0.ebuild 4383 RMD160 1417a5d2abb5b790c20c7d73a4f3e4ac53215094 SHA1 845dad3450fbbe4b5d59ea0a923deb7bbeb9c632 SHA256 0d1193659af55c2849a2b25a20c4ddc31e3bd035589b36ed68b2149b066a279d +MD5 97c11aed6d1726b635936f4ca4ce9d1c pwlib-1.10.0.ebuild 4383 +RMD160 1417a5d2abb5b790c20c7d73a4f3e4ac53215094 pwlib-1.10.0.ebuild 4383 +SHA256 0d1193659af55c2849a2b25a20c4ddc31e3bd035589b36ed68b2149b066a279d pwlib-1.10.0.ebuild 4383 +EBUILD pwlib-1.10.1.ebuild 4470 RMD160 4ba23f2d9296e7b18b7ae425de4f988d3bda80b7 SHA1 396bb1805155c52d27941f2da96df2e2c04b4bc2 SHA256 539736287c586886e2223e0614ec1b8483a7cb5d86dddd2cbad7546c2a5222d2 +MD5 38480cb00770d21d86be49f500696624 pwlib-1.10.1.ebuild 4470 +RMD160 4ba23f2d9296e7b18b7ae425de4f988d3bda80b7 pwlib-1.10.1.ebuild 4470 +SHA256 539736287c586886e2223e0614ec1b8483a7cb5d86dddd2cbad7546c2a5222d2 pwlib-1.10.1.ebuild 4470 +EBUILD pwlib-1.5.0-r1.ebuild 2403 RMD160 1dcbc0cf473bc53579c66434ca8e8674e3953163 SHA1 14f82f991ed03e4b9c289ba538a93f75eaeb30ed SHA256 b1c06e307fc870f5bced97ce8c4506cfb2c5f47506b5bd441bda5f3c4ca5faa0 +MD5 7b71ebcce6d852f0dc6738ee8b77ea49 pwlib-1.5.0-r1.ebuild 2403 +RMD160 1dcbc0cf473bc53579c66434ca8e8674e3953163 pwlib-1.5.0-r1.ebuild 2403 +SHA256 b1c06e307fc870f5bced97ce8c4506cfb2c5f47506b5bd441bda5f3c4ca5faa0 pwlib-1.5.0-r1.ebuild 2403 +EBUILD pwlib-1.5.0.ebuild 2304 RMD160 db44fa968d38c112e2d6cf0220c2f62ff5bb9ba2 SHA1 c2c24d269f1b5fb6bd8a24818deba7487079baca SHA256 8e1298cf9acb087a62e1d9067ddded2e616a25b2e478b4c6e6a9006cd513575e +MD5 4690d9e7395046ed1c573e68a47bd053 pwlib-1.5.0.ebuild 2304 +RMD160 db44fa968d38c112e2d6cf0220c2f62ff5bb9ba2 pwlib-1.5.0.ebuild 2304 +SHA256 8e1298cf9acb087a62e1d9067ddded2e616a25b2e478b4c6e6a9006cd513575e pwlib-1.5.0.ebuild 2304 +EBUILD pwlib-1.5.2-r3.ebuild 2993 RMD160 cca125f25eafb84e302c83b70e474ec48edc5119 SHA1 a235eee75a1b5d12cfc91f54922ba51631f28cc6 SHA256 167e62e52bad008b4f617b8deae40ab11b3d051ef6ba4eb3c57ede51cb15ad85 +MD5 8a3df2068f3fa7e096c3dc77cc28e7ea pwlib-1.5.2-r3.ebuild 2993 +RMD160 cca125f25eafb84e302c83b70e474ec48edc5119 pwlib-1.5.2-r3.ebuild 2993 +SHA256 167e62e52bad008b4f617b8deae40ab11b3d051ef6ba4eb3c57ede51cb15ad85 pwlib-1.5.2-r3.ebuild 2993 +EBUILD pwlib-1.6.3-r3.ebuild 4338 RMD160 cf7d20715361a0f456c265bb893660697d1dfa5f SHA1 4d686788293f723fa5af9c6bb8029f509e0f8ebb SHA256 4849929f966e3a73f7fbb103dc4751fb46bbf19258d951e7a0d3121868b4c3b9 +MD5 ae4e2d28a1696afcf545ed158be25bd7 pwlib-1.6.3-r3.ebuild 4338 +RMD160 cf7d20715361a0f456c265bb893660697d1dfa5f pwlib-1.6.3-r3.ebuild 4338 +SHA256 4849929f966e3a73f7fbb103dc4751fb46bbf19258d951e7a0d3121868b4c3b9 pwlib-1.6.3-r3.ebuild 4338 +EBUILD pwlib-1.6.6-r2.ebuild 4546 RMD160 952171286f195e37c7d856a5568831928071dd3d SHA1 55d49804fac5e6e2e354ebf71250d7b8eea86ed0 SHA256 f65f2b9de6d83b275ff8a2fbe024629b4bebe22f6ba0e3e7e3fb2aabca3d05f0 +MD5 233dc6b0601309ce4da5385aa36e5bdc pwlib-1.6.6-r2.ebuild 4546 +RMD160 952171286f195e37c7d856a5568831928071dd3d pwlib-1.6.6-r2.ebuild 4546 +SHA256 f65f2b9de6d83b275ff8a2fbe024629b4bebe22f6ba0e3e7e3fb2aabca3d05f0 pwlib-1.6.6-r2.ebuild 4546 +EBUILD pwlib-1.8.3-r1.ebuild 4465 RMD160 027bd4d4c67a470917cb83d6034adbe9a112f17d SHA1 704d4f408dac845b5288d521c55cc9715aa75607 SHA256 3e324a959686e45d34949715d6b6dc51c95b309b0d03bd5f98f3f4b82dc6e727 +MD5 00ce2a439ee24cd57f8c947d8fcadea1 pwlib-1.8.3-r1.ebuild 4465 +RMD160 027bd4d4c67a470917cb83d6034adbe9a112f17d pwlib-1.8.3-r1.ebuild 4465 +SHA256 3e324a959686e45d34949715d6b6dc51c95b309b0d03bd5f98f3f4b82dc6e727 pwlib-1.8.3-r1.ebuild 4465 +EBUILD pwlib-1.8.4.ebuild 4341 RMD160 b0f8d77959a9e653163deb17e2909bdf1bf246ab SHA1 3ddf30ae98464639b76d2674b556260677929ac0 SHA256 0b63ea3143ee5f6d39a04d2f8bd22498602cf01cdc3c9c969bc41e452d6ff538 +MD5 cad8c6f27ca92756b593272323ca3d25 pwlib-1.8.4.ebuild 4341 +RMD160 b0f8d77959a9e653163deb17e2909bdf1bf246ab pwlib-1.8.4.ebuild 4341 +SHA256 0b63ea3143ee5f6d39a04d2f8bd22498602cf01cdc3c9c969bc41e452d6ff538 pwlib-1.8.4.ebuild 4341 +EBUILD pwlib-1.8.7.ebuild 4220 RMD160 c902df936833d38fe39e59fcfa33457d10e30c61 SHA1 a9a09a033f5df94ffb602cabaf506a7f94689329 SHA256 1fa420729865a2881748f8f8d29e16e05561eeb6081e41b139469b612c5ba4fe +MD5 6992db4ead53cc3721a88bc8ca6a354a pwlib-1.8.7.ebuild 4220 +RMD160 c902df936833d38fe39e59fcfa33457d10e30c61 pwlib-1.8.7.ebuild 4220 +SHA256 1fa420729865a2881748f8f8d29e16e05561eeb6081e41b139469b612c5ba4fe pwlib-1.8.7.ebuild 4220 +MISC ChangeLog 15663 RMD160 adb53d3270c1de2bd6fbec3eaf4c042357f1d2df SHA1 aa7e9ab2679a40509570faaa0021a1facc4410dd SHA256 7e3dda15faefe8e45014b9dc0b8206e4b0bf79f4ae5a13057dcaff9c3d64dcac +MD5 9855961f979b3a2b91dc024d031df341 ChangeLog 15663 +RMD160 adb53d3270c1de2bd6fbec3eaf4c042357f1d2df ChangeLog 15663 +SHA256 7e3dda15faefe8e45014b9dc0b8206e4b0bf79f4ae5a13057dcaff9c3d64dcac ChangeLog 15663 +MISC metadata.xml 235 RMD160 1373a565e08a962328dc14bb2ccd2ed31f887a91 SHA1 be1055e9141769fc4e44c3cc9026c635aa97d8cc SHA256 6b190d921eb507c8ae01261acc24b4c26d9a7efdd79e244efda043d8d0b66756 +MD5 e7e31f6f265883cdf48d812f42a9f856 metadata.xml 235 +RMD160 1373a565e08a962328dc14bb2ccd2ed31f887a91 metadata.xml 235 +SHA256 6b190d921eb507c8ae01261acc24b4c26d9a7efdd79e244efda043d8d0b66756 metadata.xml 235 +MD5 e75b1e9ed282919b963de08f047bc69f files/digest-pwlib-1.10.0 241 +RMD160 dee98852a31e19f87c840b2435ed03d1b6afe9e8 files/digest-pwlib-1.10.0 241 +SHA256 d646df1b3934423b54ef64267d7056015b2b4127cc4b413458e5132ce9fc03b2 files/digest-pwlib-1.10.0 241 +MD5 b0029942c03a5823083f0f53c64bc607 files/digest-pwlib-1.10.1 241 +RMD160 8c06d6103de41c9e505e37f80f9f594298ede49f files/digest-pwlib-1.10.1 241 +SHA256 63a8de6ebd1f21855e6936af628e948143185eb8db0cb422e5691f5a691a283b files/digest-pwlib-1.10.1 241 +MD5 ad5d0ce28351a8c82409f95d5e6a553f files/digest-pwlib-1.5.0 238 +RMD160 eafad45bc69e99548d2743b53d0c15f47ea13db9 files/digest-pwlib-1.5.0 238 +SHA256 c4d40904e5090113d605e83fadbb836228bc5b1bee83677144cb7f1619b59788 files/digest-pwlib-1.5.0 238 +MD5 ad5d0ce28351a8c82409f95d5e6a553f files/digest-pwlib-1.5.0-r1 238 +RMD160 eafad45bc69e99548d2743b53d0c15f47ea13db9 files/digest-pwlib-1.5.0-r1 238 +SHA256 c4d40904e5090113d605e83fadbb836228bc5b1bee83677144cb7f1619b59788 files/digest-pwlib-1.5.0-r1 238 +MD5 9d697bfbb229d75334c178f53aa93ba3 files/digest-pwlib-1.5.2-r3 238 +RMD160 03da7294631bff3e2fb69f69c1ba233c6e745876 files/digest-pwlib-1.5.2-r3 238 +SHA256 33e90a1c32cafa3e9e68776f4bc922ce0649a055a7185a90a4b7181a813e2b50 files/digest-pwlib-1.5.2-r3 238 +MD5 e152a7da0e17cbe3bfe81b70a4317aaa files/digest-pwlib-1.6.3-r3 238 +RMD160 bf1648783e58c17f7a58df993c9d30a5445805f9 files/digest-pwlib-1.6.3-r3 238 +SHA256 96045bfb873ec80294c191733dc7cac35530674f1256554728c9e621bcc0c1af files/digest-pwlib-1.6.3-r3 238 +MD5 3057a7e05b6e701041865f26fd1fb8c3 files/digest-pwlib-1.6.6-r2 69 +RMD160 c1625f314aaa6d02637be52980b0660dee47536e files/digest-pwlib-1.6.6-r2 69 +SHA256 ad3953aa43f4721a418dce9a14db87f23c18eb00389bb2f731dba26710a0dd39 files/digest-pwlib-1.6.6-r2 69 +MD5 66bc7e154effc3454029566adff8a2f7 files/digest-pwlib-1.8.3-r1 69 +RMD160 00a2031d1062fde769bcfb989b78cff8d123690d files/digest-pwlib-1.8.3-r1 69 +SHA256 778cbe52cb05b523a583c9e48c329ddc6174de08216a57a499b488f2784ba9f2 files/digest-pwlib-1.8.3-r1 69 +MD5 60c1f666a87cbb373faa3250ff4cee49 files/digest-pwlib-1.8.4 238 +RMD160 d93891d3baf0e3410477d4162624c57656c83dd4 files/digest-pwlib-1.8.4 238 +SHA256 b1ab93579d2be34efa156c45ad024836ddbde40ba3e5f32024728ee6863406d4 files/digest-pwlib-1.8.4 238 +MD5 fa4bf5181ae19decd0c4c4b6364e0468 files/digest-pwlib-1.8.7 238 +RMD160 2ee9e56a4822094c7398583124fdfe1b51bbcbaa files/digest-pwlib-1.8.7 238 +SHA256 56d302889c4df1d12b155e947d06dd1484c7eae0b49c0838825aa1f0bc0b01e2 files/digest-pwlib-1.8.7 238 diff --git a/dev-libs/pwlib/files/digest-pwlib-1.10.0 b/dev-libs/pwlib/files/digest-pwlib-1.10.0 new file mode 100644 index 0000000..405b316 --- /dev/null +++ b/dev-libs/pwlib/files/digest-pwlib-1.10.0 @@ -0,0 +1,3 @@ +MD5 97da19588bdc25cd8b48afb135eded1d pwlib-1.10.0.tar.gz 1480233 +RMD160 5341a4d21996472665032b3cfcc184f04435ddab pwlib-1.10.0.tar.gz 1480233 +SHA256 3bcbb47600061b6872215fbc68e7f04566a93bc602fa008636c85d47be5f5c00 pwlib-1.10.0.tar.gz 1480233 diff --git a/dev-libs/pwlib/files/digest-pwlib-1.10.1 b/dev-libs/pwlib/files/digest-pwlib-1.10.1 new file mode 100644 index 0000000..aa6a792 --- /dev/null +++ b/dev-libs/pwlib/files/digest-pwlib-1.10.1 @@ -0,0 +1,3 @@ +MD5 51414920d7b21125df2bf6870c0fc2e4 pwlib-1.10.1.tar.gz 1485094 +RMD160 860ce13ea7df77723c5697691602be4fe9087b5d pwlib-1.10.1.tar.gz 1485094 +SHA256 c7356f43f13995ece66e0becf84e38932b2e9f7a238b07f345c5b8fac6f823e3 pwlib-1.10.1.tar.gz 1485094 diff --git a/dev-libs/pwlib/files/digest-pwlib-1.5.0 b/dev-libs/pwlib/files/digest-pwlib-1.5.0 new file mode 100644 index 0000000..040a8e6 --- /dev/null +++ b/dev-libs/pwlib/files/digest-pwlib-1.5.0 @@ -0,0 +1,3 @@ +MD5 e6bcdd121a85687c040f4871f24b7352 pwlib_1.5.0.tar.gz 1074311 +RMD160 e2d8bfe0ecaa4be9f95d7c3b6bad509953c03e74 pwlib_1.5.0.tar.gz 1074311 +SHA256 8061922457b7e6b879a2c8324cc395032df73045759d4764dd0e45a9a66b68da pwlib_1.5.0.tar.gz 1074311 diff --git a/dev-libs/pwlib/files/digest-pwlib-1.5.0-r1 b/dev-libs/pwlib/files/digest-pwlib-1.5.0-r1 new file mode 100644 index 0000000..040a8e6 --- /dev/null +++ b/dev-libs/pwlib/files/digest-pwlib-1.5.0-r1 @@ -0,0 +1,3 @@ +MD5 e6bcdd121a85687c040f4871f24b7352 pwlib_1.5.0.tar.gz 1074311 +RMD160 e2d8bfe0ecaa4be9f95d7c3b6bad509953c03e74 pwlib_1.5.0.tar.gz 1074311 +SHA256 8061922457b7e6b879a2c8324cc395032df73045759d4764dd0e45a9a66b68da pwlib_1.5.0.tar.gz 1074311 diff --git a/dev-libs/pwlib/files/digest-pwlib-1.5.2-r3 b/dev-libs/pwlib/files/digest-pwlib-1.5.2-r3 new file mode 100644 index 0000000..13e15f2 --- /dev/null +++ b/dev-libs/pwlib/files/digest-pwlib-1.5.2-r3 @@ -0,0 +1,3 @@ +MD5 0fa33ba1b32b254abe0b731a52c0f2f9 pwlib_1.5.2.tar.gz 1085203 +RMD160 87ec385fe384fb0098e53ebecf2a6e1b260a7917 pwlib_1.5.2.tar.gz 1085203 +SHA256 62b254548ad7a9e71231a160275827d67ff39022ee8e2854a7c9d9fe9a688e65 pwlib_1.5.2.tar.gz 1085203 diff --git a/dev-libs/pwlib/files/digest-pwlib-1.6.3-r3 b/dev-libs/pwlib/files/digest-pwlib-1.6.3-r3 new file mode 100644 index 0000000..683a250 --- /dev/null +++ b/dev-libs/pwlib/files/digest-pwlib-1.6.3-r3 @@ -0,0 +1,3 @@ +MD5 c190324ded05c349cf50b0d37fe0c8a1 pwlib-1.6.3.tar.gz 1158037 +RMD160 a8f52e7825106475ad23a312e38e7ab8ebcc929b pwlib-1.6.3.tar.gz 1158037 +SHA256 c371238a4719c9fe53bf6b1a89f490fdc6b5ea834c610b88f7e944c681179d03 pwlib-1.6.3.tar.gz 1158037 diff --git a/dev-libs/pwlib/files/digest-pwlib-1.6.6-r2 b/dev-libs/pwlib/files/digest-pwlib-1.6.6-r2 new file mode 100644 index 0000000..82c1731 --- /dev/null +++ b/dev-libs/pwlib/files/digest-pwlib-1.6.6-r2 @@ -0,0 +1 @@ +MD5 c3ae07b03cd48d57cd9d6ec346182ed4 pwlib-v1_6_6-src.tar.gz 1583087 diff --git a/dev-libs/pwlib/files/digest-pwlib-1.8.3-r1 b/dev-libs/pwlib/files/digest-pwlib-1.8.3-r1 new file mode 100644 index 0000000..bd4b079 --- /dev/null +++ b/dev-libs/pwlib/files/digest-pwlib-1.8.3-r1 @@ -0,0 +1 @@ +MD5 082e0ca640c3dd81c637b6d6a3c9b4b3 pwlib-v1_8_3-src-tar.gz 1900922 diff --git a/dev-libs/pwlib/files/digest-pwlib-1.8.4 b/dev-libs/pwlib/files/digest-pwlib-1.8.4 new file mode 100644 index 0000000..54e0c71 --- /dev/null +++ b/dev-libs/pwlib/files/digest-pwlib-1.8.4 @@ -0,0 +1,3 @@ +MD5 fc638a64216b7751271c539ee4ccd0a8 pwlib-1.8.4.tar.gz 1382438 +RMD160 3848d47d3cb903444759ecf41c5fc4c716fadc8c pwlib-1.8.4.tar.gz 1382438 +SHA256 08f204423cc4112794e6f031ba0b908c0d90cbefb58e83ea7c4b4e55643ebf01 pwlib-1.8.4.tar.gz 1382438 diff --git a/dev-libs/pwlib/files/digest-pwlib-1.8.7 b/dev-libs/pwlib/files/digest-pwlib-1.8.7 new file mode 100644 index 0000000..9a11033 --- /dev/null +++ b/dev-libs/pwlib/files/digest-pwlib-1.8.7 @@ -0,0 +1,3 @@ +MD5 ba4fddd6cb8d4420cc18f308ccf48e00 pwlib-1.8.7.tar.gz 1900458 +RMD160 b968571a6ffeb162e4b426e1588c82b490b8d7dc pwlib-1.8.7.tar.gz 1900458 +SHA256 120e95ba090f0c8fa8768e8241b98a711e88973cb625288c2616092061d08ff7 pwlib-1.8.7.tar.gz 1900458 diff --git a/dev-libs/pwlib/files/pwlib-1.11.0-sdl-configure.patch b/dev-libs/pwlib/files/pwlib-1.11.0-sdl-configure.patch new file mode 100644 index 0000000..97b90d1 --- /dev/null +++ b/dev-libs/pwlib/files/pwlib-1.11.0-sdl-configure.patch @@ -0,0 +1,49 @@ +diff -ur pwlib_v1_11_0.orig/configure.ac pwlib_v1_11_0/configure.ac +--- pwlib_v1_11_0.orig/configure.ac 2006-07-10 11:54:17.000000000 +0200 ++++ pwlib_v1_11_0/configure.ac 2006-07-10 11:55:22.000000000 +0200 +@@ -1500,6 +1500,7 @@ + AC_ARG_ENABLE(sdl, + [ --disable-sdl disable SDL support]) + ++ + if test "${enable_sdl}z" = "z" ; then + enable_sdl=$default_sdl + fi +@@ -1509,6 +1510,9 @@ + AC_MSG_NOTICE(SDL disabled) + AC_DEFINE(P_SDL, 0) + else ++ dnl check for sdl-config ++ AC_PATH_PROG([SDL_CONFIG], [sdl-config],, [$PATH:/usr/local/bin]) ++ + dnl SDL checks + if test "${SDLLIB:-unset}" = "unset" ; then + SDLLIB=SDL +@@ -1520,7 +1524,13 @@ + if test "${X11LIBDIR:-unset}" == "unset" ; then + X11LIBDIR=/usr/X11R6/lib + fi +- AC_CHECK_LIB(SDL, SDL_CreateYUVOverlay, HAS_SDL=1, HAS_SDL=, -L${X11LIBDIR} -lpthread -lX11 -lXext -laa) ++ if test "x${SDL_CONFIG}" = "x" ; then ++ SDL_LIBS="-L${X11LIBDIR} -lpthread -lX11 -lXext -laa" ++ else ++ SDL_LIBS="`${SDL_CONFIG} --libs`" ++ fi ++ ++ AC_CHECK_LIB([SDL], [SDL_CreateYUVOverlay], [HAS_SDL=1], [HAS_SDL=], [$SDL_LIBS]) + fi + + dnl freeBSD SDL check +@@ -1540,7 +1550,11 @@ + if test ${SDLLIBDIR:-unset} != "unset" ; then + LDFLAGS="$LDFLAGS -L${SDLLIBDIR}" + fi +- ENDLDLIBS="$ENDLDLIBS -l${SDLLIB}" ++ if test "x${SDL_CONFIG}" = "x" ; then ++ ENDLDLIBS="$ENDLDLIBS -l${SDLLIB}" ++ else ++ ENDLDLIBS="$ENDLDLIBS `${SDL_CONFIG} --libs`" ++ fi + fi + fi + AC_SUBST(HAS_SDL) diff --git a/dev-libs/pwlib/files/pwlib-1.5.0-r1-gentoo.diff b/dev-libs/pwlib/files/pwlib-1.5.0-r1-gentoo.diff new file mode 100644 index 0000000..8f6d056 --- /dev/null +++ b/dev-libs/pwlib/files/pwlib-1.5.0-r1-gentoo.diff @@ -0,0 +1,11 @@ +--- include/ptlib/unix/ptlib/videoio.h.orig 2003-01-06 10:41:08.000000000 -0800 ++++ include/ptlib/unix/ptlib/videoio.h 2004-02-08 15:56:51.781845630 -0800 +@@ -101,6 +101,8 @@ + + #ifndef _PVIDEOIO + ++/* update for 2.6.1 kernel headers */ ++#include <sys/time.h> + + #if defined(P_LINUX) && !defined(NO_VIDEO_CAPTURE) + #include <linux/videodev.h> /* change this to "videodev2.h" for v4l2 */ diff --git a/dev-libs/pwlib/files/pwlib-1.5.2-asnparser-secfix.diff b/dev-libs/pwlib/files/pwlib-1.5.2-asnparser-secfix.diff new file mode 100644 index 0000000..444214a --- /dev/null +++ b/dev-libs/pwlib/files/pwlib-1.5.2-asnparser-secfix.diff @@ -0,0 +1,56 @@ +--- pwlib/src/ptclib/asnper.cxx.orig Fri Aug 1 02:11:38 2003 ++++ pwlib-1.5.2/src/ptclib/asnper.cxx Fri Feb 20 15:35:05 2004 +@@ -1224,7 +1224,12 @@ + return -1; + + value += lower; +- return 0; ++ ++ // clamp value to upper limit ++ if (value > upper) ++ value = upper; ++ ++ return 0; + } + + +@@ -1268,7 +1273,13 @@ + unsigned base; + if (!MultiBitDecode(CountBits(upper - lower + 1), base)) + return -1; +- return lower + base; // 10.9.4.1 ++ len = lower + base; // 10.9.4.1 ++ ++ // clamp value to upper limit ++ if (len > upper) ++ len = upper; ++ ++ return 0; + } + + if (upper < 65536) // 10.9.3.3 +@@ -1279,13 +1290,20 @@ + if (IsAtEnd()) + return -1; + +- if (SingleBitDecode() == 0) +- return MultiBitDecode(7, len) ? 0 : -1; // 10.9.3.6 +- +- if (SingleBitDecode() == 0) +- return MultiBitDecode(14, len) ? 0 : -1; // 10.9.3.7 ++ if (SingleBitDecode() == 0) { ++ if (!MultiBitDecode(7, len)) // 10.9.3.6 ++ return -1; // 10.9.3.8 unsupported ++ } ++ else if (SingleBitDecode() == 0) { ++ if (!MultiBitDecode(14, len)) // 10.9.3.7 ++ return -1; // 10.9.3.8 unsupported ++ } + +- return -1; // 10.9.3.8 unsupported ++ // clamp value to upper limit ++ if (len > upper) ++ len = upper; ++ ++ return 0; + } diff --git a/dev-libs/pwlib-cvs/files/pwlib-1.6.3-dyn-esd.patch b/dev-libs/pwlib/files/pwlib-1.6.3-dyn-esd.patch index 638fd78..638fd78 100644 --- a/dev-libs/pwlib-cvs/files/pwlib-1.6.3-dyn-esd.patch +++ b/dev-libs/pwlib/files/pwlib-1.6.3-dyn-esd.patch diff --git a/dev-libs/pwlib/files/pwlib-1.6.6-alsa_dmix.diff b/dev-libs/pwlib/files/pwlib-1.6.6-alsa_dmix.diff new file mode 100644 index 0000000..2d1ded9 --- /dev/null +++ b/dev-libs/pwlib/files/pwlib-1.6.6-alsa_dmix.diff @@ -0,0 +1,259 @@ +diff -ru pwlib-orig/plugins/sound_alsa/sound_alsa.cxx pwlib/plugins/sound_alsa/sound_alsa.cxx +--- pwlib-orig/plugins/sound_alsa/sound_alsa.cxx 2004-03-13 13:36:14.000000000 +0100 ++++ pwlib/plugins/sound_alsa/sound_alsa.cxx 2004-10-21 18:33:38.562610536 +0200 +@@ -28,6 +28,21 @@ + * Contributor(s): / + * + * $Log: sound_alsa.cxx,v $ ++ * Revision 1.21 2004/10/18 11:43:39 dsandras ++ * Use Capture instead of Mic when changing the volume. Use the correct mixer when using the Default device. ++ * ++ * Revision 1.20 2004/10/14 19:30:16 dsandras ++ * Removed DMIX and DSNOOP plugins and added support for DEFAULT as it is the correcti way to do things. ++ * ++ * Revision 1.19 2004/08/30 21:09:41 dsandras ++ * Added DSNOOP plugin support. ++ * ++ * Revision 1.18 2004/05/14 10:15:26 dominance ++ * Fixes direct opening of sound output devices. The list of devices does no longer return NULL in that case. Patch provided by Julien Puydt <julien.puydt@laposte.net>. ++ * ++ * Revision 1.17 2004/04/03 10:33:45 dsandras ++ * Use PStringToOrdinal to store the detected devices, that fixes problems if there is a discontinuity in the succession of soundcard ID's. For example the user has card ID 1 and 3, but not 2. ++ * + * Revision 1.16 2004/03/13 12:36:14 dsandras + * Added support for DMIX plugin output. + * +@@ -81,8 +96,8 @@ + PCREATE_SOUND_PLUGIN(ALSA, PSoundChannelALSA) + + +-static PStringArray playback_devices; +-static PStringArray capture_devices; ++static PStringToOrdinal playback_devices; ++static PStringToOrdinal capture_devices; + + /////////////////////////////////////////////////////////////////////////////// + +@@ -119,8 +134,9 @@ + } + + +-PStringArray PSoundChannelALSA::GetDeviceNames (Directions dir) ++void PSoundChannelALSA::UpdateDictionary (Directions dir) + { ++ + int card = -1, dev = -1; + + snd_ctl_t *handle = NULL; +@@ -134,12 +150,12 @@ + if (dir == Recorder) { + + stream = SND_PCM_STREAM_CAPTURE; +- capture_devices = PStringArray (); ++ capture_devices = PStringToOrdinal (); + } + else { + + stream = SND_PCM_STREAM_PLAYBACK; +- playback_devices = PStringArray (); ++ playback_devices = PStringToOrdinal (); + } + + snd_ctl_card_info_alloca (&info); +@@ -148,7 +164,7 @@ + /* No sound card found */ + if (snd_card_next (&card) < 0 || card < 0) { + +- return PStringArray (); ++ return; + } + + +@@ -176,13 +192,11 @@ + snd_card_get_name (card, &name); + if (dir == Recorder) { + +- if (capture_devices.GetStringsIndex (name) == P_MAX_INDEX) +- capture_devices.AppendString (name); ++ capture_devices.SetAt (name, card); + } + else { + +- if (playback_devices.GetStringsIndex (name) == P_MAX_INDEX) +- playback_devices.AppendString (name); ++ playback_devices.SetAt (name, card); + } + + free (name); +@@ -193,17 +207,27 @@ + snd_ctl_close(handle); + snd_card_next (&card); + } ++} + +- +- if (dir == Recorder) +- return capture_devices; +- else { ++PStringArray PSoundChannelALSA::GetDeviceNames (Directions dir) ++{ ++ PStringArray devices; ++ PStringToOrdinal devices_dict; + +- if (playback_devices.GetSize () > 0) +- playback_devices += "DMIX Plugin"; ++ if (dir == Recorder) ++ devices_dict = capture_devices; ++ else ++ devices_dict = playback_devices; ++ ++ UpdateDictionary (dir); ++ ++ if (devices_dict.GetSize () > 0) ++ devices += "Default"; ++ ++ for (PINDEX j = 0 ; j < devices_dict.GetSize () ; j++) ++ devices += devices_dict.GetKeyAt (j); + +- return playback_devices; +- } ++ return devices; + } + + +@@ -223,7 +247,7 @@ + unsigned _bitsPerSample) + { + PString real_device_name; +- PINDEX i = 0; ++ POrdinalKey *i = NULL; + snd_pcm_stream_t stream; + + Close(); +@@ -236,21 +260,31 @@ + stream = SND_PCM_STREAM_PLAYBACK; + + /* Open in NONBLOCK mode */ +- if (_dir != Recorder && _device == "DMIX Plugin") { ++ if (_device == "Default") { + +- real_device_name = "plug:dmix"; ++ real_device_name = "default"; ++ card_nr = -2; + } +- else if ((i = (_dir == Recorder) ? capture_devices.GetStringsIndex (_device) : playback_devices.GetStringsIndex (_device)) != P_MAX_INDEX) { ++ else { ++ ++ if ((_dir == Recorder && capture_devices.IsEmpty ()) ++ || (_dir == Player && playback_devices.IsEmpty ())) ++ UpdateDictionary (_dir); ++ ++ i = (_dir == Recorder) ? capture_devices.GetAt (_device) : playback_devices.GetAt (_device); + +- real_device_name = "plughw:" + PString (i); +- card_nr = i; ++ if (i) { ++ ++ real_device_name = "plughw:" + PString (*i); ++ card_nr = *i; ++ } ++ else { ++ ++ PTRACE (1, "ALSA\tDevice not found"); ++ return FALSE; ++ } + } +- else { + +- PTRACE (1, "ALSA\tDevice unavailable"); +- return FALSE; +- } +- + if (snd_pcm_open (&os_handle, real_device_name, stream, SND_PCM_NONBLOCK) < 0) { + + PTRACE (1, "ALSA\tOpen Failed"); +@@ -735,7 +769,7 @@ + snd_mixer_elem_t *elem; + snd_mixer_selem_id_t *sid; + +- const char *play_mix_name = (direction == Player) ? "PCM": "Mic"; ++ const char *play_mix_name = (direction == Player) ? "PCM": "Capture"; + PString card_name; + + long pmin = 0, pmax = 0; +@@ -744,7 +778,10 @@ + if (!os_handle) + return FALSE; + +- card_name = "hw:" + PString (card_nr); ++ if (card_nr == -2) ++ card_name = "default"; ++ else ++ card_name = "hw:" + PString (card_nr); + + //allocate simple id + snd_mixer_selem_id_alloca (&sid); +@@ -796,23 +833,39 @@ + return FALSE; + } + +- snd_mixer_selem_get_playback_volume_range (elem, &pmin, &pmax); + + if (set) { +- +- vol = (set_vol * (pmax?pmax:31)) / 100; +- snd_mixer_selem_set_playback_volume (elem, +- SND_MIXER_SCHN_FRONT_LEFT, vol); +- snd_mixer_selem_set_playback_volume (elem, +- SND_MIXER_SCHN_FRONT_RIGHT, vol); + ++ if (direction == Player) { ++ ++ snd_mixer_selem_get_playback_volume_range (elem, &pmin, &pmax); ++ vol = (set_vol * (pmax?pmax:31)) / 100; ++ snd_mixer_selem_set_playback_volume_all (elem, vol); ++ } ++ else { ++ ++ snd_mixer_selem_get_capture_volume_range (elem, &pmin, &pmax); ++ vol = (set_vol * (pmax?pmax:31)) / 100; ++ snd_mixer_selem_set_capture_volume_all (elem, vol); ++ } + PTRACE (4, "Set volume to " << vol); + } + else { + +- snd_mixer_selem_get_playback_volume (elem, +- SND_MIXER_SCHN_FRONT_LEFT, &vol); ++ if (direction == Player) { ++ ++ snd_mixer_selem_get_playback_volume_range (elem, &pmin, &pmax); ++ snd_mixer_selem_get_playback_volume (elem, SND_MIXER_SCHN_FRONT_LEFT, ++ &vol); ++ } ++ else { ++ ++ snd_mixer_selem_get_capture_volume_range (elem, &pmin, &pmax); ++ snd_mixer_selem_get_capture_volume (elem, SND_MIXER_SCHN_FRONT_LEFT, ++ &vol); ++ } + get_vol = (vol * 100) / (pmax?pmax:31); ++ + PTRACE (4, "Got volume " << vol); + } + +Only in pwlib/plugins/sound_alsa: .sound_alsa.cxx-patch.swp +diff -ru pwlib-orig/plugins/sound_alsa/sound_alsa.h pwlib/plugins/sound_alsa/sound_alsa.h +--- pwlib-orig/plugins/sound_alsa/sound_alsa.h 2003-12-28 16:10:35.000000000 +0100 ++++ pwlib/plugins/sound_alsa/sound_alsa.h 2004-10-21 18:35:51.559391952 +0200 +@@ -89,7 +89,8 @@ + BOOL IsOpen() const; + + private: +- ++ ++ static void UpdateDictionary(PSoundChannel::Directions); + BOOL Volume (BOOL, unsigned, unsigned &); + PSoundChannel::Directions direction; + PString device; + diff --git a/dev-libs/pwlib/files/pwlib-1.6.6-ieee1394dc-fix.diff b/dev-libs/pwlib/files/pwlib-1.6.6-ieee1394dc-fix.diff new file mode 100644 index 0000000..25c9e10 --- /dev/null +++ b/dev-libs/pwlib/files/pwlib-1.6.6-ieee1394dc-fix.diff @@ -0,0 +1,197 @@ +=================================================================== +RCS file: /cvsroot/openh323/pwlib/plugins/vidinput_dc/video4dc1394.cxx,v +retrieving revision 1.1 +retrieving revision 1.5 +diff -u -r1.1 -r1.5 +--- openh323/pwlib/plugins/vidinput_dc/video4dc1394.cxx 2003/12/17 15:40:56 1.1 ++++ openh323/pwlib/plugins/vidinput_dc/video4dc1394.cxx 2004/06/15 23:55:50 1.5 +@@ -413,7 +425,7 @@ + else if (supported_framerates & (1U << (31-0))) + framerate = FRAMERATE_1_875; + else { +- PTRACE(1, "No supported frame rate??!!" << supported_framerates); ++ PTRACE(1, "Frame rate " << supported_framerates << " is not supported"); + return FALSE; + } + +@@ -423,7 +435,11 @@ + FORMAT_VGA_NONCOMPRESSED, + dc1394_mode, + P_DC1394_DEFAULT_SPEED, +- framerate, 4, 1, deviceName, ++ framerate, 4, 1, ++#ifdef NEW_DC_API ++ 1, ++#endif ++ deviceName, + &camera)!=DC1394_SUCCESS) || + (!UseDMA && dc1394_setup_capture(handle,camera_nodes[channelNumber], + 0, /* channel of IEEE 1394 */ +=================================================================== +RCS file: /cvsroot/openh323/pwlib/plugins/configure.in,v +retrieving revision 1.6 +retrieving revision 1.7 +diff -u -r1.6 -r1.7 +--- openh323/pwlib/plugins/configure.in 2004/02/04 02:34:38 1.6 ++++ openh323/pwlib/plugins/configure.in 2004/06/15 23:55:50 1.7 +@@ -134,6 +134,35 @@ + if test "${DC1394HDR:-unset}" != "unset" -a ${RAW1394HDR:-unset} != "unset"; then + AC_SUBST(HAS_DC1394, 1) + AC_MSG_RESULT(yes) ++ AC_MSG_CHECKING(if dc1394_dma_setup_capture has 12 parms) ++ AC_COMPILE_IFELSE([[ ++#include "libdc1394/dc1394_control.h" ++int main(int ac,char **av) ++{ ++ raw1394handle_t handle; ++ nodeid_t node; ++ int channel; ++ int format; ++ int mode; ++ int speed; ++ int frame_rate; ++ int num_dma_buffers; ++ int do_extra_buffering; ++ int drop_frames; ++ const char *dma_device_file; ++ dc1394_cameracapture *camera; ++ dc1394_dma_setup_capture(handle, node, channel, format, mode, speed, frame_rate, num_dma_buffers, ++ do_extra_buffering, drop_frames, dma_device_file, camera); ++ return 0; ++} ++]],NEW_DC_API=1, NEW_DC_API=0) ++ if test "$NEW_DC_API" = "1" ; then ++ AC_SUBST(DC_CFLAGS, -DNEW_DC_API) ++ AC_MSG_RESULT(yes) ++ else ++ AC_SUBST(DC_CFLAGS) ++ AC_MSG_RESULT(no) ++ fi + else + AC_MSG_RESULT(no) + fi +@@ -146,5 +175,6 @@ + dnl output header file + + AC_CONFIG_FILES(Makefile) ++AC_CONFIG_FILES(vidinput_dc/Makefile) + + AC_OUTPUT() +=================================================================== +RCS file: /cvsroot/openh323/pwlib/plugins/configure,v +retrieving revision 1.3 +retrieving revision 1.4 +diff -u -r1.3 -r1.4 +--- openh323/pwlib/plugins/configure 2004/02/04 02:34:37 1.3 ++++ openh323/pwlib/plugins/configure 2004/06/15 23:55:50 1.4 +@@ -308,7 +308,7 @@ + # include <unistd.h> + #endif" + +-ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT PWLIBDIR PWINSTDIR INSTALLPREFIX LIBDIR CC CFLAGS ac_ct_CC CPP EGREP HAS_ALSA HAS_OSS HAS_V4L HAS_BSDVIDEOCAP HAS_AVC1394 HAS_DC1394 LIBOBJS LTLIBOBJS' ++ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CXX CXXFLAGS LDFLAGS CPPFLAGS ac_ct_CXX EXEEXT OBJEXT PWLIBDIR PWINSTDIR INSTALLPREFIX LIBDIR CC CFLAGS ac_ct_CC CPP EGREP HAS_ALSA HAS_OSS HAS_V4L HAS_BSDVIDEOCAP HAS_AVC1394 HAS_DC1394 DC_CFLAGS LIBOBJS LTLIBOBJS' + ac_subst_files='' + + # Initialize some variables set by options. +@@ -4567,6 +4567,61 @@ + + echo "$as_me:$LINENO: result: yes" >&5 + echo "${ECHO_T}yes" >&6 ++ echo "$as_me:$LINENO: checking if dc1394_dma_setup_capture has 12 parms" >&5 ++echo $ECHO_N "checking if dc1394_dma_setup_capture has 12 parms... $ECHO_C" >&6 ++ cat >conftest.$ac_ext <<_ACEOF ++ ++#include "libdc1394/dc1394_control.h" ++int main(int ac,char **av) ++{ ++ raw1394handle_t handle; ++ nodeid_t node; ++ int channel; ++ int format; ++ int mode; ++ int speed; ++ int frame_rate; ++ int num_dma_buffers; ++ int do_extra_buffering; ++ int drop_frames; ++ const char *dma_device_file; ++ dc1394_cameracapture *camera; ++ dc1394_dma_setup_capture(handle, node, channel, format, mode, speed, frame_rate, num_dma_buffers, ++ do_extra_buffering, drop_frames, dma_device_file, camera); ++ return 0; ++} ++ ++_ACEOF ++rm -f conftest.$ac_objext ++if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 ++ (eval $ac_compile) 2>&5 ++ ac_status=$? ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); } && ++ { ac_try='test -s conftest.$ac_objext' ++ { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 ++ (eval $ac_try) 2>&5 ++ ac_status=$? ++ echo "$as_me:$LINENO: \$? = $ac_status" >&5 ++ (exit $ac_status); }; }; then ++ NEW_DC_API=1 ++else ++ echo "$as_me: failed program was:" >&5 ++sed 's/^/| /' conftest.$ac_ext >&5 ++ ++NEW_DC_API=0 ++fi ++rm -f conftest.$ac_objext conftest.$ac_ext ++ if test "$NEW_DC_API" = "1" ; then ++ DC_CFLAGS=-DNEW_DC_API ++ ++ echo "$as_me:$LINENO: result: yes" >&5 ++echo "${ECHO_T}yes" >&6 ++ else ++ ++ echo "$as_me:$LINENO: result: no" >&5 ++echo "${ECHO_T}no" >&6 ++ fi + else + echo "$as_me:$LINENO: result: no" >&5 + echo "${ECHO_T}no" >&6 +@@ -4578,6 +4633,8 @@ + + ac_config_files="$ac_config_files Makefile" + ++ ac_config_files="$ac_config_files vidinput_dc/Makefile" ++ + + cat >confcache <<\_ACEOF + # This file is a shell script that caches the results of configure +@@ -5129,6 +5186,7 @@ + case "$ac_config_target" in + # Handling of arguments. + "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;; ++ "vidinput_dc/Makefile" ) CONFIG_FILES="$CONFIG_FILES vidinput_dc/Makefile" ;; + *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 + echo "$as_me: error: invalid argument: $ac_config_target" >&2;} + { (exit 1); exit 1; }; };; +@@ -5234,6 +5292,7 @@ + s,@HAS_BSDVIDEOCAP@,$HAS_BSDVIDEOCAP,;t t + s,@HAS_AVC1394@,$HAS_AVC1394,;t t + s,@HAS_DC1394@,$HAS_DC1394,;t t ++s,@DC_CFLAGS@,$DC_CFLAGS,;t t + s,@LIBOBJS@,$LIBOBJS,;t t + s,@LTLIBOBJS@,$LTLIBOBJS,;t t + CEOF +--- openh323/pwlib/plugins/vidinput_dc/Makefile.in 1970-01-01 01:00:00.000000000 +0100 ++++ openh323/pwlib/plugins/vidinput_dc/Makefile.in 2004-08-30 03:08:49.095486368 +0200 +@@ -0,0 +1,12 @@ ++ifndef PWLIBDIR ++PWLIBDIR = $(HOME)/pwlib ++endif ++ ++PLUGIN_NAME = dc ++PLUGIN_FAMILY = device/videoinput ++PLUGIN_LIBS = -lraw1394 -ldv -ldc1394_control ++PLUGIN_SOURCES = video4dc1394.cxx ++ ++CFLAGS = @DC_CFLAGS@ ++ ++include ../../make/plugins.mak diff --git a/dev-libs/pwlib/files/pwlib-1.8.4-gcc4.diff b/dev-libs/pwlib/files/pwlib-1.8.4-gcc4.diff new file mode 100644 index 0000000..e154658 --- /dev/null +++ b/dev-libs/pwlib/files/pwlib-1.8.4-gcc4.diff @@ -0,0 +1,46 @@ +diff -Naur pwlib-1.8.4/include/ptlib/pprocess.h pwlib-1.8.4-gcc4/include/ptlib/pprocess.h +--- pwlib-1.8.4/include/ptlib/pprocess.h 2004-06-30 14:17:04.000000000 +0200 ++++ pwlib-1.8.4-gcc4/include/ptlib/pprocess.h 2005-09-06 15:06:16.032949750 +0200 +@@ -249,6 +249,7 @@ + #include <ptlib/syncpoint.h> + #include <ptlib/pfactory.h> + ++class PHouseKeepingThread; + + /**Create a process. + This macro is used to create the components necessary for a user PWLib +@@ -752,10 +753,10 @@ + + PArgList arguments; + // The list of arguments +- ++ public: + PTimerList timers; + // List of active timers in system +- ++ private: + PTime programStartTime; + // time at which process was intantiated, i.e. started + +diff -Naur pwlib-1.8.4/include/ptlib/timer.h pwlib-1.8.4-gcc4/include/ptlib/timer.h +--- pwlib-1.8.4/include/ptlib/timer.h 2003-09-17 11:01:00.000000000 +0200 ++++ pwlib-1.8.4-gcc4/include/ptlib/timer.h 2005-09-06 15:06:16.036950000 +0200 +@@ -123,6 +123,7 @@ + #endif + + class PThread; ++class PTimerList; + + #include <ptlib/notifier.h> + +diff -Naur pwlib-1.8.4/include/ptlib/unix/ptlib/pprocess.h pwlib-1.8.4-gcc4/include/ptlib/unix/ptlib/pprocess.h +--- pwlib-1.8.4/include/ptlib/unix/ptlib/pprocess.h 2004-05-23 23:11:39.000000000 +0200 ++++ pwlib-1.8.4-gcc4/include/ptlib/unix/ptlib/pprocess.h 2005-09-06 15:06:16.036950000 +0200 +@@ -171,6 +171,7 @@ + PDICTIONARY(ThreadDict, POrdinalKey, PThread); + ThreadDict activeThreads; + PMutex threadMutex; ++ public: + int timerChangePipe[2]; + PHouseKeepingThread * housekeepingThread; + diff --git a/dev-libs/pwlib/files/pwlib-1.8.7-gcc-4.1-v4l2.patch b/dev-libs/pwlib/files/pwlib-1.8.7-gcc-4.1-v4l2.patch new file mode 100644 index 0000000..f544662 --- /dev/null +++ b/dev-libs/pwlib/files/pwlib-1.8.7-gcc-4.1-v4l2.patch @@ -0,0 +1,11 @@ +--- plugins/vidinput_v4l2/vidinput_v4l2.cxx.old 2006-06-06 21:34:31.000000000 +0200 ++++ plugins/vidinput_v4l2/vidinput_v4l2.cxx 2006-06-06 21:35:17.000000000 +0200 +@@ -74,7 +74,7 @@ + + protected: + +- virtual PString V4L2Names::BuildUserFriendly(PString devname); ++ virtual PString BuildUserFriendly(PString devname); + + enum KernelVersionEnum { + K2_4, diff --git a/dev-libs/pwlib/files/pwlib-1.8.7-gcc41.patch b/dev-libs/pwlib/files/pwlib-1.8.7-gcc41.patch new file mode 100644 index 0000000..ad0c1ba --- /dev/null +++ b/dev-libs/pwlib/files/pwlib-1.8.7-gcc41.patch @@ -0,0 +1,38 @@ +diff -ur pwlib-1.8.7-orig/include/ptclib/vxml.h pwlib-1.8.7/include/ptclib/vxml.h +--- pwlib-1.8.7-orig/include/ptclib/vxml.h 2006-05-01 13:16:53.000000000 -0400 ++++ pwlib-1.8.7/include/ptclib/vxml.h 2006-05-01 13:20:30.000000000 -0400 +@@ -366,7 +366,7 @@ + + virtual PString GetVar(const PString & str) const; + virtual void SetVar(const PString & ostr, const PString & val); +- virtual PString PVXMLSession::EvaluateExpr(const PString & oexpr); ++ virtual PString EvaluateExpr(const PString & oexpr); + + virtual BOOL RetreiveResource(const PURL & url, PString & contentType, PFilePath & fn, BOOL useCache = TRUE); + +diff -ur pwlib-1.8.7-orig/include/ptlib/pstring.h pwlib-1.8.7/include/ptlib/pstring.h +--- pwlib-1.8.7-orig/include/ptlib/pstring.h 2006-05-01 13:16:53.000000000 -0400 ++++ pwlib-1.8.7/include/ptlib/pstring.h 2006-05-01 13:17:25.000000000 -0400 +@@ -3182,5 +3182,10 @@ + int lastError; + }; + ++PString psprintf( ++ const char * cfmt, /// C string for output format. ++ ... /// Extra parameters for #sprintf()# call. ++ ); ++ + + // End Of File /////////////////////////////////////////////////////////////// +diff -ur pwlib-1.8.7-orig/src/ptlib/unix/svcproc.cxx pwlib-1.8.7/src/ptlib/unix/svcproc.cxx +--- pwlib-1.8.7-orig/src/ptlib/unix/svcproc.cxx 2006-05-01 13:16:53.000000000 -0400 ++++ pwlib-1.8.7/src/ptlib/unix/svcproc.cxx 2006-05-01 13:26:51.000000000 -0400 +@@ -279,6 +279,8 @@ + #include <sys/resource.h> + #endif + ++extern void PXSignalHandler(int sig); ++ + #define new PNEW + + diff --git a/dev-libs/pwlib-cvs/files/pwlib-1.8.7-instplugins.diff b/dev-libs/pwlib/files/pwlib-1.8.7-instplugins.diff index bd59a4b..bd59a4b 100644 --- a/dev-libs/pwlib-cvs/files/pwlib-1.8.7-instplugins.diff +++ b/dev-libs/pwlib/files/pwlib-1.8.7-instplugins.diff diff --git a/dev-libs/pwlib/files/pwlib-1.9.3-sdl-configure.patch b/dev-libs/pwlib/files/pwlib-1.9.3-sdl-configure.patch new file mode 100644 index 0000000..bf8f402 --- /dev/null +++ b/dev-libs/pwlib/files/pwlib-1.9.3-sdl-configure.patch @@ -0,0 +1,48 @@ +--- pwlib-1.9.3/configure.ac.orig 2006-01-31 10:23:43.000000000 +0100 ++++ pwlib-1.9.3/configure.ac 2006-02-16 00:42:27.000000000 +0100 +@@ -1476,6 +1476,7 @@ + AC_ARG_ENABLE(sdl, + [ --disable-sdl disable SDL support]) + ++ + if test "${enable_sdl}z" = "z" ; then + enable_sdl=$default_sdl + fi +@@ -1485,6 +1486,9 @@ + AC_MSG_NOTICE(SDL disabled) + AC_DEFINE(P_SDL, 0) + else ++ dnl check for sdl-config ++ AC_PATH_PROG([SDL_CONFIG], [sdl-config],, [$PATH:/usr/local/bin]) ++ + dnl SDL checks + if test "${SDLLIB:-unset}" = "unset" ; then + SDLLIB=SDL +@@ -1496,7 +1500,13 @@ + if test "${X11LIBDIR:-unset}" == "unset" ; then + X11LIBDIR=/usr/X11R6/lib + fi +- AC_CHECK_LIB(SDL, SDL_CreateYUVOverlay, HAS_SDL=1, HAS_SDL=, -L${X11LIBDIR} -lpthread -lX11 -lXext) ++ if test "x${SDL_CONFIG}" = "x" ; then ++ SDL_LIBS="-L${X11LIBDIR} -lpthread -lX11 -lXext -laa" ++ else ++ SDL_LIBS="`${SDL_CONFIG} --libs`" ++ fi ++ ++ AC_CHECK_LIB([SDL], [SDL_CreateYUVOverlay], [HAS_SDL=1], [HAS_SDL=], [$SDL_LIBS]) + fi + + dnl freeBSD SDL check +@@ -1516,7 +1526,11 @@ + if test ${SDLLIBDIR:-unset} != "unset" ; then + LDFLAGS="$LDFLAGS -L${SDLLIBDIR}" + fi +- ENDLDLIBS="$ENDLDLIBS -l${SDLLIB}" ++ if test "x${SDL_CONFIG}" = "x" ; then ++ ENDLDLIBS="$ENDLDLIBS -l${SDLLIB}" ++ else ++ ENDLDLIBS="$ENDLDLIBS `${SDL_CONFIG} --libs`" ++ fi + fi + fi + AC_SUBST(HAS_SDL) diff --git a/net-misc/asterisk/metadata.xml b/dev-libs/pwlib/metadata.xml index 10f27dc..9b95cf0 100644 --- a/net-misc/asterisk/metadata.xml +++ b/dev-libs/pwlib/metadata.xml @@ -2,8 +2,8 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>voip</herd> +<herd>gnome</herd> <maintainer> - <email>stkn@gentoo.org</email> - <name>Stefan Knoblich</name> + <email>stkn@gentoo.org</email> </maintainer> </pkgmetadata> diff --git a/dev-libs/pwlib/pwlib-1.10.0.ebuild b/dev-libs/pwlib/pwlib-1.10.0.ebuild new file mode 100644 index 0000000..abd0e5c --- /dev/null +++ b/dev-libs/pwlib/pwlib-1.10.0.ebuild @@ -0,0 +1,148 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.10.0.ebuild,v 1.1 2006/03/20 23:27:37 genstef Exp $ + +inherit eutils flag-o-matic multilib + +IUSE="alsa debug ieee1394 ipv6 ldap oss sasl sdl ssl v4l v4l2 xml" + +DESCRIPTION="Portable Multiplatform Class Libraries used by several VoIP applications" +HOMEPAGE="http://www.ekiga.org" +SRC_URI="http://www.ekiga.org/admin/downloads/latest/sources/sources/${P}.tar.gz" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" + +RDEPEND="alsa? ( media-libs/alsa-lib ) + ieee1394? ( media-libs/libdv + sys-libs/libavc1394 + sys-libs/libraw1394 + <media-libs/libdc1394-1.9.99 + !>=media-libs/libdc1394-2.0.0_pre1 ) + ldap? ( net-nds/openldap ) + sasl? ( dev-libs/cyrus-sasl ) + sdl? ( media-libs/libsdl ) + ssl? ( dev-libs/openssl ) + xml? ( dev-libs/expat )" +DEPEND="${RDEPEND} + >=sys-devel/bison-1.28 + >=sys-devel/flex-2.5.4a + >=sys-apps/sed-4" + +src_unpack() { + unpack ${A} + cd ${S} + + # filter out -O3, -Os and -mcpu embedded compiler flags + sed -i \ + -e "s:-mcpu=\$(CPUTYPE)::" \ + -e "s:-O3 -DNDEBUG:-DNDEBUG:" \ + -e "s:-Os::" \ + make/unix.mak + + # don't break make install if there are no plugins to install + epatch ${FILESDIR}/pwlib-1.8.7-instplugins.diff + +# # fix "command not found" error during configure run +# epatch ${FILESDIR}/pwlib-1.9.2-ldap-configure.patch + + # use sdl-config to query required libraries + epatch ${FILESDIR}/pwlib-1.9.3-sdl-configure.patch + + autoconf || die "autoconf failed" +} + +src_compile() { + # may cause ICE (bug #70638) + filter-flags -fstack-protector + + econf \ + --enable-plugins \ + $(use_enable v4l2) \ + $(use_enable v4l) \ + $(use_enable ieee1394 dc) \ + $(use_enable ieee1394 avc) \ + $(use_enable oss) \ + $(use_enable alsa) \ + $(use_enable ipv6) \ + $(use_enable sdl) \ + $(use_enable ssl openssl) \ + $(use_enable debug exceptions) \ + $(use_enable debug memcheck) \ + $(use_enable ldap openldap) \ + $(use_enable sasl) \ + $(use_enable xml expat) \ + || die "configure failed" + + # Horrible hack to strip out -L/usr/lib to allow upgrades + # problem is it adds -L/usr/lib before -L${S} when SSL is + # enabled. Same thing for -I/usr/include. +# sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" \ +# -e "s:^\(STDCCFLAGS.*\)-I/usr/include:\1:" \ +# ${S}/make/ptbuildopts.mak + +# sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" \ +# -e "s:^\(LDFLAGS[\s]*=.*\) -I/usr/include:\1:" \ +# -e "s:^\(CCFLAGS[\s]*=.*\) -I/usr/include:\1:" \ +# ${S}/make/ptlib-config + + emake -j1 opt || die "make failed" +} + +src_install() { + local libdir libname + + libdir=$(get_libdir) + + # makefile doesn't create ${D}/usr/bin + make PREFIX=/usr DESTDIR=${D} install || die "install failed" + + ## vv will try to fix the mess below, requires a lot of patching though... + + # update 2005/08/22: + # + # locations in *.mak files haven been fixed + # directories have been replaced w/ symlinks + # (left to not break things, doing some testing atm) + + # Note: reactivating this seems to be the only easy solution to slot pwlib ebuild + # and keep applications happy (e.g. gnomemeeting / ekiga) + +# dosym /usr/include /usr/share/pwlib/include +# dosym /usr/${libdir} /usr/share/pwlib/${libdir} +# +# # just in case... +# if [[ "${libdir}" = "lib64" ]]; then +# dosym /usr/share/pwlib/lib64 /usr/share/pwlib/lib +# fi + + ## ^^ bad stuff + + # fix symlink + libname=$(basename `ls ${D}/usr/${libdir}/libpt_*_*_r.so.${PV}`) + rm ${D}/usr/${libdir}/libpt.so + dosym ${libname} /usr/${libdir}/libpt.so + + # fix makefiles to use headers from /usr/include and libs from /usr/lib + # instead of /usr/share/pwlib + # Note: change to /usr/include/pwlib-${PV} (or whereever includes will be) + # once pwlib ebuilds get slotted + sed -i -e "s:-I\$(PWLIBDIR)\(/include[a-zA-Z0-9_/-]\+\):-I/usr/include\1:g" \ + -e "s:-I\$(PWLIBDIR)/include::g" \ + -e "s:^\(PW_LIBDIR[ \t]\+=\).*:\1 /usr/${libdir}:" \ + ${D}/usr/share/pwlib/make/*.mak + + # dodgy configure/makefiles forget to expand this + # Note: change to /usr/share/pwlib/${PV} (or whatever PWLIBDIR should point to) + # once pwlib ebuilds get slotted + sed -i -e "s:\${exec_prefix}:/usr:" \ + ${D}/usr/bin/ptlib-config \ + ${D}/usr/share/pwlib/make/ptlib-config + + # copy version.h + insinto /usr/share/pwlib + doins version.h + + dodoc ReadMe.txt ReadMe_QOS.txt History.txt mpl-1.0.htm +} diff --git a/dev-libs/pwlib/pwlib-1.10.1.ebuild b/dev-libs/pwlib/pwlib-1.10.1.ebuild new file mode 100644 index 0000000..6928c6b --- /dev/null +++ b/dev-libs/pwlib/pwlib-1.10.1.ebuild @@ -0,0 +1,151 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.10.1.ebuild,v 1.2 2006/06/06 18:50:13 genstef Exp $ + +inherit eutils flag-o-matic multilib + +IUSE="alsa debug ieee1394 ipv6 ldap oss sasl sdl ssl v4l v4l2 xml" + +DESCRIPTION="Portable Multiplatform Class Libraries used by several VoIP applications" +HOMEPAGE="http://www.ekiga.org" +SRC_URI="http://www.ekiga.org/admin/downloads/latest/sources/sources/${P}.tar.gz" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" + +RDEPEND="alsa? ( media-libs/alsa-lib ) + ieee1394? ( media-libs/libdv + sys-libs/libavc1394 + sys-libs/libraw1394 + <media-libs/libdc1394-1.9.99 + !>=media-libs/libdc1394-2.0.0_pre1 ) + ldap? ( net-nds/openldap ) + sasl? ( dev-libs/cyrus-sasl ) + sdl? ( media-libs/libsdl ) + ssl? ( dev-libs/openssl ) + xml? ( dev-libs/expat )" +DEPEND="${RDEPEND} + >=sys-devel/bison-1.28 + >=sys-devel/flex-2.5.4a + >=sys-apps/sed-4" + +src_unpack() { + unpack ${A} + cd ${S} + + # filter out -O3, -Os and -mcpu embedded compiler flags + sed -i \ + -e "s:-mcpu=\$(CPUTYPE)::" \ + -e "s:-O3 -DNDEBUG:-DNDEBUG:" \ + -e "s:-Os::" \ + make/unix.mak + + # don't break make install if there are no plugins to install + epatch ${FILESDIR}/pwlib-1.8.7-instplugins.diff + +# # fix "command not found" error during configure run +# epatch ${FILESDIR}/pwlib-1.9.2-ldap-configure.patch + + # use sdl-config to query required libraries + epatch ${FILESDIR}/pwlib-1.9.3-sdl-configure.patch + + autoconf || die "autoconf failed" +} + +src_compile() { + local myconf="" + # may cause ICE (bug #70638) + filter-flags -fstack-protector + # disable-alsa breaks oss, see bug 127677 + use alsa && myconf="--enable-alsa" + + econf \ + --enable-plugins \ + $(use_enable v4l2) \ + $(use_enable v4l) \ + $(use_enable ieee1394 dc) \ + $(use_enable ieee1394 avc) \ + $(use_enable oss) \ + $(use_enable ipv6) \ + $(use_enable sdl) \ + $(use_enable ssl openssl) \ + $(use_enable debug exceptions) \ + $(use_enable debug memcheck) \ + $(use_enable ldap openldap) \ + $(use_enable sasl) \ + $(use_enable xml expat) \ + ${myconf} \ + || die "configure failed" + + # Horrible hack to strip out -L/usr/lib to allow upgrades + # problem is it adds -L/usr/lib before -L${S} when SSL is + # enabled. Same thing for -I/usr/include. +# sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" \ +# -e "s:^\(STDCCFLAGS.*\)-I/usr/include:\1:" \ +# ${S}/make/ptbuildopts.mak + +# sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" \ +# -e "s:^\(LDFLAGS[\s]*=.*\) -I/usr/include:\1:" \ +# -e "s:^\(CCFLAGS[\s]*=.*\) -I/usr/include:\1:" \ +# ${S}/make/ptlib-config + + emake -j1 opt || die "make failed" +} + +src_install() { + local libdir libname + + libdir=$(get_libdir) + + # makefile doesn't create ${D}/usr/bin + make PREFIX=/usr DESTDIR=${D} install || die "install failed" + + ## vv will try to fix the mess below, requires a lot of patching though... + + # update 2005/08/22: + # + # locations in *.mak files haven been fixed + # directories have been replaced w/ symlinks + # (left to not break things, doing some testing atm) + + # Note: reactivating this seems to be the only easy solution to slot pwlib ebuild + # and keep applications happy (e.g. gnomemeeting / ekiga) + +# dosym /usr/include /usr/share/pwlib/include +# dosym /usr/${libdir} /usr/share/pwlib/${libdir} +# +# # just in case... +# if [[ "${libdir}" = "lib64" ]]; then +# dosym /usr/share/pwlib/lib64 /usr/share/pwlib/lib +# fi + + ## ^^ bad stuff + + # fix symlink + libname=$(basename `ls ${D}/usr/${libdir}/libpt_*_*_r.so.${PV}`) + rm ${D}/usr/${libdir}/libpt.so + dosym ${libname} /usr/${libdir}/libpt.so + + # fix makefiles to use headers from /usr/include and libs from /usr/lib + # instead of /usr/share/pwlib + # Note: change to /usr/include/pwlib-${PV} (or whereever includes will be) + # once pwlib ebuilds get slotted + sed -i -e "s:-I\$(PWLIBDIR)\(/include[a-zA-Z0-9_/-]\+\):-I/usr/include\1:g" \ + -e "s:-I\$(PWLIBDIR)/include::g" \ + -e "s:^\(PW_LIBDIR[ \t]\+=\).*:\1 /usr/${libdir}:" \ + ${D}/usr/share/pwlib/make/*.mak + + # dodgy configure/makefiles forget to expand this + # Note: change to /usr/share/pwlib/${PV} (or whatever PWLIBDIR should point to) + # once pwlib ebuilds get slotted + sed -i -e "s:\${exec_prefix}:/usr:" \ + ${D}/usr/bin/ptlib-config \ + ${D}/usr/share/pwlib/make/ptlib-config + + # copy version.h + insinto /usr/share/pwlib + doins version.h + + dodoc ReadMe.txt ReadMe_QOS.txt History.txt mpl-1.0.htm +} diff --git a/dev-libs/pwlib/pwlib-1.11.0.ebuild b/dev-libs/pwlib/pwlib-1.11.0.ebuild new file mode 100644 index 0000000..df38ccb --- /dev/null +++ b/dev-libs/pwlib/pwlib-1.11.0.ebuild @@ -0,0 +1,158 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.10.1.ebuild,v 1.2 2006/06/06 18:50:13 genstef Exp $ + +inherit eutils flag-o-matic multilib autotools + +IUSE="alsa debug ieee1394 ipv6 ldap oss sasl sdl ssl v4l v4l2 xml" + +MY_P="${PN}-v${PV//./_}" +DESCRIPTION="Portable Multiplatform Class Libraries used by several VoIP applications" +HOMEPAGE="http://www.ekiga.org" +SRC_URI="mirror://sourceforge/openh323/${MY_P}-src-tar.gz" +#SRC_URI="http://www.ekiga.org/admin/downloads/latest/sources/sources/${P}.tar.gz" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" + +RDEPEND="alsa? ( media-libs/alsa-lib ) + ieee1394? ( media-libs/libdv + sys-libs/libavc1394 + sys-libs/libraw1394 + <media-libs/libdc1394-1.9.99 + !>=media-libs/libdc1394-2.0.0_pre1 ) + ldap? ( net-nds/openldap ) + sasl? ( dev-libs/cyrus-sasl ) + sdl? ( media-libs/libsdl ) + ssl? ( dev-libs/openssl ) + xml? ( dev-libs/expat )" +DEPEND="${RDEPEND} + >=sys-devel/bison-1.28 + >=sys-devel/flex-2.5.4a + >=sys-apps/sed-4" +S=${WORKDIR}/${MY_P/-/_} + +src_unpack() { + # currently complaining to upstream about new naming scheme + tar -C ${WORKDIR} -xzf ${DISTDIR}/${MY_P}-src-tar.gz || die "Unpacking of ${PF} failed" + + cd ${S} + + # filter out -O3, -Os and -mcpu embedded compiler flags + sed -i \ + -e "s:-mcpu=\$(CPUTYPE)::" \ + -e "s:-O3 -DNDEBUG:-DNDEBUG:" \ + -e "s:-Os::" \ + make/unix.mak + + # don't break make install if there are no plugins to install + epatch ${FILESDIR}/pwlib-1.8.7-instplugins.diff + +# # fix "command not found" error during configure run +# epatch ${FILESDIR}/pwlib-1.9.2-ldap-configure.patch + + # use sdl-config to query required libraries + epatch ${FILESDIR}/pwlib-1.11.0-sdl-configure.patch + + # eautoheader fails, thus we only select some of eautoreconfig + eaclocal + eautoconf +} + +src_compile() { + local myconf="" + # may cause ICE (bug #70638) + filter-flags -fstack-protector + # disable-alsa breaks oss, see bug 127677 + use alsa && myconf="--enable-alsa" + + econf \ + --enable-plugins \ + $(use_enable v4l2) \ + $(use_enable v4l) \ + $(use_enable ieee1394 dc) \ + $(use_enable ieee1394 avc) \ + $(use_enable oss) \ + $(use_enable ipv6) \ + $(use_enable sdl) \ + $(use_enable ssl openssl) \ + $(use_enable debug exceptions) \ + $(use_enable debug memcheck) \ + $(use_enable ldap openldap) \ + $(use_enable sasl) \ + $(use_enable xml expat) \ + ${myconf} \ + || die "configure failed" + + # Horrible hack to strip out -L/usr/lib to allow upgrades + # problem is it adds -L/usr/lib before -L${S} when SSL is + # enabled. Same thing for -I/usr/include. +# sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" \ +# -e "s:^\(STDCCFLAGS.*\)-I/usr/include:\1:" \ +# ${S}/make/ptbuildopts.mak + +# sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" \ +# -e "s:^\(LDFLAGS[\s]*=.*\) -I/usr/include:\1:" \ +# -e "s:^\(CCFLAGS[\s]*=.*\) -I/usr/include:\1:" \ +# ${S}/make/ptlib-config + + emake -j1 opt || die "make failed" +} + +src_install() { + local libdir libname + + libdir=$(get_libdir) + + # makefile doesn't create ${D}/usr/bin + make PREFIX=/usr DESTDIR=${D} install || die "install failed" + + ## vv will try to fix the mess below, requires a lot of patching though... + + # update 2005/08/22: + # + # locations in *.mak files haven been fixed + # directories have been replaced w/ symlinks + # (left to not break things, doing some testing atm) + + # Note: reactivating this seems to be the only easy solution to slot pwlib ebuild + # and keep applications happy (e.g. gnomemeeting / ekiga) + +# dosym /usr/include /usr/share/pwlib/include +# dosym /usr/${libdir} /usr/share/pwlib/${libdir} +# +# # just in case... +# if [[ "${libdir}" = "lib64" ]]; then +# dosym /usr/share/pwlib/lib64 /usr/share/pwlib/lib +# fi + + ## ^^ bad stuff + + # fix symlink + libname=$(basename `ls ${D}/usr/${libdir}/libpt_*_*_r.so.${PV}`) + rm ${D}/usr/${libdir}/libpt.so + dosym ${libname} /usr/${libdir}/libpt.so + + # fix makefiles to use headers from /usr/include and libs from /usr/lib + # instead of /usr/share/pwlib + # Note: change to /usr/include/pwlib-${PV} (or whereever includes will be) + # once pwlib ebuilds get slotted + sed -i -e "s:-I\$(PWLIBDIR)\(/include[a-zA-Z0-9_/-]\+\):-I/usr/include\1:g" \ + -e "s:-I\$(PWLIBDIR)/include::g" \ + -e "s:^\(PW_LIBDIR[ \t]\+=\).*:\1 /usr/${libdir}:" \ + ${D}/usr/share/pwlib/make/*.mak + + # dodgy configure/makefiles forget to expand this + # Note: change to /usr/share/pwlib/${PV} (or whatever PWLIBDIR should point to) + # once pwlib ebuilds get slotted + sed -i -e "s:\${exec_prefix}:/usr:" \ + ${D}/usr/bin/ptlib-config \ + ${D}/usr/share/pwlib/make/ptlib-config + + # copy version.h + insinto /usr/share/pwlib + doins version.h + + dodoc ReadMe.txt ReadMe_QOS.txt History.txt mpl-1.0.htm +} diff --git a/dev-libs/pwlib/pwlib-1.5.0-r1.ebuild b/dev-libs/pwlib/pwlib-1.5.0-r1.ebuild new file mode 100644 index 0000000..008bfb3 --- /dev/null +++ b/dev-libs/pwlib/pwlib-1.5.0-r1.ebuild @@ -0,0 +1,88 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.5.0-r1.ebuild,v 1.6 2005/01/08 20:12:42 stkn Exp $ + +inherit eutils + +DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323" +HOMEPAGE="http://www.openh323.org/" +SRC_URI="http://www.openh323.org/bin/${PN}_${PV}.tar.gz" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~x86 ~ppc -sparc" +IUSE="ldap sdl ssl" + +DEPEND=">=sys-devel/bison-1.28 + >=sys-devel/flex-2.5.4a + dev-libs/expat + >=sys-apps/sed-4 + ldap? ( net-nds/openldap ) + sdl? ( media-libs/libsdl ) + ssl? ( dev-libs/openssl )" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + cd ${S}/make + + # filter out -O3 and -mcpu embedded compiler flags + sed -i \ + -e "s:-mcpu=\$(CPUTYPE)::" \ + -e "s:-O3 -DNDEBUG:-DNDEBUG:" \ + unix.mak + cd ${S} + epatch ${FILESDIR}/pwlib-1.5.0-r1-gentoo.diff || die "patch failed" +} + +src_compile() { + if use ssl ; then + export OPENSSLFLAG=1 + export OPENSSLDIR=/usr + export OPENSSLLIBS="-lssl -lcrypt" + fi + + econf || die "configure failed" + + # horrible hack to strip out -L/usr/lib to allow upgrades + # problem is it adds -L/usr/lib before -L${S} when SSL is enabled + sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" ${S}/make/ptbuildopts.mak + sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" ${S}/make/ptlib-config + + make opt || die "make failed" +} + +src_install() { + # make these because the makefile isn't smart enough + dodir /usr/bin /usr/lib /usr/share /usr/include + make PREFIX=${D}/usr install || die "install failed" + + # these are for compiling openh323 + # NOTE: symlinks don't work when upgrading + # FIXME: probably should fix this with ptlib-config + dodir /usr/share/pwlib/include + cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include + + dodir /usr/share/pwlib/lib + for x in ${D}/usr/lib/*; do + dosym /usr/lib/`basename ${x}` /usr/share/pwlib/lib/`basename ${x}` + done + + # remove CVS dirs + find ${D} -name CVS -type d | xargs rm -rf + + # fix symlink + rm ${D}/usr/lib/libpt.so + if [ ${ARCH} = "ppc" ] ; then + dosym /usr/lib/libpt_linux_ppc_r.so.${PV} /usr/lib/libpt.so + else + dosym /usr/lib/libpt_linux_x86_r.so.${PV} /usr/lib/libpt.so + fi + + # strip ${S} stuff + dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config + dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak + + dodoc ReadMe.txt History.txt +} diff --git a/dev-libs/pwlib/pwlib-1.5.0.ebuild b/dev-libs/pwlib/pwlib-1.5.0.ebuild new file mode 100644 index 0000000..911d187 --- /dev/null +++ b/dev-libs/pwlib/pwlib-1.5.0.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.5.0.ebuild,v 1.14 2005/01/08 20:12:42 stkn Exp $ + +DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323" +HOMEPAGE="http://www.openh323.org/" +SRC_URI="http://www.openh323.org/bin/${PN}_${PV}.tar.gz" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="x86 ppc -sparc" +IUSE="ldap sdl ssl" + +DEPEND=">=sys-devel/bison-1.28 + >=sys-devel/flex-2.5.4a + dev-libs/expat + >=sys-apps/sed-4 + ldap? ( net-nds/openldap ) + sdl? ( media-libs/libsdl ) + ssl? ( dev-libs/openssl )" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + cd ${S}/make + + # filter out -O3 and -mcpu embedded compiler flags + sed -i \ + -e "s:-mcpu=\$(CPUTYPE)::" \ + -e "s:-O3 -DNDEBUG:-DNDEBUG:" \ + unix.mak +} + +src_compile() { + if use ssl; then + export OPENSSLFLAG=1 + export OPENSSLDIR=/usr + export OPENSSLLIBS="-lssl -lcrypt" + fi + + econf || die "configure failed" + + # horrible hack to strip out -L/usr/lib to allow upgrades + # problem is it adds -L/usr/lib before -L${S} when SSL is enabled + sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" ${S}/make/ptbuildopts.mak + sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" ${S}/make/ptlib-config + + make opt || die "make failed" +} + +src_install() { + # make these because the makefile isn't smart enough + dodir /usr/bin /usr/lib /usr/share /usr/include + make PREFIX=${D}/usr install || die "install failed" + + # these are for compiling openh323 + # NOTE: symlinks don't work when upgrading + # FIXME: probably should fix this with ptlib-config + dodir /usr/share/pwlib/include + cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include + + dodir /usr/share/pwlib/lib + for x in ${D}/usr/lib/*; do + dosym /usr/lib/`basename ${x}` /usr/share/pwlib/lib/`basename ${x}` + done + + # remove CVS dirs + find ${D} -name CVS -type d | xargs rm -rf + + # fix symlink + rm ${D}/usr/lib/libpt.so + if [ ${ARCH} = "ppc" ] ; then + dosym /usr/lib/libpt_linux_ppc_r.so.${PV} /usr/lib/libpt.so + else + dosym /usr/lib/libpt_linux_x86_r.so.${PV} /usr/lib/libpt.so + fi + + # strip ${S} stuff + dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config + dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak + + dodoc ReadMe.txt History.txt +} diff --git a/dev-libs/pwlib/pwlib-1.5.2-r3.ebuild b/dev-libs/pwlib/pwlib-1.5.2-r3.ebuild new file mode 100644 index 0000000..d4addd9 --- /dev/null +++ b/dev-libs/pwlib/pwlib-1.5.2-r3.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.5.2-r3.ebuild,v 1.9 2005/01/08 20:12:42 stkn Exp $ + +inherit eutils + +DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323" +HOMEPAGE="http://www.openh323.org/" +SRC_URI="http://www.openh323.org/bin/${PN}_${PV}.tar.gz" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="x86 ppc sparc alpha amd64" +IUSE="ssl sdl ldap" + +DEPEND=">=sys-devel/bison-1.28 + >=sys-devel/flex-2.5.4a + dev-libs/expat + >=sys-apps/sed-4 + ldap? ( net-nds/openldap ) + sdl? ( media-libs/libsdl ) + ssl? ( dev-libs/openssl )" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + cd ${S} + + # fix #45846 / CAN-2004-0097 + epatch ${FILESDIR}/${P}-asnparser-secfix.diff + + cd ${S}/make + + # filter out -O3 and -mcpu embedded compiler flags + sed -i \ + -e "s:-mcpu=\$(CPUTYPE)::" \ + -e "s:-O3 -DNDEBUG:-DNDEBUG:" \ + unix.mak +} + +src_compile() { + if use ssl ; then + export OPENSSLFLAG=1 + export OPENSSLDIR="/usr" + export OPENSSLLIBS="-lssl -lcrypt" + fi + + econf || die "configure failed" + + # Horrible hack to strip out -L/usr/lib to allow upgrades + # problem is it adds -L/usr/lib before -L${S} when SSL is + # enabled. Same thing for -I/usr/include. + sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" \ + -e "s:^\(STDCCFLAGS.*\)-I/usr/include:\1:" \ + ${S}/make/ptbuildopts.mak + sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" \ + -e "s:^\(LDFLAGS[\s]*=.*\) -I/usr/include:\1:" \ + -e "s:^\(CCFLAGS[\s]*=.*\) -I/usr/include:\1:" \ + ${S}/make/ptlib-config + + emake -j1 opt || die "make failed" +} + +src_install() { + # make these because the makefile isn't smart enough + dodir /usr/bin /usr/lib /usr/share /usr/include + make PREFIX=${D}/usr install || die "install failed" + + # these are for compiling openh323 + # NOTE: symlinks don't work when upgrading + # FIXME: probably should fix this with ptlib-config + dodir /usr/share/pwlib/include + cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include + + dodir /usr/share/pwlib/lib + for x in ${D}/usr/lib/*; do + dosym /usr/lib/`basename ${x}` /usr/share/pwlib/lib/`basename ${x}` + done + + # remove CVS dirs + find ${D} -name CVS -type d | xargs rm -rf + + # fix symlink + # only amd64 needs special care, afaiks + rm ${D}/usr/lib/libpt.so + if [ ${ARCH} = "amd64" ] ; then + dosym /usr/lib/libpt_linux_x86_64_r.so.${PV} /usr/lib/libpt.so + else + dosym /usr/lib/libpt_linux_${ARCH}_r.so.${PV} /usr/lib/libpt.so + fi + + # strip ${S} stuff + dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config + dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak + + # dodgy configure/makefiles forget to expand this + dosed 's:${exec_prefix}:/usr:' /usr/bin/ptlib-config + + # satisfy ptlib.mak's weird definition (should check if true for future versions) + cp ${D}/usr/bin/ptlib-config ${D}/usr/share/pwlib/make/ptlib-config + + # copy version.h + insinto /usr/share/pwlib + doins version.h + + dodoc ReadMe.txt History.txt +} diff --git a/dev-libs/pwlib/pwlib-1.6.3-r3.ebuild b/dev-libs/pwlib/pwlib-1.6.3-r3.ebuild new file mode 100644 index 0000000..f0724d8 --- /dev/null +++ b/dev-libs/pwlib/pwlib-1.6.3-r3.ebuild @@ -0,0 +1,154 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.6.3-r3.ebuild,v 1.3 2005/09/02 22:47:08 stkn Exp $ + +inherit eutils multilib + +IUSE="ssl sdl ieee1394 alsa esd" + +DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323" +HOMEPAGE="http://www.openh323.org/" +SRC_URI="http://www.gnomemeeting.org/admin/downloads/latest/sources/sources/${P}.tar.gz" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="x86 sparc amd64 ppc alpha" + +DEPEND=">=sys-devel/bison-1.28 + >=sys-devel/flex-2.5.4a + dev-libs/expat + >=sys-apps/sed-4 + net-nds/openldap + sdl? ( media-libs/libsdl ) + ssl? ( dev-libs/openssl ) + alsa? ( media-libs/alsa-lib ) + ieee1394? ( media-libs/libdv + sys-libs/libavc1394 + sys-libs/libraw1394 ) + esd? ( media-sound/esound )" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + cd ${S}/make + + # filter out -O3 and -mcpu embedded compiler flags + sed -i \ + -e "s:-mcpu=\$(CPUTYPE)::" \ + -e "s:-O3 -DNDEBUG:-DNDEBUG:" \ + unix.mak + + # newer esound package doesn't install libesd.a anymore, + # use dynamic library instead (fixes #100432) + epatch ${FILESDIR}/pwlib-1.6.3-dyn-esd.patch +} + +src_compile() { + local plugins + local myconf + + if use ssl; then + export OPENSSLFLAG=1 + export OPENSSLDIR="/usr" + export OPENSSLLIBS="-lssl -lcrypt" + fi + + ## gnomemeeting-1.00 requires pwlib to be built w/ IPV6 support + ## (even if itself is built without...) + #use ipv6 \ + # && myconf="${myconf} --enable-ipv6" \ + # || myconf="${myconf} --disable-ipv6" + myconf="${myconf} --enable-ipv6" + + # plugins, oss and v4l are default + plugins="oss v4l" + + use ieee1394 \ + && plugins="${plugins} avc" + + use alsa \ + && plugins="${plugins} alsa" + + if use esd; then + # fixes bug #45059 + export ESDDIR=/usr + fi + + # merge plugin options (safe way if default = "") + plugins="`echo ${plugins} | sed -e "y: :,:"`" + + econf ${myconf} \ + --enable-plugins \ + --with-plugins=${plugins} || die "configure failed" + + # Horrible hack to strip out -L/usr/lib to allow upgrades + # problem is it adds -L/usr/lib before -L${S} when SSL is + # enabled. Same thing for -I/usr/include. + sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" \ + -e "s:^\(STDCCFLAGS.*\)-I/usr/include:\1:" \ + ${S}/make/ptbuildopts.mak + sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" \ + -e "s:^\(LDFLAGS[\s]*=.*\) -I/usr/include:\1:" \ + -e "s:^\(CCFLAGS[\s]*=.*\) -I/usr/include:\1:" \ + ${S}/make/ptlib-config + + # remove -fno-rtti, this breaks various things *grr* + sed -i -e "s:-fno-rtti::" \ + make/ptbuildopts.mak + sed -i -e "s:-fno-rtti::" \ + make/ptlib-config + + emake -j1 opt || die "make failed" + emake -j1 PWLIBDIR=${S} -C plugins opt || die "make plugins failed" +} + +src_install() { + # make these because the makefile isn't smart enough + dodir /usr/bin /usr/$(get_libdir) /usr/share /usr/include + make PREFIX=/usr DESTDIR=${D} install || die "install failed" + + # these are for compiling openh323 + # NOTE: symlinks don't work when upgrading + # FIXME: probably should fix this with ptlib-config + dodir /usr/share/pwlib/include + cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include + + dodir /usr/share/pwlib/$(get_libdir) + for x in ${D}/usr/$(get_libdir)/*; do + dosym /usr/$(get_libdir)/`basename ${x}` /usr/share/pwlib/$(get_libdir)/`basename ${x}` + done + + # just in case... + if [[ "$(get_libdir)" = "lib64" ]]; then + dosym /usr/share/pwlib/$(get_libdir) /usr/share/pwlib/lib + fi + + # remove CVS dirs + find ${D} -name CVS -type d | xargs rm -rf + + # fix symlink + # only amd64 needs special handling, afaics + rm ${D}/usr/$(get_libdir)/libpt.so + if [ ${ARCH} = "amd64" ] ; then + dosym /usr/$(get_libdir)/libpt_linux_x86_64_r.so.${PV} /usr/$(get_libdir)/libpt.so + else + dosym /usr/$(get_libdir)/libpt_linux_${ARCH}_r.so.${PV} /usr/$(get_libdir)/libpt.so + fi + + # strip ${S} stuff + dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config + dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak + + # dodgy configure/makefiles forget to expand this + dosed 's:${exec_prefix}:/usr:' /usr/bin/ptlib-config + + # satisfy ptlib.mak's weird definition (should check if true for future versions) + cp ${D}/usr/bin/ptlib-config ${D}/usr/share/pwlib/make/ptlib-config + + # copy version.h + insinto /usr/share/pwlib + doins version.h + + dodoc ReadMe.txt History.txt +} diff --git a/dev-libs/pwlib/pwlib-1.6.6-r2.ebuild b/dev-libs/pwlib/pwlib-1.6.6-r2.ebuild new file mode 100644 index 0000000..913c1a9 --- /dev/null +++ b/dev-libs/pwlib/pwlib-1.6.6-r2.ebuild @@ -0,0 +1,163 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.6.6-r2.ebuild,v 1.4 2005/08/26 16:01:13 seemant Exp $ + +inherit eutils flag-o-matic multilib + +IUSE="ssl sdl ieee1394 alsa esd" + +MY_P="${PN}-v${PV//./_}" +DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323" +HOMEPAGE="http://www.openh323.org/" +SRC_URI="mirror://sourceforge/openh323/${MY_P}-src.tar.gz" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~x86 ppc ~amd64 ~sparc ~alpha" + +DEPEND=">=sys-devel/bison-1.28 + >=sys-devel/flex-2.5.4a + dev-libs/expat + >=sys-apps/sed-4 + net-nds/openldap + sdl? ( media-libs/libsdl ) + ssl? ( dev-libs/openssl ) + alsa? ( media-libs/alsa-lib ) + ieee1394? ( media-libs/libdv + sys-libs/libavc1394 + sys-libs/libraw1394 + media-libs/libdc1394 ) + esd? ( media-sound/esound )" + +S=${WORKDIR}/${PN} + +src_unpack() { + unpack ${A} + cd ${S}/make + + # filter out -O3 and -mcpu embedded compiler flags + sed -i \ + -e "s:-mcpu=\$(CPUTYPE)::" \ + -e "s:-O3 -DNDEBUG:-DNDEBUG:" \ + unix.mak + + # small fix for firewire dc (camera) plugin + cd ${S} + epatch ${FILESDIR}/${P}-ieee1394dc-fix.diff + + # dmix patch for alsa support (#68553) + epatch ${FILESDIR}/${P}-alsa_dmix.diff + + # newer esound package doesn't install libesd.a anymore, + # use dynamic library instead (fixes #100432) + epatch ${FILESDIR}/pwlib-1.6.3-dyn-esd.patch +} + +src_compile() { + local plugins + local myconf + + # may cause ICE (bug #70638) + filter-flags -fstack-protector + + if use ssl; then + export OPENSSLFLAG=1 + export OPENSSLDIR="/usr" + export OPENSSLLIBS="-lssl -lcrypt" + fi + + ## gnomemeeting-1.00 requires pwlib to be built w/ IPV6 support + ## (even if itself is built without...) + #use ipv6 \ + # && myconf="${myconf} --enable-ipv6" \ + # || myconf="${myconf} --disable-ipv6" + myconf="${myconf} --enable-ipv6" + + # plugins, oss and v4l are default + plugins="oss v4l" + + use ieee1394 \ + && plugins="${plugins} avc dc" + + use alsa \ + && plugins="${plugins} alsa" + + if use esd; then + # fixes bug #45059 + export ESDDIR=/usr + fi + + # merge plugin options (safe way if default = "") + plugins="`echo ${plugins} | sed -e "y: :,:"`" + + econf ${myconf} \ + --enable-plugins \ + --with-plugins=${plugins} || die "configure failed" + + # Horrible hack to strip out -L/usr/lib to allow upgrades + # problem is it adds -L/usr/lib before -L${S} when SSL is + # enabled. Same thing for -I/usr/include. + sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" \ + -e "s:^\(STDCCFLAGS.*\)-I/usr/include:\1:" \ + ${S}/make/ptbuildopts.mak + sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" \ + -e "s:^\(LDFLAGS[\s]*=.*\) -I/usr/include:\1:" \ + -e "s:^\(CCFLAGS[\s]*=.*\) -I/usr/include:\1:" \ + ${S}/make/ptlib-config + + # remove -fno-rtti, this breaks various things *grr* + sed -i -e "s:-fno-rtti::" \ + make/ptbuildopts.mak + sed -i -e "s:-fno-rtti::" \ + make/ptlib-config + + emake -j1 opt || die "make failed" + emake -j1 PWLIBDIR=${S} -C plugins opt || die "make plugins failed" +} + +src_install() { + # make these because the makefile isn't smart enough + dodir /usr/bin /usr/$(get_libdir) /usr/share /usr/include + make PREFIX=/usr DESTDIR=${D} install || die "install failed" + + # these are for compiling openh323 + # NOTE: symlinks don't work when upgrading + # FIXME: probably should fix this with ptlib-config + dodir /usr/share/pwlib/include + cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include + + dodir /usr/share/pwlib/$(get_libdir) + for x in ${D}/usr/$(get_libdir)/*; do + dosym /usr/$(get_libdir)/`basename ${x}` /usr/share/pwlib/$(get_libdir)/`basename ${x}` + done + + # just in case... + if [[ "$(get_libdir)" = "lib64" ]]; then + dosym /usr/share/pwlib/$(get_libdir) /usr/share/pwlib/lib + fi + + # fix symlink + # only amd64 needs special handling, afaics + rm ${D}/usr/$(get_libdir)/libpt.so + if use amd64; then + dosym /usr/$(get_libdir)/libpt_linux_x86_64_r.so.${PV} /usr/$(get_libdir)/libpt.so + else + dosym /usr/$(get_libdir)/libpt_linux_${ARCH}_r.so.${PV} /usr/$(get_libdir)/libpt.so + fi + + # strip ${S} stuff + dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config + dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak + + # dodgy configure/makefiles forget to expand this + dosed 's:${exec_prefix}:/usr:' /usr/bin/ptlib-config + + # satisfy ptlib.mak's weird definition (should check if true for future versions) + cp ${D}/usr/bin/ptlib-config ${D}/usr/share/pwlib/make/ptlib-config + + # copy version.h + insinto /usr/share/pwlib + doins version.h + + dodoc ReadMe.txt History.txt +} diff --git a/dev-libs/pwlib/pwlib-1.8.3-r1.ebuild b/dev-libs/pwlib/pwlib-1.8.3-r1.ebuild new file mode 100644 index 0000000..d4e0372 --- /dev/null +++ b/dev-libs/pwlib/pwlib-1.8.3-r1.ebuild @@ -0,0 +1,162 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.8.3-r1.ebuild,v 1.6 2005/08/26 16:01:13 seemant Exp $ + +inherit eutils flag-o-matic multilib + +IUSE="ssl sdl ieee1394 alsa esd v4l2" + +MY_P="${PN}-v${PV//./_}" +DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323" +HOMEPAGE="http://www.openh323.org/" +SRC_URI="mirror://sourceforge/openh323/${MY_P}-src-tar.gz" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="~x86 ~sparc ~alpha ppc amd64" + +DEPEND=">=sys-devel/bison-1.28 + >=sys-devel/flex-2.5.4a + dev-libs/expat + >=sys-apps/sed-4 + net-nds/openldap + sdl? ( media-libs/libsdl ) + ssl? ( dev-libs/openssl ) + alsa? ( media-libs/alsa-lib ) + ieee1394? ( media-libs/libdv + sys-libs/libavc1394 + sys-libs/libraw1394 + media-libs/libdc1394 ) + esd? ( media-sound/esound )" + +S=${WORKDIR}/${PN} + +src_unpack() { + # currently complaining to upstream about new naming scheme + tar -C ${WORKDIR} -xzf ${DISTDIR}/${MY_P}-src-tar.gz || die "Unpacking of ${PF} failed" + + cd ${S}/make + + # filter out -O3 and -mcpu embedded compiler flags + sed -i \ + -e "s:-mcpu=\$(CPUTYPE)::" \ + -e "s:-O3 -DNDEBUG:-DNDEBUG:" \ + unix.mak + + # newer esound package doesn't install libesd.a anymore, + # use dynamic library instead (fixes #100432) + epatch ${FILESDIR}/pwlib-1.6.3-dyn-esd.patch +} + +src_compile() { + local plugins + local myconf + + # may cause ICE (bug #70638) + filter-flags -fstack-protector + + if use ssl; then + export OPENSSLFLAG=1 + export OPENSSLDIR="/usr" + export OPENSSLLIBS="-lssl -lcrypt" + fi + + ## gnomemeeting-1.00 requires pwlib to be built w/ IPV6 support + ## (even if itself is built without...) + #use ipv6 \ + # && myconf="${myconf} --enable-ipv6" \ + # || myconf="${myconf} --disable-ipv6" + myconf="${myconf} --enable-ipv6" + + # plugins, oss and v4l are default + plugins="oss v4l" + + use ieee1394 \ + && plugins="${plugins} avc dc" + + use alsa \ + && plugins="${plugins} alsa" + + if use v4l2; then + myconf="${myconf} --enable-v4l2" + plugins="${plugins} v4l2" + fi + + if use esd; then + # fixes bug #45059 + export ESDDIR=/usr + + # ESD includes are in /usr/include? + # remove include path, bad things may happen if we leave it in there + sed -i -e "s:-I\$(ESDDIR)/include::" \ + ${S}/make/unix.mak + fi + + # merge plugin options (safe way if default = "") + plugins="$(echo ${plugins} | sed -e "y: :,:")" + + econf ${myconf} \ + --enable-plugins \ + --with-plugins=${plugins} || die "configure failed" + + # Horrible hack to strip out -L/usr/lib to allow upgrades + # problem is it adds -L/usr/lib before -L${S} when SSL is + # enabled. Same thing for -I/usr/include. + sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" \ + -e "s:^\(STDCCFLAGS.*\)-I/usr/include:\1:" \ + ${S}/make/ptbuildopts.mak + sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" \ + -e "s:^\(LDFLAGS[\s]*=.*\) -I/usr/include:\1:" \ + -e "s:^\(CCFLAGS[\s]*=.*\) -I/usr/include:\1:" \ + ${S}/make/ptlib-config + + emake -j1 opt || die "make failed" +} + +src_install() { + # makefile doesn't create ${D}/usr/bin + dodir /usr/bin + make PREFIX=/usr DESTDIR=${D} install || die "install failed" + + ## vv will try to fix the mess below, requires a lot of patching though... + + # these are for compiling openh323 + # NOTE: symlinks don't work when upgrading + # FIXME: probably should fix this with ptlib-config + dodir /usr/share/pwlib/include + cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include + + dodir /usr/share/pwlib/$(get_libdir) + for x in ${D}/usr/$(get_libdir)/*; do + dosym /usr/$(get_libdir)/`basename ${x}` /usr/share/pwlib/$(get_libdir)/`basename ${x}` + done + + # just in case... + if [[ "$(get_libdir)" = "lib64" ]]; then + dosym /usr/share/pwlib/$(get_libdir) /usr/share/pwlib/lib + fi + + ## ^^ bad stuff + + # fix symlink + # only amd64 needs special handling, afaics + rm ${D}/usr/$(get_libdir)/libpt.so + if use amd64; then + dosym /usr/$(get_libdir)/libpt_linux_x86_64_r.so.${PV} /usr/$(get_libdir)/libpt.so + else + dosym /usr/$(get_libdir)/libpt_linux_${ARCH}_r.so.${PV} /usr/$(get_libdir)/libpt.so + fi + + # strip ${S} stuff + dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config + dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak + + # dodgy configure/makefiles forget to expand this + dosed 's:${exec_prefix}:/usr:' /usr/bin/ptlib-config + + # copy version.h + insinto /usr/share/pwlib + doins version.h + + dodoc ReadMe.txt ReadMe_QOS.txt History.txt ChangeLog mpl-1.0.htm +} diff --git a/dev-libs/pwlib/pwlib-1.8.4.ebuild b/dev-libs/pwlib/pwlib-1.8.4.ebuild new file mode 100644 index 0000000..8fdd852 --- /dev/null +++ b/dev-libs/pwlib/pwlib-1.8.4.ebuild @@ -0,0 +1,156 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.8.4.ebuild,v 1.9 2005/09/12 15:49:52 agriffis Exp $ + +inherit eutils flag-o-matic multilib + +IUSE="ssl sdl ieee1394 alsa esd v4l2" + +DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323" +HOMEPAGE="http://www.openh323.org/" +SRC_URI="http://www.gnomemeeting.org/admin/downloads/latest/sources/sources/${P}.tar.gz" + +LICENSE="MPL-1.1" +SLOT="0" +KEYWORDS="alpha ~amd64 ppc ~sparc ~x86" + +DEPEND=">=sys-devel/bison-1.28 + >=sys-devel/flex-2.5.4a + dev-libs/expat + >=sys-apps/sed-4 + net-nds/openldap + sdl? ( media-libs/libsdl ) + ssl? ( dev-libs/openssl ) + alsa? ( media-libs/alsa-lib ) + ieee1394? ( media-libs/libdv + sys-libs/libavc1394 + sys-libs/libraw1394 + <media-libs/libdc1394-1.9.9 + !>=media-libs/libdc1394-2.0.0_pre0 ) + esd? ( media-sound/esound )" + +src_unpack() { + unpack ${A} + + cd ${S} + + # filter out -O3 and -mcpu embedded compiler flags + sed -i \ + -e "s:-mcpu=\$(CPUTYPE)::" \ + -e "s:-O3 -DNDEBUG:-DNDEBUG:" \ + make/unix.mak + + # newer esound package doesn't install libesd.a anymore, + # use dynamic library instead (fixes #100432) + epatch ${FILESDIR}/pwlib-1.6.3-dyn-esd.patch + + # gcc-4 patch + epatch ${FILESDIR}/pwlib-1.8.4-gcc4.diff +} + +src_compile() { + local myconf + + # may cause ICE (bug #70638) + filter-flags -fstack-protector + + if use ssl; then + export OPENSSLFLAG=1 + export OPENSSLDIR="/usr" + export OPENSSLLIBS="-lssl -lcrypt" + fi + + ## gnomemeeting-1.00 requires pwlib to be built w/ IPV6 support + ## (even if itself is built without...) + #use ipv6 \ + # && myconf="${myconf} --enable-ipv6" \ + # || myconf="${myconf} --disable-ipv6" + + # enable default plugins and force ipv6 support + myconf="--enable-ipv6 --enable-oss --enable-v4l" + + use ieee1394 \ + && myconf="${myconf} --enable-avc --enable-dc" \ + || myconf="${myconf} --disable-avc --disable-dc" + + # --disable-alsa breaks configure + use alsa \ + && myconf="${myconf} --enable-alsa" + + if use esd; then + # fixes bug #45059 + export ESDDIR=/usr + + # ESD includes are in /usr/include? + # remove include path, bad things may happen if we leave it in there + sed -i -e "s:-I\$(ESDDIR)/include::" \ + ${S}/make/unix.mak + fi + + econf \ + --enable-plugins \ + $(use_enable v4l2) \ + $(use_enable sdl) \ + ${myconf} || die "configure failed" + + # Horrible hack to strip out -L/usr/lib to allow upgrades + # problem is it adds -L/usr/lib before -L${S} when SSL is + # enabled. Same thing for -I/usr/include. + sed -i -e "s:^\(LDFLAGS.*\)-L/usr/lib:\1:" \ + -e "s:^\(STDCCFLAGS.*\)-I/usr/include:\1:" \ + ${S}/make/ptbuildopts.mak + sed -i -e "s:^\(LDFLAGS[\s]*=.*\) -L/usr/lib:\1:" \ + -e "s:^\(LDFLAGS[\s]*=.*\) -I/usr/include:\1:" \ + -e "s:^\(CCFLAGS[\s]*=.*\) -I/usr/include:\1:" \ + ${S}/make/ptlib-config + + emake -j1 opt || die "make failed" +} + +src_install() { + # makefile doesn't create ${D}/usr/bin + dodir /usr/bin + make PREFIX=/usr DESTDIR=${D} install || die "install failed" + + ## vv will try to fix the mess below, requires a lot of patching though... + + # these are for compiling openh323 + # NOTE: symlinks don't work when upgrading + # FIXME: probably should fix this with ptlib-config + dodir /usr/share/pwlib/include + cp -r ${D}/usr/include/* ${D}/usr/share/pwlib/include + + dodir /usr/share/pwlib/$(get_libdir) + for x in ${D}/usr/$(get_libdir)/*; do + dosym /usr/$(get_libdir)/`basename ${x}` /usr/share/pwlib/$(get_libdir)/`basename ${x}` + done + + # just in case... + if [[ "$(get_libdir)" = "lib64" ]]; then + dosym /usr/share/pwlib/$(get_libdir) /usr/share/pwlib/lib + fi + + ## ^^ bad stuff + + # fix symlink + # only amd64 needs special handling, afaics + rm ${D}/usr/$(get_libdir)/libpt.so + if use amd64; then + dosym /usr/$(get_libdir)/libpt_linux_x86_64_r.so.${PV} /usr/$(get_libdir)/libpt.so + else + dosym /usr/$(get_libdir)/libpt_linux_${ARCH}_r.so.${PV} /usr/$(get_libdir)/libpt.so + fi + + # strip ${S} stuff + dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/bin/ptlib-config + dosed "s:^PWLIBDIR.*:PWLIBDIR=/usr/share/pwlib:" /usr/share/pwlib/make/ptbuildopts.mak + + # dodgy configure/makefiles forget to expand this + dosed 's:${exec_prefix}:/usr:' /usr/bin/ptlib-config + + # copy version.h + insinto /usr/share/pwlib + doins version.h + + dodoc ReadMe.txt ReadMe_QOS.txt History.txt mpl-1.0.htm +} diff --git a/dev-libs/pwlib-cvs/pwlib-cvs-20051125.ebuild b/dev-libs/pwlib/pwlib-1.8.7.ebuild index 698e50c..3fe2db8 100644 --- a/dev-libs/pwlib-cvs/pwlib-cvs-20051125.ebuild +++ b/dev-libs/pwlib/pwlib-1.8.7.ebuild @@ -1,45 +1,41 @@ -# Copyright 1999-2005 Gentoo Foundation +# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.8.4.ebuild,v 1.2 2005/07/10 01:11:05 swegener Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/pwlib/pwlib-1.8.7.ebuild,v 1.3 2006/07/05 00:50:55 nerdboy Exp $ inherit eutils flag-o-matic multilib -IUSE="alsa esd ieee1394 ipv6 oss sdl ssl v4l2" +IUSE="alsa esd ieee1394 oss sdl ssl v4l2" DESCRIPTION="Portable Multiplatform Class Libraries for OpenH323" -HOMEPAGE="http://www.voxgratia.org/" -SRC_URI="http://snapshots.seconix.com/cvs/archive/pwlib-cvs_${PV}-01.tar.gz" +HOMEPAGE="http://www.openh323.org/" +SRC_URI="http://www.gnomemeeting.org/admin/downloads/latest/sources/sources/${P}.tar.gz" LICENSE="MPL-1.1" SLOT="0" KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" RDEPEND=" - !dev-libs/pwlib dev-libs/expat net-nds/openldap + esd? ( media-sound/esound ) sdl? ( media-libs/libsdl ) ssl? ( dev-libs/openssl ) alsa? ( media-libs/alsa-lib ) ieee1394? ( media-libs/libdv sys-libs/libavc1394 sys-libs/libraw1394 - <media-libs/libdc1394-1.9.99 - !>=media-libs/libdc1394-2.0.0_pre1 ) - esd? ( media-sound/esound )" + <media-libs/libdc1394-1.9.9 + !>=media-libs/libdc1394-2.0.0_pre0 )" -DEPEND="${RDEPEND} +DEPEND="${REDEPEND} >=sys-devel/bison-1.28 >=sys-devel/flex-2.5.4a >=sys-apps/sed-4" -S="${WORKDIR}/pwlib" - src_unpack() { - tar -xzf ${DISTDIR}/${A} -C ${WORKDIR} || die "Unpacking failed" + unpack ${A} cd ${S} - # filter out -O3 and -mcpu embedded compiler flags sed -i \ -e "s:-mcpu=\$(CPUTYPE)::" \ @@ -52,10 +48,16 @@ src_unpack() { # don't break make install if there are no plugins to install epatch ${FILESDIR}/pwlib-1.8.7-instplugins.diff + + # gcc-4 patch + epatch ${FILESDIR}/pwlib-1.8.4-gcc4.diff + epatch "${FILESDIR}"/${P}-gcc41.patch + epatch ${FILESDIR}/${P}-gcc-4.1-v4l2.patch + } src_compile() { - local myconf="" + local myconf # may cause ICE (bug #70638) filter-flags -fstack-protector @@ -71,7 +73,16 @@ src_compile() { #use ipv6 \ # && myconf="${myconf} --enable-ipv6" \ # || myconf="${myconf} --disable-ipv6" -# myconf="--enable-ipv6" + + # enable default plugins and force ipv6 + myconf="--enable-ipv6 --enable-v4l" + + use ieee1394 \ + && myconf="${myconf} --enable-avc --enable-dc" \ + || myconf="${myconf} --disable-avc --disable-dc" + + use alsa \ + && myconf="${myconf} --enable-alsa" if use esd; then # fixes bug #45059 @@ -86,11 +97,8 @@ src_compile() { econf \ --enable-plugins \ $(use_enable v4l2) \ - $(use_enable ieee1394 dc) \ - $(use_enable ieee1394 avc) \ + $(use_enable sdl) \ $(use_enable oss) \ - $(use_enable alsa) \ - $(use_enable ipv6) \ ${myconf} || die "configure failed" # Horrible hack to strip out -L/usr/lib to allow upgrades @@ -108,18 +116,6 @@ src_compile() { emake -j1 opt || die "make failed" } -#pkg_preinst() { -# # remove {lib,include} directories in /usr/share/pwlib -# # they are getting replaced by symlinks in src_install -# -# if [[ -d ${ROOT}usr/share/pwlib/include ]]; then -# rm -rf ${ROOT}usr/share/pwlib/include -# fi -# if [[ -d ${ROOT}usr/share/pwlib/$(get_libdir) ]]; then -# rm -rf ${ROOT}usr/share/pwlib/$(get_libdir) -# fi -#} - src_install() { local libdir libname @@ -129,27 +125,10 @@ src_install() { dodir /usr/bin make PREFIX=/usr DESTDIR=${D} install || die "install failed" - ## vv will try to fix the mess below, requires a lot of patching though... - - # update 2005/08/22: - # - # locations in *.mak files haven been fixed - # directories have been replaced w/ symlinks - # (left to not break things, doing some testing atm) - -# dosym /usr/include /usr/share/pwlib/include -# dosym /usr/${libdir} /usr/share/pwlib/${libdir} -# -# # just in case... -# if [[ "${libdir}" = "lib64" ]]; then -# dosym /usr/share/pwlib/lib64 /usr/share/pwlib/lib -# fi - - ## ^^ bad stuff - # fix symlink rm ${D}/usr/${libdir}/libpt.so - libname=$(basename `ls ${D}/usr/${libdir}/libpt_*_*_r.so.*.*.*`) + + libname=$(basename `ls ${D}/usr/${libdir}/libpt_*_*_r.so.${PV}`) dosym /usr/${libdir}/${libname} /usr/${libdir}/libpt.so # strip ${S} stuff diff --git a/media-libs/ilbc-rfc3951/ChangeLog b/media-libs/ilbc-rfc3951/ChangeLog deleted file mode 100644 index d15410f..0000000 --- a/media-libs/ilbc-rfc3951/ChangeLog +++ /dev/null @@ -1,12 +0,0 @@ -2006-07-10 21:29 stkn - - * [r312] Manifest, files/digest-ilbc-rfc3951-0.0.1, - ilbc-rfc3951-0.0.1.ebuild: - Add ~ppc keyword. - -2006-01-15 18:17 stkn - - * [r89] ., Manifest, files, files/digest-ilbc-rfc3951-0.0.1, - ilbc-rfc3951-0.0.1.ebuild: - [NEW] RFC3951 ilbc audio codec - diff --git a/media-libs/ilbc-rfc3951/Manifest b/media-libs/ilbc-rfc3951/Manifest deleted file mode 100644 index 500b754..0000000 --- a/media-libs/ilbc-rfc3951/Manifest +++ /dev/null @@ -1,12 +0,0 @@ -DIST ilbc-rfc3951.tar.gz 330306 RMD160 84b274655356e4a723ebe03b1fdf905ffcec2785 SHA1 fc0950586a0a3e67f513b9a78745c54f05378e66 SHA256 5aef41a94f1a752b07190b5d2880128af251d9559d28a004ebfff228695caa57 -EBUILD ilbc-rfc3951-0.0.1.ebuild 623 RMD160 9a733267130336124526c044741a832104cf866a SHA1 455719932e93720a2fbd680be4aa5c52a5a5a6c9 SHA256 61106f1edde5783fc74174b315ed716d6ff39fe324650f65bb10a2f04b148b37 -MD5 bc8fda62eeed071c8e4472117becf8aa ilbc-rfc3951-0.0.1.ebuild 623 -RMD160 9a733267130336124526c044741a832104cf866a ilbc-rfc3951-0.0.1.ebuild 623 -SHA256 61106f1edde5783fc74174b315ed716d6ff39fe324650f65bb10a2f04b148b37 ilbc-rfc3951-0.0.1.ebuild 623 -MISC ChangeLog 280 RMD160 9195735520df14a13b2c79a8572ccb538e9b5bfe SHA1 7a0f3cbf362c6938ef450bfdd581a973a80e8653 SHA256 85b8783ec5fe5245ab46db8cb7a3efb119aafec043c7ccdbbd1f58f75625f8fe -MD5 bd02423177761cb27e39289dd44b24d0 ChangeLog 280 -RMD160 9195735520df14a13b2c79a8572ccb538e9b5bfe ChangeLog 280 -SHA256 85b8783ec5fe5245ab46db8cb7a3efb119aafec043c7ccdbbd1f58f75625f8fe ChangeLog 280 -MD5 348dea0cf4eb99cee9b98e7b858e683a files/digest-ilbc-rfc3951-0.0.1 238 -RMD160 22fefd671bd8cea44400b49328849259719a37fd files/digest-ilbc-rfc3951-0.0.1 238 -SHA256 675522820999207cfd45d832fb92c64ecb8976f8f7fca4edb186ba55e4f6d581 files/digest-ilbc-rfc3951-0.0.1 238 diff --git a/media-libs/ilbc-rfc3951/files/digest-ilbc-rfc3951-0.0.1 b/media-libs/ilbc-rfc3951/files/digest-ilbc-rfc3951-0.0.1 deleted file mode 100644 index ef45cf7..0000000 --- a/media-libs/ilbc-rfc3951/files/digest-ilbc-rfc3951-0.0.1 +++ /dev/null @@ -1,3 +0,0 @@ -MD5 c53bb4f1d7184789ab90d2d33571e78a ilbc-rfc3951.tar.gz 330306 -RMD160 84b274655356e4a723ebe03b1fdf905ffcec2785 ilbc-rfc3951.tar.gz 330306 -SHA256 5aef41a94f1a752b07190b5d2880128af251d9559d28a004ebfff228695caa57 ilbc-rfc3951.tar.gz 330306 diff --git a/media-libs/ilbc-rfc3951/ilbc-rfc3951-0.0.1.ebuild b/media-libs/ilbc-rfc3951/ilbc-rfc3951-0.0.1.ebuild deleted file mode 100644 index fade813..0000000 --- a/media-libs/ilbc-rfc3951/ilbc-rfc3951-0.0.1.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: $ - -DESCRIPTION="RFC3951 iLBC low-bandwidth audio codec" -HOMEPAGE="http://www.ilbcfreeware.org/" -SRC_URI="http://simon.morlat.free.fr/download/1.2.x/source/ilbc-rfc3951.tar.gz" - -LICENSE="gips_iLBClicense" -SLOT="0" -KEYWORDS="~ppc ~x86" - -IUSE="" - -S=${WORKDIR}/${PN} - -RDEPEND="virtual/libc" -DEPEND="${RDEPEND}" - -src_compile() { - econf || die "Configure failed" - emake || die "Building failed" -} - -src_install() { - make DESTDIR=${D} install || die "Installation failed" - - dodoc README AUTHORS COPYING INSTALL -} diff --git a/net-libs/opal/ChangeLog b/net-libs/opal/ChangeLog new file mode 100644 index 0000000..02546c6 --- /dev/null +++ b/net-libs/opal/ChangeLog @@ -0,0 +1,15 @@ +# ChangeLog for net-libs/opal +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/opal/ChangeLog,v 1.2 2006/06/06 18:09:22 genstef Exp $ + +*opal-2.2.2 (06 Jun 2006) + + 06 Jun 2006; Stefan Schweizer <genstef@gentoo.org> +opal-2.2.2.ebuild: + version bump thanks to David PIRY <klessou@gmail.com> in bug 135785 + +*opal-2.2.1 (20 Mar 2006) + + 20 Mar 2006; Stefan Schweizer <genstef@gentoo.org> + +files/opal-2.1.1-notrace.diff, +metadata.xml, +opal-2.2.1.ebuild: + New ebuild for ekiga, bug 119611 + diff --git a/net-libs/opal/Manifest b/net-libs/opal/Manifest new file mode 100644 index 0000000..8272d99 --- /dev/null +++ b/net-libs/opal/Manifest @@ -0,0 +1,38 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX opal-2.1.1-notrace.diff 263 RMD160 17b6887acd196af52de8dfec8d5accfd654d1fc7 SHA1 079474507fe63a9019a293a5a529c23788221196 SHA256 3abf99ab2a7bde2e1a2380e22a9c5e15240439bdf7766b4715c78cacd46961c0 +MD5 9be1e6d40d03be09fb8b6b9d5302374b files/opal-2.1.1-notrace.diff 263 +RMD160 17b6887acd196af52de8dfec8d5accfd654d1fc7 files/opal-2.1.1-notrace.diff 263 +SHA256 3abf99ab2a7bde2e1a2380e22a9c5e15240439bdf7766b4715c78cacd46961c0 files/opal-2.1.1-notrace.diff 263 +DIST opal-2.2.1.tar.gz 4106648 RMD160 a004700d7df84297506ac7097040ae7762288ac8 SHA1 90eacb3fa76e0a347c245c3d0c5082d719188e68 SHA256 73016bdcc2e9e590614d29566c87c9a2681863e826f5254d9253eb278ce46703 +DIST opal-2.2.2.tar.gz 4112700 RMD160 2e1be0271671c7f71ed477078f27825b389e6fa0 SHA1 ff78323f7e68e145337985a58482145d012854b9 SHA256 133f59a0d126ae02b554750702bfcd4e7f75641c15bc8c9156e03f8582709cfc +EBUILD opal-2.2.1.ebuild 2525 RMD160 ca9d87628ffe3f744d7592910b71654be93b4b11 SHA1 01c76a9026186622970e6519028af2c6d017c3d5 SHA256 48f66615b0801b745133c0efceb0e46620e5f35dc34867c8ee058b8a79bb83a0 +MD5 b344dc0aadf43313d932c440b9aca292 opal-2.2.1.ebuild 2525 +RMD160 ca9d87628ffe3f744d7592910b71654be93b4b11 opal-2.2.1.ebuild 2525 +SHA256 48f66615b0801b745133c0efceb0e46620e5f35dc34867c8ee058b8a79bb83a0 opal-2.2.1.ebuild 2525 +EBUILD opal-2.2.2.ebuild 2525 RMD160 e94951f05cb2679c47a70aa1e43fea168e6bca7a SHA1 0f8c8628efa8eb93593a5ff2344522869f3dfc7a SHA256 34bc74d9007acb693614ac72534aa5c2d65f1c8d4eada887283eb1ef7bb3a086 +MD5 9eb12153c8504637c23a8bd435bb6059 opal-2.2.2.ebuild 2525 +RMD160 e94951f05cb2679c47a70aa1e43fea168e6bca7a opal-2.2.2.ebuild 2525 +SHA256 34bc74d9007acb693614ac72534aa5c2d65f1c8d4eada887283eb1ef7bb3a086 opal-2.2.2.ebuild 2525 +MISC ChangeLog 556 RMD160 5f2e8961eceacca72d19369c9cc9175f7157e533 SHA1 ced0e378eeb24c275dfc79a6592b860c7f2fd05f SHA256 052c929f93fc0b8462987ba1bda58643e0a5def216fc8f80b4cebb2654b4298b +MD5 80ac3b35d055745d228753e034237e66 ChangeLog 556 +RMD160 5f2e8961eceacca72d19369c9cc9175f7157e533 ChangeLog 556 +SHA256 052c929f93fc0b8462987ba1bda58643e0a5def216fc8f80b4cebb2654b4298b ChangeLog 556 +MISC metadata.xml 157 RMD160 cb900ea8bf389b8f6147746711462b5757752b16 SHA1 bbbbd897cfe8d8bac785b23bead8e185871055bd SHA256 6759dc127ff53f85505b9b455ba325e65015b694b1ec50eb99ddfc8903b967bf +MD5 b334f14db95c08e71ab02ffd5d712607 metadata.xml 157 +RMD160 cb900ea8bf389b8f6147746711462b5757752b16 metadata.xml 157 +SHA256 6759dc127ff53f85505b9b455ba325e65015b694b1ec50eb99ddfc8903b967bf metadata.xml 157 +MD5 04393a221269863043d768c2149dd043 files/digest-opal-2.2.1 235 +RMD160 1fea200d3d69a5832c0c1f90e71354f3fa1429ad files/digest-opal-2.2.1 235 +SHA256 0cad759cb58103932ba981feb2a401b3e78ca39b2660389737c662831cc6164f files/digest-opal-2.2.1 235 +MD5 22d6d31053a20b9e94c3ba4c0aafa1c3 files/digest-opal-2.2.2 235 +RMD160 487259187ed7af1c715f907b02ec543fd1964653 files/digest-opal-2.2.2 235 +SHA256 65a9d8ceede473cbc338e237a5d0b6329499094be58628e875ab03f90f48b2f6 files/digest-opal-2.2.2 235 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.3 (GNU/Linux) + +iD8DBQFEhcTfNJowsmZ/PzARAkjHAKDYcsDz3KFceLcbiqsq91hVHTC7BwCeOMWo +xKKO7/BjS5jR26Upv4Z9hEs= +=J3O5 +-----END PGP SIGNATURE----- diff --git a/net-libs/opal/files/digest-opal-2.2.1 b/net-libs/opal/files/digest-opal-2.2.1 new file mode 100644 index 0000000..485141f --- /dev/null +++ b/net-libs/opal/files/digest-opal-2.2.1 @@ -0,0 +1,3 @@ +MD5 bc6079100e831cf117597bb99b266a0c opal-2.2.1.tar.gz 4106648 +RMD160 a004700d7df84297506ac7097040ae7762288ac8 opal-2.2.1.tar.gz 4106648 +SHA256 73016bdcc2e9e590614d29566c87c9a2681863e826f5254d9253eb278ce46703 opal-2.2.1.tar.gz 4106648 diff --git a/net-libs/opal/files/digest-opal-2.2.2 b/net-libs/opal/files/digest-opal-2.2.2 new file mode 100644 index 0000000..10c983e --- /dev/null +++ b/net-libs/opal/files/digest-opal-2.2.2 @@ -0,0 +1,3 @@ +MD5 899e38f5586e3b03d07cc1c55680a56f opal-2.2.2.tar.gz 4112700 +RMD160 2e1be0271671c7f71ed477078f27825b389e6fa0 opal-2.2.2.tar.gz 4112700 +SHA256 133f59a0d126ae02b554750702bfcd4e7f75641c15bc8c9156e03f8582709cfc opal-2.2.2.tar.gz 4112700 diff --git a/net-libs/opal/files/opal-2.1.1-notrace.diff b/net-libs/opal/files/opal-2.1.1-notrace.diff new file mode 100644 index 0000000..e03eaa4 --- /dev/null +++ b/net-libs/opal/files/opal-2.1.1-notrace.diff @@ -0,0 +1,11 @@ +--- opal_v2_1_1/Makefile.in.orig 2005-09-04 03:40:12.000000000 +0000 ++++ opal_v2_1_1/Makefile.in 2005-09-04 03:40:49.000000000 +0000 +@@ -176,7 +176,7 @@ + + OPAL_OBJDIR = $(OPAL_LIBDIR)/$(PT_OBJBASE) + ifdef NOTRACE +-OPAL_OBJDIR += n ++OBJDIR_SUFFIX := n + endif + + diff --git a/net-misc/zaptel/metadata.xml b/net-libs/opal/metadata.xml index 10f27dc..02207a5 100644 --- a/net-misc/zaptel/metadata.xml +++ b/net-libs/opal/metadata.xml @@ -2,8 +2,4 @@ <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> <pkgmetadata> <herd>voip</herd> -<maintainer> - <email>stkn@gentoo.org</email> - <name>Stefan Knoblich</name> -</maintainer> </pkgmetadata> diff --git a/net-libs/opal/opal-2.2.1.ebuild b/net-libs/opal/opal-2.2.1.ebuild new file mode 100644 index 0000000..cfdc3c3 --- /dev/null +++ b/net-libs/opal/opal-2.2.1.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/opal/opal-2.2.1.ebuild,v 1.1 2006/03/20 23:39:39 genstef Exp $ + +inherit eutils flag-o-matic multilib + +DESCRIPTION="OPAL library, used by Ekiga" +HOMEPAGE="http://www.ekiga.org" +SRC_URI="http://www.ekiga.org/admin/downloads/latest/sources/sources/${P}.tar.gz" + +IUSE="novideo noaudio debug" +SLOT="0" +LICENSE="MPL-1.1" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" + +RDEPEND=">=dev-libs/pwlib-1.10.0 + >=media-video/ffmpeg-0.4.7" + +src_unpack() { + unpack ${A} + + cd ${S} + # Makefile is currently broken with NOTRACE=1, fix that + epatch ${FILESDIR}/${PN}-2.1.1-notrace.diff +} + +src_compile() { + local makeopts + local myconf + + # remove -fstack-protector, may cause problems (bug #75259) + filter-flags -fstack-protector + + # NOTRACE avoid compilation problems, we disable PTRACING using NOTRACE=1 + # compile with PTRACING if the user wants to debug stuff + if ! use debug; then + makeopts="${makeopts} NOTRACE=1" + fi + + # doesn't work with osptoolkit-3.3.1 + # iax2 support is missing in the tarball, disable it too + myconf="--disable-transnexusosp --disable-iax --enable-localspeex" + + use novideo \ + && myconf="${myconf} --disable-video" + + use noaudio \ + && myconf="${myconf} --disable-audio" + + econf \ + PWLIBDIR=/usr/share/pwlib \ + OPALDIR=${S} \ + ${myconf} || die "configure failed" + + emake ${makeopts} opt || die "make failed" +} + +src_install() { + local OPAL_ARCH ALT_ARCH OPAL_SUFFIX + local makeopts libdir libname + + # make NOTRACE=1 opt ==> linux_$ARCH_n + # make opt ==> linux_$ARCH_r + if ! use debug; then + OPAL_SUFFIX="n" + makeopts="NOTRACE=1" + else + OPAL_SUFFIX="r" + fi + + # use ptlib-config to get the right values here (for hppa, amd64 ...) + OPAL_ARCH="$(ptlib-config --ostype)_$(ptlib-config --machtype)_${OPAL_SUFFIX}" + + # set ALT_ARCH + if use debug; then + ALT_ARCH=${OPAL_ARCH/_r/_n} + else + ALT_ARCH=${OPAL_ARCH/_n/_r} + fi + + ### + # Install stuff + # + make PREFIX=/usr DESTDIR=${D} \ + ${makeopts} install || die "install failed" + + libdir=$(get_libdir) + libname="libopal_${OPAL_ARCH}.so.${PV}" + + # compat symlinks + for pv in ${PV} ${PV%.[0-9]} ${PV%.[0-9]*.[0-9]}; do + dosym ${libname} /usr/${libdir}/libopal_${ALT_ARCH}.so.${pv} + done + dosym ${libname} /usr/${libdir}/libopal_${OPAL_ARCH}.so + dosym ${libname} /usr/${libdir}/libopal_${ALT_ARCH}.so + + ### + # Compatibility "hacks" + # + + # install version.h into $OPALDIR + insinto /usr/share/opal + doins version.h +} diff --git a/net-libs/opal/opal-2.2.2.ebuild b/net-libs/opal/opal-2.2.2.ebuild new file mode 100644 index 0000000..4ed2924 --- /dev/null +++ b/net-libs/opal/opal-2.2.2.ebuild @@ -0,0 +1,104 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/opal/opal-2.2.2.ebuild,v 1.1 2006/06/06 18:09:22 genstef Exp $ + +inherit eutils flag-o-matic multilib + +DESCRIPTION="OPAL library, used by Ekiga" +HOMEPAGE="http://www.ekiga.org" +SRC_URI="http://www.ekiga.org/admin/downloads/latest/sources/sources/${P}.tar.gz" + +IUSE="novideo noaudio debug" +SLOT="0" +LICENSE="MPL-1.1" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" + +RDEPEND=">=dev-libs/pwlib-1.10.1 + >=media-video/ffmpeg-0.4.7" + +src_unpack() { + unpack ${A} + + cd ${S} + # Makefile is currently broken with NOTRACE=1, fix that + epatch ${FILESDIR}/${PN}-2.1.1-notrace.diff +} + +src_compile() { + local makeopts + local myconf + + # remove -fstack-protector, may cause problems (bug #75259) + filter-flags -fstack-protector + + # NOTRACE avoid compilation problems, we disable PTRACING using NOTRACE=1 + # compile with PTRACING if the user wants to debug stuff + if ! use debug; then + makeopts="${makeopts} NOTRACE=1" + fi + + # doesn't work with osptoolkit-3.3.1 + # iax2 support is missing in the tarball, disable it too + myconf="--disable-transnexusosp --disable-iax --enable-localspeex" + + use novideo \ + && myconf="${myconf} --disable-video" + + use noaudio \ + && myconf="${myconf} --disable-audio" + + econf \ + PWLIBDIR=/usr/share/pwlib \ + OPALDIR=${S} \ + ${myconf} || die "configure failed" + + emake ${makeopts} opt || die "make failed" +} + +src_install() { + local OPAL_ARCH ALT_ARCH OPAL_SUFFIX + local makeopts libdir libname + + # make NOTRACE=1 opt ==> linux_$ARCH_n + # make opt ==> linux_$ARCH_r + if ! use debug; then + OPAL_SUFFIX="n" + makeopts="NOTRACE=1" + else + OPAL_SUFFIX="r" + fi + + # use ptlib-config to get the right values here (for hppa, amd64 ...) + OPAL_ARCH="$(ptlib-config --ostype)_$(ptlib-config --machtype)_${OPAL_SUFFIX}" + + # set ALT_ARCH + if use debug; then + ALT_ARCH=${OPAL_ARCH/_r/_n} + else + ALT_ARCH=${OPAL_ARCH/_n/_r} + fi + + ### + # Install stuff + # + make PREFIX=/usr DESTDIR=${D} \ + ${makeopts} install || die "install failed" + + libdir=$(get_libdir) + libname="libopal_${OPAL_ARCH}.so.${PV}" + + # compat symlinks + for pv in ${PV} ${PV%.[0-9]} ${PV%.[0-9]*.[0-9]}; do + dosym ${libname} /usr/${libdir}/libopal_${ALT_ARCH}.so.${pv} + done + dosym ${libname} /usr/${libdir}/libopal_${OPAL_ARCH}.so + dosym ${libname} /usr/${libdir}/libopal_${ALT_ARCH}.so + + ### + # Compatibility "hacks" + # + + # install version.h into $OPALDIR + insinto /usr/share/opal + doins version.h +} diff --git a/net-libs/opal/opal-2.3.0.1.ebuild b/net-libs/opal/opal-2.3.0.1.ebuild new file mode 100644 index 0000000..947a38e --- /dev/null +++ b/net-libs/opal/opal-2.3.0.1.ebuild @@ -0,0 +1,108 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-libs/opal/opal-2.2.2.ebuild,v 1.1 2006/06/06 18:09:22 genstef Exp $ + +inherit eutils flag-o-matic multilib + +MY_P="${PN}-v${PV//./_}" +DESCRIPTION="OPAL library, used by Ekiga" +HOMEPAGE="http://www.ekiga.org" +SRC_URI="mirror://sourceforge/openh323/${MY_P}-src-tar.gz" +#SRC_URI="http://www.ekiga.org/admin/downloads/latest/sources/sources/${P}.tar.gz" + +IUSE="novideo noaudio debug" +SLOT="0" +LICENSE="MPL-1.1" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" + +RDEPEND=">=dev-libs/pwlib-1.11.0 + >=media-video/ffmpeg-0.4.7" +S=${WORKDIR}/${MY_P/-/_} + +src_unpack() { + # currently complaining to upstream about new naming scheme + tar -C ${WORKDIR} -xzf ${DISTDIR}/${MY_P}-src-tar.gz || die "Unpacking of ${PF} failed" + + cd ${S} + # Makefile is currently broken with NOTRACE=1, fix that + epatch ${FILESDIR}/${PN}-2.1.1-notrace.diff +} + +src_compile() { + local makeopts + local myconf + + # remove -fstack-protector, may cause problems (bug #75259) + filter-flags -fstack-protector + + # NOTRACE avoid compilation problems, we disable PTRACING using NOTRACE=1 + # compile with PTRACING if the user wants to debug stuff + if ! use debug; then + makeopts="${makeopts} NOTRACE=1" + fi + + # doesn't work with osptoolkit-3.3.1 + # iax2 support is missing in the tarball, disable it too + myconf="--disable-transnexusosp --disable-iax --enable-localspeex" + + use novideo \ + && myconf="${myconf} --disable-video" + + use noaudio \ + && myconf="${myconf} --disable-audio" + + econf \ + PWLIBDIR=/usr/share/pwlib \ + OPALDIR=${S} \ + ${myconf} || die "configure failed" + + emake ${makeopts} opt || die "make failed" +} + +src_install() { + local OPAL_ARCH ALT_ARCH OPAL_SUFFIX + local makeopts libdir libname + + # make NOTRACE=1 opt ==> linux_$ARCH_n + # make opt ==> linux_$ARCH_r + if ! use debug; then + OPAL_SUFFIX="n" + makeopts="NOTRACE=1" + else + OPAL_SUFFIX="r" + fi + + # use ptlib-config to get the right values here (for hppa, amd64 ...) + OPAL_ARCH="$(ptlib-config --ostype)_$(ptlib-config --machtype)_${OPAL_SUFFIX}" + + # set ALT_ARCH + if use debug; then + ALT_ARCH=${OPAL_ARCH/_r/_n} + else + ALT_ARCH=${OPAL_ARCH/_n/_r} + fi + + ### + # Install stuff + # + make PREFIX=/usr DESTDIR=${D} \ + ${makeopts} install || die "install failed" + + libdir=$(get_libdir) + libname="libopal_${OPAL_ARCH}.so.${PV}" + + # compat symlinks + for pv in ${PV} ${PV%.[0-9]} ${PV%.[0-9]*.[0-9]}; do + dosym ${libname} /usr/${libdir}/libopal_${ALT_ARCH}.so.${pv} + done + dosym ${libname} /usr/${libdir}/libopal_${OPAL_ARCH}.so + dosym ${libname} /usr/${libdir}/libopal_${ALT_ARCH}.so + + ### + # Compatibility "hacks" + # + + # install version.h into $OPALDIR + insinto /usr/share/opal + doins version.h +} diff --git a/net-misc/asterisk/ChangeLog b/net-misc/asterisk/ChangeLog deleted file mode 100644 index 3e2b9c8..0000000 --- a/net-misc/asterisk/ChangeLog +++ /dev/null @@ -1,549 +0,0 @@ -2006-07-18 18:29 stkn - - * [r322] Manifest, asterisk-1.2.10.ebuild, - files/digest-asterisk-1.2.10: - Version bump asterisk to 1.2.10 + bristuff-0.3.0-PRE-1r + - updated jitterbuffer patch (jb only) from - www.asterisk-backports.org. - -2006-06-07 19:18 stkn - - * [r272] Manifest, asterisk-1.2.0.ebuild, - asterisk-1.2.1-r1.ebuild, asterisk-1.2.1.ebuild, - asterisk-1.2.2.ebuild, asterisk-1.2.3.ebuild, - asterisk-1.2.4-r1.ebuild, asterisk-1.2.4.ebuild, - asterisk-1.2.5.ebuild, asterisk-1.2.6-r1.ebuild, - asterisk-1.2.6.ebuild, asterisk-1.2.7_p1-r1.ebuild, - asterisk-1.2.7_p1.ebuild, asterisk-1.2.8.ebuild, - asterisk-1.2.9_p1.ebuild, - files/1.2.0/asterisk-1.2.6-iax2-sec.patch, - files/1.2.0/asterisk-1.2.9.1-iax2-sec.patch, - files/digest-asterisk-1.2.0, files/digest-asterisk-1.2.1, - files/digest-asterisk-1.2.1-r1, files/digest-asterisk-1.2.2, - files/digest-asterisk-1.2.3, files/digest-asterisk-1.2.4, - files/digest-asterisk-1.2.4-r1, files/digest-asterisk-1.2.5, - files/digest-asterisk-1.2.9_p1: - Backport fix from digiums svn for bug 135680, remove asterisk - versions < 1.2.6. - -2006-06-07 17:36 stkn - - * [r271] Manifest, asterisk-1.2.9_p1.ebuild: - fix IUSE and disable genericjb messages, add note - -2006-06-06 23:33 stkn - - * [r268] Manifest, asterisk-1.2.0_rc1.ebuild, - asterisk-1.2.0_rc2.ebuild, files/digest-asterisk-1.2.0, - files/digest-asterisk-1.2.0_rc1, - files/digest-asterisk-1.2.0_rc2, files/digest-asterisk-1.2.1, - files/digest-asterisk-1.2.1-r1, files/digest-asterisk-1.2.2, - files/digest-asterisk-1.2.3, files/digest-asterisk-1.2.7_p1-r1, - files/digest-asterisk-1.2.8, files/digest-asterisk-1.2.9_p1: - Remove 1.2-rc asterisk ebuilds. - -2006-06-06 17:12 stkn - - * [r266] Manifest, asterisk-1.2.6-r1.ebuild, - asterisk-1.2.6.ebuild, asterisk-1.2.7_p1-r1.ebuild, - asterisk-1.2.7_p1.ebuild, asterisk-1.2.8.ebuild, - asterisk-1.2.9_p1.ebuild, files/digest-asterisk-1.2.9_p1: - Add asterisk-1.2.9_p1, fix SRC_URI in older ebuilds - -2006-06-04 19:55 stkn - - * [r254] Manifest, asterisk-1.2.8.ebuild, - files/digest-asterisk-1.2.8: - add t38-20060423 patch to asterisk-1.2.8 - -2006-06-04 18:56 stkn - - * [r253] Manifest, asterisk-1.2.8.ebuild, - files/digest-asterisk-1.2.8: - Add asterisk-1.2.8, genericjb and t38 unsupported for the time - being - -2006-04-30 17:49 stkn - - * [r244] Manifest, asterisk-1.2.7_p1-r1.ebuild, - files/digest-asterisk-1.2.7_p1-r1: - Revbump asterisk to 1.2.7_p1-r1: bristuff-0.3.0-PRE-1o - -2006-04-17 00:36 stkn - - * [r240] Manifest: - meh, update manifesttt - -2006-04-17 00:36 stkn - - * [r239] files/1.2.0/asterisk-updater: - Adding more functions to asterisk-updater check. - -2006-04-16 02:40 stkn - - * [r237] Manifest, files/1.2.0/asterisk-updater: - asterisk-updater: strip --update from emerge options (breaks - reemerging of already installed 1.2 compatible ebuilds), modify - creation of ebuild list - -2006-04-15 22:42 stkn - - * [r236] Manifest, asterisk-1.2.7_p1.ebuild: - asterisk-1.2.7_p1: Display countdown only for important - messages; Use is_ast*update helper functions instead of - has_version in all places. - -2006-04-15 16:41 stkn - - * [r229] Manifest, asterisk-1.2.7_p1.ebuild, - files/1.2.0/asterisk.confd, files/1.2.0/asterisk.rc6, - files/digest-asterisk-1.2.7_p1: - Add asterisk-1.2.7_p1; drop the initgroups patch (asterisk - itself provides that now, in a slighty different version), - update bristuff patch, copy 1.0.0 init script to 1.2.0 folder - and update description of ASTERISK_USER in asterisk.confd. - -2006-04-11 23:16 stkn - - * [r216] Manifest, asterisk-1.2.6-r1.ebuild, - files/digest-asterisk-1.2.6-r1: - Revbump asterisk to 1.2.6-r1, updating bristuff to 0.3.0-PRE1n - -2006-04-09 20:00 stkn - - * [r213] Manifest, files/1.2.0/asterisk-updater: - asterisk-updater: parse all options - -2006-04-09 06:37 stkn - - * [r212] Manifest, files/1.2.0/asterisk-updater: - asterisk-updater code cleanup - -2006-04-09 04:45 stkn - - * [r211] Manifest, files/1.2.0/asterisk-updater: - pimping the updater, part2... do not ask for update confirmation - if the user passes --update or -u - -2006-04-09 04:31 stkn - - * [r210] Manifest, files/1.2.0/asterisk-updater: - pimp my asterisk-updater script... (make updater ask for updates - if the current ebuild is not available anymore) - -2006-04-09 03:08 stkn - - * [r209] Manifest, asterisk-1.2.6.ebuild, - files/1.2.0/asterisk-updater: - Add asterisk-updater script to update all asterisk-1.0.x modules - -2006-04-09 02:16 stkn - - * [r208] Manifest, asterisk-1.2.6.ebuild: - asterisk-1.2.6 ebuild checks for asterisk-1.0.x modules during - updates now - -2006-04-01 21:54 stkn - - * [r202] Manifest, asterisk-1.2.4-r1.ebuild, - asterisk-1.2.5.ebuild, asterisk-1.2.6.ebuild, - files/1.2.0/asterisk-1.2.1-uclibc-getloadavg.diff, - files/digest-asterisk-1.2.4-r1: - Add uclibc-getloadavg patch to overlay, thanks jaervosz - -2006-03-27 21:13 stkn - - * [r201] Manifest, asterisk-1.2.6.ebuild, - files/digest-asterisk-1.2.6: - "Bump" asterisk to 1.2.6, compiles (bri and genericjb flags - tested), runtime tests pending - -2006-03-27 20:37 stkn - - * [r198] Manifest, asterisk-1.2.5.ebuild: - Update asterisk-1.2.5 SRC_URI - -2006-03-20 01:59 stkn - - * [r194] Manifest, asterisk-1.2.4-r1.ebuild, - asterisk-1.2.4.ebuild, asterisk-1.2.5.ebuild, - files/1.2.0/asterisk-1.2.5-ast_frisolate-memleak.patch, - files/digest-asterisk-1.2.4, files/digest-asterisk-1.2.4-r1, - files/digest-asterisk-1.2.5: - asterisk: Move ast_frisolate fix to tarball, fix bug 126755 - (mark functions in monitor.h as weak references). - -2006-03-17 21:42 stkn - - * [r192] Manifest, asterisk-1.2.4-r1.ebuild, - asterisk-1.2.4.ebuild: - Add ast_frisolate memleak fix to asterisk 1.2.4 ebuilds. - -2006-03-17 21:13 stkn - - * [r191] Manifest, asterisk-1.2.5.ebuild, - files/1.2.0/asterisk-1.2.5-ast_frisolate-memleak.patch, - files/digest-asterisk-1.2.5: - add genericjb and bristuff-0.3.0-PRE-1l support to asterisk-1.2.5 - -2006-03-04 21:47 stkn - - * [r156] Manifest, asterisk-1.2.4-r1.ebuild, - asterisk-1.2.4.ebuild: - Fix SRC_URI in asterisk-1.2.4 ebuilds. - -2006-03-04 21:46 stkn - - * [r155] Manifest, asterisk-1.2.5.ebuild, - files/digest-asterisk-1.2.5: - Version bump asterisk to 1.2.5, currently missing bristuff, t38 - pass-through and genericjb. - -2006-02-23 00:18 stkn - - * [r145] Manifest, asterisk-1.2.4-r1.ebuild, - files/digest-asterisk-1.2.4-r1: - Added experimental generic jitterbuffer to asterisk-1.2.4 rev1 - -2006-02-19 00:29 stkn - - * [r143] Manifest, asterisk-1.2.4-r1.ebuild, - files/digest-asterisk-1.2.4-r1: - Added experimental T.38 pass-through support to asterisk-1.2.4 - rev.1 ebuild (t38 useflag) - -2006-02-16 17:09 stkn - - * [r140] Manifest, files/digest-asterisk-1.2.4-r1: - Fixed asterisk bristuff digest problem - -2006-02-03 00:37 stkn - - * [r122] Manifest, asterisk-1.2.0.ebuild, asterisk-1.2.1.ebuild, - asterisk-1.2.3.ebuild: - SRC_URI updates for asterisk - -2006-02-03 00:35 stkn - - * [r121] Manifest, asterisk-1.2.4-r1.ebuild, - asterisk-1.2.4.ebuild, files/digest-asterisk-1.2.4-r1: - Revision bump asterisk to 1.2.4-r1, updating bristuff to - 0.3.0-PRE1k. - -2006-02-01 03:13 stkn - - * [r118] Manifest, files/digest-asterisk-1.2.4: - Remove garbage from asterisk-1.2.4 bristuff patch - -2006-02-01 02:56 stkn - - * [r117] Manifest, asterisk-1.2.4.ebuild, - files/digest-asterisk-1.2.4: - Version bump asterisk to 1.2.4 - -2006-01-25 17:15 stkn - - * [r112] Manifest, asterisk-1.2.2.ebuild, asterisk-1.2.3.ebuild, - files/digest-asterisk-1.2.3: - Add asterisk-1.2.3, modified bristuff patch to apply - -2006-01-21 17:02 stkn - - * [r104] Manifest, asterisk-1.2.2.ebuild, - files/digest-asterisk-1.2.2: - oops, forgot to add this one... adding asterisk-1.2.2 ebuild - (with bristuff-0.3.0PRE1h) - -2006-01-19 00:56 stkn - - * [r94] Manifest, asterisk-1.2.1-r1.ebuild, - files/digest-asterisk-1.2.1-r1: - [NEW] rev bumped asterisk to 1.2.1-r1, updating bristuff to - 0.3.0-PRE1f - -2006-01-15 15:22 stkn - - * [r82] Manifest, files/digest-asterisk-1.2.0_beta1-r1, - files/digest-asterisk-1.2.0_beta2: - And digests too - -2006-01-15 15:21 stkn - - * [r81] Manifest, asterisk-1.2.0_beta1-r1.ebuild, - asterisk-1.2.0_beta2.ebuild: - Removed old asterisk beta ebuilds - -2005-12-16 22:16 stkn - - * [r78] Manifest, files/1.0.0/asterisk.confd: - Cleanup default asterisk.confd file, disable wrapper - -2005-12-16 21:48 stkn - - * [r77] Manifest, asterisk-1.2.0.ebuild, asterisk-1.2.1.ebuild: - Fix installation of asterisk init script - -2005-12-15 15:36 stkn - - * [r73] Manifest, asterisk-1.2.1.ebuild, - files/digest-asterisk-1.2.1: - asterisk-1.2.1 + bristuff-0.3.0-PRE1c - -2005-12-14 19:55 stkn - - * [r69] asterisk-1.2.1.ebuild, files/digest-asterisk-1.2.1: - Version bumped asterisk to 1.2.1, no bristuff support! - -2005-12-14 19:55 stkn - - * [r68] Manifest: - Version bumped asterisk to 1.2.1, no bristuff support! - -2005-12-03 01:10 stkn - - * [r52] Manifest, asterisk-1.2.0.ebuild, - files/digest-asterisk-1.2.0: - Version bumped asterisk to 1.2.0 + bristuff-0.3-PRE1b - -2005-11-12 15:24 stkn - - * [r30] Manifest, asterisk-1.2.0_rc1.ebuild, - asterisk-1.2.0_rc2.ebuild, files/digest-asterisk-1.2.0_rc2: - Version bumped asterisk to 1.2.0_rc2, changed mpg123 dependency - to ~mpg123-0.59r - -2005-11-10 00:27 stkn - - * [r15] Manifest, asterisk-1.2.0_beta1-r1.ebuild, - asterisk-1.2.0_beta2.ebuild, asterisk-1.2.0_rc1.ebuild, - files/digest-asterisk-1.2.0_rc1: - Version bump and fixed SRC_URI in older ebuilds. - -2005-11-08 16:18 stkn - - * [r13] Manifest, asterisk-1.2.0_beta2.ebuild, - files/1.2.0/asterisk-1.2.0_beta-ukcid.patch: - Added ukcid patch to 1.2.0_beta2 - -2005-11-08 15:11 stkn - - * [r12] Manifest, asterisk-1.2.0_beta1-r1.ebuild, - asterisk-1.2.0_beta1.ebuild, - files/1.0.0/asterisk-1.0.9-vmail.cgi.patch, - files/digest-asterisk-1.2.0_beta1, - files/digest-asterisk-1.2.0_beta1-r1: - Security bump 1.2.0_beta1, fixes #111836 from bugs.g.o - -2005-11-08 02:09 stkn - - * [r10] Manifest, asterisk-1.2.0_beta2.ebuild, - files/digest-asterisk-1.2.0_beta2: - Version bump -> asterisk-1.2.0_beta2 - -2005-11-08 02:00 stkn - - * [r9] Manifest, asterisk-1.2.0_beta1.ebuild: - Removed osp flag, necessary osptoolkit is not available anymore. - -2005-10-29 21:37 stkn - - * [r2] trunk/dev-libs, trunk/dev-libs/pwlib, - trunk/dev-libs/pwlib/Manifest, trunk/dev-libs/pwlib/files, - trunk/dev-libs/pwlib/files/digest-pwlib-1.8.4, - trunk/dev-libs/pwlib/files/digest-pwlib-1.8.7, - trunk/dev-libs/pwlib/files/digest-pwlib-1.9.1, - trunk/dev-libs/pwlib/files/pwlib-1.6.3-dyn-esd.patch, - trunk/dev-libs/pwlib/files/pwlib-1.8.7-instplugins.diff, - trunk/dev-libs/pwlib/pwlib-1.8.4.ebuild, - trunk/dev-libs/pwlib/pwlib-1.8.7.ebuild, - trunk/dev-libs/pwlib/pwlib-1.9.1.ebuild, trunk/dev-python, - trunk/dev-python/pyst, trunk/dev-python/pyst/Manifest, - trunk/dev-python/pyst/files, - trunk/dev-python/pyst/files/digest-pyst-0.0.4_rc12, - trunk/dev-python/pyst/pyst-0.0.4_rc12.ebuild, trunk/media-libs, - trunk/media-libs/libsupertone, - trunk/media-libs/libsupertone/Manifest, - trunk/media-libs/libsupertone/files, - trunk/media-libs/libsupertone/files/digest-libsupertone-0.0.2, - trunk/media-libs/libsupertone/libsupertone-0.0.2.ebuild, - trunk/media-libs/spandsp, trunk/media-libs/spandsp/Manifest, - trunk/media-libs/spandsp/files, - trunk/media-libs/spandsp/files/digest-spandsp-0.0.2_pre20, - trunk/media-libs/spandsp/files/spandsp-0.0.2_pre20-nommx.diff, - trunk/media-libs/spandsp/spandsp-0.0.2_pre20.ebuild, - trunk/media-sound, trunk/media-sound/mpg123, - trunk/media-sound/mpg123/Manifest, - trunk/media-sound/mpg123/files, - trunk/media-sound/mpg123/files/digest-mpg123-0.59r, - trunk/media-sound/mpg123/files/mpg123-0.59r-patches-1.0.tar.bz2, - trunk/media-sound/mpg123/mpg123-0.59r.ebuild, trunk/net-im, - trunk/net-im/gnomemeeting, trunk/net-im/gnomemeeting/Manifest, - trunk/net-im/gnomemeeting/files, - trunk/net-im/gnomemeeting/files/digest-gnomemeeting-1.2.2, - trunk/net-im/gnomemeeting/files/gnomemeeting-1.2.1-configure.patch, - trunk/net-im/gnomemeeting/files/gnomemeeting-1.2.2-dbus.diff, - trunk/net-im/gnomemeeting/gnomemeeting-1.2.2.ebuild, - trunk/net-im/ohphone, trunk/net-im/ohphone/Manifest, - trunk/net-im/ohphone/files, - trunk/net-im/ohphone/files/digest-ohphone-1.14.4, - trunk/net-im/ohphone/files/ohphone-1.14.4-pwlibsdl.diff, - trunk/net-im/ohphone/ohphone-1.14.4.ebuild, trunk/net-libs, - trunk/net-libs/libmfcr2, trunk/net-libs/libmfcr2/Manifest, - trunk/net-libs/libmfcr2/files, - trunk/net-libs/libmfcr2/files/digest-libmfcr2-0.0.3, - trunk/net-libs/libmfcr2/files/libmfcr2-0.0.3-gentoo.diff, - trunk/net-libs/libmfcr2/libmfcr2-0.0.3.ebuild, - trunk/net-libs/libpri, trunk/net-libs/libpri/ChangeLog, - trunk/net-libs/libpri/Manifest, trunk/net-libs/libpri/files, - trunk/net-libs/libpri/files/digest-libpri-1.2.0_beta1, - trunk/net-libs/libpri/files/libpri-1.2.0_beta1-gentoo.diff, - trunk/net-libs/libpri/libpri-1.2.0_beta1.ebuild, - trunk/net-libs/libpri/metadata.xml, trunk/net-libs/libunicall, - trunk/net-libs/libunicall/Manifest, - trunk/net-libs/libunicall/files, - trunk/net-libs/libunicall/files/digest-libunicall-0.0.3, - trunk/net-libs/libunicall/libunicall-0.0.3.ebuild, - trunk/net-libs/opal, trunk/net-libs/opal/Manifest, - trunk/net-libs/opal/files, - trunk/net-libs/opal/files/digest-opal-2.1.1, - trunk/net-libs/opal/files/opal-2.1.1-notrace.diff, - trunk/net-libs/opal/opal-2.1.1.ebuild, trunk/net-libs/openh323, - trunk/net-libs/openh323/Manifest, trunk/net-libs/openh323/files, - trunk/net-libs/openh323/files/digest-openh323-1.15.3, - trunk/net-libs/openh323/files/digest-openh323-1.15.6, - trunk/net-libs/openh323/files/digest-openh323-1.17.2, - trunk/net-libs/openh323/files/openh323-1.15.2-notrace.diff, - trunk/net-libs/openh323/openh323-1.15.3.ebuild, - trunk/net-libs/openh323/openh323-1.15.6.ebuild, - trunk/net-libs/openh323/openh323-1.17.2.ebuild, - trunk/net-libs/osptoolkit, trunk/net-libs/osptoolkit/Manifest, - trunk/net-libs/osptoolkit/files, - trunk/net-libs/osptoolkit/files/digest-osptoolkit-3.3.1, - trunk/net-libs/osptoolkit/osptoolkit-3.3.1.ebuild, - trunk/net-misc, ., -addons, -addons/Manifest, - -addons/asterisk-addons-1.2.0_beta1.ebuild, -addons/files, - -addons/files/asterisk-addons-1.2.0_beta1-gentoo-base.diff, - -addons/files/asterisk-addons-1.2.0_beta1-gentoo-ooh323c.diff, - -addons/files/asterisk-addons-1.2.0_beta1-gentoo-res_sqlite3.diff, - -addons/files/digest-asterisk-addons-1.2.0_beta1, - -addons/files/sqlite-3.2.1-data-corruption.patch, - -app_backticks, -app_backticks/Manifest, - -app_backticks/asterisk-app_backticks-20050917.ebuild, - -app_backticks/files, - -app_backticks/files/app_backticks-20050917-astcfg.diff, - -app_backticks/files/digest-asterisk-app_backticks-20050917, - -app_cepstral, -app_cepstral/Manifest, - -app_cepstral/asterisk-app_cepstral-20050917.ebuild, - -app_cepstral/files, - -app_cepstral/files/app_cepstral-20050917-astcfg.diff, - -app_cepstral/files/digest-asterisk-app_cepstral-20050917, - -app_changrab, -app_changrab/Manifest, - -app_changrab/asterisk-app_changrab-20050917.ebuild, - -app_changrab/files, - -app_changrab/files/app_changrab-20050917-astcfg.diff, - -app_changrab/files/digest-asterisk-app_changrab-20050917, - -app_intercept, -app_intercept/Manifest, - -app_intercept/asterisk-app_intercept-20050828.ebuild, - -app_intercept/asterisk-app_intercept-20050917.ebuild, - -app_intercept/files, - -app_intercept/files/app_intercept-20050623-astcfg.diff, - -app_intercept/files/digest-asterisk-app_intercept-20050828, - -app_intercept/files/digest-asterisk-app_intercept-20050917, - -app_rtxfax, -app_rtxfax/Manifest, - -app_rtxfax/asterisk-app_rtxfax-0.0.2_pre20.ebuild, - -app_rtxfax/files, - -app_rtxfax/files/app_rtxfax-0.0.2_pre20-gentoo.diff, - -app_rtxfax/files/digest-asterisk-app_rtxfax-0.0.2_pre20, - -app_valetparking, -app_valetparking/Manifest, - -app_valetparking/asterisk-app_valetparking-20050917.ebuild, - -app_valetparking/files, - -app_valetparking/files/app_valetparking-20050917-astcfg.diff, - -app_valetparking/files/digest-asterisk-app_valetparking-20050917, - -chan_sccp, -chan_sccp/ChangeLog, -chan_sccp/Manifest, - -chan_sccp/asterisk-chan_sccp-0.0.20050807.ebuild, - -chan_sccp/asterisk-chan_sccp-0.0.20050826.ebuild, - -chan_sccp/asterisk-chan_sccp-0.0.20050902.ebuild, - -chan_sccp/asterisk-chan_sccp-0.0.20050906.ebuild, - -chan_sccp/asterisk-chan_sccp-0.0.20050913.ebuild, - -chan_sccp/asterisk-chan_sccp-0.0.20050922.ebuild, - -chan_sccp/asterisk-chan_sccp-0.0.20051022.ebuild, - -chan_sccp/files, - -chan_sccp/files/chan_sccp-20050725-gentoo.diff, - -chan_sccp/files/chan_sccp-20050902-gentoo.diff, - -chan_sccp/files/digest-asterisk-chan_sccp-0.0.20050807, - -chan_sccp/files/digest-asterisk-chan_sccp-0.0.20050826, - -chan_sccp/files/digest-asterisk-chan_sccp-0.0.20050902, - -chan_sccp/files/digest-asterisk-chan_sccp-0.0.20050906, - -chan_sccp/files/digest-asterisk-chan_sccp-0.0.20050913, - -chan_sccp/files/digest-asterisk-chan_sccp-0.0.20050922, - -chan_sccp/files/digest-asterisk-chan_sccp-0.0.20051022, - -chan_sccp/metadata.xml, -chan_ss7, -chan_ss7/Manifest, - -chan_ss7/asterisk-chan_ss7-0.1.ebuild, -chan_ss7/files, - -chan_ss7/files/chan_ss7-0.1-gentoo.diff, - -chan_ss7/files/digest-asterisk-chan_ss7-0.1, - -chan_ss7/files/ss7.conf.sample, -chan_unicall, - -chan_unicall/Manifest, - -chan_unicall/asterisk-chan_unicall-0.0.3_pre5.ebuild, - -chan_unicall/files, - -chan_unicall/files/digest-asterisk-chan_unicall-0.0.3_pre5, - -chan_unicall/files/unicall-0.0.3_pre5-gentoo.diff, -chan_visdn, - -chan_visdn/Manifest, - -chan_visdn/asterisk-chan_visdn-0.14.0.ebuild, - -chan_visdn/files, - -chan_visdn/files/digest-asterisk-chan_visdn-0.14.0, - -chan_visdn/files/visdn-0.14.0-configure.diff, -cvs, - -cvs/Manifest, -cvs/asterisk-cvs-9999.ebuild, -cvs/files, - -cvs/files/digest-asterisk-cvs-9999, -format_base64, - -format_base64/Manifest, - -format_base64/asterisk-format_base64-20050917.ebuild, - -format_base64/files, - -format_base64/files/digest-asterisk-format_base64-20050917, - -format_base64/files/format_base64-20050917-astcfg.diff, - ChangeLog, Manifest, asterisk-1.2.0_beta1.ebuild, files, - files/1.0.0, files/1.0.0/asterisk-1.0.5-uclibc-dns.diff, - files/1.0.0/asterisk.confd, files/1.0.0/asterisk.rc6, - files/1.2.0, files/1.2.0/asterisk.confd, - files/1.2.0/asterisk.rc6, files/digest-asterisk-1.2.0_beta1, - metadata.xml, trunk/net-misc/linphone, - trunk/net-misc/linphone/Manifest, trunk/net-misc/linphone/files, - trunk/net-misc/linphone/files/digest-linphone-1.1.0, - trunk/net-misc/linphone/files/linphone-1.0.1-ipv6-include.diff, - trunk/net-misc/linphone/linphone-1.1.0.ebuild, - trunk/net-misc/wanpipe, trunk/net-misc/wanpipe/Manifest, - trunk/net-misc/wanpipe/files, - trunk/net-misc/wanpipe/files/digest-wanpipe-2.3.2_p4, - trunk/net-misc/wanpipe/files/wanpipe-2.3.2_p4-gcc34.diff, - trunk/net-misc/wanpipe/files/wanpipe.confd, - trunk/net-misc/wanpipe/wanpipe-2.3.2_p4.ebuild, - trunk/net-misc/yate, trunk/net-misc/yate/Manifest, - trunk/net-misc/yate/files, - trunk/net-misc/yate/files/digest-yate-0.9.0_pre1, - trunk/net-misc/yate/files/digest-yate-0.9.0_pre2, - trunk/net-misc/yate/files/yate-0.9.0-gtk2.diff, - trunk/net-misc/yate/files/yate.confd, - trunk/net-misc/yate/files/yate.rc6, - trunk/net-misc/yate/yate-0.9.0_pre1.ebuild, - trunk/net-misc/yate/yate-0.9.0_pre2.ebuild, - trunk/net-misc/zaptel, trunk/net-misc/zaptel/ChangeLog, - trunk/net-misc/zaptel/Manifest, trunk/net-misc/zaptel/files, - trunk/net-misc/zaptel/files/digest-zaptel-1.2.0_beta1, - trunk/net-misc/zaptel/files/zaptel-1.0.4-experimental-devfs26.diff, - trunk/net-misc/zaptel/files/zaptel-1.0.4-gcc34.patch, - trunk/net-misc/zaptel/files/zaptel-1.2.0_beta1-gentoo.diff, - trunk/net-misc/zaptel/files/zaptel.confd, - trunk/net-misc/zaptel/files/zaptel.devfsd, - trunk/net-misc/zaptel/files/zaptel.rc6, - trunk/net-misc/zaptel/files/zaptel.udevd, - trunk/net-misc/zaptel/metadata.xml, - trunk/net-misc/zaptel/zaptel-1.2.0_beta1.ebuild: - Initial import of private gentoo-voip repos - - 01 Oct 2006; Stefan Schweizer <genstef@gentoo.org> - -files/1.0.0/asterisk-1.0.9-vmail.cgi.patch, -asterisk-1.2.6.ebuild, - -asterisk-1.2.6-r1.ebuild, -files/1.2.0/asterisk-1.2.6-iax2-sec.patch, - -files/1.0.0/asterisk.confd, -asterisk-1.2.7_p1.ebuild, - -asterisk-1.2.7_p1-r1.ebuild, -asterisk-1.2.8.ebuild, - -asterisk-1.2.9_p1.ebuild, +asterisk-1.2.12.1.ebuild, - -files/1.0.0/asterisk.rc6, -files/1.2.0/asterisk-1.2.9.1-iax2-sec.patch: - version bump - diff --git a/net-misc/asterisk/Manifest b/net-misc/asterisk/Manifest deleted file mode 100644 index 3cf5e6d..0000000 --- a/net-misc/asterisk/Manifest +++ /dev/null @@ -1,57 +0,0 @@ -AUX 1.0.0/asterisk-1.0.5-uclibc-dns.diff 304 RMD160 6d58a0fdad04f5105c1b8f8bb3e2058b4f97f12f SHA1 5f7819a1e5f5b8f035146d5506bab83f4ecb6ae0 SHA256 e4de36e528b7d1a7941689d530d93f1ffd41a2f863a856e612e3637f78ea4890 -MD5 08d718c04e911f465f867577d649d204 files/1.0.0/asterisk-1.0.5-uclibc-dns.diff 304 -RMD160 6d58a0fdad04f5105c1b8f8bb3e2058b4f97f12f files/1.0.0/asterisk-1.0.5-uclibc-dns.diff 304 -SHA256 e4de36e528b7d1a7941689d530d93f1ffd41a2f863a856e612e3637f78ea4890 files/1.0.0/asterisk-1.0.5-uclibc-dns.diff 304 -AUX 1.2.0/asterisk-1.2.0_beta-ukcid.patch 5787 RMD160 f42b214375f0e10cfacb6b54699b9b27d6c129cb SHA1 82575b19fc6fab63ee03342fe0aa12bee8bf57f2 SHA256 dbd919646fd851b07da9d3d4f6a0412d654318ec0dd39523362aa45516b51e1b -MD5 3932983fb155e026eb10533425174f59 files/1.2.0/asterisk-1.2.0_beta-ukcid.patch 5787 -RMD160 f42b214375f0e10cfacb6b54699b9b27d6c129cb files/1.2.0/asterisk-1.2.0_beta-ukcid.patch 5787 -SHA256 dbd919646fd851b07da9d3d4f6a0412d654318ec0dd39523362aa45516b51e1b files/1.2.0/asterisk-1.2.0_beta-ukcid.patch 5787 -AUX 1.2.0/asterisk-1.2.1-uclibc-getloadavg.diff 317 RMD160 f598d94a52cec83fefdafdce0694049c657e09e0 SHA1 fc0f4d990e386d39d43bac073f353421063186c9 SHA256 61daa70727418dbaf232fc5d1eaddd20a8505b943b8fb724a1b63170edfe88cc -MD5 18c24f2fcea3594b683d1c23643ad7b1 files/1.2.0/asterisk-1.2.1-uclibc-getloadavg.diff 317 -RMD160 f598d94a52cec83fefdafdce0694049c657e09e0 files/1.2.0/asterisk-1.2.1-uclibc-getloadavg.diff 317 -SHA256 61daa70727418dbaf232fc5d1eaddd20a8505b943b8fb724a1b63170edfe88cc files/1.2.0/asterisk-1.2.1-uclibc-getloadavg.diff 317 -AUX 1.2.0/asterisk-updater 3745 RMD160 6ac54a13613d6525e350a760fe0e6fcf792c9dd5 SHA1 253331d7fd3cd9cfc6441ab474032fd99fe1a426 SHA256 c68122359eefe55756a54ca6ab6e2793f8f6560fde95678b7077c1c450d5c23b -MD5 9400b1e1862e8ca17d12640fd14c0cd9 files/1.2.0/asterisk-updater 3745 -RMD160 6ac54a13613d6525e350a760fe0e6fcf792c9dd5 files/1.2.0/asterisk-updater 3745 -SHA256 c68122359eefe55756a54ca6ab6e2793f8f6560fde95678b7077c1c450d5c23b files/1.2.0/asterisk-updater 3745 -AUX 1.2.0/asterisk.confd 2204 RMD160 7a473544b05618fb29131a7858b6404ad8ba9d61 SHA1 8176383425900131960912efb86ea72782e9a833 SHA256 6a2f3eb02b28b6b8966ac796c11506711a89fd39ca2e493f476ac2aa2d9ee861 -MD5 d8dc7b5d2f22bdb089d8811f544baaa2 files/1.2.0/asterisk.confd 2204 -RMD160 7a473544b05618fb29131a7858b6404ad8ba9d61 files/1.2.0/asterisk.confd 2204 -SHA256 6a2f3eb02b28b6b8966ac796c11506711a89fd39ca2e493f476ac2aa2d9ee861 files/1.2.0/asterisk.confd 2204 -AUX 1.2.0/asterisk.rc6 5580 RMD160 7d6a944e8a5f61916a821515d4574c502a8fe01c SHA1 3b9ef712fb06986c1d4a39984318db61be584f28 SHA256 b04441e2ba9741fb3bd045d8f795794b9a939d5a995100a74acdea33fff48d13 -MD5 da9914a70c579f48b2dd80f8ac55b259 files/1.2.0/asterisk.rc6 5580 -RMD160 7d6a944e8a5f61916a821515d4574c502a8fe01c files/1.2.0/asterisk.rc6 5580 -SHA256 b04441e2ba9741fb3bd045d8f795794b9a939d5a995100a74acdea33fff48d13 files/1.2.0/asterisk.rc6 5580 -DIST ast_jb-1.2.9.1+rtp-keep-jb.patch.gz 15216 RMD160 aee7db56f5f8348c18511e8a35f237394af54182 SHA1 915547ed2566671972c772633b41322f2ee90153 SHA256 eb2ebc8b5398006711b9c6d2c9958cfd9138d61747a34792c1eed70baa8ebe6d -DIST asterisk-1.2.10-bristuff-0.3.0-PRE-1r.diff.gz 109904 RMD160 0bcf90b432819e7043842f1c20a4477fa5b2ad3b SHA1 d98944973a0257882fa05a22726be09dd67eb1f7 SHA256 7b4794d2e8a530103254a38418f507ae828d9924bd425c64311814a74c9f763c -DIST asterisk-1.2.10-patches-1.0.tar.bz2 7188 RMD160 8617f4cbe06ced3460ef09e6fd7ab8fef18cb0e5 SHA1 abf51f7855733c4481ed3af9d05375882dd5fd78 SHA256 3259cb7ef775a0dee7a20bc601d0cbc19067dbd3eb2d0f565738dba96c5f6ef9 -DIST asterisk-1.2.10.tar.gz 10573308 RMD160 22bb39d36adb99d23eed3b213703b8155bffca31 SHA1 e714edce1fba1296fc90d3d69e152bb32f5f5454 SHA256 1f1ba03851b63ad0778affeb51b0abe265396d2cfc1dfa43be1cd8569c9bff9b -DIST asterisk-1.2.11-jb.patch.bz2 15598 RMD160 cbf4a95e25bf03a41ebef2a726419299494bb298 SHA1 2302b0ff346f0efad8f1b7104be583edeb44ee5a SHA256 e85e438cb88993a188d063582f38eff0efc1b727e47d9f71809ee81d19992946 -DIST asterisk-1.2.11-patches-1.0.tar.bz2 7432 RMD160 b840a16b6ae9ffb1e76da4a7a8129916e1710204 SHA1 9c80d334097a4493e10a89b5b9e7958696019590 SHA256 46d198be655b35383725dde72ed82ecc7767b8009356f88d27c763323d1cdaa8 -DIST asterisk-1.2.12.1-bristuff-0.3.0-PRE-1s.diff.bz2 90730 RMD160 7a13105a0dbe16b5c4f2631aaea9f676bf566df2 SHA1 bf7024c380c86c3131fbf8580dcceff2ccc3428e SHA256 c0bfef98b5797f3cc1c8e9affc1016ae3bd58865dc89e441b1e8faf11a0d9954 -DIST asterisk-1.2.12.1.tar.gz 10576676 RMD160 9950eea63e03ffd5845f6a34f46680eec5a0a53b SHA1 6352ca330b8fa0ae9eb0816272070a1bce58c93b SHA256 e54fc05f30764ad6678337ae386918481dd99347cfaa2d85fed3d0dc3a548d56 -DIST asterisk-1.2.8-t38-20060423.tar.bz2 26857 RMD160 d9c28838385daa6b7e89bca4f074178f5775de8d SHA1 de874ca0fcde32ae321a3961688840d6ed8bd38c SHA256 5b2bbb9858ebfd27b9e26e6137b9a44e6effc8ca44a4d18502b2c697f9078128 -DIST bristuff-0.3.0-PRE-1r.tar.gz 262348 RMD160 c2f7e937fc7452d8abb392f6c17246c3f8291b01 SHA1 cfb957bb12000107db906bfd456e8e3dc52f5ca2 SHA256 944be5544eae6cbbc00ac30d63f76ea78cc355dac07732ed2c52f7bdec91117e -DIST bristuff-0.3.0-PRE-1s.tar.gz 265953 RMD160 8d3abdbbae4c376d52225395c72f4538e1f84a94 SHA1 1d942df9e4fd963755080e011caba88a33601c1b SHA256 30adea4f070ed44d1952163e850c177f976857b96965e18844ccd492ccef968d -EBUILD asterisk-1.2.10.ebuild 13157 RMD160 1fd9d77e1e99053e823f879b6c02a85abe8ea5ab SHA1 604ed9ddd423affda764ede02a6a00b3e1442adf SHA256 424890e18e41a0fee2a476ef51f036a59a40b56785dbaf1fc191b2abc217284f -MD5 7883c5422acac00b8db5e2bd07ea8d0d asterisk-1.2.10.ebuild 13157 -RMD160 1fd9d77e1e99053e823f879b6c02a85abe8ea5ab asterisk-1.2.10.ebuild 13157 -SHA256 424890e18e41a0fee2a476ef51f036a59a40b56785dbaf1fc191b2abc217284f asterisk-1.2.10.ebuild 13157 -EBUILD asterisk-1.2.12.1.ebuild 12193 RMD160 c00db640dcb1736b863831b3f56cba1662988006 SHA1 1c5a5a2ac0d2b55d9637fc9b9dbf940978e8e42f SHA256 f4aaf2dd5f8a498d80748a8ab3d095e5b9a398a157a70d63dc9dcdb596e7a805 -MD5 43491d5a651bb6274decee9910bee144 asterisk-1.2.12.1.ebuild 12193 -RMD160 c00db640dcb1736b863831b3f56cba1662988006 asterisk-1.2.12.1.ebuild 12193 -SHA256 f4aaf2dd5f8a498d80748a8ab3d095e5b9a398a157a70d63dc9dcdb596e7a805 asterisk-1.2.12.1.ebuild 12193 -MISC ChangeLog 20710 RMD160 3e1a110d05d54791206c04b40775256b42c6cf2a SHA1 9c1ab3d91017fbe61ab546f6208d1b5d0b4d62d9 SHA256 d2d1ba20a1e3d26321537736be166ed90e422f846dd125c9dc7ba4e134d9df1c -MD5 1d6d54fda87161edd644f71932131095 ChangeLog 20710 -RMD160 3e1a110d05d54791206c04b40775256b42c6cf2a ChangeLog 20710 -SHA256 d2d1ba20a1e3d26321537736be166ed90e422f846dd125c9dc7ba4e134d9df1c ChangeLog 20710 -MISC metadata.xml 248 RMD160 a989fff0cebc82a58a75fb3a2eec8da0712ad57e SHA1 10bea6cd152e9f0ecb627eaacc19980a9d5f5dc4 SHA256 d0e3ab77a8a7b859511b8d5fda83dc018351e6367724b097dcc13c4aa0a3ee6b -MD5 44cf247f04cc83413fcb40ed59d0847a metadata.xml 248 -RMD160 a989fff0cebc82a58a75fb3a2eec8da0712ad57e metadata.xml 248 -SHA256 d0e3ab77a8a7b859511b8d5fda83dc018351e6367724b097dcc13c4aa0a3ee6b metadata.xml 248 -MD5 149d307377355807112aa3d7552248cb files/digest-asterisk-1.2.10 1680 -RMD160 a3d3193fa2d8fd7e7e5831d1b9f0841905c1bb9d files/digest-asterisk-1.2.10 1680 -SHA256 8e79cdca30ea09fd028538c728960bc90a1abdef5da5ce5d2b4f5f95f22967ea files/digest-asterisk-1.2.10 1680 -MD5 6fb4cc5bd25443732783d49245e913b5 files/digest-asterisk-1.2.12.1 1388 -RMD160 bc3b3618859528cb3cf80db784270202526f0af4 files/digest-asterisk-1.2.12.1 1388 -SHA256 c3fd92c253e1b0f2637ad85131170debe3a995666f1e01a0517a9fa8c1e3123e files/digest-asterisk-1.2.12.1 1388 diff --git a/net-misc/asterisk/asterisk-1.2.10.ebuild b/net-misc/asterisk/asterisk-1.2.10.ebuild deleted file mode 100644 index 65aaede..0000000 --- a/net-misc/asterisk/asterisk-1.2.10.ebuild +++ /dev/null @@ -1,531 +0,0 @@ - -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/asterisk-1.2.0.ebuild,v 1.3 2005/11/21 17:49:43 stkn Exp $ - -inherit eutils - -#IUSE="alsa bri curl debug doc gtk h323 hardened lowmem mmx mysql \ -# nosamples odbc osp postgres pri speex sqlite ssl t38 ukcid zaptel" - -IUSE="alsa bri curl debug doc gtk genericjb h323 hardened lowmem mmx mysql \ - nosamples odbc osp postgres pri speex sqlite ssl t38 ukcid zaptel" - -BRI_VERSION="0.3.0-PRE-1r" -AST_PATCHES="1.2.10-patches-1.0" -T38_PATCHES="1.2.8-t38-20060423" -JB_PATCHES="1.2.9.1+rtp-keep-jb" - -## NOTE: -# -# - genericjb dropped for now, latest patch doesn't apply -# - -MY_P="${P/_p/.}" - -DESCRIPTION="Asterisk: A Modular Open Source PBX System" -HOMEPAGE="http://www.asterisk.org/" -SRC_URI="http://ftp.digium.com/pub/asterisk/${MY_P}.tar.gz - http://www.netdomination.org/pub/asterisk/${PN}-${AST_PATCHES}.tar.bz2 - bri? ( http://www.netdomination.org/pub/asterisk/${MY_P}-bristuff-${BRI_VERSION}.diff.gz - http://www.junghanns.net/downloads/bristuff-${BRI_VERSION}.tar.gz ) - t38? ( http://www.netdomination.org/pub/asterisk/${PN}-${T38_PATCHES}.tar.bz2 ) - genericjb? ( http://www.netdomination.org/pub/asterisk/ast_jb-${JB_PATCHES}.patch.gz )" -# bri? ( http://www.junghanns.net/downloads/bristuff-${BRI_VERSION}.tar.gz ) - - -S="${WORKDIR}/${MY_P}" -S_BRI="${WORKDIR}/bristuff-${BRI_VERSION}" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86" - -RDEPEND="dev-libs/newt - media-sound/sox - media-sound/mpg123 - ssl? ( dev-libs/openssl ) - gtk? ( =x11-libs/gtk+-1.2* ) - pri? ( >=net-libs/libpri-1.2.3 ) - h323? ( >=dev-libs/pwlib-1.8.3 - >=net-libs/openh323-1.15.0 ) - alsa? ( media-libs/alsa-lib ) - curl? ( net-misc/curl ) - odbc? ( dev-db/unixODBC ) - mysql? ( dev-db/mysql ) - speex? ( media-libs/speex ) - sqlite? ( <dev-db/sqlite-3.0.0 ) - zaptel? ( >=net-misc/zaptel-1.2.6 ) - postgres? ( dev-db/postgresql ) - osp? ( >=net-libs/osptoolkit-3.3.4 ) - bri? ( >=net-libs/libpri-1.2.3 - >=net-misc/zaptel-1.2.6 )" - -DEPEND="${RDEPEND} - sys-devel/flex - sys-devel/bison - doc? ( app-doc/doxygen )" - - -# -# List of modules to ignore during scan (because they have been removed in 1.2.x) -# -SCAN_IGNORE_MODS=" - app_qcall - chan_modem - chan_modem_i4l - chan_modem_bestdata - chan_modme_aopen" - -# -# shortcuts -# -is_ast10update() { - return $(has_version "=net-misc/asterisk-1.0*") -} - -is_astupdate() { - if ! is_ast10update; then - return $(has_version "<net-misc/asterisk-${PV}") - fi - return 0 -} - -# -# Display a nice countdown... -# -countdown() { - local n - - ebeep - - n=${1:-10} - while [[ $n -gt 0 ]]; do - echo -en " Waiting $n second(s)...\r" - sleep 1 - (( n-- )) - done -} - -# -# Scan for asterisk-1.0.x modules that will have to be updated -# -scan_modules() { - local modules_list="" - local n - - for x in $(ls -1 ${ROOT}usr/lib/asterisk/modules/*.so); do - echo -en "Scanning.... $(basename ${x}) \r" - - # skip blacklisted modules - hasq $(basename ${x//.so}) ${SCAN_IGNORE_MODS} && continue - - if $(readelf -s "${x}" | grep -q "\(ast_load\|ast_destroy\)$"); then - modules_list="${modules_list} $(basename ${x//.so})" - fi - done - - if [[ -n "${modules_list}" ]]; then - echo " ========================================================" - ewarn "Please update or unmerge the following modules:" - echo - - n=0 - for x in ${modules_list}; do - ewarn " - ${x}" - (( n++ )) - done - - echo - ewarn "Warning: $n outdated module(s) found!" - ewarn "Warning: asterisk may not work if you don't update them!" - echo " ========================================================" - echo - einfo "You can use the \"asterisk-updater\" script to update the modules" - echo - countdown - echo - return 1 - else - einfo "No asterisk-1.0.x modules found!" - return 0 - fi -} - -pkg_setup() { - local checkfailed=0 waitaftermsg=0 - - if is_ast10update; then - ewarn " Asterisk UPGRADE Warning" - ewarn "" - ewarn "- Please read ${ROOT}usr/share/doc/${PF}/UPGRADE.txt.gz after the installation!" - ewarn "" - ewarn " Asterisk UPGRADE Warning" - echo - waitaftermsg=1 - fi - - if use t38; then - ewarn "********************** Experimental Feature **************************" - ewarn "Please note that T.38 pass-through support is experimental and may not" - ewarn "be included in newer versions!" - echo - waitaftermsg=1 - fi - - if use genericjb; then - ewarn "********************** Experimental Feature **************************" - ewarn "Please note that generic jitterbuffer support is experimental and may not" - ewarn "be included in newer versions!" - echo - waitaftermsg=1 - fi - - if [[ $waitaftermsg -eq 1 ]]; then - einfo "Press Ctrl+C to abort" - echo - countdown - fi - - # - # Regular checks - # - einfo "Running some pre-flight checks..." - echo - - # check if zaptel has been compiled with ukcid too - if use ukcid; then - if ! built_with_use net-misc/zaptel ukcid; then - eerror "- ukcid: Re-emerge zaptel with \"ukcid\" useflag enabled!" - checkfailed=1 - fi - fi - - # check if zaptel and libpri have been built with bri enabled - if use bri; then - if ! built_with_use net-misc/zaptel bri; then - eerror "- bri: Re-emerge zaptel with \"bri\" useflag enabled!" - heckfailed=1 - fi - - if ! built_with_use net-libs/libpri bri; then - eerror "- bri: Re-emerge libpri with \"bri\" useflag enabled!" - checkfailed=1 - fi - fi - - # stop here if checks failed - [[ $checkfailed -eq 1 ]] && \ - die "Pre-flight check failed, see messages for more information!" -} - -src_unpack() { - unpack ${A} - cd ${S} - - # - # gentoo patchset - # - for x in $(grep -v "^#\| \+" ${WORKDIR}/patches/patches.list); do - epatch ${WORKDIR}/patches/${x} - done - - if use mmx; then - if ! use hardened; then - einfo "Enabling mmx optimization" - sed -i -e "s:^#\(K6OPT[\t ]\+= -DK6OPT\):\1:" \ - Makefile - else - ewarn "Hardened use-flag is set, not enabling mmx optimization for codec_gsm!" - fi - fi - - if ! use debug; then - einfo "Disabling debug support" - sed -i -e "s:^\(DEBUG=\):#\1:" \ - Makefile - fi - - if ! use ssl; then - einfo "Disabling crypto support" - sed -i -e "s:^#\(NOCRYPTO=yes\):\1:" \ - Makefile - fi - - # - # uclibc patch - # - if use elibc_uclibc; then - einfo "Patching asterisk for uclibc..." - epatch ${FILESDIR}/1.0.0/${PN}-1.0.5-uclibc-dns.diff - epatch ${FILESDIR}/1.2.0/${PN}-1.2.1-uclibc-getloadavg.diff - fi - - # - # ukcid patch from http://www.lusyn.com/asterisk/ - # - if use ukcid; then - einfo "Patching asterisk for UK Callerid..." - epatch ${FILESDIR}/1.2.0/${PN}-1.2.0_beta-ukcid.patch - fi - - # - # BRI patches - # - if use bri; then - einfo "Patching asterisk w/ BRI stuff" - - epatch ${WORKDIR}/${MY_P}-bristuff-${BRI_VERSION}.diff -# epatch ${S_BRI}/patches/asterisk.patch - fi - - # - # T.38 pass-through patch (asterisk bug #5090) - # - if use t38; then - einfo "T.38 experimental pass-through support (ast #5090)" - epatch ${WORKDIR}/asterisk-${T38_PATCHES}.patch - - if use bri; then - epatch ${WORKDIR}/asterisk-${T38_PATCHES}-bri.patch - else - epatch ${WORKDIR}/asterisk-${T38_PATCHES}-nobri.patch - fi - fi - - # - # Generic jitterbuffer (asterisk bug #3854) - # - if use genericjb; then - einfo "Generic jitterbuffer (ast #3854, full patch available on http://www.asterisk-backports.org/)" - epatch ${WORKDIR}/ast_jb-${JB_PATCHES}.patch - - #sed -i -e "s:^\(GENERIC_JB = \)#-DAST_JB:\1 -DAST_JB:" \ - # Makefile - fi -} - -src_compile() { - local myopts - - use lowmem && \ - myopts="-DLOW_MEMORY" - - if use h323; then - einfo "Building H.323 wrapper lib..." - make -C channels/h323 \ - NOTRACE=1 \ - PWLIBDIR=/usr/share/pwlib \ - OPENH323DIR=/usr/share/openh323 \ - libchanh323.a Makefile.ast || die "Make h323 failed" - fi - - einfo "Building Asterisk..." - make \ - NOTRACE=1 \ - OPTIMIZE="${CFLAGS}" \ - PWLIBDIR=/usr/share/pwlib \ - OPENH323DIR=/usr/share/openh323 \ - OPTIONS="${myopts}" || die "Make failed" - - # create api docs - use doc && \ - make progdocs - - # build bristuff's ISDNguard - use bri && \ - make -C ${S_BRI}/ISDNguard -} - -src_install() { - - # install asterisk - make DESTDIR=${D} install || die "Make install failed" - make DESTDIR=${D} samples || die "Failed to create sample files" - - # remove bristuff capi - use bri && \ - rm -f ${D}usr/lib/asterisk/modules/{app,chan}_capi*.so 2>/dev/null - - # remove installed sample files if nosamples flag is set - if use nosamples; then - einfo "Skipping installation of sample files..." - rm -rf ${D}var/spool/asterisk/voicemail/default - rm -f ${D}var/lib/asterisk/mohmp3/* - rm -f ${D}var/lib/asterisk/sounds/demo-* - rm -f ${D}var/lib/asterisk/agi-bin/* - else - einfo "Sample files have been installed" - keepdir /var/spool/asterisk/voicemail/default/1234/INBOX - fi - - # move sample configuration files to doc directory - if is_ast10update; then - einfo "Updating from old (pre-1.2) asterisk version, new configuration files have been installed" - einfo "into ${ROOT}etc/asterisk, use etc-update or dispatch-conf to update them" - elif has_version "net-misc/asterisk"; then - einfo "Configuration samples have been moved to: $ROOT/usr/share/doc/${PF}/conf" - insinto /usr/share/doc/${PF}/conf - doins ${D}etc/asterisk/*.conf* /usr/share/doc/${PF}/conf - rm -f ${D}etc/asterisk/*.conf* 2>/dev/null - fi - - # don't delete these directories, even if they are empty - for x in voicemail meetme system dictate monitor tmp; do - keepdir /var/spool/asterisk/${x} - done - keepdir /var/lib/asterisk/sounds/priv-callerintros - keepdir /var/lib/asterisk/mohmp3 - keepdir /var/lib/asterisk/agi-bin - keepdir /var/log/asterisk/cdr-csv - keepdir /var/log/asterisk/cdr-custom - keepdir /var/run/asterisk - - # install asterisk.h, a lot of external modules need this - insinto /usr/include/asterisk - doins include/asterisk.h - - # install astgenkey, astxs, safe_asterisk and manpages - dobin contrib/scripts/astxs - dosbin contrib/scripts/astgenkey - dosbin contrib/scripts/safe_asterisk - doman contrib/scripts/safe_asterisk.8 - doman contrib/scripts/astgenkey.8 - - newinitd ${FILESDIR}/1.2.0/asterisk.rc6 asterisk - newconfd ${FILESDIR}/1.2.0/asterisk.confd asterisk - - # install standard docs... - dodoc BUGS CREDITS LICENSE ChangeLog HARDWARE README README.fpm - dodoc SECURITY doc/CODING-GUIDELINES doc/linkedlists.README UPGRADE.txt - dodoc doc/README.* - dodoc doc/*.txt - - docinto scripts - dodoc contrib/scripts/* - - docinto utils - dodoc contrib/utils/* - - docinto configs - dodoc configs/* - - # install api docs - if use doc; then - insinto /usr/share/doc/${PF}/api/html - doins doc/api/html/* - fi - - # install ISDNguard - if use bri; then - cd ${S_BRI}/ISDNguard - dosbin ISDNguard - - docinto ISDNguard - dodoc INSTALL.ISDNguard - - cd ${S} - fi - - insinto /usr/share/doc/${PF}/cgi - doins contrib/scripts/vmail.cgi - doins images/*.gif - - # install asterisk-updater - dosbin ${FILESDIR}/1.2.0/asterisk-updater -} - -pkg_preinst() { - enewgroup asterisk - enewuser asterisk -1 -1 /var/lib/asterisk asterisk -} - -pkg_postinst() { - einfo "Fixing permissions" - for x in spool run lib log; do - chown -R asterisk:asterisk ${ROOT}var/${x}/asterisk - chmod -R u=rwX,g=rX,o= ${ROOT}var/${x}/asterisk - done - - chown -R root:asterisk ${ROOT}etc/asterisk - chmod -R u=rwX,g=rX,o= ${ROOT}etc/asterisk - echo - - # - # Announcements, warnings, reminders... - # - einfo "Asterisk has been installed" - einfo "" - einfo "If you want to know more about asterisk, visit these sites:" - einfo "http://www.asteriskdocs.org/" - einfo "http://www.voip-info.org/wiki-Asterisk" - echo - einfo "http://asterisk.xvoip.com/" - einfo "http://junghanns.net/asterisk/" - einfo "http://www.automated.it/guidetoasterisk.htm" - echo - einfo "Gentoo VoIP IRC Channel:" - einfo "#gentoo-voip @ irc.freenode.net" - echo - echo - - # - # Warning about 1.0 -> 1.2 changes... - # - if is_ast10update; then - ewarn "" - ewarn "- Please read ${ROOT}usr/share/doc/${PF}/UPGRADE.txt.gz before continuing" - ewarn "" - fi - - if is_astupdate; then - ewarn "" - ewarn " - The initgroups patch has been dropped, please update your" - ewarn " \"conf.d/asterisk\" and \"init.d/asterisk\" file!" - ewarn "" - fi - - if use t38; then - ewarn "********************** Experimental Feature **************************" - ewarn "Please note that T.38 pass-through support is experimental and may not" - ewarn "be included in newer versions!" - echo - fi -# if use genericjb; then -# ewarn "********************** Experimental Feature **************************" -# ewarn "Please note that generic jitterbuffer support is experimental and may not" -# ewarn "be included in newer versions!" -# echo -# fi - - # scan for old modules - if is_ast10update; then - einfo "Asterisk has been updated from pre-1.2.x, scanning for old modules" - scan_modules - fi -} - -pkg_config() { - einfo "Do you want to reset file permissions and ownerships (y/N)?" - - read tmp - tmp="$(echo $tmp | tr [:upper:] [:lower:])" - - if [[ "$tmp" = "y" ]] ||\ - [[ "$tmp" = "yes" ]] - then - einfo "Resetting permissions to defaults..." - - for x in spool run lib log; do - chown -R asterisk:asterisk ${ROOT}var/${x}/asterisk - chmod -R u=rwX,g=rX,o= ${ROOT}var/${x}/asterisk - done - - chown -R root:asterisk ${ROOT}etc/asterisk - chmod -R u=rwX,g=rX,o= ${ROOT}etc/asterisk - - einfo "done" - else - einfo "skipping" - fi -} diff --git a/net-misc/asterisk/asterisk-1.2.12.1.ebuild b/net-misc/asterisk/asterisk-1.2.12.1.ebuild deleted file mode 100644 index c379545..0000000 --- a/net-misc/asterisk/asterisk-1.2.12.1.ebuild +++ /dev/null @@ -1,499 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/asterisk-1.2.11.ebuild,v 1.2 2006/09/14 19:08:40 gustavoz Exp $ - -inherit eutils - -IUSE="alsa bri curl debug doc gtk genericjb h323 hardened lowmem mmx mysql \ - nosamples odbc osp postgres pri speex sqlite ssl ukcid zaptel" - -BRI_VERSION="0.3.0-PRE-1s" -AST_PATCHES="1.2.11-patches-1.0" -JB_PATCHES="1.2.11-jb" - -## NOTE: -# -# - t.38 dropped -# - -MY_P="${P/_p/.}" - -DESCRIPTION="Asterisk: A Modular Open Source PBX System" -HOMEPAGE="http://www.asterisk.org/" -SRC_URI="http://ftp.digium.com/pub/asterisk/releases/${MY_P}.tar.gz - http://www.netdomination.org/pub/asterisk/${PN}-${AST_PATCHES}.tar.bz2 - bri? ( http://gentooexperimental.org/~genstef/dist/${MY_P}-bristuff-${BRI_VERSION}.diff.bz2 - http://www.junghanns.net/downloads/bristuff-${BRI_VERSION}.tar.gz ) - genericjb? ( http://www.netdomination.org/pub/asterisk/${PN}-${JB_PATCHES}.patch.bz2 )" -# bri? ( http://www.junghanns.net/downloads/bristuff-${BRI_VERSION}.tar.gz ) - - -S="${WORKDIR}/${MY_P}" -S_BRI="${WORKDIR}/bristuff-${BRI_VERSION}" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86" - -RDEPEND="dev-libs/newt - media-sound/sox - ssl? ( dev-libs/openssl ) - gtk? ( =x11-libs/gtk+-1.2* ) - pri? ( >=net-libs/libpri-1.2.3 ) - h323? ( >=dev-libs/pwlib-1.8.3 - >=net-libs/openh323-1.15.0 ) - alsa? ( media-libs/alsa-lib ) - curl? ( net-misc/curl ) - odbc? ( dev-db/unixODBC ) - mysql? ( dev-db/mysql ) - speex? ( media-libs/speex ) - sqlite? ( <dev-db/sqlite-3.0.0 ) - zaptel? ( >=net-misc/zaptel-1.2.8 ) - postgres? ( dev-db/postgresql ) - osp? ( >=net-libs/osptoolkit-3.3.4 ) - bri? ( >=net-libs/libpri-1.2.3-r1 - >=net-misc/zaptel-1.2.8 )" - -DEPEND="${RDEPEND} - sys-devel/flex - sys-devel/bison - doc? ( app-doc/doxygen )" - -#asterisk uses special mpg123 functions and does not work with mpeg321, bug #42703 -PDEPEND="|| ( media-sound/mpg123 net-misc/asterisk-addons )" - -# -# List of modules to ignore during scan (because they have been removed in 1.2.x) -# -SCAN_IGNORE_MODS=" - app_qcall - chan_modem - chan_modem_i4l - chan_modem_bestdata - chan_modme_aopen" - -# -# shortcuts -# -is_ast10update() { - return $(has_version "=net-misc/asterisk-1.0*") -} - -is_astupdate() { - if ! is_ast10update; then - return $(has_version "<net-misc/asterisk-${PV}") - fi - return 0 -} - -# -# Display a nice countdown... -# -countdown() { - local n - - ebeep - - n=${1:-10} - while [[ $n -gt 0 ]]; do - echo -en " Waiting $n second(s)...\r" - sleep 1 - (( n-- )) - done -} - -# -# Scan for asterisk-1.0.x modules that will have to be updated -# -scan_modules() { - local modules_list="" - local n - - for x in $(ls -1 ${ROOT}usr/lib/asterisk/modules/*.so); do - echo -en "Scanning.... $(basename ${x}) \r" - - # skip blacklisted modules - hasq $(basename ${x//.so}) ${SCAN_IGNORE_MODS} && continue - - if $(readelf -s "${x}" | grep -q "\(ast_load\|ast_destroy\)$"); then - modules_list="${modules_list} $(basename ${x//.so})" - fi - done - - if [[ -n "${modules_list}" ]]; then - echo " ========================================================" - ewarn "Please update or unmerge the following modules:" - echo - - n=0 - for x in ${modules_list}; do - ewarn " - ${x}" - (( n++ )) - done - - echo - ewarn "Warning: $n outdated module(s) found!" - ewarn "Warning: asterisk may not work if you don't update them!" - echo " ========================================================" - echo - einfo "You can use the \"asterisk-updater\" script to update the modules" - echo - countdown - echo - return 1 - else - einfo "No asterisk-1.0.x modules found!" - return 0 - fi -} - -pkg_setup() { - local checkfailed=0 waitaftermsg=0 - - if is_ast10update; then - ewarn " Asterisk UPGRADE Warning" - ewarn "" - ewarn "- Please read ${ROOT}usr/share/doc/${PF}/UPGRADE.txt.gz after the installation!" - ewarn "" - ewarn " Asterisk UPGRADE Warning" - echo - waitaftermsg=1 - fi - - if use genericjb; then - ewarn "********************** Experimental Feature **************************" - ewarn "Please note that generic jitterbuffer support is experimental and may not" - ewarn "be included in newer versions!" - echo - waitaftermsg=1 - fi - - if [[ $waitaftermsg -eq 1 ]]; then - einfo "Press Ctrl+C to abort" - echo - countdown - fi - - # - # Regular checks - # - einfo "Running some pre-flight checks..." - echo - - # check if zaptel has been compiled with ukcid too - if use ukcid; then - if ! built_with_use net-misc/zaptel ukcid; then - eerror "- ukcid: Re-emerge zaptel with \"ukcid\" useflag enabled!" - checkfailed=1 - fi - fi - - # check if zaptel and libpri have been built with bri enabled - if use bri; then - if ! built_with_use net-misc/zaptel bri; then - eerror "- bri: Re-emerge zaptel with \"bri\" useflag enabled!" - heckfailed=1 - fi - - if ! built_with_use net-libs/libpri bri; then - eerror "- bri: Re-emerge libpri with \"bri\" useflag enabled!" - checkfailed=1 - fi - fi - - # stop here if checks failed - [[ $checkfailed -eq 1 ]] && \ - die "Pre-flight check failed, see messages for more information!" -} - -src_unpack() { - unpack ${A} - cd ${S} - - # - # gentoo patchset - # - for x in $(grep -v "^#\| \+" ${WORKDIR}/patches/patches.list); do - epatch ${WORKDIR}/patches/${x} - done - - if use mmx; then - if ! use hardened; then - einfo "Enabling mmx optimization" - sed -i -e "s:^#\(K6OPT[\t ]\+= -DK6OPT\):\1:" \ - Makefile - else - ewarn "Hardened use-flag is set, not enabling mmx optimization for codec_gsm!" - fi - fi - - if ! use debug; then - einfo "Disabling debug support" - sed -i -e "s:^\(DEBUG=\):#\1:" \ - Makefile - fi - - if ! use ssl; then - einfo "Disabling crypto support" - sed -i -e "s:^#\(NOCRYPTO=yes\):\1:" \ - Makefile - fi - - # - # uclibc patch - # - if use elibc_uclibc; then - einfo "Patching asterisk for uclibc..." - epatch ${FILESDIR}/1.0.0/${PN}-1.0.5-uclibc-dns.diff - epatch ${FILESDIR}/1.2.0/${PN}-1.2.1-uclibc-getloadavg.diff - fi - - # - # ukcid patch from http://www.lusyn.com/asterisk/ - # - if use ukcid; then - einfo "Patching asterisk for UK Callerid..." - epatch ${FILESDIR}/1.2.0/${PN}-1.2.0_beta-ukcid.patch - fi - - # - # BRI patches - # - if use bri; then - einfo "Patching asterisk w/ BRI stuff" - - epatch ${WORKDIR}/${MY_P}-bristuff-${BRI_VERSION}.diff -# epatch ${S_BRI}/patches/asterisk.patch - fi - - # - # Generic jitterbuffer (asterisk bug #3854) - # - if use genericjb; then - einfo "Generic jitterbuffer (ast #3854, full patch available on http://www.asterisk-backports.org/)" -# epatch ${WORKDIR}/ast_jb-${JB_PATCHES}.patch - epatch ${WORKDIR}/${PN}-${JB_PATCHES}.patch - - #sed -i -e "s:^\(GENERIC_JB = \)#-DAST_JB:\1 -DAST_JB:" \ - # Makefile - fi -} - -src_compile() { - local myopts - - use lowmem && \ - myopts="-DLOW_MEMORY" - - if use h323; then - einfo "Building H.323 wrapper lib..." - make -C channels/h323 \ - NOTRACE=1 \ - PWLIBDIR=/usr/share/pwlib \ - OPENH323DIR=/usr/share/openh323 \ - libchanh323.a Makefile.ast || die "Make h323 failed" - fi - - einfo "Building Asterisk..." - make \ - NOTRACE=1 \ - OPTIMIZE="${CFLAGS}" \ - PWLIBDIR=/usr/share/pwlib \ - OPENH323DIR=/usr/share/openh323 \ - OPTIONS="${myopts}" || die "Make failed" - - # create api docs - use doc && \ - make progdocs - - # build bristuff's ISDNguard - use bri && \ - make -C ${S_BRI}/ISDNguard -} - -src_install() { - - # install asterisk - make DESTDIR=${D} install || die "Make install failed" - make DESTDIR=${D} samples || die "Failed to create sample files" - - # remove bristuff capi - use bri && \ - rm -f ${D}usr/lib/asterisk/modules/{app,chan}_capi*.so 2>/dev/null - - # remove installed sample files if nosamples flag is set - if use nosamples; then - einfo "Skipping installation of sample files..." - rm -rf ${D}var/spool/asterisk/voicemail/default - rm -f ${D}var/lib/asterisk/mohmp3/* - rm -f ${D}var/lib/asterisk/sounds/demo-* - rm -f ${D}var/lib/asterisk/agi-bin/* - else - einfo "Sample files have been installed" - keepdir /var/spool/asterisk/voicemail/default/1234/INBOX - fi - - # move sample configuration files to doc directory - if is_ast10update; then - einfo "Updating from old (pre-1.2) asterisk version, new configuration files have been installed" - einfo "into ${ROOT}etc/asterisk, use etc-update or dispatch-conf to update them" - elif has_version "net-misc/asterisk"; then - einfo "Configuration samples have been moved to: $ROOT/usr/share/doc/${PF}/conf" - insinto /usr/share/doc/${PF}/conf - doins ${D}etc/asterisk/*.conf* - rm -f ${D}etc/asterisk/*.conf* 2>/dev/null - fi - - # don't delete these directories, even if they are empty - for x in voicemail meetme system dictate monitor tmp; do - keepdir /var/spool/asterisk/${x} - done - keepdir /var/lib/asterisk/sounds/priv-callerintros - keepdir /var/lib/asterisk/mohmp3 - keepdir /var/lib/asterisk/agi-bin - keepdir /var/log/asterisk/cdr-csv - keepdir /var/log/asterisk/cdr-custom - keepdir /var/run/asterisk - - # install asterisk.h, a lot of external modules need this - insinto /usr/include/asterisk - doins include/asterisk.h - - # install astgenkey, astxs, safe_asterisk and manpages - dobin contrib/scripts/astxs - dosbin contrib/scripts/astgenkey - dosbin contrib/scripts/safe_asterisk - doman contrib/scripts/safe_asterisk.8 - doman contrib/scripts/astgenkey.8 - - newinitd ${FILESDIR}/1.2.0/asterisk.rc6 asterisk - newconfd ${FILESDIR}/1.2.0/asterisk.confd asterisk - - # install standard docs... - dodoc BUGS CREDITS LICENSE ChangeLog HARDWARE README README.fpm - dodoc SECURITY doc/CODING-GUIDELINES doc/linkedlists.README UPGRADE.txt - dodoc doc/README.* - dodoc doc/*.txt - - docinto scripts - dodoc contrib/scripts/* - - docinto utils - dodoc contrib/utils/* - - docinto configs - dodoc configs/* - - # install api docs - if use doc; then - insinto /usr/share/doc/${PF}/api/html - doins doc/api/html/* - fi - - # install ISDNguard - if use bri; then - cd ${S_BRI}/ISDNguard - dosbin ISDNguard - - docinto ISDNguard - dodoc INSTALL.ISDNguard - - cd ${S} - fi - - insinto /usr/share/doc/${PF}/cgi - doins contrib/scripts/vmail.cgi - doins images/*.gif - - # install asterisk-updater - dosbin ${FILESDIR}/1.2.0/asterisk-updater -} - -pkg_preinst() { - enewgroup asterisk - enewuser asterisk -1 -1 /var/lib/asterisk asterisk -} - -pkg_postinst() { - einfo "Fixing permissions" - for x in spool run lib log; do - chown -R asterisk:asterisk ${ROOT}var/${x}/asterisk - chmod -R u=rwX,g=rX,o= ${ROOT}var/${x}/asterisk - done - - chown -R root:asterisk ${ROOT}etc/asterisk - chmod -R u=rwX,g=rX,o= ${ROOT}etc/asterisk - echo - - # - # Announcements, warnings, reminders... - # - einfo "Asterisk has been installed" - einfo "" - einfo "If you want to know more about asterisk, visit these sites:" - einfo "http://www.asteriskdocs.org/" - einfo "http://www.voip-info.org/wiki-Asterisk" - echo - einfo "http://asterisk.xvoip.com/" - einfo "http://junghanns.net/asterisk/" - einfo "http://www.automated.it/guidetoasterisk.htm" - echo - einfo "Gentoo VoIP IRC Channel:" - einfo "#gentoo-voip @ irc.freenode.net" - echo - echo - - # - # Warning about 1.0 -> 1.2 changes... - # - if is_ast10update; then - ewarn "" - ewarn "- Please read ${ROOT}usr/share/doc/${PF}/UPGRADE.txt.gz before continuing" - ewarn "" - fi - - if is_astupdate; then - ewarn "" - ewarn " - The initgroups patch has been dropped, please update your" - ewarn " \"conf.d/asterisk\" and \"init.d/asterisk\" file!" - ewarn "" - fi - - if use genericjb; then - ewarn "********************** Experimental Feature **************************" - ewarn "Please note that generic jitterbuffer support is experimental and may not" - ewarn "be included in newer versions!" - echo - fi - - # scan for old modules - if is_ast10update; then - einfo "Asterisk has been updated from pre-1.2.x, scanning for old modules" - scan_modules - fi -} - -pkg_config() { - einfo "Do you want to reset file permissions and ownerships (y/N)?" - - read tmp - tmp="$(echo $tmp | tr [:upper:] [:lower:])" - - if [[ "$tmp" = "y" ]] ||\ - [[ "$tmp" = "yes" ]] - then - einfo "Resetting permissions to defaults..." - - for x in spool run lib log; do - chown -R asterisk:asterisk ${ROOT}var/${x}/asterisk - chmod -R u=rwX,g=rX,o= ${ROOT}var/${x}/asterisk - done - - chown -R root:asterisk ${ROOT}etc/asterisk - chmod -R u=rwX,g=rX,o= ${ROOT}etc/asterisk - - einfo "done" - else - einfo "skipping" - fi -} diff --git a/net-misc/asterisk/files/1.0.0/asterisk-1.0.5-uclibc-dns.diff b/net-misc/asterisk/files/1.0.0/asterisk-1.0.5-uclibc-dns.diff deleted file mode 100644 index 61dc126..0000000 --- a/net-misc/asterisk/files/1.0.0/asterisk-1.0.5-uclibc-dns.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- asterisk-1.0.5/dns.c.orig 2005-02-15 04:32:18.581297392 +0100 -+++ asterisk-1.0.5/dns.c 2005-02-15 04:32:57.583368176 +0100 -@@ -151,7 +151,7 @@ - return 0; - } - --#if defined(res_ninit) -+#if (defined(res_ninit) && !defined(__UCLIBC__)) - #define HAS_RES_NINIT - #else - AST_MUTEX_DEFINE_STATIC(res_lock); diff --git a/net-misc/asterisk/files/1.2.0/asterisk-1.2.0_beta-ukcid.patch b/net-misc/asterisk/files/1.2.0/asterisk-1.2.0_beta-ukcid.patch deleted file mode 100644 index f456c3a..0000000 --- a/net-misc/asterisk/files/1.2.0/asterisk-1.2.0_beta-ukcid.patch +++ /dev/null @@ -1,168 +0,0 @@ -? asterisk_ukcid.diff -Index: channels/chan_zap.c -=================================================================== -RCS file: /usr/cvsroot/asterisk/channels/chan_zap.c,v -retrieving revision 1.344.2.7 -diff -u -r1.344.2.7 chan_zap.c ---- channels/chan_zap.c 27 Oct 2004 14:41:55 -0000 1.344.2.7 -+++ channels/chan_zap.c 4 Nov 2004 21:05:03 -0000 -@@ -790,6 +790,14 @@ - return 0; - } - -+static int zt_get_history(int fd, void *buf, int buf_size) -+{ -+ struct zt_history hist; -+ hist.buf=buf; -+ hist.len=buf_size; -+ return ioctl(fd, ZT_GET_HISTORY, &hist); -+} -+ - static int alloc_sub(struct zt_pvt *p, int x) - { - ZT_BUFFERINFO bi; -@@ -5114,6 +5122,120 @@ - } - } - #endif -+ /* If we're using an X100P in the UK, caller ID needs to be extracted from -+ * the history buffer */ -+ if (p->use_callerid && p->cid_start == CID_START_USEHIST) { -+ ast_log(LOG_DEBUG,"Using history buffer to extract UK caller ID\n"); -+ cs = callerid_new(cid_signalling); -+ if (cs) { -+ unsigned char cidbuf[16384]; -+ res=0; -+ -+ res = zt_get_history(p->subs[index].zfd,cidbuf,sizeof(cidbuf)); -+ if(res<0) { -+ ast_log(LOG_ERROR,"zt_get_history failed: %s\n", strerror(errno)); -+ } else { -+ res=callerid_feed(cs,cidbuf,sizeof(cidbuf),AST_LAW(p)); -+ if (res < 0) { -+ ast_log(LOG_WARNING, "CallerID feed failed: %s\n", strerror(errno)); -+ } -+ } -+ -+ if(res==1) { -+ callerid_get(cs, &name, &number, &flags); -+ if (option_debug) -+ ast_log(LOG_DEBUG, "CallerID number: %s, name: %s, flags=%d\n", number, name, flags); -+ } -+ } -+ if (p->usedistinctiveringdetection == 1) { -+#if 1 -+ bump_gains(p); -+#endif -+ len = 0; -+ distMatches = 0; -+ /* Clear the current ring data array so we dont have old data in it. */ -+ for (receivedRingT=0; receivedRingT < 3; receivedRingT++) { -+ curRingData[receivedRingT] = 0; -+ } -+ receivedRingT = 0; -+ counter = 0; -+ counter1 = 0; -+ /* Check to see if context is what it should be, if not set to be. */ -+ if (strcmp(p->context,p->defcontext) != 0) { -+ strncpy(p->context, p->defcontext, sizeof(p->context)-1); -+ strncpy(chan->context,p->defcontext,sizeof(chan->context)-1); -+ } -+ -+ for(;;) { -+ i = ZT_IOMUX_READ | ZT_IOMUX_SIGEVENT; -+ if ((res = ioctl(p->subs[index].zfd, ZT_IOMUX, &i))) { -+ ast_log(LOG_WARNING, "I/O MUX failed: %s\n", strerror(errno)); -+ callerid_free(cs); -+ ast_hangup(chan); -+ return NULL; -+ } -+ if (i & ZT_IOMUX_SIGEVENT) { -+ res = zt_get_event(p->subs[index].zfd); -+ ast_log(LOG_NOTICE, "Got event %d (%s)...\n", res, event2str(res)); -+ res = 0; -+ /* Let us detect distinctive ring */ -+ -+ curRingData[receivedRingT] = p->ringt; -+ -+ if (p->ringt < ringt_base/2) -+ break; -+ ++receivedRingT; /* Increment the ringT counter so we can match it against -+ values in zapata.conf for distinctive ring */ -+ } else if (i & ZT_IOMUX_READ) { -+ res = read(p->subs[index].zfd, buf, sizeof(buf)); -+ if (res < 0) { -+ if (errno != ELAST) { -+ ast_log(LOG_WARNING, "read returned error: %s\n", strerror(errno)); -+ callerid_free(cs); -+ ast_hangup(chan); -+ return NULL; -+ } -+ break; -+ } -+ if (p->ringt) -+ p->ringt--; -+ if (p->ringt == 1) { -+ res = -1; -+ break; -+ } -+ } -+ } -+ if(option_verbose > 2) -+ /* this only shows up if you have n of the dring patterns filled in */ -+ ast_verbose( VERBOSE_PREFIX_3 "Detected ring pattern: %d,%d,%d\n",curRingData[0],curRingData[1],curRingData[2]); -+ -+ for (counter=0; counter < 3; counter++) { -+ /* Check to see if the rings we received match any of the ones in zapata.conf for this -+ channel */ -+ distMatches = 0; -+ for (counter1=0; counter1 < 3; counter1++) { -+ if (curRingData[counter1] <= (p->drings.ringnum[counter].ring[counter1]+10) && curRingData[counter1] >= -+ (p->drings.ringnum[counter].ring[counter1]-10)) { -+ distMatches++; -+ } -+ } -+ if (distMatches == 3) { -+ /* The ring matches, set the context to whatever is for distinctive ring.. */ -+ strncpy(p->context, p->drings.ringContext[counter].contextData, sizeof(p->context)-1); -+ strncpy(chan->context, p->drings.ringContext[counter].contextData, sizeof(chan->context)-1); -+ if(option_verbose > 2) -+ ast_verbose( VERBOSE_PREFIX_3 "Distinctive Ring matched context %s\n",p->context); -+ break; -+ } -+ } -+ } -+ /* Restore linear mode (if appropriate) for Caller*ID processing */ -+ zt_setlinear(p->subs[index].zfd, p->subs[index].linear); -+#if 1 -+ restore_gains(p); -+#endif -+ } -+ - /* If we want caller id, we're in a prering state due to a polarity reversal - * and we're set to use a polarity reversal to trigger the start of caller id, - * grab the caller id and wait for ringing to start... */ -@@ -9178,6 +9300,8 @@ - cid_start = CID_START_RING; - else if (!strcasecmp(v->value, "polarity")) - cid_start = CID_START_POLARITY; -+ else if (!strcasecmp(v->value, "usehist")) -+ cid_start = CID_START_USEHIST; - else if (ast_true(v->value)) - cid_start = CID_START_RING; - } else if (!strcasecmp(v->name, "threewaycalling")) { -Index: include/asterisk/callerid.h -=================================================================== -RCS file: /usr/cvsroot/asterisk/include/asterisk/callerid.h,v -retrieving revision 1.7 -diff -u -r1.7 callerid.h ---- include/asterisk/callerid.h 19 Sep 2004 16:17:18 -0000 1.7 -+++ include/asterisk/callerid.h 4 Nov 2004 21:05:04 -0000 -@@ -30,6 +30,7 @@ - - #define CID_START_RING 1 - #define CID_START_POLARITY 2 -+#define CID_START_USEHIST 3 - - - #define AST_LIN2X(a) ((codec == AST_FORMAT_ALAW) ? (AST_LIN2A(a)) : (AST_LIN2MU(a))) diff --git a/net-misc/asterisk/files/1.2.0/asterisk-1.2.1-uclibc-getloadavg.diff b/net-misc/asterisk/files/1.2.0/asterisk-1.2.1-uclibc-getloadavg.diff deleted file mode 100644 index 370ccc9..0000000 --- a/net-misc/asterisk/files/1.2.0/asterisk-1.2.1-uclibc-getloadavg.diff +++ /dev/null @@ -1,11 +0,0 @@ ---- asterisk-1.2.1/include/asterisk/compat.h.orig 2005-12-20 23:04:56 +0000 -+++ asterisk-1.2.1/include/asterisk/compat.h 2005-12-20 23:05:19 +0000 -@@ -74,7 +74,7 @@ - #define HAVE_VASPRINTF - #define HAVE_STRTOQ - --#ifdef _BSD_SOURCE -+#if defined(_BSD_SOURCE) && !defined(__UCLIBC__) - #define HAVE_GETLOADAVG - #endif - diff --git a/net-misc/asterisk/files/1.2.0/asterisk-updater b/net-misc/asterisk/files/1.2.0/asterisk-updater deleted file mode 100644 index df2f8fc..0000000 --- a/net-misc/asterisk/files/1.2.0/asterisk-updater +++ /dev/null @@ -1,169 +0,0 @@ -#!/bin/bash - -# -# -# -PORTDB_DIR="$(portageq vdb_path)" -PRETEND=0 -UPDATE=0 - -# -# -# -modules_list="" -ebuild_list="" - -pkgname() { - echo "${1%-[0-9.]*}" -} - -pkgver() { - echo "${1##$(pkgname "$1")-}" -} - -for x in $@; do - case ${x} in - *help|*h) - echo "Usage: $0 [EMERGE_OPTIONS|--help|-h]" - exit 0 - ;; - *pretend|*p) - PRETEND=1 - ;; - *update|*u) - UPDATE=1 - ;; - esac -done - -# strip --update and -u from emerge options (breaks re-emerging) -EMERGE_OPTS="$(echo $@ | sed -e "s:--update\|-u::")" - -echo ">>> Scanning modules in /usr/lib/asterisk/modules..." - -# create list of modules -for x in $(ls -1 /usr/lib/asterisk/modules/*.so); do - - if $(readelf -s "${x}" | grep -q "\(ast_load\|ast_save\|ast_destroy\|ast_pthread_create\|ast_strcasestr\)$"); then - modules_list="${modules_list} $(basename ${x})" - fi -done - -if [[ -n "${modules_list}" ]]; then - echo ">>> Module(s) need to be updated, creating list..." - - # - # grab initial list of ebuilds - # - for x in ${modules_list}; do - package="$(grep -l "${x}" "${PORTDB_DIR}"/net-misc/*/CONTENTS | head -n 1 | sed -e "s:${PORTDB_DIR}/::" -e "s:/CONTENTS::")" - - [[ -n "${package}" ]] && \ - ebuild_list="${ebuild_list} ${package}" - done - - echo - echo ">>> Checking packages..." - - tmp_list="" - fail_list="" - for x in ${ebuild_list}; do - # strip version from package - pkgname="${x%-[0-9.]*}" - - if [[ $UPDATE -eq 0 ]]; then - # try to emerge same version - if ! emerge -pq "=${x}" &>/dev/null; then - if ! emerge -pq ">${x}" &>/dev/null; then - - # ebuild is gone - fail_list="${fail_list} ${x}" - else - - # ebuild is available in a newer version, - # add it to the update list - update_list="${update_list} ${x}" - fi - else - tmp_list="${tmp_list} =${x}" - fi - else - # try to update ebuild - if ! emerge -pq ">=${x}" &>/dev/null; then - if ! emerge -pq ">${x}" &>/dev/null; then - - # ebuild is gone - fail_list="${fail_list} ${x}" - fi - else - tmp_list="${tmp_list} >=${x}" - fi - fi - done - - echo - - if [[ -n "${fail_list}" ]]; then - echo - echo "!!! The following ebuild(s) need to be updated manually:" - for x in ${fail_list}; do - echo " $(pkgname "${x}")" - done - echo - fi - - if [[ $UPDATE -eq 0 ]] && [[ -n "${update_list}" ]] - then - # display list of packages and ask user what to do - echo "!!! The following ebuilds are only available in newer versions:" - echo - for x in ${update_list}; do - echo " $(pkgname "${x}")" - done - echo - echo -n "--- Do you want to update them (y/N)? " - read tmp - - tmp="$(echo "${tmp}" | tr "[[:upper:]]" "[[:lower:]]")" - if [[ "${tmp}" != "y" ]]; then - echo ">>> NOT updating ebuilds" - unset update_list - fi - fi - - if [[ -n "${update_list}" ]]; then - # simply copy update list to merge list - echo ">>> Adding list of ebuilds to update..." - for x in ${update_list}; do - tmp_list="${tmp_list} $(pkgname "${x}")" - done - fi - - if [[ -n "${tmp_list}" ]]; then -# echo ">>> Mangling ebuild list..." -# for x in ${tmp_list}; do -# emerge -p ${x} | grep "^\[ebuild" | while read line; do -# qualifier="$(echo "${x}" | sed -e "s:\(>=\|=\).*:\1:")" -# type="$(echo $line | awk '{print $2}')" -# package="$(echo $line | awk '{print $4}')" -# -# echo "--- DEBUG: qual = ${qualifier} | type = ${type} | package = ${package}" -# -# if [[ "${type}" = "R" ]] && [[ "${qualifier}" = ">=" ]]; then -# echo "--- DEBUG: replacing qualifier \">=\" with \"=\" for ${package} to force reemerge" -# tmp_list="$(echo ${tmp_list} | sed -e "s:${x}:${x/>=/=}:")" -# fi -# done -# done - - echo ">>> Feeding list of ebuilds to emerge $EMERGE_OPTS..." - emerge ${tmp_list} $EMERGE_OPTS - else - echo -e "*** Nothing to emerge..." - fi -else - echo "*** No asterisk-1.0.x modules found!" -fi - -echo -exit 0 diff --git a/net-misc/asterisk/files/1.2.0/asterisk.confd b/net-misc/asterisk/files/1.2.0/asterisk.confd deleted file mode 100644 index dfb1d82..0000000 --- a/net-misc/asterisk/files/1.2.0/asterisk.confd +++ /dev/null @@ -1,98 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/files/1.0.0/asterisk.confd.sec,v 1.4 2005/05/31 23:19:56 stkn Exp $ - -# -# Additional options for asterisk -# -# see "asterisk -h" for a list of options -# -ASTERISK_OPTS="" - -# -# User and group to run asterisk as -# -# Value: double-colon separated list of user and group, or empty to run as root: -# -# -# "asterisk:asterisk" to run as user "asterisk" and group "asterisk" -# -# "asterisk" to run as user "asterisk" and all groups that user "asterisk" is a member of -# -# ":asterisk" to run as user "root" and group "asterisk" -# -# "" to run as user "root" and group "root" -# -ASTERISK_USER="asterisk" - -# -# Nicelevel -# -# Set the priority of the asterisk process -# -# Value: (highest) -20..19 (lowest) -# -#ASTERISK_NICE="19" - -# -# Wrapper script -# -# Value: yes or no/empty -# -ASTERISK_WRAPPER="no" - -############# Wrapper script settings ############# - -# -# Send crash notifications emails to this address -# (needs a working mail service and /usr/sbin/sendmail to do so (e.g. ssmtp)) -# -# Value: Email address or empty to disable -# -#ASTERISK_NOTIFY_EMAIL="root" - -# -# Send asterisk's output to this terminal -# -# Value: Full path to device node or a number -# -#ASTERISK_TTY="/dev/tty9" - -# -# Start an asterisk console on the terminal specified by ASTERISK_TTY -# -# Warning! Use only for debugging, this is a potential security issue! -# -# Value: yes or no/empty -# -ASTERISK_CONSOLE="no" - -# -# Maximum size of core files. -# -# Value: Size in bytes, unlimited for no limit or empty to disable. -# -#ASTERISK_CORE_SIZE="unlimited" - -# -# ASTERISK_CORE_DIR -# -# Value: Directory (will be created if non-existant), default is /tmp -# -ASTERISK_CORE_DIR="/var/lib/asterisk/coredump" - -# -# Max number of filedescriptors -# -# Value: Number of descriptors -# -#ASTERISK_MAX_FD="1024" - -# -# Kill these tasks after asterisk crashed (ASTERISK_WRAPPER=yes only!) -# -# Warning! This will kill _ALL_ tasks with the specified names! -# -# Value: Space separated list of names in double quotes (e.g. "mpg123 mad") -# -#ASTERISK_CLEANUP_ON_CRASH="mpg123 asterisk-mpg123 mad" diff --git a/net-misc/asterisk/files/1.2.0/asterisk.rc6 b/net-misc/asterisk/files/1.2.0/asterisk.rc6 deleted file mode 100755 index a520c6a..0000000 --- a/net-misc/asterisk/files/1.2.0/asterisk.rc6 +++ /dev/null @@ -1,235 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/asterisk/files/1.0.0/asterisk.rc6.sec,v 1.4 2005/08/24 21:13:56 dragonheart Exp $ - -opts="${opts} forcestop reload" - -depend() { - need net - use zaptel mysql postgresql slapd capi -} - -is_running() { - if [[ -z "$(pidof asterisk)" ]]; then - return 1 - else - PID="$(cat /var/run/asterisk/asterisk.pid)" - for x in $(pidof asterisk); do - if [[ "${x}" = "${PID}" ]]; then - return 0 - fi - done - fi - - return 1 -} - -asterisk_run_loop() { - local OPTS ARGS MSG NICE="" - local result=0 signal=0 - - # default options - OPTS="-f" # don't fork / detach breaks wrapper script... - - # filter (redundant) arguments - ARGS="$(echo "${@}" | sed -e "s:-c\|-f::g")" - - # mangle yes/no options - ASTERISK_CONSOLE="$(echo ${ASTERISK_CONSOLE} | tr [:lower:] [:upper:])" - - if [[ -n "${ASTERISK_CORE_SIZE}" ]] && - [[ "${ASTERISK_CORE_SIZE}" != "0" ]]; then - ulimit -c ${ASTERISK_CORE_SIZE} - - if [[ -n "${ASTERISK_CORE_DIR}" ]] && \ - [[ ! -d "${ASTERISK_CORE_DIR}" ]] - then - mkdir -m750 -p "${ASTERISK_CORE_DIR}" - - if [[ -n "${ASTERISK_USER}" ]]; then - chown -R "${ASTERISK_USER}" "${ASTERISK_CORE_DIR}" - fi - fi - ASTERISK_CORE_DIR="${ASTERISK_CORE_DIR:-/tmp}" - - cd "${ASTERISK_CORE_DIR}" - echo " Core dump size : ${ASTERISK_CORE_SIZE}" - echo " Core dump location : ${ASTERISK_CORE_DIR}" - fi - - if [[ -n "${ASTERISK_MAX_FD}" ]]; then - ulimit -n ${ASTERISK_MAX_FD} - echo " Max open filedescriptors : ${ASTERISK_MAX_FD}" - fi - - if [[ -n "${ASTERISK_NICE}" ]]; then - echo " Nice level : ${ASTERISK_NICE}" - NICE="/bin/nice -n ${ASTERISK_NICE} --" - fi - - if [[ -n "${ASTERISK_NOTIFY_EMAIL}" ]]; then - if [[ -x /usr/sbin/sendmail ]]; then - echo " Email notifications go to : ${ASTERISK_NOTIFY_EMAIL}" - else - echo " Notifications disabled, /usr/sbin/sendmail doesn't exist or is not executable!" - unset ASTERISK_NOTIFY_EMAIL - fi - fi - - if [[ -n "${ASTERISK_TTY}" ]]; then - for x in ${ASTERISK_TTY} \ - /dev/tty${ASTERISK_TTY} \ - /dev/vc/${ASTERISK_TTY} - do - if [[ -c "${x}" ]]; then - TTY="${x}" - fi - done - [[ -n "${TTY}" ]] && \ - echo " Messages are sent to : ${TTY}" - fi - - if [[ "${ASTERISK_CONSOLE}" = "YES" ]] && [[ -n "${TTY}" ]]; then - echo " Starting Asterisk console : ${ASTERISK_CONSOLE}" - OPTS="${OPTS} -c" - fi - - OPTS="${OPTS} ${ARGS}" - - while :; do - - if [[ -n "${TTY}" ]]; then - /usr/bin/stty -F ${TTY} sane - ${NICE} /usr/sbin/asterisk ${OPTS} >${TTY} 2>&1 <${TTY} - result=$? - else - ${NICE} /usr/sbin/asterisk ${OPTS} &>/dev/null - result=$? - fi - - if [[ $result -eq 0 ]]; then - echo "Asterisk terminated normally" - break - else - if [[ $result -gt 128 ]]; then - signal=$((result - 128)) - MSG="Asterisk terminated with Signal: $signal" - - CORE_TARGET="core-$(date "+%Y%m%d-%h%M%s")" - - local CORE_DUMPED=0 - if [[ -f "${ASTERISK_CORE_DIR}/core" ]]; then - mv "${ASTERISK_CORE_DIR}/core" \ - "${ASTERISK_CORE_DIR}/${CORE_TARGET}" - CORE_DUMPED=1 - - elif [[ -f "${ASTERISK_CORE_DIR}/core.${PID}" ]]; then - mv "${ASTERISK_CORE_DIR}/core.${PID}" \ - "${ASTERISK_CORE_DIR}/${CORE_TARGET}" - CORE_DUMPED=1 - - fi - - [[ $CORE_DUMPED -eq 1 ]] && \ - MSG="${MSG}\n\rCore dumped: ${ASTERISK_CORE_DIR}/${CORE_TARGET}" - else - MSG="Asterisk terminated with return code: $result" - fi - - # kill left-over tasks - for X in ${ASTERISK_CLEANUP_ON_CRASH}; do - kill -9 $(pidof ${X}); - done - fi - - [[ -n "${TTY}" ]] \ - && echo "${MSG}" >${TTY} \ - || echo "${MSG}" - - - if [[ -n "${ASTERISK_NOTIFY_EMAIL}" ]] && \ - [[ -x /usr/sbin/sendmail ]]; then - echo -e -n "Subject: Asterisk crashed\n\r${MSG}\n\r" |\ - /usr/sbin/sendmail "${ASTERISK_NOTIFY_EMAIL}" - fi - sleep 5 - echo "Restarting Asterisk..." - done - return 0 -} - -start() { - local OPTS USER GROUP PID - local tmp x - - if [[ -n "${ASTERISK_NICE}" ]]; then - if [[ ${ASTERISK_NICE} -ge -20 ]] && \ - [[ ${ASTERISK_NICE} -le 19 ]]; then - OPTS="--nicelevel ${ASTERISK_NICE}" - else - eerror "Nice value must be between -20 and 19" - return 1 - fi - fi - - if [[ -n "${ASTERISK_USER}" ]]; then - USER=${ASTERISK_USER/:*/} - GROUP=$(echo $ASTERISK_USER | awk -F: '/.*:.*/ { print $2 }') - if [[ -n "${USER}" ]]; then - ASTERISK_OPTS="${ASTERISK_OPTS} -U ${USER}" - fi - if [[ -n "${GROUP}" ]]; then - ASTERISK_OPTS="${ASTERISK_OPTS} -G ${GROUP}" - GROUP=":${GROUP}" # make it look nice... - fi - ebegin "Starting asterisk PBX (as ${USER}${GROUP})" - else - ebegin "Starting asterisk PBX (as root)" - fi - - if [[ "$(echo ${ASTERISK_WRAPPER} | tr [:upper:] [:lower:])" != "yes" ]]; then - start-stop-daemon --start --exec /usr/sbin/asterisk \ - ${OPTS} -- ${ASTERISK_OPTS} - else - asterisk_run_loop ${ASTERISK_OPTS} 2>/dev/null & - fi - - if [[ $result -eq 0 ]]; then - # 2 seconds should be enough for asterisk to start - sleep 2 - - result=$(is_running) - fi - - eend $result -} - -forcestop() { - ebegin "Stopping asterisk PBX" - start-stop-daemon --stop --pidfile /var/run/asterisk/asterisk.pid - eend $? -} - -stop() { - - if is_running; then - ebegin "Stopping asterisk PBX gracefully" - /usr/sbin/asterisk -r -x "stop gracefully" &>/dev/null - [[ $? -eq 0 ]] && svc_stop - eend - else - - eerror "Asterisk is not running!" - fi -} - -reload() { - if is_running; then - ebegin "Forcing asterisk to reload configuration" - /usr/sbin/asterisk -r -x "reload" &>/dev/null - eend $? - else - eerror "Asterisk is not running!" - fi -} diff --git a/net-misc/asterisk/files/digest-asterisk-1.2.10 b/net-misc/asterisk/files/digest-asterisk-1.2.10 deleted file mode 100644 index 5af7ce4..0000000 --- a/net-misc/asterisk/files/digest-asterisk-1.2.10 +++ /dev/null @@ -1,18 +0,0 @@ -MD5 112e7763e6baeb9279e3053023916a4e ast_jb-1.2.9.1+rtp-keep-jb.patch.gz 15216 -RMD160 aee7db56f5f8348c18511e8a35f237394af54182 ast_jb-1.2.9.1+rtp-keep-jb.patch.gz 15216 -SHA256 eb2ebc8b5398006711b9c6d2c9958cfd9138d61747a34792c1eed70baa8ebe6d ast_jb-1.2.9.1+rtp-keep-jb.patch.gz 15216 -MD5 d039d8a92e9cafe240193ee7bf599069 asterisk-1.2.10-bristuff-0.3.0-PRE-1r.diff.gz 109904 -RMD160 0bcf90b432819e7043842f1c20a4477fa5b2ad3b asterisk-1.2.10-bristuff-0.3.0-PRE-1r.diff.gz 109904 -SHA256 7b4794d2e8a530103254a38418f507ae828d9924bd425c64311814a74c9f763c asterisk-1.2.10-bristuff-0.3.0-PRE-1r.diff.gz 109904 -MD5 4a1880e31a83ac012c04d0fc398c4ffd asterisk-1.2.10-patches-1.0.tar.bz2 7188 -RMD160 8617f4cbe06ced3460ef09e6fd7ab8fef18cb0e5 asterisk-1.2.10-patches-1.0.tar.bz2 7188 -SHA256 3259cb7ef775a0dee7a20bc601d0cbc19067dbd3eb2d0f565738dba96c5f6ef9 asterisk-1.2.10-patches-1.0.tar.bz2 7188 -MD5 ec52095bb5cfe583df1dd5f98366797a asterisk-1.2.10.tar.gz 10573308 -RMD160 22bb39d36adb99d23eed3b213703b8155bffca31 asterisk-1.2.10.tar.gz 10573308 -SHA256 1f1ba03851b63ad0778affeb51b0abe265396d2cfc1dfa43be1cd8569c9bff9b asterisk-1.2.10.tar.gz 10573308 -MD5 9d0c55b8b50f62a9a31795e4c73b532d asterisk-1.2.8-t38-20060423.tar.bz2 26857 -RMD160 d9c28838385daa6b7e89bca4f074178f5775de8d asterisk-1.2.8-t38-20060423.tar.bz2 26857 -SHA256 5b2bbb9858ebfd27b9e26e6137b9a44e6effc8ca44a4d18502b2c697f9078128 asterisk-1.2.8-t38-20060423.tar.bz2 26857 -MD5 99b011a28dd9c65d2c20c048f5898a31 bristuff-0.3.0-PRE-1r.tar.gz 262348 -RMD160 c2f7e937fc7452d8abb392f6c17246c3f8291b01 bristuff-0.3.0-PRE-1r.tar.gz 262348 -SHA256 944be5544eae6cbbc00ac30d63f76ea78cc355dac07732ed2c52f7bdec91117e bristuff-0.3.0-PRE-1r.tar.gz 262348 diff --git a/net-misc/asterisk/files/digest-asterisk-1.2.12.1 b/net-misc/asterisk/files/digest-asterisk-1.2.12.1 deleted file mode 100644 index 2ad246d..0000000 --- a/net-misc/asterisk/files/digest-asterisk-1.2.12.1 +++ /dev/null @@ -1,15 +0,0 @@ -MD5 a407d1ef9bc88e38f435581380975fec asterisk-1.2.11-jb.patch.bz2 15598 -RMD160 cbf4a95e25bf03a41ebef2a726419299494bb298 asterisk-1.2.11-jb.patch.bz2 15598 -SHA256 e85e438cb88993a188d063582f38eff0efc1b727e47d9f71809ee81d19992946 asterisk-1.2.11-jb.patch.bz2 15598 -MD5 c91195d62d39cf71da31122dd8157828 asterisk-1.2.11-patches-1.0.tar.bz2 7432 -RMD160 b840a16b6ae9ffb1e76da4a7a8129916e1710204 asterisk-1.2.11-patches-1.0.tar.bz2 7432 -SHA256 46d198be655b35383725dde72ed82ecc7767b8009356f88d27c763323d1cdaa8 asterisk-1.2.11-patches-1.0.tar.bz2 7432 -MD5 de0b81ba56e884759b4c247de1cc2cd3 asterisk-1.2.12.1-bristuff-0.3.0-PRE-1s.diff.bz2 90730 -RMD160 7a13105a0dbe16b5c4f2631aaea9f676bf566df2 asterisk-1.2.12.1-bristuff-0.3.0-PRE-1s.diff.bz2 90730 -SHA256 c0bfef98b5797f3cc1c8e9affc1016ae3bd58865dc89e441b1e8faf11a0d9954 asterisk-1.2.12.1-bristuff-0.3.0-PRE-1s.diff.bz2 90730 -MD5 9c0d427f96c740163a22f5e0dbcb101d asterisk-1.2.12.1.tar.gz 10576676 -RMD160 9950eea63e03ffd5845f6a34f46680eec5a0a53b asterisk-1.2.12.1.tar.gz 10576676 -SHA256 e54fc05f30764ad6678337ae386918481dd99347cfaa2d85fed3d0dc3a548d56 asterisk-1.2.12.1.tar.gz 10576676 -MD5 760eba19b03d03cd1dc8648d6239b4af bristuff-0.3.0-PRE-1s.tar.gz 265953 -RMD160 8d3abdbbae4c376d52225395c72f4538e1f84a94 bristuff-0.3.0-PRE-1s.tar.gz 265953 -SHA256 30adea4f070ed44d1952163e850c177f976857b96965e18844ccd492ccef968d bristuff-0.3.0-PRE-1s.tar.gz 265953 diff --git a/net-misc/zaptel/ChangeLog b/net-misc/zaptel/ChangeLog deleted file mode 100644 index f413724..0000000 --- a/net-misc/zaptel/ChangeLog +++ /dev/null @@ -1,431 +0,0 @@ -2006-07-18 15:36 stkn - - * [r320] Manifest, files/digest-zaptel-1.2.7, - files/zaptel-1.2.7-gentoo.diff, zaptel-1.2.7.ebuild: - Version bump zaptel to 1.2.7 + bristuff-0.3.0-PRE-1r - -2006-06-06 23:35 stkn - - * [r269] Manifest, files/digest-zaptel-1.2.0, - files/digest-zaptel-1.2.0_rc1, files/digest-zaptel-1.2.0_rc2, - files/digest-zaptel-1.2.1, files/digest-zaptel-1.2.1-r1, - files/digest-zaptel-1.2.2, files/digest-zaptel-1.2.3, - files/digest-zaptel-1.2.5-r2, files/digest-zaptel-1.2.5-r3, - files/digest-zaptel-1.2.6, zaptel-1.2.0_rc1.ebuild, - zaptel-1.2.0_rc2.ebuild, zaptel-1.2.5-r1.ebuild: - Remove 1.2-rc zaptel ebuilds. - -2006-06-04 20:50 stkn - - * [r255] Manifest, files/zaptel-1.2.6-gentoo.diff: - Fix make install part of zaptel gentoo patch - -2006-06-04 18:54 stkn - - * [r252] Manifest, files/digest-zaptel-1.2.5-r2, - files/digest-zaptel-1.2.6, files/zaptel-1.2.6-gentoo.diff, - zaptel-1.2.5-r2.ebuild, zaptel-1.2.6.ebuild: - add zaptel-1.2.6 - -2006-05-23 18:51 stkn - - * [r247] Manifest, files/digest-zaptel-1.2.5-r3, - zaptel-1.2.5-r3.ebuild: - Revbump zaptel to 1.2.5-r3, bristuff-0.3.0-PRE-1p update. - -2006-04-30 17:48 stkn - - * [r243] Manifest, files/digest-zaptel-1.2.5-r2, - zaptel-1.2.5-r2.ebuild: - Revbump zaptel to 1.2.5-r2: bristuff-0.3.0-PRE-1o - -2006-04-11 23:17 stkn - - * [r217] Manifest, files/digest-zaptel-1.2.5-r1, - zaptel-1.2.5-r1.ebuild: - Revbump zaptel to 1.2.5-r1, updating bristuff to 0.3.0-PRE1n - -2006-03-27 20:45 stkn - - * [r200] Manifest, files/digest-zaptel-1.2.5, zaptel-1.2.5.ebuild: - Version bump zaptel to 1.2.5 - -2006-03-27 20:40 stkn - - * [r199] Manifest, zaptel-1.2.4.ebuild: - Update zaptel-1.2.4 SRC_URI - -2006-02-16 17:08 stkn - - * [r139] Manifest, files/digest-zaptel-1.2.3-r1: - Fixed zaptel bristuff digest problem - -2006-02-16 16:24 stkn - - * [r137] Manifest, files/digest-zaptel-1.2.4, - zaptel-1.2.3-r1.ebuild, zaptel-1.2.3.ebuild, - zaptel-1.2.4.ebuild: - Version bump zaptel to 1.2.4 - -2006-02-03 00:19 stkn - - * [r120] Manifest, files/digest-zaptel-1.2.3-r1, - zaptel-1.2.3-r1.ebuild: - Revision bump zaptel to 1.2.3-r1, updating bristuff to - 0.3.0-PRE1k. - -2006-02-01 02:22 stkn - - * [r115] Manifest, files/digest-zaptel-1.2.3, zaptel-1.2.0.ebuild, - zaptel-1.2.1-r1.ebuild, zaptel-1.2.1.ebuild, - zaptel-1.2.2.ebuild, zaptel-1.2.3.ebuild: - Version bump zaptel to 1.2.3 + bristuff-0.0.3-PRE1i - -2006-01-21 16:47 stkn - - * [r103] Manifest, files/digest-zaptel-1.2.2, zaptel-1.2.2.ebuild: - Enable bristuff-0.3.0_PRE1h and florz-0.3.0-PRE-1f_florz11 in - zaptel-1.2.2 ebuild - -2006-01-19 00:31 stkn - - * [r92] Manifest, files/digest-zaptel-1.2.2, - files/zaptel-1.2.2-gentoo.diff, zaptel-1.2.2.ebuild: - [NEW] Version bump zaptel to 1.2.2 (no bristuff!) - -2006-01-15 15:29 stkn - - * [r84] Manifest, zaptel-1.2.1.ebuild: - Move userpriv fix to the top of the bri patch section - -2006-01-15 15:27 stkn - - * [r83] Manifest, files/digest-zaptel-1.2.1-r1, - zaptel-1.2.1-r1.ebuild: - Add Zaptel-1.2.1-r1 ebuild, updated bristuff to 0.3.0_PRE1f and - florz to 0.3.0_PRE1f_11 - -2006-01-15 15:21 stkn - - * [r80] Manifest, files/digest-zaptel-1.2.0, - files/digest-zaptel-1.2.0_beta1, - files/digest-zaptel-1.2.0_beta2, - files/zaptel-1.2.0_beta1-gentoo.diff, zaptel-1.2.0.ebuild, - zaptel-1.2.0_beta1.ebuild, zaptel-1.2.0_beta2.ebuild: - Removed old zaptel beta ebuilds - -2005-12-15 15:30 stkn - - * [r72] Manifest, files/digest-zaptel-1.2.1, zaptel-1.2.1.ebuild: - Fix typo in zaptel ebuild - -2005-12-15 15:28 stkn - - * [r71] Manifest, files/digest-zaptel-1.2.1, zaptel-1.2.1.ebuild: - zaptel-1.2.1 + bristuff-0.3.0-PRE1c - -2005-12-14 19:10 stkn - - * [r67] Manifest, files/digest-zaptel-1.2.1, - files/zaptel-1.2.1-gentoo.diff, zaptel-1.2.1.ebuild: - Version bump zaptel to 1.2.1, no bristuff support! - -2005-12-08 15:07 stkn - - * [r61] Manifest, files/digest-zaptel-1.2.0, zaptel-1.2.0.ebuild: - Re-enabled florz support in zaptel-1.2.0 ebuild - -2005-12-03 01:17 stkn - - * [r53] Manifest, files/digest-zaptel-1.2.0, - files/zaptel-1.2.0-devfs26.diff, files/zaptel-1.2.0-gentoo.diff, - files/zaptel-1.2.0-ukcid.patch, zaptel-1.2.0.ebuild: - Version bumped zaptel to 1.2.0 + bristuff 0.3.0-PRE-1b - -2005-11-18 14:47 stkn - - * [r37] files/digest-zaptel-1.2.0, zaptel-1.2.0.ebuild: - And do not forget to add the files... :P - -2005-11-18 14:46 stkn - - * [r36] Manifest, zaptel-1.2.0_rc2.ebuild: - Version bumped zaptel to 1.2.0 - -2005-11-12 15:15 stkn - - * [r29] Manifest, files/digest-zaptel-1.2.0_rc2, - zaptel-1.2.0_rc1.ebuild, zaptel-1.2.0_rc2.ebuild: - Version bumped zaptel to 1.2.0_rc2 - -2005-11-10 00:39 stkn - - * [r18] Manifest, files/zaptel-1.2.0_beta2-ukcid.patch, - zaptel-1.2.0_beta2.ebuild, zaptel-1.2.0_rc1.ebuild: - Added missing ukcid patch. - -2005-11-10 00:31 stkn - - * [r16] Manifest, files/digest-zaptel-1.2.0_rc1, - zaptel-1.2.0_beta1.ebuild, zaptel-1.2.0_beta2.ebuild, - zaptel-1.2.0_rc1.ebuild: - Version bump and fixed SRC_URI in older ebuilds. - -2005-11-08 00:43 stkn - - * [r7] Manifest, files/digest-zaptel-1.2.0_beta2, - files/zaptel-1.2.0_beta2-devfs26.diff, - files/zaptel-1.2.0_beta2-gentoo.diff, zaptel-1.2.0_beta2.ebuild: - Version bump -> zaptel-1.2.0_beta2 - -2005-10-29 21:37 stkn - - * [r2] trunk/dev-libs, trunk/dev-libs/pwlib, - trunk/dev-libs/pwlib/Manifest, trunk/dev-libs/pwlib/files, - trunk/dev-libs/pwlib/files/digest-pwlib-1.8.4, - trunk/dev-libs/pwlib/files/digest-pwlib-1.8.7, - trunk/dev-libs/pwlib/files/digest-pwlib-1.9.1, - trunk/dev-libs/pwlib/files/pwlib-1.6.3-dyn-esd.patch, - trunk/dev-libs/pwlib/files/pwlib-1.8.7-instplugins.diff, - trunk/dev-libs/pwlib/pwlib-1.8.4.ebuild, - trunk/dev-libs/pwlib/pwlib-1.8.7.ebuild, - trunk/dev-libs/pwlib/pwlib-1.9.1.ebuild, trunk/dev-python, - trunk/dev-python/pyst, trunk/dev-python/pyst/Manifest, - trunk/dev-python/pyst/files, - trunk/dev-python/pyst/files/digest-pyst-0.0.4_rc12, - trunk/dev-python/pyst/pyst-0.0.4_rc12.ebuild, trunk/media-libs, - trunk/media-libs/libsupertone, - trunk/media-libs/libsupertone/Manifest, - trunk/media-libs/libsupertone/files, - trunk/media-libs/libsupertone/files/digest-libsupertone-0.0.2, - trunk/media-libs/libsupertone/libsupertone-0.0.2.ebuild, - trunk/media-libs/spandsp, trunk/media-libs/spandsp/Manifest, - trunk/media-libs/spandsp/files, - trunk/media-libs/spandsp/files/digest-spandsp-0.0.2_pre20, - trunk/media-libs/spandsp/files/spandsp-0.0.2_pre20-nommx.diff, - trunk/media-libs/spandsp/spandsp-0.0.2_pre20.ebuild, - trunk/media-sound, trunk/media-sound/mpg123, - trunk/media-sound/mpg123/Manifest, - trunk/media-sound/mpg123/files, - trunk/media-sound/mpg123/files/digest-mpg123-0.59r, - trunk/media-sound/mpg123/files/mpg123-0.59r-patches-1.0.tar.bz2, - trunk/media-sound/mpg123/mpg123-0.59r.ebuild, trunk/net-im, - trunk/net-im/gnomemeeting, trunk/net-im/gnomemeeting/Manifest, - trunk/net-im/gnomemeeting/files, - trunk/net-im/gnomemeeting/files/digest-gnomemeeting-1.2.2, - trunk/net-im/gnomemeeting/files/gnomemeeting-1.2.1-configure.patch, - trunk/net-im/gnomemeeting/files/gnomemeeting-1.2.2-dbus.diff, - trunk/net-im/gnomemeeting/gnomemeeting-1.2.2.ebuild, - trunk/net-im/ohphone, trunk/net-im/ohphone/Manifest, - trunk/net-im/ohphone/files, - trunk/net-im/ohphone/files/digest-ohphone-1.14.4, - trunk/net-im/ohphone/files/ohphone-1.14.4-pwlibsdl.diff, - trunk/net-im/ohphone/ohphone-1.14.4.ebuild, trunk/net-libs, - trunk/net-libs/libmfcr2, trunk/net-libs/libmfcr2/Manifest, - trunk/net-libs/libmfcr2/files, - trunk/net-libs/libmfcr2/files/digest-libmfcr2-0.0.3, - trunk/net-libs/libmfcr2/files/libmfcr2-0.0.3-gentoo.diff, - trunk/net-libs/libmfcr2/libmfcr2-0.0.3.ebuild, - trunk/net-libs/libpri, trunk/net-libs/libpri/ChangeLog, - trunk/net-libs/libpri/Manifest, trunk/net-libs/libpri/files, - trunk/net-libs/libpri/files/digest-libpri-1.2.0_beta1, - trunk/net-libs/libpri/files/libpri-1.2.0_beta1-gentoo.diff, - trunk/net-libs/libpri/libpri-1.2.0_beta1.ebuild, - trunk/net-libs/libpri/metadata.xml, trunk/net-libs/libunicall, - trunk/net-libs/libunicall/Manifest, - trunk/net-libs/libunicall/files, - trunk/net-libs/libunicall/files/digest-libunicall-0.0.3, - trunk/net-libs/libunicall/libunicall-0.0.3.ebuild, - trunk/net-libs/opal, trunk/net-libs/opal/Manifest, - trunk/net-libs/opal/files, - trunk/net-libs/opal/files/digest-opal-2.1.1, - trunk/net-libs/opal/files/opal-2.1.1-notrace.diff, - trunk/net-libs/opal/opal-2.1.1.ebuild, trunk/net-libs/openh323, - trunk/net-libs/openh323/Manifest, trunk/net-libs/openh323/files, - trunk/net-libs/openh323/files/digest-openh323-1.15.3, - trunk/net-libs/openh323/files/digest-openh323-1.15.6, - trunk/net-libs/openh323/files/digest-openh323-1.17.2, - trunk/net-libs/openh323/files/openh323-1.15.2-notrace.diff, - trunk/net-libs/openh323/openh323-1.15.3.ebuild, - trunk/net-libs/openh323/openh323-1.15.6.ebuild, - trunk/net-libs/openh323/openh323-1.17.2.ebuild, - trunk/net-libs/osptoolkit, trunk/net-libs/osptoolkit/Manifest, - trunk/net-libs/osptoolkit/files, - trunk/net-libs/osptoolkit/files/digest-osptoolkit-3.3.1, - trunk/net-libs/osptoolkit/osptoolkit-3.3.1.ebuild, - trunk/net-misc, trunk/net-misc/asterisk, - trunk/net-misc/asterisk-addons, - trunk/net-misc/asterisk-addons/Manifest, - trunk/net-misc/asterisk-addons/asterisk-addons-1.2.0_beta1.ebuild, - trunk/net-misc/asterisk-addons/files, - trunk/net-misc/asterisk-addons/files/asterisk-addons-1.2.0_beta1-gentoo-base.diff, - - trunk/net-misc/asterisk-addons/files/asterisk-addons-1.2.0_beta1-gentoo-ooh323c.diff, - - trunk/net-misc/asterisk-addons/files/asterisk-addons-1.2.0_beta1-gentoo-res_sqlite3.diff, - - trunk/net-misc/asterisk-addons/files/digest-asterisk-addons-1.2.0_beta1, - - trunk/net-misc/asterisk-addons/files/sqlite-3.2.1-data-corruption.patch, - trunk/net-misc/asterisk-app_backticks, - trunk/net-misc/asterisk-app_backticks/Manifest, - trunk/net-misc/asterisk-app_backticks/asterisk-app_backticks-20050917.ebuild, - trunk/net-misc/asterisk-app_backticks/files, - trunk/net-misc/asterisk-app_backticks/files/app_backticks-20050917-astcfg.diff, - - trunk/net-misc/asterisk-app_backticks/files/digest-asterisk-app_backticks-20050917, - trunk/net-misc/asterisk-app_cepstral, - trunk/net-misc/asterisk-app_cepstral/Manifest, - trunk/net-misc/asterisk-app_cepstral/asterisk-app_cepstral-20050917.ebuild, - trunk/net-misc/asterisk-app_cepstral/files, - trunk/net-misc/asterisk-app_cepstral/files/app_cepstral-20050917-astcfg.diff, - - trunk/net-misc/asterisk-app_cepstral/files/digest-asterisk-app_cepstral-20050917, - trunk/net-misc/asterisk-app_changrab, - trunk/net-misc/asterisk-app_changrab/Manifest, - trunk/net-misc/asterisk-app_changrab/asterisk-app_changrab-20050917.ebuild, - trunk/net-misc/asterisk-app_changrab/files, - trunk/net-misc/asterisk-app_changrab/files/app_changrab-20050917-astcfg.diff, - - trunk/net-misc/asterisk-app_changrab/files/digest-asterisk-app_changrab-20050917, - trunk/net-misc/asterisk-app_intercept, - trunk/net-misc/asterisk-app_intercept/Manifest, - trunk/net-misc/asterisk-app_intercept/asterisk-app_intercept-20050828.ebuild, - - trunk/net-misc/asterisk-app_intercept/asterisk-app_intercept-20050917.ebuild, - trunk/net-misc/asterisk-app_intercept/files, - trunk/net-misc/asterisk-app_intercept/files/app_intercept-20050623-astcfg.diff, - - trunk/net-misc/asterisk-app_intercept/files/digest-asterisk-app_intercept-20050828, - - trunk/net-misc/asterisk-app_intercept/files/digest-asterisk-app_intercept-20050917, - trunk/net-misc/asterisk-app_rtxfax, - trunk/net-misc/asterisk-app_rtxfax/Manifest, - trunk/net-misc/asterisk-app_rtxfax/asterisk-app_rtxfax-0.0.2_pre20.ebuild, - trunk/net-misc/asterisk-app_rtxfax/files, - trunk/net-misc/asterisk-app_rtxfax/files/app_rtxfax-0.0.2_pre20-gentoo.diff, - - trunk/net-misc/asterisk-app_rtxfax/files/digest-asterisk-app_rtxfax-0.0.2_pre20, - trunk/net-misc/asterisk-app_valetparking, - trunk/net-misc/asterisk-app_valetparking/Manifest, - trunk/net-misc/asterisk-app_valetparking/asterisk-app_valetparking-20050917.ebuild, - trunk/net-misc/asterisk-app_valetparking/files, - trunk/net-misc/asterisk-app_valetparking/files/app_valetparking-20050917-astcfg.diff, - - trunk/net-misc/asterisk-app_valetparking/files/digest-asterisk-app_valetparking-20050917, - trunk/net-misc/asterisk-chan_sccp, - trunk/net-misc/asterisk-chan_sccp/ChangeLog, - trunk/net-misc/asterisk-chan_sccp/Manifest, - trunk/net-misc/asterisk-chan_sccp/asterisk-chan_sccp-0.0.20050807.ebuild, - - trunk/net-misc/asterisk-chan_sccp/asterisk-chan_sccp-0.0.20050826.ebuild, - - trunk/net-misc/asterisk-chan_sccp/asterisk-chan_sccp-0.0.20050902.ebuild, - - trunk/net-misc/asterisk-chan_sccp/asterisk-chan_sccp-0.0.20050906.ebuild, - - trunk/net-misc/asterisk-chan_sccp/asterisk-chan_sccp-0.0.20050913.ebuild, - - trunk/net-misc/asterisk-chan_sccp/asterisk-chan_sccp-0.0.20050922.ebuild, - - trunk/net-misc/asterisk-chan_sccp/asterisk-chan_sccp-0.0.20051022.ebuild, - trunk/net-misc/asterisk-chan_sccp/files, - trunk/net-misc/asterisk-chan_sccp/files/chan_sccp-20050725-gentoo.diff, - - trunk/net-misc/asterisk-chan_sccp/files/chan_sccp-20050902-gentoo.diff, - - trunk/net-misc/asterisk-chan_sccp/files/digest-asterisk-chan_sccp-0.0.20050807, - - trunk/net-misc/asterisk-chan_sccp/files/digest-asterisk-chan_sccp-0.0.20050826, - - trunk/net-misc/asterisk-chan_sccp/files/digest-asterisk-chan_sccp-0.0.20050902, - - trunk/net-misc/asterisk-chan_sccp/files/digest-asterisk-chan_sccp-0.0.20050906, - - trunk/net-misc/asterisk-chan_sccp/files/digest-asterisk-chan_sccp-0.0.20050913, - - trunk/net-misc/asterisk-chan_sccp/files/digest-asterisk-chan_sccp-0.0.20050922, - - trunk/net-misc/asterisk-chan_sccp/files/digest-asterisk-chan_sccp-0.0.20051022, - trunk/net-misc/asterisk-chan_sccp/metadata.xml, - trunk/net-misc/asterisk-chan_ss7, - trunk/net-misc/asterisk-chan_ss7/Manifest, - trunk/net-misc/asterisk-chan_ss7/asterisk-chan_ss7-0.1.ebuild, - trunk/net-misc/asterisk-chan_ss7/files, - trunk/net-misc/asterisk-chan_ss7/files/chan_ss7-0.1-gentoo.diff, - trunk/net-misc/asterisk-chan_ss7/files/digest-asterisk-chan_ss7-0.1, - trunk/net-misc/asterisk-chan_ss7/files/ss7.conf.sample, - trunk/net-misc/asterisk-chan_unicall, - trunk/net-misc/asterisk-chan_unicall/Manifest, - trunk/net-misc/asterisk-chan_unicall/asterisk-chan_unicall-0.0.3_pre5.ebuild, - trunk/net-misc/asterisk-chan_unicall/files, - trunk/net-misc/asterisk-chan_unicall/files/digest-asterisk-chan_unicall-0.0.3_pre5, - - trunk/net-misc/asterisk-chan_unicall/files/unicall-0.0.3_pre5-gentoo.diff, - trunk/net-misc/asterisk-chan_visdn, - trunk/net-misc/asterisk-chan_visdn/Manifest, - trunk/net-misc/asterisk-chan_visdn/asterisk-chan_visdn-0.14.0.ebuild, - trunk/net-misc/asterisk-chan_visdn/files, - trunk/net-misc/asterisk-chan_visdn/files/digest-asterisk-chan_visdn-0.14.0, - - trunk/net-misc/asterisk-chan_visdn/files/visdn-0.14.0-configure.diff, - trunk/net-misc/asterisk-cvs, - trunk/net-misc/asterisk-cvs/Manifest, - trunk/net-misc/asterisk-cvs/asterisk-cvs-9999.ebuild, - trunk/net-misc/asterisk-cvs/files, - trunk/net-misc/asterisk-cvs/files/digest-asterisk-cvs-9999, - trunk/net-misc/asterisk-format_base64, - trunk/net-misc/asterisk-format_base64/Manifest, - trunk/net-misc/asterisk-format_base64/asterisk-format_base64-20050917.ebuild, - trunk/net-misc/asterisk-format_base64/files, - trunk/net-misc/asterisk-format_base64/files/digest-asterisk-format_base64-20050917, - - trunk/net-misc/asterisk-format_base64/files/format_base64-20050917-astcfg.diff, - trunk/net-misc/asterisk/ChangeLog, - trunk/net-misc/asterisk/Manifest, - trunk/net-misc/asterisk/asterisk-1.2.0_beta1.ebuild, - trunk/net-misc/asterisk/files, - trunk/net-misc/asterisk/files/1.0.0, - trunk/net-misc/asterisk/files/1.0.0/asterisk-1.0.5-uclibc-dns.diff, - trunk/net-misc/asterisk/files/1.0.0/asterisk.confd, - trunk/net-misc/asterisk/files/1.0.0/asterisk.rc6, - trunk/net-misc/asterisk/files/1.2.0, - trunk/net-misc/asterisk/files/1.2.0/asterisk.confd, - trunk/net-misc/asterisk/files/1.2.0/asterisk.rc6, - trunk/net-misc/asterisk/files/digest-asterisk-1.2.0_beta1, - trunk/net-misc/asterisk/metadata.xml, trunk/net-misc/linphone, - trunk/net-misc/linphone/Manifest, trunk/net-misc/linphone/files, - trunk/net-misc/linphone/files/digest-linphone-1.1.0, - trunk/net-misc/linphone/files/linphone-1.0.1-ipv6-include.diff, - trunk/net-misc/linphone/linphone-1.1.0.ebuild, - trunk/net-misc/wanpipe, trunk/net-misc/wanpipe/Manifest, - trunk/net-misc/wanpipe/files, - trunk/net-misc/wanpipe/files/digest-wanpipe-2.3.2_p4, - trunk/net-misc/wanpipe/files/wanpipe-2.3.2_p4-gcc34.diff, - trunk/net-misc/wanpipe/files/wanpipe.confd, - trunk/net-misc/wanpipe/wanpipe-2.3.2_p4.ebuild, - trunk/net-misc/yate, trunk/net-misc/yate/Manifest, - trunk/net-misc/yate/files, - trunk/net-misc/yate/files/digest-yate-0.9.0_pre1, - trunk/net-misc/yate/files/digest-yate-0.9.0_pre2, - trunk/net-misc/yate/files/yate-0.9.0-gtk2.diff, - trunk/net-misc/yate/files/yate.confd, - trunk/net-misc/yate/files/yate.rc6, - trunk/net-misc/yate/yate-0.9.0_pre1.ebuild, - trunk/net-misc/yate/yate-0.9.0_pre2.ebuild, ., ChangeLog, - Manifest, files, files/digest-zaptel-1.2.0_beta1, - files/zaptel-1.0.4-experimental-devfs26.diff, - files/zaptel-1.0.4-gcc34.patch, - files/zaptel-1.2.0_beta1-gentoo.diff, files/zaptel.confd, - files/zaptel.devfsd, files/zaptel.rc6, files/zaptel.udevd, - metadata.xml, zaptel-1.2.0_beta1.ebuild: - Initial import of private gentoo-voip repos - - 27 Sep 2006; Stefan Schweizer <genstef@gentoo.org> zaptel-1.2.9.1.ebuild, - +files/zaptel-1.2.9.1-gcc411_is_a_retard-kbuild.patch: - fix kbuild sandbox correctly, thanks stkn - - 24 Sep 2006; Stefan Schweizer <genstef@gentoo.org> +zaptel-1.2.9.1.ebuild, - +files/zaptel-1.2.9.1-gentoo.diff: - version bump - most work by kolla, with evil hacks by me, but working - diff --git a/net-misc/zaptel/Manifest b/net-misc/zaptel/Manifest deleted file mode 100644 index 9259fbb..0000000 --- a/net-misc/zaptel/Manifest +++ /dev/null @@ -1,201 +0,0 @@ -AUX zaptel-1.0.4-experimental-devfs26.diff 5982 RMD160 e7d331073edc6e50e394af8a142c865e2aa9a1d2 SHA1 68c82135d1fbb28f717dbfffe0e1cbcf1a63e60a SHA256 1d8ea43898ae88b7dd46bb6c868b909696350ee791af93c64664e803c1b9a66e -MD5 d40a84eeea5866a3afbac2603e970e7b files/zaptel-1.0.4-experimental-devfs26.diff 5982 -RMD160 e7d331073edc6e50e394af8a142c865e2aa9a1d2 files/zaptel-1.0.4-experimental-devfs26.diff 5982 -SHA256 1d8ea43898ae88b7dd46bb6c868b909696350ee791af93c64664e803c1b9a66e files/zaptel-1.0.4-experimental-devfs26.diff 5982 -AUX zaptel-1.0.4-gcc34.patch 821 RMD160 64b53c7b57e62c0678cf84522809f14cf13c94e5 SHA1 24360edfca90977a00efa08061f7fb5bf8c5244a SHA256 8bd95bb618531fef437edb9d83e1a296bd10bea4eb7576cf7f0a2eb09a69dcbe -MD5 090668aabb8e77cfd0d83835f52bd105 files/zaptel-1.0.4-gcc34.patch 821 -RMD160 64b53c7b57e62c0678cf84522809f14cf13c94e5 files/zaptel-1.0.4-gcc34.patch 821 -SHA256 8bd95bb618531fef437edb9d83e1a296bd10bea4eb7576cf7f0a2eb09a69dcbe files/zaptel-1.0.4-gcc34.patch 821 -AUX zaptel-1.2.0-devfs26.diff 6046 RMD160 46be740e37e026a9bd7e19136b6c7094def445ef SHA1 0169f0a13563565756eb5c41b641ba2d557c0b66 SHA256 b63bd43dae1e61f55ee4dbbf25d3401532d728ca4dd79c747835e9907c011856 -MD5 c0f95d699055c3b46e5d3078bfaa2afb files/zaptel-1.2.0-devfs26.diff 6046 -RMD160 46be740e37e026a9bd7e19136b6c7094def445ef files/zaptel-1.2.0-devfs26.diff 6046 -SHA256 b63bd43dae1e61f55ee4dbbf25d3401532d728ca4dd79c747835e9907c011856 files/zaptel-1.2.0-devfs26.diff 6046 -AUX zaptel-1.2.0-gentoo.diff 4626 RMD160 5bcca52cb76caf03661dabe4f127452f7aa08b22 SHA1 6144298e9e99acd655bf83a05ba5dff561565779 SHA256 500fd8eecf4f568293a9d1712c4a3a65883d4755accfc13697cdf83dda437816 -MD5 e6c7407f2478a1836a087eec78ecd69d files/zaptel-1.2.0-gentoo.diff 4626 -RMD160 5bcca52cb76caf03661dabe4f127452f7aa08b22 files/zaptel-1.2.0-gentoo.diff 4626 -SHA256 500fd8eecf4f568293a9d1712c4a3a65883d4755accfc13697cdf83dda437816 files/zaptel-1.2.0-gentoo.diff 4626 -AUX zaptel-1.2.0-ukcid.patch 3787 RMD160 4c4c3b9036db8051643901892a40fbcd153184d6 SHA1 f4da18f52f6dc92c84d9534c10882f3b657d93a3 SHA256 d60c436b44481ec68272572643e83055ec5766f3d0331be0209e789637fb5720 -MD5 699723eb0b0ad059702af4fc4de7bf95 files/zaptel-1.2.0-ukcid.patch 3787 -RMD160 4c4c3b9036db8051643901892a40fbcd153184d6 files/zaptel-1.2.0-ukcid.patch 3787 -SHA256 d60c436b44481ec68272572643e83055ec5766f3d0331be0209e789637fb5720 files/zaptel-1.2.0-ukcid.patch 3787 -AUX zaptel-1.2.0_beta2-devfs26.diff 6046 RMD160 46be740e37e026a9bd7e19136b6c7094def445ef SHA1 0169f0a13563565756eb5c41b641ba2d557c0b66 SHA256 b63bd43dae1e61f55ee4dbbf25d3401532d728ca4dd79c747835e9907c011856 -MD5 c0f95d699055c3b46e5d3078bfaa2afb files/zaptel-1.2.0_beta2-devfs26.diff 6046 -RMD160 46be740e37e026a9bd7e19136b6c7094def445ef files/zaptel-1.2.0_beta2-devfs26.diff 6046 -SHA256 b63bd43dae1e61f55ee4dbbf25d3401532d728ca4dd79c747835e9907c011856 files/zaptel-1.2.0_beta2-devfs26.diff 6046 -AUX zaptel-1.2.0_beta2-gentoo.diff 4626 RMD160 5bcca52cb76caf03661dabe4f127452f7aa08b22 SHA1 6144298e9e99acd655bf83a05ba5dff561565779 SHA256 500fd8eecf4f568293a9d1712c4a3a65883d4755accfc13697cdf83dda437816 -MD5 e6c7407f2478a1836a087eec78ecd69d files/zaptel-1.2.0_beta2-gentoo.diff 4626 -RMD160 5bcca52cb76caf03661dabe4f127452f7aa08b22 files/zaptel-1.2.0_beta2-gentoo.diff 4626 -SHA256 500fd8eecf4f568293a9d1712c4a3a65883d4755accfc13697cdf83dda437816 files/zaptel-1.2.0_beta2-gentoo.diff 4626 -AUX zaptel-1.2.0_beta2-ukcid.patch 3787 RMD160 4c4c3b9036db8051643901892a40fbcd153184d6 SHA1 f4da18f52f6dc92c84d9534c10882f3b657d93a3 SHA256 d60c436b44481ec68272572643e83055ec5766f3d0331be0209e789637fb5720 -MD5 699723eb0b0ad059702af4fc4de7bf95 files/zaptel-1.2.0_beta2-ukcid.patch 3787 -RMD160 4c4c3b9036db8051643901892a40fbcd153184d6 files/zaptel-1.2.0_beta2-ukcid.patch 3787 -SHA256 d60c436b44481ec68272572643e83055ec5766f3d0331be0209e789637fb5720 files/zaptel-1.2.0_beta2-ukcid.patch 3787 -AUX zaptel-1.2.1-gentoo.diff 4756 RMD160 1ce3b91f5a6be87566d56fa49605f7e6ce5ac470 SHA1 fc7f97a078d542be5d7acdf2722f2fb09b70ec94 SHA256 f92466fb92dae6c0168fd27978aa75bb262c37d037d25ecd334ccc5e9a5939ea -MD5 bc9d66166d440e69b69286ef26b4c52d files/zaptel-1.2.1-gentoo.diff 4756 -RMD160 1ce3b91f5a6be87566d56fa49605f7e6ce5ac470 files/zaptel-1.2.1-gentoo.diff 4756 -SHA256 f92466fb92dae6c0168fd27978aa75bb262c37d037d25ecd334ccc5e9a5939ea files/zaptel-1.2.1-gentoo.diff 4756 -AUX zaptel-1.2.2-gentoo.diff 7740 RMD160 70b52156389d66952f3f498bdc9af7d4092b3cdc SHA1 a2dd4ee7c7c8ab34c50f1618e23f3c212fdf97d0 SHA256 58ce489e499697a57ad9e939b119a2f07418c2cd48158efc89b8c46a1bd6b946 -MD5 51c21f33dde21f00000ccf671ac0ebff files/zaptel-1.2.2-gentoo.diff 7740 -RMD160 70b52156389d66952f3f498bdc9af7d4092b3cdc files/zaptel-1.2.2-gentoo.diff 7740 -SHA256 58ce489e499697a57ad9e939b119a2f07418c2cd48158efc89b8c46a1bd6b946 files/zaptel-1.2.2-gentoo.diff 7740 -AUX zaptel-1.2.6-gentoo.diff 4565 RMD160 ed630e59ca0f100c7f69ef918a4a15ddb580a256 SHA1 f4a48026c12b2a22486724fc32913b3eeb49a689 SHA256 49c3e58b351d9e7ec16d19f9e361a13ee041c5ed4dbdf389dfb34dabb4eaab1e -MD5 e641eafe0366cfa523df967a7d31241c files/zaptel-1.2.6-gentoo.diff 4565 -RMD160 ed630e59ca0f100c7f69ef918a4a15ddb580a256 files/zaptel-1.2.6-gentoo.diff 4565 -SHA256 49c3e58b351d9e7ec16d19f9e361a13ee041c5ed4dbdf389dfb34dabb4eaab1e files/zaptel-1.2.6-gentoo.diff 4565 -AUX zaptel-1.2.7-gentoo.diff 4585 RMD160 e857675102e6b9ffc8429f59ba6e12548494ce23 SHA1 e55cf841eb56a2233aa506e23bc71ed8ab82ac50 SHA256 98a4b3f34aa43e7954e5a0e48474c4466461e6ca5706b652fe51bdb5171dd9e2 -MD5 5d537ff7c9b103e3f541a9278e64acc1 files/zaptel-1.2.7-gentoo.diff 4585 -RMD160 e857675102e6b9ffc8429f59ba6e12548494ce23 files/zaptel-1.2.7-gentoo.diff 4585 -SHA256 98a4b3f34aa43e7954e5a0e48474c4466461e6ca5706b652fe51bdb5171dd9e2 files/zaptel-1.2.7-gentoo.diff 4585 -AUX zaptel-1.2.9.1-gcc411_is_a_retard-kbuild.patch 306 RMD160 565eb368b1b05a177caee5a43206738cb8302b2d SHA1 950ab0c803564831a8258e6df4b09688e0b18d9f SHA256 08b1d97bb66c9594dddec108404220fa499f4ac8b2b211f63f7d8cc98b0a78bf -MD5 93494506ca6c66b90a6175a2f50965ec files/zaptel-1.2.9.1-gcc411_is_a_retard-kbuild.patch 306 -RMD160 565eb368b1b05a177caee5a43206738cb8302b2d files/zaptel-1.2.9.1-gcc411_is_a_retard-kbuild.patch 306 -SHA256 08b1d97bb66c9594dddec108404220fa499f4ac8b2b211f63f7d8cc98b0a78bf files/zaptel-1.2.9.1-gcc411_is_a_retard-kbuild.patch 306 -AUX zaptel-1.2.9.1-gentoo.diff 5129 RMD160 b85980028878905c8db0821c5f5d59d500591a8f SHA1 fecf5625cb849d2bdc6bd28370fca3775ae987ad SHA256 2414a99c0608e562afaa84446756cb8df59cdb91b8f81aecaef65d6a0db3b3ed -MD5 2ba3db989e7bacdefb157b6bb6d57f61 files/zaptel-1.2.9.1-gentoo.diff 5129 -RMD160 b85980028878905c8db0821c5f5d59d500591a8f files/zaptel-1.2.9.1-gentoo.diff 5129 -SHA256 2414a99c0608e562afaa84446756cb8df59cdb91b8f81aecaef65d6a0db3b3ed files/zaptel-1.2.9.1-gentoo.diff 5129 -AUX zaptel.confd 371 RMD160 1867454626e66743b26d8726e330534c9117c8a4 SHA1 c2ccc3eada8ccb28527fcacfe4b89cf25131867e SHA256 f1cf6c46282645567481118bfcd814b64c88510499c4f423ff2df4ced34c434f -MD5 fae1145da422b8838c2a6ac3405dc4c4 files/zaptel.confd 371 -RMD160 1867454626e66743b26d8726e330534c9117c8a4 files/zaptel.confd 371 -SHA256 f1cf6c46282645567481118bfcd814b64c88510499c4f423ff2df4ced34c434f files/zaptel.confd 371 -AUX zaptel.devfsd 140 RMD160 99113a7b2fcdf0ee3b305ab10ee00a46c754e541 SHA1 daaacd0896a08af16c1bca0c81e70686fe999f7d SHA256 17de99387374f87f924de4d066dc698aa8ef420cb664d702c5d18c7775f4e4aa -MD5 6e306307ede34b9428ec1c992a8a671e files/zaptel.devfsd 140 -RMD160 99113a7b2fcdf0ee3b305ab10ee00a46c754e541 files/zaptel.devfsd 140 -SHA256 17de99387374f87f924de4d066dc698aa8ef420cb664d702c5d18c7775f4e4aa files/zaptel.devfsd 140 -AUX zaptel.rc6 972 RMD160 898806437812819568f6801faf682302e20bbdde SHA1 d427875ae8ece8ca00cf0ac1f2ee92c6e1b9e321 SHA256 0558aa032de92fa9ae54076d9268fc3e704317eb54985656f0f21e2d334b6d84 -MD5 a1ef57fe463da11030f2e18d87535466 files/zaptel.rc6 972 -RMD160 898806437812819568f6801faf682302e20bbdde files/zaptel.rc6 972 -SHA256 0558aa032de92fa9ae54076d9268fc3e704317eb54985656f0f21e2d334b6d84 files/zaptel.rc6 972 -AUX zaptel.udevd 358 RMD160 fc92cf8fcbf9ed49b7918557670417e15f84f281 SHA1 36410cd48fbe9a6695bbcfd88133408af9365bd9 SHA256 9be02c6b22db788d8a8fabc5bc2574102b50c3b329cff12c342d39896c7615b5 -MD5 3bff3fd5d8dc52513ceeac546e1e11bf files/zaptel.udevd 358 -RMD160 fc92cf8fcbf9ed49b7918557670417e15f84f281 files/zaptel.udevd 358 -SHA256 9be02c6b22db788d8a8fabc5bc2574102b50c3b329cff12c342d39896c7615b5 files/zaptel.udevd 358 -DIST bristuff-0.3.0-PRE-1c.tar.gz 167219 RMD160 d826786216ca1dd85bb2f011b6273d8329e107fc SHA1 fd780e10ccb6586872f592b9498f1b57e2f5b30d SHA256 2b43a263f508194f0d6438c0c07655979261941b2041c4713f0aebc1d1cb993c -DIST bristuff-0.3.0-PRE-1f.tar.gz 264428 -DIST bristuff-0.3.0-PRE-1h.tar.gz 207158 RMD160 a01dceb5ac8bf85265d322e2bc109e11df556f02 SHA256 46ce98670f184498126b5d3bbe1310ea4ec2ac7e063532e1832593a121e89681 -DIST bristuff-0.3.0-PRE-1i.tar.gz 207735 RMD160 d34f47c2f18f7732e80177bad557e36c08600b3f SHA1 f031fc76cb7915f93089af1b3fa1e731a7890e86 SHA256 4162bd62c1b168a5cfdfaed15bab74a706771d2d629af0d0c79caeedb629bef2 -DIST bristuff-0.3.0-PRE-1k.tar.gz 207577 RMD160 c06919d8d9878aeda822c8e07af0fc4f7a0c51ca SHA1 e58a2d407a4f9d96d062c1378b97c5380a626508 SHA256 1e8544b966012f9ea44f30b36123c205ca8745c8756a8c0ac88e6f4406d86e6c -DIST bristuff-0.3.0-PRE-1n.tar.gz 248488 RMD160 3da3043a88551578b4495ae8e54ffb6a4f3bfd2c SHA1 c4aa937dffa7dec4ffed1c08bc228f6521c52306 SHA256 31b894bdd2741e309dfed23963db1cda3d74a8d616de8df9f1281b5558aa27f1 -DIST bristuff-0.3.0-PRE-1o.tar.gz 252770 RMD160 60f1656a815bd1ff7d86ca7cb657c1d850a84804 SHA1 fd215b07533532c04f60212284a4cd1d6f18d5ba SHA256 aec95d12959181b601d7d10f05bb16eff715859dc8ea9fbb10e670296f61b6e9 -DIST bristuff-0.3.0-PRE-1p.tar.gz 254003 RMD160 e87c0289bc598b52b962d192bc54008edc9b38a9 SHA1 5372bf13be0f5c7dd36046a8ac1cf5ed0fbb1f0b SHA256 d7dbb352ac68d64458919b94f815c8c97418c54fa8ae5411084370325528c164 -DIST bristuff-0.3.0-PRE-1r.tar.gz 262348 RMD160 c2f7e937fc7452d8abb392f6c17246c3f8291b01 SHA1 cfb957bb12000107db906bfd456e8e3dc52f5ca2 SHA256 944be5544eae6cbbc00ac30d63f76ea78cc355dac07732ed2c52f7bdec91117e -DIST bristuff-0.3.0-PRE-1s.tar.gz 265953 RMD160 8d3abdbbae4c376d52225395c72f4538e1f84a94 SHA1 1d942df9e4fd963755080e011caba88a33601c1b SHA256 30adea4f070ed44d1952163e850c177f976857b96965e18844ccd492ccef968d -DIST zaphfc_0.3.0-PRE-1_florz-10.diff.gz 10555 RMD160 d7e0492b994951d0c13ddea58e3703701619325e SHA256 538498913dc71ad5944f5e5d4edfcfad67907e5621f2d90127c567649dc1534b -DIST zaphfc_0.3.0-PRE-1f_florz-11.diff.gz 10563 RMD160 7ab9166da63bb81902d3b6eaeaa6691dade108b7 SHA1 a605939305a8346401cc6d1997ab4fae2968d644 SHA256 efa70642be1913007423a6b177af55c5678522f9e71e2bd5a19275c6f57e79ae -DIST zaphfc_0.3.0-PRE-1n_florz-11.diff.gz 10647 RMD160 31f1f82a5452bafa191b2023cfa559b8431786c6 SHA1 b34928127b7a2dafbbcc0d2761e76b8ecb6daa1a SHA256 923f6f8fa8a520d14978aab5ff2911234e587bee1fae085f76fb992ed9e1f9b1 -DIST zaphfc_0.3.0-PRE-1o_florz-12.diff.gz 10736 RMD160 b95d2301402e1108bc480ce0e66e87e3062eccf8 SHA1 f8ab2f312c6a2b2f607b9e7f3ccbcca0858c53a7 SHA256 04a8dd22d581b5d28d46a589d695f6eb634bf2bf355347a637fe2d560a63528c -DIST zaptel-1.2.0.tar.gz 596257 RMD160 de4b944d0e14671750fa5ef6ddbe92c2b246039f SHA256 4debb42372421019a532f919424af7ad14e7e06eac0b8fe1cbc11d81346b3116 -DIST zaptel-1.2.1.tar.gz 617212 RMD160 fd5948f5c45792aa8e8f18ac1a31957055d18fda SHA256 147d2bab9ff8e09fa5115957f692a218b5f86fb53de0e29da11c133d8bd15d34 -DIST zaptel-1.2.2.tar.gz 615509 -DIST zaptel-1.2.3.tar.gz 619706 RMD160 f57a41ac5838eed8443482d0ee5a55ae0c6ae511 SHA256 621d126c5622a037c0ea1ef20f1dd57171c1085ad04fc8c62013e218c9b33ef4 -DIST zaptel-1.2.4.tar.gz 673090 RMD160 05396ac7227762b9c052a3ff3642b99d47a8dd85 SHA256 9b511d2892dd7aaa66ac8ba4b0443fe560aa5835611d1973ae8ccfd5344b721d -DIST zaptel-1.2.5.tar.gz 673161 RMD160 7de580a8424b436d77504501ef59c47f2498e04d SHA1 ac740850e49daed77683eaffba5732086a88f54f SHA256 8a80ccd9b2852de8a0ccf0036819d8e5cc0f73516f1fdcee3392c813a26ada5c -DIST zaptel-1.2.6.tar.gz 676658 RMD160 599cf3c78bb5b71a921dea9ca4716131224cd872 SHA1 cd61a2e7efdab4c5400af5c44c4009702daf5ea2 SHA256 24cd078469f2a3f131c3d28977f88426a45d9810f5a5d22109d5d57e43320938 -DIST zaptel-1.2.7.tar.gz 1137409 RMD160 76cb57b0c57fc25f6210de285bbc4291ee9fb4b9 SHA1 790a106ee975a77c413a01584c59ea7d91ca9efd SHA256 db6768c88380a1b5eaf6adea97eb1c9837ee83d284d87cec84853ae984994a00 -DIST zaptel-1.2.9.1.tar.gz 1255412 RMD160 caf2ad931e2ae439500805a6ca4376dc8083de5a SHA1 6145301bb47107c0910a098e26b4ca5cdb2377ab SHA256 7def44c259352397af2ad80f3c0eb103ff640ffbc7c95f37c3802fee75c10ede -EBUILD zaptel-1.2.0.ebuild 9088 RMD160 0a4672dbfa7101836a7c418a663a81aa825c6041 SHA1 f10ea0d3eddb283f045001dcbe7f6587bc388e43 SHA256 720aefb754ef4261a481cf0fed6fb292d802159e698343ebdb816d86752cd8a9 -MD5 5768ae3fe215f65c6a97ab80dec67b19 zaptel-1.2.0.ebuild 9088 -RMD160 0a4672dbfa7101836a7c418a663a81aa825c6041 zaptel-1.2.0.ebuild 9088 -SHA256 720aefb754ef4261a481cf0fed6fb292d802159e698343ebdb816d86752cd8a9 zaptel-1.2.0.ebuild 9088 -EBUILD zaptel-1.2.1-r1.ebuild 9318 RMD160 4c359f6967a5e134f208d7c8888a268d8d2afee9 SHA1 787c63caf98bfee5e9128ea9b74413023f901964 SHA256 9aebb3931e600a0c793548032568b950bed823d226ab1da3a596792a14f1c107 -MD5 07f712d35c82582a788fb771a17fdaec zaptel-1.2.1-r1.ebuild 9318 -RMD160 4c359f6967a5e134f208d7c8888a268d8d2afee9 zaptel-1.2.1-r1.ebuild 9318 -SHA256 9aebb3931e600a0c793548032568b950bed823d226ab1da3a596792a14f1c107 zaptel-1.2.1-r1.ebuild 9318 -EBUILD zaptel-1.2.1.ebuild 9136 RMD160 997a5543febde1d3e981347687083b50682f6c2d SHA1 aa6e11387e8cd7a4bfad9d614c9d8d6b0d76e332 SHA256 034323f8d3ee7138338a51a4a6b5e9916b3adfab186270a8649ae94919461db6 -MD5 40e2ebecf773b9adc843c1fa4f93a3ce zaptel-1.2.1.ebuild 9136 -RMD160 997a5543febde1d3e981347687083b50682f6c2d zaptel-1.2.1.ebuild 9136 -SHA256 034323f8d3ee7138338a51a4a6b5e9916b3adfab186270a8649ae94919461db6 zaptel-1.2.1.ebuild 9136 -EBUILD zaptel-1.2.2.ebuild 9304 RMD160 4ef0d77b3f9a2b6fe44bc26ead8228bc257a7fdb SHA1 c88cb78a658287fdb98ac3fc991b93396908d16a SHA256 ab564ecad3d99eff4d27b9b7d9e24d13d3505b861a022342cc18271f0c0c7267 -MD5 eafb0440cd17425fb9c1c86d7c05c507 zaptel-1.2.2.ebuild 9304 -RMD160 4ef0d77b3f9a2b6fe44bc26ead8228bc257a7fdb zaptel-1.2.2.ebuild 9304 -SHA256 ab564ecad3d99eff4d27b9b7d9e24d13d3505b861a022342cc18271f0c0c7267 zaptel-1.2.2.ebuild 9304 -EBUILD zaptel-1.2.3-r1.ebuild 9304 RMD160 2ad7ff1d54bf3f18273c2b509cc56fd71ee3b491 SHA1 eb48ef4856fb86e16839df0b229a1268faf39721 SHA256 1c3f4971bc3d1bc7f4ef40346e02743b3d842fafdab403da27780651f8175a87 -MD5 1a882437a39bea056f2844187a321c18 zaptel-1.2.3-r1.ebuild 9304 -RMD160 2ad7ff1d54bf3f18273c2b509cc56fd71ee3b491 zaptel-1.2.3-r1.ebuild 9304 -SHA256 1c3f4971bc3d1bc7f4ef40346e02743b3d842fafdab403da27780651f8175a87 zaptel-1.2.3-r1.ebuild 9304 -EBUILD zaptel-1.2.3.ebuild 9304 RMD160 946ef977840705ba1048a105305e752d724c4100 SHA1 dc1b37ac14292ba5f666969ffb3682db397d9ede SHA256 a5036fdd12c39a9d195712594a362ff9fdb08aebe67cb7ae0611cb1f27e94b23 -MD5 ee5281e2df181040f6dbb7f97883c388 zaptel-1.2.3.ebuild 9304 -RMD160 946ef977840705ba1048a105305e752d724c4100 zaptel-1.2.3.ebuild 9304 -SHA256 a5036fdd12c39a9d195712594a362ff9fdb08aebe67cb7ae0611cb1f27e94b23 zaptel-1.2.3.ebuild 9304 -EBUILD zaptel-1.2.4.ebuild 9304 RMD160 2ad7ff1d54bf3f18273c2b509cc56fd71ee3b491 SHA1 eb48ef4856fb86e16839df0b229a1268faf39721 SHA256 1c3f4971bc3d1bc7f4ef40346e02743b3d842fafdab403da27780651f8175a87 -MD5 1a882437a39bea056f2844187a321c18 zaptel-1.2.4.ebuild 9304 -RMD160 2ad7ff1d54bf3f18273c2b509cc56fd71ee3b491 zaptel-1.2.4.ebuild 9304 -SHA256 1c3f4971bc3d1bc7f4ef40346e02743b3d842fafdab403da27780651f8175a87 zaptel-1.2.4.ebuild 9304 -EBUILD zaptel-1.2.5-r1.ebuild 9499 RMD160 af55c55da45323c8cadf1eb136a6c6ff56c64bbf SHA1 72bf9fcfe1243911d531f29ec22eaadb4e8ff874 SHA256 9f74638ac569a7002d08a77d72c4771af1345de9d0b2d21646a6c5f7e897a497 -MD5 d7b371a98058ac6a6bb8f7cee8be274e zaptel-1.2.5-r1.ebuild 9499 -RMD160 af55c55da45323c8cadf1eb136a6c6ff56c64bbf zaptel-1.2.5-r1.ebuild 9499 -SHA256 9f74638ac569a7002d08a77d72c4771af1345de9d0b2d21646a6c5f7e897a497 zaptel-1.2.5-r1.ebuild 9499 -EBUILD zaptel-1.2.5-r2.ebuild 9303 RMD160 8217d798744cffa0649a0035f9644d844bf9a2c5 SHA1 efdb808d2e16f5a1ffeb6d8f5e43bc72b8ff61e8 SHA256 1ce018b43d5732720303140fde5b44ee08cbeac9ee19417e619e0c147a3d1012 -MD5 4350ae473a87bca074a404b52b694bb9 zaptel-1.2.5-r2.ebuild 9303 -RMD160 8217d798744cffa0649a0035f9644d844bf9a2c5 zaptel-1.2.5-r2.ebuild 9303 -SHA256 1ce018b43d5732720303140fde5b44ee08cbeac9ee19417e619e0c147a3d1012 zaptel-1.2.5-r2.ebuild 9303 -EBUILD zaptel-1.2.5-r3.ebuild 9316 RMD160 27c6eff191a3498f077e59a854eee6a4bbfa95a2 SHA1 9977c3125af2acc2796614f10e142cff46278d7c SHA256 67f9f36de27f78742a9aed386e21eab5822709a6d35c2f6ac98de78ec1c1d841 -MD5 d6202d95abdd5a66f0813436de5b7989 zaptel-1.2.5-r3.ebuild 9316 -RMD160 27c6eff191a3498f077e59a854eee6a4bbfa95a2 zaptel-1.2.5-r3.ebuild 9316 -SHA256 67f9f36de27f78742a9aed386e21eab5822709a6d35c2f6ac98de78ec1c1d841 zaptel-1.2.5-r3.ebuild 9316 -EBUILD zaptel-1.2.5.ebuild 9300 RMD160 76d330cdebcaf4c396a213204a90b9306a937629 SHA1 fb71f08c2fbf51c19212ffba7b09ab572ca558ad SHA256 b699343b54199d3d6080e0214403bfe8d96af73c7d7268bd73ed4ef8a2d0bbd1 -MD5 0157f2383f2eaa50bdc49d1e0d6bd7b5 zaptel-1.2.5.ebuild 9300 -RMD160 76d330cdebcaf4c396a213204a90b9306a937629 zaptel-1.2.5.ebuild 9300 -SHA256 b699343b54199d3d6080e0214403bfe8d96af73c7d7268bd73ed4ef8a2d0bbd1 zaptel-1.2.5.ebuild 9300 -EBUILD zaptel-1.2.6.ebuild 9332 RMD160 4c7051dad4a62a9b41ebe3ffc1d685d52b6672a9 SHA1 7cb8d57f877ca9a7a87f626aebd921fa46fce975 SHA256 0fffbed990860d58df7cfa404aeba39aaa281236a7070f1e0d06a3f7bab70d06 -MD5 4f87c6eaacd22ae72af3f7631fd47855 zaptel-1.2.6.ebuild 9332 -RMD160 4c7051dad4a62a9b41ebe3ffc1d685d52b6672a9 zaptel-1.2.6.ebuild 9332 -SHA256 0fffbed990860d58df7cfa404aeba39aaa281236a7070f1e0d06a3f7bab70d06 zaptel-1.2.6.ebuild 9332 -EBUILD zaptel-1.2.7.ebuild 9332 RMD160 9b47018d6846b0677ff2412cf86284a491056c8f SHA1 49395d1c9a21eadf622c56c1f67ba7159ac5e83f SHA256 6ea7cfb256d8ba98402fbc26546ba7b5ef2d4d47fa338a2dc4cbbd742a4b2864 -MD5 8e354fb682a7a8329b4a429b1458eb1f zaptel-1.2.7.ebuild 9332 -RMD160 9b47018d6846b0677ff2412cf86284a491056c8f zaptel-1.2.7.ebuild 9332 -SHA256 6ea7cfb256d8ba98402fbc26546ba7b5ef2d4d47fa338a2dc4cbbd742a4b2864 zaptel-1.2.7.ebuild 9332 -EBUILD zaptel-1.2.9.1.ebuild 8525 RMD160 f5609d11a76cbffa9df0cc15eb6991c64f55398a SHA1 f4f3336ee185e4da60f0b5337cedb0b7e1848084 SHA256 92221e825c529e5a32786aa23968eb70d7261d9e39751a61b3ae92b425150c37 -MD5 3b36bb38b0b61d0af4ed2d5bd8dd00be zaptel-1.2.9.1.ebuild 8525 -RMD160 f5609d11a76cbffa9df0cc15eb6991c64f55398a zaptel-1.2.9.1.ebuild 8525 -SHA256 92221e825c529e5a32786aa23968eb70d7261d9e39751a61b3ae92b425150c37 zaptel-1.2.9.1.ebuild 8525 -MISC ChangeLog 18028 RMD160 761d0cfe58d0e4ab10bd746e977d0b1d1c01a811 SHA1 5ac70679c28414acdd4616df1b3f654a5451ac47 SHA256 7e230564041c412551d9bc0bdc64bfb1347463694754439b296f5901772b21f2 -MD5 979a011b2b46b3b5191e6469aea1dcec ChangeLog 18028 -RMD160 761d0cfe58d0e4ab10bd746e977d0b1d1c01a811 ChangeLog 18028 -SHA256 7e230564041c412551d9bc0bdc64bfb1347463694754439b296f5901772b21f2 ChangeLog 18028 -MISC metadata.xml 248 RMD160 a989fff0cebc82a58a75fb3a2eec8da0712ad57e SHA1 10bea6cd152e9f0ecb627eaacc19980a9d5f5dc4 SHA256 d0e3ab77a8a7b859511b8d5fda83dc018351e6367724b097dcc13c4aa0a3ee6b -MD5 44cf247f04cc83413fcb40ed59d0847a metadata.xml 248 -RMD160 a989fff0cebc82a58a75fb3a2eec8da0712ad57e metadata.xml 248 -SHA256 d0e3ab77a8a7b859511b8d5fda83dc018351e6367724b097dcc13c4aa0a3ee6b metadata.xml 248 -MD5 2a9f3be41d80938292e66064d40bb3c0 files/digest-zaptel-1.2.0 786 -RMD160 9a4e1735fad8a0db4d9d238be6f86c98fdc6f44d files/digest-zaptel-1.2.0 786 -SHA256 3726eb46773ddce7430c36c0c0c5fc3e7f218998df95fb9c33439c62b6138ceb files/digest-zaptel-1.2.0 786 -MD5 bbaf527cd75c1059e3c7ae86fd46ef2a files/digest-zaptel-1.2.1 786 -RMD160 3723ce9c1f9be8a9c3bc902070403a63111eeebb files/digest-zaptel-1.2.1 786 -SHA256 7d990f63b15a4907ee27cc29a5617827b5a6b0d45868f1e5de3ca20f7ea37d56 files/digest-zaptel-1.2.1 786 -MD5 6b3f481abd2f338c43105b55d2bf5e31 files/digest-zaptel-1.2.1-r1 597 -RMD160 9d300ced919dabd726b0f2e39c347f606c1a4173 files/digest-zaptel-1.2.1-r1 597 -SHA256 4de1d1f36ab1b15be04b4d28e92f10fb856b6b48078e12792ede392b960e6633 files/digest-zaptel-1.2.1-r1 597 -MD5 d384c736914b20ca66d45a9035eb625a files/digest-zaptel-1.2.2 615 -RMD160 facdd1bb7fb34a64b2bc1cf28d425d7356600d0f files/digest-zaptel-1.2.2 615 -SHA256 707d51bff87081085cabf9e7b170952b5fc84a7cca044188b3a0046285f9628b files/digest-zaptel-1.2.2 615 -MD5 b8a1bacda1d185c8da271bed275445ae files/digest-zaptel-1.2.3 789 -RMD160 4e2ae5b553a3acb421ed05bd448315f675ad7f61 files/digest-zaptel-1.2.3 789 -SHA256 6619ec9161fbcbb19e009e3d65cbfda6d41d0413fb95f5d48a8d3af4b27c35aa files/digest-zaptel-1.2.3 789 -MD5 5f7da2cec142455e571667cb0618a2f5 files/digest-zaptel-1.2.3-r1 789 -RMD160 69158994b88578254a2ce6904911c01121a48575 files/digest-zaptel-1.2.3-r1 789 -SHA256 2666bd2e6d771d07e2cb8e793aed5603c994eeb3069070eb232ae68a36db703e files/digest-zaptel-1.2.3-r1 789 -MD5 6aaf88215a670b9320a9d2ae503595c9 files/digest-zaptel-1.2.4 789 -RMD160 5edcaaa8466e5cd8df26dd3456ee910824992132 files/digest-zaptel-1.2.4 789 -SHA256 51adc83361a36c07fb01da045377ed3ccddcc72627b649e885ecd4a2a78d76c4 files/digest-zaptel-1.2.4 789 -MD5 5c0e0cd9441dd2150c447a8085cf70bb files/digest-zaptel-1.2.5 789 -RMD160 7db3fdf39e6aeaaec2b9c9ee4d8b1dafa9f78763 files/digest-zaptel-1.2.5 789 -SHA256 ba9f78315e7f75aed1da7b724d92afd320cdbd931f35812ca327cbed9053d26f files/digest-zaptel-1.2.5 789 -MD5 da865311bc3aaa4dc53c3cc0e79a6017 files/digest-zaptel-1.2.5-r1 789 -RMD160 c1ed31a2fdcfb97907e77540ab9011dd22096324 files/digest-zaptel-1.2.5-r1 789 -SHA256 0ab3c45417e958d58d38e1d71b95128b764f0508f089854403cef599b19653b2 files/digest-zaptel-1.2.5-r1 789 -MD5 4118282f88566778acf16320b66df5ba files/digest-zaptel-1.2.5-r2 789 -RMD160 a6bba0a2dcd5438b5b10bbf78053c84a823ac039 files/digest-zaptel-1.2.5-r2 789 -SHA256 c43892c542017555e81b888881227364230be6fb9fb95a8b0d3331a099ea3b7c files/digest-zaptel-1.2.5-r2 789 -MD5 a4675fbeb24bb7f97a3c402599b35057 files/digest-zaptel-1.2.5-r3 503 -RMD160 f525f29faa7b73cbb0428f1eb7f22f5f3a45143b files/digest-zaptel-1.2.5-r3 503 -SHA256 87101a55a9f567fd33eea36548b4b9b20eca755e3d2fecc68db9c11dcc8d26a7 files/digest-zaptel-1.2.5-r3 503 -MD5 3708063a489c0d321af32910c0ed7aa8 files/digest-zaptel-1.2.6 789 -RMD160 3b5f6a6d32b45ba78ab69b9d8e9d8af4354f40de files/digest-zaptel-1.2.6 789 -SHA256 e0c1e502dc6c176d176a5877ce51ece60d7b8e99f20d47f048e0ebcf760fe30c files/digest-zaptel-1.2.6 789 -MD5 399d589bcd69d3f411f3fd4772cfe395 files/digest-zaptel-1.2.7 792 -RMD160 6a73a6eaa51d4eae507d8ae1b8f70134d051aef6 files/digest-zaptel-1.2.7 792 -SHA256 653e57cf54d5c60cefd58b4b5cbea157f00ec74e68f08ab5a63787612cee2f19 files/digest-zaptel-1.2.7 792 -MD5 1e13a9665022158b1d78f47b331688ed files/digest-zaptel-1.2.9.1 798 -RMD160 f10faf8fefa2221dfa0fd8e8a85b658a095d803c files/digest-zaptel-1.2.9.1 798 -SHA256 367d7228a51892a9ad986338a37a3355564b2fc324af014a65f7af78bf676b3d files/digest-zaptel-1.2.9.1 798 diff --git a/net-misc/zaptel/files/digest-zaptel-1.2.0 b/net-misc/zaptel/files/digest-zaptel-1.2.0 deleted file mode 100644 index c8bc5b0..0000000 --- a/net-misc/zaptel/files/digest-zaptel-1.2.0 +++ /dev/null @@ -1,9 +0,0 @@ -MD5 97b25f6bc1df0a962383b1bc930266b9 bristuff-0.3.0-PRE-1c.tar.gz 167219 -RMD160 d826786216ca1dd85bb2f011b6273d8329e107fc bristuff-0.3.0-PRE-1c.tar.gz 167219 -SHA256 2b43a263f508194f0d6438c0c07655979261941b2041c4713f0aebc1d1cb993c bristuff-0.3.0-PRE-1c.tar.gz 167219 -MD5 021421e8b07547d907c4378e9bed2d43 zaphfc_0.3.0-PRE-1_florz-10.diff.gz 10555 -RMD160 d7e0492b994951d0c13ddea58e3703701619325e zaphfc_0.3.0-PRE-1_florz-10.diff.gz 10555 -SHA256 538498913dc71ad5944f5e5d4edfcfad67907e5621f2d90127c567649dc1534b zaphfc_0.3.0-PRE-1_florz-10.diff.gz 10555 -MD5 83d4aaab1594c5aa0dedc6b4f221fb48 zaptel-1.2.0.tar.gz 596257 -RMD160 de4b944d0e14671750fa5ef6ddbe92c2b246039f zaptel-1.2.0.tar.gz 596257 -SHA256 4debb42372421019a532f919424af7ad14e7e06eac0b8fe1cbc11d81346b3116 zaptel-1.2.0.tar.gz 596257 diff --git a/net-misc/zaptel/files/digest-zaptel-1.2.1 b/net-misc/zaptel/files/digest-zaptel-1.2.1 deleted file mode 100644 index ca99ddd..0000000 --- a/net-misc/zaptel/files/digest-zaptel-1.2.1 +++ /dev/null @@ -1,9 +0,0 @@ -MD5 97b25f6bc1df0a962383b1bc930266b9 bristuff-0.3.0-PRE-1c.tar.gz 167219 -RMD160 d826786216ca1dd85bb2f011b6273d8329e107fc bristuff-0.3.0-PRE-1c.tar.gz 167219 -SHA256 2b43a263f508194f0d6438c0c07655979261941b2041c4713f0aebc1d1cb993c bristuff-0.3.0-PRE-1c.tar.gz 167219 -MD5 021421e8b07547d907c4378e9bed2d43 zaphfc_0.3.0-PRE-1_florz-10.diff.gz 10555 -RMD160 d7e0492b994951d0c13ddea58e3703701619325e zaphfc_0.3.0-PRE-1_florz-10.diff.gz 10555 -SHA256 538498913dc71ad5944f5e5d4edfcfad67907e5621f2d90127c567649dc1534b zaphfc_0.3.0-PRE-1_florz-10.diff.gz 10555 -MD5 efabb39a05d4c51f1e9d7d55ac097e2c zaptel-1.2.1.tar.gz 617212 -RMD160 fd5948f5c45792aa8e8f18ac1a31957055d18fda zaptel-1.2.1.tar.gz 617212 -SHA256 147d2bab9ff8e09fa5115957f692a218b5f86fb53de0e29da11c133d8bd15d34 zaptel-1.2.1.tar.gz 617212 diff --git a/net-misc/zaptel/files/digest-zaptel-1.2.1-r1 b/net-misc/zaptel/files/digest-zaptel-1.2.1-r1 deleted file mode 100644 index 9009530..0000000 --- a/net-misc/zaptel/files/digest-zaptel-1.2.1-r1 +++ /dev/null @@ -1,7 +0,0 @@ -MD5 2c361dc916804f42fb52978832e87cf3 bristuff-0.3.0-PRE-1f.tar.gz 264428 -MD5 88160b95c990e8bc92e7d0a755df6792 zaphfc_0.3.0-PRE-1f_florz-11.diff.gz 10563 -RMD160 7ab9166da63bb81902d3b6eaeaa6691dade108b7 zaphfc_0.3.0-PRE-1f_florz-11.diff.gz 10563 -SHA256 efa70642be1913007423a6b177af55c5678522f9e71e2bd5a19275c6f57e79ae zaphfc_0.3.0-PRE-1f_florz-11.diff.gz 10563 -MD5 efabb39a05d4c51f1e9d7d55ac097e2c zaptel-1.2.1.tar.gz 617212 -RMD160 fd5948f5c45792aa8e8f18ac1a31957055d18fda zaptel-1.2.1.tar.gz 617212 -SHA256 147d2bab9ff8e09fa5115957f692a218b5f86fb53de0e29da11c133d8bd15d34 zaptel-1.2.1.tar.gz 617212 diff --git a/net-misc/zaptel/files/digest-zaptel-1.2.2 b/net-misc/zaptel/files/digest-zaptel-1.2.2 deleted file mode 100644 index 2161296..0000000 --- a/net-misc/zaptel/files/digest-zaptel-1.2.2 +++ /dev/null @@ -1,7 +0,0 @@ -MD5 99f82076904be0325029f6f71357eeba bristuff-0.3.0-PRE-1h.tar.gz 207158 -RMD160 a01dceb5ac8bf85265d322e2bc109e11df556f02 bristuff-0.3.0-PRE-1h.tar.gz 207158 -SHA256 46ce98670f184498126b5d3bbe1310ea4ec2ac7e063532e1832593a121e89681 bristuff-0.3.0-PRE-1h.tar.gz 207158 -MD5 88160b95c990e8bc92e7d0a755df6792 zaphfc_0.3.0-PRE-1f_florz-11.diff.gz 10563 -RMD160 7ab9166da63bb81902d3b6eaeaa6691dade108b7 zaphfc_0.3.0-PRE-1f_florz-11.diff.gz 10563 -SHA256 efa70642be1913007423a6b177af55c5678522f9e71e2bd5a19275c6f57e79ae zaphfc_0.3.0-PRE-1f_florz-11.diff.gz 10563 -MD5 6ae9032a2d869f020d1a00caaca713c6 zaptel-1.2.2.tar.gz 615509 diff --git a/net-misc/zaptel/files/digest-zaptel-1.2.3 b/net-misc/zaptel/files/digest-zaptel-1.2.3 deleted file mode 100644 index 21ea694..0000000 --- a/net-misc/zaptel/files/digest-zaptel-1.2.3 +++ /dev/null @@ -1,9 +0,0 @@ -MD5 78e72cf28ced39483b76c61a6c363ce4 bristuff-0.3.0-PRE-1i.tar.gz 207735 -RMD160 d34f47c2f18f7732e80177bad557e36c08600b3f bristuff-0.3.0-PRE-1i.tar.gz 207735 -SHA256 4162bd62c1b168a5cfdfaed15bab74a706771d2d629af0d0c79caeedb629bef2 bristuff-0.3.0-PRE-1i.tar.gz 207735 -MD5 88160b95c990e8bc92e7d0a755df6792 zaphfc_0.3.0-PRE-1f_florz-11.diff.gz 10563 -RMD160 7ab9166da63bb81902d3b6eaeaa6691dade108b7 zaphfc_0.3.0-PRE-1f_florz-11.diff.gz 10563 -SHA256 efa70642be1913007423a6b177af55c5678522f9e71e2bd5a19275c6f57e79ae zaphfc_0.3.0-PRE-1f_florz-11.diff.gz 10563 -MD5 9bcb705458f9b20a9644310298a9cd4d zaptel-1.2.3.tar.gz 619706 -RMD160 f57a41ac5838eed8443482d0ee5a55ae0c6ae511 zaptel-1.2.3.tar.gz 619706 -SHA256 621d126c5622a037c0ea1ef20f1dd57171c1085ad04fc8c62013e218c9b33ef4 zaptel-1.2.3.tar.gz 619706 diff --git a/net-misc/zaptel/files/digest-zaptel-1.2.3-r1 b/net-misc/zaptel/files/digest-zaptel-1.2.3-r1 deleted file mode 100644 index a1e16f3..0000000 --- a/net-misc/zaptel/files/digest-zaptel-1.2.3-r1 +++ /dev/null @@ -1,9 +0,0 @@ -MD5 11fc325f78d61be01621b6d59493fd56 bristuff-0.3.0-PRE-1k.tar.gz 207577 -RMD160 c06919d8d9878aeda822c8e07af0fc4f7a0c51ca bristuff-0.3.0-PRE-1k.tar.gz 207577 -SHA256 1e8544b966012f9ea44f30b36123c205ca8745c8756a8c0ac88e6f4406d86e6c bristuff-0.3.0-PRE-1k.tar.gz 207577 -MD5 88160b95c990e8bc92e7d0a755df6792 zaphfc_0.3.0-PRE-1f_florz-11.diff.gz 10563 -RMD160 7ab9166da63bb81902d3b6eaeaa6691dade108b7 zaphfc_0.3.0-PRE-1f_florz-11.diff.gz 10563 -SHA256 efa70642be1913007423a6b177af55c5678522f9e71e2bd5a19275c6f57e79ae zaphfc_0.3.0-PRE-1f_florz-11.diff.gz 10563 -MD5 9bcb705458f9b20a9644310298a9cd4d zaptel-1.2.3.tar.gz 619706 -RMD160 f57a41ac5838eed8443482d0ee5a55ae0c6ae511 zaptel-1.2.3.tar.gz 619706 -SHA256 621d126c5622a037c0ea1ef20f1dd57171c1085ad04fc8c62013e218c9b33ef4 zaptel-1.2.3.tar.gz 619706 diff --git a/net-misc/zaptel/files/digest-zaptel-1.2.4 b/net-misc/zaptel/files/digest-zaptel-1.2.4 deleted file mode 100644 index cd83aa9..0000000 --- a/net-misc/zaptel/files/digest-zaptel-1.2.4 +++ /dev/null @@ -1,9 +0,0 @@ -MD5 11fc325f78d61be01621b6d59493fd56 bristuff-0.3.0-PRE-1k.tar.gz 207577 -RMD160 c06919d8d9878aeda822c8e07af0fc4f7a0c51ca bristuff-0.3.0-PRE-1k.tar.gz 207577 -SHA256 1e8544b966012f9ea44f30b36123c205ca8745c8756a8c0ac88e6f4406d86e6c bristuff-0.3.0-PRE-1k.tar.gz 207577 -MD5 88160b95c990e8bc92e7d0a755df6792 zaphfc_0.3.0-PRE-1f_florz-11.diff.gz 10563 -RMD160 7ab9166da63bb81902d3b6eaeaa6691dade108b7 zaphfc_0.3.0-PRE-1f_florz-11.diff.gz 10563 -SHA256 efa70642be1913007423a6b177af55c5678522f9e71e2bd5a19275c6f57e79ae zaphfc_0.3.0-PRE-1f_florz-11.diff.gz 10563 -MD5 4e48364e657e512108f2f8026dcd9a4a zaptel-1.2.4.tar.gz 673090 -RMD160 05396ac7227762b9c052a3ff3642b99d47a8dd85 zaptel-1.2.4.tar.gz 673090 -SHA256 9b511d2892dd7aaa66ac8ba4b0443fe560aa5835611d1973ae8ccfd5344b721d zaptel-1.2.4.tar.gz 673090 diff --git a/net-misc/zaptel/files/digest-zaptel-1.2.5 b/net-misc/zaptel/files/digest-zaptel-1.2.5 deleted file mode 100644 index 3d1e941..0000000 --- a/net-misc/zaptel/files/digest-zaptel-1.2.5 +++ /dev/null @@ -1,9 +0,0 @@ -MD5 11fc325f78d61be01621b6d59493fd56 bristuff-0.3.0-PRE-1k.tar.gz 207577 -RMD160 c06919d8d9878aeda822c8e07af0fc4f7a0c51ca bristuff-0.3.0-PRE-1k.tar.gz 207577 -SHA256 1e8544b966012f9ea44f30b36123c205ca8745c8756a8c0ac88e6f4406d86e6c bristuff-0.3.0-PRE-1k.tar.gz 207577 -MD5 88160b95c990e8bc92e7d0a755df6792 zaphfc_0.3.0-PRE-1f_florz-11.diff.gz 10563 -RMD160 7ab9166da63bb81902d3b6eaeaa6691dade108b7 zaphfc_0.3.0-PRE-1f_florz-11.diff.gz 10563 -SHA256 efa70642be1913007423a6b177af55c5678522f9e71e2bd5a19275c6f57e79ae zaphfc_0.3.0-PRE-1f_florz-11.diff.gz 10563 -MD5 8c8561259d29a314aa5a076050124697 zaptel-1.2.5.tar.gz 673161 -RMD160 7de580a8424b436d77504501ef59c47f2498e04d zaptel-1.2.5.tar.gz 673161 -SHA256 8a80ccd9b2852de8a0ccf0036819d8e5cc0f73516f1fdcee3392c813a26ada5c zaptel-1.2.5.tar.gz 673161 diff --git a/net-misc/zaptel/files/digest-zaptel-1.2.5-r1 b/net-misc/zaptel/files/digest-zaptel-1.2.5-r1 deleted file mode 100644 index 91a39f7..0000000 --- a/net-misc/zaptel/files/digest-zaptel-1.2.5-r1 +++ /dev/null @@ -1,9 +0,0 @@ -MD5 a0c78e7676acbc06b26d2c68ef3e0c86 bristuff-0.3.0-PRE-1n.tar.gz 248488 -RMD160 3da3043a88551578b4495ae8e54ffb6a4f3bfd2c bristuff-0.3.0-PRE-1n.tar.gz 248488 -SHA256 31b894bdd2741e309dfed23963db1cda3d74a8d616de8df9f1281b5558aa27f1 bristuff-0.3.0-PRE-1n.tar.gz 248488 -MD5 8e072de546cce9db77a65036819361a4 zaphfc_0.3.0-PRE-1n_florz-11.diff.gz 10647 -RMD160 31f1f82a5452bafa191b2023cfa559b8431786c6 zaphfc_0.3.0-PRE-1n_florz-11.diff.gz 10647 -SHA256 923f6f8fa8a520d14978aab5ff2911234e587bee1fae085f76fb992ed9e1f9b1 zaphfc_0.3.0-PRE-1n_florz-11.diff.gz 10647 -MD5 8c8561259d29a314aa5a076050124697 zaptel-1.2.5.tar.gz 673161 -RMD160 7de580a8424b436d77504501ef59c47f2498e04d zaptel-1.2.5.tar.gz 673161 -SHA256 8a80ccd9b2852de8a0ccf0036819d8e5cc0f73516f1fdcee3392c813a26ada5c zaptel-1.2.5.tar.gz 673161 diff --git a/net-misc/zaptel/files/digest-zaptel-1.2.5-r2 b/net-misc/zaptel/files/digest-zaptel-1.2.5-r2 deleted file mode 100644 index ac29b01..0000000 --- a/net-misc/zaptel/files/digest-zaptel-1.2.5-r2 +++ /dev/null @@ -1,9 +0,0 @@ -MD5 93bb8a5661aaf3022cf4a102ea061f83 bristuff-0.3.0-PRE-1o.tar.gz 252770 -RMD160 60f1656a815bd1ff7d86ca7cb657c1d850a84804 bristuff-0.3.0-PRE-1o.tar.gz 252770 -SHA256 aec95d12959181b601d7d10f05bb16eff715859dc8ea9fbb10e670296f61b6e9 bristuff-0.3.0-PRE-1o.tar.gz 252770 -MD5 541b0a5910843d3c0b6a9de9467b9401 zaphfc_0.3.0-PRE-1o_florz-12.diff.gz 10736 -RMD160 b95d2301402e1108bc480ce0e66e87e3062eccf8 zaphfc_0.3.0-PRE-1o_florz-12.diff.gz 10736 -SHA256 04a8dd22d581b5d28d46a589d695f6eb634bf2bf355347a637fe2d560a63528c zaphfc_0.3.0-PRE-1o_florz-12.diff.gz 10736 -MD5 8c8561259d29a314aa5a076050124697 zaptel-1.2.5.tar.gz 673161 -RMD160 7de580a8424b436d77504501ef59c47f2498e04d zaptel-1.2.5.tar.gz 673161 -SHA256 8a80ccd9b2852de8a0ccf0036819d8e5cc0f73516f1fdcee3392c813a26ada5c zaptel-1.2.5.tar.gz 673161 diff --git a/net-misc/zaptel/files/digest-zaptel-1.2.5-r3 b/net-misc/zaptel/files/digest-zaptel-1.2.5-r3 deleted file mode 100644 index 57e198d..0000000 --- a/net-misc/zaptel/files/digest-zaptel-1.2.5-r3 +++ /dev/null @@ -1,6 +0,0 @@ -MD5 842636e711ff9d9977099db5af091fd7 bristuff-0.3.0-PRE-1p.tar.gz 254003 -RMD160 e87c0289bc598b52b962d192bc54008edc9b38a9 bristuff-0.3.0-PRE-1p.tar.gz 254003 -SHA256 d7dbb352ac68d64458919b94f815c8c97418c54fa8ae5411084370325528c164 bristuff-0.3.0-PRE-1p.tar.gz 254003 -MD5 8c8561259d29a314aa5a076050124697 zaptel-1.2.5.tar.gz 673161 -RMD160 7de580a8424b436d77504501ef59c47f2498e04d zaptel-1.2.5.tar.gz 673161 -SHA256 8a80ccd9b2852de8a0ccf0036819d8e5cc0f73516f1fdcee3392c813a26ada5c zaptel-1.2.5.tar.gz 673161 diff --git a/net-misc/zaptel/files/digest-zaptel-1.2.6 b/net-misc/zaptel/files/digest-zaptel-1.2.6 deleted file mode 100644 index 963775d..0000000 --- a/net-misc/zaptel/files/digest-zaptel-1.2.6 +++ /dev/null @@ -1,9 +0,0 @@ -MD5 842636e711ff9d9977099db5af091fd7 bristuff-0.3.0-PRE-1p.tar.gz 254003 -RMD160 e87c0289bc598b52b962d192bc54008edc9b38a9 bristuff-0.3.0-PRE-1p.tar.gz 254003 -SHA256 d7dbb352ac68d64458919b94f815c8c97418c54fa8ae5411084370325528c164 bristuff-0.3.0-PRE-1p.tar.gz 254003 -MD5 541b0a5910843d3c0b6a9de9467b9401 zaphfc_0.3.0-PRE-1o_florz-12.diff.gz 10736 -RMD160 b95d2301402e1108bc480ce0e66e87e3062eccf8 zaphfc_0.3.0-PRE-1o_florz-12.diff.gz 10736 -SHA256 04a8dd22d581b5d28d46a589d695f6eb634bf2bf355347a637fe2d560a63528c zaphfc_0.3.0-PRE-1o_florz-12.diff.gz 10736 -MD5 c6058b74f43ae12a29e486cf1e919562 zaptel-1.2.6.tar.gz 676658 -RMD160 599cf3c78bb5b71a921dea9ca4716131224cd872 zaptel-1.2.6.tar.gz 676658 -SHA256 24cd078469f2a3f131c3d28977f88426a45d9810f5a5d22109d5d57e43320938 zaptel-1.2.6.tar.gz 676658 diff --git a/net-misc/zaptel/files/digest-zaptel-1.2.7 b/net-misc/zaptel/files/digest-zaptel-1.2.7 deleted file mode 100644 index b7981e5..0000000 --- a/net-misc/zaptel/files/digest-zaptel-1.2.7 +++ /dev/null @@ -1,9 +0,0 @@ -MD5 99b011a28dd9c65d2c20c048f5898a31 bristuff-0.3.0-PRE-1r.tar.gz 262348 -RMD160 c2f7e937fc7452d8abb392f6c17246c3f8291b01 bristuff-0.3.0-PRE-1r.tar.gz 262348 -SHA256 944be5544eae6cbbc00ac30d63f76ea78cc355dac07732ed2c52f7bdec91117e bristuff-0.3.0-PRE-1r.tar.gz 262348 -MD5 541b0a5910843d3c0b6a9de9467b9401 zaphfc_0.3.0-PRE-1o_florz-12.diff.gz 10736 -RMD160 b95d2301402e1108bc480ce0e66e87e3062eccf8 zaphfc_0.3.0-PRE-1o_florz-12.diff.gz 10736 -SHA256 04a8dd22d581b5d28d46a589d695f6eb634bf2bf355347a637fe2d560a63528c zaphfc_0.3.0-PRE-1o_florz-12.diff.gz 10736 -MD5 5134f361d92e5ec7342d7e80bad7d30a zaptel-1.2.7.tar.gz 1137409 -RMD160 76cb57b0c57fc25f6210de285bbc4291ee9fb4b9 zaptel-1.2.7.tar.gz 1137409 -SHA256 db6768c88380a1b5eaf6adea97eb1c9837ee83d284d87cec84853ae984994a00 zaptel-1.2.7.tar.gz 1137409 diff --git a/net-misc/zaptel/files/digest-zaptel-1.2.9.1 b/net-misc/zaptel/files/digest-zaptel-1.2.9.1 deleted file mode 100644 index 0e5dc7e..0000000 --- a/net-misc/zaptel/files/digest-zaptel-1.2.9.1 +++ /dev/null @@ -1,9 +0,0 @@ -MD5 760eba19b03d03cd1dc8648d6239b4af bristuff-0.3.0-PRE-1s.tar.gz 265953 -RMD160 8d3abdbbae4c376d52225395c72f4538e1f84a94 bristuff-0.3.0-PRE-1s.tar.gz 265953 -SHA256 30adea4f070ed44d1952163e850c177f976857b96965e18844ccd492ccef968d bristuff-0.3.0-PRE-1s.tar.gz 265953 -MD5 541b0a5910843d3c0b6a9de9467b9401 zaphfc_0.3.0-PRE-1o_florz-12.diff.gz 10736 -RMD160 b95d2301402e1108bc480ce0e66e87e3062eccf8 zaphfc_0.3.0-PRE-1o_florz-12.diff.gz 10736 -SHA256 04a8dd22d581b5d28d46a589d695f6eb634bf2bf355347a637fe2d560a63528c zaphfc_0.3.0-PRE-1o_florz-12.diff.gz 10736 -MD5 c2f5798196ac1b53f4161547cc4efb2c zaptel-1.2.9.1.tar.gz 1255412 -RMD160 caf2ad931e2ae439500805a6ca4376dc8083de5a zaptel-1.2.9.1.tar.gz 1255412 -SHA256 7def44c259352397af2ad80f3c0eb103ff640ffbc7c95f37c3802fee75c10ede zaptel-1.2.9.1.tar.gz 1255412 diff --git a/net-misc/zaptel/files/zaptel-1.0.4-experimental-devfs26.diff b/net-misc/zaptel/files/zaptel-1.0.4-experimental-devfs26.diff deleted file mode 100644 index e33002e..0000000 --- a/net-misc/zaptel/files/zaptel-1.0.4-experimental-devfs26.diff +++ /dev/null @@ -1,220 +0,0 @@ ---- zaptel/zaptel.c.orig 2005-01-03 23:31:28.266487240 +0100 -+++ zaptel/zaptel.c 2005-01-03 23:20:16.149664528 +0100 -@@ -143,12 +143,14 @@ - - /* Here are a couple important little additions for devfs */ - #ifdef CONFIG_DEVFS_FS -+#ifndef LINUX26 - static devfs_handle_t zaptel_devfs_dir; - static devfs_handle_t channel; - static devfs_handle_t pseudo; - static devfs_handle_t ctl; - static devfs_handle_t timer; - #endif -+#endif - - /* udev necessary data structures. Yeah! */ - #ifdef CONFIG_ZAP_UDEV -@@ -1087,6 +1089,7 @@ - } - - #ifdef CONFIG_DEVFS_FS -+#ifndef LINUX26 - static devfs_handle_t register_devfs_channel(struct zt_chan *chan, devfs_handle_t dir) - { - char path[100]; -@@ -1129,6 +1132,36 @@ - - return chan_dev; - } -+#else -+static dev_t register_devfs_channel(struct zt_chan *chan, dev_t dir) -+{ -+#ifdef HAS_DEVFS_MK_SYMLINK -+ char link[100]; -+ char path[100]; -+#endif -+ dev_t chan_dev; -+ umode_t mode = S_IFCHR|S_IRUGO|S_IWUGO; -+ -+ /* create /dev/zap/span%d/%d channel device node */ -+ if ((chan_dev = devfs_mk_cdev(MKDEV(ZT_MAJOR, chan->channo), mode, "zap/span%d/%d", dir, chan->chanpos)) < 0) { -+ printk("zaptel: Something really bad happened. Unable to register devfs entry\n"); -+ return 0; -+ } -+ -+#ifdef HAS_DEVFS_MK_SYMLINK -+ /* link /dev/zap/span%d/%d -> /dev/zap/%d ?!? */ -+ sprintf(path, "zap/span%d/%d", dir, chan->chanpos); -+ sprintf(link, "zap/%d", chan->channo); -+ devfs_mk_symlink(link, path); -+#else -+ /* register /dev/zap/%d channel node directly */ -+ if(devfs_mk_cdev(MKDEV(ZT_MAJOR, chan->channo), mode, "zap/%d", chan->channo) < 0) { -+ printk("zaptel: Unable to register compat devfs entry\n"); -+ } -+#endif -+ return chan_dev; -+} -+#endif - #endif /* CONFIG_DEVFS_FS */ - - static int zt_chan_reg(struct zt_chan *chan) -@@ -4304,6 +4337,7 @@ - #endif - - #ifdef CONFIG_DEVFS_FS -+#ifndef LINUX26 - { - char span_name[50]; - sprintf(span_name, "span%d", span->spanno); -@@ -4313,6 +4347,15 @@ - chan->fhandle = register_devfs_channel(chan, chan->span->dhandle); /* Register our stuff with devfs */ - } - } -+#else -+ { -+ devfs_mk_dir("zap/span%d", span->spanno); -+ for (x = 0; x < span->channels; x++) { -+ struct zt_chan *chan = &span->chans[x]; -+ register_devfs_channel(chan, span->spanno); /* Register our stuff with devfs */ -+ } -+ } -+#endif - #endif /* CONFIG_DEVFS_FS */ - - #ifdef CONFIG_ZAP_UDEV -@@ -4360,11 +4403,22 @@ - remove_proc_entry(tempfile, NULL); - #endif /* CONFIG_PROC_FS */ - #ifdef CONFIG_DEVFS_FS -+#ifndef LINUX26 - for (x = 0; x < span->channels; x++) { - devfs_unregister(span->chans[x].fhandle); - devfs_unregister(span->chans[x].fhandle_symlink); - } - devfs_unregister(span->dhandle); -+#else -+ for (x = 0; x < span->channels; x++) { -+ /* remove symlink/compat device first */ -+ devfs_remove("zap/%d", span->chans[x].channo); -+ /* remove channel device */ -+ devfs_remove("zap/span%d/%d", span->spanno, span->chans[x].chanpos); -+ } -+ /* remove span dir */ -+ devfs_remove("zap/span%d", span->spanno); -+#endif - #endif /* CONFIG_DEVFS_FS */ - - #ifdef CONFIG_ZAP_UDEV -@@ -6301,6 +6355,7 @@ - #endif /* CONFIG_ZAP_UDEV */ - - #ifdef CONFIG_DEVFS_FS -+#ifndef LINUX26 - { - umode_t mode = S_IFCHR|S_IRUGO|S_IWUGO; - devfs_register_chrdev(ZT_MAJOR, "zaptel", &zt_fops); -@@ -6312,6 +6367,22 @@ - ctl = devfs_register(zaptel_devfs_dir, "ctl", DEVFS_FL_DEFAULT, ZT_MAJOR, 0, mode, &zt_fops, NULL); - } - #else -+ { -+ umode_t mode = S_IFCHR|S_IRUGO|S_IWUGO; -+ if ((res = register_chrdev(ZT_MAJOR, "zaptel", &zt_fops)) < 0) { -+ printk(KERN_ERR "Unable to register for device on %d, error: %d\n", ZT_MAJOR, res); -+ return res; -+ } -+ -+ devfs_mk_dir("zap"); -+ -+ devfs_mk_cdev(MKDEV(ZT_MAJOR, 253), mode, "zap/timer"); -+ devfs_mk_cdev(MKDEV(ZT_MAJOR, 254), mode, "zap/channel"); -+ devfs_mk_cdev(MKDEV(ZT_MAJOR, 255), mode, "zap/pseudo"); -+ devfs_mk_cdev(MKDEV(ZT_MAJOR, 0), mode, "zap/ctl"); -+ } -+#endif -+#else - if ((res = register_chrdev(ZT_MAJOR, "zaptel", &zt_fops))) { - printk(KERN_ERR "Unable to register tor device on %d\n", ZT_MAJOR); - return res; -@@ -6342,6 +6413,7 @@ - if (tone_zones[x]) - kfree(tone_zones[x]); - #ifdef CONFIG_DEVFS_FS -+#ifndef LINUX26 - devfs_unregister(timer); - devfs_unregister(channel); - devfs_unregister(pseudo); -@@ -6357,6 +6429,16 @@ - class_simple_destroy(zap_class); - #endif /* CONFIG_ZAP_UDEV */ - unregister_chrdev(ZT_MAJOR, "zaptel"); -+ -+ devfs_remove("zap/timer"); -+ devfs_remove("zap/ctl"); -+ devfs_remove("zap/pseudo"); -+ devfs_remove("zap/channel"); -+ -+ devfs_remove("zap"); -+#endif -+#else -+ unregister_chrdev(ZT_MAJOR, "zaptel"); - #endif - #ifdef CONFIG_ZAPTEL_WATCHDOG - watchdog_cleanup(); ---- zaptel/zaptel.h.orig 2005-01-03 23:31:32.029915112 +0100 -+++ zaptel/zaptel.h 2005-01-03 23:20:18.380325416 +0100 -@@ -46,18 +46,17 @@ - - #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,0) - #define LINUX26 -+/* devfs_mk_symlink has been removed in 2.6.10 */ -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10) -+#define HAS_DEVFS_MK_SYMLINK -+#endif - #endif - - #include "ecdis.h" - #include "fasthdlc.h" - #endif - #ifdef CONFIG_DEVFS_FS --#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) - #include <linux/devfs_fs_kernel.h> --#else --#undef CONFIG_DEVFS_FS --//#warning "Zaptel doesn't support DEVFS in post 2.4 kernels. Disabling DEVFS in zaptel" --#endif - #endif /* CONFIG_DEVFS_FS */ - #include <linux/ioctl.h> - -@@ -65,6 +64,8 @@ - #define ELAST 500 - #endif - -+ -+ - /* Per-span configuration values */ - #define ZT_CONFIG_TXLEVEL 7 /* bits 0-2 are tx level */ - -@@ -1123,8 +1124,10 @@ - #endif - - #ifdef CONFIG_DEVFS_FS -+#ifndef LINUX26 - devfs_handle_t fhandle; /* File handle in devfs for the channel */ - devfs_handle_t fhandle_symlink; -+#endif - #endif /* CONFIG_DEVFS_FS */ - }; - -@@ -1254,7 +1257,9 @@ - int lastalarms; /* Previous alarms */ - - #ifdef CONFIG_DEVFS_FS -+#ifndef LINUX26 - devfs_handle_t dhandle; /* Directory name */ -+#endif - #endif - /* If the watchdog detects no received data, it will call the - watchdog routine */ diff --git a/net-misc/zaptel/files/zaptel-1.0.4-gcc34.patch b/net-misc/zaptel/files/zaptel-1.0.4-gcc34.patch deleted file mode 100644 index ea80c9e..0000000 --- a/net-misc/zaptel/files/zaptel-1.0.4-gcc34.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff -ruN zaptel-1.0.4.orig/wcfxs.c zaptel-1.0.4/wcfxs.c ---- zaptel-1.0.4.orig/wcfxs.c 2005-01-31 14:27:54.828322677 -0500 -+++ zaptel-1.0.4/wcfxs.c 2005-01-31 14:32:15.629810758 -0500 -@@ -740,7 +740,7 @@ - return 0; - } - --static inline void wcfxs_voicedaa_check_hook(struct wcfxs *wc, int card) -+static void wcfxs_voicedaa_check_hook(struct wcfxs *wc, int card) - { - #ifndef AUDIO_RINGCHECK - unsigned char res; -@@ -884,7 +884,7 @@ - } - } - --static inline void wcfxs_proslic_check_hook(struct wcfxs *wc, int card) -+static void wcfxs_proslic_check_hook(struct wcfxs *wc, int card) - { - char res; - int hook; -@@ -939,7 +939,7 @@ - - } - --static inline void wcfxs_proslic_recheck_sanity(struct wcfxs *wc, int card) -+static void wcfxs_proslic_recheck_sanity(struct wcfxs *wc, int card) - { - int res; - /* Check loopback */ diff --git a/net-misc/zaptel/files/zaptel-1.2.0-devfs26.diff b/net-misc/zaptel/files/zaptel-1.2.0-devfs26.diff deleted file mode 100644 index d9cfef2..0000000 --- a/net-misc/zaptel/files/zaptel-1.2.0-devfs26.diff +++ /dev/null @@ -1,220 +0,0 @@ ---- zaptel-1.2.0-beta2/zaptel.c.orig 2005-10-04 20:34:36.000000000 +0000 -+++ zaptel-1.2.0-beta2/zaptel.c 2005-11-07 21:08:39.000000000 +0000 -@@ -148,12 +148,14 @@ - - /* Here are a couple important little additions for devfs */ - #ifdef CONFIG_DEVFS_FS -+#ifndef LINUX26 - static devfs_handle_t zaptel_devfs_dir; - static devfs_handle_t channel; - static devfs_handle_t pseudo; - static devfs_handle_t ctl; - static devfs_handle_t timer; - #endif -+#endif - - /* udev necessary data structures. Yeah! */ - #ifdef CONFIG_ZAP_UDEV -@@ -1123,6 +1125,7 @@ - } - - #ifdef CONFIG_DEVFS_FS -+#ifndef LINUX26 - static devfs_handle_t register_devfs_channel(struct zt_chan *chan, devfs_handle_t dir) - { - char path[100]; -@@ -1165,6 +1168,36 @@ - - return chan_dev; - } -+#else -+static dev_t register_devfs_channel(struct zt_chan *chan, dev_t dir) -+{ -+#ifdef HAS_DEVFS_MK_SYMLINK -+ char link[100]; -+ char path[100]; -+#endif -+ dev_t chan_dev; -+ umode_t mode = S_IFCHR|S_IRUGO|S_IWUGO; -+ -+ /* create /dev/zap/span%d/%d channel device node */ -+ if ((chan_dev = devfs_mk_cdev(MKDEV(ZT_MAJOR, chan->channo), mode, "zap/span%d/%d", dir, chan->chanpos)) < 0) { -+ printk("zaptel: Something really bad happened. Unable to register devfs entry\n"); -+ return 0; -+ } -+ -+#ifdef HAS_DEVFS_MK_SYMLINK -+ /* link /dev/zap/span%d/%d -> /dev/zap/%d ?!? */ -+ sprintf(path, "zap/span%d/%d", dir, chan->chanpos); -+ sprintf(link, "zap/%d", chan->channo); -+ devfs_mk_symlink(link, path); -+#else -+ /* register /dev/zap/%d channel node directly */ -+ if(devfs_mk_cdev(MKDEV(ZT_MAJOR, chan->channo), mode, "zap/%d", chan->channo) < 0) { -+ printk("zaptel: Unable to register compat devfs entry\n"); -+ } -+#endif -+ return chan_dev; -+} -+#endif - #endif /* CONFIG_DEVFS_FS */ - - static int zt_chan_reg(struct zt_chan *chan) -@@ -4429,6 +4462,7 @@ - #endif - - #ifdef CONFIG_DEVFS_FS -+#ifndef LINUX26 - { - char span_name[50]; - sprintf(span_name, "span%d", span->spanno); -@@ -4438,6 +4472,15 @@ - chan->fhandle = register_devfs_channel(chan, chan->span->dhandle); /* Register our stuff with devfs */ - } - } -+#else -+ { -+ devfs_mk_dir("zap/span%d", span->spanno); -+ for (x = 0; x < span->channels; x++) { -+ struct zt_chan *chan = &span->chans[x]; -+ register_devfs_channel(chan, span->spanno); /* Register our stuff with devfs */ -+ } -+ } -+#endif - #endif /* CONFIG_DEVFS_FS */ - - #ifdef CONFIG_ZAP_UDEV -@@ -4485,11 +4528,22 @@ - remove_proc_entry(tempfile, NULL); - #endif /* CONFIG_PROC_FS */ - #ifdef CONFIG_DEVFS_FS -+#ifndef LINUX26 - for (x = 0; x < span->channels; x++) { - devfs_unregister(span->chans[x].fhandle); - devfs_unregister(span->chans[x].fhandle_symlink); - } - devfs_unregister(span->dhandle); -+#else -+ for (x = 0; x < span->channels; x++) { -+ /* remove symlink/compat device first */ -+ devfs_remove("zap/%d", span->chans[x].channo); -+ /* remove channel device */ -+ devfs_remove("zap/span%d/%d", span->spanno, span->chans[x].chanpos); -+ } -+ /* remove span dir */ -+ devfs_remove("zap/span%d", span->spanno); -+#endif - #endif /* CONFIG_DEVFS_FS */ - - #ifdef CONFIG_ZAP_UDEV -@@ -6510,6 +6564,7 @@ - #endif /* CONFIG_ZAP_UDEV */ - - #ifdef CONFIG_DEVFS_FS -+#ifndef LINUX26 - { - umode_t mode = S_IFCHR|S_IRUGO|S_IWUGO; - devfs_register_chrdev(ZT_MAJOR, "zaptel", &zt_fops); -@@ -6521,6 +6576,22 @@ - ctl = devfs_register(zaptel_devfs_dir, "ctl", DEVFS_FL_DEFAULT, ZT_MAJOR, 0, mode, &zt_fops, NULL); - } - #else -+ { -+ umode_t mode = S_IFCHR|S_IRUGO|S_IWUGO; -+ if ((res = register_chrdev(ZT_MAJOR, "zaptel", &zt_fops)) < 0) { -+ printk(KERN_ERR "Unable to register for device on %d, error: %d\n", ZT_MAJOR, res); -+ return res; -+ } -+ -+ devfs_mk_dir("zap"); -+ -+ devfs_mk_cdev(MKDEV(ZT_MAJOR, 253), mode, "zap/timer"); -+ devfs_mk_cdev(MKDEV(ZT_MAJOR, 254), mode, "zap/channel"); -+ devfs_mk_cdev(MKDEV(ZT_MAJOR, 255), mode, "zap/pseudo"); -+ devfs_mk_cdev(MKDEV(ZT_MAJOR, 0), mode, "zap/ctl"); -+ } -+#endif -+#else - if ((res = register_chrdev(ZT_MAJOR, "zaptel", &zt_fops))) { - printk(KERN_ERR "Unable to register tor device on %d\n", ZT_MAJOR); - return res; -@@ -6551,6 +6622,7 @@ - if (tone_zones[x]) - kfree(tone_zones[x]); - #ifdef CONFIG_DEVFS_FS -+#ifndef LINUX26 - devfs_unregister(timer); - devfs_unregister(channel); - devfs_unregister(pseudo); -@@ -6566,6 +6638,16 @@ - class_destroy(zap_class); - #endif /* CONFIG_ZAP_UDEV */ - unregister_chrdev(ZT_MAJOR, "zaptel"); -+ -+ devfs_remove("zap/timer"); -+ devfs_remove("zap/ctl"); -+ devfs_remove("zap/pseudo"); -+ devfs_remove("zap/channel"); -+ -+ devfs_remove("zap"); -+#endif -+#else -+ unregister_chrdev(ZT_MAJOR, "zaptel"); - #endif - #ifdef CONFIG_ZAPTEL_WATCHDOG - watchdog_cleanup(); ---- zaptel-1.2.0-beta2/zaptel.h.orig 2005-10-27 16:05:07.000000000 +0000 -+++ zaptel-1.2.0-beta2/zaptel.h 2005-11-07 21:08:39.000000000 +0000 -@@ -52,18 +52,17 @@ - #define zap_pci_module pci_register_driver - #else - #define zap_pci_module pci_module_init -+/* devfs_mk_symlink has been removed in 2.6.10 */ -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10) -+#define HAS_DEVFS_MK_SYMLINK -+#endif - #endif - - #include "ecdis.h" - #include "fasthdlc.h" - #endif - #ifdef CONFIG_DEVFS_FS --#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) - #include <linux/devfs_fs_kernel.h> --#else --#undef CONFIG_DEVFS_FS --//#warning "Zaptel doesn't support DEVFS in post 2.4 kernels. Disabling DEVFS in zaptel" --#endif - #endif /* CONFIG_DEVFS_FS */ - #include <linux/ioctl.h> - -@@ -71,6 +70,8 @@ - #define ELAST 500 - #endif - -+ -+ - /* Per-span configuration values */ - #define ZT_CONFIG_TXLEVEL 7 /* bits 0-2 are tx level */ - -@@ -1172,8 +1173,10 @@ - #endif - - #ifdef CONFIG_DEVFS_FS -+#ifndef LINUX26 - devfs_handle_t fhandle; /* File handle in devfs for the channel */ - devfs_handle_t fhandle_symlink; -+#endif - #endif /* CONFIG_DEVFS_FS */ - }; - -@@ -1309,7 +1312,9 @@ - int lastalarms; /* Previous alarms */ - - #ifdef CONFIG_DEVFS_FS -+#ifndef LINUX26 - devfs_handle_t dhandle; /* Directory name */ -+#endif - #endif - /* If the watchdog detects no received data, it will call the - watchdog routine */ diff --git a/net-misc/zaptel/files/zaptel-1.2.0-gentoo.diff b/net-misc/zaptel/files/zaptel-1.2.0-gentoo.diff deleted file mode 100644 index 2470a57..0000000 --- a/net-misc/zaptel/files/zaptel-1.2.0-gentoo.diff +++ /dev/null @@ -1,113 +0,0 @@ ---- zaptel-1.2.0-beta2/Makefile.orig 2005-10-16 16:07:49.000000000 +0000 -+++ zaptel-1.2.0-beta2/Makefile 2005-11-07 21:01:42.000000000 +0000 -@@ -21,7 +21,7 @@ - endif - KINCLUDES:=$(KSRC)/include - --CFLAGS+=-I. -O4 -g -Wall -DBUILDING_TONEZONE #-DTONEZONE_DRIVER -+CFLAGS+=-I. -g -Wall -DBUILDING_TONEZONE #-DTONEZONE_DRIVER - CFLAGS_PPC:=$(shell if uname -m | grep -q ppc; then echo "-fsigned-char"; fi) - CFLAGS_X86-64:=$(shell if uname -m | grep -q x86_64; then echo "-m64"; fi) - CFLAGS+=$(CFLAGS_PPC) $(CFLAGS_X64-64) -@@ -55,27 +55,7 @@ - BUILDVER:=linux24 - endif - --ifeq ($(BUILDVER),linux26) -- ifneq (,$(wildcard $(ROOT_PREFIX)/etc/modprobe.d)) -- MODCONF:=$(ROOT_PREFIX)/etc/modprobe.d/zaptel -- else -- ifneq (,$(wildcard $(ROOT_PREFIX)/etc/modprobe.conf)) -- MODCONF:=$(ROOT_PREFIX)/etc/modprobe.conf -- else -- ifneq (,$(wildcard $(ROOT_PREFIX)/etc/conf.modules)) -- MODCONF:=$(ROOT_PREFIX)/etc/conf.modules -- endif -- endif -- endif --else # BUILDVER == linux24 -- ifneq (,$(wildcard $(ROOT_PREFIX)/etc/modutils)) -- MODCONF:=$(ROOT_PREFIX)/etc/modutils/zaptel -- else -- ifneq (,$(wildcard $(ROOT_PREFIX)/etc/modules.conf)) -- MODCONF:=$(ROOT_PREFIX)/etc/modules.conf -- endif -- endif --endif -+MODCONF:=$(INSTALL_PREFIX)/etc/modules.d/zaptel - - ifeq (${BUILDVER},linux24) - #We only support DEVFS in linux 2.4 kernels, since its considered obsolete post 2.4 -@@ -83,7 +63,7 @@ - endif - ifeq (${BUILDVER},linux26) - #Tests for newer linux-2.6 udev support --DYNFS:=$(shell ps ax | grep -v grep | grep udevd && echo "yes") -+DYNFS:=$(shell ps ax | grep -v grep | grep -q udevd && echo "yes") - endif - - CHKCONFIG:=$(shell sh -c 'type -p chkconfig' 2> /dev/null) -@@ -296,7 +276,7 @@ - @echo "**** If you are running udev, read README.udev" - endif - --install: all devices -+install: devices - install -D -m 755 ztcfg $(INSTALL_PREFIX)/sbin/ztcfg - if [ -f sethdlc-new ]; then \ - install -D -m 755 sethdlc-new $(INSTALL_PREFIX)/sbin/sethdlc; \ -@@ -323,39 +303,22 @@ - rm -f $(INSTALL_PREFIX)/lib/modules/$(KVERS)/misc/wcfxs.o; \ - fi - install -D -m 755 $(LIBTONEZONE_SO) $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER).$(LIBTONEZONE_SO_MINOR_VER) -- [ `id -u` = 0 ] && /sbin/ldconfig || : -+ [ `id -u` = 0 ] && /sbin/ldconfig -n $(INSTALL_PREFIX)/usr/lib || : - rm -f $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO) - ln -sf $(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER) $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO) -- if [ -x /usr/sbin/sestatus ] && (/usr/sbin/sestatus | grep "SELinux status:" | grep -q "enabled") ; then restorecon -v $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO); fi - install -D -m 644 zaptel.h $(INSTALL_PREFIX)/usr/include/linux/zaptel.h - install -D -m 644 torisa.h $(INSTALL_PREFIX)/usr/include/linux/torisa.h - install -D -m 644 tonezone.h $(INSTALL_PREFIX)/usr/include/tonezone.h -- install -m 644 doc/ztcfg.8 $(INSTALL_PREFIX)/usr/share/man/man8 -- install -m 644 doc/zttool.8 $(INSTALL_PREFIX)/usr/share/man/man8 -+ install -D -m 644 doc/ztcfg.8 $(INSTALL_PREFIX)/usr/share/man/man8 -+ install -D -m 644 doc/zttool.8 $(INSTALL_PREFIX)/usr/share/man/man8 -+ if [ ! -d `dirname $(MODCONF)` ]; then install -d -m 755 `dirname $(MODCONF)` ; fi - if [ -n "$(MODCONF)" ]; then \ -- if [ -f $(MODCONF) ]; then mv -f $(MODCONF) $(MODCONF).bak ; fi; \ -- cat $(MODCONF).bak | grep -v "alias char-major-250" | \ -- grep -v "post-install torisa /sbin/ztcfg" | \ -- grep -v "post-install wcfxsusb /sbin/ztcfg" | \ -- grep -v "alias wctdm" | \ -- grep -v "post-install wctdm /sbin/ztcfg" > $(MODCONF); \ - if ! grep "options torisa" $(MODCONF); then \ - echo "options torisa base=$(BASEADDR)" >> $(MODCONF); \ - fi; \ - if ! grep "alias char-major-196" $(MODCONF); then \ - echo "alias char-major-196 $(PRIMARY)" >> $(MODCONF); \ - fi; \ -- for x in $(MODULES); do \ -- if ! grep -q "post-install $$x" $(MODCONF); then \ -- if ! grep -q "install $$x " $(MODCONF); then \ -- if [ "$$x" != "zaptel" ] ; then \ -- if [ -f zaptel.ko ]; then echo "install $$x /sbin/modprobe --ignore-install $$x && /sbin/ztcfg" >> $(MODCONF); \ -- else echo "post-install $$x /sbin/ztcfg" >> $(MODCONF); \ -- fi; \ -- fi; \ -- fi; \ -- fi; \ -- done; \ - if ! grep "ias wcfxs" $(MODCONF); then \ - echo "alias wcfxs wctdm" >> $(MODCONF); \ - fi; \ -@@ -363,10 +325,6 @@ - echo "alias wct2xxp wct4xxp" >> $(MODCONF); \ - fi; \ - fi -- if [ -d /etc/modutils ]; then \ -- /sbin/update-modules ; \ -- fi -- [ `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || : - [ -f $(CONFIG_FILE) ] || install -D -m 644 zaptel.conf.sample $(CONFIG_FILE) - - install-udev: diff --git a/net-misc/zaptel/files/zaptel-1.2.0-ukcid.patch b/net-misc/zaptel/files/zaptel-1.2.0-ukcid.patch deleted file mode 100644 index 940abf8..0000000 --- a/net-misc/zaptel/files/zaptel-1.2.0-ukcid.patch +++ /dev/null @@ -1,139 +0,0 @@ -Index: zaptel.c -=================================================================== -RCS file: /usr/cvsroot/zaptel/zaptel.c,v -retrieving revision 1.95.2.1 -diff -u -r1.95.2.1 zaptel.c ---- zaptel.c 6 Oct 2004 22:11:41 -0000 1.95.2.1 -+++ zaptel.c 2 Nov 2004 10:59:16 -0000 -@@ -703,6 +703,20 @@ - unsigned char *newbuf, *oldbuf; - unsigned long flags; - int x; -+ -+ /* Allocate history buffer, or not. This probably shouldn't -+ * be here, but it's convenient */ -+ if(!j) -+ { -+ if(ss->history) kfree(ss->history); -+ ss->history = NULL; -+ } -+ else -+ { -+ if(!ss->history) ss->history=kmalloc(ZT_HISTORY_BUF_LEN, GFP_KERNEL); -+ } -+ ss->historypos=0; -+ - /* Check numbufs */ - if (numbufs < 2) - numbufs = 2; -@@ -3856,11 +3870,12 @@ - { - struct zt_chan *chan = chans[unit]; - unsigned long flags; -- int j, rv; -+ int j, k1, k2, rv; - int ret; - int oldconf; - void *rxgain=NULL; - echo_can_state_t *ec, *tec; -+ struct zt_history hist; - - if (!chan) - return -ENOSYS; -@@ -4186,6 +4201,29 @@ - return -EINVAL; - break; - #endif -+ case ZT_GET_HISTORY: -+ if (copy_from_user(&hist,(struct zt_history *) data,sizeof(hist))) -+ return -EIO; -+ -+ if (!(chan->flags & ZT_FLAG_AUDIO)) return (-EINVAL); -+ if (!chan->history) return -EINVAL; -+ j=hist.len; -+ k1=ZT_HISTORY_BUF_LEN-chan->historypos; -+ k2=chan->historypos; -+ if(j>0 && k1>0) -+ { -+ if (copy_to_user(hist.buf,chan->history+chan->historypos,min(j,k1))) -+ return -EIO; -+ j-=min(j,k1); -+ } -+ if(j>0 && k2>0) -+ { -+ if (copy_to_user(hist.buf+k1,chan->history,min(j,k2))) -+ return -EIO; -+ j-=min(j,k2); -+ } -+ /* Probably should assert j==0 here */ -+ break; - default: - return zt_chanandpseudo_ioctl(inode, file, cmd, data, unit); - } -@@ -5371,6 +5409,15 @@ - if (!(ms->flags & ZT_FLAG_PSEUDO)) { - memcpy(ms->putlin, putlin, ZT_CHUNKSIZE * sizeof(short)); - memcpy(ms->putraw, rxb, ZT_CHUNKSIZE); -+ } -+ -+ /* Store in the history buffer */ -+ if(ms->history) -+ { -+ memcpy(ms->history+ms->historypos,rxb,ZT_CHUNKSIZE); -+ ms->historypos+=ZT_CHUNKSIZE; -+ if(ms->historypos >= ZT_HISTORY_BUF_LEN) -+ ms->historypos=0; - } - - /* Take the rxc, twiddle it for conferencing if appropriate and put it -Index: zaptel.h -=================================================================== -RCS file: /usr/cvsroot/zaptel/zaptel.h,v -retrieving revision 1.38 -diff -u -r1.38 zaptel.h ---- zaptel.h 27 Sep 2004 19:50:03 -0000 1.38 -+++ zaptel.h 2 Nov 2004 10:59:17 -0000 -@@ -137,6 +137,8 @@ - #define ZT_MAX_NUM_BUFS 32 - #define ZT_MAX_BUF_SPACE 32768 - -+#define ZT_HISTORY_BUF_LEN 16384 /* Count of ulaw samples */ -+ - #define ZT_DEFAULT_BLOCKSIZE 1024 - #define ZT_DEFAULT_MTR_MRU 2048 - -@@ -277,6 +279,11 @@ - int reserved[4]; /* Reserved for future expansion -- always set to 0 */ - } ZT_DIAL_PARAMS; - -+typedef struct zt_history -+{ -+ unsigned char *buf; /* Sample buffer */ -+ int len; /* Length of buffer, in bytes */ -+} ZT_HISTORY; - - typedef struct zt_dynamic_span { - char driver[20]; /* Which low-level driver to use */ -@@ -584,6 +591,11 @@ - #define ZT_TIMERPONG _IOW (ZT_CODE, 53, int) - - /* -+ * Return history buffer -+ */ -+#define ZT_GET_HISTORY _IOR(ZT_CODE, 54, struct zt_history) -+ -+/* - * Set/get signalling freeze - */ - #define ZT_SIGFREEZE _IOW (ZT_CODE, 54, int) -@@ -989,6 +1001,10 @@ - wait_queue_head_t writebufq; /* write wait queue */ - - int blocksize; /* Block size */ -+ -+ -+ u_char *history; /* History buffer, for pre-ring caller ID (ZT_HISTORY_BUF_LEN) */ -+ u_short historypos; /* Current position within buffer */ - - int eventinidx; /* out index in event buf (circular) */ - int eventoutidx; /* in index in event buf (circular) */ diff --git a/net-misc/zaptel/files/zaptel-1.2.0_beta2-devfs26.diff b/net-misc/zaptel/files/zaptel-1.2.0_beta2-devfs26.diff deleted file mode 100644 index d9cfef2..0000000 --- a/net-misc/zaptel/files/zaptel-1.2.0_beta2-devfs26.diff +++ /dev/null @@ -1,220 +0,0 @@ ---- zaptel-1.2.0-beta2/zaptel.c.orig 2005-10-04 20:34:36.000000000 +0000 -+++ zaptel-1.2.0-beta2/zaptel.c 2005-11-07 21:08:39.000000000 +0000 -@@ -148,12 +148,14 @@ - - /* Here are a couple important little additions for devfs */ - #ifdef CONFIG_DEVFS_FS -+#ifndef LINUX26 - static devfs_handle_t zaptel_devfs_dir; - static devfs_handle_t channel; - static devfs_handle_t pseudo; - static devfs_handle_t ctl; - static devfs_handle_t timer; - #endif -+#endif - - /* udev necessary data structures. Yeah! */ - #ifdef CONFIG_ZAP_UDEV -@@ -1123,6 +1125,7 @@ - } - - #ifdef CONFIG_DEVFS_FS -+#ifndef LINUX26 - static devfs_handle_t register_devfs_channel(struct zt_chan *chan, devfs_handle_t dir) - { - char path[100]; -@@ -1165,6 +1168,36 @@ - - return chan_dev; - } -+#else -+static dev_t register_devfs_channel(struct zt_chan *chan, dev_t dir) -+{ -+#ifdef HAS_DEVFS_MK_SYMLINK -+ char link[100]; -+ char path[100]; -+#endif -+ dev_t chan_dev; -+ umode_t mode = S_IFCHR|S_IRUGO|S_IWUGO; -+ -+ /* create /dev/zap/span%d/%d channel device node */ -+ if ((chan_dev = devfs_mk_cdev(MKDEV(ZT_MAJOR, chan->channo), mode, "zap/span%d/%d", dir, chan->chanpos)) < 0) { -+ printk("zaptel: Something really bad happened. Unable to register devfs entry\n"); -+ return 0; -+ } -+ -+#ifdef HAS_DEVFS_MK_SYMLINK -+ /* link /dev/zap/span%d/%d -> /dev/zap/%d ?!? */ -+ sprintf(path, "zap/span%d/%d", dir, chan->chanpos); -+ sprintf(link, "zap/%d", chan->channo); -+ devfs_mk_symlink(link, path); -+#else -+ /* register /dev/zap/%d channel node directly */ -+ if(devfs_mk_cdev(MKDEV(ZT_MAJOR, chan->channo), mode, "zap/%d", chan->channo) < 0) { -+ printk("zaptel: Unable to register compat devfs entry\n"); -+ } -+#endif -+ return chan_dev; -+} -+#endif - #endif /* CONFIG_DEVFS_FS */ - - static int zt_chan_reg(struct zt_chan *chan) -@@ -4429,6 +4462,7 @@ - #endif - - #ifdef CONFIG_DEVFS_FS -+#ifndef LINUX26 - { - char span_name[50]; - sprintf(span_name, "span%d", span->spanno); -@@ -4438,6 +4472,15 @@ - chan->fhandle = register_devfs_channel(chan, chan->span->dhandle); /* Register our stuff with devfs */ - } - } -+#else -+ { -+ devfs_mk_dir("zap/span%d", span->spanno); -+ for (x = 0; x < span->channels; x++) { -+ struct zt_chan *chan = &span->chans[x]; -+ register_devfs_channel(chan, span->spanno); /* Register our stuff with devfs */ -+ } -+ } -+#endif - #endif /* CONFIG_DEVFS_FS */ - - #ifdef CONFIG_ZAP_UDEV -@@ -4485,11 +4528,22 @@ - remove_proc_entry(tempfile, NULL); - #endif /* CONFIG_PROC_FS */ - #ifdef CONFIG_DEVFS_FS -+#ifndef LINUX26 - for (x = 0; x < span->channels; x++) { - devfs_unregister(span->chans[x].fhandle); - devfs_unregister(span->chans[x].fhandle_symlink); - } - devfs_unregister(span->dhandle); -+#else -+ for (x = 0; x < span->channels; x++) { -+ /* remove symlink/compat device first */ -+ devfs_remove("zap/%d", span->chans[x].channo); -+ /* remove channel device */ -+ devfs_remove("zap/span%d/%d", span->spanno, span->chans[x].chanpos); -+ } -+ /* remove span dir */ -+ devfs_remove("zap/span%d", span->spanno); -+#endif - #endif /* CONFIG_DEVFS_FS */ - - #ifdef CONFIG_ZAP_UDEV -@@ -6510,6 +6564,7 @@ - #endif /* CONFIG_ZAP_UDEV */ - - #ifdef CONFIG_DEVFS_FS -+#ifndef LINUX26 - { - umode_t mode = S_IFCHR|S_IRUGO|S_IWUGO; - devfs_register_chrdev(ZT_MAJOR, "zaptel", &zt_fops); -@@ -6521,6 +6576,22 @@ - ctl = devfs_register(zaptel_devfs_dir, "ctl", DEVFS_FL_DEFAULT, ZT_MAJOR, 0, mode, &zt_fops, NULL); - } - #else -+ { -+ umode_t mode = S_IFCHR|S_IRUGO|S_IWUGO; -+ if ((res = register_chrdev(ZT_MAJOR, "zaptel", &zt_fops)) < 0) { -+ printk(KERN_ERR "Unable to register for device on %d, error: %d\n", ZT_MAJOR, res); -+ return res; -+ } -+ -+ devfs_mk_dir("zap"); -+ -+ devfs_mk_cdev(MKDEV(ZT_MAJOR, 253), mode, "zap/timer"); -+ devfs_mk_cdev(MKDEV(ZT_MAJOR, 254), mode, "zap/channel"); -+ devfs_mk_cdev(MKDEV(ZT_MAJOR, 255), mode, "zap/pseudo"); -+ devfs_mk_cdev(MKDEV(ZT_MAJOR, 0), mode, "zap/ctl"); -+ } -+#endif -+#else - if ((res = register_chrdev(ZT_MAJOR, "zaptel", &zt_fops))) { - printk(KERN_ERR "Unable to register tor device on %d\n", ZT_MAJOR); - return res; -@@ -6551,6 +6622,7 @@ - if (tone_zones[x]) - kfree(tone_zones[x]); - #ifdef CONFIG_DEVFS_FS -+#ifndef LINUX26 - devfs_unregister(timer); - devfs_unregister(channel); - devfs_unregister(pseudo); -@@ -6566,6 +6638,16 @@ - class_destroy(zap_class); - #endif /* CONFIG_ZAP_UDEV */ - unregister_chrdev(ZT_MAJOR, "zaptel"); -+ -+ devfs_remove("zap/timer"); -+ devfs_remove("zap/ctl"); -+ devfs_remove("zap/pseudo"); -+ devfs_remove("zap/channel"); -+ -+ devfs_remove("zap"); -+#endif -+#else -+ unregister_chrdev(ZT_MAJOR, "zaptel"); - #endif - #ifdef CONFIG_ZAPTEL_WATCHDOG - watchdog_cleanup(); ---- zaptel-1.2.0-beta2/zaptel.h.orig 2005-10-27 16:05:07.000000000 +0000 -+++ zaptel-1.2.0-beta2/zaptel.h 2005-11-07 21:08:39.000000000 +0000 -@@ -52,18 +52,17 @@ - #define zap_pci_module pci_register_driver - #else - #define zap_pci_module pci_module_init -+/* devfs_mk_symlink has been removed in 2.6.10 */ -+#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,10) -+#define HAS_DEVFS_MK_SYMLINK -+#endif - #endif - - #include "ecdis.h" - #include "fasthdlc.h" - #endif - #ifdef CONFIG_DEVFS_FS --#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,0) - #include <linux/devfs_fs_kernel.h> --#else --#undef CONFIG_DEVFS_FS --//#warning "Zaptel doesn't support DEVFS in post 2.4 kernels. Disabling DEVFS in zaptel" --#endif - #endif /* CONFIG_DEVFS_FS */ - #include <linux/ioctl.h> - -@@ -71,6 +70,8 @@ - #define ELAST 500 - #endif - -+ -+ - /* Per-span configuration values */ - #define ZT_CONFIG_TXLEVEL 7 /* bits 0-2 are tx level */ - -@@ -1172,8 +1173,10 @@ - #endif - - #ifdef CONFIG_DEVFS_FS -+#ifndef LINUX26 - devfs_handle_t fhandle; /* File handle in devfs for the channel */ - devfs_handle_t fhandle_symlink; -+#endif - #endif /* CONFIG_DEVFS_FS */ - }; - -@@ -1309,7 +1312,9 @@ - int lastalarms; /* Previous alarms */ - - #ifdef CONFIG_DEVFS_FS -+#ifndef LINUX26 - devfs_handle_t dhandle; /* Directory name */ -+#endif - #endif - /* If the watchdog detects no received data, it will call the - watchdog routine */ diff --git a/net-misc/zaptel/files/zaptel-1.2.0_beta2-gentoo.diff b/net-misc/zaptel/files/zaptel-1.2.0_beta2-gentoo.diff deleted file mode 100644 index 2470a57..0000000 --- a/net-misc/zaptel/files/zaptel-1.2.0_beta2-gentoo.diff +++ /dev/null @@ -1,113 +0,0 @@ ---- zaptel-1.2.0-beta2/Makefile.orig 2005-10-16 16:07:49.000000000 +0000 -+++ zaptel-1.2.0-beta2/Makefile 2005-11-07 21:01:42.000000000 +0000 -@@ -21,7 +21,7 @@ - endif - KINCLUDES:=$(KSRC)/include - --CFLAGS+=-I. -O4 -g -Wall -DBUILDING_TONEZONE #-DTONEZONE_DRIVER -+CFLAGS+=-I. -g -Wall -DBUILDING_TONEZONE #-DTONEZONE_DRIVER - CFLAGS_PPC:=$(shell if uname -m | grep -q ppc; then echo "-fsigned-char"; fi) - CFLAGS_X86-64:=$(shell if uname -m | grep -q x86_64; then echo "-m64"; fi) - CFLAGS+=$(CFLAGS_PPC) $(CFLAGS_X64-64) -@@ -55,27 +55,7 @@ - BUILDVER:=linux24 - endif - --ifeq ($(BUILDVER),linux26) -- ifneq (,$(wildcard $(ROOT_PREFIX)/etc/modprobe.d)) -- MODCONF:=$(ROOT_PREFIX)/etc/modprobe.d/zaptel -- else -- ifneq (,$(wildcard $(ROOT_PREFIX)/etc/modprobe.conf)) -- MODCONF:=$(ROOT_PREFIX)/etc/modprobe.conf -- else -- ifneq (,$(wildcard $(ROOT_PREFIX)/etc/conf.modules)) -- MODCONF:=$(ROOT_PREFIX)/etc/conf.modules -- endif -- endif -- endif --else # BUILDVER == linux24 -- ifneq (,$(wildcard $(ROOT_PREFIX)/etc/modutils)) -- MODCONF:=$(ROOT_PREFIX)/etc/modutils/zaptel -- else -- ifneq (,$(wildcard $(ROOT_PREFIX)/etc/modules.conf)) -- MODCONF:=$(ROOT_PREFIX)/etc/modules.conf -- endif -- endif --endif -+MODCONF:=$(INSTALL_PREFIX)/etc/modules.d/zaptel - - ifeq (${BUILDVER},linux24) - #We only support DEVFS in linux 2.4 kernels, since its considered obsolete post 2.4 -@@ -83,7 +63,7 @@ - endif - ifeq (${BUILDVER},linux26) - #Tests for newer linux-2.6 udev support --DYNFS:=$(shell ps ax | grep -v grep | grep udevd && echo "yes") -+DYNFS:=$(shell ps ax | grep -v grep | grep -q udevd && echo "yes") - endif - - CHKCONFIG:=$(shell sh -c 'type -p chkconfig' 2> /dev/null) -@@ -296,7 +276,7 @@ - @echo "**** If you are running udev, read README.udev" - endif - --install: all devices -+install: devices - install -D -m 755 ztcfg $(INSTALL_PREFIX)/sbin/ztcfg - if [ -f sethdlc-new ]; then \ - install -D -m 755 sethdlc-new $(INSTALL_PREFIX)/sbin/sethdlc; \ -@@ -323,39 +303,22 @@ - rm -f $(INSTALL_PREFIX)/lib/modules/$(KVERS)/misc/wcfxs.o; \ - fi - install -D -m 755 $(LIBTONEZONE_SO) $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER).$(LIBTONEZONE_SO_MINOR_VER) -- [ `id -u` = 0 ] && /sbin/ldconfig || : -+ [ `id -u` = 0 ] && /sbin/ldconfig -n $(INSTALL_PREFIX)/usr/lib || : - rm -f $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO) - ln -sf $(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER) $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO) -- if [ -x /usr/sbin/sestatus ] && (/usr/sbin/sestatus | grep "SELinux status:" | grep -q "enabled") ; then restorecon -v $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO); fi - install -D -m 644 zaptel.h $(INSTALL_PREFIX)/usr/include/linux/zaptel.h - install -D -m 644 torisa.h $(INSTALL_PREFIX)/usr/include/linux/torisa.h - install -D -m 644 tonezone.h $(INSTALL_PREFIX)/usr/include/tonezone.h -- install -m 644 doc/ztcfg.8 $(INSTALL_PREFIX)/usr/share/man/man8 -- install -m 644 doc/zttool.8 $(INSTALL_PREFIX)/usr/share/man/man8 -+ install -D -m 644 doc/ztcfg.8 $(INSTALL_PREFIX)/usr/share/man/man8 -+ install -D -m 644 doc/zttool.8 $(INSTALL_PREFIX)/usr/share/man/man8 -+ if [ ! -d `dirname $(MODCONF)` ]; then install -d -m 755 `dirname $(MODCONF)` ; fi - if [ -n "$(MODCONF)" ]; then \ -- if [ -f $(MODCONF) ]; then mv -f $(MODCONF) $(MODCONF).bak ; fi; \ -- cat $(MODCONF).bak | grep -v "alias char-major-250" | \ -- grep -v "post-install torisa /sbin/ztcfg" | \ -- grep -v "post-install wcfxsusb /sbin/ztcfg" | \ -- grep -v "alias wctdm" | \ -- grep -v "post-install wctdm /sbin/ztcfg" > $(MODCONF); \ - if ! grep "options torisa" $(MODCONF); then \ - echo "options torisa base=$(BASEADDR)" >> $(MODCONF); \ - fi; \ - if ! grep "alias char-major-196" $(MODCONF); then \ - echo "alias char-major-196 $(PRIMARY)" >> $(MODCONF); \ - fi; \ -- for x in $(MODULES); do \ -- if ! grep -q "post-install $$x" $(MODCONF); then \ -- if ! grep -q "install $$x " $(MODCONF); then \ -- if [ "$$x" != "zaptel" ] ; then \ -- if [ -f zaptel.ko ]; then echo "install $$x /sbin/modprobe --ignore-install $$x && /sbin/ztcfg" >> $(MODCONF); \ -- else echo "post-install $$x /sbin/ztcfg" >> $(MODCONF); \ -- fi; \ -- fi; \ -- fi; \ -- fi; \ -- done; \ - if ! grep "ias wcfxs" $(MODCONF); then \ - echo "alias wcfxs wctdm" >> $(MODCONF); \ - fi; \ -@@ -363,10 +325,6 @@ - echo "alias wct2xxp wct4xxp" >> $(MODCONF); \ - fi; \ - fi -- if [ -d /etc/modutils ]; then \ -- /sbin/update-modules ; \ -- fi -- [ `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || : - [ -f $(CONFIG_FILE) ] || install -D -m 644 zaptel.conf.sample $(CONFIG_FILE) - - install-udev: diff --git a/net-misc/zaptel/files/zaptel-1.2.0_beta2-ukcid.patch b/net-misc/zaptel/files/zaptel-1.2.0_beta2-ukcid.patch deleted file mode 100644 index 940abf8..0000000 --- a/net-misc/zaptel/files/zaptel-1.2.0_beta2-ukcid.patch +++ /dev/null @@ -1,139 +0,0 @@ -Index: zaptel.c -=================================================================== -RCS file: /usr/cvsroot/zaptel/zaptel.c,v -retrieving revision 1.95.2.1 -diff -u -r1.95.2.1 zaptel.c ---- zaptel.c 6 Oct 2004 22:11:41 -0000 1.95.2.1 -+++ zaptel.c 2 Nov 2004 10:59:16 -0000 -@@ -703,6 +703,20 @@ - unsigned char *newbuf, *oldbuf; - unsigned long flags; - int x; -+ -+ /* Allocate history buffer, or not. This probably shouldn't -+ * be here, but it's convenient */ -+ if(!j) -+ { -+ if(ss->history) kfree(ss->history); -+ ss->history = NULL; -+ } -+ else -+ { -+ if(!ss->history) ss->history=kmalloc(ZT_HISTORY_BUF_LEN, GFP_KERNEL); -+ } -+ ss->historypos=0; -+ - /* Check numbufs */ - if (numbufs < 2) - numbufs = 2; -@@ -3856,11 +3870,12 @@ - { - struct zt_chan *chan = chans[unit]; - unsigned long flags; -- int j, rv; -+ int j, k1, k2, rv; - int ret; - int oldconf; - void *rxgain=NULL; - echo_can_state_t *ec, *tec; -+ struct zt_history hist; - - if (!chan) - return -ENOSYS; -@@ -4186,6 +4201,29 @@ - return -EINVAL; - break; - #endif -+ case ZT_GET_HISTORY: -+ if (copy_from_user(&hist,(struct zt_history *) data,sizeof(hist))) -+ return -EIO; -+ -+ if (!(chan->flags & ZT_FLAG_AUDIO)) return (-EINVAL); -+ if (!chan->history) return -EINVAL; -+ j=hist.len; -+ k1=ZT_HISTORY_BUF_LEN-chan->historypos; -+ k2=chan->historypos; -+ if(j>0 && k1>0) -+ { -+ if (copy_to_user(hist.buf,chan->history+chan->historypos,min(j,k1))) -+ return -EIO; -+ j-=min(j,k1); -+ } -+ if(j>0 && k2>0) -+ { -+ if (copy_to_user(hist.buf+k1,chan->history,min(j,k2))) -+ return -EIO; -+ j-=min(j,k2); -+ } -+ /* Probably should assert j==0 here */ -+ break; - default: - return zt_chanandpseudo_ioctl(inode, file, cmd, data, unit); - } -@@ -5371,6 +5409,15 @@ - if (!(ms->flags & ZT_FLAG_PSEUDO)) { - memcpy(ms->putlin, putlin, ZT_CHUNKSIZE * sizeof(short)); - memcpy(ms->putraw, rxb, ZT_CHUNKSIZE); -+ } -+ -+ /* Store in the history buffer */ -+ if(ms->history) -+ { -+ memcpy(ms->history+ms->historypos,rxb,ZT_CHUNKSIZE); -+ ms->historypos+=ZT_CHUNKSIZE; -+ if(ms->historypos >= ZT_HISTORY_BUF_LEN) -+ ms->historypos=0; - } - - /* Take the rxc, twiddle it for conferencing if appropriate and put it -Index: zaptel.h -=================================================================== -RCS file: /usr/cvsroot/zaptel/zaptel.h,v -retrieving revision 1.38 -diff -u -r1.38 zaptel.h ---- zaptel.h 27 Sep 2004 19:50:03 -0000 1.38 -+++ zaptel.h 2 Nov 2004 10:59:17 -0000 -@@ -137,6 +137,8 @@ - #define ZT_MAX_NUM_BUFS 32 - #define ZT_MAX_BUF_SPACE 32768 - -+#define ZT_HISTORY_BUF_LEN 16384 /* Count of ulaw samples */ -+ - #define ZT_DEFAULT_BLOCKSIZE 1024 - #define ZT_DEFAULT_MTR_MRU 2048 - -@@ -277,6 +279,11 @@ - int reserved[4]; /* Reserved for future expansion -- always set to 0 */ - } ZT_DIAL_PARAMS; - -+typedef struct zt_history -+{ -+ unsigned char *buf; /* Sample buffer */ -+ int len; /* Length of buffer, in bytes */ -+} ZT_HISTORY; - - typedef struct zt_dynamic_span { - char driver[20]; /* Which low-level driver to use */ -@@ -584,6 +591,11 @@ - #define ZT_TIMERPONG _IOW (ZT_CODE, 53, int) - - /* -+ * Return history buffer -+ */ -+#define ZT_GET_HISTORY _IOR(ZT_CODE, 54, struct zt_history) -+ -+/* - * Set/get signalling freeze - */ - #define ZT_SIGFREEZE _IOW (ZT_CODE, 54, int) -@@ -989,6 +1001,10 @@ - wait_queue_head_t writebufq; /* write wait queue */ - - int blocksize; /* Block size */ -+ -+ -+ u_char *history; /* History buffer, for pre-ring caller ID (ZT_HISTORY_BUF_LEN) */ -+ u_short historypos; /* Current position within buffer */ - - int eventinidx; /* out index in event buf (circular) */ - int eventoutidx; /* in index in event buf (circular) */ diff --git a/net-misc/zaptel/files/zaptel-1.2.1-gentoo.diff b/net-misc/zaptel/files/zaptel-1.2.1-gentoo.diff deleted file mode 100644 index 9cf6c0a..0000000 --- a/net-misc/zaptel/files/zaptel-1.2.1-gentoo.diff +++ /dev/null @@ -1,117 +0,0 @@ ---- zaptel-1.2.1/Makefile.orig 2005-12-04 20:29:27.000000000 +0100 -+++ zaptel-1.2.1/Makefile 2005-12-14 19:45:38.000000000 +0100 -@@ -21,7 +21,7 @@ - endif - KINCLUDES:=$(KSRC)/include - --CFLAGS+=-I. -O4 -g -Wall -DBUILDING_TONEZONE #-DTONEZONE_DRIVER -+CFLAGS+=-I. -g -Wall -DBUILDING_TONEZONE #-DTONEZONE_DRIVER - CFLAGS_PPC:=$(shell if uname -m | grep -q ppc; then echo "-fsigned-char"; fi) - CFLAGS_X86-64:=$(shell if uname -m | grep -q x86_64; then echo "-m64"; fi) - CFLAGS+=$(CFLAGS_PPC) $(CFLAGS_X86-64) -@@ -55,31 +55,7 @@ - BUILDVER:=linux24 - endif - --ifeq ($(BUILDVER),linux26) -- ifneq (,$(wildcard $(ROOT_PREFIX)/etc/modprobe.d)) -- MODCONF:=$(ROOT_PREFIX)/etc/modprobe.d/zaptel -- else -- ifneq (,$(wildcard $(ROOT_PREFIX)/etc/modules.d)) -- MODCONF:=$(ROOT_PREFIX)/etc/modules.d/zaptel -- else -- ifneq (,$(wildcard $(ROOT_PREFIX)/etc/modprobe.conf)) -- MODCONF:=$(ROOT_PREFIX)/etc/modprobe.conf -- else -- ifneq (,$(wildcard $(ROOT_PREFIX)/etc/conf.modules)) -- MODCONF:=$(ROOT_PREFIX)/etc/conf.modules -- endif -- endif -- endif -- endif --else # BUILDVER == linux24 -- ifneq (,$(wildcard $(ROOT_PREFIX)/etc/modutils)) -- MODCONF:=$(ROOT_PREFIX)/etc/modutils/zaptel -- else -- ifneq (,$(wildcard $(ROOT_PREFIX)/etc/modules.conf)) -- MODCONF:=$(ROOT_PREFIX)/etc/modules.conf -- endif -- endif --endif -+MODCONF:=$(INSTALL_PREFIX)/etc/modules.d/zaptel - - ifeq (${BUILDVER},linux24) - #We only support DEVFS in linux 2.4 kernels, since its considered obsolete post 2.4 -@@ -87,7 +63,7 @@ - endif - ifeq (${BUILDVER},linux26) - #Tests for newer linux-2.6 udev support --DYNFS:=$(shell ps ax | grep -v grep | grep udevd && echo "yes") -+DYNFS:=$(shell ps ax | grep -v grep | grep -q udevd && echo "yes") - endif - - CHKCONFIG:=$(shell sh -c 'type -p chkconfig' 2> /dev/null) -@@ -302,7 +278,7 @@ - @echo "**** If you are running udev, read README.udev" - endif - --install: all devices -+install: devices - install -D -m 755 ztcfg $(INSTALL_PREFIX)/sbin/ztcfg - if [ -f sethdlc-new ]; then \ - install -D -m 755 sethdlc-new $(INSTALL_PREFIX)/sbin/sethdlc; \ -@@ -329,39 +305,22 @@ - rm -f $(INSTALL_PREFIX)/lib/modules/$(KVERS)/misc/wcfxs.o; \ - fi - install -D -m 755 $(LIBTONEZONE_SO) $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER).$(LIBTONEZONE_SO_MINOR_VER) -- [ `id -u` = 0 ] && /sbin/ldconfig || : -+ [ `id -u` = 0 ] && /sbin/ldconfig -n $(INSTALL_PREFIX)/usr/lib || : - rm -f $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO) - ln -sf $(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER) $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO) -- if [ -x /usr/sbin/sestatus ] && (/usr/sbin/sestatus | grep "SELinux status:" | grep -q "enabled") ; then restorecon -v $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO); fi - install -D -m 644 zaptel.h $(INSTALL_PREFIX)/usr/include/linux/zaptel.h - install -D -m 644 torisa.h $(INSTALL_PREFIX)/usr/include/linux/torisa.h - install -D -m 644 tonezone.h $(INSTALL_PREFIX)/usr/include/tonezone.h -- install -m 644 doc/ztcfg.8 $(INSTALL_PREFIX)/usr/share/man/man8 -- install -m 644 doc/zttool.8 $(INSTALL_PREFIX)/usr/share/man/man8 -+ install -D -m 644 doc/ztcfg.8 $(INSTALL_PREFIX)/usr/share/man/man8 -+ install -D -m 644 doc/zttool.8 $(INSTALL_PREFIX)/usr/share/man/man8 -+ if [ ! -d `dirname $(MODCONF)` ]; then install -d -m 755 `dirname $(MODCONF)` ; fi - if [ -n "$(MODCONF)" ]; then \ -- if [ -f $(MODCONF) ]; then mv -f $(MODCONF) $(MODCONF).bak ; fi; \ -- cat $(MODCONF).bak | grep -v "alias char-major-250" | \ -- grep -v "post-install torisa /sbin/ztcfg" | \ -- grep -v "post-install wcfxsusb /sbin/ztcfg" | \ -- grep -v "alias wctdm" | \ -- grep -v "post-install wctdm /sbin/ztcfg" > $(MODCONF); \ - if ! grep "options torisa" $(MODCONF); then \ - echo "options torisa base=$(BASEADDR)" >> $(MODCONF); \ - fi; \ - if ! grep "alias char-major-196" $(MODCONF); then \ - echo "alias char-major-196 $(PRIMARY)" >> $(MODCONF); \ - fi; \ -- for x in $(MODULES); do \ -- if ! grep -q "post-install $$x" $(MODCONF); then \ -- if ! grep -q "install $$x " $(MODCONF); then \ -- if [ "$$x" != "zaptel" ] ; then \ -- if [ -f zaptel.ko ]; then echo "install $$x /sbin/modprobe --ignore-install $$x && /sbin/ztcfg" >> $(MODCONF); \ -- else echo "post-install $$x /sbin/ztcfg" >> $(MODCONF); \ -- fi; \ -- fi; \ -- fi; \ -- fi; \ -- done; \ - if ! grep "ias wcfxs" $(MODCONF); then \ - echo "alias wcfxs wctdm" >> $(MODCONF); \ - fi; \ -@@ -369,10 +328,6 @@ - echo "alias wct2xxp wct4xxp" >> $(MODCONF); \ - fi; \ - fi -- if [ -d /etc/modutils ]; then \ -- /sbin/update-modules ; \ -- fi -- [ `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || : - [ -f $(CONFIG_FILE) ] || install -D -m 644 zaptel.conf.sample $(CONFIG_FILE) - - install-udev: diff --git a/net-misc/zaptel/files/zaptel-1.2.2-gentoo.diff b/net-misc/zaptel/files/zaptel-1.2.2-gentoo.diff deleted file mode 100644 index 960e98b..0000000 --- a/net-misc/zaptel/files/zaptel-1.2.2-gentoo.diff +++ /dev/null @@ -1,166 +0,0 @@ ---- zaptel-1.2.2/Makefile.orig 2006-01-19 00:04:48.000000000 +0100 -+++ zaptel-1.2.2/Makefile 2006-01-19 00:09:24.000000000 +0100 -@@ -21,7 +21,7 @@ - endif - KINCLUDES:=$(KSRC)/include - --CFLAGS+=-I. -O4 -g -Wall -DBUILDING_TONEZONE #-DTONEZONE_DRIVER -+CFLAGS+=-I. -g -Wall -DBUILDING_TONEZONE #-DTONEZONE_DRIVER - CFLAGS_PPC:=$(shell if uname -m | grep -q ppc; then echo "-fsigned-char"; fi) - CFLAGS_X86-64:=$(shell if uname -m | grep -q x86_64; then echo "-m64"; fi) - CFLAGS+=$(CFLAGS_PPC) $(CFLAGS_X86-64) -@@ -55,31 +55,7 @@ - BUILDVER:=linux24 - endif - --ifeq ($(BUILDVER),linux26) -- ifneq (,$(wildcard $(ROOT_PREFIX)/etc/modprobe.d)) -- MODCONF:=$(ROOT_PREFIX)/etc/modprobe.d/zaptel -- else -- ifneq (,$(wildcard $(ROOT_PREFIX)/etc/modules.d)) -- MODCONF:=$(ROOT_PREFIX)/etc/modules.d/zaptel -- else -- ifneq (,$(wildcard $(ROOT_PREFIX)/etc/modprobe.conf)) -- MODCONF:=$(ROOT_PREFIX)/etc/modprobe.conf -- else -- ifneq (,$(wildcard $(ROOT_PREFIX)/etc/conf.modules)) -- MODCONF:=$(ROOT_PREFIX)/etc/conf.modules -- endif -- endif -- endif -- endif --else # BUILDVER == linux24 -- ifneq (,$(wildcard $(ROOT_PREFIX)/etc/modutils)) -- MODCONF:=$(ROOT_PREFIX)/etc/modutils/zaptel -- else -- ifneq (,$(wildcard $(ROOT_PREFIX)/etc/modules.conf)) -- MODCONF:=$(ROOT_PREFIX)/etc/modules.conf -- endif -- endif --endif -+MODCONF:=$(INSTALL_PREFIX)/etc/modules.d/zaptel - - ifeq (${BUILDVER},linux24) - #We only support DEVFS in linux 2.4 kernels, since its considered obsolete post 2.4 -@@ -87,8 +63,8 @@ - endif - - ifeq (${BUILDVER},linux26) -+ DYNFS:=$(shell ps ax | grep -v grep | grep -q "devfsd\|udevd" && echo "yes") - ifneq (,$(wildcard $(ROOT_PREFIX)/etc/udev/rules.d)) -- DYNFS=yes - UDEVRULES=yes - ifneq (,$(wildcard $(ROOT_PREFIX)/etc/udev/permissions.d)) - UDEVPERMISSIONS=yes -@@ -328,17 +304,17 @@ - else # DYNFS - ifdef UDEVRULES - ifdef UDEVPERMISSIONS -- install -m 444 udev/zaptel.rules $(INSTALL_PREFIX)/etc/udev/rules.d -- install -m 444 udev/zaptel.permissions $(INSTALL_PREFIX)/etc/udev/permissions.d -+ install -D -m 444 udev/zaptel.rules $(INSTALL_PREFIX)/etc/udev/rules.d/10-zaptel.rules -+ install -D -m 444 udev/zaptel.permissions $(INSTALL_PREFIX)/etc/udev/permissions.d/10-zaptel.permissions - else # !UDEVPERMISSIONS (newer, combined syntax) -- install -m 444 udev/zaptel.rules-combined $(INSTALL_PREFIX)/etc/udev/rules.d/zaptel.rules -+ install -D -m 444 udev/zaptel.rules-combined $(INSTALL_PREFIX)/etc/udev/rules.d/10-zaptel.rules - endif - else # !UDEVRULES - @echo "**** Dynamic filesystem detected -- not creating device nodes" - endif - endif - --install: all devices -+install: devices - install -D -m 755 ztcfg $(INSTALL_PREFIX)/sbin/ztcfg - if [ -f sethdlc-new ]; then \ - install -D -m 755 sethdlc-new $(INSTALL_PREFIX)/sbin/sethdlc; \ -@@ -365,42 +341,25 @@ - rm -f $(INSTALL_PREFIX)/lib/modules/$(KVERS)/misc/wcfxs.o; \ - fi - install -D -m 755 $(LIBTONEZONE_SO) $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER).$(LIBTONEZONE_SO_MINOR_VER) -- [ `id -u` = 0 ] && /sbin/ldconfig || : -+ [ `id -u` = 0 ] && /sbin/ldconfig -n $(INSTALL_PREFIX)/usr/lib || : - rm -f $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO) - ln -sf $(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER).$(LIBTONEZONE_SO_MINOR_VER) \ - $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER) - ln -sf $(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER).$(LIBTONEZONE_SO_MINOR_VER) \ - $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO) -- if [ -x /usr/sbin/sestatus ] && (/usr/sbin/sestatus | grep "SELinux status:" | grep -q "enabled") ; then restorecon -v $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO); fi - install -D -m 644 zaptel.h $(INSTALL_PREFIX)/usr/include/linux/zaptel.h - install -D -m 644 torisa.h $(INSTALL_PREFIX)/usr/include/linux/torisa.h - install -D -m 644 tonezone.h $(INSTALL_PREFIX)/usr/include/tonezone.h -- install -m 644 doc/ztcfg.8 $(INSTALL_PREFIX)/usr/share/man/man8 -- install -m 644 doc/zttool.8 $(INSTALL_PREFIX)/usr/share/man/man8 -+ install -D -m 644 doc/ztcfg.8 $(INSTALL_PREFIX)/usr/share/man/man8/ztcfg.8 -+ install -D -m 644 doc/zttool.8 $(INSTALL_PREFIX)/usr/share/man/man8/zttool.8 -+ if [ ! -d `dirname $(MODCONF)` ]; then install -d -m 755 `dirname $(MODCONF)` ; fi - if [ -n "$(MODCONF)" ]; then \ -- if [ -f $(MODCONF) ]; then mv -f $(MODCONF) $(MODCONF).bak ; fi; \ -- cat $(MODCONF).bak | grep -v "alias char-major-250" | \ -- grep -v "post-install torisa /sbin/ztcfg" | \ -- grep -v "post-install wcfxsusb /sbin/ztcfg" | \ -- grep -v "alias wctdm" | \ -- grep -v "post-install wctdm /sbin/ztcfg" > $(MODCONF); \ - if ! grep "options torisa" $(MODCONF); then \ - echo "options torisa base=$(BASEADDR)" >> $(MODCONF); \ - fi; \ - if ! grep "alias char-major-196" $(MODCONF); then \ - echo "alias char-major-196 $(PRIMARY)" >> $(MODCONF); \ - fi; \ -- for x in $(MODULES); do \ -- if ! grep -q "post-install $$x" $(MODCONF); then \ -- if ! grep -q "install $$x " $(MODCONF); then \ -- if [ "$$x" != "zaptel" ] ; then \ -- if [ -f zaptel.ko ]; then echo "install $$x /sbin/modprobe --ignore-install $$x && /sbin/ztcfg" >> $(MODCONF); \ -- else echo "post-install $$x /sbin/ztcfg" >> $(MODCONF); \ -- fi; \ -- fi; \ -- fi; \ -- fi; \ -- done; \ - if ! grep "ias wcfxs" $(MODCONF); then \ - echo "alias wcfxs wctdm" >> $(MODCONF); \ - fi; \ -@@ -408,19 +367,15 @@ - echo "alias wct2xxp wct4xxp" >> $(MODCONF); \ - fi; \ - fi -- if [ -d /etc/modutils ]; then \ -- /sbin/update-modules ; \ -- fi -- [ `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || : - [ -f $(CONFIG_FILE) ] || install -D -m 644 zaptel.conf.sample $(CONFIG_FILE) - - install-udev: - ifdef UDEVRULES - ifdef UDEVPERMISSIONS -- install -m 444 udev/zaptel.rules $(INSTALL_PREFIX)/etc/udev/rules.d -- install -m 444 udev/zaptel.permissions $(INSTALL_PREFIX)/etc/udev/permissions.d -+ install -D -m 444 udev/zaptel.rules $(INSTALL_PREFIX)/etc/udev/rules.d/10-zaptel.rules -+ install -D -m 444 udev/zaptel.permissions $(INSTALL_PREFIX)/etc/udev/permissions.d/10-zaptel.permissions - else # !UDEVPERMISSIONS (newer, combined syntax) -- install -m 444 udev/zaptel.rules-combined $(INSTALL_PREFIX)/etc/udev/rules.d/zaptel.rules -+ install -D -m 444 udev/zaptel.rules-combined $(INSTALL_PREFIX)/etc/udev/rules.d/10-zaptel.rules - endif - endif - ---- zaptel-1.2.2/udev/zaptel.permissions.orig 2006-01-19 00:11:04.000000000 +0100 -+++ zaptel-1.2.2/udev/zaptel.permissions 2006-01-19 00:11:17.000000000 +0100 -@@ -1,2 +1,2 @@ - # zaptel devices -- for running asterisk as non-root --zap/*:asterisk:asterisk:660 -+zap/*:root:dialout:660 ---- zaptel-1.2.2/udev/zaptel.rules-combined.orig 2006-01-19 00:11:25.000000000 +0100 -+++ zaptel-1.2.2/udev/zaptel.rules-combined 2006-01-19 00:12:12.000000000 +0100 -@@ -1,6 +1,6 @@ - # zaptel devices with ownership/permissions for running as non-root --KERNEL="zapctl", NAME="zap/ctl", OWNER="asterisk", GROUP="asterisk", MODE="0660" --KERNEL="zaptimer", NAME="zap/timer", OWNER="asterisk", GROUP="asterisk", MODE="0660" --KERNEL="zapchannel", NAME="zap/channel", OWNER="asterisk", GROUP="asterisk", MODE="0660" --KERNEL="zappseudo", NAME="zap/pseudo", OWNER="asterisk", GROUP="asterisk", MODE="0660" --KERNEL="zap[0-9]*", NAME="zap/%n", OWNER="asterisk", GROUP="asterisk", MODE="0660" -+KERNEL="zapctl", NAME="zap/ctl", OWNER="root", GROUP="dialout", MODE="0660" -+KERNEL="zaptimer", NAME="zap/timer", OWNER="root", GROUP="dialout", MODE="0660" -+KERNEL="zapchannel", NAME="zap/channel", OWNER="root", GROUP="dialout", MODE="0660" -+KERNEL="zappseudo", NAME="zap/pseudo", OWNER="root", GROUP="dialout", MODE="0660" -+KERNEL="zap[0-9]*", NAME="zap/%n", OWNER="root", GROUP="dialout", MODE="0660" diff --git a/net-misc/zaptel/files/zaptel-1.2.6-gentoo.diff b/net-misc/zaptel/files/zaptel-1.2.6-gentoo.diff deleted file mode 100644 index cb66641..0000000 --- a/net-misc/zaptel/files/zaptel-1.2.6-gentoo.diff +++ /dev/null @@ -1,91 +0,0 @@ ---- zaptel-1.2.6/build_tools/genudevrules.orig 2006-06-04 15:57:29.000000000 +0200 -+++ zaptel-1.2.6/build_tools/genudevrules 2006-06-04 15:58:11.000000000 +0200 -@@ -22,9 +22,9 @@ - - cat <<EOF - # zaptel devices with ownership/permissions for running as non-root --KERNEL${match}"zapctl", NAME="zap/ctl", OWNER="asterisk", GROUP="asterisk", MODE="0660" --KERNEL${match}"zaptimer", NAME="zap/timer", OWNER="asterisk", GROUP="asterisk", MODE="0660" --KERNEL${match}"zapchannel", NAME="zap/channel", OWNER="asterisk", GROUP="asterisk", MODE="0660" --KERNEL${match}"zappseudo", NAME="zap/pseudo", OWNER="asterisk", GROUP="asterisk", MODE="0660" --KERNEL${match}"zap[0-9]*", NAME="zap/%n", OWNER="asterisk", GROUP="asterisk", MODE="0660" -+KERNEL${match}"zapctl", NAME="zap/ctl", OWNER="root", GROUP="dialout", MODE="0660" -+KERNEL${match}"zaptimer", NAME="zap/timer", OWNER="root", GROUP="dialout", MODE="0660" -+KERNEL${match}"zapchannel", NAME="zap/channel", OWNER="root", GROUP="dialout", MODE="0660" -+KERNEL${match}"zappseudo", NAME="zap/pseudo", OWNER="root", GROUP="dialout", MODE="0660" -+KERNEL${match}"zap[0-9]*", NAME="zap/%n", OWNER="root", GROUP="dialout", MODE="0660" - EOF ---- zaptel-1.2.6/build_tools/genmodconf.orig 2006-06-04 15:59:02.000000000 +0200 -+++ zaptel-1.2.6/build_tools/genmodconf 2006-06-04 15:59:13.000000000 +0200 -@@ -79,20 +79,6 @@ - - echo Building ${target}... - --if [ "${1}" == "linux24" ]; then -- for mod in ${3}; do -- if ! grep -q "post-install ${mod} " ${target}; then -- echo "post-install ${mod} /sbin/ztcfg" >> ${target} -- fi -- done --elif [ "${1}" == "linux26" ]; then -- for mod in ${3}; do -- if ! grep -q "install ${mod} " ${target}; then -- echo "install ${mod} /sbin/modprobe --ignore-install ${mod} ${cmdopts} && /sbin/ztcfg" >> ${target} -- fi -- done --fi -- - if ! grep -q "alias wcfxs" ${target}; then - echo "alias wcfxs wctdm" >> ${target}; - fi; ---- zaptel-1.2.6/Makefile.orig 2006-06-04 19:27:17.000000000 +0200 -+++ zaptel-1.2.6/Makefile 2006-06-04 19:28:11.000000000 +0200 -@@ -22,7 +22,7 @@ - endif - KINCLUDES:=$(KSRC)/include - --CFLAGS+=-I. -O4 -g -Wall -DBUILDING_TONEZONE #-DTONEZONE_DRIVER -+CFLAGS+=-I. -g -Wall -DBUILDING_TONEZONE #-DTONEZONE_DRIVER - CFLAGS_PPC:=$(shell if uname -m | grep -q ppc; then echo "-fsigned-char"; fi) - CFLAGS_X86-64:=$(shell if uname -m | grep -q x86_64; then echo "-m64"; fi) - CFLAGS+=$(CFLAGS_PPC) $(CFLAGS_X86-64) -@@ -294,7 +294,8 @@ - done - else # DYNFS - ifdef UDEVRULES -- build_tools/genudevrules > $(INSTALL_PREFIX)/etc/udev/rules.d/zaptel.rules -+ build_tools/genudevrules > zaptel.rules -+ install -D -m 644 zaptel.rules $(INSTALL_PREFIX)/etc/udev/rules.d/10-zaptel.rules - else # !UDEVRULES - @echo "**** Dynamic filesystem detected -- not creating device nodes" - endif -@@ -323,24 +324,20 @@ - fi; \ - rm -f $(INSTALL_PREFIX)/lib/modules/$(KVERS)/misc/wcfxs.o - install -D -m 755 $(LIBTONEZONE_SO) $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER).$(LIBTONEZONE_SO_MINOR_VER) -- [ `id -u` = 0 ] && /sbin/ldconfig || : -+ [ `id -u` = 0 ] && /sbin/ldconfig -n $(INSTALL_PREFIX)/usr/lib || : - rm -f $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO) - ln -sf $(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER).$(LIBTONEZONE_SO_MINOR_VER) \ - $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER) - ln -sf $(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER).$(LIBTONEZONE_SO_MINOR_VER) \ - $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO) -- if [ -x /usr/sbin/sestatus ] && (/usr/sbin/sestatus | grep "SELinux status:" | grep -q "enabled") ; then restorecon -v $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO); fi - install -D -m 644 zaptel.h $(INSTALL_PREFIX)/usr/include/linux/zaptel.h - install -D -m 644 torisa.h $(INSTALL_PREFIX)/usr/include/linux/torisa.h - install -D -m 644 tonezone.h $(INSTALL_PREFIX)/usr/include/tonezone.h -- install -m 644 doc/ztcfg.8 $(INSTALL_PREFIX)/usr/share/man/man8 -- install -m 644 doc/zttool.8 $(INSTALL_PREFIX)/usr/share/man/man8 -- [ `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || : -+ install -D -m 644 doc/ztcfg.8 $(INSTALL_PREFIX)/usr/share/man/man8 -+ install -D -m 644 doc/zttool.8 $(INSTALL_PREFIX)/usr/share/man/man8 - [ -f $(CONFIG_FILE) ] || install -D -m 644 zaptel.conf.sample $(CONFIG_FILE) -- build_tools/genmodconf $(BUILDVER) "$(ROOT_PREFIX)" "$(filter-out zaptel,$(MODULES))" -- @if [ -d /etc/modutils ]; then \ -- /sbin/update-modules ; \ -- fi -+ install -d -m 755 $(INSTALL_PREFIX)/etc/modules.d -+ build_tools/genmodconf $(BUILDVER) "$(INSTALL_PREFIX)" "$(filter-out zaptel,$(MODULES))" - - install-udev: devices - diff --git a/net-misc/zaptel/files/zaptel-1.2.7-gentoo.diff b/net-misc/zaptel/files/zaptel-1.2.7-gentoo.diff deleted file mode 100644 index 0124e77..0000000 --- a/net-misc/zaptel/files/zaptel-1.2.7-gentoo.diff +++ /dev/null @@ -1,91 +0,0 @@ ---- zaptel-1.2.7/Makefile.orig 2006-07-07 20:03:59.000000000 +0200 -+++ zaptel-1.2.7/Makefile 2006-07-17 19:52:09.000000000 +0200 -@@ -24,7 +24,7 @@ - endif - KINCLUDES:=$(KSRC)/include - --CFLAGS+=-I. -Iinclude -O4 -g -Wall -DBUILDING_TONEZONE #-DTONEZONE_DRIVER -+CFLAGS+=-I. -Iinclude -g -Wall -DBUILDING_TONEZONE #-DTONEZONE_DRIVER - CFLAGS_PPC:=$(shell if uname -m | grep -q ppc; then echo "-fsigned-char"; fi) - CFLAGS_X86-64:=$(shell if uname -m | grep -q x86_64; then echo "-m64"; fi) - CFLAGS+=$(CFLAGS_PPC) $(CFLAGS_X86-64) -@@ -308,7 +308,8 @@ - done - else # DYNFS - ifdef UDEVRULES -- build_tools/genudevrules > $(INSTALL_PREFIX)/etc/udev/rules.d/zaptel.rules -+ build_tools/genudevrules > zaptel.rules -+ install -D -m 644 zaptel.rules $(INSTALL_PREFIX)/etc/udev/rules.d/10-zaptel.rules - else # !UDEVRULES - @echo "**** Dynamic filesystem detected -- not creating device nodes" - endif -@@ -337,24 +338,20 @@ - fi; \ - rm -f $(INSTALL_PREFIX)/lib/modules/$(KVERS)/misc/wcfxs.o - install -D -m 755 $(LIBTONEZONE_SO) $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER).$(LIBTONEZONE_SO_MINOR_VER) -- [ `id -u` = 0 ] && /sbin/ldconfig || : -+ [ `id -u` = 0 ] && /sbin/ldconfig -n $(INSTALL_PREFIX)/usr/lib || : - rm -f $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO) - ln -sf $(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER).$(LIBTONEZONE_SO_MINOR_VER) \ - $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER) - ln -sf $(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER).$(LIBTONEZONE_SO_MINOR_VER) \ - $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO) -- if [ -x /usr/sbin/sestatus ] && (/usr/sbin/sestatus | grep "SELinux status:" | grep -q "enabled") ; then restorecon -v $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO); fi - install -D -m 644 zaptel.h $(INSTALL_PREFIX)/usr/include/linux/zaptel.h - install -D -m 644 torisa.h $(INSTALL_PREFIX)/usr/include/linux/torisa.h - install -D -m 644 tonezone.h $(INSTALL_PREFIX)/usr/include/tonezone.h -- install -m 644 doc/ztcfg.8 $(INSTALL_PREFIX)/usr/share/man/man8 -- install -m 644 doc/zttool.8 $(INSTALL_PREFIX)/usr/share/man/man8 -- [ `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || : -+ install -D -m 644 doc/ztcfg.8 $(INSTALL_PREFIX)/usr/share/man/man8 -+ install -D -m 644 doc/zttool.8 $(INSTALL_PREFIX)/usr/share/man/man8 - [ -f $(CONFIG_FILE) ] || install -D -m 644 zaptel.conf.sample $(CONFIG_FILE) -- build_tools/genmodconf $(BUILDVER) "$(ROOT_PREFIX)" "$(filter-out zaptel,$(MODULES))" -- @if [ -d /etc/modutils ]; then \ -- /sbin/update-modules ; \ -- fi -+ install -d -m 755 $(INSTALL_PREFIX)/etc/modules.d -+ build_tools/genmodconf $(BUILDVER) "$(INSTALL_PREFIX)" "$(filter-out zaptel,$(MODULES))" - - install-udev: devices - ---- zaptel-1.2.6/build_tools/genudevrules.orig 2006-06-04 15:57:29.000000000 +0200 -+++ zaptel-1.2.6/build_tools/genudevrules 2006-06-04 15:58:11.000000000 +0200 -@@ -22,9 +22,9 @@ - - cat <<EOF - # zaptel devices with ownership/permissions for running as non-root --KERNEL${match}"zapctl", NAME="zap/ctl", OWNER="asterisk", GROUP="asterisk", MODE="0660" --KERNEL${match}"zaptimer", NAME="zap/timer", OWNER="asterisk", GROUP="asterisk", MODE="0660" --KERNEL${match}"zapchannel", NAME="zap/channel", OWNER="asterisk", GROUP="asterisk", MODE="0660" --KERNEL${match}"zappseudo", NAME="zap/pseudo", OWNER="asterisk", GROUP="asterisk", MODE="0660" --KERNEL${match}"zap[0-9]*", NAME="zap/%n", OWNER="asterisk", GROUP="asterisk", MODE="0660" -+KERNEL${match}"zapctl", NAME="zap/ctl", OWNER="root", GROUP="dialout", MODE="0660" -+KERNEL${match}"zaptimer", NAME="zap/timer", OWNER="root", GROUP="dialout", MODE="0660" -+KERNEL${match}"zapchannel", NAME="zap/channel", OWNER="root", GROUP="dialout", MODE="0660" -+KERNEL${match}"zappseudo", NAME="zap/pseudo", OWNER="root", GROUP="dialout", MODE="0660" -+KERNEL${match}"zap[0-9]*", NAME="zap/%n", OWNER="root", GROUP="dialout", MODE="0660" - EOF ---- zaptel-1.2.6/build_tools/genmodconf.orig 2006-06-04 15:59:02.000000000 +0200 -+++ zaptel-1.2.6/build_tools/genmodconf 2006-06-04 15:59:13.000000000 +0200 -@@ -79,20 +79,6 @@ - - echo Building ${target}... - --if [ "${1}" == "linux24" ]; then -- for mod in ${3}; do -- if ! grep -q "post-install ${mod} " ${target}; then -- echo "post-install ${mod} /sbin/ztcfg" >> ${target} -- fi -- done --elif [ "${1}" == "linux26" ]; then -- for mod in ${3}; do -- if ! grep -q "install ${mod} " ${target}; then -- echo "install ${mod} /sbin/modprobe --ignore-install ${mod} ${cmdopts} && /sbin/ztcfg" >> ${target} -- fi -- done --fi -- - if ! grep -q "alias wcfxs" ${target}; then - echo "alias wcfxs wctdm" >> ${target}; - fi; diff --git a/net-misc/zaptel/files/zaptel-1.2.9.1-gcc411_is_a_retard-kbuild.patch b/net-misc/zaptel/files/zaptel-1.2.9.1-gcc411_is_a_retard-kbuild.patch deleted file mode 100644 index 485a337..0000000 --- a/net-misc/zaptel/files/zaptel-1.2.9.1-gcc411_is_a_retard-kbuild.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- zaptel-1.2.9.1/wct4xxp/Kbuild.orig 2006-09-28 01:47:38.000000000 +0000 -+++ zaptel-1.2.9.1/wct4xxp/Kbuild 2006-09-28 01:47:53.000000000 +0000 -@@ -2,6 +2,7 @@ - # but we need to be able to support older verions as well - host-progs := fw2h - hostprogs-y := fw2h -+fw2h-objs := fw2h.o - - obj-m += wct4xxp.o - diff --git a/net-misc/zaptel/files/zaptel-1.2.9.1-gentoo.diff b/net-misc/zaptel/files/zaptel-1.2.9.1-gentoo.diff deleted file mode 100644 index 34ac155..0000000 --- a/net-misc/zaptel/files/zaptel-1.2.9.1-gentoo.diff +++ /dev/null @@ -1,103 +0,0 @@ -diff -Nru zaptel-1.2.9.1.orig/Makefile zaptel-1.2.9.1/Makefile ---- zaptel-1.2.9.1.orig/Makefile 2006-09-09 01:49:43.000000000 +0200 -+++ zaptel-1.2.9.1/Makefile 2006-09-15 02:14:35.000000000 +0200 -@@ -23,7 +23,7 @@ - endif - KINCLUDES:=$(KSRC)/include - --CFLAGS+=-I. -O4 -g -Wall -DBUILDING_TONEZONE #-DTONEZONE_DRIVER -+CFLAGS+=-I. -Iinclude -g -Wall -DBUILDING_TONEZONE #-DTONEZONE_DRIVER - CFLAGS_PPC:=$(shell if uname -m | grep -q ppc; then echo "-fsigned-char"; fi) - CFLAGS_X86-64:=$(shell if uname -m | grep -q x86_64; then echo "-m64"; fi) - CFLAGS+=$(CFLAGS_PPC) $(CFLAGS_X86-64) -@@ -300,7 +300,8 @@ - done - else # DYNFS - ifdef UDEVRULES -- build_tools/genudevrules > $(INSTALL_PREFIX)/etc/udev/rules.d/zaptel.rules -+ build_tools/genudevrules > zaptel.rules -+ install -D -m 644 zaptel.rules $(INSTALL_PREFIX)/etc/udev/rules.d/10-zaptel.rules - else # !UDEVRULES - @echo "**** Dynamic filesystem detected -- not creating device nodes" - endif -@@ -315,7 +316,7 @@ - tar -zxf mISDNuser.tar.gz - $(MAKE) -C mISDNuser install - --install: all devices firmware -+install: devices firmware - install -D -m 755 ztcfg $(INSTALL_PREFIX)/sbin/ztcfg - if [ -f sethdlc-new ]; then \ - install -D -m 755 sethdlc-new $(INSTALL_PREFIX)/sbin/sethdlc; \ -@@ -338,24 +339,20 @@ - fi; \ - rm -f $(INSTALL_PREFIX)/lib/modules/$(KVERS)/misc/wcfxs.o - install -D -m 755 $(LIBTONEZONE_SO) $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER).$(LIBTONEZONE_SO_MINOR_VER) -- [ `id -u` = 0 ] && /sbin/ldconfig || : -+ [ `id -u` = 0 ] && /sbin/ldconfig -n $(INSTALL_PREFIX)/usr/lib || : - rm -f $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO) - ln -sf $(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER).$(LIBTONEZONE_SO_MINOR_VER) \ - $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER) - ln -sf $(LIBTONEZONE_SO).$(LIBTONEZONE_SO_MAJOR_VER).$(LIBTONEZONE_SO_MINOR_VER) \ - $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO) -- if [ -x /usr/sbin/sestatus ] && (/usr/sbin/sestatus | grep "SELinux status:" | grep -q "enabled") ; then restorecon -v $(INSTALL_PREFIX)/usr/lib/$(LIBTONEZONE_SO); fi - install -D -m 644 zaptel.h $(INSTALL_PREFIX)/usr/include/linux/zaptel.h - install -D -m 644 torisa.h $(INSTALL_PREFIX)/usr/include/linux/torisa.h - install -D -m 644 tonezone.h $(INSTALL_PREFIX)/usr/include/tonezone.h -- install -m 644 doc/ztcfg.8 $(INSTALL_PREFIX)/usr/share/man/man8 -- install -m 644 doc/zttool.8 $(INSTALL_PREFIX)/usr/share/man/man8 -- [ `id -u` = 0 ] && /sbin/depmod -a $(KVERS) || : -+ install -D -m 644 doc/ztcfg.8 $(INSTALL_PREFIX)/usr/share/man/man8 -+ install -D -m 644 doc/zttool.8 $(INSTALL_PREFIX)/usr/share/man/man8 - [ -f $(CONFIG_FILE) ] || install -D -m 644 zaptel.conf.sample $(CONFIG_FILE) -- build_tools/genmodconf $(BUILDVER) "$(ROOT_PREFIX)" "$(filter-out zaptel,$(MODULES))" -- @if [ -d /etc/modutils ]; then \ -- /sbin/update-modules ; \ -- fi -+ install -d -m 755 $(INSTALL_PREFIX)/etc/modules.d -+ build_tools/genmodconf $(BUILDVER) "$(INSTALL_PREFIX)" "$(filter-out zaptel,$(MODULES))" - - install-udev: devices - -diff -Nru zaptel-1.2.9.1.orig/build_tools/genmodconf zaptel-1.2.9.1/build_tools/genmodconf ---- zaptel-1.2.9.1.orig/build_tools/genmodconf 2006-05-23 19:51:00.000000000 +0200 -+++ zaptel-1.2.9.1/build_tools/genmodconf 2006-09-15 02:13:37.000000000 +0200 -@@ -79,20 +79,6 @@ - - echo Building ${target}... - --if [ "${1}" == "linux24" ]; then -- for mod in ${3}; do -- if ! grep -q "post-install ${mod} " ${target}; then -- echo "post-install ${mod} /sbin/ztcfg" >> ${target} -- fi -- done --elif [ "${1}" == "linux26" ]; then -- for mod in ${3}; do -- if ! grep -q "install ${mod} " ${target}; then -- echo "install ${mod} /sbin/modprobe --ignore-install ${mod} ${cmdopts} && /sbin/ztcfg" >> ${target} -- fi -- done --fi -- - if ! grep -q "alias wcfxs" ${target}; then - echo "alias wcfxs wctdm" >> ${target}; - fi; -diff -Nru zaptel-1.2.9.1.orig/build_tools/genudevrules zaptel-1.2.9.1/build_tools/genudevrules ---- zaptel-1.2.9.1.orig/build_tools/genudevrules 2006-05-17 18:49:46.000000000 +0200 -+++ zaptel-1.2.9.1/build_tools/genudevrules 2006-09-15 02:12:19.000000000 +0200 -@@ -22,9 +22,9 @@ - - cat <<EOF - # zaptel devices with ownership/permissions for running as non-root --KERNEL${match}"zapctl", NAME="zap/ctl", OWNER="asterisk", GROUP="asterisk", MODE="0660" --KERNEL${match}"zaptimer", NAME="zap/timer", OWNER="asterisk", GROUP="asterisk", MODE="0660" --KERNEL${match}"zapchannel", NAME="zap/channel", OWNER="asterisk", GROUP="asterisk", MODE="0660" --KERNEL${match}"zappseudo", NAME="zap/pseudo", OWNER="asterisk", GROUP="asterisk", MODE="0660" --KERNEL${match}"zap[0-9]*", NAME="zap/%n", OWNER="asterisk", GROUP="asterisk", MODE="0660" -+KERNEL${match}"zapctl", NAME="zap/ctl", OWNER="root", GROUP="dialout", MODE="0660" -+KERNEL${match}"zaptimer", NAME="zap/timer", OWNER="root", GROUP="dialout", MODE="0660" -+KERNEL${match}"zapchannel", NAME="zap/channel", OWNER="root", GROUP="dialout", MODE="0660" -+KERNEL${match}"zappseudo", NAME="zap/pseudo", OWNER="root", GROUP="dialout", MODE="0660" -+KERNEL${match}"zap[0-9]*", NAME="zap/%n", OWNER="root", GROUP="dialout", MODE="0660" - EOF diff --git a/net-misc/zaptel/files/zaptel.confd b/net-misc/zaptel/files/zaptel.confd deleted file mode 100644 index 5d547f3..0000000 --- a/net-misc/zaptel/files/zaptel.confd +++ /dev/null @@ -1,13 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/zaptel/files/zaptel.confd,v 1.2 2004/07/15 00:16:05 agriffis Exp $ - -# -# Some options for the zaptel init script -# - -# -# Forces the script to re-create missing /dev/zap -# directory and device nodes -# -ZAP_FORCE_CREATE="no" diff --git a/net-misc/zaptel/files/zaptel.devfsd b/net-misc/zaptel/files/zaptel.devfsd deleted file mode 100644 index 2669777..0000000 --- a/net-misc/zaptel/files/zaptel.devfsd +++ /dev/null @@ -1,5 +0,0 @@ -# -# devfs rules for zaptel -# -REGISTER zap PERMISSIONS root.dialout rwxrwx--- -REGISTER zap/.* PERMISSIONS root.dialout rw-rw---- diff --git a/net-misc/zaptel/files/zaptel.rc6 b/net-misc/zaptel/files/zaptel.rc6 deleted file mode 100644 index 3295422..0000000 --- a/net-misc/zaptel/files/zaptel.rc6 +++ /dev/null @@ -1,54 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/zaptel/files/zaptel.rc6,v 1.4 2005/05/11 12:36:55 stkn Exp $ - -depend() { - need net -} - -checkconfig() { - if [ ! -f /etc/zaptel.conf ]; then - eerror "Please create /etc/zaptel.conf!" - return 1 - fi - - return 0 -} - -create_devices() { - mkdir -p -m 0775 /dev/zap - for i in `seq 1 250`; do - mknod /dev/zap/$i c 196 $i - done - mknod /dev/zap/ctl c 196 0 - mknod /dev/zap/timer c 196 253 - mknod /dev/zap/channel c 196 254 - mknod /dev/zap/pseudo c 196 255 - - chown -R root:dialout /dev/zap - chmod -R u=rwX,g=rwX,o= /dev/zap -} - - -start() { - checkconfig || return 1 - - if [ ! -d /dev/zap ] && [ "$ZAP_FORCE_CREATE" != "no" ]; then - einfo "Creating zaptel device nodes" - create_devices - fi - - ebegin "Starting zaptel" - /sbin/ztcfg - eend $? -} - -stop() { - ebegin "Stopping zaptel" - /sbin/ztcfg -s - eend $? -} - - -# vim:ts=4 diff --git a/net-misc/zaptel/files/zaptel.udevd b/net-misc/zaptel/files/zaptel.udevd deleted file mode 100644 index 45ae729..0000000 --- a/net-misc/zaptel/files/zaptel.udevd +++ /dev/null @@ -1,8 +0,0 @@ -# -# udev rules for zaptel -# -KERNEL="zapctl", NAME="zap/ctl", MODE="0660", GROUP="dialout" -KERNEL="zaptimer", NAME="zap/timer", MODE="0660", GROUP="dialout" -KERNEL="zapchannel", NAME="zap/channel", MODE="0660", GROUP="dialout" -KERNEL="zappseudo", NAME="zap/pseudo", MODE="0660", GROUP="dialout" -KERNEL="zap[0-9]*", NAME="zap/%n", MODE="0660", GROUP="dialout" diff --git a/net-misc/zaptel/zaptel-1.2.0.ebuild b/net-misc/zaptel/zaptel-1.2.0.ebuild deleted file mode 100644 index 15519f2..0000000 --- a/net-misc/zaptel/zaptel-1.2.0.ebuild +++ /dev/null @@ -1,371 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/zaptel/zaptel-1.2.0.ebuild,v 1.2 2005/11/20 21:36:46 stkn Exp $ - -inherit toolchain-funcs eutils linux-mod - -## TODO: -# -# - bristuff (waiting for next upstream release...) -# - cleanup (work-in-progress) -# - testing of new features (zapras / -net) -# - -BRI_VERSION="0.3.0-PRE-1c" -FLORZ_VERSION="0.3.0-PRE-1_florz-10" - -IUSE="bri devfs26 ecmark ecmark2 ecmark3 ecaggressive eckb1 ecmg2 ecsteve ecsteve2 florz rtc ukcid watchdog zapras zapnet" - -MY_P="${P/_/-}" - -DESCRIPTION="Drivers for Digium and ZapataTelephony cards" -HOMEPAGE="http://www.asterisk.org" -SRC_URI="http://ftp.digium.com/pub/zaptel/old/${MY_P}.tar.gz - bri? ( http://www.junghanns.net/downloads/bristuff-${BRI_VERSION}.tar.gz ) - florz? ( http://zaphfc.florz.dyndns.org/zaphfc_${FLORZ_VERSION}.diff.gz )" - -S="${WORKDIR}/${MY_P}" - -S_BRI="${WORKDIR}/bristuff-${BRI_VERSION}" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~x86" - -DEPEND="virtual/libc - virtual/linux-sources - >=dev-libs/newt-0.50.0" - -# list of echo canceller use flags, -# first active in this list is selected (=order does matter) -ZAP_EC_FLAGS="ecmark ecmark2 ecmark3 ecsteve ecsteve2 eckb1 ecmg2" - -### Begin: Helper functions - -select_echo_cancel() { - local myEC="" - - for x in ${ZAP_EC_FLAGS}; do - if use $x; then - myEC=$(echo "$x" | sed -e "s:^ec::" | tr '[:lower:]' '[:upper:]') - break; - fi - done - - echo ${myEC} -} - -zconfig_disable() { - if grep -q "${1}" ${S}/zconfig.h; then - # match a little more than ${1} so we can use zconfig_disable - # to disable all echo cancellers in zconfig.h w/o calling it several times - sed -i -e "s:^[ \t]*#define[ \t]\+\(${1}[a-zA-Z0-9_-]*\).*:#undef \1:" \ - ${S}/zconfig.h - fi - - return $? -} - -zconfig_enable() { - if grep -q "${1}" ${S}/zconfig.h; then - sed -i -e "s:^/\*[ \t]*#define[ \t]\+\(${1}\).*:#define \1:" \ - -e "s:^[ \t]*#undef[ \t]\+\(${1}\).*:#define \1:" \ - ${S}/zconfig.h - fi - - return $? -} - -### End: Helper functions - -pkg_setup() { - local result=0 numec=0 - - linux-mod_pkg_setup - - einfo "Running pre-flight checks..." - - # basic zaptel checks - if ! linux_chkconfig_present CRC_CCITT; then - echo - eerror "Your kernel lacks CRC_CCIT support!" - eerror "Enable CONFIG_CRC_CCIT!" - result=$((result+1)) - fi - - # check if multiple echo cancellers have been selected - for x in ${ZAP_EC_FLAGS}; do - use $x && numec=$((numec+1)) - 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 - echo - ewarn "Multiple echo canceller flags are active but only one will be used!" - ewarn "Selected: $(select_echo_cancel)" - fi - - # we need at least HDLC generic support - if use zapnet && ! linux_chkconfig_present HDLC; then - echo - eerror "zapnet: Your kernel lacks HDLC support!" - eerror "zapnet: Enable CONFIG_HDLC* to use zaptel network support!" - result=$((result+1)) - fi - - # zapras needs PPP support - if use zapras && ! linux_chkconfig_present PPP; then - echo - eerror "zapras: Your kernel lacks PPP support!" - eerror "zapras: Enable CONFIG_PPP* to use zaptel ras support!" - result=$((result+1)) - fi - - # rtc needs linux-2.6 and CONFIG_RTC - if use rtc; then - if ! kernel_is 2 6; then - echo - eerror "rtc: >=Linux-2.6.0 is needed for rtc support!" - result=$((result+1)) - fi - - if ! linux_chkconfig_present RTC; then - eerror "rtc: Your kernel lacks RealTime-Clock support!" - result=$((result+1)) - fi - fi - - if [[ $result -gt 0 ]]; then - echo - ewarn "One or more of the neccessary precondition(s) is/are not met!" - ewarn "Look at the messages above, resolve the problem (or disable the use-flag) and try again" - echo - - if [[ $result -lt 3 ]]; then - eerror "[$result Error(s)] Zaptel is not happy :(" - else - eerror "[$result Error(s)] You're making zaptel cry :'(" - fi - die "[$result] Precondition(s) not met" - fi - - echo - einfo "Zaptel is happy and continues... :)" -} - -src_unpack() { - unpack ${A} - - cd ${S} - epatch ${FILESDIR}/${PN}-1.2.0-gentoo.diff - - if use devfs26; then - epatch ${FILESDIR}/${PN}-1.2.0-devfs26.diff - - # fix Makefile to not create device nodes for - # devfs enabled 2.6 kernels - sed -i -e 's:grep -q udevd:grep -q \"udevd\\|devfsd\":' \ - Makefile - fi - - use ukcid && \ - epatch ${FILESDIR}/${PN}-1.2.0-ukcid.patch - - # try to apply bristuff patch - if use bri; then - einfo "Patching zaptel w/ BRI stuff (${BRI_VERSION})" - epatch ${S_BRI}/patches/zaptel.patch - - cd ${S_BRI} - - if use florz; then - einfo "Using florz patches (${FLORZ_VERSION}) for zaphfc" - -# # remove as soon as there's a new florz patch available -# sed -i -e "s:zaptel-1\.0\.7:zaptel-1.0.8:g" \ -# ${WORKDIR}/zaphfc_${FLORZ_VERSION}.diff - - epatch ${WORKDIR}/zaphfc_${FLORZ_VERSION}.diff - fi - - # patch includes - sed -i -e "s:^#include.*zaptel\.h.*:#include <zaptel.h>:" \ - qozap/qozap.c \ - zaphfc/zaphfc.c \ - cwain/cwain.c - - # patch makefiles - sed -i -e "s:^ZAP[\t ]*=.*:ZAP=-I${S}:" \ - -e "s:^MODCONF=.*:MODCONF=/etc/modules.d/zaptel:" \ - -e "s:linux-2.6:linux:g" \ - qozap/Makefile \ - zaphfc/Makefile \ - cwain/Makefile - - sed -i -e "s:^\(CFLAGS+=-I. \).*:\1 \$(ZAP):" \ - zaphfc/Makefile - - cd ${S} - fi - -### Configuration changes - local myEC - - # prepare zconfig.h - myEC=$(select_echo_cancel) - if [[ -n "${myEC}" ]]; then - einfo "Selected echo canceller: ${myEC}" - # disable default first, set new selected ec afterwards - zconfig_disable ECHO_CAN - zconfig_enable ECHO_CAN_${myEC} - fi - - # enable rtc support on 2.6 - if use rtc && linux_chkconfig_present RTC && kernel_is 2 6; then - einfo "Enabling ztdummy RTC support" - zconfig_enable USE_RTC - fi - - # disable udev support on devfs26 systems - use devfs26 && \ - zconfig_disable CONFIG_ZAP_UDEV - - # enable agressive echo surpression - use ecaggressive && \ - zconfig_enable AGGRESSIVE_SUPPRESSOR - - # ppp ras support - use zapras && \ - zconfig_enable CONFIG_ZAPATA_PPP - - # frame relay, syncppp... - use zapnet && \ - zconfig_enable CONFIG_ZAPATA_NET - - # zaptel watchdog - use watchdog && \ - zconfig_enable CONFIG_ZAPTEL_WATCHDOG -} - -src_compile() { - # build - make KVERS=${KV_FULL} \ - KSRC=/usr/src/linux ARCH=$(tc-arch-kernel) || die - - if use bri; then - cd ${S_BRI} - for x in cwain qozap zaphfc; do - einfo "Building ${x}..." - make KVERS=${KV_FULL} \ - KSRC=/usr/src/linux \ - ARCH=$(tc-arch-kernel) \ - -C ${x} || die "make ${x} failed" - done - fi -} - -src_install() { - make INSTALL_PREFIX=${D} ARCH=$(tc-arch-kernel) \ - KVERS=${KV_FULL} KSRC=/usr/src/linux install || die - - dodoc ChangeLog README README.udev README.Linux26 README.fxsusb zaptel.init - dodoc zaptel.conf.sample LICENSE zaptel.sysconfig - - # additional tools - dobin ztmonitor ztspeed zttest - - # install all header files, several packages need the complete set - # (e.g. sangoma wanpipe) - insinto /usr/include/zaptel - doins *.h - - if use bri; then - einfo "Installing bri" - cd ${S_BRI} - - insinto /lib/modules/${KV_FULL}/misc - doins qozap/qozap.${KV_OBJ} - doins zaphfc/zaphfc.${KV_OBJ} - doins cwain/cwain.${KV_OBJ} - - # install example configs for octoBRI and quadBRI - insinto /etc - doins qozap/zaptel.conf.octoBRI - newins qozap/zaptel.conf zaptel.conf.quadBRI - newins zaphfc/zaptel.conf zaptel.conf.zaphfc - - insinto /etc/asterisk - doins qozap/zapata.conf.octoBRI - newins qozap/zapata.conf zapata.conf.quadBRI - newins zaphfc/zapata.conf zapata.conf.zaphfc - - docinto bristuff - dodoc CHANGES INSTALL - - docinto bristuff/qozap - dodoc qozap/LICENSE qozap/TODO qozap/*.conf* - - docinto bristuff/zaphfc - dodoc zaphfc/LICENSE zaphfc/*.conf - - docinto bristuff/cwain - dodoc cwain/TODO cwain/LICENSE - - cd ${S} - fi - - # install init script - newinitd ${FILESDIR}/zaptel.rc6 zaptel - newconfd ${FILESDIR}/zaptel.confd zaptel - - # install devfsd rule file - insinto /etc/devfs.d - newins ${FILESDIR}/zaptel.devfsd zaptel - - # install udev rule file - insinto /etc/udev/rules.d - newins ${FILESDIR}/zaptel.udevd 10-zaptel.rules - - # fix permissions if there's no udev / devfs around - if [[ -d ${D}/dev/zap ]]; then - chown -R root:dialout ${D}/dev/zap - chmod -R u=rwX,g=rwX,o= ${D}/dev/zap - fi -} - -pkg_postinst() { - linux-mod_pkg_postinst - - if use devfs26; then - ewarn "*** Warning! ***" - ewarn "Devfs support for linux-2.6 is experimental and not" - ewarn "supported by digium or the asterisk project!" - echo - ewarn "Send bug-reports to: stkn@gentoo.org" - fi - - echo - einfo "Use the /etc/init.d/zaptel script to load zaptel.conf settings on startup!" - echo - - if use bri; then - einfo "Bristuff configs have been merged as:" - einfo "" - einfo "${ROOT}etc/" - einfo " zaptel.conf.zaphfc" - einfo " zaptel.conf.quadBRI" - einfo " zaptel.conf.octoBRI" - einfo "" - einfo "${ROOT}etc/asterisk/" - einfo " zapata.conf.zaphfc" - einfo " zapata.conf.quadBRI" - einfo " zapata.conf.octoBRI" - echo - fi - - # fix permissions if there's no udev / devfs around - if [[ -d ${ROOT}dev/zap ]]; then - chown -R root:dialout ${ROOT}dev/zap - chmod -R u=rwX,g=rwX,o= ${ROOT}dev/zap - fi -} diff --git a/net-misc/zaptel/zaptel-1.2.1-r1.ebuild b/net-misc/zaptel/zaptel-1.2.1-r1.ebuild deleted file mode 100644 index 9de4b72..0000000 --- a/net-misc/zaptel/zaptel-1.2.1-r1.ebuild +++ /dev/null @@ -1,377 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/zaptel/zaptel-1.2.1.ebuild,v 1.1 2005/12/16 20:49:44 stkn Exp $ - -inherit toolchain-funcs eutils linux-mod - -## TODO: -# -# - bristuff (waiting for next upstream release...) -# - cleanup (work-in-progress) -# - testing of new features (zapras / -net) -# - -BRI_VERSION="0.3.0-PRE-1f" -FLORZ_VERSION="0.3.0-PRE-1f_florz-11" - -IUSE="bri devfs26 ecmark ecmark2 ecmark3 ecaggressive eckb1 ecmg2 ecsteve ecsteve2 florz rtc ukcid watchdog zapras zapnet" - -MY_P="${P/_/-}" - -DESCRIPTION="Drivers for Digium and ZapataTelephony cards" -HOMEPAGE="http://www.asterisk.org" -SRC_URI="http://ftp.digium.com/pub/zaptel/old/${MY_P}.tar.gz - bri? ( http://www.junghanns.net/downloads/bristuff-${BRI_VERSION}.tar.gz ) - florz? ( http://www.netdomination.org/pub/asterisk/zaphfc_${FLORZ_VERSION}.diff.gz )" - -S="${WORKDIR}/${MY_P}" - -S_BRI="${WORKDIR}/bristuff-${BRI_VERSION}" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~x86" - -DEPEND="virtual/libc - virtual/linux-sources - >=dev-libs/newt-0.50.0" - -# list of echo canceller use flags, -# first active in this list is selected (=order does matter) -ZAP_EC_FLAGS="ecmark ecmark2 ecmark3 ecsteve ecsteve2 eckb1 ecmg2" - -### Begin: Helper functions - -select_echo_cancel() { - local myEC="" - - for x in ${ZAP_EC_FLAGS}; do - if use $x; then - myEC=$(echo "$x" | sed -e "s:^ec::" | tr '[:lower:]' '[:upper:]') - break; - fi - done - - echo ${myEC} -} - -zconfig_disable() { - if grep -q "${1}" ${S}/zconfig.h; then - # match a little more than ${1} so we can use zconfig_disable - # to disable all echo cancellers in zconfig.h w/o calling it several times - sed -i -e "s:^[ \t]*#define[ \t]\+\(${1}[a-zA-Z0-9_-]*\).*:#undef \1:" \ - ${S}/zconfig.h - fi - - return $? -} - -zconfig_enable() { - if grep -q "${1}" ${S}/zconfig.h; then - sed -i -e "s:^/\*[ \t]*#define[ \t]\+\(${1}\).*:#define \1:" \ - -e "s:^[ \t]*#undef[ \t]\+\(${1}\).*:#define \1:" \ - ${S}/zconfig.h - fi - - return $? -} - -### End: Helper functions - -pkg_setup() { - local result=0 numec=0 - - linux-mod_pkg_setup - - einfo "Running pre-flight checks..." - - # basic zaptel checks - if ! linux_chkconfig_present CRC_CCITT; then - echo - eerror "Your kernel lacks CRC_CCIT support!" - eerror "Enable CONFIG_CRC_CCIT!" - result=$((result+1)) - fi - - # check if multiple echo cancellers have been selected - for x in ${ZAP_EC_FLAGS}; do - use $x && numec=$((numec+1)) - 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 - echo - ewarn "Multiple echo canceller flags are active but only one will be used!" - ewarn "Selected: $(select_echo_cancel)" - fi - - # we need at least HDLC generic support - if use zapnet && ! linux_chkconfig_present HDLC; then - echo - eerror "zapnet: Your kernel lacks HDLC support!" - eerror "zapnet: Enable CONFIG_HDLC* to use zaptel network support!" - result=$((result+1)) - fi - - # zapras needs PPP support - if use zapras && ! linux_chkconfig_present PPP; then - echo - eerror "zapras: Your kernel lacks PPP support!" - eerror "zapras: Enable CONFIG_PPP* to use zaptel ras support!" - result=$((result+1)) - fi - - # rtc needs linux-2.6 and CONFIG_RTC - if use rtc; then - if ! kernel_is 2 6; then - echo - eerror "rtc: >=Linux-2.6.0 is needed for rtc support!" - result=$((result+1)) - fi - - if ! linux_chkconfig_present RTC; then - eerror "rtc: Your kernel lacks RealTime-Clock support!" - result=$((result+1)) - fi - fi - - if [[ $result -gt 0 ]]; then - echo - ewarn "One or more of the neccessary precondition(s) is/are not met!" - ewarn "Look at the messages above, resolve the problem (or disable the use-flag) and try again" - echo - - if [[ $result -lt 3 ]]; then - eerror "[$result Error(s)] Zaptel is not happy :(" - else - eerror "[$result Error(s)] You're making zaptel cry :'(" - fi - die "[$result] Precondition(s) not met" - fi - - echo - einfo "Zaptel is happy and continues... :)" -} - -src_unpack() { - unpack ${A} - - cd ${S} - epatch ${FILESDIR}/${PN}-1.2.1-gentoo.diff - - if kernel_is 2 6 && use devfs26; then - if [[ ${KV_PATCH} -ge 14 ]]; then - eerror "Devfs has been removed in linux-2.6.14, skipping devfs26!" - else - epatch ${FILESDIR}/${PN}-1.2.0-devfs26.diff - - # fix Makefile to not create device nodes for - # devfs enabled 2.6 kernels - sed -i -e 's:grep -q udevd:grep -q \"udevd\\|devfsd\":' \ - Makefile - - # disable udev support on devfs26 systems - zconfig_disable CONFIG_ZAP_UDEV - fi - fi - - use ukcid && \ - epatch ${FILESDIR}/${PN}-1.2.0-ukcid.patch - - # try to apply bristuff patch - if use bri; then - # fix for userpriv - chmod -R a=rwX ${S_BRI} - - einfo "Patching zaptel w/ BRI stuff (${BRI_VERSION})" - epatch ${S_BRI}/patches/zaptel.patch - - cd ${S_BRI} - - if use florz; then - einfo "Using florz patches (${FLORZ_VERSION}) for zaphfc" - - # # remove as soon as there's a new florz patch available - # sed -i -e "s:zaptel-1\.0\.7:zaptel-1.0.8:g" \ - # ${WORKDIR}/zaphfc_${FLORZ_VERSION}.diff - - epatch ${WORKDIR}/zaphfc_${FLORZ_VERSION}.diff - fi - - # patch includes - sed -i -e "s:^#include.*zaptel\.h.*:#include <zaptel.h>:" \ - qozap/qozap.c \ - zaphfc/zaphfc.c \ - cwain/cwain.c - - # patch makefiles - sed -i -e "s:^ZAP[\t ]*=.*:ZAP=-I${S}:" \ - -e "s:^MODCONF=.*:MODCONF=/etc/modules.d/zaptel:" \ - -e "s:linux-2.6:linux:g" \ - qozap/Makefile \ - zaphfc/Makefile \ - cwain/Makefile - - sed -i -e "s:^\(CFLAGS+=-I. \).*:\1 \$(ZAP):" \ - zaphfc/Makefile - - cd ${S} - fi - -### Configuration changes - local myEC - - # prepare zconfig.h - myEC=$(select_echo_cancel) - if [[ -n "${myEC}" ]]; then - einfo "Selected echo canceller: ${myEC}" - # disable default first, set new selected ec afterwards - zconfig_disable ECHO_CAN - zconfig_enable ECHO_CAN_${myEC} - fi - - # enable rtc support on 2.6 - if use rtc && linux_chkconfig_present RTC && kernel_is 2 6; then - einfo "Enabling ztdummy RTC support" - zconfig_enable USE_RTC - fi - - # enable agressive echo surpression - use ecaggressive && \ - zconfig_enable AGGRESSIVE_SUPPRESSOR - - # ppp ras support - use zapras && \ - zconfig_enable CONFIG_ZAPATA_PPP - - # frame relay, syncppp... - use zapnet && \ - zconfig_enable CONFIG_ZAPATA_NET - - # zaptel watchdog - use watchdog && \ - zconfig_enable CONFIG_ZAPTEL_WATCHDOG -} - -src_compile() { - # build - make KVERS=${KV_FULL} \ - KSRC=/usr/src/linux ARCH=$(tc-arch-kernel) || die - - if use bri; then - cd ${S_BRI} - for x in cwain qozap zaphfc; do - einfo "Building ${x}..." - make KVERS=${KV_FULL} \ - KSRC=/usr/src/linux \ - ARCH=$(tc-arch-kernel) \ - -C ${x} || die "make ${x} failed" - done - fi -} - -src_install() { - make INSTALL_PREFIX=${D} ARCH=$(tc-arch-kernel) \ - KVERS=${KV_FULL} KSRC=/usr/src/linux install || die - - dodoc ChangeLog README README.udev README.Linux26 README.fxsusb zaptel.init - dodoc zaptel.conf.sample LICENSE zaptel.sysconfig - - # additional tools - dobin ztmonitor ztspeed zttest - - # install all header files, several packages need the complete set - # (e.g. sangoma wanpipe) - insinto /usr/include/zaptel - doins *.h - - if use bri; then - einfo "Installing bri" - cd ${S_BRI} - - insinto /lib/modules/${KV_FULL}/misc - doins qozap/qozap.${KV_OBJ} - doins zaphfc/zaphfc.${KV_OBJ} - doins cwain/cwain.${KV_OBJ} - - # install example configs for octoBRI and quadBRI - insinto /etc - doins qozap/zaptel.conf.octoBRI - newins qozap/zaptel.conf zaptel.conf.quadBRI - newins zaphfc/zaptel.conf zaptel.conf.zaphfc - - insinto /etc/asterisk - doins qozap/zapata.conf.octoBRI - newins qozap/zapata.conf zapata.conf.quadBRI - newins zaphfc/zapata.conf zapata.conf.zaphfc - - docinto bristuff - dodoc CHANGES INSTALL - - docinto bristuff/qozap - dodoc qozap/LICENSE qozap/TODO qozap/*.conf* - - docinto bristuff/zaphfc - dodoc zaphfc/LICENSE zaphfc/*.conf - - docinto bristuff/cwain - dodoc cwain/TODO cwain/LICENSE - - cd ${S} - fi - - # install init script - newinitd ${FILESDIR}/zaptel.rc6 zaptel - newconfd ${FILESDIR}/zaptel.confd zaptel - - # install devfsd rule file - insinto /etc/devfs.d - newins ${FILESDIR}/zaptel.devfsd zaptel - - # install udev rule file - insinto /etc/udev/rules.d - newins ${FILESDIR}/zaptel.udevd 10-zaptel.rules - - # fix permissions if there's no udev / devfs around - if [[ -d ${D}/dev/zap ]]; then - chown -R root:dialout ${D}/dev/zap - chmod -R u=rwX,g=rwX,o= ${D}/dev/zap - fi -} - -pkg_postinst() { - linux-mod_pkg_postinst - - if kernel_is 2 6 && [[ ${KV_PATCH} -lt 14 ]] && use devfs26; then - ewarn "*** Warning! ***" - ewarn "Devfs support for linux-2.6 is experimental and not" - ewarn "supported by digium or the asterisk project!" - echo - ewarn "Send bug-reports to: stkn@gentoo.org" - fi - - echo - einfo "Use the /etc/init.d/zaptel script to load zaptel.conf settings on startup!" - echo - - if use bri; then - einfo "Bristuff configs have been merged as:" - einfo "" - einfo "${ROOT}etc/" - einfo " zaptel.conf.zaphfc" - einfo " zaptel.conf.quadBRI" - einfo " zaptel.conf.octoBRI" - einfo "" - einfo "${ROOT}etc/asterisk/" - einfo " zapata.conf.zaphfc" - einfo " zapata.conf.quadBRI" - einfo " zapata.conf.octoBRI" - echo - fi - - # fix permissions if there's no udev / devfs around - if [[ -d ${ROOT}dev/zap ]]; then - chown -R root:dialout ${ROOT}dev/zap - chmod -R u=rwX,g=rwX,o= ${ROOT}dev/zap - fi -} diff --git a/net-misc/zaptel/zaptel-1.2.1.ebuild b/net-misc/zaptel/zaptel-1.2.1.ebuild deleted file mode 100644 index ad3b05c..0000000 --- a/net-misc/zaptel/zaptel-1.2.1.ebuild +++ /dev/null @@ -1,374 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/zaptel/zaptel-1.2.0.ebuild,v 1.2 2005/11/20 21:36:46 stkn Exp $ - -inherit toolchain-funcs eutils linux-mod - -## TODO: -# -# - bristuff (waiting for next upstream release...) -# - cleanup (work-in-progress) -# - testing of new features (zapras / -net) -# - -BRI_VERSION="0.3.0-PRE-1c" -FLORZ_VERSION="0.3.0-PRE-1_florz-10" - -IUSE="bri devfs26 ecmark ecmark2 ecmark3 ecaggressive eckb1 ecmg2 ecsteve ecsteve2 florz rtc ukcid watchdog zapras zapnet" - -MY_P="${P/_/-}" - -DESCRIPTION="Drivers for Digium and ZapataTelephony cards" -HOMEPAGE="http://www.asterisk.org" -SRC_URI="http://ftp.digium.com/pub/zaptel/old/${MY_P}.tar.gz - bri? ( http://www.junghanns.net/downloads/bristuff-${BRI_VERSION}.tar.gz ) - florz? ( http://zaphfc.florz.dyndns.org/zaphfc_${FLORZ_VERSION}.diff.gz )" - -S="${WORKDIR}/${MY_P}" - -S_BRI="${WORKDIR}/bristuff-${BRI_VERSION}" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~x86" - -DEPEND="virtual/libc - virtual/linux-sources - >=dev-libs/newt-0.50.0" - -# list of echo canceller use flags, -# first active in this list is selected (=order does matter) -ZAP_EC_FLAGS="ecmark ecmark2 ecmark3 ecsteve ecsteve2 eckb1 ecmg2" - -### Begin: Helper functions - -select_echo_cancel() { - local myEC="" - - for x in ${ZAP_EC_FLAGS}; do - if use $x; then - myEC=$(echo "$x" | sed -e "s:^ec::" | tr '[:lower:]' '[:upper:]') - break; - fi - done - - echo ${myEC} -} - -zconfig_disable() { - if grep -q "${1}" ${S}/zconfig.h; then - # match a little more than ${1} so we can use zconfig_disable - # to disable all echo cancellers in zconfig.h w/o calling it several times - sed -i -e "s:^[ \t]*#define[ \t]\+\(${1}[a-zA-Z0-9_-]*\).*:#undef \1:" \ - ${S}/zconfig.h - fi - - return $? -} - -zconfig_enable() { - if grep -q "${1}" ${S}/zconfig.h; then - sed -i -e "s:^/\*[ \t]*#define[ \t]\+\(${1}\).*:#define \1:" \ - -e "s:^[ \t]*#undef[ \t]\+\(${1}\).*:#define \1:" \ - ${S}/zconfig.h - fi - - return $? -} - -### End: Helper functions - -pkg_setup() { - local result=0 numec=0 - - linux-mod_pkg_setup - - einfo "Running pre-flight checks..." - - # basic zaptel checks - if ! linux_chkconfig_present CRC_CCITT; then - echo - eerror "Your kernel lacks CRC_CCIT support!" - eerror "Enable CONFIG_CRC_CCIT!" - result=$((result+1)) - fi - - # check if multiple echo cancellers have been selected - for x in ${ZAP_EC_FLAGS}; do - use $x && numec=$((numec+1)) - 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 - echo - ewarn "Multiple echo canceller flags are active but only one will be used!" - ewarn "Selected: $(select_echo_cancel)" - fi - - # we need at least HDLC generic support - if use zapnet && ! linux_chkconfig_present HDLC; then - echo - eerror "zapnet: Your kernel lacks HDLC support!" - eerror "zapnet: Enable CONFIG_HDLC* to use zaptel network support!" - result=$((result+1)) - fi - - # zapras needs PPP support - if use zapras && ! linux_chkconfig_present PPP; then - echo - eerror "zapras: Your kernel lacks PPP support!" - eerror "zapras: Enable CONFIG_PPP* to use zaptel ras support!" - result=$((result+1)) - fi - - # rtc needs linux-2.6 and CONFIG_RTC - if use rtc; then - if ! kernel_is 2 6; then - echo - eerror "rtc: >=Linux-2.6.0 is needed for rtc support!" - result=$((result+1)) - fi - - if ! linux_chkconfig_present RTC; then - eerror "rtc: Your kernel lacks RealTime-Clock support!" - result=$((result+1)) - fi - fi - - if [[ $result -gt 0 ]]; then - echo - ewarn "One or more of the neccessary precondition(s) is/are not met!" - ewarn "Look at the messages above, resolve the problem (or disable the use-flag) and try again" - echo - - if [[ $result -lt 3 ]]; then - eerror "[$result Error(s)] Zaptel is not happy :(" - else - eerror "[$result Error(s)] You're making zaptel cry :'(" - fi - die "[$result] Precondition(s) not met" - fi - - echo - einfo "Zaptel is happy and continues... :)" -} - -src_unpack() { - unpack ${A} - - cd ${S} - epatch ${FILESDIR}/${PN}-1.2.1-gentoo.diff - - if use devfs26; then - epatch ${FILESDIR}/${PN}-1.2.0-devfs26.diff - - # fix Makefile to not create device nodes for - # devfs enabled 2.6 kernels - sed -i -e 's:grep -q udevd:grep -q \"udevd\\|devfsd\":' \ - Makefile - fi - - use ukcid && \ - epatch ${FILESDIR}/${PN}-1.2.0-ukcid.patch - - # try to apply bristuff patch - if use bri; then - # fix for userpriv - chmod -R a=rwX ${S_BRI} - - einfo "Patching zaptel w/ BRI stuff (${BRI_VERSION})" - epatch ${S_BRI}/patches/zaptel.patch - - cd ${S_BRI} - - if use florz; then - einfo "Using florz patches (${FLORZ_VERSION}) for zaphfc" - - # # remove as soon as there's a new florz patch available - # sed -i -e "s:zaptel-1\.0\.7:zaptel-1.0.8:g" \ - # ${WORKDIR}/zaphfc_${FLORZ_VERSION}.diff - - epatch ${WORKDIR}/zaphfc_${FLORZ_VERSION}.diff - fi - - # patch includes - sed -i -e "s:^#include.*zaptel\.h.*:#include <zaptel.h>:" \ - qozap/qozap.c \ - zaphfc/zaphfc.c \ - cwain/cwain.c - - # patch makefiles - sed -i -e "s:^ZAP[\t ]*=.*:ZAP=-I${S}:" \ - -e "s:^MODCONF=.*:MODCONF=/etc/modules.d/zaptel:" \ - -e "s:linux-2.6:linux:g" \ - qozap/Makefile \ - zaphfc/Makefile \ - cwain/Makefile - - sed -i -e "s:^\(CFLAGS+=-I. \).*:\1 \$(ZAP):" \ - zaphfc/Makefile - - cd ${S} - fi - -### Configuration changes - local myEC - - # prepare zconfig.h - myEC=$(select_echo_cancel) - if [[ -n "${myEC}" ]]; then - einfo "Selected echo canceller: ${myEC}" - # disable default first, set new selected ec afterwards - zconfig_disable ECHO_CAN - zconfig_enable ECHO_CAN_${myEC} - fi - - # enable rtc support on 2.6 - if use rtc && linux_chkconfig_present RTC && kernel_is 2 6; then - einfo "Enabling ztdummy RTC support" - zconfig_enable USE_RTC - fi - - # disable udev support on devfs26 systems - use devfs26 && \ - zconfig_disable CONFIG_ZAP_UDEV - - # enable agressive echo surpression - use ecaggressive && \ - zconfig_enable AGGRESSIVE_SUPPRESSOR - - # ppp ras support - use zapras && \ - zconfig_enable CONFIG_ZAPATA_PPP - - # frame relay, syncppp... - use zapnet && \ - zconfig_enable CONFIG_ZAPATA_NET - - # zaptel watchdog - use watchdog && \ - zconfig_enable CONFIG_ZAPTEL_WATCHDOG -} - -src_compile() { - # build - make KVERS=${KV_FULL} \ - KSRC=/usr/src/linux ARCH=$(tc-arch-kernel) || die - - if use bri; then - cd ${S_BRI} - for x in cwain qozap zaphfc; do - einfo "Building ${x}..." - make KVERS=${KV_FULL} \ - KSRC=/usr/src/linux \ - ARCH=$(tc-arch-kernel) \ - -C ${x} || die "make ${x} failed" - done - fi -} - -src_install() { - make INSTALL_PREFIX=${D} ARCH=$(tc-arch-kernel) \ - KVERS=${KV_FULL} KSRC=/usr/src/linux install || die - - dodoc ChangeLog README README.udev README.Linux26 README.fxsusb zaptel.init - dodoc zaptel.conf.sample LICENSE zaptel.sysconfig - - # additional tools - dobin ztmonitor ztspeed zttest - - # install all header files, several packages need the complete set - # (e.g. sangoma wanpipe) - insinto /usr/include/zaptel - doins *.h - - if use bri; then - einfo "Installing bri" - cd ${S_BRI} - - insinto /lib/modules/${KV_FULL}/misc - doins qozap/qozap.${KV_OBJ} - doins zaphfc/zaphfc.${KV_OBJ} - doins cwain/cwain.${KV_OBJ} - - # install example configs for octoBRI and quadBRI - insinto /etc - doins qozap/zaptel.conf.octoBRI - newins qozap/zaptel.conf zaptel.conf.quadBRI - newins zaphfc/zaptel.conf zaptel.conf.zaphfc - - insinto /etc/asterisk - doins qozap/zapata.conf.octoBRI - newins qozap/zapata.conf zapata.conf.quadBRI - newins zaphfc/zapata.conf zapata.conf.zaphfc - - docinto bristuff - dodoc CHANGES INSTALL - - docinto bristuff/qozap - dodoc qozap/LICENSE qozap/TODO qozap/*.conf* - - docinto bristuff/zaphfc - dodoc zaphfc/LICENSE zaphfc/*.conf - - docinto bristuff/cwain - dodoc cwain/TODO cwain/LICENSE - - cd ${S} - fi - - # install init script - newinitd ${FILESDIR}/zaptel.rc6 zaptel - newconfd ${FILESDIR}/zaptel.confd zaptel - - # install devfsd rule file - insinto /etc/devfs.d - newins ${FILESDIR}/zaptel.devfsd zaptel - - # install udev rule file - insinto /etc/udev/rules.d - newins ${FILESDIR}/zaptel.udevd 10-zaptel.rules - - # fix permissions if there's no udev / devfs around - if [[ -d ${D}/dev/zap ]]; then - chown -R root:dialout ${D}/dev/zap - chmod -R u=rwX,g=rwX,o= ${D}/dev/zap - fi -} - -pkg_postinst() { - linux-mod_pkg_postinst - - if use devfs26; then - ewarn "*** Warning! ***" - ewarn "Devfs support for linux-2.6 is experimental and not" - ewarn "supported by digium or the asterisk project!" - echo - ewarn "Send bug-reports to: stkn@gentoo.org" - fi - - echo - einfo "Use the /etc/init.d/zaptel script to load zaptel.conf settings on startup!" - echo - - if use bri; then - einfo "Bristuff configs have been merged as:" - einfo "" - einfo "${ROOT}etc/" - einfo " zaptel.conf.zaphfc" - einfo " zaptel.conf.quadBRI" - einfo " zaptel.conf.octoBRI" - einfo "" - einfo "${ROOT}etc/asterisk/" - einfo " zapata.conf.zaphfc" - einfo " zapata.conf.quadBRI" - einfo " zapata.conf.octoBRI" - echo - fi - - # fix permissions if there's no udev / devfs around - if [[ -d ${ROOT}dev/zap ]]; then - chown -R root:dialout ${ROOT}dev/zap - chmod -R u=rwX,g=rwX,o= ${ROOT}dev/zap - fi -} diff --git a/net-misc/zaptel/zaptel-1.2.2.ebuild b/net-misc/zaptel/zaptel-1.2.2.ebuild deleted file mode 100644 index 206f582..0000000 --- a/net-misc/zaptel/zaptel-1.2.2.ebuild +++ /dev/null @@ -1,377 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/zaptel/zaptel-1.2.1.ebuild,v 1.1 2005/12/16 20:49:44 stkn Exp $ - -inherit toolchain-funcs eutils linux-mod - -## TODO: -# -# - bristuff (waiting for next upstream release...) -# - cleanup (work-in-progress) -# - testing of new features (zapras / -net) -# - -BRI_VERSION="0.3.0-PRE-1h" -FLORZ_VERSION="0.3.0-PRE-1f_florz-11" - -IUSE="bri devfs26 ecmark ecmark2 ecmark3 ecaggressive eckb1 ecmg2 ecsteve ecsteve2 florz rtc ukcid watchdog zapras zapnet" - -MY_P="${P/_/-}" - -DESCRIPTION="Drivers for Digium and ZapataTelephony cards" -HOMEPAGE="http://www.asterisk.org" -SRC_URI="http://ftp.digium.com/pub/zaptel/old/${MY_P}.tar.gz - bri? ( http://www.junghanns.net/downloads/bristuff-${BRI_VERSION}.tar.gz ) - florz? ( http://zaphfc.florz.dyndns.org/zaphfc_${FLORZ_VERSION}.diff.gz )" - -S="${WORKDIR}/${MY_P}" - -S_BRI="${WORKDIR}/bristuff-${BRI_VERSION}" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~x86" - -DEPEND="virtual/libc - virtual/linux-sources - >=dev-libs/newt-0.50.0" - -# list of echo canceller use flags, -# first active in this list is selected (=order does matter) -ZAP_EC_FLAGS="ecmark ecmark2 ecmark3 ecsteve ecsteve2 eckb1 ecmg2" - -### Begin: Helper functions - -select_echo_cancel() { - local myEC="" - - for x in ${ZAP_EC_FLAGS}; do - if use $x; then - myEC=$(echo "$x" | sed -e "s:^ec::" | tr '[:lower:]' '[:upper:]') - break; - fi - done - - echo ${myEC} -} - -zconfig_disable() { - if grep -q "${1}" ${S}/zconfig.h; then - # match a little more than ${1} so we can use zconfig_disable - # to disable all echo cancellers in zconfig.h w/o calling it several times - sed -i -e "s:^[ \t]*#define[ \t]\+\(${1}[a-zA-Z0-9_-]*\).*:#undef \1:" \ - ${S}/zconfig.h - fi - - return $? -} - -zconfig_enable() { - if grep -q "${1}" ${S}/zconfig.h; then - sed -i -e "s:^/\*[ \t]*#define[ \t]\+\(${1}\).*:#define \1:" \ - -e "s:^[ \t]*#undef[ \t]\+\(${1}\).*:#define \1:" \ - ${S}/zconfig.h - fi - - return $? -} - -### End: Helper functions - -pkg_setup() { - local result=0 numec=0 - - linux-mod_pkg_setup - - einfo "Running pre-flight checks..." - - # basic zaptel checks - if ! linux_chkconfig_present CRC_CCITT; then - echo - eerror "Your kernel lacks CRC_CCIT support!" - eerror "Enable CONFIG_CRC_CCIT!" - result=$((result+1)) - fi - - # check if multiple echo cancellers have been selected - for x in ${ZAP_EC_FLAGS}; do - use $x && numec=$((numec+1)) - 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 - echo - ewarn "Multiple echo canceller flags are active but only one will be used!" - ewarn "Selected: $(select_echo_cancel)" - fi - - # we need at least HDLC generic support - if use zapnet && ! linux_chkconfig_present HDLC; then - echo - eerror "zapnet: Your kernel lacks HDLC support!" - eerror "zapnet: Enable CONFIG_HDLC* to use zaptel network support!" - result=$((result+1)) - fi - - # zapras needs PPP support - if use zapras && ! linux_chkconfig_present PPP; then - echo - eerror "zapras: Your kernel lacks PPP support!" - eerror "zapras: Enable CONFIG_PPP* to use zaptel ras support!" - result=$((result+1)) - fi - - # rtc needs linux-2.6 and CONFIG_RTC - if use rtc; then - if ! kernel_is 2 6; then - echo - eerror "rtc: >=Linux-2.6.0 is needed for rtc support!" - result=$((result+1)) - fi - - if ! linux_chkconfig_present RTC; then - eerror "rtc: Your kernel lacks RealTime-Clock support!" - result=$((result+1)) - fi - fi - - if [[ $result -gt 0 ]]; then - echo - ewarn "One or more of the neccessary precondition(s) is/are not met!" - ewarn "Look at the messages above, resolve the problem (or disable the use-flag) and try again" - echo - - if [[ $result -lt 3 ]]; then - eerror "[$result Error(s)] Zaptel is not happy :(" - else - eerror "[$result Error(s)] You're making zaptel cry :'(" - fi - die "[$result] Precondition(s) not met" - fi - - echo - einfo "Zaptel is happy and continues... :)" -} - -src_unpack() { - unpack ${A} - - cd ${S} - epatch ${FILESDIR}/${PN}-1.2.2-gentoo.diff - - if kernel_is 2 6 && use devfs26; then - if [[ ${KV_PATCH} -ge 14 ]]; then - eerror "Devfs has been removed in linux-2.6.14, skipping devfs26!" - else - epatch ${FILESDIR}/${PN}-1.2.0-devfs26.diff - - # fix Makefile to not create device nodes for - # devfs enabled 2.6 kernels - sed -i -e 's:grep -q udevd:grep -q \"udevd\\|devfsd\":' \ - Makefile - - # disable udev support on devfs26 systems - zconfig_disable CONFIG_ZAP_UDEV - fi - fi - - use ukcid && \ - epatch ${FILESDIR}/${PN}-1.2.0-ukcid.patch - - # try to apply bristuff patch - if use bri; then - # fix for userpriv - chmod -R a=rwX ${S_BRI} - - einfo "Patching zaptel w/ BRI stuff (${BRI_VERSION})" - epatch ${S_BRI}/patches/zaptel.patch - - cd ${S_BRI} - - if use florz; then - einfo "Using florz patches (${FLORZ_VERSION}) for zaphfc" - - # remove as soon as there's a new florz patch available - sed -i -e "s:zaptel-1\.2\.1:zaptel-1.2.2:g" \ - ${WORKDIR}/zaphfc_${FLORZ_VERSION}.diff - - epatch ${WORKDIR}/zaphfc_${FLORZ_VERSION}.diff - fi - - # patch includes - sed -i -e "s:^#include.*zaptel\.h.*:#include <zaptel.h>:" \ - qozap/qozap.c \ - zaphfc/zaphfc.c \ - cwain/cwain.c - - # patch makefiles - sed -i -e "s:^ZAP[\t ]*=.*:ZAP=-I${S}:" \ - -e "s:^MODCONF=.*:MODCONF=/etc/modules.d/zaptel:" \ - -e "s:linux-2.6:linux:g" \ - qozap/Makefile \ - zaphfc/Makefile \ - cwain/Makefile - - sed -i -e "s:^\(CFLAGS+=-I. \).*:\1 \$(ZAP):" \ - zaphfc/Makefile - - cd ${S} - fi - -### Configuration changes - local myEC - - # prepare zconfig.h - myEC=$(select_echo_cancel) - if [[ -n "${myEC}" ]]; then - einfo "Selected echo canceller: ${myEC}" - # disable default first, set new selected ec afterwards - zconfig_disable ECHO_CAN - zconfig_enable ECHO_CAN_${myEC} - fi - - # enable rtc support on 2.6 - if use rtc && linux_chkconfig_present RTC && kernel_is 2 6; then - einfo "Enabling ztdummy RTC support" - zconfig_enable USE_RTC - fi - - # enable agressive echo surpression - use ecaggressive && \ - zconfig_enable AGGRESSIVE_SUPPRESSOR - - # ppp ras support - use zapras && \ - zconfig_enable CONFIG_ZAPATA_PPP - - # frame relay, syncppp... - use zapnet && \ - zconfig_enable CONFIG_ZAPATA_NET - - # zaptel watchdog - use watchdog && \ - zconfig_enable CONFIG_ZAPTEL_WATCHDOG -} - -src_compile() { - # build - make KVERS=${KV_FULL} \ - KSRC=/usr/src/linux ARCH=$(tc-arch-kernel) || die - - if use bri; then - cd ${S_BRI} - for x in cwain qozap zaphfc; do - einfo "Building ${x}..." - make KVERS=${KV_FULL} \ - KSRC=/usr/src/linux \ - ARCH=$(tc-arch-kernel) \ - -C ${x} || die "make ${x} failed" - done - fi -} - -src_install() { - make INSTALL_PREFIX=${D} ARCH=$(tc-arch-kernel) \ - KVERS=${KV_FULL} KSRC=/usr/src/linux install || die - - dodoc ChangeLog README README.udev README.Linux26 README.fxsusb zaptel.init - dodoc zaptel.conf.sample LICENSE zaptel.sysconfig - - # additional tools - dobin ztmonitor ztspeed zttest - - # install all header files, several packages need the complete set - # (e.g. sangoma wanpipe) - insinto /usr/include/zaptel - doins *.h - - if use bri; then - einfo "Installing bri" - cd ${S_BRI} - - insinto /lib/modules/${KV_FULL}/misc - doins qozap/qozap.${KV_OBJ} - doins zaphfc/zaphfc.${KV_OBJ} - doins cwain/cwain.${KV_OBJ} - - # install example configs for octoBRI and quadBRI - insinto /etc - doins qozap/zaptel.conf.octoBRI - newins qozap/zaptel.conf zaptel.conf.quadBRI - newins zaphfc/zaptel.conf zaptel.conf.zaphfc - - insinto /etc/asterisk - doins qozap/zapata.conf.octoBRI - newins qozap/zapata.conf zapata.conf.quadBRI - newins zaphfc/zapata.conf zapata.conf.zaphfc - - docinto bristuff - dodoc CHANGES INSTALL - - docinto bristuff/qozap - dodoc qozap/LICENSE qozap/TODO qozap/*.conf* - - docinto bristuff/zaphfc - dodoc zaphfc/LICENSE zaphfc/*.conf - - docinto bristuff/cwain - dodoc cwain/TODO cwain/LICENSE - - cd ${S} - fi - - # install init script - newinitd ${FILESDIR}/zaptel.rc6 zaptel - newconfd ${FILESDIR}/zaptel.confd zaptel - - # install devfsd rule file - insinto /etc/devfs.d - newins ${FILESDIR}/zaptel.devfsd zaptel - - # install udev rule file - insinto /etc/udev/rules.d - newins ${FILESDIR}/zaptel.udevd 10-zaptel.rules - - # fix permissions if there's no udev / devfs around - if [[ -d ${D}/dev/zap ]]; then - chown -R root:dialout ${D}/dev/zap - chmod -R u=rwX,g=rwX,o= ${D}/dev/zap - fi -} - -pkg_postinst() { - linux-mod_pkg_postinst - - if kernel_is 2 6 && [[ ${KV_PATCH} -lt 14 ]] && use devfs26; then - ewarn "*** Warning! ***" - ewarn "Devfs support for linux-2.6 is experimental and not" - ewarn "supported by digium or the asterisk project!" - echo - ewarn "Send bug-reports to: stkn@gentoo.org" - fi - - echo - einfo "Use the /etc/init.d/zaptel script to load zaptel.conf settings on startup!" - echo - - if use bri; then - einfo "Bristuff configs have been merged as:" - einfo "" - einfo "${ROOT}etc/" - einfo " zaptel.conf.zaphfc" - einfo " zaptel.conf.quadBRI" - einfo " zaptel.conf.octoBRI" - einfo "" - einfo "${ROOT}etc/asterisk/" - einfo " zapata.conf.zaphfc" - einfo " zapata.conf.quadBRI" - einfo " zapata.conf.octoBRI" - echo - fi - - # fix permissions if there's no udev / devfs around - if [[ -d ${ROOT}dev/zap ]]; then - chown -R root:dialout ${ROOT}dev/zap - chmod -R u=rwX,g=rwX,o= ${ROOT}dev/zap - fi -} diff --git a/net-misc/zaptel/zaptel-1.2.3-r1.ebuild b/net-misc/zaptel/zaptel-1.2.3-r1.ebuild deleted file mode 100644 index 683844a..0000000 --- a/net-misc/zaptel/zaptel-1.2.3-r1.ebuild +++ /dev/null @@ -1,377 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/zaptel/zaptel-1.2.1.ebuild,v 1.1 2005/12/16 20:49:44 stkn Exp $ - -inherit toolchain-funcs eutils linux-mod - -## TODO: -# -# - bristuff (waiting for next upstream release...) -# - cleanup (work-in-progress) -# - testing of new features (zapras / -net) -# - -BRI_VERSION="0.3.0-PRE-1k" -FLORZ_VERSION="0.3.0-PRE-1f_florz-11" - -IUSE="bri devfs26 ecmark ecmark2 ecmark3 ecaggressive eckb1 ecmg2 ecsteve ecsteve2 florz rtc ukcid watchdog zapras zapnet" - -MY_P="${P/_/-}" - -DESCRIPTION="Drivers for Digium and ZapataTelephony cards" -HOMEPAGE="http://www.asterisk.org" -SRC_URI="http://ftp.digium.com/pub/zaptel/old/${MY_P}.tar.gz - bri? ( http://www.junghanns.net/downloads/bristuff-${BRI_VERSION}.tar.gz ) - florz? ( http://zaphfc.florz.dyndns.org/zaphfc_${FLORZ_VERSION}.diff.gz )" - -S="${WORKDIR}/${MY_P}" - -S_BRI="${WORKDIR}/bristuff-${BRI_VERSION}" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~x86" - -DEPEND="virtual/libc - virtual/linux-sources - >=dev-libs/newt-0.50.0" - -# list of echo canceller use flags, -# first active in this list is selected (=order does matter) -ZAP_EC_FLAGS="ecmark ecmark2 ecmark3 ecsteve ecsteve2 eckb1 ecmg2" - -### Begin: Helper functions - -select_echo_cancel() { - local myEC="" - - for x in ${ZAP_EC_FLAGS}; do - if use $x; then - myEC=$(echo "$x" | sed -e "s:^ec::" | tr '[:lower:]' '[:upper:]') - break; - fi - done - - echo ${myEC} -} - -zconfig_disable() { - if grep -q "${1}" ${S}/zconfig.h; then - # match a little more than ${1} so we can use zconfig_disable - # to disable all echo cancellers in zconfig.h w/o calling it several times - sed -i -e "s:^[ \t]*#define[ \t]\+\(${1}[a-zA-Z0-9_-]*\).*:#undef \1:" \ - ${S}/zconfig.h - fi - - return $? -} - -zconfig_enable() { - if grep -q "${1}" ${S}/zconfig.h; then - sed -i -e "s:^/\*[ \t]*#define[ \t]\+\(${1}\).*:#define \1:" \ - -e "s:^[ \t]*#undef[ \t]\+\(${1}\).*:#define \1:" \ - ${S}/zconfig.h - fi - - return $? -} - -### End: Helper functions - -pkg_setup() { - local result=0 numec=0 - - linux-mod_pkg_setup - - einfo "Running pre-flight checks..." - - # basic zaptel checks - if ! linux_chkconfig_present CRC_CCITT; then - echo - eerror "Your kernel lacks CRC_CCIT support!" - eerror "Enable CONFIG_CRC_CCIT!" - result=$((result+1)) - fi - - # check if multiple echo cancellers have been selected - for x in ${ZAP_EC_FLAGS}; do - use $x && numec=$((numec+1)) - 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 - echo - ewarn "Multiple echo canceller flags are active but only one will be used!" - ewarn "Selected: $(select_echo_cancel)" - fi - - # we need at least HDLC generic support - if use zapnet && ! linux_chkconfig_present HDLC; then - echo - eerror "zapnet: Your kernel lacks HDLC support!" - eerror "zapnet: Enable CONFIG_HDLC* to use zaptel network support!" - result=$((result+1)) - fi - - # zapras needs PPP support - if use zapras && ! linux_chkconfig_present PPP; then - echo - eerror "zapras: Your kernel lacks PPP support!" - eerror "zapras: Enable CONFIG_PPP* to use zaptel ras support!" - result=$((result+1)) - fi - - # rtc needs linux-2.6 and CONFIG_RTC - if use rtc; then - if ! kernel_is 2 6; then - echo - eerror "rtc: >=Linux-2.6.0 is needed for rtc support!" - result=$((result+1)) - fi - - if ! linux_chkconfig_present RTC; then - eerror "rtc: Your kernel lacks RealTime-Clock support!" - result=$((result+1)) - fi - fi - - if [[ $result -gt 0 ]]; then - echo - ewarn "One or more of the neccessary precondition(s) is/are not met!" - ewarn "Look at the messages above, resolve the problem (or disable the use-flag) and try again" - echo - - if [[ $result -lt 3 ]]; then - eerror "[$result Error(s)] Zaptel is not happy :(" - else - eerror "[$result Error(s)] You're making zaptel cry :'(" - fi - die "[$result] Precondition(s) not met" - fi - - echo - einfo "Zaptel is happy and continues... :)" -} - -src_unpack() { - unpack ${A} - - cd ${S} - epatch ${FILESDIR}/${PN}-1.2.2-gentoo.diff - - if kernel_is 2 6 && use devfs26; then - if [[ ${KV_PATCH} -ge 14 ]]; then - eerror "Devfs has been removed in linux-2.6.14, skipping devfs26!" - else - epatch ${FILESDIR}/${PN}-1.2.0-devfs26.diff - - # fix Makefile to not create device nodes for - # devfs enabled 2.6 kernels - sed -i -e 's:grep -q udevd:grep -q \"udevd\\|devfsd\":' \ - Makefile - - # disable udev support on devfs26 systems - zconfig_disable CONFIG_ZAP_UDEV - fi - fi - - use ukcid && \ - epatch ${FILESDIR}/${PN}-1.2.0-ukcid.patch - - # try to apply bristuff patch - if use bri; then - # fix for userpriv - chmod -R a=rwX ${S_BRI} - - einfo "Patching zaptel w/ BRI stuff (${BRI_VERSION})" - epatch ${S_BRI}/patches/zaptel.patch - - cd ${S_BRI} - - if use florz; then - einfo "Using florz patches (${FLORZ_VERSION}) for zaphfc" - - # remove as soon as there's a new florz patch available - sed -i -e "s:zaptel-1\.2\.1:zaptel-1.2.3:g" \ - ${WORKDIR}/zaphfc_${FLORZ_VERSION}.diff - - epatch ${WORKDIR}/zaphfc_${FLORZ_VERSION}.diff - fi - - # patch includes - sed -i -e "s:^#include.*zaptel\.h.*:#include <zaptel.h>:" \ - qozap/qozap.c \ - zaphfc/zaphfc.c \ - cwain/cwain.c - - # patch makefiles - sed -i -e "s:^ZAP[\t ]*=.*:ZAP=-I${S}:" \ - -e "s:^MODCONF=.*:MODCONF=/etc/modules.d/zaptel:" \ - -e "s:linux-2.6:linux:g" \ - qozap/Makefile \ - zaphfc/Makefile \ - cwain/Makefile - - sed -i -e "s:^\(CFLAGS+=-I. \).*:\1 \$(ZAP):" \ - zaphfc/Makefile - - cd ${S} - fi - -### Configuration changes - local myEC - - # prepare zconfig.h - myEC=$(select_echo_cancel) - if [[ -n "${myEC}" ]]; then - einfo "Selected echo canceller: ${myEC}" - # disable default first, set new selected ec afterwards - zconfig_disable ECHO_CAN - zconfig_enable ECHO_CAN_${myEC} - fi - - # enable rtc support on 2.6 - if use rtc && linux_chkconfig_present RTC && kernel_is 2 6; then - einfo "Enabling ztdummy RTC support" - zconfig_enable USE_RTC - fi - - # enable agressive echo surpression - use ecaggressive && \ - zconfig_enable AGGRESSIVE_SUPPRESSOR - - # ppp ras support - use zapras && \ - zconfig_enable CONFIG_ZAPATA_PPP - - # frame relay, syncppp... - use zapnet && \ - zconfig_enable CONFIG_ZAPATA_NET - - # zaptel watchdog - use watchdog && \ - zconfig_enable CONFIG_ZAPTEL_WATCHDOG -} - -src_compile() { - # build - make KVERS=${KV_FULL} \ - KSRC=/usr/src/linux ARCH=$(tc-arch-kernel) || die - - if use bri; then - cd ${S_BRI} - for x in cwain qozap zaphfc; do - einfo "Building ${x}..." - make KVERS=${KV_FULL} \ - KSRC=/usr/src/linux \ - ARCH=$(tc-arch-kernel) \ - -C ${x} || die "make ${x} failed" - done - fi -} - -src_install() { - make INSTALL_PREFIX=${D} ARCH=$(tc-arch-kernel) \ - KVERS=${KV_FULL} KSRC=/usr/src/linux install || die - - dodoc ChangeLog README README.udev README.Linux26 README.fxsusb zaptel.init - dodoc zaptel.conf.sample LICENSE zaptel.sysconfig - - # additional tools - dobin ztmonitor ztspeed zttest - - # install all header files, several packages need the complete set - # (e.g. sangoma wanpipe) - insinto /usr/include/zaptel - doins *.h - - if use bri; then - einfo "Installing bri" - cd ${S_BRI} - - insinto /lib/modules/${KV_FULL}/misc - doins qozap/qozap.${KV_OBJ} - doins zaphfc/zaphfc.${KV_OBJ} - doins cwain/cwain.${KV_OBJ} - - # install example configs for octoBRI and quadBRI - insinto /etc - doins qozap/zaptel.conf.octoBRI - newins qozap/zaptel.conf zaptel.conf.quadBRI - newins zaphfc/zaptel.conf zaptel.conf.zaphfc - - insinto /etc/asterisk - doins qozap/zapata.conf.octoBRI - newins qozap/zapata.conf zapata.conf.quadBRI - newins zaphfc/zapata.conf zapata.conf.zaphfc - - docinto bristuff - dodoc CHANGES INSTALL - - docinto bristuff/qozap - dodoc qozap/LICENSE qozap/TODO qozap/*.conf* - - docinto bristuff/zaphfc - dodoc zaphfc/LICENSE zaphfc/*.conf - - docinto bristuff/cwain - dodoc cwain/TODO cwain/LICENSE - - cd ${S} - fi - - # install init script - newinitd ${FILESDIR}/zaptel.rc6 zaptel - newconfd ${FILESDIR}/zaptel.confd zaptel - - # install devfsd rule file - insinto /etc/devfs.d - newins ${FILESDIR}/zaptel.devfsd zaptel - - # install udev rule file - insinto /etc/udev/rules.d - newins ${FILESDIR}/zaptel.udevd 10-zaptel.rules - - # fix permissions if there's no udev / devfs around - if [[ -d ${D}/dev/zap ]]; then - chown -R root:dialout ${D}/dev/zap - chmod -R u=rwX,g=rwX,o= ${D}/dev/zap - fi -} - -pkg_postinst() { - linux-mod_pkg_postinst - - if kernel_is 2 6 && [[ ${KV_PATCH} -lt 14 ]] && use devfs26; then - ewarn "*** Warning! ***" - ewarn "Devfs support for linux-2.6 is experimental and not" - ewarn "supported by digium or the asterisk project!" - echo - ewarn "Send bug-reports to: stkn@gentoo.org" - fi - - echo - einfo "Use the /etc/init.d/zaptel script to load zaptel.conf settings on startup!" - echo - - if use bri; then - einfo "Bristuff configs have been merged as:" - einfo "" - einfo "${ROOT}etc/" - einfo " zaptel.conf.zaphfc" - einfo " zaptel.conf.quadBRI" - einfo " zaptel.conf.octoBRI" - einfo "" - einfo "${ROOT}etc/asterisk/" - einfo " zapata.conf.zaphfc" - einfo " zapata.conf.quadBRI" - einfo " zapata.conf.octoBRI" - echo - fi - - # fix permissions if there's no udev / devfs around - if [[ -d ${ROOT}dev/zap ]]; then - chown -R root:dialout ${ROOT}dev/zap - chmod -R u=rwX,g=rwX,o= ${ROOT}dev/zap - fi -} diff --git a/net-misc/zaptel/zaptel-1.2.3.ebuild b/net-misc/zaptel/zaptel-1.2.3.ebuild deleted file mode 100644 index cb78059..0000000 --- a/net-misc/zaptel/zaptel-1.2.3.ebuild +++ /dev/null @@ -1,377 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/zaptel/zaptel-1.2.1.ebuild,v 1.1 2005/12/16 20:49:44 stkn Exp $ - -inherit toolchain-funcs eutils linux-mod - -## TODO: -# -# - bristuff (waiting for next upstream release...) -# - cleanup (work-in-progress) -# - testing of new features (zapras / -net) -# - -BRI_VERSION="0.3.0-PRE-1i" -FLORZ_VERSION="0.3.0-PRE-1f_florz-11" - -IUSE="bri devfs26 ecmark ecmark2 ecmark3 ecaggressive eckb1 ecmg2 ecsteve ecsteve2 florz rtc ukcid watchdog zapras zapnet" - -MY_P="${P/_/-}" - -DESCRIPTION="Drivers for Digium and ZapataTelephony cards" -HOMEPAGE="http://www.asterisk.org" -SRC_URI="http://ftp.digium.com/pub/zaptel/old/${MY_P}.tar.gz - bri? ( http://www.junghanns.net/downloads/bristuff-${BRI_VERSION}.tar.gz ) - florz? ( http://zaphfc.florz.dyndns.org/zaphfc_${FLORZ_VERSION}.diff.gz )" - -S="${WORKDIR}/${MY_P}" - -S_BRI="${WORKDIR}/bristuff-${BRI_VERSION}" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~x86" - -DEPEND="virtual/libc - virtual/linux-sources - >=dev-libs/newt-0.50.0" - -# list of echo canceller use flags, -# first active in this list is selected (=order does matter) -ZAP_EC_FLAGS="ecmark ecmark2 ecmark3 ecsteve ecsteve2 eckb1 ecmg2" - -### Begin: Helper functions - -select_echo_cancel() { - local myEC="" - - for x in ${ZAP_EC_FLAGS}; do - if use $x; then - myEC=$(echo "$x" | sed -e "s:^ec::" | tr '[:lower:]' '[:upper:]') - break; - fi - done - - echo ${myEC} -} - -zconfig_disable() { - if grep -q "${1}" ${S}/zconfig.h; then - # match a little more than ${1} so we can use zconfig_disable - # to disable all echo cancellers in zconfig.h w/o calling it several times - sed -i -e "s:^[ \t]*#define[ \t]\+\(${1}[a-zA-Z0-9_-]*\).*:#undef \1:" \ - ${S}/zconfig.h - fi - - return $? -} - -zconfig_enable() { - if grep -q "${1}" ${S}/zconfig.h; then - sed -i -e "s:^/\*[ \t]*#define[ \t]\+\(${1}\).*:#define \1:" \ - -e "s:^[ \t]*#undef[ \t]\+\(${1}\).*:#define \1:" \ - ${S}/zconfig.h - fi - - return $? -} - -### End: Helper functions - -pkg_setup() { - local result=0 numec=0 - - linux-mod_pkg_setup - - einfo "Running pre-flight checks..." - - # basic zaptel checks - if ! linux_chkconfig_present CRC_CCITT; then - echo - eerror "Your kernel lacks CRC_CCIT support!" - eerror "Enable CONFIG_CRC_CCIT!" - result=$((result+1)) - fi - - # check if multiple echo cancellers have been selected - for x in ${ZAP_EC_FLAGS}; do - use $x && numec=$((numec+1)) - 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 - echo - ewarn "Multiple echo canceller flags are active but only one will be used!" - ewarn "Selected: $(select_echo_cancel)" - fi - - # we need at least HDLC generic support - if use zapnet && ! linux_chkconfig_present HDLC; then - echo - eerror "zapnet: Your kernel lacks HDLC support!" - eerror "zapnet: Enable CONFIG_HDLC* to use zaptel network support!" - result=$((result+1)) - fi - - # zapras needs PPP support - if use zapras && ! linux_chkconfig_present PPP; then - echo - eerror "zapras: Your kernel lacks PPP support!" - eerror "zapras: Enable CONFIG_PPP* to use zaptel ras support!" - result=$((result+1)) - fi - - # rtc needs linux-2.6 and CONFIG_RTC - if use rtc; then - if ! kernel_is 2 6; then - echo - eerror "rtc: >=Linux-2.6.0 is needed for rtc support!" - result=$((result+1)) - fi - - if ! linux_chkconfig_present RTC; then - eerror "rtc: Your kernel lacks RealTime-Clock support!" - result=$((result+1)) - fi - fi - - if [[ $result -gt 0 ]]; then - echo - ewarn "One or more of the neccessary precondition(s) is/are not met!" - ewarn "Look at the messages above, resolve the problem (or disable the use-flag) and try again" - echo - - if [[ $result -lt 3 ]]; then - eerror "[$result Error(s)] Zaptel is not happy :(" - else - eerror "[$result Error(s)] You're making zaptel cry :'(" - fi - die "[$result] Precondition(s) not met" - fi - - echo - einfo "Zaptel is happy and continues... :)" -} - -src_unpack() { - unpack ${A} - - cd ${S} - epatch ${FILESDIR}/${PN}-1.2.2-gentoo.diff - - if kernel_is 2 6 && use devfs26; then - if [[ ${KV_PATCH} -ge 14 ]]; then - eerror "Devfs has been removed in linux-2.6.14, skipping devfs26!" - else - epatch ${FILESDIR}/${PN}-1.2.0-devfs26.diff - - # fix Makefile to not create device nodes for - # devfs enabled 2.6 kernels - sed -i -e 's:grep -q udevd:grep -q \"udevd\\|devfsd\":' \ - Makefile - - # disable udev support on devfs26 systems - zconfig_disable CONFIG_ZAP_UDEV - fi - fi - - use ukcid && \ - epatch ${FILESDIR}/${PN}-1.2.0-ukcid.patch - - # try to apply bristuff patch - if use bri; then - # fix for userpriv - chmod -R a=rwX ${S_BRI} - - einfo "Patching zaptel w/ BRI stuff (${BRI_VERSION})" - epatch ${S_BRI}/patches/zaptel.patch - - cd ${S_BRI} - - if use florz; then - einfo "Using florz patches (${FLORZ_VERSION}) for zaphfc" - - # remove as soon as there's a new florz patch available - sed -i -e "s:zaptel-1\.2\.1:zaptel-1.2.2:g" \ - ${WORKDIR}/zaphfc_${FLORZ_VERSION}.diff - - epatch ${WORKDIR}/zaphfc_${FLORZ_VERSION}.diff - fi - - # patch includes - sed -i -e "s:^#include.*zaptel\.h.*:#include <zaptel.h>:" \ - qozap/qozap.c \ - zaphfc/zaphfc.c \ - cwain/cwain.c - - # patch makefiles - sed -i -e "s:^ZAP[\t ]*=.*:ZAP=-I${S}:" \ - -e "s:^MODCONF=.*:MODCONF=/etc/modules.d/zaptel:" \ - -e "s:linux-2.6:linux:g" \ - qozap/Makefile \ - zaphfc/Makefile \ - cwain/Makefile - - sed -i -e "s:^\(CFLAGS+=-I. \).*:\1 \$(ZAP):" \ - zaphfc/Makefile - - cd ${S} - fi - -### Configuration changes - local myEC - - # prepare zconfig.h - myEC=$(select_echo_cancel) - if [[ -n "${myEC}" ]]; then - einfo "Selected echo canceller: ${myEC}" - # disable default first, set new selected ec afterwards - zconfig_disable ECHO_CAN - zconfig_enable ECHO_CAN_${myEC} - fi - - # enable rtc support on 2.6 - if use rtc && linux_chkconfig_present RTC && kernel_is 2 6; then - einfo "Enabling ztdummy RTC support" - zconfig_enable USE_RTC - fi - - # enable agressive echo surpression - use ecaggressive && \ - zconfig_enable AGGRESSIVE_SUPPRESSOR - - # ppp ras support - use zapras && \ - zconfig_enable CONFIG_ZAPATA_PPP - - # frame relay, syncppp... - use zapnet && \ - zconfig_enable CONFIG_ZAPATA_NET - - # zaptel watchdog - use watchdog && \ - zconfig_enable CONFIG_ZAPTEL_WATCHDOG -} - -src_compile() { - # build - make KVERS=${KV_FULL} \ - KSRC=/usr/src/linux ARCH=$(tc-arch-kernel) || die - - if use bri; then - cd ${S_BRI} - for x in cwain qozap zaphfc; do - einfo "Building ${x}..." - make KVERS=${KV_FULL} \ - KSRC=/usr/src/linux \ - ARCH=$(tc-arch-kernel) \ - -C ${x} || die "make ${x} failed" - done - fi -} - -src_install() { - make INSTALL_PREFIX=${D} ARCH=$(tc-arch-kernel) \ - KVERS=${KV_FULL} KSRC=/usr/src/linux install || die - - dodoc ChangeLog README README.udev README.Linux26 README.fxsusb zaptel.init - dodoc zaptel.conf.sample LICENSE zaptel.sysconfig - - # additional tools - dobin ztmonitor ztspeed zttest - - # install all header files, several packages need the complete set - # (e.g. sangoma wanpipe) - insinto /usr/include/zaptel - doins *.h - - if use bri; then - einfo "Installing bri" - cd ${S_BRI} - - insinto /lib/modules/${KV_FULL}/misc - doins qozap/qozap.${KV_OBJ} - doins zaphfc/zaphfc.${KV_OBJ} - doins cwain/cwain.${KV_OBJ} - - # install example configs for octoBRI and quadBRI - insinto /etc - doins qozap/zaptel.conf.octoBRI - newins qozap/zaptel.conf zaptel.conf.quadBRI - newins zaphfc/zaptel.conf zaptel.conf.zaphfc - - insinto /etc/asterisk - doins qozap/zapata.conf.octoBRI - newins qozap/zapata.conf zapata.conf.quadBRI - newins zaphfc/zapata.conf zapata.conf.zaphfc - - docinto bristuff - dodoc CHANGES INSTALL - - docinto bristuff/qozap - dodoc qozap/LICENSE qozap/TODO qozap/*.conf* - - docinto bristuff/zaphfc - dodoc zaphfc/LICENSE zaphfc/*.conf - - docinto bristuff/cwain - dodoc cwain/TODO cwain/LICENSE - - cd ${S} - fi - - # install init script - newinitd ${FILESDIR}/zaptel.rc6 zaptel - newconfd ${FILESDIR}/zaptel.confd zaptel - - # install devfsd rule file - insinto /etc/devfs.d - newins ${FILESDIR}/zaptel.devfsd zaptel - - # install udev rule file - insinto /etc/udev/rules.d - newins ${FILESDIR}/zaptel.udevd 10-zaptel.rules - - # fix permissions if there's no udev / devfs around - if [[ -d ${D}/dev/zap ]]; then - chown -R root:dialout ${D}/dev/zap - chmod -R u=rwX,g=rwX,o= ${D}/dev/zap - fi -} - -pkg_postinst() { - linux-mod_pkg_postinst - - if kernel_is 2 6 && [[ ${KV_PATCH} -lt 14 ]] && use devfs26; then - ewarn "*** Warning! ***" - ewarn "Devfs support for linux-2.6 is experimental and not" - ewarn "supported by digium or the asterisk project!" - echo - ewarn "Send bug-reports to: stkn@gentoo.org" - fi - - echo - einfo "Use the /etc/init.d/zaptel script to load zaptel.conf settings on startup!" - echo - - if use bri; then - einfo "Bristuff configs have been merged as:" - einfo "" - einfo "${ROOT}etc/" - einfo " zaptel.conf.zaphfc" - einfo " zaptel.conf.quadBRI" - einfo " zaptel.conf.octoBRI" - einfo "" - einfo "${ROOT}etc/asterisk/" - einfo " zapata.conf.zaphfc" - einfo " zapata.conf.quadBRI" - einfo " zapata.conf.octoBRI" - echo - fi - - # fix permissions if there's no udev / devfs around - if [[ -d ${ROOT}dev/zap ]]; then - chown -R root:dialout ${ROOT}dev/zap - chmod -R u=rwX,g=rwX,o= ${ROOT}dev/zap - fi -} diff --git a/net-misc/zaptel/zaptel-1.2.4.ebuild b/net-misc/zaptel/zaptel-1.2.4.ebuild deleted file mode 100644 index 683844a..0000000 --- a/net-misc/zaptel/zaptel-1.2.4.ebuild +++ /dev/null @@ -1,377 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/zaptel/zaptel-1.2.1.ebuild,v 1.1 2005/12/16 20:49:44 stkn Exp $ - -inherit toolchain-funcs eutils linux-mod - -## TODO: -# -# - bristuff (waiting for next upstream release...) -# - cleanup (work-in-progress) -# - testing of new features (zapras / -net) -# - -BRI_VERSION="0.3.0-PRE-1k" -FLORZ_VERSION="0.3.0-PRE-1f_florz-11" - -IUSE="bri devfs26 ecmark ecmark2 ecmark3 ecaggressive eckb1 ecmg2 ecsteve ecsteve2 florz rtc ukcid watchdog zapras zapnet" - -MY_P="${P/_/-}" - -DESCRIPTION="Drivers for Digium and ZapataTelephony cards" -HOMEPAGE="http://www.asterisk.org" -SRC_URI="http://ftp.digium.com/pub/zaptel/old/${MY_P}.tar.gz - bri? ( http://www.junghanns.net/downloads/bristuff-${BRI_VERSION}.tar.gz ) - florz? ( http://zaphfc.florz.dyndns.org/zaphfc_${FLORZ_VERSION}.diff.gz )" - -S="${WORKDIR}/${MY_P}" - -S_BRI="${WORKDIR}/bristuff-${BRI_VERSION}" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~x86" - -DEPEND="virtual/libc - virtual/linux-sources - >=dev-libs/newt-0.50.0" - -# list of echo canceller use flags, -# first active in this list is selected (=order does matter) -ZAP_EC_FLAGS="ecmark ecmark2 ecmark3 ecsteve ecsteve2 eckb1 ecmg2" - -### Begin: Helper functions - -select_echo_cancel() { - local myEC="" - - for x in ${ZAP_EC_FLAGS}; do - if use $x; then - myEC=$(echo "$x" | sed -e "s:^ec::" | tr '[:lower:]' '[:upper:]') - break; - fi - done - - echo ${myEC} -} - -zconfig_disable() { - if grep -q "${1}" ${S}/zconfig.h; then - # match a little more than ${1} so we can use zconfig_disable - # to disable all echo cancellers in zconfig.h w/o calling it several times - sed -i -e "s:^[ \t]*#define[ \t]\+\(${1}[a-zA-Z0-9_-]*\).*:#undef \1:" \ - ${S}/zconfig.h - fi - - return $? -} - -zconfig_enable() { - if grep -q "${1}" ${S}/zconfig.h; then - sed -i -e "s:^/\*[ \t]*#define[ \t]\+\(${1}\).*:#define \1:" \ - -e "s:^[ \t]*#undef[ \t]\+\(${1}\).*:#define \1:" \ - ${S}/zconfig.h - fi - - return $? -} - -### End: Helper functions - -pkg_setup() { - local result=0 numec=0 - - linux-mod_pkg_setup - - einfo "Running pre-flight checks..." - - # basic zaptel checks - if ! linux_chkconfig_present CRC_CCITT; then - echo - eerror "Your kernel lacks CRC_CCIT support!" - eerror "Enable CONFIG_CRC_CCIT!" - result=$((result+1)) - fi - - # check if multiple echo cancellers have been selected - for x in ${ZAP_EC_FLAGS}; do - use $x && numec=$((numec+1)) - 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 - echo - ewarn "Multiple echo canceller flags are active but only one will be used!" - ewarn "Selected: $(select_echo_cancel)" - fi - - # we need at least HDLC generic support - if use zapnet && ! linux_chkconfig_present HDLC; then - echo - eerror "zapnet: Your kernel lacks HDLC support!" - eerror "zapnet: Enable CONFIG_HDLC* to use zaptel network support!" - result=$((result+1)) - fi - - # zapras needs PPP support - if use zapras && ! linux_chkconfig_present PPP; then - echo - eerror "zapras: Your kernel lacks PPP support!" - eerror "zapras: Enable CONFIG_PPP* to use zaptel ras support!" - result=$((result+1)) - fi - - # rtc needs linux-2.6 and CONFIG_RTC - if use rtc; then - if ! kernel_is 2 6; then - echo - eerror "rtc: >=Linux-2.6.0 is needed for rtc support!" - result=$((result+1)) - fi - - if ! linux_chkconfig_present RTC; then - eerror "rtc: Your kernel lacks RealTime-Clock support!" - result=$((result+1)) - fi - fi - - if [[ $result -gt 0 ]]; then - echo - ewarn "One or more of the neccessary precondition(s) is/are not met!" - ewarn "Look at the messages above, resolve the problem (or disable the use-flag) and try again" - echo - - if [[ $result -lt 3 ]]; then - eerror "[$result Error(s)] Zaptel is not happy :(" - else - eerror "[$result Error(s)] You're making zaptel cry :'(" - fi - die "[$result] Precondition(s) not met" - fi - - echo - einfo "Zaptel is happy and continues... :)" -} - -src_unpack() { - unpack ${A} - - cd ${S} - epatch ${FILESDIR}/${PN}-1.2.2-gentoo.diff - - if kernel_is 2 6 && use devfs26; then - if [[ ${KV_PATCH} -ge 14 ]]; then - eerror "Devfs has been removed in linux-2.6.14, skipping devfs26!" - else - epatch ${FILESDIR}/${PN}-1.2.0-devfs26.diff - - # fix Makefile to not create device nodes for - # devfs enabled 2.6 kernels - sed -i -e 's:grep -q udevd:grep -q \"udevd\\|devfsd\":' \ - Makefile - - # disable udev support on devfs26 systems - zconfig_disable CONFIG_ZAP_UDEV - fi - fi - - use ukcid && \ - epatch ${FILESDIR}/${PN}-1.2.0-ukcid.patch - - # try to apply bristuff patch - if use bri; then - # fix for userpriv - chmod -R a=rwX ${S_BRI} - - einfo "Patching zaptel w/ BRI stuff (${BRI_VERSION})" - epatch ${S_BRI}/patches/zaptel.patch - - cd ${S_BRI} - - if use florz; then - einfo "Using florz patches (${FLORZ_VERSION}) for zaphfc" - - # remove as soon as there's a new florz patch available - sed -i -e "s:zaptel-1\.2\.1:zaptel-1.2.3:g" \ - ${WORKDIR}/zaphfc_${FLORZ_VERSION}.diff - - epatch ${WORKDIR}/zaphfc_${FLORZ_VERSION}.diff - fi - - # patch includes - sed -i -e "s:^#include.*zaptel\.h.*:#include <zaptel.h>:" \ - qozap/qozap.c \ - zaphfc/zaphfc.c \ - cwain/cwain.c - - # patch makefiles - sed -i -e "s:^ZAP[\t ]*=.*:ZAP=-I${S}:" \ - -e "s:^MODCONF=.*:MODCONF=/etc/modules.d/zaptel:" \ - -e "s:linux-2.6:linux:g" \ - qozap/Makefile \ - zaphfc/Makefile \ - cwain/Makefile - - sed -i -e "s:^\(CFLAGS+=-I. \).*:\1 \$(ZAP):" \ - zaphfc/Makefile - - cd ${S} - fi - -### Configuration changes - local myEC - - # prepare zconfig.h - myEC=$(select_echo_cancel) - if [[ -n "${myEC}" ]]; then - einfo "Selected echo canceller: ${myEC}" - # disable default first, set new selected ec afterwards - zconfig_disable ECHO_CAN - zconfig_enable ECHO_CAN_${myEC} - fi - - # enable rtc support on 2.6 - if use rtc && linux_chkconfig_present RTC && kernel_is 2 6; then - einfo "Enabling ztdummy RTC support" - zconfig_enable USE_RTC - fi - - # enable agressive echo surpression - use ecaggressive && \ - zconfig_enable AGGRESSIVE_SUPPRESSOR - - # ppp ras support - use zapras && \ - zconfig_enable CONFIG_ZAPATA_PPP - - # frame relay, syncppp... - use zapnet && \ - zconfig_enable CONFIG_ZAPATA_NET - - # zaptel watchdog - use watchdog && \ - zconfig_enable CONFIG_ZAPTEL_WATCHDOG -} - -src_compile() { - # build - make KVERS=${KV_FULL} \ - KSRC=/usr/src/linux ARCH=$(tc-arch-kernel) || die - - if use bri; then - cd ${S_BRI} - for x in cwain qozap zaphfc; do - einfo "Building ${x}..." - make KVERS=${KV_FULL} \ - KSRC=/usr/src/linux \ - ARCH=$(tc-arch-kernel) \ - -C ${x} || die "make ${x} failed" - done - fi -} - -src_install() { - make INSTALL_PREFIX=${D} ARCH=$(tc-arch-kernel) \ - KVERS=${KV_FULL} KSRC=/usr/src/linux install || die - - dodoc ChangeLog README README.udev README.Linux26 README.fxsusb zaptel.init - dodoc zaptel.conf.sample LICENSE zaptel.sysconfig - - # additional tools - dobin ztmonitor ztspeed zttest - - # install all header files, several packages need the complete set - # (e.g. sangoma wanpipe) - insinto /usr/include/zaptel - doins *.h - - if use bri; then - einfo "Installing bri" - cd ${S_BRI} - - insinto /lib/modules/${KV_FULL}/misc - doins qozap/qozap.${KV_OBJ} - doins zaphfc/zaphfc.${KV_OBJ} - doins cwain/cwain.${KV_OBJ} - - # install example configs for octoBRI and quadBRI - insinto /etc - doins qozap/zaptel.conf.octoBRI - newins qozap/zaptel.conf zaptel.conf.quadBRI - newins zaphfc/zaptel.conf zaptel.conf.zaphfc - - insinto /etc/asterisk - doins qozap/zapata.conf.octoBRI - newins qozap/zapata.conf zapata.conf.quadBRI - newins zaphfc/zapata.conf zapata.conf.zaphfc - - docinto bristuff - dodoc CHANGES INSTALL - - docinto bristuff/qozap - dodoc qozap/LICENSE qozap/TODO qozap/*.conf* - - docinto bristuff/zaphfc - dodoc zaphfc/LICENSE zaphfc/*.conf - - docinto bristuff/cwain - dodoc cwain/TODO cwain/LICENSE - - cd ${S} - fi - - # install init script - newinitd ${FILESDIR}/zaptel.rc6 zaptel - newconfd ${FILESDIR}/zaptel.confd zaptel - - # install devfsd rule file - insinto /etc/devfs.d - newins ${FILESDIR}/zaptel.devfsd zaptel - - # install udev rule file - insinto /etc/udev/rules.d - newins ${FILESDIR}/zaptel.udevd 10-zaptel.rules - - # fix permissions if there's no udev / devfs around - if [[ -d ${D}/dev/zap ]]; then - chown -R root:dialout ${D}/dev/zap - chmod -R u=rwX,g=rwX,o= ${D}/dev/zap - fi -} - -pkg_postinst() { - linux-mod_pkg_postinst - - if kernel_is 2 6 && [[ ${KV_PATCH} -lt 14 ]] && use devfs26; then - ewarn "*** Warning! ***" - ewarn "Devfs support for linux-2.6 is experimental and not" - ewarn "supported by digium or the asterisk project!" - echo - ewarn "Send bug-reports to: stkn@gentoo.org" - fi - - echo - einfo "Use the /etc/init.d/zaptel script to load zaptel.conf settings on startup!" - echo - - if use bri; then - einfo "Bristuff configs have been merged as:" - einfo "" - einfo "${ROOT}etc/" - einfo " zaptel.conf.zaphfc" - einfo " zaptel.conf.quadBRI" - einfo " zaptel.conf.octoBRI" - einfo "" - einfo "${ROOT}etc/asterisk/" - einfo " zapata.conf.zaphfc" - einfo " zapata.conf.quadBRI" - einfo " zapata.conf.octoBRI" - echo - fi - - # fix permissions if there's no udev / devfs around - if [[ -d ${ROOT}dev/zap ]]; then - chown -R root:dialout ${ROOT}dev/zap - chmod -R u=rwX,g=rwX,o= ${ROOT}dev/zap - fi -} diff --git a/net-misc/zaptel/zaptel-1.2.5-r1.ebuild b/net-misc/zaptel/zaptel-1.2.5-r1.ebuild deleted file mode 100644 index 497cec3..0000000 --- a/net-misc/zaptel/zaptel-1.2.5-r1.ebuild +++ /dev/null @@ -1,387 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/zaptel/zaptel-1.2.1.ebuild,v 1.1 2005/12/16 20:49:44 stkn Exp $ - -inherit toolchain-funcs eutils linux-mod - -## TODO: -# -# - bristuff (waiting for next upstream release...) -# - cleanup (work-in-progress) -# - testing of new features (zapras / -net) -# - -BRI_VERSION="0.3.0-PRE-1n" -FLORZ_VERSION="0.3.0-PRE-1n_florz-11" - -IUSE="bri devfs26 ecmark ecmark2 ecmark3 ecaggressive eckb1 ecmg2 ecsteve ecsteve2 florz rtc ukcid watchdog zapgsm zapras zapnet" - -MY_P="${P/_/-}" - -DESCRIPTION="Drivers for Digium and ZapataTelephony cards" -HOMEPAGE="http://www.asterisk.org" -SRC_URI="http://ftp.digium.com/pub/zaptel/${MY_P}.tar.gz - bri? ( http://www.junghanns.net/downloads/bristuff-${BRI_VERSION}.tar.gz ) - florz? ( http://www.netdomination.org/pub/asterisk/zaphfc_${FLORZ_VERSION}.diff.gz )" - -S="${WORKDIR}/${MY_P}" - -S_BRI="${WORKDIR}/bristuff-${BRI_VERSION}" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~x86" - -DEPEND="virtual/libc - virtual/linux-sources - >=dev-libs/newt-0.50.0" - -# list of echo canceller use flags, -# first active in this list is selected (=order does matter) -ZAP_EC_FLAGS="ecmark ecmark2 ecmark3 ecsteve ecsteve2 eckb1 ecmg2" - -### Begin: Helper functions - -select_echo_cancel() { - local myEC="" - - for x in ${ZAP_EC_FLAGS}; do - if use $x; then - myEC=$(echo "$x" | sed -e "s:^ec::" | tr '[:lower:]' '[:upper:]') - break; - fi - done - - echo ${myEC} -} - -zconfig_disable() { - if grep -q "${1}" ${S}/zconfig.h; then - # match a little more than ${1} so we can use zconfig_disable - # to disable all echo cancellers in zconfig.h w/o calling it several times - sed -i -e "s:^[ \t]*#define[ \t]\+\(${1}[a-zA-Z0-9_-]*\).*:#undef \1:" \ - ${S}/zconfig.h - else - sed -i -e "\$i#undef ${1}" \ - ${S}/zconfig.h - fi - - return $? -} - -zconfig_enable() { - if grep -q "${1}" ${S}/zconfig.h; then - sed -i -e "s:^/\*[ \t]*#define[ \t]\+\(${1}\).*:#define \1:" \ - -e "s:^[ \t]*#undef[ \t]\+\(${1}\).*:#define \1:" \ - ${S}/zconfig.h - else - sed -i -e "\$i#define ${1}" \ - ${S}/zconfig.h - fi - - return $? -} - -### End: Helper functions - -pkg_setup() { - local result=0 numec=0 - - linux-mod_pkg_setup - - einfo "Running pre-flight checks..." - - # basic zaptel checks - if ! linux_chkconfig_present CRC_CCITT; then - echo - eerror "Your kernel lacks CRC_CCIT support!" - eerror "Enable CONFIG_CRC_CCIT!" - result=$((result+1)) - fi - - # check if multiple echo cancellers have been selected - for x in ${ZAP_EC_FLAGS}; do - use $x && numec=$((numec+1)) - 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 - echo - ewarn "Multiple echo canceller flags are active but only one will be used!" - ewarn "Selected: $(select_echo_cancel)" - fi - - # we need at least HDLC generic support - if use zapnet && ! linux_chkconfig_present HDLC; then - echo - eerror "zapnet: Your kernel lacks HDLC support!" - eerror "zapnet: Enable CONFIG_HDLC* to use zaptel network support!" - result=$((result+1)) - fi - - # zapras needs PPP support - if use zapras && ! linux_chkconfig_present PPP; then - echo - eerror "zapras: Your kernel lacks PPP support!" - eerror "zapras: Enable CONFIG_PPP* to use zaptel ras support!" - result=$((result+1)) - fi - - # rtc needs linux-2.6 and CONFIG_RTC - if use rtc; then - if ! kernel_is 2 6; then - echo - eerror "rtc: >=Linux-2.6.0 is needed for rtc support!" - result=$((result+1)) - fi - - if ! linux_chkconfig_present RTC; then - eerror "rtc: Your kernel lacks RealTime-Clock support!" - result=$((result+1)) - fi - fi - - if [[ $result -gt 0 ]]; then - echo - ewarn "One or more of the neccessary precondition(s) is/are not met!" - ewarn "Look at the messages above, resolve the problem (or disable the use-flag) and try again" - echo - - if [[ $result -lt 3 ]]; then - eerror "[$result Error(s)] Zaptel is not happy :(" - else - eerror "[$result Error(s)] You're making zaptel cry :'(" - fi - die "[$result] Precondition(s) not met" - fi - - echo - einfo "Zaptel is happy and continues... :)" -} - -src_unpack() { - unpack ${A} - - cd ${S} - epatch ${FILESDIR}/${PN}-1.2.2-gentoo.diff - - if kernel_is 2 6 && use devfs26; then - if [[ ${KV_PATCH} -ge 14 ]]; then - eerror "Devfs has been removed in linux-2.6.14, skipping devfs26!" - else - epatch ${FILESDIR}/${PN}-1.2.0-devfs26.diff - - # fix Makefile to not create device nodes for - # devfs enabled 2.6 kernels - sed -i -e 's:grep -q udevd:grep -q \"udevd\\|devfsd\":' \ - Makefile - - # disable udev support on devfs26 systems - zconfig_disable CONFIG_ZAP_UDEV - fi - fi - - use ukcid && \ - epatch ${FILESDIR}/${PN}-1.2.0-ukcid.patch - - # try to apply bristuff patch - if use bri; then - # fix for userpriv - chmod -R a=rwX ${S_BRI} - - einfo "Patching zaptel w/ BRI stuff (${BRI_VERSION})" - epatch ${S_BRI}/patches/zaptel.patch - - cd ${S_BRI} - - if use florz; then - einfo "Using florz patches (${FLORZ_VERSION}) for zaphfc" - - # remove as soon as there's a new florz patch available - sed -i -e "s:zaptel-1\.2\.1:zaptel-1.2.3:g" \ - ${WORKDIR}/zaphfc_${FLORZ_VERSION}.diff - - epatch ${WORKDIR}/zaphfc_${FLORZ_VERSION}.diff - fi - - # patch includes - sed -i -e "s:^#include.*zaptel\.h.*:#include <zaptel.h>:" \ - qozap/qozap.c \ - zaphfc/zaphfc.c \ - cwain/cwain.c - - # patch makefiles - sed -i -e "s:^ZAP[\t ]*=.*:ZAP=-I${S}:" \ - -e "s:^MODCONF=.*:MODCONF=/etc/modules.d/zaptel:" \ - -e "s:linux-2.6:linux:g" \ - qozap/Makefile \ - zaphfc/Makefile \ - cwain/Makefile - - sed -i -e "s:^\(CFLAGS+=-I. \).*:\1 \$(ZAP):" \ - zaphfc/Makefile - - cd ${S} - fi - -### Configuration changes - local myEC - - # prepare zconfig.h - myEC=$(select_echo_cancel) - if [[ -n "${myEC}" ]]; then - einfo "Selected echo canceller: ${myEC}" - # disable default first, set new selected ec afterwards - zconfig_disable ECHO_CAN - zconfig_enable ECHO_CAN_${myEC} - fi - - # enable rtc support on 2.6 - if use rtc && linux_chkconfig_present RTC && kernel_is 2 6; then - einfo "Enabling ztdummy RTC support" - zconfig_enable USE_RTC - fi - - # enable agressive echo surpression - use ecaggressive && \ - zconfig_enable AGGRESSIVE_SUPPRESSOR - - # ppp ras support - use zapras && \ - zconfig_enable CONFIG_ZAPATA_PPP - - # frame relay, syncppp... - use zapnet && \ - zconfig_enable CONFIG_ZAPATA_NET - - # zaptel watchdog - use watchdog && \ - zconfig_enable CONFIG_ZAPTEL_WATCHDOG - - # disable gsm support - use zapgsm || \ - zconfig_disable ZAPATA_GSM -} - -src_compile() { - # build - make KVERS=${KV_FULL} \ - KSRC=/usr/src/linux ARCH=$(tc-arch-kernel) || die - - if use bri; then - cd ${S_BRI} - for x in cwain qozap zaphfc; do - einfo "Building ${x}..." - make KVERS=${KV_FULL} \ - KSRC=/usr/src/linux \ - ARCH=$(tc-arch-kernel) \ - -C ${x} || die "make ${x} failed" - done - fi -} - -src_install() { - make INSTALL_PREFIX=${D} ARCH=$(tc-arch-kernel) \ - KVERS=${KV_FULL} KSRC=/usr/src/linux install || die - - dodoc ChangeLog README README.udev README.Linux26 README.fxsusb zaptel.init - dodoc zaptel.conf.sample LICENSE zaptel.sysconfig - - # additional tools - dobin ztmonitor ztspeed zttest - - # install all header files, several packages need the complete set - # (e.g. sangoma wanpipe) - insinto /usr/include/zaptel - doins *.h - - if use bri; then - einfo "Installing bri" - cd ${S_BRI} - - insinto /lib/modules/${KV_FULL}/misc - doins qozap/qozap.${KV_OBJ} - doins zaphfc/zaphfc.${KV_OBJ} - doins cwain/cwain.${KV_OBJ} - - # install example configs for octoBRI and quadBRI - insinto /etc - doins qozap/zaptel.conf.octoBRI - newins qozap/zaptel.conf zaptel.conf.quadBRI - newins zaphfc/zaptel.conf zaptel.conf.zaphfc - - insinto /etc/asterisk - doins qozap/zapata.conf.octoBRI - newins qozap/zapata.conf zapata.conf.quadBRI - newins zaphfc/zapata.conf zapata.conf.zaphfc - - docinto bristuff - dodoc CHANGES INSTALL - - docinto bristuff/qozap - dodoc qozap/LICENSE qozap/TODO qozap/*.conf* - - docinto bristuff/zaphfc - dodoc zaphfc/LICENSE zaphfc/*.conf - - docinto bristuff/cwain - dodoc cwain/TODO cwain/LICENSE - - cd ${S} - fi - - # install init script - newinitd ${FILESDIR}/zaptel.rc6 zaptel - newconfd ${FILESDIR}/zaptel.confd zaptel - - # install devfsd rule file - insinto /etc/devfs.d - newins ${FILESDIR}/zaptel.devfsd zaptel - - # install udev rule file - insinto /etc/udev/rules.d - newins ${FILESDIR}/zaptel.udevd 10-zaptel.rules - - # fix permissions if there's no udev / devfs around - if [[ -d ${D}/dev/zap ]]; then - chown -R root:dialout ${D}/dev/zap - chmod -R u=rwX,g=rwX,o= ${D}/dev/zap - fi -} - -pkg_postinst() { - linux-mod_pkg_postinst - - if kernel_is 2 6 && [[ ${KV_PATCH} -lt 14 ]] && use devfs26; then - ewarn "*** Warning! ***" - ewarn "Devfs support for linux-2.6 is experimental and not" - ewarn "supported by digium or the asterisk project!" - echo - ewarn "Send bug-reports to: stkn@gentoo.org" - fi - - echo - einfo "Use the /etc/init.d/zaptel script to load zaptel.conf settings on startup!" - echo - - if use bri; then - einfo "Bristuff configs have been merged as:" - einfo "" - einfo "${ROOT}etc/" - einfo " zaptel.conf.zaphfc" - einfo " zaptel.conf.quadBRI" - einfo " zaptel.conf.octoBRI" - einfo "" - einfo "${ROOT}etc/asterisk/" - einfo " zapata.conf.zaphfc" - einfo " zapata.conf.quadBRI" - einfo " zapata.conf.octoBRI" - echo - fi - - # fix permissions if there's no udev / devfs around - if [[ -d ${ROOT}dev/zap ]]; then - chown -R root:dialout ${ROOT}dev/zap - chmod -R u=rwX,g=rwX,o= ${ROOT}dev/zap - fi -} diff --git a/net-misc/zaptel/zaptel-1.2.5-r2.ebuild b/net-misc/zaptel/zaptel-1.2.5-r2.ebuild deleted file mode 100644 index 53cf959..0000000 --- a/net-misc/zaptel/zaptel-1.2.5-r2.ebuild +++ /dev/null @@ -1,377 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/zaptel/zaptel-1.2.1.ebuild,v 1.1 2005/12/16 20:49:44 stkn Exp $ - -inherit toolchain-funcs eutils linux-mod - -## TODO: -# -# - bristuff (waiting for next upstream release...) -# - cleanup (work-in-progress) -# - testing of new features (zapras / -net) -# - -BRI_VERSION="0.3.0-PRE-1o" -FLORZ_VERSION="0.3.0-PRE-1o_florz-12" - -IUSE="bri devfs26 ecmark ecmark2 ecmark3 ecaggressive eckb1 ecmg2 ecsteve ecsteve2 florz rtc ukcid watchdog zapras zapnet" - -MY_P="${P/_/-}" - -DESCRIPTION="Drivers for Digium and ZapataTelephony cards" -HOMEPAGE="http://www.asterisk.org" -SRC_URI="http://ftp.digium.com/pub/zaptel/${MY_P}.tar.gz - bri? ( http://www.junghanns.net/downloads/bristuff-${BRI_VERSION}.tar.gz ) - florz? ( http://zaphfc.florz.dyndns.org/zaphfc_${FLORZ_VERSION}.diff.gz )" - -S="${WORKDIR}/${MY_P}" - -S_BRI="${WORKDIR}/bristuff-${BRI_VERSION}" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~x86" - -DEPEND="virtual/libc - virtual/linux-sources - >=dev-libs/newt-0.50.0" - -# list of echo canceller use flags, -# first active in this list is selected (=order does matter) -ZAP_EC_FLAGS="ecmark ecmark2 ecmark3 ecsteve ecsteve2 eckb1 ecmg2" - -### Begin: Helper functions - -select_echo_cancel() { - local myEC="" - - for x in ${ZAP_EC_FLAGS}; do - if use $x; then - myEC=$(echo "$x" | sed -e "s:^ec::" | tr '[:lower:]' '[:upper:]') - break; - fi - done - - echo ${myEC} -} - -zconfig_disable() { - if grep -q "${1}" ${S}/zconfig.h; then - # match a little more than ${1} so we can use zconfig_disable - # to disable all echo cancellers in zconfig.h w/o calling it several times - sed -i -e "s:^[ \t]*#define[ \t]\+\(${1}[a-zA-Z0-9_-]*\).*:#undef \1:" \ - ${S}/zconfig.h - fi - - return $? -} - -zconfig_enable() { - if grep -q "${1}" ${S}/zconfig.h; then - sed -i -e "s:^/\*[ \t]*#define[ \t]\+\(${1}\).*:#define \1:" \ - -e "s:^[ \t]*#undef[ \t]\+\(${1}\).*:#define \1:" \ - ${S}/zconfig.h - fi - - return $? -} - -### End: Helper functions - -pkg_setup() { - local result=0 numec=0 - - linux-mod_pkg_setup - - einfo "Running pre-flight checks..." - - # basic zaptel checks - if ! linux_chkconfig_present CRC_CCITT; then - echo - eerror "Your kernel lacks CRC_CCIT support!" - eerror "Enable CONFIG_CRC_CCIT!" - result=$((result+1)) - fi - - # check if multiple echo cancellers have been selected - for x in ${ZAP_EC_FLAGS}; do - use $x && numec=$((numec+1)) - 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 - echo - ewarn "Multiple echo canceller flags are active but only one will be used!" - ewarn "Selected: $(select_echo_cancel)" - fi - - # we need at least HDLC generic support - if use zapnet && ! linux_chkconfig_present HDLC; then - echo - eerror "zapnet: Your kernel lacks HDLC support!" - eerror "zapnet: Enable CONFIG_HDLC* to use zaptel network support!" - result=$((result+1)) - fi - - # zapras needs PPP support - if use zapras && ! linux_chkconfig_present PPP; then - echo - eerror "zapras: Your kernel lacks PPP support!" - eerror "zapras: Enable CONFIG_PPP* to use zaptel ras support!" - result=$((result+1)) - fi - - # rtc needs linux-2.6 and CONFIG_RTC - if use rtc; then - if ! kernel_is 2 6; then - echo - eerror "rtc: >=Linux-2.6.0 is needed for rtc support!" - result=$((result+1)) - fi - - if ! linux_chkconfig_present RTC; then - eerror "rtc: Your kernel lacks RealTime-Clock support!" - result=$((result+1)) - fi - fi - - if [[ $result -gt 0 ]]; then - echo - ewarn "One or more of the neccessary precondition(s) is/are not met!" - ewarn "Look at the messages above, resolve the problem (or disable the use-flag) and try again" - echo - - if [[ $result -lt 3 ]]; then - eerror "[$result Error(s)] Zaptel is not happy :(" - else - eerror "[$result Error(s)] You're making zaptel cry :'(" - fi - die "[$result] Precondition(s) not met" - fi - - echo - einfo "Zaptel is happy and continues... :)" -} - -src_unpack() { - unpack ${A} - - cd ${S} - epatch ${FILESDIR}/${PN}-1.2.2-gentoo.diff - - if kernel_is 2 6 && use devfs26; then - if [[ ${KV_PATCH} -ge 14 ]]; then - eerror "Devfs has been removed in linux-2.6.14, skipping devfs26!" - else - epatch ${FILESDIR}/${PN}-1.2.0-devfs26.diff - - # fix Makefile to not create device nodes for - # devfs enabled 2.6 kernels - sed -i -e 's:grep -q udevd:grep -q \"udevd\\|devfsd\":' \ - Makefile - - # disable udev support on devfs26 systems - zconfig_disable CONFIG_ZAP_UDEV - fi - fi - - use ukcid && \ - epatch ${FILESDIR}/${PN}-1.2.0-ukcid.patch - - # try to apply bristuff patch - if use bri; then - # fix for userpriv - chmod -R a=rwX ${S_BRI} - - einfo "Patching zaptel w/ BRI stuff (${BRI_VERSION})" - epatch ${S_BRI}/patches/zaptel.patch - - cd ${S_BRI} - - if use florz; then - einfo "Using florz patches (${FLORZ_VERSION}) for zaphfc" - -# # remove as soon as there's a new florz patch available -# sed -i -e "s:zaptel-1\.2\.1:zaptel-1.2.5:g" \ -# ${WORKDIR}/zaphfc_${FLORZ_VERSION}.diff - - epatch ${WORKDIR}/zaphfc_${FLORZ_VERSION}.diff - fi - - # patch includes - sed -i -e "s:^#include.*zaptel\.h.*:#include <zaptel.h>:" \ - qozap/qozap.c \ - zaphfc/zaphfc.c \ - cwain/cwain.c - - # patch makefiles - sed -i -e "s:^ZAP[\t ]*=.*:ZAP=-I${S}:" \ - -e "s:^MODCONF=.*:MODCONF=/etc/modules.d/zaptel:" \ - -e "s:linux-2.6:linux:g" \ - qozap/Makefile \ - zaphfc/Makefile \ - cwain/Makefile - - sed -i -e "s:^\(CFLAGS+=-I. \).*:\1 \$(ZAP):" \ - zaphfc/Makefile - - cd ${S} - fi - -### Configuration changes - local myEC - - # prepare zconfig.h - myEC=$(select_echo_cancel) - if [[ -n "${myEC}" ]]; then - einfo "Selected echo canceller: ${myEC}" - # disable default first, set new selected ec afterwards - zconfig_disable ECHO_CAN - zconfig_enable ECHO_CAN_${myEC} - fi - - # enable rtc support on 2.6 - if use rtc && linux_chkconfig_present RTC && kernel_is 2 6; then - einfo "Enabling ztdummy RTC support" - zconfig_enable USE_RTC - fi - - # enable agressive echo surpression - use ecaggressive && \ - zconfig_enable AGGRESSIVE_SUPPRESSOR - - # ppp ras support - use zapras && \ - zconfig_enable CONFIG_ZAPATA_PPP - - # frame relay, syncppp... - use zapnet && \ - zconfig_enable CONFIG_ZAPATA_NET - - # zaptel watchdog - use watchdog && \ - zconfig_enable CONFIG_ZAPTEL_WATCHDOG -} - -src_compile() { - # build - make KVERS=${KV_FULL} \ - KSRC=/usr/src/linux ARCH=$(tc-arch-kernel) || die - - if use bri; then - cd ${S_BRI} - for x in cwain qozap zaphfc; do - einfo "Building ${x}..." - make KVERS=${KV_FULL} \ - KSRC=/usr/src/linux \ - ARCH=$(tc-arch-kernel) \ - -C ${x} || die "make ${x} failed" - done - fi -} - -src_install() { - make INSTALL_PREFIX=${D} ARCH=$(tc-arch-kernel) \ - KVERS=${KV_FULL} KSRC=/usr/src/linux install || die - - dodoc ChangeLog README README.udev README.Linux26 README.fxsusb zaptel.init - dodoc zaptel.conf.sample LICENSE zaptel.sysconfig - - # additional tools - dobin ztmonitor ztspeed zttest - - # install all header files, several packages need the complete set - # (e.g. sangoma wanpipe) - insinto /usr/include/zaptel - doins *.h - - if use bri; then - einfo "Installing bri" - cd ${S_BRI} - - insinto /lib/modules/${KV_FULL}/misc - doins qozap/qozap.${KV_OBJ} - doins zaphfc/zaphfc.${KV_OBJ} - doins cwain/cwain.${KV_OBJ} - - # install example configs for octoBRI and quadBRI - insinto /etc - doins qozap/zaptel.conf.octoBRI - newins qozap/zaptel.conf zaptel.conf.quadBRI - newins zaphfc/zaptel.conf zaptel.conf.zaphfc - - insinto /etc/asterisk - doins qozap/zapata.conf.octoBRI - newins qozap/zapata.conf zapata.conf.quadBRI - newins zaphfc/zapata.conf zapata.conf.zaphfc - - docinto bristuff - dodoc CHANGES INSTALL - - docinto bristuff/qozap - dodoc qozap/LICENSE qozap/TODO qozap/*.conf* - - docinto bristuff/zaphfc - dodoc zaphfc/LICENSE zaphfc/*.conf - - docinto bristuff/cwain - dodoc cwain/TODO cwain/LICENSE - - cd ${S} - fi - - # install init script - newinitd ${FILESDIR}/zaptel.rc6 zaptel - newconfd ${FILESDIR}/zaptel.confd zaptel - - # install devfsd rule file - insinto /etc/devfs.d - newins ${FILESDIR}/zaptel.devfsd zaptel - - # install udev rule file - insinto /etc/udev/rules.d - newins ${FILESDIR}/zaptel.udevd 10-zaptel.rules - - # fix permissions if there's no udev / devfs around - if [[ -d ${D}/dev/zap ]]; then - chown -R root:dialout ${D}/dev/zap - chmod -R u=rwX,g=rwX,o= ${D}/dev/zap - fi -} - -pkg_postinst() { - linux-mod_pkg_postinst - - if kernel_is 2 6 && [[ ${KV_PATCH} -lt 14 ]] && use devfs26; then - ewarn "*** Warning! ***" - ewarn "Devfs support for linux-2.6 is experimental and not" - ewarn "supported by digium or the asterisk project!" - echo - ewarn "Send bug-reports to: stkn@gentoo.org" - fi - - echo - einfo "Use the /etc/init.d/zaptel script to load zaptel.conf settings on startup!" - echo - - if use bri; then - einfo "Bristuff configs have been merged as:" - einfo "" - einfo "${ROOT}etc/" - einfo " zaptel.conf.zaphfc" - einfo " zaptel.conf.quadBRI" - einfo " zaptel.conf.octoBRI" - einfo "" - einfo "${ROOT}etc/asterisk/" - einfo " zapata.conf.zaphfc" - einfo " zapata.conf.quadBRI" - einfo " zapata.conf.octoBRI" - echo - fi - - # fix permissions if there's no udev / devfs around - if [[ -d ${ROOT}dev/zap ]]; then - chown -R root:dialout ${ROOT}dev/zap - chmod -R u=rwX,g=rwX,o= ${ROOT}dev/zap - fi -} diff --git a/net-misc/zaptel/zaptel-1.2.5-r3.ebuild b/net-misc/zaptel/zaptel-1.2.5-r3.ebuild deleted file mode 100644 index 28ff143..0000000 --- a/net-misc/zaptel/zaptel-1.2.5-r3.ebuild +++ /dev/null @@ -1,377 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/zaptel/zaptel-1.2.1.ebuild,v 1.1 2005/12/16 20:49:44 stkn Exp $ - -inherit toolchain-funcs eutils linux-mod - -## TODO: -# -# - bristuff (waiting for next upstream release...) -# - cleanup (work-in-progress) -# - testing of new features (zapras / -net) -# - -BRI_VERSION="0.3.0-PRE-1p" -FLORZ_VERSION="0.3.0-PRE-1n_florz-11" - -IUSE="bri devfs26 ecmark ecmark2 ecmark3 ecaggressive eckb1 ecmg2 ecsteve ecsteve2 rtc ukcid watchdog zapras zapnet" - -MY_P="${P/_/-}" - -DESCRIPTION="Drivers for Digium and ZapataTelephony cards" -HOMEPAGE="http://www.asterisk.org" -SRC_URI="http://ftp.digium.com/pub/zaptel/${MY_P}.tar.gz - bri? ( http://www.junghanns.net/downloads/bristuff-${BRI_VERSION}.tar.gz )" -# florz? ( http://www.netdomination.org/pub/asterisk/zaphfc_${FLORZ_VERSION}.diff.gz )" - -S="${WORKDIR}/${MY_P}" - -S_BRI="${WORKDIR}/bristuff-${BRI_VERSION}" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~x86" - -DEPEND="virtual/libc - virtual/linux-sources - >=dev-libs/newt-0.50.0" - -# list of echo canceller use flags, -# first active in this list is selected (=order does matter) -ZAP_EC_FLAGS="ecmark ecmark2 ecmark3 ecsteve ecsteve2 eckb1 ecmg2" - -### Begin: Helper functions - -select_echo_cancel() { - local myEC="" - - for x in ${ZAP_EC_FLAGS}; do - if use $x; then - myEC=$(echo "$x" | sed -e "s:^ec::" | tr '[:lower:]' '[:upper:]') - break; - fi - done - - echo ${myEC} -} - -zconfig_disable() { - if grep -q "${1}" ${S}/zconfig.h; then - # match a little more than ${1} so we can use zconfig_disable - # to disable all echo cancellers in zconfig.h w/o calling it several times - sed -i -e "s:^[ \t]*#define[ \t]\+\(${1}[a-zA-Z0-9_-]*\).*:#undef \1:" \ - ${S}/zconfig.h - fi - - return $? -} - -zconfig_enable() { - if grep -q "${1}" ${S}/zconfig.h; then - sed -i -e "s:^/\*[ \t]*#define[ \t]\+\(${1}\).*:#define \1:" \ - -e "s:^[ \t]*#undef[ \t]\+\(${1}\).*:#define \1:" \ - ${S}/zconfig.h - fi - - return $? -} - -### End: Helper functions - -pkg_setup() { - local result=0 numec=0 - - linux-mod_pkg_setup - - einfo "Running pre-flight checks..." - - # basic zaptel checks - if ! linux_chkconfig_present CRC_CCITT; then - echo - eerror "Your kernel lacks CRC_CCIT support!" - eerror "Enable CONFIG_CRC_CCIT!" - result=$((result+1)) - fi - - # check if multiple echo cancellers have been selected - for x in ${ZAP_EC_FLAGS}; do - use $x && numec=$((numec+1)) - 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 - echo - ewarn "Multiple echo canceller flags are active but only one will be used!" - ewarn "Selected: $(select_echo_cancel)" - fi - - # we need at least HDLC generic support - if use zapnet && ! linux_chkconfig_present HDLC; then - echo - eerror "zapnet: Your kernel lacks HDLC support!" - eerror "zapnet: Enable CONFIG_HDLC* to use zaptel network support!" - result=$((result+1)) - fi - - # zapras needs PPP support - if use zapras && ! linux_chkconfig_present PPP; then - echo - eerror "zapras: Your kernel lacks PPP support!" - eerror "zapras: Enable CONFIG_PPP* to use zaptel ras support!" - result=$((result+1)) - fi - - # rtc needs linux-2.6 and CONFIG_RTC - if use rtc; then - if ! kernel_is 2 6; then - echo - eerror "rtc: >=Linux-2.6.0 is needed for rtc support!" - result=$((result+1)) - fi - - if ! linux_chkconfig_present RTC; then - eerror "rtc: Your kernel lacks RealTime-Clock support!" - result=$((result+1)) - fi - fi - - if [[ $result -gt 0 ]]; then - echo - ewarn "One or more of the neccessary precondition(s) is/are not met!" - ewarn "Look at the messages above, resolve the problem (or disable the use-flag) and try again" - echo - - if [[ $result -lt 3 ]]; then - eerror "[$result Error(s)] Zaptel is not happy :(" - else - eerror "[$result Error(s)] You're making zaptel cry :'(" - fi - die "[$result] Precondition(s) not met" - fi - - echo - einfo "Zaptel is happy and continues... :)" -} - -src_unpack() { - unpack ${A} - - cd ${S} - epatch ${FILESDIR}/${PN}-1.2.2-gentoo.diff - - if kernel_is 2 6 && use devfs26; then - if [[ ${KV_PATCH} -ge 14 ]]; then - eerror "Devfs has been removed in linux-2.6.14, skipping devfs26!" - else - epatch ${FILESDIR}/${PN}-1.2.0-devfs26.diff - - # fix Makefile to not create device nodes for - # devfs enabled 2.6 kernels - sed -i -e 's:grep -q udevd:grep -q \"udevd\\|devfsd\":' \ - Makefile - - # disable udev support on devfs26 systems - zconfig_disable CONFIG_ZAP_UDEV - fi - fi - - use ukcid && \ - epatch ${FILESDIR}/${PN}-1.2.0-ukcid.patch - - # try to apply bristuff patch - if use bri; then - # fix for userpriv - chmod -R a=rwX ${S_BRI} - - einfo "Patching zaptel w/ BRI stuff (${BRI_VERSION})" - epatch ${S_BRI}/patches/zaptel.patch - - cd ${S_BRI} - -# if use florz; then -# einfo "Using florz patches (${FLORZ_VERSION}) for zaphfc" -# -# # remove as soon as there's a new florz patch available -# sed -i -e "s:zaptel-1\.2\.1:zaptel-1.2.5:g" \ -# ${WORKDIR}/zaphfc_${FLORZ_VERSION}.diff -# -# epatch ${WORKDIR}/zaphfc_${FLORZ_VERSION}.diff -# fi - - # patch includes - sed -i -e "s:^#include.*zaptel\.h.*:#include <zaptel.h>:" \ - qozap/qozap.c \ - zaphfc/zaphfc.c \ - cwain/cwain.c - - # patch makefiles - sed -i -e "s:^ZAP[\t ]*=.*:ZAP=-I${S}:" \ - -e "s:^MODCONF=.*:MODCONF=/etc/modules.d/zaptel:" \ - -e "s:linux-2.6:linux:g" \ - qozap/Makefile \ - zaphfc/Makefile \ - cwain/Makefile - - sed -i -e "s:^\(CFLAGS+=-I. \).*:\1 \$(ZAP):" \ - zaphfc/Makefile - - cd ${S} - fi - -### Configuration changes - local myEC - - # prepare zconfig.h - myEC=$(select_echo_cancel) - if [[ -n "${myEC}" ]]; then - einfo "Selected echo canceller: ${myEC}" - # disable default first, set new selected ec afterwards - zconfig_disable ECHO_CAN - zconfig_enable ECHO_CAN_${myEC} - fi - - # enable rtc support on 2.6 - if use rtc && linux_chkconfig_present RTC && kernel_is 2 6; then - einfo "Enabling ztdummy RTC support" - zconfig_enable USE_RTC - fi - - # enable agressive echo surpression - use ecaggressive && \ - zconfig_enable AGGRESSIVE_SUPPRESSOR - - # ppp ras support - use zapras && \ - zconfig_enable CONFIG_ZAPATA_PPP - - # frame relay, syncppp... - use zapnet && \ - zconfig_enable CONFIG_ZAPATA_NET - - # zaptel watchdog - use watchdog && \ - zconfig_enable CONFIG_ZAPTEL_WATCHDOG -} - -src_compile() { - # build - make KVERS=${KV_FULL} \ - KSRC=/usr/src/linux ARCH=$(tc-arch-kernel) || die - - if use bri; then - cd ${S_BRI} - for x in cwain qozap zaphfc; do - einfo "Building ${x}..." - make KVERS=${KV_FULL} \ - KSRC=/usr/src/linux \ - ARCH=$(tc-arch-kernel) \ - -C ${x} || die "make ${x} failed" - done - fi -} - -src_install() { - make INSTALL_PREFIX=${D} ARCH=$(tc-arch-kernel) \ - KVERS=${KV_FULL} KSRC=/usr/src/linux install || die - - dodoc ChangeLog README README.udev README.Linux26 README.fxsusb zaptel.init - dodoc zaptel.conf.sample LICENSE zaptel.sysconfig - - # additional tools - dobin ztmonitor ztspeed zttest - - # install all header files, several packages need the complete set - # (e.g. sangoma wanpipe) - insinto /usr/include/zaptel - doins *.h - - if use bri; then - einfo "Installing bri" - cd ${S_BRI} - - insinto /lib/modules/${KV_FULL}/misc - doins qozap/qozap.${KV_OBJ} - doins zaphfc/zaphfc.${KV_OBJ} - doins cwain/cwain.${KV_OBJ} - - # install example configs for octoBRI and quadBRI - insinto /etc - doins qozap/zaptel.conf.octoBRI - newins qozap/zaptel.conf zaptel.conf.quadBRI - newins zaphfc/zaptel.conf zaptel.conf.zaphfc - - insinto /etc/asterisk - doins qozap/zapata.conf.octoBRI - newins qozap/zapata.conf zapata.conf.quadBRI - newins zaphfc/zapata.conf zapata.conf.zaphfc - - docinto bristuff - dodoc CHANGES INSTALL - - docinto bristuff/qozap - dodoc qozap/LICENSE qozap/TODO qozap/*.conf* - - docinto bristuff/zaphfc - dodoc zaphfc/LICENSE zaphfc/*.conf - - docinto bristuff/cwain - dodoc cwain/TODO cwain/LICENSE - - cd ${S} - fi - - # install init script - newinitd ${FILESDIR}/zaptel.rc6 zaptel - newconfd ${FILESDIR}/zaptel.confd zaptel - - # install devfsd rule file - insinto /etc/devfs.d - newins ${FILESDIR}/zaptel.devfsd zaptel - - # install udev rule file - insinto /etc/udev/rules.d - newins ${FILESDIR}/zaptel.udevd 10-zaptel.rules - - # fix permissions if there's no udev / devfs around - if [[ -d ${D}/dev/zap ]]; then - chown -R root:dialout ${D}/dev/zap - chmod -R u=rwX,g=rwX,o= ${D}/dev/zap - fi -} - -pkg_postinst() { - linux-mod_pkg_postinst - - if kernel_is 2 6 && [[ ${KV_PATCH} -lt 14 ]] && use devfs26; then - ewarn "*** Warning! ***" - ewarn "Devfs support for linux-2.6 is experimental and not" - ewarn "supported by digium or the asterisk project!" - echo - ewarn "Send bug-reports to: stkn@gentoo.org" - fi - - echo - einfo "Use the /etc/init.d/zaptel script to load zaptel.conf settings on startup!" - echo - - if use bri; then - einfo "Bristuff configs have been merged as:" - einfo "" - einfo "${ROOT}etc/" - einfo " zaptel.conf.zaphfc" - einfo " zaptel.conf.quadBRI" - einfo " zaptel.conf.octoBRI" - einfo "" - einfo "${ROOT}etc/asterisk/" - einfo " zapata.conf.zaphfc" - einfo " zapata.conf.quadBRI" - einfo " zapata.conf.octoBRI" - echo - fi - - # fix permissions if there's no udev / devfs around - if [[ -d ${ROOT}dev/zap ]]; then - chown -R root:dialout ${ROOT}dev/zap - chmod -R u=rwX,g=rwX,o= ${ROOT}dev/zap - fi -} diff --git a/net-misc/zaptel/zaptel-1.2.5.ebuild b/net-misc/zaptel/zaptel-1.2.5.ebuild deleted file mode 100644 index 567bd5c..0000000 --- a/net-misc/zaptel/zaptel-1.2.5.ebuild +++ /dev/null @@ -1,377 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/zaptel/zaptel-1.2.1.ebuild,v 1.1 2005/12/16 20:49:44 stkn Exp $ - -inherit toolchain-funcs eutils linux-mod - -## TODO: -# -# - bristuff (waiting for next upstream release...) -# - cleanup (work-in-progress) -# - testing of new features (zapras / -net) -# - -BRI_VERSION="0.3.0-PRE-1k" -FLORZ_VERSION="0.3.0-PRE-1f_florz-11" - -IUSE="bri devfs26 ecmark ecmark2 ecmark3 ecaggressive eckb1 ecmg2 ecsteve ecsteve2 florz rtc ukcid watchdog zapras zapnet" - -MY_P="${P/_/-}" - -DESCRIPTION="Drivers for Digium and ZapataTelephony cards" -HOMEPAGE="http://www.asterisk.org" -SRC_URI="http://ftp.digium.com/pub/zaptel/${MY_P}.tar.gz - bri? ( http://www.junghanns.net/downloads/bristuff-${BRI_VERSION}.tar.gz ) - florz? ( http://zaphfc.florz.dyndns.org/zaphfc_${FLORZ_VERSION}.diff.gz )" - -S="${WORKDIR}/${MY_P}" - -S_BRI="${WORKDIR}/bristuff-${BRI_VERSION}" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~x86" - -DEPEND="virtual/libc - virtual/linux-sources - >=dev-libs/newt-0.50.0" - -# list of echo canceller use flags, -# first active in this list is selected (=order does matter) -ZAP_EC_FLAGS="ecmark ecmark2 ecmark3 ecsteve ecsteve2 eckb1 ecmg2" - -### Begin: Helper functions - -select_echo_cancel() { - local myEC="" - - for x in ${ZAP_EC_FLAGS}; do - if use $x; then - myEC=$(echo "$x" | sed -e "s:^ec::" | tr '[:lower:]' '[:upper:]') - break; - fi - done - - echo ${myEC} -} - -zconfig_disable() { - if grep -q "${1}" ${S}/zconfig.h; then - # match a little more than ${1} so we can use zconfig_disable - # to disable all echo cancellers in zconfig.h w/o calling it several times - sed -i -e "s:^[ \t]*#define[ \t]\+\(${1}[a-zA-Z0-9_-]*\).*:#undef \1:" \ - ${S}/zconfig.h - fi - - return $? -} - -zconfig_enable() { - if grep -q "${1}" ${S}/zconfig.h; then - sed -i -e "s:^/\*[ \t]*#define[ \t]\+\(${1}\).*:#define \1:" \ - -e "s:^[ \t]*#undef[ \t]\+\(${1}\).*:#define \1:" \ - ${S}/zconfig.h - fi - - return $? -} - -### End: Helper functions - -pkg_setup() { - local result=0 numec=0 - - linux-mod_pkg_setup - - einfo "Running pre-flight checks..." - - # basic zaptel checks - if ! linux_chkconfig_present CRC_CCITT; then - echo - eerror "Your kernel lacks CRC_CCIT support!" - eerror "Enable CONFIG_CRC_CCIT!" - result=$((result+1)) - fi - - # check if multiple echo cancellers have been selected - for x in ${ZAP_EC_FLAGS}; do - use $x && numec=$((numec+1)) - 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 - echo - ewarn "Multiple echo canceller flags are active but only one will be used!" - ewarn "Selected: $(select_echo_cancel)" - fi - - # we need at least HDLC generic support - if use zapnet && ! linux_chkconfig_present HDLC; then - echo - eerror "zapnet: Your kernel lacks HDLC support!" - eerror "zapnet: Enable CONFIG_HDLC* to use zaptel network support!" - result=$((result+1)) - fi - - # zapras needs PPP support - if use zapras && ! linux_chkconfig_present PPP; then - echo - eerror "zapras: Your kernel lacks PPP support!" - eerror "zapras: Enable CONFIG_PPP* to use zaptel ras support!" - result=$((result+1)) - fi - - # rtc needs linux-2.6 and CONFIG_RTC - if use rtc; then - if ! kernel_is 2 6; then - echo - eerror "rtc: >=Linux-2.6.0 is needed for rtc support!" - result=$((result+1)) - fi - - if ! linux_chkconfig_present RTC; then - eerror "rtc: Your kernel lacks RealTime-Clock support!" - result=$((result+1)) - fi - fi - - if [[ $result -gt 0 ]]; then - echo - ewarn "One or more of the neccessary precondition(s) is/are not met!" - ewarn "Look at the messages above, resolve the problem (or disable the use-flag) and try again" - echo - - if [[ $result -lt 3 ]]; then - eerror "[$result Error(s)] Zaptel is not happy :(" - else - eerror "[$result Error(s)] You're making zaptel cry :'(" - fi - die "[$result] Precondition(s) not met" - fi - - echo - einfo "Zaptel is happy and continues... :)" -} - -src_unpack() { - unpack ${A} - - cd ${S} - epatch ${FILESDIR}/${PN}-1.2.2-gentoo.diff - - if kernel_is 2 6 && use devfs26; then - if [[ ${KV_PATCH} -ge 14 ]]; then - eerror "Devfs has been removed in linux-2.6.14, skipping devfs26!" - else - epatch ${FILESDIR}/${PN}-1.2.0-devfs26.diff - - # fix Makefile to not create device nodes for - # devfs enabled 2.6 kernels - sed -i -e 's:grep -q udevd:grep -q \"udevd\\|devfsd\":' \ - Makefile - - # disable udev support on devfs26 systems - zconfig_disable CONFIG_ZAP_UDEV - fi - fi - - use ukcid && \ - epatch ${FILESDIR}/${PN}-1.2.0-ukcid.patch - - # try to apply bristuff patch - if use bri; then - # fix for userpriv - chmod -R a=rwX ${S_BRI} - - einfo "Patching zaptel w/ BRI stuff (${BRI_VERSION})" - epatch ${S_BRI}/patches/zaptel.patch - - cd ${S_BRI} - - if use florz; then - einfo "Using florz patches (${FLORZ_VERSION}) for zaphfc" - - # remove as soon as there's a new florz patch available - sed -i -e "s:zaptel-1\.2\.1:zaptel-1.2.3:g" \ - ${WORKDIR}/zaphfc_${FLORZ_VERSION}.diff - - epatch ${WORKDIR}/zaphfc_${FLORZ_VERSION}.diff - fi - - # patch includes - sed -i -e "s:^#include.*zaptel\.h.*:#include <zaptel.h>:" \ - qozap/qozap.c \ - zaphfc/zaphfc.c \ - cwain/cwain.c - - # patch makefiles - sed -i -e "s:^ZAP[\t ]*=.*:ZAP=-I${S}:" \ - -e "s:^MODCONF=.*:MODCONF=/etc/modules.d/zaptel:" \ - -e "s:linux-2.6:linux:g" \ - qozap/Makefile \ - zaphfc/Makefile \ - cwain/Makefile - - sed -i -e "s:^\(CFLAGS+=-I. \).*:\1 \$(ZAP):" \ - zaphfc/Makefile - - cd ${S} - fi - -### Configuration changes - local myEC - - # prepare zconfig.h - myEC=$(select_echo_cancel) - if [[ -n "${myEC}" ]]; then - einfo "Selected echo canceller: ${myEC}" - # disable default first, set new selected ec afterwards - zconfig_disable ECHO_CAN - zconfig_enable ECHO_CAN_${myEC} - fi - - # enable rtc support on 2.6 - if use rtc && linux_chkconfig_present RTC && kernel_is 2 6; then - einfo "Enabling ztdummy RTC support" - zconfig_enable USE_RTC - fi - - # enable agressive echo surpression - use ecaggressive && \ - zconfig_enable AGGRESSIVE_SUPPRESSOR - - # ppp ras support - use zapras && \ - zconfig_enable CONFIG_ZAPATA_PPP - - # frame relay, syncppp... - use zapnet && \ - zconfig_enable CONFIG_ZAPATA_NET - - # zaptel watchdog - use watchdog && \ - zconfig_enable CONFIG_ZAPTEL_WATCHDOG -} - -src_compile() { - # build - make KVERS=${KV_FULL} \ - KSRC=/usr/src/linux ARCH=$(tc-arch-kernel) || die - - if use bri; then - cd ${S_BRI} - for x in cwain qozap zaphfc; do - einfo "Building ${x}..." - make KVERS=${KV_FULL} \ - KSRC=/usr/src/linux \ - ARCH=$(tc-arch-kernel) \ - -C ${x} || die "make ${x} failed" - done - fi -} - -src_install() { - make INSTALL_PREFIX=${D} ARCH=$(tc-arch-kernel) \ - KVERS=${KV_FULL} KSRC=/usr/src/linux install || die - - dodoc ChangeLog README README.udev README.Linux26 README.fxsusb zaptel.init - dodoc zaptel.conf.sample LICENSE zaptel.sysconfig - - # additional tools - dobin ztmonitor ztspeed zttest - - # install all header files, several packages need the complete set - # (e.g. sangoma wanpipe) - insinto /usr/include/zaptel - doins *.h - - if use bri; then - einfo "Installing bri" - cd ${S_BRI} - - insinto /lib/modules/${KV_FULL}/misc - doins qozap/qozap.${KV_OBJ} - doins zaphfc/zaphfc.${KV_OBJ} - doins cwain/cwain.${KV_OBJ} - - # install example configs for octoBRI and quadBRI - insinto /etc - doins qozap/zaptel.conf.octoBRI - newins qozap/zaptel.conf zaptel.conf.quadBRI - newins zaphfc/zaptel.conf zaptel.conf.zaphfc - - insinto /etc/asterisk - doins qozap/zapata.conf.octoBRI - newins qozap/zapata.conf zapata.conf.quadBRI - newins zaphfc/zapata.conf zapata.conf.zaphfc - - docinto bristuff - dodoc CHANGES INSTALL - - docinto bristuff/qozap - dodoc qozap/LICENSE qozap/TODO qozap/*.conf* - - docinto bristuff/zaphfc - dodoc zaphfc/LICENSE zaphfc/*.conf - - docinto bristuff/cwain - dodoc cwain/TODO cwain/LICENSE - - cd ${S} - fi - - # install init script - newinitd ${FILESDIR}/zaptel.rc6 zaptel - newconfd ${FILESDIR}/zaptel.confd zaptel - - # install devfsd rule file - insinto /etc/devfs.d - newins ${FILESDIR}/zaptel.devfsd zaptel - - # install udev rule file - insinto /etc/udev/rules.d - newins ${FILESDIR}/zaptel.udevd 10-zaptel.rules - - # fix permissions if there's no udev / devfs around - if [[ -d ${D}/dev/zap ]]; then - chown -R root:dialout ${D}/dev/zap - chmod -R u=rwX,g=rwX,o= ${D}/dev/zap - fi -} - -pkg_postinst() { - linux-mod_pkg_postinst - - if kernel_is 2 6 && [[ ${KV_PATCH} -lt 14 ]] && use devfs26; then - ewarn "*** Warning! ***" - ewarn "Devfs support for linux-2.6 is experimental and not" - ewarn "supported by digium or the asterisk project!" - echo - ewarn "Send bug-reports to: stkn@gentoo.org" - fi - - echo - einfo "Use the /etc/init.d/zaptel script to load zaptel.conf settings on startup!" - echo - - if use bri; then - einfo "Bristuff configs have been merged as:" - einfo "" - einfo "${ROOT}etc/" - einfo " zaptel.conf.zaphfc" - einfo " zaptel.conf.quadBRI" - einfo " zaptel.conf.octoBRI" - einfo "" - einfo "${ROOT}etc/asterisk/" - einfo " zapata.conf.zaphfc" - einfo " zapata.conf.quadBRI" - einfo " zapata.conf.octoBRI" - echo - fi - - # fix permissions if there's no udev / devfs around - if [[ -d ${ROOT}dev/zap ]]; then - chown -R root:dialout ${ROOT}dev/zap - chmod -R u=rwX,g=rwX,o= ${ROOT}dev/zap - fi -} diff --git a/net-misc/zaptel/zaptel-1.2.6.ebuild b/net-misc/zaptel/zaptel-1.2.6.ebuild deleted file mode 100644 index 2d7a556..0000000 --- a/net-misc/zaptel/zaptel-1.2.6.ebuild +++ /dev/null @@ -1,378 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/zaptel/zaptel-1.2.1.ebuild,v 1.1 2005/12/16 20:49:44 stkn Exp $ - -inherit toolchain-funcs eutils linux-mod - -## TODO: -# -# - bristuff (waiting for next upstream release...) -# - cleanup (work-in-progress) -# - testing of new features (zapras / -net) -# - -BRI_VERSION="0.3.0-PRE-1p" -FLORZ_VERSION="0.3.0-PRE-1o_florz-12" - -IUSE="bri ecmark ecmark2 ecmark3 ecaggressive eckb1 ecmg2 ecsteve ecsteve2 florz rtc ukcid watchdog zapras zapnet" - -MY_P="${P/_/-}" - -DESCRIPTION="Drivers for Digium and ZapataTelephony cards" -HOMEPAGE="http://www.asterisk.org" -SRC_URI="http://ftp.digium.com/pub/zaptel/${MY_P}.tar.gz - bri? ( http://www.junghanns.net/downloads/bristuff-${BRI_VERSION}.tar.gz ) - florz? ( http://www.netdomination.org/pub/asterisk/zaphfc_${FLORZ_VERSION}.diff.gz )" - -S="${WORKDIR}/${MY_P}" - -S_BRI="${WORKDIR}/bristuff-${BRI_VERSION}" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~x86" - -DEPEND="virtual/libc - virtual/linux-sources - >=dev-libs/newt-0.50.0" - -# list of echo canceller use flags, -# first active in this list is selected (=order does matter) -ZAP_EC_FLAGS="ecmark ecmark2 ecmark3 ecsteve ecsteve2 eckb1 ecmg2" - -### Begin: Helper functions - -select_echo_cancel() { - local myEC="" - - for x in ${ZAP_EC_FLAGS}; do - if use $x; then - myEC=$(echo "$x" | sed -e "s:^ec::" | tr '[:lower:]' '[:upper:]') - break; - fi - done - - echo ${myEC} -} - -zconfig_disable() { - if grep -q "${1}" ${S}/zconfig.h; then - # match a little more than ${1} so we can use zconfig_disable - # to disable all echo cancellers in zconfig.h w/o calling it several times - sed -i -e "s:^[ \t]*#define[ \t]\+\(${1}[a-zA-Z0-9_-]*\).*:#undef \1:" \ - ${S}/zconfig.h - fi - - return $? -} - -zconfig_enable() { - if grep -q "${1}" ${S}/zconfig.h; then - sed -i -e "s:^/\*[ \t]*#define[ \t]\+\(${1}\).*:#define \1:" \ - -e "s:^[ \t]*#undef[ \t]\+\(${1}\).*:#define \1:" \ - ${S}/zconfig.h - fi - - return $? -} - -### End: Helper functions - -pkg_setup() { - local result=0 numec=0 - - linux-mod_pkg_setup - - einfo "Running pre-flight checks..." - - # basic zaptel checks - if ! linux_chkconfig_present CRC_CCITT; then - echo - eerror "Your kernel lacks CRC_CCIT support!" - eerror "Enable CONFIG_CRC_CCIT!" - result=$((result+1)) - fi - - # check if multiple echo cancellers have been selected - for x in ${ZAP_EC_FLAGS}; do - use $x && numec=$((numec+1)) - 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 - echo - ewarn "Multiple echo canceller flags are active but only one will be used!" - ewarn "Selected: $(select_echo_cancel)" - fi - - # we need at least HDLC generic support - if use zapnet && ! linux_chkconfig_present HDLC; then - echo - eerror "zapnet: Your kernel lacks HDLC support!" - eerror "zapnet: Enable CONFIG_HDLC* to use zaptel network support!" - result=$((result+1)) - fi - - # zapras needs PPP support - if use zapras && ! linux_chkconfig_present PPP; then - echo - eerror "zapras: Your kernel lacks PPP support!" - eerror "zapras: Enable CONFIG_PPP* to use zaptel ras support!" - result=$((result+1)) - fi - - # rtc needs linux-2.6 and CONFIG_RTC - if use rtc; then - if ! kernel_is 2 6; then - echo - eerror "rtc: >=Linux-2.6.0 is needed for rtc support!" - result=$((result+1)) - fi - - if ! linux_chkconfig_present RTC; then - eerror "rtc: Your kernel lacks RealTime-Clock support!" - result=$((result+1)) - fi - fi - - if [[ $result -gt 0 ]]; then - echo - ewarn "One or more of the neccessary precondition(s) is/are not met!" - ewarn "Look at the messages above, resolve the problem (or disable the use-flag) and try again" - echo - - if [[ $result -lt 3 ]]; then - eerror "[$result Error(s)] Zaptel is not happy :(" - else - eerror "[$result Error(s)] You're making zaptel cry :'(" - fi - die "[$result] Precondition(s) not met" - fi - - echo - einfo "Zaptel is happy and continues... :)" -} - -src_unpack() { - unpack ${A} - - cd ${S} - epatch ${FILESDIR}/${PN}-1.2.6-gentoo.diff - -# gone -# if kernel_is 2 6 && use devfs26; then -# if [[ ${KV_PATCH} -ge 14 ]]; then -# eerror "Devfs has been removed in linux-2.6.14, skipping devfs26!" -# else -# epatch ${FILESDIR}/${PN}-1.2.0-devfs26.diff -# -# # fix Makefile to not create device nodes for -# # devfs enabled 2.6 kernels -# sed -i -e 's:grep -q udevd:grep -q \"udevd\\|devfsd\":' \ -# Makefile -# -# # disable udev support on devfs26 systems -# zconfig_disable CONFIG_ZAP_UDEV -# fi -# fi - - use ukcid && \ - epatch ${FILESDIR}/${PN}-1.2.0-ukcid.patch - - # try to apply bristuff patch - if use bri; then - # fix for userpriv - chmod -R a=rwX ${S_BRI} - - einfo "Patching zaptel w/ BRI stuff (${BRI_VERSION})" - epatch ${S_BRI}/patches/zaptel.patch - - cd ${S_BRI} - - if use florz; then - einfo "Using florz patches (${FLORZ_VERSION}) for zaphfc" - - # remove as soon as there's a new florz patch available - sed -i -e "s:zaptel-1\.2\.5:zaptel-1.2.6:g" \ - ${WORKDIR}/zaphfc_${FLORZ_VERSION}.diff - - epatch ${WORKDIR}/zaphfc_${FLORZ_VERSION}.diff - fi - - # patch includes - sed -i -e "s:^#include.*zaptel\.h.*:#include <zaptel.h>:" \ - qozap/qozap.c \ - zaphfc/zaphfc.c \ - cwain/cwain.c - - # patch makefiles - sed -i -e "s:^ZAP[\t ]*=.*:ZAP=-I${S}:" \ - -e "s:^MODCONF=.*:MODCONF=/etc/modules.d/zaptel:" \ - -e "s:linux-2.6:linux:g" \ - qozap/Makefile \ - zaphfc/Makefile \ - cwain/Makefile - - sed -i -e "s:^\(CFLAGS+=-I. \).*:\1 \$(ZAP):" \ - zaphfc/Makefile - - cd ${S} - fi - -### Configuration changes - local myEC - - # prepare zconfig.h - myEC=$(select_echo_cancel) - if [[ -n "${myEC}" ]]; then - einfo "Selected echo canceller: ${myEC}" - # disable default first, set new selected ec afterwards - zconfig_disable ECHO_CAN - zconfig_enable ECHO_CAN_${myEC} - fi - - # enable rtc support on 2.6 - if use rtc && linux_chkconfig_present RTC && kernel_is 2 6; then - einfo "Enabling ztdummy RTC support" - zconfig_enable USE_RTC - fi - - # enable agressive echo surpression - use ecaggressive && \ - zconfig_enable AGGRESSIVE_SUPPRESSOR - - # ppp ras support - use zapras && \ - zconfig_enable CONFIG_ZAPATA_PPP - - # frame relay, syncppp... - use zapnet && \ - zconfig_enable CONFIG_ZAPATA_NET - - # zaptel watchdog - use watchdog && \ - zconfig_enable CONFIG_ZAPTEL_WATCHDOG -} - -src_compile() { - # build - make KVERS=${KV_FULL} \ - KSRC=/usr/src/linux ARCH=$(tc-arch-kernel) || die - - if use bri; then - cd ${S_BRI} - for x in cwain qozap zaphfc; do - einfo "Building ${x}..." - make KVERS=${KV_FULL} \ - KSRC=/usr/src/linux \ - ARCH=$(tc-arch-kernel) \ - -C ${x} || die "make ${x} failed" - done - fi -} - -src_install() { - make INSTALL_PREFIX=${D} ARCH=$(tc-arch-kernel) \ - KVERS=${KV_FULL} KSRC=/usr/src/linux install || die - - dodoc ChangeLog README README.udev README.Linux26 README.fxsusb zaptel.init - dodoc zaptel.conf.sample LICENSE zaptel.sysconfig - - # additional tools - dobin ztmonitor ztspeed zttest - - # install all header files, several packages need the complete set - # (e.g. sangoma wanpipe) - insinto /usr/include/zaptel - doins *.h - - if use bri; then - einfo "Installing bri" - cd ${S_BRI} - - insinto /lib/modules/${KV_FULL}/misc - doins qozap/qozap.${KV_OBJ} - doins zaphfc/zaphfc.${KV_OBJ} - doins cwain/cwain.${KV_OBJ} - - # install example configs for octoBRI and quadBRI - insinto /etc - doins qozap/zaptel.conf.octoBRI - newins qozap/zaptel.conf zaptel.conf.quadBRI - newins zaphfc/zaptel.conf zaptel.conf.zaphfc - - insinto /etc/asterisk - doins qozap/zapata.conf.octoBRI - newins qozap/zapata.conf zapata.conf.quadBRI - newins zaphfc/zapata.conf zapata.conf.zaphfc - - docinto bristuff - dodoc CHANGES INSTALL - - docinto bristuff/qozap - dodoc qozap/LICENSE qozap/TODO qozap/*.conf* - - docinto bristuff/zaphfc - dodoc zaphfc/LICENSE zaphfc/*.conf - - docinto bristuff/cwain - dodoc cwain/TODO cwain/LICENSE - - cd ${S} - fi - - # install init script - newinitd ${FILESDIR}/zaptel.rc6 zaptel - newconfd ${FILESDIR}/zaptel.confd zaptel - - # install devfsd rule file - insinto /etc/devfs.d - newins ${FILESDIR}/zaptel.devfsd zaptel - - # install udev rule file - insinto /etc/udev/rules.d - newins ${FILESDIR}/zaptel.udevd 10-zaptel.rules - - # fix permissions if there's no udev / devfs around - if [[ -d ${D}/dev/zap ]]; then - chown -R root:dialout ${D}/dev/zap - chmod -R u=rwX,g=rwX,o= ${D}/dev/zap - fi -} - -pkg_postinst() { - linux-mod_pkg_postinst - -# if kernel_is 2 6 && [[ ${KV_PATCH} -lt 14 ]] && use devfs26; then -# ewarn "*** Warning! ***" -# ewarn "Devfs support for linux-2.6 is experimental and not" -# ewarn "supported by digium or the asterisk project!" -# echo -# ewarn "Send bug-reports to: stkn@gentoo.org" -# fi - - echo - einfo "Use the /etc/init.d/zaptel script to load zaptel.conf settings on startup!" - echo - - if use bri; then - einfo "Bristuff configs have been merged as:" - einfo "" - einfo "${ROOT}etc/" - einfo " zaptel.conf.zaphfc" - einfo " zaptel.conf.quadBRI" - einfo " zaptel.conf.octoBRI" - einfo "" - einfo "${ROOT}etc/asterisk/" - einfo " zapata.conf.zaphfc" - einfo " zapata.conf.quadBRI" - einfo " zapata.conf.octoBRI" - echo - fi - - # fix permissions if there's no udev / devfs around - if [[ -d ${ROOT}dev/zap ]]; then - chown -R root:dialout ${ROOT}dev/zap - chmod -R u=rwX,g=rwX,o= ${ROOT}dev/zap - fi -} diff --git a/net-misc/zaptel/zaptel-1.2.7.ebuild b/net-misc/zaptel/zaptel-1.2.7.ebuild deleted file mode 100644 index a1d8abb..0000000 --- a/net-misc/zaptel/zaptel-1.2.7.ebuild +++ /dev/null @@ -1,378 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/zaptel/zaptel-1.2.1.ebuild,v 1.1 2005/12/16 20:49:44 stkn Exp $ - -inherit toolchain-funcs eutils linux-mod - -## TODO: -# -# - bristuff (waiting for next upstream release...) -# - cleanup (work-in-progress) -# - testing of new features (zapras / -net) -# - -BRI_VERSION="0.3.0-PRE-1r" -FLORZ_VERSION="0.3.0-PRE-1o_florz-12" - -IUSE="bri ecmark ecmark2 ecmark3 ecaggressive eckb1 ecmg2 ecsteve ecsteve2 florz rtc ukcid watchdog zapras zapnet" - -MY_P="${P/_/-}" - -DESCRIPTION="Drivers for Digium and ZapataTelephony cards" -HOMEPAGE="http://www.asterisk.org" -SRC_URI="http://ftp.digium.com/pub/zaptel/${MY_P}.tar.gz - bri? ( http://www.junghanns.net/downloads/bristuff-${BRI_VERSION}.tar.gz ) - florz? ( http://www.netdomination.org/pub/asterisk/zaphfc_${FLORZ_VERSION}.diff.gz )" - -S="${WORKDIR}/${MY_P}" - -S_BRI="${WORKDIR}/bristuff-${BRI_VERSION}" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~x86" - -DEPEND="virtual/libc - virtual/linux-sources - >=dev-libs/newt-0.50.0" - -# list of echo canceller use flags, -# first active in this list is selected (=order does matter) -ZAP_EC_FLAGS="ecmark ecmark2 ecmark3 ecsteve ecsteve2 eckb1 ecmg2" - -### Begin: Helper functions - -select_echo_cancel() { - local myEC="" - - for x in ${ZAP_EC_FLAGS}; do - if use $x; then - myEC=$(echo "$x" | sed -e "s:^ec::" | tr '[:lower:]' '[:upper:]') - break; - fi - done - - echo ${myEC} -} - -zconfig_disable() { - if grep -q "${1}" ${S}/zconfig.h; then - # match a little more than ${1} so we can use zconfig_disable - # to disable all echo cancellers in zconfig.h w/o calling it several times - sed -i -e "s:^[ \t]*#define[ \t]\+\(${1}[a-zA-Z0-9_-]*\).*:#undef \1:" \ - ${S}/zconfig.h - fi - - return $? -} - -zconfig_enable() { - if grep -q "${1}" ${S}/zconfig.h; then - sed -i -e "s:^/\*[ \t]*#define[ \t]\+\(${1}\).*:#define \1:" \ - -e "s:^[ \t]*#undef[ \t]\+\(${1}\).*:#define \1:" \ - ${S}/zconfig.h - fi - - return $? -} - -### End: Helper functions - -pkg_setup() { - local result=0 numec=0 - - linux-mod_pkg_setup - - einfo "Running pre-flight checks..." - - # basic zaptel checks - if ! linux_chkconfig_present CRC_CCITT; then - echo - eerror "Your kernel lacks CRC_CCIT support!" - eerror "Enable CONFIG_CRC_CCIT!" - result=$((result+1)) - fi - - # check if multiple echo cancellers have been selected - for x in ${ZAP_EC_FLAGS}; do - use $x && numec=$((numec+1)) - 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 - echo - ewarn "Multiple echo canceller flags are active but only one will be used!" - ewarn "Selected: $(select_echo_cancel)" - fi - - # we need at least HDLC generic support - if use zapnet && ! linux_chkconfig_present HDLC; then - echo - eerror "zapnet: Your kernel lacks HDLC support!" - eerror "zapnet: Enable CONFIG_HDLC* to use zaptel network support!" - result=$((result+1)) - fi - - # zapras needs PPP support - if use zapras && ! linux_chkconfig_present PPP; then - echo - eerror "zapras: Your kernel lacks PPP support!" - eerror "zapras: Enable CONFIG_PPP* to use zaptel ras support!" - result=$((result+1)) - fi - - # rtc needs linux-2.6 and CONFIG_RTC - if use rtc; then - if ! kernel_is 2 6; then - echo - eerror "rtc: >=Linux-2.6.0 is needed for rtc support!" - result=$((result+1)) - fi - - if ! linux_chkconfig_present RTC; then - eerror "rtc: Your kernel lacks RealTime-Clock support!" - result=$((result+1)) - fi - fi - - if [[ $result -gt 0 ]]; then - echo - ewarn "One or more of the neccessary precondition(s) is/are not met!" - ewarn "Look at the messages above, resolve the problem (or disable the use-flag) and try again" - echo - - if [[ $result -lt 3 ]]; then - eerror "[$result Error(s)] Zaptel is not happy :(" - else - eerror "[$result Error(s)] You're making zaptel cry :'(" - fi - die "[$result] Precondition(s) not met" - fi - - echo - einfo "Zaptel is happy and continues... :)" -} - -src_unpack() { - unpack ${A} - - cd ${S} - epatch ${FILESDIR}/${PN}-1.2.7-gentoo.diff - -# gone -# if kernel_is 2 6 && use devfs26; then -# if [[ ${KV_PATCH} -ge 14 ]]; then -# eerror "Devfs has been removed in linux-2.6.14, skipping devfs26!" -# else -# epatch ${FILESDIR}/${PN}-1.2.0-devfs26.diff -# -# # fix Makefile to not create device nodes for -# # devfs enabled 2.6 kernels -# sed -i -e 's:grep -q udevd:grep -q \"udevd\\|devfsd\":' \ -# Makefile -# -# # disable udev support on devfs26 systems -# zconfig_disable CONFIG_ZAP_UDEV -# fi -# fi - - use ukcid && \ - epatch ${FILESDIR}/${PN}-1.2.0-ukcid.patch - - # try to apply bristuff patch - if use bri; then - # fix for userpriv - chmod -R a=rwX ${S_BRI} - - einfo "Patching zaptel w/ BRI stuff (${BRI_VERSION})" - epatch ${S_BRI}/patches/zaptel.patch - - cd ${S_BRI} - - if use florz; then - einfo "Using florz patches (${FLORZ_VERSION}) for zaphfc" - - # remove as soon as there's a new florz patch available - sed -i -e "s:zaptel-1\.2\.5:zaptel-1.2.6:g" \ - ${WORKDIR}/zaphfc_${FLORZ_VERSION}.diff - - epatch ${WORKDIR}/zaphfc_${FLORZ_VERSION}.diff - fi - - # patch includes - sed -i -e "s:^#include.*zaptel\.h.*:#include <zaptel.h>:" \ - qozap/qozap.c \ - zaphfc/zaphfc.c \ - cwain/cwain.c - - # patch makefiles - sed -i -e "s:^ZAP[\t ]*=.*:ZAP=-I${S}:" \ - -e "s:^MODCONF=.*:MODCONF=/etc/modules.d/zaptel:" \ - -e "s:linux-2.6:linux:g" \ - qozap/Makefile \ - zaphfc/Makefile \ - cwain/Makefile - - sed -i -e "s:^\(CFLAGS+=-I. \).*:\1 \$(ZAP):" \ - zaphfc/Makefile - - cd ${S} - fi - -### Configuration changes - local myEC - - # prepare zconfig.h - myEC=$(select_echo_cancel) - if [[ -n "${myEC}" ]]; then - einfo "Selected echo canceller: ${myEC}" - # disable default first, set new selected ec afterwards - zconfig_disable ECHO_CAN - zconfig_enable ECHO_CAN_${myEC} - fi - - # enable rtc support on 2.6 - if use rtc && linux_chkconfig_present RTC && kernel_is 2 6; then - einfo "Enabling ztdummy RTC support" - zconfig_enable USE_RTC - fi - - # enable agressive echo surpression - use ecaggressive && \ - zconfig_enable AGGRESSIVE_SUPPRESSOR - - # ppp ras support - use zapras && \ - zconfig_enable CONFIG_ZAPATA_PPP - - # frame relay, syncppp... - use zapnet && \ - zconfig_enable CONFIG_ZAPATA_NET - - # zaptel watchdog - use watchdog && \ - zconfig_enable CONFIG_ZAPTEL_WATCHDOG -} - -src_compile() { - # build - make KVERS=${KV_FULL} \ - KSRC=/usr/src/linux ARCH=$(tc-arch-kernel) || die - - if use bri; then - cd ${S_BRI} - for x in cwain qozap zaphfc; do - einfo "Building ${x}..." - make KVERS=${KV_FULL} \ - KSRC=/usr/src/linux \ - ARCH=$(tc-arch-kernel) \ - -C ${x} || die "make ${x} failed" - done - fi -} - -src_install() { - make INSTALL_PREFIX=${D} ARCH=$(tc-arch-kernel) \ - KVERS=${KV_FULL} KSRC=/usr/src/linux install || die - - dodoc ChangeLog README README.udev README.Linux26 README.fxsusb zaptel.init - dodoc zaptel.conf.sample LICENSE zaptel.sysconfig - - # additional tools - dobin ztmonitor ztspeed zttest - - # install all header files, several packages need the complete set - # (e.g. sangoma wanpipe) - insinto /usr/include/zaptel - doins *.h - - if use bri; then - einfo "Installing bri" - cd ${S_BRI} - - insinto /lib/modules/${KV_FULL}/misc - doins qozap/qozap.${KV_OBJ} - doins zaphfc/zaphfc.${KV_OBJ} - doins cwain/cwain.${KV_OBJ} - - # install example configs for octoBRI and quadBRI - insinto /etc - doins qozap/zaptel.conf.octoBRI - newins qozap/zaptel.conf zaptel.conf.quadBRI - newins zaphfc/zaptel.conf zaptel.conf.zaphfc - - insinto /etc/asterisk - doins qozap/zapata.conf.octoBRI - newins qozap/zapata.conf zapata.conf.quadBRI - newins zaphfc/zapata.conf zapata.conf.zaphfc - - docinto bristuff - dodoc CHANGES INSTALL - - docinto bristuff/qozap - dodoc qozap/LICENSE qozap/TODO qozap/*.conf* - - docinto bristuff/zaphfc - dodoc zaphfc/LICENSE zaphfc/*.conf - - docinto bristuff/cwain - dodoc cwain/TODO cwain/LICENSE - - cd ${S} - fi - - # install init script - newinitd ${FILESDIR}/zaptel.rc6 zaptel - newconfd ${FILESDIR}/zaptel.confd zaptel - - # install devfsd rule file - insinto /etc/devfs.d - newins ${FILESDIR}/zaptel.devfsd zaptel - - # install udev rule file - insinto /etc/udev/rules.d - newins ${FILESDIR}/zaptel.udevd 10-zaptel.rules - - # fix permissions if there's no udev / devfs around - if [[ -d ${D}/dev/zap ]]; then - chown -R root:dialout ${D}/dev/zap - chmod -R u=rwX,g=rwX,o= ${D}/dev/zap - fi -} - -pkg_postinst() { - linux-mod_pkg_postinst - -# if kernel_is 2 6 && [[ ${KV_PATCH} -lt 14 ]] && use devfs26; then -# ewarn "*** Warning! ***" -# ewarn "Devfs support for linux-2.6 is experimental and not" -# ewarn "supported by digium or the asterisk project!" -# echo -# ewarn "Send bug-reports to: stkn@gentoo.org" -# fi - - echo - einfo "Use the /etc/init.d/zaptel script to load zaptel.conf settings on startup!" - echo - - if use bri; then - einfo "Bristuff configs have been merged as:" - einfo "" - einfo "${ROOT}etc/" - einfo " zaptel.conf.zaphfc" - einfo " zaptel.conf.quadBRI" - einfo " zaptel.conf.octoBRI" - einfo "" - einfo "${ROOT}etc/asterisk/" - einfo " zapata.conf.zaphfc" - einfo " zapata.conf.quadBRI" - einfo " zapata.conf.octoBRI" - echo - fi - - # fix permissions if there's no udev / devfs around - if [[ -d ${ROOT}dev/zap ]]; then - chown -R root:dialout ${ROOT}dev/zap - chmod -R u=rwX,g=rwX,o= ${ROOT}dev/zap - fi -} diff --git a/net-misc/zaptel/zaptel-1.2.9.1.ebuild b/net-misc/zaptel/zaptel-1.2.9.1.ebuild deleted file mode 100644 index 03f08fc..0000000 --- a/net-misc/zaptel/zaptel-1.2.9.1.ebuild +++ /dev/null @@ -1,351 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-misc/zaptel/zaptel-1.2.8.ebuild,v 1.1 2006/09/05 19:15:11 stkn Exp $ - -inherit toolchain-funcs eutils linux-mod - -## NOTE: -# -# - -BRI_VERSION="0.3.0-PRE-1s" -FLORZ_VERSION="0.3.0-PRE-1o_florz-12" - -IUSE="bri ecmark ecmark2 ecmark3 ecaggressive eckb1 ecmg2 ecsteve ecsteve2 florz rtc ukcid watchdog zapras zapnet" - -MY_P="${P/_/-}" - -DESCRIPTION="Drivers for Digium and ZapataTelephony cards" -HOMEPAGE="http://www.asterisk.org" -SRC_URI="http://ftp.digium.com/pub/zaptel/releases/${MY_P}.tar.gz - bri? ( http://www.junghanns.net/downloads/bristuff-${BRI_VERSION}.tar.gz ) - florz? ( http://www.netdomination.org/pub/asterisk/zaphfc_${FLORZ_VERSION}.diff.gz )" - -S="${WORKDIR}/${MY_P}" - -S_BRI="${WORKDIR}/bristuff-${BRI_VERSION}" - -SLOT="0" -LICENSE="GPL-2" -KEYWORDS="~amd64 ~ppc ~x86" - -DEPEND="virtual/libc - virtual/linux-sources - >=dev-libs/newt-0.50.0" - -# list of echo canceller use flags, -# first active in this list is selected (=order does matter) -ZAP_EC_FLAGS="ecmark ecmark2 ecmark3 ecsteve ecsteve2 eckb1 ecmg2" - -### Begin: Helper functions - -select_echo_cancel() { - local myEC="" - - for x in ${ZAP_EC_FLAGS}; do - if use $x; then - myEC=$(echo "$x" | sed -e "s:^ec::" | tr '[:lower:]' '[:upper:]') - break; - fi - done - - echo ${myEC} -} - -zconfig_disable() { - if grep -q "${1}" ${S}/zconfig.h; then - # match a little more than ${1} so we can use zconfig_disable - # to disable all echo cancellers in zconfig.h w/o calling it several times - sed -i -e "s:^[ \t]*#define[ \t]\+\(${1}[a-zA-Z0-9_-]*\).*:#undef \1:" \ - ${S}/zconfig.h - fi - - return $? -} - -zconfig_enable() { - if grep -q "${1}" ${S}/zconfig.h; then - sed -i -e "s:^/\*[ \t]*#define[ \t]\+\(${1}\).*:#define \1:" \ - -e "s:^[ \t]*#undef[ \t]\+\(${1}\).*:#define \1:" \ - ${S}/zconfig.h - fi - - return $? -} - -### End: Helper functions - -pkg_setup() { - local result=0 numec=0 - - linux-mod_pkg_setup - - einfo "Running pre-flight checks..." - - # basic zaptel checks - if ! linux_chkconfig_present CRC_CCITT; then - echo - eerror "Your kernel lacks CRC_CCIT support!" - eerror "Enable CONFIG_CRC_CCIT!" - result=$((result+1)) - fi - - # check if multiple echo cancellers have been selected - for x in ${ZAP_EC_FLAGS}; do - use $x && numec=$((numec+1)) - 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 - echo - ewarn "Multiple echo canceller flags are active but only one will be used!" - ewarn "Selected: $(select_echo_cancel)" - fi - - # we need at least HDLC generic support - if use zapnet && ! linux_chkconfig_present HDLC; then - echo - eerror "zapnet: Your kernel lacks HDLC support!" - eerror "zapnet: Enable CONFIG_HDLC* to use zaptel network support!" - result=$((result+1)) - fi - - # zapras needs PPP support - if use zapras && ! linux_chkconfig_present PPP; then - echo - eerror "zapras: Your kernel lacks PPP support!" - eerror "zapras: Enable CONFIG_PPP* to use zaptel ras support!" - result=$((result+1)) - fi - - # rtc needs linux-2.6 and CONFIG_RTC - if use rtc; then - if ! kernel_is 2 6; then - echo - eerror "rtc: >=Linux-2.6.0 is needed for rtc support!" - result=$((result+1)) - fi - - if ! linux_chkconfig_present RTC; then - eerror "rtc: Your kernel lacks RealTime-Clock support!" - result=$((result+1)) - fi - fi - - if [[ $result -gt 0 ]]; then - echo - ewarn "One or more of the neccessary precondition(s) is/are not met!" - ewarn "Look at the messages above, resolve the problem (or disable the use-flag) and try again" - echo - - if [[ $result -lt 3 ]]; then - eerror "[$result Error(s)] Zaptel is not happy :(" - else - eerror "[$result Error(s)] You're making zaptel cry :'(" - fi - die "[$result] Precondition(s) not met" - fi - - echo - einfo "Zaptel is happy and continues... :)" -} - -src_unpack() { - unpack ${A} - - cd ${S} - epatch ${FILESDIR}/${P}-gentoo.diff - epatch ${FILESDIR}/zaptel-1.2.9.1-gcc411_is_a_retard-kbuild.patch - - use ukcid && \ - epatch ${FILESDIR}/${PN}-1.2.0-ukcid.patch - - # try to apply bristuff patch - if use bri; then - # fix for userpriv - chmod -R a=rwX ${S_BRI} - - einfo "Patching zaptel w/ BRI stuff (${BRI_VERSION})" - epatch ${S_BRI}/patches/zaptel.patch - - cd ${S_BRI} - - if use florz; then - einfo "Using florz patches (${FLORZ_VERSION}) for zaphfc" - - # remove as soon as there's a new florz patch available - sed -i -e "s:zaptel-1\.2\.5:zaptel-1.2.6:g" \ - ${WORKDIR}/zaphfc_${FLORZ_VERSION}.diff - - epatch ${WORKDIR}/zaphfc_${FLORZ_VERSION}.diff - fi - - # patch includes - sed -i -e "s:^#include.*zaptel\.h.*:#include <zaptel.h>:" \ - qozap/qozap.c \ - zaphfc/zaphfc.c \ - cwain/cwain.c - - # patch makefiles - sed -i -e "s:^ZAP[\t ]*=.*:ZAP=-I${S}:" \ - -e "s:^MODCONF=.*:MODCONF=/etc/modules.d/zaptel:" \ - -e "s:linux-2.6:linux:g" \ - qozap/Makefile \ - zaphfc/Makefile \ - cwain/Makefile - - sed -i -e "s:^\(CFLAGS+=-I. \).*:\1 \$(ZAP):" \ - zaphfc/Makefile - - cd ${S} - fi - -### Configuration changes - local myEC - - # prepare zconfig.h - myEC=$(select_echo_cancel) - if [[ -n "${myEC}" ]]; then - einfo "Selected echo canceller: ${myEC}" - # disable default first, set new selected ec afterwards - zconfig_disable ECHO_CAN - zconfig_enable ECHO_CAN_${myEC} - fi - - # enable rtc support on 2.6 - if use rtc && linux_chkconfig_present RTC && kernel_is 2 6; then - einfo "Enabling ztdummy RTC support" - zconfig_enable USE_RTC - fi - - # enable agressive echo surpression - use ecaggressive && \ - zconfig_enable AGGRESSIVE_SUPPRESSOR - - # ppp ras support - use zapras && \ - zconfig_enable CONFIG_ZAPATA_PPP - - # frame relay, syncppp... - use zapnet && \ - zconfig_enable CONFIG_ZAPATA_NET - - # zaptel watchdog - use watchdog && \ - zconfig_enable CONFIG_ZAPTEL_WATCHDOG -} - -src_compile() { - # build - make KVERS=${KV_FULL} \ - KSRC=${KV_DIR} ARCH=$(tc-arch-kernel) || die - - if use bri; then - cd ${S_BRI} - for x in cwain qozap zaphfc; do - einfo "Building ${x}..." - make KVERS=${KV_FULL} \ - KSRC=/usr/src/linux \ - ARCH=$(tc-arch-kernel) \ - -C ${x} || die "make ${x} failed" - done - fi -} - -src_install() { - make INSTALL_PREFIX=${D} ARCH=$(tc-arch-kernel) \ - KVERS=${KV_FULL} KSRC=/usr/src/linux install || die - - dodoc ChangeLog README README.udev README.Linux26 README.fxsusb zaptel.init - dodoc zaptel.conf.sample LICENSE zaptel.sysconfig - - # additional tools - dobin ztmonitor ztspeed zttest - - # install all header files, several packages need the complete set - # (e.g. sangoma wanpipe) - insinto /usr/include/zaptel - doins *.h - - if use bri; then - einfo "Installing bri" - cd ${S_BRI} - - insinto /lib/modules/${KV_FULL}/misc - doins qozap/qozap.${KV_OBJ} - doins zaphfc/zaphfc.${KV_OBJ} - doins cwain/cwain.${KV_OBJ} - - # install example configs for octoBRI and quadBRI - insinto /etc - doins qozap/zaptel.conf.octoBRI - newins qozap/zaptel.conf zaptel.conf.quadBRI - newins zaphfc/zaptel.conf zaptel.conf.zaphfc - - insinto /etc/asterisk - doins qozap/zapata.conf.octoBRI - newins qozap/zapata.conf zapata.conf.quadBRI - newins zaphfc/zapata.conf zapata.conf.zaphfc - - docinto bristuff - dodoc CHANGES INSTALL - - docinto bristuff/qozap - dodoc qozap/LICENSE qozap/TODO qozap/*.conf* - - docinto bristuff/zaphfc - dodoc zaphfc/LICENSE zaphfc/*.conf - - docinto bristuff/cwain - dodoc cwain/TODO cwain/LICENSE - - cd ${S} - fi - - # install init script - newinitd ${FILESDIR}/zaptel.rc6 zaptel - newconfd ${FILESDIR}/zaptel.confd zaptel - - # install devfsd rule file - insinto /etc/devfs.d - newins ${FILESDIR}/zaptel.devfsd zaptel - - # install udev rule file - insinto /etc/udev/rules.d - newins ${FILESDIR}/zaptel.udevd 10-zaptel.rules - - # fix permissions if there's no udev / devfs around - if [[ -d ${D}/dev/zap ]]; then - chown -R root:dialout ${D}/dev/zap - chmod -R u=rwX,g=rwX,o= ${D}/dev/zap - fi -} - -pkg_postinst() { - linux-mod_pkg_postinst - - echo - einfo "Use the /etc/init.d/zaptel script to load zaptel.conf settings on startup!" - echo - - if use bri; then - einfo "Bristuff configs have been merged as:" - einfo "" - einfo "${ROOT}etc/" - einfo " zaptel.conf.zaphfc" - einfo " zaptel.conf.quadBRI" - einfo " zaptel.conf.octoBRI" - einfo "" - einfo "${ROOT}etc/asterisk/" - einfo " zapata.conf.zaphfc" - einfo " zapata.conf.quadBRI" - einfo " zapata.conf.octoBRI" - echo - fi - - # fix permissions if there's no udev / devfs around - if [[ -d ${ROOT}dev/zap ]]; then - chown -R root:dialout ${ROOT}dev/zap - chmod -R u=rwX,g=rwX,o= ${ROOT}dev/zap - fi -} diff --git a/profiles/package.mask b/profiles/package.mask index a908c82..b992f28 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -2,3 +2,8 @@ # Proof-of-concept ebuild (no-worky) net-misc/freeswitch-svn + +#new sourceforge releases break ekiga +>=dev-libs/pwlib-1.11 +>=net-libs/opal-2.3 +>=net-libs/openh323-1.19 |