Version bump, updated to use bristuff-0.3.0-PRE-1p
authorStefan Knoblich <stkn@gentoo.org>
Wed, 7 Jun 2006 17:52:33 +0000 (17:52 +0000)
committerStefan Knoblich <stkn@gentoo.org>
Wed, 7 Jun 2006 17:52:33 +0000 (17:52 +0000)
Package-Manager: portage-2.1_rc4-r3

net-libs/libpri/ChangeLog
net-libs/libpri/Manifest
net-libs/libpri/files/digest-libpri-1.2.3 [new file with mode: 0644]
net-libs/libpri/files/libpri-1.2.3-gentoo.diff [new file with mode: 0644]
net-libs/libpri/libpri-1.2.3.ebuild [new file with mode: 0644]

index fc795412a352b8a6a7386d64c74c7960331fe1ef..0890f4dec8d9859c08db6f44ef7ca819f747549c 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for net-libs/libpri
 # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/libpri/ChangeLog,v 1.52 2006/05/06 14:41:20 stkn Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpri/ChangeLog,v 1.53 2006/06/07 17:52:33 stkn Exp $
+
+*libpri-1.2.3 (07 Jun 2006)
+
+  07 Jun 2006; Stefan Knoblich <stkn@gentoo.org>
+  +files/libpri-1.2.3-gentoo.diff, +libpri-1.2.3.ebuild:
+  Version bump, updated to use bristuff-0.3.0-PRE-1p.
 
   06 May 2006; Stefan Knoblich <stkn@gentoo.org> libpri-1.2.2-r2.ebuild:
   Remove RESTRICT from ebuild.
index a952a338c05eb6670930a2ec70eded2b8b6accbc..9551b71b2d11fc35bfd7ff20b9307d9861a2d3f6 100644 (file)
@@ -1,46 +1,56 @@
-AUX libpri-1.2.2-gentoo.diff 1921 RMD160 99d9a641900d2661332ac09758d33c9138d392de SHA1 34dbd6b2d19d7827ba88a70e2d4720fa956ad320 SHA256 6c228db1a279413f4f94834fbea318ea953b23bde386033521e03ce1dbb6bf69 size 1921
+AUX libpri-1.2.2-gentoo.diff 1921 RMD160 99d9a641900d2661332ac09758d33c9138d392de SHA1 34dbd6b2d19d7827ba88a70e2d4720fa956ad320 SHA256 6c228db1a279413f4f94834fbea318ea953b23bde386033521e03ce1dbb6bf69
 MD5 58b3a9cd96f1dcf510bb49a5feab8893 files/libpri-1.2.2-gentoo.diff 1921
 RMD160 99d9a641900d2661332ac09758d33c9138d392de files/libpri-1.2.2-gentoo.diff 1921
 SHA256 6c228db1a279413f4f94834fbea318ea953b23bde386033521e03ce1dbb6bf69 files/libpri-1.2.2-gentoo.diff 1921
