diff options
author | Alin Năstac <mrness@gentoo.org> | 2006-05-07 22:21:21 +0000 |
---|---|---|
committer | Alin Năstac <mrness@gentoo.org> | 2006-05-07 22:21:21 +0000 |
commit | 9d4de5717d7aad26d9e9397cdfc89031f74061d8 (patch) | |
tree | a2edabb5d2f429ef05b9b362fde00d9a3de88b58 | |
parent | Masking www-servers/pound because of security bug #118541 (diff) | |
download | gentoo-2-9d4de5717d7aad26d9e9397cdfc89031f74061d8.tar.gz gentoo-2-9d4de5717d7aad26d9e9397cdfc89031f74061d8.tar.bz2 gentoo-2-9d4de5717d7aad26d9e9397cdfc89031f74061d8.zip |
Remove old revision. Fix makefiles wrt CFLAGS and LDFLAGS used by the user (#132115). Extend kernel configuration tests performed in pkg_postinst function.
(Portage version: 2.0.54)
-rw-r--r-- | net-dialup/ppp/ChangeLog | 10 | ||||
-rw-r--r-- | net-dialup/ppp/Manifest | 98 | ||||
-rw-r--r-- | net-dialup/ppp/files/digest-ppp-2.4.2-r10 | 12 | ||||
-rw-r--r-- | net-dialup/ppp/files/digest-ppp-2.4.3-r15 | 3 | ||||
-rw-r--r-- | net-dialup/ppp/ppp-2.4.2-r10.ebuild | 218 | ||||
-rw-r--r-- | net-dialup/ppp/ppp-2.4.3-r15.ebuild | 334 |
6 files changed, 352 insertions, 323 deletions
diff --git a/net-dialup/ppp/ChangeLog b/net-dialup/ppp/ChangeLog index 7fd8c05bcc16..d70919f97d05 100644 --- a/net-dialup/ppp/ChangeLog +++ b/net-dialup/ppp/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-dialup/ppp # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ChangeLog,v 1.141 2006/05/03 11:29:44 tove Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ChangeLog,v 1.142 2006/05/07 22:21:21 mrness Exp $ + +*ppp-2.4.3-r15 (07 May 2006) + + 07 May 2006; Alin Nastac <mrness@gentoo.org> -ppp-2.4.2-r10.ebuild, + +ppp-2.4.3-r15.ebuild: + Remove old revision. Fix makefiles wrt CFLAGS and LDFLAGS used by the user + (#132115). Extend kernel configuration tests performed in pkg_postinst + function. 03 May 2006; Torsten Veller <tove@gentoo.org> ppp-2.4.3-r14.ebuild: Cross-compile fix for diff --git a/net-dialup/ppp/Manifest b/net-dialup/ppp/Manifest index 2f1597e7e57f..719ccb0b747c 100644 --- a/net-dialup/ppp/Manifest +++ b/net-dialup/ppp/Manifest @@ -1,110 +1,24 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -AUX README.mpls 530 RMD160 4814f25fa3d788311f37045188cf285fb588da67 SHA1 fdf4abff10b2593ca9012429cf684243cc74fec6 SHA256 5ef99aba902533fe9d17b7dfaf91e72b638cc70b9f811d1e518822ee80b5ff57 size 530 +MD5 4d6790c7a6ba8e467601530f927716f1 ChangeLog 25386 MD5 1fd88dda7f4996799c69a9501d42cc23 files/README.mpls 530 -RMD160 4814f25fa3d788311f37045188cf285fb588da67 files/README.mpls 530 -SHA256 5ef99aba902533fe9d17b7dfaf91e72b638cc70b9f811d1e518822ee80b5ff57 files/README.mpls 530 -AUX chat-default 347 RMD160 ac269a088985e6ebc1a4229020a897ca2f6de863 SHA1 6c0daf3d7a75d0ea90d5746708b2e5171d77da69 SHA256 5d08b6e16314d82104f36c54eac9172644e74ae13d28d4964b7f5a263a88294f size 347 MD5 140bc2a08334d3546f43259934da603e files/chat-default 347 -RMD160 ac269a088985e6ebc1a4229020a897ca2f6de863 files/chat-default 347 -SHA256 5d08b6e16314d82104f36c54eac9172644e74ae13d28d4964b7f5a263a88294f files/chat-default 347 -AUX confd.ppp0 2775 RMD160 6f1561e4c567d1126cc78753aafee972516656cf SHA1 6c04159801a60ec2a9791c7e63fbd41b70d83783 SHA256 326b1169449f3c4a0bee54315cd621ad1cde884957a4ba45eb203b12c40bc575 size 2775 MD5 c9117abf5fed623d5290779446e9855e files/confd.ppp0 2775 -RMD160 6f1561e4c567d1126cc78753aafee972516656cf files/confd.ppp0 2775 -SHA256 326b1169449f3c4a0bee54315cd621ad1cde884957a4ba45eb203b12c40bc575 files/confd.ppp0 2775 -AUX ip-down 931 RMD160 11619bcb177f0226691c9da6c67520d1f6d284c6 SHA1 8619ea554d80b6e936ca7f4b867de531c103d71d SHA256 87e2f1aee24cd1fdc1d46249853de302bd9aa4076db8ca2a80b124ef867396bf size 931 +MD5 6a57faf7de0789ee75d26671bff9f6b5 files/digest-ppp-2.4.2-r15 997 +MD5 1c4c4640b2fb85fbc43de8866745b84f files/digest-ppp-2.4.3-r14 723 +MD5 6a313351e3cd5fa543cf3a5772d2c79c files/digest-ppp-2.4.3-r15 195 MD5 5a554e2a04b9e11bb5bea839213bf97c files/ip-down 931 -RMD160 11619bcb177f0226691c9da6c67520d1f6d284c6 files/ip-down 931 -SHA256 87e2f1aee24cd1fdc1d46249853de302bd9aa4076db8ca2a80b124ef867396bf files/ip-down 931 -AUX ip-down.baselayout 960 RMD160 8409ef728f858a74f2294d775b12f4bf748404da SHA1 65a09794a3deb45cc28e28bbe6f20cc25367f982 SHA256 b8f5fa56f421bb1e57e8035901ace2e60f44530dc2ea5db2913ce4d5245865db size 960 MD5 d224887368bd3b15d96d5dc976bf58bf files/ip-down.baselayout 960 -RMD160 8409ef728f858a74f2294d775b12f4bf748404da files/ip-down.baselayout 960 -SHA256 b8f5fa56f421bb1e57e8035901ace2e60f44530dc2ea5db2913ce4d5245865db files/ip-down.baselayout 960 -AUX ip-up 1083 RMD160 ada258d358dfa1209a2c590b6a28e0793cf8db4e SHA1 e45e7a9cbee5edd76cdd8d47d30dceca8ce9dc65 SHA256 d44b558d1dcc0a16ee6225615debf80381c07f2e94d378235c956edf238e3c2a size 1083 MD5 341c2661a11f00fdd1043a4d4e82977e files/ip-up 1083 -RMD160 ada258d358dfa1209a2c590b6a28e0793cf8db4e files/ip-up 1083 -SHA256 d44b558d1dcc0a16ee6225615debf80381c07f2e94d378235c956edf238e3c2a files/ip-up 1083 -AUX ip-up.baselayout 1482 RMD160 46f94cb9fb551a268bdf529b7a0eb376f32eff36 SHA1 febc2e53a6fbc8ffd95becbcaf6ba0d07245f540 SHA256 818b820c6a1d57d045e2c2721e6d7751bdfeab5474a54db84b369f2c331bf6a4 size 1482 MD5 25693832a3c6c45f41e6fd2518219133 files/ip-up.baselayout 1482 -RMD160 46f94cb9fb551a268bdf529b7a0eb376f32eff36 files/ip-up.baselayout 1482 -SHA256 818b820c6a1d57d045e2c2721e6d7751bdfeab5474a54db84b369f2c331bf6a4 files/ip-up.baselayout 1482 -AUX modules.ppp 299 RMD160 ef5ee6fcf66dce67e5bd25220699c3df3ae6ee28 SHA1 d5d8646685dd7d4c0811812e2cb85fee71806d2b SHA256 8947dd48d3d0c128166edc9bb0917b9af88502296fad791d6d90bf165ca50db3 size 299 MD5 1945441c257a952a3de0d95683047ec6 files/modules.ppp 299 -RMD160 ef5ee6fcf66dce67e5bd25220699c3df3ae6ee28 files/modules.ppp 299 -SHA256 8947dd48d3d0c128166edc9bb0917b9af88502296fad791d6d90bf165ca50db3 files/modules.ppp 299 -AUX net.ppp0 4408 RMD160 7e5b951d731a90ccf893a6c11fa6e6310a6783f5 SHA1 d646f07611e8dcfcd5a4dc58b8ea962885283057 SHA256 7e9f5b0504579388390f1f1ad0226352f2ae640a4e81915f4e3b1a3958b1b29c size 4408 MD5 2f3f8eb46b9d97a435a8694683f84651 files/net.ppp0 4408 -RMD160 7e5b951d731a90ccf893a6c11fa6e6310a6783f5 files/net.ppp0 4408 -SHA256 7e9f5b0504579388390f1f1ad0226352f2ae640a4e81915f4e3b1a3958b1b29c files/net.ppp0 4408 -AUX options-pppoe 53 RMD160 fd84d5361750433313c1b8966d4554201f55f538 SHA1 33bc2ad06a82bf5d56a018ef149244b1b6a28a64 SHA256 f1f082ea4fe1a58e961eb3d98d44da04dec238e3bd96216d2a58984ba0bff2c3 size 53 MD5 fa2a5b8df496922fa2fb592115953b6b files/options-pppoe 53 -RMD160 fd84d5361750433313c1b8966d4554201f55f538 files/options-pppoe 53 -SHA256 f1f082ea4fe1a58e961eb3d98d44da04dec238e3bd96216d2a58984ba0bff2c3 files/options-pppoe 53 -AUX options-pptp 238 RMD160 357a839291bae283da68db00b91c53ad038e004f SHA1 fa0d0d934f33779b1d42d96b163f3e1b200292dc SHA256 b206f8ad817510feab41202cbcce1c889a35c8a849a19354297c0a8abfe39a5f size 238 MD5 2890b47660f967a07ac5b211850e46c5 files/options-pptp 238 -RMD160 357a839291bae283da68db00b91c53ad038e004f files/options-pptp 238 -SHA256 b206f8ad817510feab41202cbcce1c889a35c8a849a19354297c0a8abfe39a5f files/options-pptp 238 -AUX plog 146 RMD160 4a9513511a678b7fec04a88ee0cb270972fd1aa7 SHA1 050fa6e224c9cadca2de181b24c015605c55180e SHA256 43608081ab9d6a755eb4e6fa2011f88b16b1702745d76bced6d546a7c579b39f size 146 MD5 86cdaf133f7a79fb464f02d83afc7734 files/plog 146 -RMD160 4a9513511a678b7fec04a88ee0cb270972fd1aa7 files/plog 146 -SHA256 43608081ab9d6a755eb4e6fa2011f88b16b1702745d76bced6d546a7c579b39f files/plog 146 -AUX poff 2723 RMD160 5a1edfe4c28f81deb712cd0b7340dc6e4cd67bc8 SHA1 e5e40683edd61bd23b5d2d0a9da45e4da1577d80 SHA256 e60c79f59cbf3be3ed30bb9562e1ba06cc8f632226ee78ffa54f10791b45a837 size 2723 MD5 05b7394b35a2342033b52134568bf6b8 files/poff 2723 -RMD160 5a1edfe4c28f81deb712cd0b7340dc6e4cd67bc8 files/poff 2723 -SHA256 e60c79f59cbf3be3ed30bb9562e1ba06cc8f632226ee78ffa54f10791b45a837 files/poff 2723 -AUX pon 957 RMD160 13591a1d7a87d6571126df43fc01af47354c5902 SHA1 ef96fe3973ee5b26ac4860654e0f48a817215f31 SHA256 a63273232152442cc38f88f90655e2b5640ad339cbeb7763e76ad34ad603eb49 size 957 MD5 4e62cdeb360ca0a22becbd2deb6f2dac files/pon 957 -RMD160 13591a1d7a87d6571126df43fc01af47354c5902 files/pon 957 -SHA256 a63273232152442cc38f88f90655e2b5640ad339cbeb7763e76ad34ad603eb49 files/pon 957 -AUX pon.1 3607 RMD160 ab2da8c01cab07300a83fa69c830f3c77310de9b SHA1 45c80dcf6f764813150cf7cb7445063d148a2783 SHA256 9bb35eac78898cdc75184bb70fea11fb2e2889e1e2cadf0b7bb8320d7cae0959 size 3607 MD5 44cc662ba9aa61dd9add3ddd4c5ded57 files/pon.1 3607 -RMD160 ab2da8c01cab07300a83fa69c830f3c77310de9b files/pon.1 3607 -SHA256 9bb35eac78898cdc75184bb70fea11fb2e2889e1e2cadf0b7bb8320d7cae0959 files/pon.1 3607 -AUX pppoe.html 7605 RMD160 e149a0dbac8a0ac32c02e1a4ad617572b1effbce SHA1 fd321cb409e4b699abee5ee196793af7f31af60c SHA256 88561486051134e35b20f9d64259854434c96cd9944c041b9779dc090511271a size 7605 MD5 f0ad3e0c62aec1771536caf00e28b9c6 files/pppoe.html 7605 -RMD160 e149a0dbac8a0ac32c02e1a4ad617572b1effbce files/pppoe.html 7605 -SHA256 88561486051134e35b20f9d64259854434c96cd9944c041b9779dc090511271a files/pppoe.html 7605 -DIST ppp-2.4.2-mppe-mppc-1.1.patch.gz 12532 RMD160 0c8b72528cc7828888702d81ebafa92f5f3d653e SHA256 e9fac630069ff1843f36ed222b3348c3a996711e6b00411aeaee7882d7e33eee size 12532 -DIST ppp-2.4.2-patches-20050514.tar.gz 11707 RMD160 2ff3ccabb25268442d00a97f95ee62c35334f016 SHA256 04982544e55116fefee0259a51b362706c9f9af0d436cc76655b60c4aa9d91db size 11707 -DIST ppp-2.4.2-patches-20050729.tar.gz 13162 RMD160 e6e665b5c99714f35d71aacffa842f2db0a80c90 SHA256 6141d05e5e6c141b25bc6fba7eecb2bc288d3eaa93f8137fcb88374ef0d56274 size 13162 -DIST ppp-2.4.2.tar.gz 774441 RMD160 49a3871cb2e20e749201962df31017203603eaa5 SHA256 b54984548fd6ef47abd7f8f2d97d4c6660690b6e0e35fb30b99ef6d3cd62d35a size 774441 -DIST ppp-2.4.3-patches-20060409.tar.gz 55960 RMD160 30d5f039b960cf378d5d856d695728fff0acc3f0 SHA256 13cdeefaaf324723eb4c54a10b196486c6cb55c2f35f179b88393f5397162387 size 55960 -DIST ppp-2.4.3.tar.gz 688092 RMD160 845821496bacb07d93bb7572a171854853ef722b SHA256 1e0fddb5f53613dd14ab10b25435e88092fed1eff09b4ac4448d5be01f3b0b11 size 688092 -DIST ppp-dhcpc.tgz 33497 RMD160 63bf0d1cc52e91ea536fc593fb7a40502baecd90 SHA256 977fd980bb1d285963d8e27a87b7601ea84317faadfdb40989b258d1853db644 size 33497 -EBUILD ppp-2.4.2-r10.ebuild 6730 RMD160 13b882e03e79e652a6d590685c9ddc122cc2318a SHA1 e989a0baf53b0a42affec50a095710de0e8328b8 SHA256 3a05c6e3f9aea57795fc2ee3f6889bd867b8714e62f18d0c54d303c64ac9dc4d size 6730 -MD5 aa48e6320cfa9b25e6ffbb743aa1c343 ppp-2.4.2-r10.ebuild 6730 -RMD160 13b882e03e79e652a6d590685c9ddc122cc2318a ppp-2.4.2-r10.ebuild 6730 -SHA256 3a05c6e3f9aea57795fc2ee3f6889bd867b8714e62f18d0c54d303c64ac9dc4d ppp-2.4.2-r10.ebuild 6730 -EBUILD ppp-2.4.2-r15.ebuild 7753 RMD160 599e33300d0be69aae36bbc9cab3edb149d63f71 SHA1 fd96b6f33e0c7d5d2b8adbec4828b225b1587ba2 SHA256 909483a04e6fe04e961e8d7525052f0fd16a3d9701289319c8c9018893e82078 size 7753 +MD5 e6fdfdc4317d7fe324c50bd0477ca3f8 metadata.xml 295 MD5 a0b56084efb739cda6de8663bcab193a ppp-2.4.2-r15.ebuild 7753 -RMD160 599e33300d0be69aae36bbc9cab3edb149d63f71 ppp-2.4.2-r15.ebuild 7753 -SHA256 909483a04e6fe04e961e8d7525052f0fd16a3d9701289319c8c9018893e82078 ppp-2.4.2-r15.ebuild 7753 -EBUILD ppp-2.4.3-r14.ebuild 10257 RMD160 1bfebaf6f07b36ee591c9fecb6a248160297b02b SHA1 421ea9c42fcdbab6c6afa73650401d4ae4ad7591 SHA256 75d2c16486f61ffb18b124186bf71ee27e86568843ba014168138c91588111d8 size 10257 MD5 8457ab93b5541f365daf8d06e40295e7 ppp-2.4.3-r14.ebuild 10257 -RMD160 1bfebaf6f07b36ee591c9fecb6a248160297b02b ppp-2.4.3-r14.ebuild 10257 -SHA256 75d2c16486f61ffb18b124186bf71ee27e86568843ba014168138c91588111d8 ppp-2.4.3-r14.ebuild 10257 -MISC ChangeLog 25386 RMD160 b72d5c829e8c73c00c8e68b0c0c5b20aacaa2a7f SHA1 496df10f46bf6cca0ca88082cd4b82adea014ad0 SHA256 714e3a515c2b2038005c8b0dabdfa0d0ef11aa8cd3a23422c97ed6f08f480a35 size 25386 -MD5 4d6790c7a6ba8e467601530f927716f1 ChangeLog 25386 -RMD160 b72d5c829e8c73c00c8e68b0c0c5b20aacaa2a7f ChangeLog 25386 -SHA256 714e3a515c2b2038005c8b0dabdfa0d0ef11aa8cd3a23422c97ed6f08f480a35 ChangeLog 25386 -MISC metadata.xml 295 RMD160 1bad3fb153298ef71f80807b3d2c5563433d3408 SHA1 da321dbde1a7f7f27c13ba47469de83e05dca6fe SHA256 eb07bc1d97ef7ec44448d40ae2f081b2db28a03bb4e612b850d0cb4acbdc29a1 size 295 -MD5 e6fdfdc4317d7fe324c50bd0477ca3f8 metadata.xml 295 -RMD160 1bad3fb153298ef71f80807b3d2c5563433d3408 metadata.xml 295 -SHA256 eb07bc1d97ef7ec44448d40ae2f081b2db28a03bb4e612b850d0cb4acbdc29a1 metadata.xml 295 -MD5 146de4150dfad995ab441f9489cd93d9 files/digest-ppp-2.4.2-r10 997 -RMD160 a9fe1b6794664151e1b1131a97be44e7021c9a90 files/digest-ppp-2.4.2-r10 997 -SHA256 d8609e59eaf0a25cd6fcaf44f135c42b06877aacfbb2961e8d7a87d21f2133eb files/digest-ppp-2.4.2-r10 997 -MD5 6a57faf7de0789ee75d26671bff9f6b5 files/digest-ppp-2.4.2-r15 997 -RMD160 9fbd45a0ab21a7cc198c7a086e9c2316ba856179 files/digest-ppp-2.4.2-r15 997 -SHA256 e6c29ee5b22d4a8992de99352023da2718cb8d4105658f6b0b398abe41843736 files/digest-ppp-2.4.2-r15 997 -MD5 1c4c4640b2fb85fbc43de8866745b84f files/digest-ppp-2.4.3-r14 723 -RMD160 31ec5f01abdd5507af141cafdd572fa542be19b5 files/digest-ppp-2.4.3-r14 723 -SHA256 9a78a02376f90cc7b3c8835b94b2bd6e8e765395aa925bac59c1ac1b6ee38592 files/digest-ppp-2.4.3-r14 723 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2.2 (GNU/Linux) - -iD8DBQFEWJRaV3J2n04EauwRAnJGAKDDmKXLZXWhKPxRAhsGWNjl7IuktACfWN9P -PTf21jmPL98MWF9VeKdYEgU= -=IYTx ------END PGP SIGNATURE----- +MD5 29038f650acb34536dcd7795c4971c41 ppp-2.4.3-r15.ebuild 11443 diff --git a/net-dialup/ppp/files/digest-ppp-2.4.2-r10 b/net-dialup/ppp/files/digest-ppp-2.4.2-r10 deleted file mode 100644 index 99d8090ec111..000000000000 --- a/net-dialup/ppp/files/digest-ppp-2.4.2-r10 +++ /dev/null @@ -1,12 +0,0 @@ -MD5 0d2679907627f68dd6a2c32d1c7dda90 ppp-2.4.2-mppe-mppc-1.1.patch.gz 12532 -RMD160 0c8b72528cc7828888702d81ebafa92f5f3d653e ppp-2.4.2-mppe-mppc-1.1.patch.gz 12532 -SHA256 e9fac630069ff1843f36ed222b3348c3a996711e6b00411aeaee7882d7e33eee ppp-2.4.2-mppe-mppc-1.1.patch.gz 12532 -MD5 760e970cad38d42766c72341f175604d ppp-2.4.2-patches-20050514.tar.gz 11707 -RMD160 2ff3ccabb25268442d00a97f95ee62c35334f016 ppp-2.4.2-patches-20050514.tar.gz 11707 -SHA256 04982544e55116fefee0259a51b362706c9f9af0d436cc76655b60c4aa9d91db ppp-2.4.2-patches-20050514.tar.gz 11707 -MD5 362bcf218fba8afbb9afbee7471e5dac ppp-2.4.2.tar.gz 774441 -RMD160 49a3871cb2e20e749201962df31017203603eaa5 ppp-2.4.2.tar.gz 774441 -SHA256 b54984548fd6ef47abd7f8f2d97d4c6660690b6e0e35fb30b99ef6d3cd62d35a ppp-2.4.2.tar.gz 774441 -MD5 9d2f3febf510c5b0cbb4dacba713a217 ppp-dhcpc.tgz 33497 -RMD160 63bf0d1cc52e91ea536fc593fb7a40502baecd90 ppp-dhcpc.tgz 33497 -SHA256 977fd980bb1d285963d8e27a87b7601ea84317faadfdb40989b258d1853db644 ppp-dhcpc.tgz 33497 diff --git a/net-dialup/ppp/files/digest-ppp-2.4.3-r15 b/net-dialup/ppp/files/digest-ppp-2.4.3-r15 new file mode 100644 index 000000000000..1e81e1a64d02 --- /dev/null +++ b/net-dialup/ppp/files/digest-ppp-2.4.3-r15 @@ -0,0 +1,3 @@ +MD5 1a0cc3c75ea7d63af62c14f3d9bf3c17 ppp-2.4.3-patches-20060507.tar.gz 56282 +MD5 848f6c3cafeb6074ffeb293c3af79b7c ppp-2.4.3.tar.gz 688092 +MD5 9d2f3febf510c5b0cbb4dacba713a217 ppp-dhcpc.tgz 33497 diff --git a/net-dialup/ppp/ppp-2.4.2-r10.ebuild b/net-dialup/ppp/ppp-2.4.2-r10.ebuild deleted file mode 100644 index 2d315d9269c3..000000000000 --- a/net-dialup/ppp/ppp-2.4.2-r10.ebuild +++ /dev/null @@ -1,218 +0,0 @@ -# Copyright 1999-2006 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ppp-2.4.2-r10.ebuild,v 1.10 2006/01/24 18:09:32 mrness Exp $ - -inherit eutils gnuconfig flag-o-matic - -DESCRIPTION="Point-to-point protocol (PPP)" -HOMEPAGE="http://www.samba.org/ppp" -SRC_URI="ftp://ftp.samba.org/pub/ppp/${P}.tar.gz - mirror://gentoo/${P}-patches-20050514.tar.gz - mppe-mppc? ( http://mppe-mppc.alphacron.de/ppp-2.4.2-mppe-mppc-1.1.patch.gz ) - dhcp? ( http://www.netservers.co.uk/gpl/ppp-dhcpc.tgz )" - -LICENSE="BSD GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 arm hppa ia64 ppc sparc x86 mips" -IUSE="ipv6 activefilter pam atm mppe-mppc dhcp" - -RDEPEND="virtual/libc - activefilter? ( virtual/libpcap ) - atm? ( net-dialup/linux-atm ) - pam? ( sys-libs/pam )" -DEPEND="${RDEPEND} - >=sys-apps/sed-4" - -pkg_setup() { - if use mppe-mppc; then - echo - ewarn "The mppe-mppc flag overwrites the pppd native MPPE support with MPPE-MPPC" - ewarn "patch developed by Jan Dubiec." - ewarn "The resulted pppd will work only with patched kernels with version <= 2.6.14." - einfo "You could obtain the kernel patch from MPPE-MPPC homepage:" - einfo " http://mppe-mppc.alphacron.de/" - ewarn "CAUTION: MPPC is a U.S. patented algorithm!" - ewarn "Ask yourself if you really need it and, if you do, consult your lawyer first." - ebeep - fi -} - -src_unpack() { - unpack ${A} - cd ${S} - - epatch ${WORKDIR}/patch/cbcp-dosfix.patch || die "patch failed" - epatch ${WORKDIR}/patch/mpls.patch || die "patch failed" - epatch ${WORKDIR}/patch/killaddr-smarter.patch || die "patch failed" - epatch ${WORKDIR}/patch/cflags.patch || die "patch failed" - epatch ${WORKDIR}/patch/control_c.patch || die "patch failed" - - use mppe-mppc && { - einfo "Enabling mppe-mppc support" - epatch ${WORKDIR}/ppp-2.4.2-mppe-mppc-1.1.patch || die "patch failed" - } - - if use atm; then - einfo "Enabling PPPoATM support" - epatch ${WORKDIR}/patch/pppoatm-2.patch || die "patch failed" - sed -i -e "s/^LIBS =/LIBS = -latm/" pppd/Makefile.linux || die - fi - - use activefilter || { - einfo "Disabling active-filter" - sed -i -e "s/^FILTER=y/#FILTER=y/" pppd/Makefile.linux || die - } - - use pam && { - einfo "Enabling PAM" - sed -i -e "s/^#USE_PAM=y/USE_PAM=y/" pppd/Makefile.linux || die - } - - use ipv6 && { - einfo "Enabling IPv6" - sed -i -e "s/#HAVE_INET6/HAVE_INET6/" pppd/Makefile.linux || die - } - - einfo "Enabling CBCP" - sed -i 's/^#CBCP=y/CBCP=y/' pppd/Makefile.linux || die - - einfo "Enabling radius" - sed -i -e 's/SUBDIRS := rp-pppoe/SUBDIRS := rp-pppoe radius/' pppd/plugins/Makefile.linux || die - sed -i -e '/^CFLAGS/s:$: -fPIC:' pppd/plugins/radius/radiusclient/lib/Makefile.in || die - - use dhcp && { - # copy the ppp-dhcp plugin files - einfo "Copying ppp-dhcp plugin files..." - tar -xzf ${DISTDIR}/ppp-dhcpc.tgz -C ${S}/pppd/plugins/ - sed -i -e 's/SUBDIRS := rp-pppoe/SUBDIRS := rp-pppoe dhcp/' pppd/plugins/Makefile.linux || die - sed -i -e "s/-O2/${CFLAGS} -fPIC/" ${S}/pppd/plugins/dhcp/Makefile.linux - epatch ${WORKDIR}/patch/dhcp-sys_error_to_strerror.patch || die - } - - #epatch ${FILESDIR}/${PV}/pcap.patch - sed -i -e "s:net/bpf.h:pcap-bpf.h:" pppd/sys-linux.c pppd/demand.c pppd/plugins/rp-pppoe/if.c - - # Set correct libdir - sed -i -e "s:/lib/pppd:/$(get_libdir)/pppd:" \ - ${S}/pppd/{pathnames.h,pppd.8} || die -} - -src_compile() { - export WANT_AUTOCONF=2.1 - gnuconfig_update - # compile radius better than their makefile does - append-ldflags -Wl,-z,now - (cd pppd/plugins/radius/radiusclient && econf && emake -j1 ) || die "radiusclient build has failed" - ./configure --prefix=/usr || die "configure failed" - emake COPTS="${CFLAGS}" || die "build has failed" -} - -src_install() { - local y - for y in chat pppd pppdump pppstats - do - doman ${y}/${y}.8 - dosbin ${y}/${y} - done - chmod u+s-w ${D}/usr/sbin/pppd - - dodir /etc/ppp/peers - insinto /etc/ppp - insopts -m0600 - newins etc.ppp/pap-secrets pap-secrets.example - newins etc.ppp/chap-secrets chap-secrets.example - - insopts -m0644 - doins etc.ppp/options - doins ${FILESDIR}/options-pptp - doins ${FILESDIR}/options-pppoe - doins ${FILESDIR}/chat-default - - insopts -m0755 - doins ${FILESDIR}/ip-up - doins ${FILESDIR}/ip-down - - exeinto /etc/init.d/ - doexe ${FILESDIR}/net.ppp0 - - if use pam; then - insinto /etc/pam.d - insopts -m0644 - newins pppd/ppp.pam ppp || die "not found ppp.pam" - fi - - insinto /etc/conf.d - insopts -m0600 - newins ${FILESDIR}/confd.ppp0 net.ppp0 - - local PLUGINS_DIR=/usr/$(get_libdir)/pppd/$(awk -F '"' '/VERSION/ {print $2}' pppd/patchlevel.h) - #closing " for syntax coloring - dodir ${PLUGINS_DIR} - insinto ${PLUGINS_DIR} - insopts -m0755 - doins pppd/plugins/minconn.so || die "minconn.so not build" - doins pppd/plugins/passprompt.so || die "passprompt.so not build" - doins pppd/plugins/rp-pppoe/rp-pppoe.so || die "rp-pppoe.so not build" - doins pppd/plugins/radius/radius.so || die "radius.so not build" - doins pppd/plugins/radius/radattr.so || die "radattr.so not build" - doins pppd/plugins/radius/radrealms.so || die "radrealms.so not build" - if use atm; then - doins pppd/plugins/pppoatm.so || die "pppoatm.so not build" - fi - if use dhcp; then - doins pppd/plugins/dhcp/dhcpc.so || die "dhcpc.so not build" - fi - - insinto /etc/modules.d - insopts -m0644 - newins ${FILESDIR}/modules.ppp ppp - if use mppe-mppc; then - sed -i -e 's/ppp_mppe/ppp_mppe_mppc/' ${D}/etc/modules.d/ppp - fi - - dodoc PLUGINS README* SETUP Changes-2.3 FAQ - dodoc ${FILESDIR}/README.mpls - dohtml ${FILESDIR}/pppoe.html - - doman pppd/plugins/radius/pppd-radius.8 - doman pppd/plugins/radius/pppd-radattr.8 - - dosbin scripts/pon - dosbin scripts/poff - dosbin scripts/plog - doman scripts/pon.1 - - # Adding misc. specialized scripts to doc dir - dodir /usr/share/doc/${PF}/scripts/chatchat - insinto /usr/share/doc/${PF}/scripts/chatchat - doins scripts/chatchat/* - insinto /usr/share/doc/${PF}/scripts - doins scripts/* - - # install radiusclient - cd pppd/plugins/radius/radiusclient - make DESTDIR=${D} install || die -} - -pkg_postinst() { - if ! [ -e ${ROOT}dev/.devfsd ] || [ -e ${ROOT}dev/.udev ] - then - if [ ! -e ${ROOT}dev/ppp ]; then - mknod ${ROOT}dev/ppp c 108 0 - fi - fi - if [ "$ROOT" = "/" ] - then - /sbin/update-modules - fi - ewarn "To enable kernel-pppoe read html/pppoe.html in the doc-directory." - ewarn "Note: the library name has changed from pppoe.so to rp-pppoe.so." - ewarn "Pon, poff and plog scripts have been supplied for experienced users." - ewarn "New users or those requiring something more should have a look at" - ewarn "the /etc/init.d/net.ppp0 script." - ewarn "Users needing particular scripts (ssh,rsh,etc.)should check out the" - ewarn "/usr/share/doc/ppp*/scripts directory." - - # lib name has changed - sed -i -e "s:^pppoe.so:rp-pppoe.so:" ${ROOT}etc/ppp/options -} diff --git a/net-dialup/ppp/ppp-2.4.3-r15.ebuild b/net-dialup/ppp/ppp-2.4.3-r15.ebuild new file mode 100644 index 000000000000..c56e67a33a70 --- /dev/null +++ b/net-dialup/ppp/ppp-2.4.3-r15.ebuild @@ -0,0 +1,334 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/ppp-2.4.3-r15.ebuild,v 1.1 2006/05/07 22:21:21 mrness Exp $ + +inherit eutils flag-o-matic toolchain-funcs linux-info + +DESCRIPTION="Point-to-Point Protocol (PPP)" +HOMEPAGE="http://www.samba.org/ppp" +SRC_URI="ftp://ftp.samba.org/pub/ppp/${P}.tar.gz + mirror://gentoo/${P}-patches-20060507.tar.gz + dhcp? ( http://www.netservers.co.uk/gpl/ppp-dhcpc.tgz )" + +LICENSE="BSD GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86" +IUSE="activefilter atm dhcp eap-tls gtk ipv6 mppe-mppc pam radius" + +DEPEND="activefilter? ( >=virtual/libpcap-0.9.3 ) + atm? ( net-dialup/linux-atm ) + pam? ( sys-libs/pam ) + gtk? ( =x11-libs/gtk+-1* ) + eap-tls? ( net-misc/curl >=dev-libs/openssl-0.9.7 )" + +pkg_setup() { + if use mppe-mppc; then + echo + ewarn "The mppe-mppc flag overwrites the pppd native MPPE support with MPPE-MPPC" + ewarn "patch developed by Jan Dubiec." + ewarn "The resulted pppd will work only with patched kernels with version <= 2.6.14." + einfo "You could obtain the kernel patch from MPPE-MPPC homepage:" + einfo " http://mppe-mppc.alphacron.de/" + ewarn "CAUTION: MPPC is a U.S. patented algorithm!" + ewarn "Ask yourself if you really need it and, if you do, consult your lawyer first." + ebeep + fi + + if has_version "<${CATEGORY}/${PF}"; then + local files="" + [ -f "${ROOT}/etc/conf.d/net.ppp0" ] && files=( "${ROOT}/etc/conf.d/net.ppp0" ) + if [ -f "${ROOT}/etc/init.d/net.ppp0" ]; then + local x y + x=$(<"${ROOT}/etc/init.d/net.ppp0") + y=$(<"${ROOT}/etc/init.d/net.lo") + #It should be symlink to net.lo or at least have the same content + if [ "$x" != "$y" ] ; then + files=( ${files[@]} "${ROOT}/etc/init.d/net.ppp0" ) + fi + fi + + if [[ -n "${files[@]}" ]]; then + local f + einfo "Gentoo is moving toward common configuration file for all network" + einfo "interfaces. Thus starting from >=ppp-2.4.3-r10 the following files" + einfo "are obsoleted and should be removed to avoid future confusion:" + for f in ${files[@]} ; do + eerror " ${f//\/\///} - conflict with baselayout" + done + for f in chat-default options-pppoe options-pptp ; do + f="${ROOT}/etc/ppp/${f}" + if [ -f "${f}" ] ; then + ewarn " ${f//\/\///} - unused by this version" + files=( ${files[@]} "${f}" ) + fi + done + echo + einfo "If you use the old net.ppp0 script, you need to:" + einfo " - upgrade to >=sys-apps/baselayout-1.12.0_pre11" + einfo " - set ppp0 parameters in /etc/conf.d/net (see example file)" + einfo " - remove conflicting files" + einfo " - upgrade net-dialup/ppp" + echo + einfo "If you never used net.ppp0 script, just run the following commands:" + einfo " rm ${files[@]}" + einfo " emerge --resume" + die "Conflicts with baselayout support detected" + fi + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + + epatch "${WORKDIR}/patch/make-vars.patch" + epatch "${WORKDIR}/patch/mpls.patch" + epatch "${WORKDIR}/patch/killaddr-smarter.patch" + epatch "${WORKDIR}/patch/upstream-fixes.patch" + epatch "${WORKDIR}/patch/rp-pppoe-any-interface.patch" + epatch "${WORKDIR}/patch/quiet-pppoatm-modprobe.patch" + epatch "${WORKDIR}/patch/wait-children.patch" + + use eap-tls && { + # see http://eaptls.spe.net/index.html for more info + einfo "Enabling EAP-TLS support" + epatch "${WORKDIR}/patch/eaptls-0.7-gentoo.patch" + use mppe-mppc || epatch "${WORKDIR}/patch/eaptls-mppe-0.7.patch" + } + + use mppe-mppc && { + einfo "Enabling MPPE-MPPC support" + epatch "${WORKDIR}/patch/mppe-mppc-1.1.patch" + use eap-tls && epatch "${WORKDIR}/patch/eaptls-mppe-0.7-with-mppc.patch" + } + + use atm && { + einfo "Enabling PPPoATM support" + sed -i "s/^#HAVE_LIBATM=yes/HAVE_LIBATM=yes/" pppd/plugins/pppoatm/Makefile.linux + } + + use activefilter || { + einfo "Disabling active filter" + sed -i "s/^FILTER=y/#FILTER=y/" pppd/Makefile.linux + } + + use pam && { + einfo "Enabling PAM" + sed -i "s/^#USE_PAM=y/USE_PAM=y/" pppd/Makefile.linux + } + + use ipv6 && { + einfo "Enabling IPv6" + sed -i "s/#HAVE_INET6/HAVE_INET6/" pppd/Makefile.linux + } + + einfo "Enabling CBCP" + sed -i "s/^#CBCP=y/CBCP=y/" pppd/Makefile.linux + + use dhcp && { + # copy the ppp-dhcp plugin files + einfo "Copying ppp-dhcp plugin files..." + tar -xzf "${DISTDIR}/ppp-dhcpc.tgz" -C pppd/plugins/ \ + && sed -i -e 's/SUBDIRS := rp-pppoe/SUBDIRS := rp-pppoe dhcp/' pppd/plugins/Makefile.linux \ + || die "ppp-dhcp plugin addition failed" + epatch "${WORKDIR}/patch/dhcp-make-vars.patch" + epatch "${WORKDIR}/patch/dhcp-sys_error_to_strerror.patch" + } + + # Set correct libdir + sed -i -e "s:/lib/pppd:/$(get_libdir)/pppd:" \ + pppd/{pathnames.h,pppd.8} + + use radius && { + #set the right paths in radiusclient.conf + sed -i -e "s:/usr/local/etc:/etc:" \ + -e "s:/usr/local/sbin:/usr/sbin:" pppd/plugins/radius/etc/radiusclient.conf + #set config dir to /etc/ppp/radius + sed -i -e "s:/etc/radiusclient:/etc/ppp/radius:g" \ + pppd/plugins/radius/{*.8,*.c,*.h} \ + pppd/plugins/radius/etc/* + } +} + +src_compile() { + export CC="$(tc-getCC)" + export AR="$(tc-getAR)" + append-ldflags $(bindnow-flags) + econf || die "configuration failed" + emake COPTS="${CFLAGS}" || die "compile failed" + + #build pppgetpass + cd contrib/pppgetpass + if use gtk; then + emake -f Makefile.linux || die "failed to build pppgetpass" + else + emake pppgetpass.vt || die "failed to build pppgetpass" + fi +} + +pkg_preinst() { + if use radius && [ -d "${ROOT}/etc/radiusclient" ] && has_version "<${CATEGORY}/${PN}-2.4.3-r5"; then + ebegin "Copy /etc/radiusclient to /etc/ppp/radius" + cp -pPR "${ROOT}/etc/radiusclient" "${ROOT}/etc/ppp/radius" + eend $? + fi +} + +src_install() { + local y + for y in chat pppd pppdump pppstats + do + doman ${y}/${y}.8 + dosbin ${y}/${y} + done + chmod u+s-w "${D}/usr/sbin/pppd" + + dosbin pppd/plugins/rp-pppoe/pppoe-discovery + + dodir /etc/ppp/peers + insinto /etc/ppp + insopts -m0600 + newins etc.ppp/pap-secrets pap-secrets.example + newins etc.ppp/chap-secrets chap-secrets.example + + insopts -m0644 + doins etc.ppp/options + + insopts -m0755 + newins "${FILESDIR}/ip-up.baselayout" ip-up + newins "${FILESDIR}/ip-down.baselayout" ip-down + + if use pam; then + insinto /etc/pam.d + insopts -m0644 + newins pppd/ppp.pam ppp || die "not found ppp.pam" + fi + + local PLUGINS_DIR=/usr/$(get_libdir)/pppd/$(awk -F '"' '/VERSION/ {print $2}' pppd/patchlevel.h) + #closing " for syntax coloring + dodir "${PLUGINS_DIR}" + insinto "${PLUGINS_DIR}" + insopts -m0755 + doins pppd/plugins/minconn.so || die "minconn.so not build" + doins pppd/plugins/passprompt.so || die "passprompt.so not build" + doins pppd/plugins/passwordfd.so || die "passwordfd.so not build" + doins pppd/plugins/winbind.so || die "winbind.so not build" + doins pppd/plugins/rp-pppoe/rp-pppoe.so || die "rp-pppoe.so not build" + if use atm; then + doins pppd/plugins/pppoatm/pppoatm.so || die "pppoatm.so not build" + fi + if use dhcp; then + doins pppd/plugins/dhcp/dhcpc.so || die "dhcpc.so not build" + fi + if use radius; then + doins pppd/plugins/radius/radius.so || die "radius.so not build" + doins pppd/plugins/radius/radattr.so || die "radattr.so not build" + doins pppd/plugins/radius/radrealms.so || die "radrealms.so not build" + + #Copy radiusclient configuration files (#92878) + insinto /etc/ppp/radius + insopts -m0644 + doins pppd/plugins/radius/etc/{dictionary*,issue,port-id-map,radiusclient.conf,realms,servers} + + doman pppd/plugins/radius/pppd-radius.8 + doman pppd/plugins/radius/pppd-radattr.8 + fi + + insinto /etc/modules.d + insopts -m0644 + newins "${FILESDIR}/modules.ppp" ppp + if use mppe-mppc; then + sed -i -e 's/ppp_mppe/ppp_mppe_mppc/' "${D}/etc/modules.d/ppp" + fi + + dodoc PLUGINS README* SETUP Changes-2.3 FAQ + dodoc "${FILESDIR}/README.mpls" + + dosbin scripts/pon + dosbin scripts/poff + dosbin scripts/plog + doman scripts/pon.1 + + # Adding misc. specialized scripts to doc dir + dodir /usr/share/doc/${PF}/scripts/chatchat + insinto /usr/share/doc/${PF}/scripts/chatchat + doins scripts/chatchat/* + insinto /usr/share/doc/${PF}/scripts + doins scripts/* + + if use gtk; then + dosbin contrib/pppgetpass/{pppgetpass.vt,pppgetpass.gtk} + newsbin contrib/pppgetpass/pppgetpass.sh pppgetpass + else + newsbin contrib/pppgetpass/pppgetpass.vt pppgetpass + fi + doman contrib/pppgetpass/pppgetpass.8 +} + +pkg_postinst() { + if get_version ; then + echo + ewarn "If the following test report contains a missing kernel configuration option that you need," + ewarn "you should reconfigure and rebuild your kernel before running pppd." + CONFIG_CHECK="~PPP ~PPP_ASYNC ~PPP_SYNC_TTY" + local ERROR_PPP="CONFIG_PPP:\t missing PPP support (REQUIRED)" + local ERROR_PPP_ASYNC="CONFIG_PPP_ASYNC:\t missing asynchronous serial line discipline (optional, but highly recommended)" + local ERROR_PPP_SYNC_TTY="CONFIG_PPP_SYNC_TTY:\t missing synchronous serial line discipline (optional; used by 'sync' pppd option)" + if use activefilter ; then + CONFIG_CHECK="${CONFIG_CHECK} ~PPP_FILTER" + local ERROR_PPP_FILTER="CONFIG_PPP_FILTER:\t missing PPP filtering support (REQUIRED)" + fi + CONFIG_CHECK="${CONFIG_CHECK} ~PPP_DEFLATE ~PPP_BSDCOMP" + local ERROR_PPP_DEFLATE="CONFIG_PPP_DEFLATE:\t missing Deflate compression (optional, but highly recommended)" + local ERROR_PPP_BSDCOMP="CONFIG_PPP_BSDCOMP:\t missing BSD-Compress compression (optional, but highly recommended)" + if use mppe-mppc ; then + CONFIG_CHECK="${CONFIG_CHECK} ~PPP_MPPE_MPPC" + local ERROR_PPP_MPPE_MPPC="CONFIG_PPP_MPPE_MPPC:\t missing MPPE/MPPC encryption/compression (optional, mostly used by PPTP links)" + else + CONFIG_CHECK="${CONFIG_CHECK} ~PPP_MPPE" + local ERROR_PPP_MPPE="CONFIG_PPP_MPPE:\t missing MPPE encryption (optional, mostly used by PPTP links)" + fi + CONFIG_CHECK="${CONFIG_CHECK} ~PPPOE" + local ERROR_PPPOE="CONFIG_PPPOE:\t missing PPPoE support (optional)" + if use atm ; then + CONFIG_CHECK="${CONFIG_CHECK} ~PPPOATM" + local ERROR_PPPOATM="CONFIG_PPPOATM:\t missing PPPoA support (optional)" + fi + check_extra_config + fi + + if [ ! -e "${ROOT}/dev/.devfsd" ] && [ ! -e "${ROOT}/dev/.udev" ] && [ ! -e "${ROOT}/dev/ppp" ]; then + mknod "${ROOT}/dev/ppp" c 108 0 + fi + if [ "$ROOT" = "/" ]; then + /sbin/update-modules + fi + + #create *-secrets files if not exists + [ -f "${ROOT}/etc/ppp/pap-secrets" ] || \ + cp -pP "${ROOT}/etc/ppp/pap-secrets.example" "${ROOT}/etc/ppp/pap-secrets" + [ -f "${ROOT}/etc/ppp/chap-secrets" ] || \ + cp -pP "${ROOT}/etc/ppp/chap-secrets.example" "${ROOT}/etc/ppp/chap-secrets" + + # lib name has changed + sed -i -e "s:^pppoe.so:rp-pppoe.so:" "${ROOT}/etc/ppp/options" + + if use radius && has_version "<${CATEGORY}/${PN}-2.4.3-r5"; then + echo + ewarn "As of ${PN}-2.4.3-r5, the RADIUS configuration files have moved from" + ewarn " /etc/radiusclient to /etc/ppp/radius." + einfo "For your convenience, radiusclient directory was copied to the new location." + fi + + echo + einfo "Pon, poff and plog scripts have been supplied for experienced users." + einfo "Users needing particular scripts (ssh,rsh,etc.) should check out the" + einfo "/usr/share/doc/ppp*/scripts directory." + + echo + ewarn "The old /etc/init.d/net.ppp0 script has gone!" + einfo "The new way of handling PPP connections of any kind (PPPoE, PPPoA, etc)" + einfo "is through the baselayout's pppd net module." + einfo "Make sure you have a supported version of baselayout by running:" + einfo " emerge -u '>=sys-apps/baselayout-1.12.0_pre11'" +} |