summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/zaptel/Manifest131
-rw-r--r--net-misc/zaptel/files/digest-zaptel-1.2.02
-rw-r--r--net-misc/zaptel/files/digest-zaptel-1.2.13
-rw-r--r--net-misc/zaptel/files/digest-zaptel-1.2.33
-rw-r--r--net-misc/zaptel/files/zaptel-1.2.0-gentoo.diff113
-rw-r--r--net-misc/zaptel/zaptel-1.2.0.ebuild371
-rw-r--r--net-misc/zaptel/zaptel-1.2.1.ebuild373
-rw-r--r--net-misc/zaptel/zaptel-1.2.3.ebuild375
8 files changed, 117 insertions, 1254 deletions
diff --git a/net-misc/zaptel/Manifest b/net-misc/zaptel/Manifest
index a1048f11df0b..a7ec744ba9b0 100644
--- a/net-misc/zaptel/Manifest
+++ b/net-misc/zaptel/Manifest
@@ -1,41 +1,144 @@
-MD5 e729eec152fb24afc800f24541a895ef ChangeLog 13603
-MD5 5d92c84f7e556e1552efc5531483a727 files/digest-zaptel-1.0.10 136
-MD5 9be11ef13f32ceaffef87920fe47a93e files/digest-zaptel-1.0.7-r1 212
-MD5 f46e4409c0bb701f8a6214e793de72a2 files/digest-zaptel-1.0.8 212
-MD5 69d0c3831715ccac6422b13a99fc6557 files/digest-zaptel-1.0.9_p2 214
-MD5 f574df759efe80013bc3e7fa04d95232 files/digest-zaptel-1.2.0 136
-MD5 a43d347e67130e0ab4f15e17b34c8ba0 files/digest-zaptel-1.2.1 216
-MD5 cd2c0020b56060f6ba55d0b9a2d04a00 files/digest-zaptel-1.2.3 217
-MD5 da865311bc3aaa4dc53c3cc0e79a6017 files/digest-zaptel-1.2.5 789
+AUX zaptel-1.0.10-devfs26.diff 6026 RMD160 81a4c9d3520b0b716f28dc41ac1c4518a8d9efa6 SHA1 5a018b95fd6c7340ae383624a2206566c2fd3874 SHA256 da217fc40c3d1faf4de800818c78966b915f3b928e00ff02812725104511cebf size 6026
MD5 24ffa9ff867ef807083a53f61465fe02 files/zaptel-1.0.10-devfs26.diff 6026
+RMD160 81a4c9d3520b0b716f28dc41ac1c4518a8d9efa6 files/zaptel-1.0.10-devfs26.diff 6026
+SHA256 da217fc40c3d1faf4de800818c78966b915f3b928e00ff02812725104511cebf files/zaptel-1.0.10-devfs26.diff 6026
+AUX zaptel-1.0.10-gentoo.diff 5489 RMD160 c89a9f225c6fd82dacbc2c98655960b956b41a67 SHA1 94754ac2dd8e488ecb2fa0bc4ff70c14476409fc SHA256 40e0de58e0e1376c097d2a83c7d19c4c63d709d5f6a2cac0e936ae0d1f5b17c2 size 5489
MD5 64804093a66dad967c34de55d3f0633a files/zaptel-1.0.10-gentoo.diff 5489
+RMD160 c89a9f225c6fd82dacbc2c98655960b956b41a67 files/zaptel-1.0.10-gentoo.diff 5489
+SHA256 40e0de58e0e1376c097d2a83c7d19c4c63d709d5f6a2cac0e936ae0d1f5b17c2 files/zaptel-1.0.10-gentoo.diff 5489
+AUX zaptel-1.0.10-ukcid.patch 3787 RMD160 4c4c3b9036db8051643901892a40fbcd153184d6 SHA1 f4da18f52f6dc92c84d9534c10882f3b657d93a3 SHA256 d60c436b44481ec68272572643e83055ec5766f3d0331be0209e789637fb5720 size 3787
MD5 699723eb0b0ad059702af4fc4de7bf95 files/zaptel-1.0.10-ukcid.patch 3787
+RMD160 4c4c3b9036db8051643901892a40fbcd153184d6 files/zaptel-1.0.10-ukcid.patch 3787
+SHA256 d60c436b44481ec68272572643e83055ec5766f3d0331be0209e789637fb5720 files/zaptel-1.0.10-ukcid.patch 3787
+AUX zaptel-1.0.4-experimental-devfs26.diff 5982 RMD160 e7d331073edc6e50e394af8a142c865e2aa9a1d2 SHA1 68c82135d1fbb28f717dbfffe0e1cbcf1a63e60a SHA256 1d8ea43898ae88b7dd46bb6c868b909696350ee791af93c64664e803c1b9a66e size 5982
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 size 821
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.0.7-gentoo.diff 4459 RMD160 85292201131fac627baa7ad7750d2c2bb245f202 SHA1 634ddffa1c19ad2652b11015d2410933125ec8fd SHA256 0e352a3b13939941659970d313c30b10fd2b29457dead9b7bba4fc52e19b6ca4 size 4459
MD5 8471d7eb15aebff9c72f67861cb1ad88 files/zaptel-1.0.7-gentoo.diff 4459
+RMD160 85292201131fac627baa7ad7750d2c2bb245f202 files/zaptel-1.0.7-gentoo.diff 4459
+SHA256 0e352a3b13939941659970d313c30b10fd2b29457dead9b7bba4fc52e19b6ca4 files/zaptel-1.0.7-gentoo.diff 4459
+AUX zaptel-1.0.8-gentoo.diff 4747 RMD160 61966135b54cd306722cb18e51b4532f0cba7a5f SHA1 a37f3fa324c8bc625d8b10f5809856c55f98d879 SHA256 6115064bf1def0c6397b00da49b8b9c67ff05790adbcabd70bc083ea853577a5 size 4747
MD5 e72dc0fa3cbcd55182b6f05d8c731694 files/zaptel-1.0.8-gentoo.diff 4747
+RMD160 61966135b54cd306722cb18e51b4532f0cba7a5f files/zaptel-1.0.8-gentoo.diff 4747
+SHA256 6115064bf1def0c6397b00da49b8b9c67ff05790adbcabd70bc083ea853577a5 files/zaptel-1.0.8-gentoo.diff 4747
+AUX zaptel-1.0.9-gentoo.diff 4855 RMD160 2862e476b25e1486f1eafb7d27bca2c739184913 SHA1 0340ca0b6c531ce7496a263e9a88791ebc57992b SHA256 e428664769e339327f4aa099d0212b404fc89acf525d7f08e7c768b8cb90e207 size 4855
MD5 5fe59834ed82727b3297f9e39eb855be files/zaptel-1.0.9-gentoo.diff 4855
+RMD160 2862e476b25e1486f1eafb7d27bca2c739184913 files/zaptel-1.0.9-gentoo.diff 4855
+SHA256 e428664769e339327f4aa099d0212b404fc89acf525d7f08e7c768b8cb90e207 files/zaptel-1.0.9-gentoo.diff 4855
+AUX zaptel-1.0.9-rtc.patch 4238 RMD160 022a7501aacc70553fc6603681804732c358e3b5 SHA1 9136545f118afae522020da789de60323368e3c7 SHA256 f213fb1db81f4f00f07ac87654729875e529554f3374007ca7dea70821f85e00 size 4238
MD5 6029a1280d38d8c67577bc7a873fd336 files/zaptel-1.0.9-rtc.patch 4238
+RMD160 022a7501aacc70553fc6603681804732c358e3b5 files/zaptel-1.0.9-rtc.patch 4238
+SHA256 f213fb1db81f4f00f07ac87654729875e529554f3374007ca7dea70821f85e00 files/zaptel-1.0.9-rtc.patch 4238
+AUX zaptel-1.0.9_p2-gentoo.diff 5179 RMD160 cd93992bd6ca2b5da23a87d388fc467bf47cdc7b SHA1 5af003a0bf33a6e8d6d946a6fb09e2cc1723e1ce SHA256 bcd27714804472e020003663ee641d99eab80f1034328605f9442c5c3b960bf7 size 5179
MD5 077231bb1ba50aedfd08476b9d4eb18b files/zaptel-1.0.9_p2-gentoo.diff 5179
+RMD160 cd93992bd6ca2b5da23a87d388fc467bf47cdc7b files/zaptel-1.0.9_p2-gentoo.diff 5179
+SHA256 bcd27714804472e020003663ee641d99eab80f1034328605f9442c5c3b960bf7 files/zaptel-1.0.9_p2-gentoo.diff 5179
+AUX zaptel-1.2.0-devfs26.diff 6046 RMD160 46be740e37e026a9bd7e19136b6c7094def445ef SHA1 0169f0a13563565756eb5c41b641ba2d557c0b66 SHA256 b63bd43dae1e61f55ee4dbbf25d3401532d728ca4dd79c747835e9907c011856 size 6046
MD5 c0f95d699055c3b46e5d3078bfaa2afb files/zaptel-1.2.0-devfs26.diff 6046
-MD5 e6c7407f2478a1836a087eec78ecd69d files/zaptel-1.2.0-gentoo.diff 4626
+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-ukcid.patch 3787 RMD160 4c4c3b9036db8051643901892a40fbcd153184d6 SHA1 f4da18f52f6dc92c84d9534c10882f3b657d93a3 SHA256 d60c436b44481ec68272572643e83055ec5766f3d0331be0209e789637fb5720 size 3787
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.1-gentoo.diff 4756 RMD160 1ce3b91f5a6be87566d56fa49605f7e6ce5ac470 SHA1 fc7f97a078d542be5d7acdf2722f2fb09b70ec94 SHA256 f92466fb92dae6c0168fd27978aa75bb262c37d037d25ecd334ccc5e9a5939ea size 4756
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 size 7740
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-bristuff-0.2.0-RC8g.patch 5551 RMD160 9592e1f860ca0ef8cdb206a3f0379520937766da SHA1 5c6429756616a4a66363e0d62f927e25b0f4980d SHA256 9a637faa2891a7b2773f2a0f8124cb89041b64a1e33bf2b35e9e916ddc62dca2 size 5551
MD5 cce31b4380f9c62e91293dff1523d5e0 files/zaptel-bristuff-0.2.0-RC8g.patch 5551
+RMD160 9592e1f860ca0ef8cdb206a3f0379520937766da files/zaptel-bristuff-0.2.0-RC8g.patch 5551
+SHA256 9a637faa2891a7b2773f2a0f8124cb89041b64a1e33bf2b35e9e916ddc62dca2 files/zaptel-bristuff-0.2.0-RC8g.patch 5551
+AUX zaptel-bristuff-0.2.0-RC8h.patch 6064 RMD160 7f678d0591b3b4e39e20d74b9eff1c2b81ae8f9a SHA1 9211da7fb5f14bc4b32aae10b658e9d886e2ede6 SHA256 3ce8bbb2075cb000b371318cef6e8f1b4d59ce8e772543f5739a632f8aa47586 size 6064
MD5 d893c36bffff825ab0e6d48e1ad0acea files/zaptel-bristuff-0.2.0-RC8h.patch 6064
+RMD160 7f678d0591b3b4e39e20d74b9eff1c2b81ae8f9a files/zaptel-bristuff-0.2.0-RC8h.patch 6064
+SHA256 3ce8bbb2075cb000b371318cef6e8f1b4d59ce8e772543f5739a632f8aa47586 files/zaptel-bristuff-0.2.0-RC8h.patch 6064
+AUX zaptel-bristuff-0.2.0-RC8n.patch 6064 RMD160 d2bcb835e35875e90f3322dff83298d0826aaa8e SHA1 b2733e47d686264c960bf283276bf1d4d553d65a SHA256 9b6df20d52b75122108c52160aee246bc0d8103d678687192398e02a320c692b size 6064
MD5 f5d81a19c52c5e88fefed12251674134 files/zaptel-bristuff-0.2.0-RC8n.patch 6064
+RMD160 d2bcb835e35875e90f3322dff83298d0826aaa8e files/zaptel-bristuff-0.2.0-RC8n.patch 6064
+SHA256 9b6df20d52b75122108c52160aee246bc0d8103d678687192398e02a320c692b files/zaptel-bristuff-0.2.0-RC8n.patch 6064
+AUX zaptel-bristuff-0.2.0-RC8q.patch 6080 RMD160 39e063f8716198a78e1bc5a232bc60de355db1f6 SHA1 c310dc130a66b9479b99d248933086d7f75d2a1a SHA256 7344aa1fbdfb4ead188ed3d26695cfe93e9c650e1dc4f9ef2de067e88a21eefa size 6080
MD5 5ebdd425fca1594698e4f21e44c5e055 files/zaptel-bristuff-0.2.0-RC8q.patch 6080
+RMD160 39e063f8716198a78e1bc5a232bc60de355db1f6 files/zaptel-bristuff-0.2.0-RC8q.patch 6080
+SHA256 7344aa1fbdfb4ead188ed3d26695cfe93e9c650e1dc4f9ef2de067e88a21eefa files/zaptel-bristuff-0.2.0-RC8q.patch 6080
+AUX zaptel.confd 371 RMD160 1867454626e66743b26d8726e330534c9117c8a4 SHA1 c2ccc3eada8ccb28527fcacfe4b89cf25131867e SHA256 f1cf6c46282645567481118bfcd814b64c88510499c4f423ff2df4ced34c434f size 371
MD5 fae1145da422b8838c2a6ac3405dc4c4 files/zaptel.confd 371
+RMD160 1867454626e66743b26d8726e330534c9117c8a4 files/zaptel.confd 371
+SHA256 f1cf6c46282645567481118bfcd814b64c88510499c4f423ff2df4ced34c434f files/zaptel.confd 371
+AUX zaptel.devfsd 204 RMD160 765385b9f70f9d8dff7356408712aaf02a30e9e2 SHA1 cc4a1f987fd2cc6fc5dcb6c7e4f98842339966be SHA256 908dbe8a33b9ae2f9622654bac1a8aeb69f15081a72866886edf5cd56eb48980 size 204
MD5 6fec683d2df451d8094093511d1138db files/zaptel.devfsd 204
+RMD160 765385b9f70f9d8dff7356408712aaf02a30e9e2 files/zaptel.devfsd 204
+SHA256 908dbe8a33b9ae2f9622654bac1a8aeb69f15081a72866886edf5cd56eb48980 files/zaptel.devfsd 204
+AUX zaptel.rc6 972 RMD160 898806437812819568f6801faf682302e20bbdde SHA1 d427875ae8ece8ca00cf0ac1f2ee92c6e1b9e321 SHA256 0558aa032de92fa9ae54076d9268fc3e704317eb54985656f0f21e2d334b6d84 size 972
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 size 358
MD5 3bff3fd5d8dc52513ceeac546e1e11bf files/zaptel.udevd 358
-MD5 44cf247f04cc83413fcb40ed59d0847a metadata.xml 248
+RMD160 fc92cf8fcbf9ed49b7918557670417e15f84f281 files/zaptel.udevd 358
+SHA256 9be02c6b22db788d8a8fabc5bc2574102b50c3b329cff12c342d39896c7615b5 files/zaptel.udevd 358
+DIST bristuff-0.2.0-RC8g.tar.gz 139013 RMD160 c0a037e0819b8985be2df60a010309335527f203 SHA256 19a0a7fdbb192fed4ea086251d5653abbe8525232dd5b613f9366400c97b213b size 139013
+DIST bristuff-0.2.0-RC8h.tar.gz 150270 RMD160 a958bc8418618ca892f0fbdb8d8cf203375d3865 SHA256 74c2e40cd665a2a9ac29d5ddd31892c8ca15ca9b55e2a08523e9db5ca75ba207 size 150270
+DIST bristuff-0.2.0-RC8n.tar.gz 143979 RMD160 922b6b807bb48aa690412de3916eeb54c1454486 SHA256 a92d9d8e9777c0637d2db0375794fe011fd8ecf1461f0b8e6587c74670da637c size 143979
+DIST bristuff-0.2.0-RC8q.tar.gz 152037 RMD160 aaa9ca23eaeb74abc96dd7240f67e7886d4d6ad9 SHA256 8ba7a1e1e6ee8e9d77853d6d790d0de5deced7c11679b9b0e108cca817ed9728 size 152037
+DIST bristuff-0.3.0-PRE-1n.tar.gz 248488 RMD160 3da3043a88551578b4495ae8e54ffb6a4f3bfd2c SHA256 31b894bdd2741e309dfed23963db1cda3d74a8d616de8df9f1281b5558aa27f1 size 248488
+DIST zaphfc_0.2.0-RC8a_florz-6.diff.gz 10428 RMD160 59117c086427dc30e10730900952e00063b4c01c SHA256 175541f22c725d9b2c32249b44e918e6335bc2c1fe1830a8c76d19c6d5a2ae46 size 10428
+DIST zaphfc_0.2.0-RC8j_florz-8.diff.gz 10559 RMD160 81d490557da7dcb3771022d590b2fa69871d2662 SHA256 20aa0da6008ac9ebf989db0f1a8c052d1c86b5444ec28c8c1dd7779ba5627309 size 10559
+DIST zaphfc_0.3.0-PRE-1n_florz-11.diff.gz 10647 RMD160 31f1f82a5452bafa191b2023cfa559b8431786c6 SHA256 923f6f8fa8a520d14978aab5ff2911234e587bee1fae085f76fb992ed9e1f9b1 size 10647
+DIST zaptel-1.0.10.tar.gz 327832 RMD160 a797bb36f35e50c51d30705ad1d628f5728d87ed SHA256 7978f3c56a95033bf2bc2cb8d0cb2830c5371aae21e0021503c6dbf2361795d1 size 327832
+DIST zaptel-1.0.7.tar.gz 316693 RMD160 999240424d743f0b7f47aaaedea37f241d971147 SHA256 0d42b52642c8803c90186dfa568489a598df61903238e94051b51739bc68217e size 316693
+DIST zaptel-1.0.8.tar.gz 326128 RMD160 f55ecfa8a8263b9342e2a0e7625c8e6083165880 SHA256 a3ffc91f246c8d2092d6022d78479e305879dca1a2b409217cbe080c3c9b4853 size 326128
+DIST zaptel-1.0.9.2.tar.gz 327362 RMD160 22fb125e6a4e93b4d05a01c6ead99a58a4bf3e31 SHA256 2734767ef00d6ddba8dba74801975d56082a48bb5e4c8299aa08210d73d09803 size 327362
+DIST zaptel-1.2.5.tar.gz 673161 RMD160 7de580a8424b436d77504501ef59c47f2498e04d SHA256 8a80ccd9b2852de8a0ccf0036819d8e5cc0f73516f1fdcee3392c813a26ada5c size 673161
+EBUILD zaptel-1.0.10.ebuild 6955 RMD160 43112214a810b62fbf25c3cbb56f47427a71037f SHA1 4f1c18fb52ada609612a74c60f907a5893425d31 SHA256 d47ecd0955b1bab2046262b3d0384aaa0a774353e4f72a11c4c8926dae310c42 size 6955
MD5 a937510da057c2f6c0ab67872b1086fe zaptel-1.0.10.ebuild 6955
+RMD160 43112214a810b62fbf25c3cbb56f47427a71037f zaptel-1.0.10.ebuild 6955
+SHA256 d47ecd0955b1bab2046262b3d0384aaa0a774353e4f72a11c4c8926dae310c42 zaptel-1.0.10.ebuild 6955
+EBUILD zaptel-1.0.7-r1.ebuild 6517 RMD160 a40ddb6c4fb789193710d9595ed438e715d625b0 SHA1 7f60b010124d3c6e48f4b2314d77d3ab966e309e SHA256 93a80dd479b068dae7aa27c157d4bc2cc84df7084f1f50a9178ae9b22e857ede size 6517
MD5 276ca202b6c1471af85d43ce0eb6b94f zaptel-1.0.7-r1.ebuild 6517
+RMD160 a40ddb6c4fb789193710d9595ed438e715d625b0 zaptel-1.0.7-r1.ebuild 6517
+SHA256 93a80dd479b068dae7aa27c157d4bc2cc84df7084f1f50a9178ae9b22e857ede zaptel-1.0.7-r1.ebuild 6517
+EBUILD zaptel-1.0.8.ebuild 6370 RMD160 1149a607111018d635b1317c9fc90be7c11c176d SHA1 7bb79a23064b51b74cfa609b8afb239ed7e910c4 SHA256 3e6294eeee570aa0c380320d32d39e7f5e62a9d5c4579d961b8598e2566a9e9f size 6370
MD5 6263a968f86b50a23db0b3bcaf19b0ae zaptel-1.0.8.ebuild 6370
+RMD160 1149a607111018d635b1317c9fc90be7c11c176d zaptel-1.0.8.ebuild 6370
+SHA256 3e6294eeee570aa0c380320d32d39e7f5e62a9d5c4579d961b8598e2566a9e9f zaptel-1.0.8.ebuild 6370
+EBUILD zaptel-1.0.9_p2.ebuild 6641 RMD160 cc6b4981c59e4dc1af4e82cefb4fd46dd5643424 SHA1 819d86f429b7aea37a3a2ccb3afb18e313026c33 SHA256 da2d007c41e8d29acce870e7096f3c36997ecbff534b1fbb802c0182c653b08a size 6641
MD5 f0c8a8a514efa543a36618d72d4ade3d zaptel-1.0.9_p2.ebuild 6641
-MD5 a170d2a6dba63bc4de86eb9766c8d8f3 zaptel-1.2.0.ebuild 9102
-MD5 5f7d588d0581d344b87cc078bf54af1f zaptel-1.2.1.ebuild 9125
-MD5 41f515d16e0e167a57019df913cef4f4 zaptel-1.2.3.ebuild 9247
+RMD160 cc6b4981c59e4dc1af4e82cefb4fd46dd5643424 zaptel-1.0.9_p2.ebuild 6641
+SHA256 da2d007c41e8d29acce870e7096f3c36997ecbff534b1fbb802c0182c653b08a zaptel-1.0.9_p2.ebuild 6641
+EBUILD zaptel-1.2.5.ebuild 9221 RMD160 4b39f9664495c4162adb157f0e7f51bd9ef9213f SHA1 5d152be00af3c62781606fb33a1508586104ff41 SHA256 06df422491b8a59e33297fa975b678d6234cdf750c3ed6683a06e099ed7d01a0 size 9221
MD5 8aa98093c199df2bc70cca0d5420a48a zaptel-1.2.5.ebuild 9221
+RMD160 4b39f9664495c4162adb157f0e7f51bd9ef9213f zaptel-1.2.5.ebuild 9221
+SHA256 06df422491b8a59e33297fa975b678d6234cdf750c3ed6683a06e099ed7d01a0 zaptel-1.2.5.ebuild 9221
+MISC ChangeLog 13792 RMD160 6f31bcfde51fc32b81b4f89b24c52875c8538d19 SHA1 fee78df5ee69ea31b088916a002dd99687cff22b SHA256 f67e35683cda9d7967c26e7ac1c2912c1a787ec74e7b6ab7373df5358168ede0 size 13792
+MD5 f05de2e0c15901c6aa38bc1db395d3e0 ChangeLog 13792
+RMD160 6f31bcfde51fc32b81b4f89b24c52875c8538d19 ChangeLog 13792
+SHA256 f67e35683cda9d7967c26e7ac1c2912c1a787ec74e7b6ab7373df5358168ede0 ChangeLog 13792
+MISC metadata.xml 248 RMD160 a989fff0cebc82a58a75fb3a2eec8da0712ad57e SHA1 10bea6cd152e9f0ecb627eaacc19980a9d5f5dc4 SHA256 d0e3ab77a8a7b859511b8d5fda83dc018351e6367724b097dcc13c4aa0a3ee6b size 248
+MD5 44cf247f04cc83413fcb40ed59d0847a metadata.xml 248
+RMD160 a989fff0cebc82a58a75fb3a2eec8da0712ad57e metadata.xml 248
+SHA256 d0e3ab77a8a7b859511b8d5fda83dc018351e6367724b097dcc13c4aa0a3ee6b metadata.xml 248
+MD5 35f5df1004da005d708c3c6c99269aed files/digest-zaptel-1.0.10 500
+RMD160 276619c3b2cd6e00ca47a0f6196de3fd375f78f1 files/digest-zaptel-1.0.10 500
+SHA256 97f4cbc2c2075338a5fbb1c0da7f79f365725d49e9d6cb89a974db23c6e5a83d files/digest-zaptel-1.0.10 500
+MD5 31cfe33ae95bc44ce469378beb6eea1e files/digest-zaptel-1.0.7-r1 774
+RMD160 0b587972db9a42ccc49531632baa44767ae90f2e files/digest-zaptel-1.0.7-r1 774
+SHA256 324fddbe9062fbe768bde123be4f4431396b1f86bea1ae7bba799d43caa2c13e files/digest-zaptel-1.0.7-r1 774
+MD5 d74030feeb462c5b70bbb255d59fa7a9 files/digest-zaptel-1.0.8 774
+RMD160 703e2ffe9083714a24657a89a7148a6c007ead52 files/digest-zaptel-1.0.8 774
+SHA256 b727e7f6d0c64269fd1c58ca036b04bca3a20ae095cfb23af91482d4395a3bdd files/digest-zaptel-1.0.8 774
+MD5 192d621db46752b0d262d4bf174b5385 files/digest-zaptel-1.0.9_p2 780
+RMD160 49c1631de2cc5baddf2058ef0536b52293bf6557 files/digest-zaptel-1.0.9_p2 780
+SHA256 cb097568a90e6a776fcd17e0e21c9407e89b8254e1bcf5b0fbbf8c2f486c6b69 files/digest-zaptel-1.0.9_p2 780
+MD5 da865311bc3aaa4dc53c3cc0e79a6017 files/digest-zaptel-1.2.5 789
+RMD160 c1ed31a2fdcfb97907e77540ab9011dd22096324 files/digest-zaptel-1.2.5 789
+SHA256 0ab3c45417e958d58d38e1d71b95128b764f0508f089854403cef599b19653b2 files/digest-zaptel-1.2.5 789
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 26f88125bc63..000000000000
--- a/net-misc/zaptel/files/digest-zaptel-1.2.0
+++ /dev/null
@@ -1,2 +0,0 @@
-MD5 884979fbfb75e6cdf7d8bdb66841e728 bristuff-0.3.0-PRE-1.tar.gz 159742
-MD5 83d4aaab1594c5aa0dedc6b4f221fb48 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 55f521812b54..000000000000
--- a/net-misc/zaptel/files/digest-zaptel-1.2.1
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 efabb39a05d4c51f1e9d7d55ac097e2c zaptel-1.2.1.tar.gz 617212
-MD5 97b25f6bc1df0a962383b1bc930266b9 bristuff-0.3.0-PRE-1c.tar.gz 167219
-MD5 021421e8b07547d907c4378e9bed2d43 zaphfc_0.3.0-PRE-1_florz-10.diff.gz 10555
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 e88f6c542c35..000000000000
--- a/net-misc/zaptel/files/digest-zaptel-1.2.3
+++ /dev/null
@@ -1,3 +0,0 @@
-MD5 99f82076904be0325029f6f71357eeba bristuff-0.3.0-PRE-1h.tar.gz 207158
-MD5 88160b95c990e8bc92e7d0a755df6792 zaphfc_0.3.0-PRE-1f_florz-11.diff.gz 10563
-MD5 9bcb705458f9b20a9644310298a9cd4d zaptel-1.2.3.tar.gz 619706
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 2470a576cd3c..000000000000
--- 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/zaptel-1.2.0.ebuild b/net-misc/zaptel/zaptel-1.2.0.ebuild
deleted file mode 100644
index 7869eccb299a..000000000000
--- a/net-misc/zaptel/zaptel-1.2.0.ebuild
+++ /dev/null
@@ -1,371 +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.0.ebuild,v 1.3 2006/01/23 15:14:57 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-1"
-#FLORZ_VERSION="0.2.0-RC8a_florz-6"
-
-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/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.ebuild b/net-misc/zaptel/zaptel-1.2.1.ebuild
deleted file mode 100644
index 364505b99688..000000000000
--- a/net-misc/zaptel/zaptel-1.2.1.ebuild
+++ /dev/null
@@ -1,373 +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.1.ebuild,v 1.2 2006/01/23 15:14:57 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
- 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
-
- chmod -R u=rwX,g=rX,o=rX ${S_BRI}
-
- # 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.3.ebuild b/net-misc/zaptel/zaptel-1.2.3.ebuild
deleted file mode 100644
index 1b61e5111338..000000000000
--- a/net-misc/zaptel/zaptel-1.2.3.ebuild
+++ /dev/null
@@ -1,375 +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.3.ebuild,v 1.1 2006/02/02 01:14:58 stkn Exp $
-
-inherit toolchain-funcs eutils linux-mod
-
-## TODO:
-#
-# - 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/${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
-}