-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 bristuff-0.3.0-PRE-1o.tar.gz 252770 RMD160 60f1656a815bd1ff7d86ca7cb657c1d850a84804 SHA256 aec95d12959181b601d7d10f05bb16eff715859dc8ea9fbb10e670296f61b6e9 size 252770
-DIST libpri-1.0.7.tar.gz 55767 RMD160 635962d6550d514ef65c2d1df5e458ef68181852 SHA256 6e6b480c9e02bbbc1ffc3442764e131b01bcd2fdb553500c1a63af0685b5772e size 55767
-DIST libpri-1.0.8.tar.gz 55799 RMD160 632401a25d9666587a69bc7cf0cc9695b946f6ce SHA256 a015f407279945a59baa6cb49bf6613fb7a2e13b41906777f0b8a0335e8614d1 size 55799
-DIST libpri-1.0.9.tar.gz 55801 RMD160 1e69c1ee8352eb59dbc2c85b2958fa36292b1af7 SHA256 429935002dc817f0c489013c0ab917f3b87414abafa90194bba891e167bfcf5b size 55801
-DIST libpri-1.2.2.tar.gz 76070 RMD160 11b57b8788d1f27d170767ca9e916ae32f5764a0 SHA256 168fce4699b77c1ac5ae176237dae2f289714be95ddd2fe8bdc25a22f00318dd size 76070
-EBUILD libpri-1.0.7-r1.ebuild 1002 RMD160 f306f57250a827c979e94d34b61be8e36bfa1b84 SHA1 fb03a61068df7809e61d8ee4c6069cbceab47339 SHA256 b3576911f04bfecd0c14f937c2d92e83c8fa8ac7e0a0fd530cc66204ca3f9cf1 size 1002
+AUX libpri-1.2.3-gentoo.diff 1832 RMD160 de0085863cbf7a6a806c28267c44a2d12b990d2f SHA1 cb6af07c0ea49a9cf4d4320968f002d868a3a631 SHA256 d03e1611ae4a835322ebb2c2ab320211ecdea860ef5bdd789ced0f6730c181bd
+MD5 ea8605bacf1819cbdda16711c802eea9 files/libpri-1.2.3-gentoo.diff 1832
+RMD160 de0085863cbf7a6a806c28267c44a2d12b990d2f files/libpri-1.2.3-gentoo.diff 1832
+SHA256 d03e1611ae4a835322ebb2c2ab320211ecdea860ef5bdd789ced0f6730c181bd files/libpri-1.2.3-gentoo.diff 1832
+DIST bristuff-0.2.0-RC8g.tar.gz 139013 RMD160 c0a037e0819b8985be2df60a010309335527f203 SHA1 d4289553e12260a24814b045c26a77c087e39daf SHA256 19a0a7fdbb192fed4ea086251d5653abbe8525232dd5b613f9366400c97b213b
+DIST bristuff-0.2.0-RC8h.tar.gz 150270 RMD160 a958bc8418618ca892f0fbdb8d8cf203375d3865 SHA1 93420f41e6383167505f5ef8b65cde7ddf7f42ea SHA256 74c2e40cd665a2a9ac29d5ddd31892c8ca15ca9b55e2a08523e9db5ca75ba207
+DIST bristuff-0.2.0-RC8n.tar.gz 143979 RMD160 922b6b807bb48aa690412de3916eeb54c1454486 SHA1 83342bebe9a2c5804ea81edc2c80d5675366b3b5 SHA256 a92d9d8e9777c0637d2db0375794fe011fd8ecf1461f0b8e6587c74670da637c
+DIST bristuff-0.2.0-RC8q.tar.gz 152037 RMD160 aaa9ca23eaeb74abc96dd7240f67e7886d4d6ad9 SHA1 27a6f56f47aa7ee5459d2625da7cff310909764e SHA256 8ba7a1e1e6ee8e9d77853d6d790d0de5deced7c11679b9b0e108cca817ed9728
+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 libpri-1.0.7.tar.gz 55767 RMD160 635962d6550d514ef65c2d1df5e458ef68181852 SHA1 15a0bfd18a7f8e2f85857ed26c9067a1797f93c5 SHA256 6e6b480c9e02bbbc1ffc3442764e131b01bcd2fdb553500c1a63af0685b5772e
+DIST libpri-1.0.8.tar.gz 55799 RMD160 632401a25d9666587a69bc7cf0cc9695b946f6ce SHA1 001b68b48eca81dafe8bcc887b9ceaf0e1859716 SHA256 a015f407279945a59baa6cb49bf6613fb7a2e13b41906777f0b8a0335e8614d1
+DIST libpri-1.0.9.tar.gz 55801 RMD160 1e69c1ee8352eb59dbc2c85b2958fa36292b1af7 SHA1 0d5e65c96048579108767e3d62b9f92c1da9709f SHA256 429935002dc817f0c489013c0ab917f3b87414abafa90194bba891e167bfcf5b
+DIST libpri-1.2.2.tar.gz 76070 RMD160 11b57b8788d1f27d170767ca9e916ae32f5764a0 SHA1 8b641aa1d1740874d70ae7c15e0aedab011d5e16 SHA256 168fce4699b77c1ac5ae176237dae2f289714be95ddd2fe8bdc25a22f00318dd
+DIST libpri-1.2.3-bristuff-0.3.0-PRE-1p.diff.gz 45379 RMD160 49325a45967b6a416919eff2468269d80b9c455f SHA1 eb129b06d07ee532a22a22746a4b38d8971d0ccb SHA256 fbaa63486036e1dad98f614140ed5e39162408586be2a00854931b09ff51dbae
+DIST libpri-1.2.3.tar.gz 76348 RMD160 2e113dd213c24499bb61c4caa533173534760061 SHA1 8142047002119ce76dfb85204606988be9114d2f SHA256 f4ca5d72aa4b5e5c99c4e1a9de7235af5ed12b51a20dd757f071f5d7cf9d0fd0
+EBUILD libpri-1.0.7-r1.ebuild 1002 RMD160 f306f57250a827c979e94d34b61be8e36bfa1b84 SHA1 fb03a61068df7809e61d8ee4c6069cbceab47339 SHA256 b3576911f04bfecd0c14f937c2d92e83c8fa8ac7e0a0fd530cc66204ca3f9cf1
 MD5 d988d508ed6a6b40c542b1af643e2446 libpri-1.0.7-r1.ebuild 1002
 RMD160 f306f57250a827c979e94d34b61be8e36bfa1b84 libpri-1.0.7-r1.ebuild 1002
 SHA256 b3576911f04bfecd0c14f937c2d92e83c8fa8ac7e0a0fd530cc66204ca3f9cf1 libpri-1.0.7-r1.ebuild 1002
