summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-11-22 12:53:16 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-11-22 12:53:16 +0000
commit4c5c9a164aa4f4977e1360193ec707f4a530f43e (patch)
treeeea99c32f07e5892b5b879f793a99d46ccd9d15b /sys-freebsd
parentRemove the fixmp patch, that was applied on a Makefile removed right afterwar... (diff)
downloadhistorical-4c5c9a164aa4f4977e1360193ec707f4a530f43e.tar.gz
historical-4c5c9a164aa4f4977e1360193ec707f4a530f43e.tar.bz2
historical-4c5c9a164aa4f4977e1360193ec707f4a530f43e.zip
Remove the fixmp patch, that was applied on a Makefile removed right afterward; remove beta3.
Package-Manager: portage-2.1.2_rc2-r1
Diffstat (limited to 'sys-freebsd')
-rw-r--r--sys-freebsd/freebsd-lib/Manifest49
-rw-r--r--sys-freebsd/freebsd-lib/files/digest-freebsd-lib-6.2_beta324
-rw-r--r--sys-freebsd/freebsd-lib/files/freebsd-lib-fixmp.patch12
-rw-r--r--sys-freebsd/freebsd-lib/freebsd-lib-6.2_beta3.ebuild255
4 files changed, 15 insertions, 325 deletions
diff --git a/sys-freebsd/freebsd-lib/Manifest b/sys-freebsd/freebsd-lib/Manifest
index 07eea58edde4..4fcf1abc6a7f 100644
--- a/sys-freebsd/freebsd-lib/Manifest
+++ b/sys-freebsd/freebsd-lib/Manifest
@@ -37,50 +37,34 @@ AUX freebsd-lib-bsdxml.patch 339 RMD160 27b501cda2ac76230a72dfc3ee6593cb50f8d4b0
MD5 0fa8fbe7549748636959ef4bc4ea9660 files/freebsd-lib-bsdxml.patch 339
RMD160 27b501cda2ac76230a72dfc3ee6593cb50f8d4b0 files/freebsd-lib-bsdxml.patch 339
SHA256 c1ac47d6c7176475f0f4b86bb17288a980b44a799fb6f4e7b1920f69e0447dc9 files/freebsd-lib-bsdxml.patch 339
-AUX freebsd-lib-fixmp.patch 548 RMD160 91cf241eaa972c13ea6ddd1ec03a6fd7f3a2a4b3 SHA1 5d402589db0ef38d528303860f41d5244049047d SHA256 bd99697872b00a4275c80935f4f5188f4f859aa358be0ecfc0c5470e9979c354
-MD5 eb10216ffda9c5f69fdb28728c574114 files/freebsd-lib-fixmp.patch 548
-RMD160 91cf241eaa972c13ea6ddd1ec03a6fd7f3a2a4b3 files/freebsd-lib-fixmp.patch 548
-SHA256 bd99697872b00a4275c80935f4f5188f4f859aa358be0ecfc0c5470e9979c354 files/freebsd-lib-fixmp.patch 548
DIST freebsd-contrib-6.1.tar.bz2 36017365 RMD160 225f6ade032533d08b98b79cb29b75da2a3c74fa SHA1 adac960daad3f4169874fe0ba1050fe7e906aa23 SHA256 41283b7f78597cf81f98477aef04eb9cce2b130b1a2f8b5c7d647549c973c054
-DIST freebsd-contrib-6.2_beta3.tar.bz2 36555171 RMD160 630c839a0025811a4c2da5de560150fe00d4ed28 SHA1 84e8c230815b47b9116b1e1c67684ae08b76a754 SHA256 51c0b85ff28b6b9d85092e51a0fe2a9ae9bb9714a50495713236e0c162e8ee0b
DIST freebsd-contrib-6.2_rc1.tar.bz2 36554713 RMD160 e8a915fff9a2210bba5bfa33f1618b74f8f4317d SHA1 012c6a938b9b7148b17aad477265e33f3e89f2c0 SHA256 93748e95efc4d09f70225b58855e167ec21cae610c4ba2a1d7b2c5f84aa4f661
DIST freebsd-crypto-6.1.tar.bz2 3978359 RMD160 de2fa1e12cda42661565d5bf0f910b1a99d3c4df SHA1 a816fb8b613b92a80b9fab3d8d89b72eb9c550be SHA256 52be404c7f86ca29f957e1dc46c8a2c32a46ddb5c316d5123faf92a9c9fe37c5
-DIST freebsd-crypto-6.2_beta3.tar.bz2 4033439 RMD160 1c7680fe08f6e026d3a5b4370552d04c8438f1cc SHA1 2cfaaa68ac950a379d14f55171b373f278d490d4 SHA256 0cff4034fd45611b9acfde941773f50588303ef5b1d848055ecb8eb8cba5e518
DIST freebsd-crypto-6.2_rc1.tar.bz2 4005417 RMD160 36d7aafb83f1aa589c6542dbfdda4256e7711765 SHA1 e4d6daf7d2de1f0c57688e5f586b47a569c02421 SHA256 95d6db3f6c75bfda5c07d1fe8408fec02a889d5fbe8c12bfcf16f654f3034ca5
DIST freebsd-etc-6.1.tar.bz2 184045 RMD160 b9a8bea64694c040c02b74f7633dc3cd77afa400 SHA1 4a1fff7fa1c77485c5efccf5ab1155e497d1cd82 SHA256 62b06b61e526c4a939503202aaca31cbce7a3de9daec03e67dc57119527eeff7
-DIST freebsd-etc-6.2_beta3.tar.bz2 188295 RMD160 7b4e5f22cdb6b23b0379c285001379390f176136 SHA1 45357af3e1a5a920df024aa806d3f2b38febfd6e SHA256 8d79f1e1e9b8453c0431dd9112b51a09a2ed8db7c288e6eb76347b0030eacf89
DIST freebsd-etc-6.2_rc1.tar.bz2 189434 RMD160 e85ff64ac4e8be8a324f5c9cf101b4e1e92cba86 SHA1 1e4d9c29d0ed097bc3ba63576c9ae82c0192b358 SHA256 1b46600bdc65fb58f406bdd95145a66e1412c17fa9e2d082a8d29f578a62ea32
DIST freebsd-include-6.1.tar.bz2 127179 RMD160 f873b13bb16408a390932d14974b39336bd90a7c SHA1 747d7498ce80846274e49ed4487440dcbefe96af SHA256 9cd9d47c5cc8ea4fc7afe185c9b391317fe013adb3f0a960e9fe498f166177b5
-DIST freebsd-include-6.2_beta3.tar.bz2 131608 RMD160 7bbc4c99f04752366a5d67a7ce8edc56c0807ec3 SHA1 e60eec5ab98920871838aed86122019315f72b48 SHA256 5ce85fe6c6c2cc0e6bc4502d838f52820d06c1dc19c270583f2469edc466ca9a
DIST freebsd-include-6.2_rc1.tar.bz2 131628 RMD160 febc259c9865a0ac80bfab6d9752ba93f76dc728 SHA1 f691b0a9dde0a759388ae1814b764e1b68aa85bb SHA256 79b364be23e63f2427db15e240d35cd023299f8ac89b3c4b4f2b85ffb2ef994e
DIST freebsd-lib-6.1.tar.bz2 2613584 RMD160 f71aad95ef2bac094bdab9e317a99fb866fba042 SHA1 c7fed3b4a996fdd25f97eef428dd40023dc53a7e SHA256 6ecb49695dc135e64cea949cb7e9b9998b15cb962797cdafc735a7e244744c37
-DIST freebsd-lib-6.2_beta3.tar.bz2 2668544 RMD160 9b21ec424b2b86c0dfa252322e9784ebddce3e53 SHA1 4054245c50fdb8d526f89e49824ee993793234b4 SHA256 7aed09b38fedeb174bfd91caa8c2f38240c2f5a0c21d4c50e7eaef5a42daba09
DIST freebsd-lib-6.2_rc1.tar.bz2 2669033 RMD160 4faa7e29fbc0ee9b1e086a4bbafc42ecd6de597a SHA1 bb052a15dda1276607c36b837c518d3e85d242d7 SHA256 518154f455e0edf665796fde2801d35f50af24ca525d0dd9d4a78a79471fd1dc
DIST freebsd-libexec-6.1.tar.bz2 277860 RMD160 bef98efbc76812cf36b55067433039f3805cfbab SHA1 8204a510e44e21cbf53715f3d4a2518b8192400d SHA256 38eaddc9edc36597e42ca3c63ee8a2fd6f07f96c7294aea75a9988ac5b07b357
-DIST freebsd-libexec-6.2_beta3.tar.bz2 277158 RMD160 91353b9c0bb7fc254b0a57d55f07b095a06909c9 SHA1 72629c436dda375767758270b52e9dd52759250c SHA256 ce19db01248c1c805636e271056a4f99c8bbe1e2b76def47875dcf6e5bdafdf4
DIST freebsd-libexec-6.2_rc1.tar.bz2 277165 RMD160 179d580514beacb3143146a2042defb7f10f96ec SHA1 79bacf4e5e36b177f7f2fef6de5f7b8236ac4130 SHA256 64525efd5eb6ffe9c83de697b8b362a08e66021731ae6474e97d452285764d66
DIST freebsd-sys-6.1.tar.bz2 17361671 RMD160 eb19f6a345c665542df694a4f9170d227beaf3b6 SHA1 f9da69cabdaaad268c79670c06ba4fff3e3ef6a8 SHA256 d2ecd79b83ba06c12e358adfccc7e057e15fb7c5be76d92c537b99cbe1d84f0f
-DIST freebsd-sys-6.2_beta3.tar.bz2 18336143 RMD160 c75040d96af463013459f3a3278d4cca1d78e828 SHA1 6b5e89d268cab3ea64065a444a65569a70440344 SHA256 f52b0bf25d2ae5792503789a1bd47bc0db7924c13df55021c7740dcdd5a4225c
DIST freebsd-sys-6.2_rc1.tar.bz2 18345039 RMD160 15e70cb9169bf813fdd862389f8cafc45327d41e SHA1 f6ee85d8ea2de20e6e45bfe72897a460b0ca93cc SHA256 209c27b25d72f59f93819a38b57aa7f1153c6c9abab62402e0935f2521dae99c
DIST freebsd-usbin-6.1.tar.bz2 2664570 RMD160 98a87538790a814d0afd35bb0f848bcff574c72d SHA1 c7e6856e7f6bd2d45790737f411348b301944b91 SHA256 70b4a494a72d130d641500bfa857bdf98c9a4a040da2699475902523ba5c374e
-DIST freebsd-usbin-6.2_beta3.tar.bz2 2695369 RMD160 09e6b00f27ee49418e807fd565966f534fb5f0a3 SHA1 ff37ab51607274d59190feeb0862f84fd1c0c973 SHA256 14fd08cee425c734abb24fa08e6ccf1c69de7b5e9b569cf77459c04fca096db4
DIST freebsd-usbin-6.2_rc1.tar.bz2 2695796 RMD160 ccc84a6676a617287491204d95a68c8571b504aa SHA1 bd54f984c15e4012b74b8ef481205d537d973e50 SHA256 295906f4e1dea16c4e7d290f9c55320dbd52f65f841f8b8f978a26e7f1c5f728
-EBUILD freebsd-lib-6.1.ebuild 7090 RMD160 20f8f465cedd506e454cb89fe11fcfc45147de99 SHA1 85b610d3f4cdec3425cbeda56e2bd200dbeedee2 SHA256 96004cae3e5f4896ef8cffcd49997ec8e8d14ccad7d7226775afd00dd0a09458
-MD5 a6c67502d5291a0a1f582e2001324268 freebsd-lib-6.1.ebuild 7090
-RMD160 20f8f465cedd506e454cb89fe11fcfc45147de99 freebsd-lib-6.1.ebuild 7090
-SHA256 96004cae3e5f4896ef8cffcd49997ec8e8d14ccad7d7226775afd00dd0a09458 freebsd-lib-6.1.ebuild 7090
-EBUILD freebsd-lib-6.2_beta3.ebuild 7708 RMD160 80c68bdee17cfc7144ef19cec844c584a0abd12b SHA1 d621e3d88ae183dc4c11c6fa902951baad6944d1 SHA256 a3dd6b8e207814515ec0b690f83537584fa8bbb44a16e0543625ae9d0e3e587e
-MD5 9edd6493cca33fce44844bbe97e1da50 freebsd-lib-6.2_beta3.ebuild 7708
-RMD160 80c68bdee17cfc7144ef19cec844c584a0abd12b freebsd-lib-6.2_beta3.ebuild 7708
-SHA256 a3dd6b8e207814515ec0b690f83537584fa8bbb44a16e0543625ae9d0e3e587e freebsd-lib-6.2_beta3.ebuild 7708
-EBUILD freebsd-lib-6.2_rc1.ebuild 7706 RMD160 f049806a29994ce390b838214a54e232101fb91a SHA1 7034ff9d9ff53970284cfb56c2e65983f9909d1e SHA256 1ac0e160f03c57234fa2354b5bfc3d80f7c3f2f1fa564581519d8c1369ce41d4
-MD5 92cbcb6c6be8d4a576138ff624739496 freebsd-lib-6.2_rc1.ebuild 7706
-RMD160 f049806a29994ce390b838214a54e232101fb91a freebsd-lib-6.2_rc1.ebuild 7706
-SHA256 1ac0e160f03c57234fa2354b5bfc3d80f7c3f2f1fa564581519d8c1369ce41d4 freebsd-lib-6.2_rc1.ebuild 7706
-MISC ChangeLog 12273 RMD160 d055e85f5799fc5cb3f8de4da037c1cd8888c0e3 SHA1 5ef74ae6efdc9b3a513e73729a6a1df1a1e4de1e SHA256 8aff27e55aa563628e5a8760669b8f2398e54c607e355ecb6769f1dbf341b00c
-MD5 03d2c66acec0bc246bb214ce3710c330 ChangeLog 12273
-RMD160 d055e85f5799fc5cb3f8de4da037c1cd8888c0e3 ChangeLog 12273
-SHA256 8aff27e55aa563628e5a8760669b8f2398e54c607e355ecb6769f1dbf341b00c ChangeLog 12273
+EBUILD freebsd-lib-6.1.ebuild 7061 RMD160 88accfd80d617bd76f3fe29047a4b0566266a5d5 SHA1 52f2bcfdad6415014202e9ca8737ef4128c6af0a SHA256 dea7dcb78467a3e960f3ac2a42d346e69aa7944d8472d6037255f5e182af31f1
+MD5 27abb0a51efadf54eb5484487f9a6597 freebsd-lib-6.1.ebuild 7061
+RMD160 88accfd80d617bd76f3fe29047a4b0566266a5d5 freebsd-lib-6.1.ebuild 7061
+SHA256 dea7dcb78467a3e960f3ac2a42d346e69aa7944d8472d6037255f5e182af31f1 freebsd-lib-6.1.ebuild 7061
+EBUILD freebsd-lib-6.2_rc1.ebuild 7675 RMD160 ff0509d81bfffff8e3e6174d6202c851ab69ea1b SHA1 6911a87b7ee6b9d70efcee9c19e4e0abda36ad44 SHA256 aebc5039bd71f5bdcb6637faeb8ca54904654551e314e17057342dd1048d4853
+MD5 130334d2b76b96cce2ab43aacf081695 freebsd-lib-6.2_rc1.ebuild 7675
+RMD160 ff0509d81bfffff8e3e6174d6202c851ab69ea1b freebsd-lib-6.2_rc1.ebuild 7675
+SHA256 aebc5039bd71f5bdcb6637faeb8ca54904654551e314e17057342dd1048d4853 freebsd-lib-6.2_rc1.ebuild 7675
+MISC ChangeLog 12544 RMD160 f559dc99c894a7305d89cf2544dbf4617f5fe2ab SHA1 24f830192e0a1b083ad7354433656ec088433598 SHA256 7d14d9739866bf93e6f6a1a038aad94e8fb49b0831ac53a8031859769630d8a5
+MD5 73f68b6a514192c0e8a8b0ed2fb53d92 ChangeLog 12544
+RMD160 f559dc99c894a7305d89cf2544dbf4617f5fe2ab ChangeLog 12544
+SHA256 7d14d9739866bf93e6f6a1a038aad94e8fb49b0831ac53a8031859769630d8a5 ChangeLog 12544
MISC metadata.xml 156 RMD160 60b5820a08275f307e5bd936d78f5afd1f141086 SHA1 d9d9d4f2b5afc58339ea3e562fca490156935f1f SHA256 30ab515d6ac492d3d6c36ac3c675511742c2149e56a6b3228c8d22ab8edb3ff7
MD5 2bd48a5ae413433cbb36110b219ce97c metadata.xml 156
RMD160 60b5820a08275f307e5bd936d78f5afd1f141086 metadata.xml 156
@@ -88,16 +72,13 @@ SHA256 30ab515d6ac492d3d6c36ac3c675511742c2149e56a6b3228c8d22ab8edb3ff7 metadata
MD5 7a392338e5c80064105ffb19a6575361 files/digest-freebsd-lib-6.1 2072
RMD160 2f3e680d7a90f8387d086addff4fff68fd4c51de files/digest-freebsd-lib-6.1 2072
SHA256 e4f88af696b9cdd96f0553e2928d59ce138c08f8d4925b32b6ea59c3030d7f21 files/digest-freebsd-lib-6.1 2072
-MD5 3f7b61934e41c5bb952365cd52fa5c4f files/digest-freebsd-lib-6.2_beta3 2216
-RMD160 f04db5202d33da7c9d6d2bf3095ede292c490b01 files/digest-freebsd-lib-6.2_beta3 2216
-SHA256 8a325f1f75f25f7462ef202dc8b0ce4ed4851c543b2581a34132ee07415e96b0 files/digest-freebsd-lib-6.2_beta3 2216
MD5 9385cd0788942aac9aef160bc403958b files/digest-freebsd-lib-6.2_rc1 2168
RMD160 d5ed1b82d592745e5d6829c9a5a72967f9991bb4 files/digest-freebsd-lib-6.2_rc1 2168
SHA256 42677f80b3c298bf14f2cb51f15762ca1830557f0f7c79e0348d8a944d6d34dd files/digest-freebsd-lib-6.2_rc1 2168
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
-iD8DBQFFX7UzAiZjviIA2XgRAk0QAJwPHOtLnSPWSROnKApzCy+zpit2ZgCfaZ14
-UQiv/lYPzTt2IQrVejoevig=
-=Udqz
+iD8DBQFFZEg4AiZjviIA2XgRAvr1AJ46kGurV1gUqS++HFOkQXwL0MRJ4ACgrGO1
+oT2nDDLHVknqzHks6GrsCtE=
+=YrRI
-----END PGP SIGNATURE-----
diff --git a/sys-freebsd/freebsd-lib/files/digest-freebsd-lib-6.2_beta3 b/sys-freebsd/freebsd-lib/files/digest-freebsd-lib-6.2_beta3
deleted file mode 100644
index c017a5bd53a2..000000000000
--- a/sys-freebsd/freebsd-lib/files/digest-freebsd-lib-6.2_beta3
+++ /dev/null
@@ -1,24 +0,0 @@
-MD5 0d8585db6146130649e10b502957eee6 freebsd-contrib-6.2_beta3.tar.bz2 36555171
-RMD160 630c839a0025811a4c2da5de560150fe00d4ed28 freebsd-contrib-6.2_beta3.tar.bz2 36555171
-SHA256 51c0b85ff28b6b9d85092e51a0fe2a9ae9bb9714a50495713236e0c162e8ee0b freebsd-contrib-6.2_beta3.tar.bz2 36555171
-MD5 c9d71fbf45d01f0ace8dbd6e977ba0ff freebsd-crypto-6.2_beta3.tar.bz2 4033439
-RMD160 1c7680fe08f6e026d3a5b4370552d04c8438f1cc freebsd-crypto-6.2_beta3.tar.bz2 4033439
-SHA256 0cff4034fd45611b9acfde941773f50588303ef5b1d848055ecb8eb8cba5e518 freebsd-crypto-6.2_beta3.tar.bz2 4033439
-MD5 81b97dc47668e566a803b9469b96d969 freebsd-etc-6.2_beta3.tar.bz2 188295
-RMD160 7b4e5f22cdb6b23b0379c285001379390f176136 freebsd-etc-6.2_beta3.tar.bz2 188295
-SHA256 8d79f1e1e9b8453c0431dd9112b51a09a2ed8db7c288e6eb76347b0030eacf89 freebsd-etc-6.2_beta3.tar.bz2 188295
-MD5 7d9b4fff0e69139ed253a1db9cb0fa63 freebsd-include-6.2_beta3.tar.bz2 131608
-RMD160 7bbc4c99f04752366a5d67a7ce8edc56c0807ec3 freebsd-include-6.2_beta3.tar.bz2 131608
-SHA256 5ce85fe6c6c2cc0e6bc4502d838f52820d06c1dc19c270583f2469edc466ca9a freebsd-include-6.2_beta3.tar.bz2 131608
-MD5 035e7b7d5f8dddcbe9e3c2d44428574b freebsd-lib-6.2_beta3.tar.bz2 2668544
-RMD160 9b21ec424b2b86c0dfa252322e9784ebddce3e53 freebsd-lib-6.2_beta3.tar.bz2 2668544
-SHA256 7aed09b38fedeb174bfd91caa8c2f38240c2f5a0c21d4c50e7eaef5a42daba09 freebsd-lib-6.2_beta3.tar.bz2 2668544
-MD5 359a25029a4dd656e43d83890740dd13 freebsd-libexec-6.2_beta3.tar.bz2 277158
-RMD160 91353b9c0bb7fc254b0a57d55f07b095a06909c9 freebsd-libexec-6.2_beta3.tar.bz2 277158
-SHA256 ce19db01248c1c805636e271056a4f99c8bbe1e2b76def47875dcf6e5bdafdf4 freebsd-libexec-6.2_beta3.tar.bz2 277158
-MD5 328ec3b03995fcab39126e3437cabb72 freebsd-sys-6.2_beta3.tar.bz2 18336143
-RMD160 c75040d96af463013459f3a3278d4cca1d78e828 freebsd-sys-6.2_beta3.tar.bz2 18336143
-SHA256 f52b0bf25d2ae5792503789a1bd47bc0db7924c13df55021c7740dcdd5a4225c freebsd-sys-6.2_beta3.tar.bz2 18336143
-MD5 5266789afea7e22eef8cbbbcf322c7ae freebsd-usbin-6.2_beta3.tar.bz2 2695369
-RMD160 09e6b00f27ee49418e807fd565966f534fb5f0a3 freebsd-usbin-6.2_beta3.tar.bz2 2695369
-SHA256 14fd08cee425c734abb24fa08e6ccf1c69de7b5e9b569cf77459c04fca096db4 freebsd-usbin-6.2_beta3.tar.bz2 2695369
diff --git a/sys-freebsd/freebsd-lib/files/freebsd-lib-fixmp.patch b/sys-freebsd/freebsd-lib/files/freebsd-lib-fixmp.patch
deleted file mode 100644
index 80a4b6adc0d2..000000000000
--- a/sys-freebsd/freebsd-lib/files/freebsd-lib-fixmp.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ur lib/libtelnet/Makefile lib-fixmp/libtelnet/Makefile
---- lib/libtelnet/Makefile 2005-02-13 07:23:14 +0000
-+++ lib-fixmp/libtelnet/Makefile 2005-05-26 06:32:26 +0000
-@@ -16,7 +16,7 @@
- .if !defined(RELEASE_CRUNCH)
- .if !defined(NOCRYPT) && !defined(NO_OPENSSL)
- SRCS+= encrypt.c auth.c enc_des.c sra.c pk.c
--CFLAGS+= -DENCRYPTION -DAUTHENTICATION -DSRA
-+CFLAGS+= -DENCRYPTION -DAUTHENTICATION -DSRA -I${.CURDIR}/../libmp
- .if !defined(NO_KERBEROS)
- SRCS+= kerberos5.c
- CFLAGS+= -DKRB5 -I${KRB5DIR}/lib/krb5 -I${KRB5OBJDIR} -I${ASN1OBJDIR}
diff --git a/sys-freebsd/freebsd-lib/freebsd-lib-6.2_beta3.ebuild b/sys-freebsd/freebsd-lib/freebsd-lib-6.2_beta3.ebuild
deleted file mode 100644
index 57f005b9e755..000000000000
--- a/sys-freebsd/freebsd-lib/freebsd-lib-6.2_beta3.ebuild
+++ /dev/null
@@ -1,255 +0,0 @@
-# Copyright 1999-2006 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-freebsd/freebsd-lib/freebsd-lib-6.2_beta3.ebuild,v 1.2 2006/11/17 15:42:39 flameeyes Exp $
-
-inherit bsdmk freebsd flag-o-matic toolchain-funcs
-
-DESCRIPTION="FreeBSD's base system libraries"
-SLOT="6.0"
-KEYWORDS="~sparc-fbsd ~x86-fbsd"
-
-IUSE="atm bluetooth ssl ipv6 kerberos nis gpib build bootstrap"
-
-# Crypto is needed to have an internal OpenSSL header
-# sys is needed for libalias, probably we can just extract that instead of
-# extracting the whole tarball
-SRC_URI="mirror://gentoo/${LIB}.tar.bz2
- mirror://gentoo/${CONTRIB}.tar.bz2
- mirror://gentoo/${CRYPTO}.tar.bz2
- mirror://gentoo/${LIBEXEC}.tar.bz2
- mirror://gentoo/${ETC}.tar.bz2
- mirror://gentoo/${INCLUDE}.tar.bz2
- nis? ( mirror://gentoo/${USBIN}.tar.bz2 )
- build? (
- mirror://gentoo/${SYS}.tar.bz2 )"
-
-if [[ ${CATEGORY/cross-} == ${CATEGORY} ]]; then
- RDEPEND="ssl? ( dev-libs/openssl )
- kerberos? ( virtual/krb5 )
- !sys-freebsd/freebsd-headers"
- DEPEND="${RDEPEND}
- >=sys-devel/flex-2.5.31-r2
- =sys-freebsd/freebsd-sources-${RV}*
- !bootstrap? ( app-arch/bzip2 )"
-
- PROVIDE="virtual/libc
- virtual/os-headers"
-
-else
- SRC_URI="${SRC_URI}
- mirror://gentoo/${SYS}.tar.bz2"
-fi
-
-DEPEND="${DEPEND}
- =sys-freebsd/freebsd-mk-defs-${RV}*"
-
-S="${WORKDIR}/lib"
-
-export CTARGET=${CTARGET:-${CHOST}}
-if [[ ${CTARGET} == ${CHOST} && ${CATEGORY/cross-} != ${CATEGORY} ]]; then
- export CTARGET=${CATEGORY/cross-}
-fi
-
-pkg_setup() {
- [[ -c /dev/zero ]] || \
- die "You forgot to mount /dev; the compiled libc would break."
-
- if ! use ssl && use kerberos; then
- eerror "If you want kerberos support you need to enable ssl support, too."
- fi
-
- use atm || mymakeopts="${mymakeopts} NO_ATM= "
- use bluetooth || mymakeopts="${mymakeopts} NO_BLUETOOTH= "
- use ssl || mymakeopts="${mymakeopts} NO_OPENSSL= NO_CRYPT= "
- use ipv6 || mymakeopts="${mymakeopts} NO_INET6= "
- use kerberos || mymakeopts="${mymakeopts} NO_KERBEROS= "
- use nis || mymakeopts="${mymakeopts} NO_NIS= "
- use gpib || mymakeopts="${mymakeopts} NO_GPIB= "
-
- mymakeopts="${mymakeopts} NO_OPENSSH= NO_BIND= NO_SENDMAIL= "
-
- replace-flags "-O?" -"O1"
-
- if [[ ${CTARGET} != ${CHOST} ]]; then
- mymakeopts="${mymakeopts} MACHINE=$(tc-arch-kernel ${CTARGET})"
- mymakeopts="${mymakeopts} MACHINE_ARCH=$(tc-arch-kernel ${CTARGET})"
- fi
-}
-
-PATCHES="${FILESDIR}/${PN}-bsdxml.patch
- ${FILESDIR}/${PN}-fixmp.patch
- ${FILESDIR}/${PN}-6.0-pmc.patch
- ${FILESDIR}/${PN}-6.0-gccfloat.patch
- ${FILESDIR}/${PN}-6.0-flex-2.5.31.patch
- ${FILESDIR}/${PN}-6.0-binutils-asm.patch
- ${FILESDIR}/${PN}-6.0-ssp.patch
- ${FILESDIR}/${PN}-6.1-csu.patch
- ${FILESDIR}/${PN}-6.2-gcc41.patch
- ${FILESDIR}/${PN}-6.2-sparc64.patch"
-
-# Here we disable and remove source which we don't need or want
-# In order:
-# - ncurses stuff
-# - archiving libraries (have their own ebuild)
-# - sendmail libraries (they are installed by sendmail)
-# - SNMP library and dependency (have their own ebuilds)
-#
-# The rest are libraries we already have somewhere else because
-# they are contribution.
-# Note: libtelnet is an internal lib used by telnet and telnetd programs
-# as it's not used in freebsd-lib package itself, it's pointless building
-# it here.
-REMOVE_SUBDIRS="libncurses libform libmenu libpanel \
- libz libbz2 libarchive \
- libsm libsmdb libsmutil \
- libbegemot libbsnmp \
- libsmb libpam libpcap bind libwrap libmagic \
- libcom_err libtelnet"
-
-src_unpack() {
- freebsd_src_unpack
-
- sed -i -e 's:-o/dev/stdout:-t:' ${S}/libc/net/Makefile.inc
-
- use build && return 0
-
- if [[ ${CTARGET} == ${CHOST} ]]; then
- ln -s "/usr/src/sys-${RV}" "${WORKDIR}/sys"
- else
- sed -i -e 's:/usr/include:/usr/'${CTARGET}'/usr/include:g' \
- "${S}/libc/"{yp,rpc}"/Makefile.inc"
- fi
-
- [[ -n $(install --version 2> /dev/null | grep GNU) ]] && \
- sed -i -e 's:${INSTALL} -C:${INSTALL}:' "${WORKDIR}/include/Makefile"
-
- # Let arch-specific includes to be found
- local machine
- machine=$(tc-arch-kernel ${CTARGET})
- ln -s "${WORKDIR}/sys/${machine}/include" "${WORKDIR}/include/machine"
-
- use bootstrap && dummy_mk libstand
-}
-
-src_compile() {
- cd "${WORKDIR}/include"
- $(freebsd_get_bmake) CC=$(tc-getCC) || die "make include failed"
-
- use crosscompile_opts_headers-only && return 0
-
- # Don't use ssp until properly fixed
- append-flags $(test-flags -fno-stack-protector -fno-stack-protector-all)
-
- strip-flags
- if [[ ${CTARGET} != ${CHOST} ]]; then
- export YACC='yacc -by'
- CHOST=${CTARGET} tc-export CC LD CXX
-
- local machine
- machine=$(tc-arch-kernel ${CTARGET})
-
- local csudir
- if [[ -d "${S}/csu/${machine}-elf" ]]; then
- csudir="${S}/csu/${machine}-elf"
- else
- csudir="${S}/csu/${machine}"
- fi
- cd "${csudir}"
- $(freebsd_get_bmake) ${mymakeopts} || die "make csu failed"
-
- append-flags "-isystem /usr/${CTARGET}/usr/include"
- append-flags "-B ${csudir}"
- append-ldflags "-B ${csudir}"
- cd "${S}/libc"
- $(freebsd_get_bmake) ${mymakeopts} || die "make libc failed"
-
- append-flags "-isystem ${WORKDIR}/lib/msun/${machine/i386/i387}"
- cd "${S}/msun"
- $(freebsd_get_bmake) ${mymakeopts} || die "make libc failed"
- else
- # Forces to use the local copy of headers as they might be outdated in
- # the system
- append-flags "-isystem '${WORKDIR}/sys' -isystem '${WORKDIR}/include'"
-
- cd "${S}"
- NOFLAGSTRIP=yes freebsd_src_compile
- fi
-}
-
-src_install() {
- cd "${WORKDIR}/include"
-
- [[ ${CTARGET} == ${CHOST} ]] \
- && INCLUDEDIR="/usr/include" \
- || INCLUDEDIR="/usr/${CTARGET}/usr/include"
-
- einfo "Installing for ${CTARGET} in ${CHOST}.."
-
- dodir "${INCLUDEDIR}"
- $(freebsd_get_bmake) installincludes \
- MACHINE=$(tc-arch-kernel) \
- DESTDIR="${D}" INCLUDEDIR="${INCLUDEDIR}" || die "Install failed"
-
- # Install math.h when crosscompiling, at this point
- if [[ ${CHOST} != ${CTARGET} ]]; then
- insinto "/usr/${CTARGET}/usr/include"
- doins "${S}/msun/src/math.h"
- fi
-
- use crosscompile_opts_headers-only && return 0
-
- if [[ ${CTARGET} != ${CHOST} ]]; then
- local csudir
- if [[ -d "${S}/csu/$(tc-arch-kernel ${CTARGET})-elf" ]]; then
- csudir="${S}/csu/$(tc-arch-kernel ${CTARGET})-elf"
- else
- csudir="${S}/csu/$(tc-arch-kernel ${CTARGET})"
- fi
- cd "${csudir}"
- $(freebsd_get_bmake) ${mymakeopts} DESTDIR="${D}" install \
- FILESDIR="/usr/${CTARGET}/usr/lib" LIBDIR="/usr/${CTARGET}/usr/lib" || die "Install csu failed"
-
- cd "${S}/libc"
- $(freebsd_get_bmake) ${mymakeopts} DESTDIR="${D}" install NO_MAN= \
- SHLIBDIR="/usr/${CTARGET}/lib" LIBDIR="/usr/${CTARGET}/usr/lib" || die "Install failed"
-
- cd "${S}/msun"
- $(freebsd_get_bmake) ${mymakeopts} DESTDIR="${D}" install NO_MAN= \
- INCLUDEDIR="/usr/${CTARGET}/usr/include" \
- SHLIBDIR="/usr/${CTARGET}/lib" LIBDIR="/usr/${CTARGET}/usr/lib" || die "Install failed"
-
- dosym "usr/include" "/usr/${CTARGET}/sys-include"
- else
- cd "${S}"
- mkinstall || die "Install failed"
- fi
-
- # Don't install the rest of the configuration files if crosscompiling
- [[ ${CTARGET} != ${CHOST} ]] && return 0
-
- # Compatibility symlinks to run FreeBSD 5.x binaries (ABI is mostly
- # identical, remove when problems will actually happen)
- dosym /lib/libc.so.6 /usr/lib/libc.so.5
- dosym /lib/libm.so.4 /usr/lib/libm.so.3
-
- # install libstand files
- dodir /usr/include/libstand
- insinto /usr/include/libstand
- doins "${S}"/libstand/*.h
-
- cd "${WORKDIR}/etc/"
- insinto /etc
- doins auth.conf nls.alias mac.conf netconfig
-
- # Install ttys file
- doins "etc.$(tc-arch-kernel)"/*
-
- dodir /etc/sandbox.d
- cat - > "${D}"/etc/sandbox.d/00freebsd <<EOF
-# /dev/crypto is used mostly by OpenSSL on *BSD platforms
-# leave it available as packages might use OpenSSL commands
-# during compile or install phase.
-SANDBOX_PREDICT="/dev/crypto"
-EOF
-}
-