-EBUILD libpri-1.0.8.ebuild 998 RMD160 5d0597be7fc4923e3fde9446c95a10b95c5dcf13 SHA1 7eabf9a2ff1483f342827c2ec143aab014d88e1c SHA256 72d48f6244ec62cea5e9dca270f9d636b6914682e3a035d0d72c66226adbf98b size 998
+EBUILD libpri-1.0.8.ebuild 998 RMD160 5d0597be7fc4923e3fde9446c95a10b95c5dcf13 SHA1 7eabf9a2ff1483f342827c2ec143aab014d88e1c SHA256 72d48f6244ec62cea5e9dca270f9d636b6914682e3a035d0d72c66226adbf98b
 MD5 d4eea14fb867c7510353cd463eae8442 libpri-1.0.8.ebuild 998
 RMD160 5d0597be7fc4923e3fde9446c95a10b95c5dcf13 libpri-1.0.8.ebuild 998
 SHA256 72d48f6244ec62cea5e9dca270f9d636b6914682e3a035d0d72c66226adbf98b libpri-1.0.8.ebuild 998
-EBUILD libpri-1.0.9-r1.ebuild 999 RMD160 377d11e2741047e5cf87191a0b3054885c8723b8 SHA1 0c612be582702f906cb911be917961d2129645ef SHA256 70a01824084f11d57e2e0f0afcabf70a9e0d327c36e15ea1b89f63f091a99643 size 999
+EBUILD libpri-1.0.9-r1.ebuild 999 RMD160 377d11e2741047e5cf87191a0b3054885c8723b8 SHA1 0c612be582702f906cb911be917961d2129645ef SHA256 70a01824084f11d57e2e0f0afcabf70a9e0d327c36e15ea1b89f63f091a99643
 MD5 57a84bfa8a8a1dae9eff85b7e259fda4 libpri-1.0.9-r1.ebuild 999
 RMD160 377d11e2741047e5cf87191a0b3054885c8723b8 libpri-1.0.9-r1.ebuild 999
 SHA256 70a01824084f11d57e2e0f0afcabf70a9e0d327c36e15ea1b89f63f091a99643 libpri-1.0.9-r1.ebuild 999
-EBUILD libpri-1.0.9-r2.ebuild 1002 RMD160 cf871f6ab5edf73471e45eeaa773b207bfd3d387 SHA1 2f6410521d316196699365940d6c1b141f685922 SHA256 b2ccc4428a2fedb097c88f441fa43e723d67a8e786c646da149338e411fc27ee size 1002
+EBUILD libpri-1.0.9-r2.ebuild 1002 RMD160 cf871f6ab5edf73471e45eeaa773b207bfd3d387 SHA1 2f6410521d316196699365940d6c1b141f685922 SHA256 b2ccc4428a2fedb097c88f441fa43e723d67a8e786c646da149338e411fc27ee
 MD5 19eeb1cbce34e5c02a2504cf8c171ebe libpri-1.0.9-r2.ebuild 1002
 RMD160 cf871f6ab5edf73471e45eeaa773b207bfd3d387 libpri-1.0.9-r2.ebuild 1002
 SHA256 b2ccc4428a2fedb097c88f441fa43e723d67a8e786c646da149338e411fc27ee libpri-1.0.9-r2.ebuild 1002
-EBUILD libpri-1.2.2-r1.ebuild 1368 RMD160 23ca1a22ff757e42eb354105f1ba6bb2aef0f3e1 SHA1 f260d1b5047695195c066965dd17cd18d2ae34b6 SHA256 f71e2d6afb4962d206dc53537ce7716d77c84352abc74d28dc61f1e8e627fa3c size 1368
+EBUILD libpri-1.2.2-r1.ebuild 1368 RMD160 23ca1a22ff757e42eb354105f1ba6bb2aef0f3e1 SHA1 f260d1b5047695195c066965dd17cd18d2ae34b6 SHA256 f71e2d6afb4962d206dc53537ce7716d77c84352abc74d28dc61f1e8e627fa3c
 MD5 b77728098ae0b43d00fa5bb5a8b61f9c libpri-1.2.2-r1.ebuild 1368
 RMD160 23ca1a22ff757e42eb354105f1ba6bb2aef0f3e1 libpri-1.2.2-r1.ebuild 1368
 SHA256 f71e2d6afb4962d206dc53537ce7716d77c84352abc74d28dc61f1e8e627fa3c libpri-1.2.2-r1.ebuild 1368
-EBUILD libpri-1.2.2-r2.ebuild 1372 RMD160 729f5ab9da6649fc6dd52120b722d67bb26c5a96 SHA1 f8ef58fa8fd2a2f48a135431fd39bcb79909a3a2 SHA256 79b330decae6887c64612c1c20b5069f20665a74adffa691fee9f24f39740db7 size 1372
+EBUILD libpri-1.2.2-r2.ebuild 1372 RMD160 729f5ab9da6649fc6dd52120b722d67bb26c5a96 SHA1 f8ef58fa8fd2a2f48a135431fd39bcb79909a3a2 SHA256 79b330decae6887c64612c1c20b5069f20665a74adffa691fee9f24f39740db7
 MD5 301af5e6b82700600628bf4fcb2af149 libpri-1.2.2-r2.ebuild 1372
 RMD160 729f5ab9da6649fc6dd52120b722d67bb26c5a96 libpri-1.2.2-r2.ebuild 1372
 SHA256 79b330decae6887c64612c1c20b5069f20665a74adffa691fee9f24f39740db7 libpri-1.2.2-r2.ebuild 1372
-MISC ChangeLog 6789 RMD160 8f2a743cdf1feb1d9e680362355179911a1a92fd SHA1 c7bc4dbfcf856cefd3cf8341351320f7b266aa9f SHA256 9f1bc6eb62524dcf93077fb4f1a9a33ec1f83355716b20a8d33a1353a4bfc68f size 6789
-MD5 107c474c01b58133044c4f0330560c20 ChangeLog 6789
-RMD160 8f2a743cdf1feb1d9e680362355179911a1a92fd ChangeLog 6789
-SHA256 9f1bc6eb62524dcf93077fb4f1a9a33ec1f83355716b20a8d33a1353a4bfc68f ChangeLog 6789
-MISC metadata.xml 248 RMD160 a989fff0cebc82a58a75fb3a2eec8da0712ad57e SHA1 10bea6cd152e9f0ecb627eaacc19980a9d5f5dc4 SHA256 d0e3ab77a8a7b859511b8d5fda83dc018351e6367724b097dcc13c4aa0a3ee6b size 248
+EBUILD libpri-1.2.3.ebuild 1380 RMD160 55abb892fb4278587bf808b091332a86eba349b9 SHA1 081842fa72781361af2895495a902f4d27e4ddbf SHA256 2fa359bc0df7b1a7c7d43dfc9675593d534579ba76608476dfb319e9ce31ef92
+MD5 31ee830d0006053bb0e6b24deb53dd97 libpri-1.2.3.ebuild 1380
+RMD160 55abb892fb4278587bf808b091332a86eba349b9 libpri-1.2.3.ebuild 1380
+SHA256 2fa359bc0df7b1a7c7d43dfc9675593d534579ba76608476dfb319e9ce31ef92 libpri-1.2.3.ebuild 1380
+MISC ChangeLog 6979 RMD160 13ead1cb858966fb8491d1ad2524c06506652881 SHA1 bfbdc082a5a4c9754e74c8fdf88e247a8dc7fe67 SHA256 38dd6e148768cdd8a227f67146db3988ad3a857d9f18fd56e662e92f33c3be25
+MD5 0a3dfbdcc402e4743ee5a9362f7fe6e5 ChangeLog 6979
+RMD160 13ead1cb858966fb8491d1ad2524c06506652881 ChangeLog 6979
+SHA256 38dd6e148768cdd8a227f67146db3988ad3a857d9f18fd56e662e92f33c3be25 ChangeLog 6979
+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
@@ -62,3 +72,6 @@ SHA256 b555ac4a2d7f6f4e39c2e0936abd59fc9ce369592d3aab66cd7302dc878a26ad files/di
 MD5 3ca4809a368496b7d3bae1e769a6ecf6 files/digest-libpri-1.2.2-r2 500
 RMD160 12ab8851a7f94620d43b905146137b90e3731510 files/digest-libpri-1.2.2-r2 500
 SHA256 ed9ff14154fce34a61e928c6025185b23a88e34fea9cab515a699a69278b3a9e files/digest-libpri-1.2.2-r2 500
+MD5 945e61fc3a9506de7c66c35e2d1d6461 files/digest-libpri-1.2.3 539
+RMD160 1f057df7c576c52ed93318c67aa2e3453484ce7b files/digest-libpri-1.2.3 539
+SHA256 4583a7d3ad43036eb573bfd4bec1db03a17928643c497589efd594a6fc2fe1c4 files/digest-libpri-1.2.3 539
diff --git a/net-libs/libpri/files/digest-libpri-1.2.3 b/net-libs/libpri/files/digest-libpri-1.2.3
new file mode 100644 (file)
index 0000000..3b45107
--- /dev/null
@@ -0,0 +1,6 @@
+MD5 dffc884d05c19afac24e7dc997961adc libpri-1.2.3-bristuff-0.3.0-PRE-1p.diff.gz 45379
+RMD160 49325a45967b6a416919eff2468269d80b9c455f libpri-1.2.3-bristuff-0.3.0-PRE-1p.diff.gz 45379
+SHA256 fbaa63486036e1dad98f614140ed5e39162408586be2a00854931b09ff51dbae libpri-1.2.3-bristuff-0.3.0-PRE-1p.diff.gz 45379
+MD5 f365d9ee29a7253d605729a6d07ebfff libpri-1.2.3.tar.gz 76348
+RMD160 2e113dd213c24499bb61c4caa533173534760061 libpri-1.2.3.tar.gz 76348
+SHA256 f4ca5d72aa4b5e5c99c4e1a9de7235af5ed12b51a20dd757f071f5d7cf9d0fd0 libpri-1.2.3.tar.gz 76348
diff --git a/net-libs/libpri/files/libpri-1.2.3-gentoo.diff b/net-libs/libpri/files/libpri-1.2.3-gentoo.diff
new file mode 100644 (file)
index 0000000..cb8237c
--- /dev/null
@@ -0,0 +1,34 @@
+--- libpri-1.2.3/Makefile.orig 2006-04-30 17:17:47.000000000 +0200
++++ libpri-1.2.3/Makefile      2006-06-04 15:08:10.000000000 +0200
+@@ -38,7 +38,7 @@
+ DYNAMIC_LIBRARY=libpri.so.1.0
+ STATIC_OBJS=copy_string.o pri.o q921.o prisched.o q931.o pri_facility.o
+ DYNAMIC_OBJS=copy_string.lo pri.lo q921.lo prisched.lo q931.lo pri_facility.lo
+-CFLAGS=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g $(ALERTING) $(LIBPRI_COUNTERS)
++CFLAGS+=-Wall -Werror -Wstrict-prototypes -Wmissing-prototypes -g $(ALERTING) $(LIBPRI_COUNTERS)
+ INSTALL_PREFIX=$(DESTDIR)
+ INSTALL_BASE=/usr
+ SOFLAGS = -Wl,-hlibpri.so.1.0
+@@ -59,14 +59,6 @@
+ #INSTALL_PREFIX = /opt/asterisk  # Uncomment out to install in standard Solaris location for 3rd party code
+ endif
+-#The problem with sparc is the best stuff is in newer versions of gcc (post 3.0) only.
+-#This works for even old (2.96) versions of gcc and provides a small boost either way.
+-#A ultrasparc cpu is really v9 but the stock debian stable 3.0 gcc doesnt support it.
+-ifeq ($(PROC),sparc64)
+-PROC=ultrasparc
+-CFLAGS += -mtune=$(PROC) -O3 -pipe -fomit-frame-pointer -mcpu=v8
+-endif
+-
+ all: depend $(STATIC_LIBRARY) $(DYNAMIC_LIBRARY)
+ update:
+@@ -86,7 +78,6 @@
+ ifneq (${OSARCH},SunOS)
+       install -m 644 libpri.h $(INSTALL_PREFIX)$(INSTALL_BASE)/include
+       install -m 755 $(DYNAMIC_LIBRARY) $(INSTALL_PREFIX)$(INSTALL_BASE)/lib
+-      if [ -x /usr/sbin/sestatus ] && ( /usr/sbin/sestatus | grep "SELinux status:" | grep -q "enabled"); then  restorecon -v $(INSTALL_PREFIX)$(INSTALL_BASE)/lib/$(DYNAMIC_LIBRARY); fi
+       ( cd $(INSTALL_PREFIX)$(INSTALL_BASE)/lib ; ln -sf libpri.so.1.0 libpri.so ; ln -sf libpri.so.1.0 libpri.so.1 )
+       install -m 644 $(STATIC_LIBRARY) $(INSTALL_PREFIX)$(INSTALL_BASE)/lib
+       if test $$(id -u) = 0; then $(LDCONFIG) $(LDCONFIG_FLAGS) $(INSTALL_PREFIX)$(INSTALL_BASE)/lib; fi
diff --git a/net-libs/libpri/libpri-1.2.3.ebuild b/net-libs/libpri/libpri-1.2.3.ebuild
new file mode 100644 (file)
index 0000000..1b34091
--- /dev/null
@@ -0,0 +1,61 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/libpri/libpri-1.2.3.ebuild,v 1.1 2006/06/07 17:52:33 stkn Exp $
+
+inherit eutils
+
+## TODO:
+#
+# - bristuff (waiting for next upstream release...)
+#
+
+IUSE="bri"
+
+MY_P="${P/_/-}"
+
+BRI_VERSION="0.3.0-PRE-1p"
+
+DESCRIPTION="Primary Rate ISDN (PRI) library"
+HOMEPAGE="http://www.asterisk.org/"
+SRC_URI="http://ftp.digium.com/pub/libpri/${MY_P}.tar.gz
+       bri? ( http://www.netdomination.org/pub/asterisk/libpri-${PV}-bristuff-${BRI_VERSION}.diff.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="~amd64 ~ppc ~sparc ~x86"
+
+DEPEND="virtual/libc"
+
+src_unpack() {
+       unpack ${A}
+
+       cd ${S}
+       epatch ${FILESDIR}/${PN}-1.2.3-gentoo.diff
+
+       if use bri; then
+               einfo "Patching libpri w/ BRI stuff (${BRI_VERSION})"
+
+               # fix a small clash in patches
+               sed -i -e "s:CFLAGS=:CFLAGS+=:" \
+                       ${WORKDIR}/libpri-${PV}-bristuff-${BRI_VERSION}.diff
+#                      ${S_BRI}/patches/libpri.patch
+
+               epatch ${WORKDIR}/libpri-${PV}-bristuff-${BRI_VERSION}.diff
+#              epatch ${S_BRI}/patches/libpri.patch
+       fi
+}
+
+src_compile() {
+       emake || die
+}
+
+src_install() {
+       make INSTALL_PREFIX=${D} install || die
+
+       dodoc ChangeLog README TODO LICENSE
+}