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
-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
-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
-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
-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
-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
-MD5 25693832a3c6c45f41e6fd2518219133 files/ip-up.baselayout 1482
-RMD160 46f94cb9fb551a268bdf529b7a0eb376f32eff36 files/ip-up.baselayout 1482
-SHA256 818b820c6a1d57d045e2c2721e6d7751bdfeab5474a54db84b369f2c331bf6a4 files/ip-up.baselayout 1482
+AUX ip-down 960 RMD160 8409ef728f858a74f2294d775b12f4bf748404da SHA1 65a09794a3deb45cc28e28bbe6f20cc25367f982 SHA256 b8f5fa56f421bb1e57e8035901ace2e60f44530dc2ea5db2913ce4d5245865db
+MD5 d224887368bd3b15d96d5dc976bf58bf files/ip-down 960
+RMD160 8409ef728f858a74f2294d775b12f4bf748404da files/ip-down 960
+SHA256 b8f5fa56f421bb1e57e8035901ace2e60f44530dc2ea5db2913ce4d5245865db files/ip-down 960
+AUX ip-up 1482 RMD160 46f94cb9fb551a268bdf529b7a0eb376f32eff36 SHA1 febc2e53a6fbc8ffd95becbcaf6ba0d07245f540 SHA256 818b820c6a1d57d045e2c2721e6d7751bdfeab5474a54db84b369f2c331bf6a4
+MD5 25693832a3c6c45f41e6fd2518219133 files/ip-up 1482
+RMD160 46f94cb9fb551a268bdf529b7a0eb376f32eff36 files/ip-up 1482
+SHA256 818b820c6a1d57d045e2c2721e6d7751bdfeab5474a54db84b369f2c331bf6a4 files/ip-up 1482
AUX modules.ppp 299 RMD160 ef5ee6fcf66dce67e5bd25220699c3df3ae6ee28 SHA1 d5d8646685dd7d4c0811812e2cb85fee71806d2b SHA256 8947dd48d3d0c128166edc9bb0917b9af88502296fad791d6d90bf165ca50db3
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
-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
-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
-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
-MD5 86cdaf133f7a79fb464f02d83afc7734 files/plog 146
-RMD160 4a9513511a678b7fec04a88ee0cb270972fd1aa7 files/plog 146
-SHA256 43608081ab9d6a755eb4e6fa2011f88b16b1702745d76bced6d546a7c579b39f files/plog 146
-AUX poff 2723 RMD160 5a1edfe4c28f81deb712cd0b7340dc6e4cd67bc8 SHA1 e5e40683edd61bd23b5d2d0a9da45e4da1577d80 SHA256 e60c79f59cbf3be3ed30bb9562e1ba06cc8f632226ee78ffa54f10791b45a837
-MD5 05b7394b35a2342033b52134568bf6b8 files/poff 2723
-RMD160 5a1edfe4c28f81deb712cd0b7340dc6e4cd67bc8 files/poff 2723
-SHA256 e60c79f59cbf3be3ed30bb9562e1ba06cc8f632226ee78ffa54f10791b45a837 files/poff 2723
-AUX pon 957 RMD160 13591a1d7a87d6571126df43fc01af47354c5902 SHA1 ef96fe3973ee5b26ac4860654e0f48a817215f31 SHA256 a63273232152442cc38f88f90655e2b5640ad339cbeb7763e76ad34ad603eb49
-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
-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
-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 SHA1 e481dfcb9f0e0297459320495f827134bd3ba106 SHA256 e9fac630069ff1843f36ed222b3348c3a996711e6b00411aeaee7882d7e33eee
-DIST ppp-2.4.2-patches-20060516.tar.gz 13311 RMD160 163c89891cb46a8ed70720904c9861e72ff0abee SHA1 d96a251f78ab5ecad6ae6ec6620a578d51b165ce SHA256 9604cd6bafa6ee3321b0c0b6211d6d86963979cdbc6411eca0b87bc8daa544da
-DIST ppp-2.4.2.tar.gz 774441 RMD160 49a3871cb2e20e749201962df31017203603eaa5 SHA1 fc58efe96e3b8af281695d1e3a3d0c2176e8c0b7 SHA256 b54984548fd6ef47abd7f8f2d97d4c6660690b6e0e35fb30b99ef6d3cd62d35a
DIST ppp-2.4.3-patches-20060910.tar.gz 56471 RMD160 160ebf1425fc338907d51e4b601e3dbd9bcad148 SHA1 04c1d540d87c3639ab00e991daea52228f44a3a1 SHA256 a4d23bb0026d7b1f9d7a5c97706afe83775504a49d8aa3b55ab247abb78eeeb1
DIST ppp-2.4.3.tar.gz 688092 RMD160 845821496bacb07d93bb7572a171854853ef722b SHA1 5e2789f4dedc81943fa9f94c840cccc2407056f7 SHA256 1e0fddb5f53613dd14ab10b25435e88092fed1eff09b4ac4448d5be01f3b0b11
-DIST ppp-2.4.4-patches-20060910.tar.gz 42282 RMD160 89bc9d4be5d62ffbc9683e4167f3d1ed54893d60 SHA1 65a78ac70b1b7e27f26ad7c57362c62cc0431367 SHA256 e55b58332d8f37837dd18a52077274afa136d35699e3820f5658557a9c71a39c
DIST ppp-2.4.4-patches-20061005.tar.gz 43128 RMD160 c26765b78f07ca27c438c2b80a98f523439a650e SHA1 b7c62428c53cb9390ddc1838a1916460d9cf66a1 SHA256 6af1d583ddd1d691bec2fe70322e0008bd7555a25c659f2a36b165d5b970c6c3
DIST ppp-2.4.4.tar.gz 688763 RMD160 ed289a4506c3af41a72f88103d5e0be44dec3da7 SHA1 9b91b0117e0a8bfaf8c4e894af79e0960dd36259 SHA256 58af45fc07e5f326eea2408df770ea40e4626d1a15e7d564dd054d74880e91ea
DIST ppp-dhcpc.tgz 33497 RMD160 63bf0d1cc52e91ea536fc593fb7a40502baecd90 SHA1 1a0b02788d522f2137d0b66c749ffe6c96cceb94 SHA256 977fd980bb1d285963d8e27a87b7601ea84317faadfdb40989b258d1853db644
-EBUILD ppp-2.4.2-r15.ebuild 7796 RMD160 9cb79041d388bd8367f034fb9c573926da96d0fe SHA1 cdf34f2e252779ba3b4cc24642feaa563bb3420c SHA256 ef99af8f4ce2f89b8a98442283e993f89e82a70e3f81d6bed925f1fb56edc80f
-MD5 7de81d12c980e70d16eb82f4ee1ca3f0 ppp-2.4.2-r15.ebuild 7796
-RMD160 9cb79041d388bd8367f034fb9c573926da96d0fe ppp-2.4.2-r15.ebuild 7796
-SHA256 ef99af8f4ce2f89b8a98442283e993f89e82a70e3f81d6bed925f1fb56edc80f ppp-2.4.2-r15.ebuild 7796
-EBUILD ppp-2.4.3-r16.ebuild 11554 RMD160 f2388ba566ad78afa0538ce58f17e074e57c2ecc SHA1 942bbf4c7fc27f47af40820ad20775bc6f7509d4 SHA256 bdd46d0be19883f30ccf96f45cfe58f7a94f88c081f5f9ddb51e63f3747e0794
-MD5 2001b885dbc951e4874f83c3fdce0e0b ppp-2.4.3-r16.ebuild 11554
-RMD160 f2388ba566ad78afa0538ce58f17e074e57c2ecc ppp-2.4.3-r16.ebuild 11554
-SHA256 bdd46d0be19883f30ccf96f45cfe58f7a94f88c081f5f9ddb51e63f3747e0794 ppp-2.4.3-r16.ebuild 11554
-EBUILD ppp-2.4.4-r1.ebuild 9547 RMD160 23c3dc43817e94a0380c413e8d543bfbc3171b34 SHA1 fdb808cf7988cdd6e6ce431ab9cf0a860ac68758 SHA256 4534d5b655964b297a7213d6917bc878dac19c6bb473385d624da9fbca8bb0cd
-MD5 41922256bf40b2dd6d536dfc14adf574 ppp-2.4.4-r1.ebuild 9547
-RMD160 23c3dc43817e94a0380c413e8d543bfbc3171b34 ppp-2.4.4-r1.ebuild 9547
-SHA256 4534d5b655964b297a7213d6917bc878dac19c6bb473385d624da9fbca8bb0cd ppp-2.4.4-r1.ebuild 9547
-EBUILD ppp-2.4.4-r2.ebuild 9595 RMD160 8b33e8dc1dfdcb4371902ec0af7fc7bab8ef9b88 SHA1 b9ce2c19a7623034921b1dd7525a53b65dbacbed SHA256 44f4fc338eac921fdf51e3511887dbfbfbe24acb63cb3292774a59d9d8b7c46e
-MD5 854cc57f1c92ade2630629566f6b1d5f ppp-2.4.4-r2.ebuild 9595
-RMD160 8b33e8dc1dfdcb4371902ec0af7fc7bab8ef9b88 ppp-2.4.4-r2.ebuild 9595
-SHA256 44f4fc338eac921fdf51e3511887dbfbfbe24acb63cb3292774a59d9d8b7c46e ppp-2.4.4-r2.ebuild 9595
-MISC ChangeLog 28048 RMD160 9c1f5d3de8642ee0026909d2cc6246264866aa33 SHA1 26192c8bcc3a973819bb70f235cdf4979f3f3581 SHA256 6b844da064060b2d11037aae585e76671ff413db5feb49a70d29d4ce32b35ea7
-MD5 d97672c584975b9ce46a3bd1f3d9d8b0 ChangeLog 28048
-RMD160 9c1f5d3de8642ee0026909d2cc6246264866aa33 ChangeLog 28048
-SHA256 6b844da064060b2d11037aae585e76671ff413db5feb49a70d29d4ce32b35ea7 ChangeLog 28048
+EBUILD ppp-2.4.3-r16.ebuild 11517 RMD160 9d77710d63f0422046fa5dc53c542189c89de34d SHA1 932e775a84e8f4d814bcfad2bb05c6cfb81175d7 SHA256 8f04bd2050070665461752942336e13dc374ccc154e9cb0fc0617e1546a9fbdc
+MD5 5868c15ee78be9a21dbeede592e76f38 ppp-2.4.3-r16.ebuild 11517
+RMD160 9d77710d63f0422046fa5dc53c542189c89de34d ppp-2.4.3-r16.ebuild 11517
+SHA256 8f04bd2050070665461752942336e13dc374ccc154e9cb0fc0617e1546a9fbdc ppp-2.4.3-r16.ebuild 11517
+EBUILD ppp-2.4.4-r2.ebuild 9557 RMD160 cacfb77dfc0f46b855806be97185e6ac10e97f59 SHA1 3e532fb7ac2002997150794c690f70c990f6e715 SHA256 76e8343ef391036485ede367e7ca495d68e339408e468e00734422668f576452
+MD5 0de711c768f30089e5a72a0a3d774ce8 ppp-2.4.4-r2.ebuild 9557
+RMD160 cacfb77dfc0f46b855806be97185e6ac10e97f59 ppp-2.4.4-r2.ebuild 9557
+SHA256 76e8343ef391036485ede367e7ca495d68e339408e468e00734422668f576452 ppp-2.4.4-r2.ebuild 9557
+MISC ChangeLog 28474 RMD160 2082d7ae074aeba44d21b12efff3bab97de0ebc8 SHA1 92407df0d428be9d49695ead6cbb8c80919f86a2 SHA256 93578e3ee6abb1427eccc6c7c7f9e309cdf199718f9ebfed436b00885750cd8d
+MD5 ebb0af36b5bf34754c1b75c7338d65fd ChangeLog 28474
+RMD160 2082d7ae074aeba44d21b12efff3bab97de0ebc8 ChangeLog 28474
+SHA256 93578e3ee6abb1427eccc6c7c7f9e309cdf199718f9ebfed436b00885750cd8d ChangeLog 28474
MISC metadata.xml 384 RMD160 98dac63bd0265c815e677f10fd2418231c01b19e SHA1 00f7ddc284f2338465ba8a1d1bc31da70dc6d7bc SHA256 a9f217d596c53c39f17c5e0675b4a9a484a1530b75c460ca7bf4896e6e732683
MD5 8c831d16c63dd88ff9cb350ab8104831 metadata.xml 384
RMD160 98dac63bd0265c815e677f10fd2418231c01b19e metadata.xml 384
SHA256 a9f217d596c53c39f17c5e0675b4a9a484a1530b75c460ca7bf4896e6e732683 metadata.xml 384
-MD5 60e5d939fbd99b3e6e8f2e8eeebc8ddb files/digest-ppp-2.4.2-r15 997
-RMD160 cd5830afe9107524db43c2696090939142665f7e files/digest-ppp-2.4.2-r15 997
-SHA256 aca7fd4bee6f1aebfd83a7e17c47af1f751c00cc0cd51b5c0cddc5ee36b4b935 files/digest-ppp-2.4.2-r15 997
MD5 32c778d82c5bb1a4ec2030a9206ba67a files/digest-ppp-2.4.3-r16 723
RMD160 bdf56d4b402c84c54d3f57f5a3a52f796214a216 files/digest-ppp-2.4.3-r16 723
SHA256 15aa0950b61add7c588e0b0e255bfa7a117f700b1af938cbfbf9bd6aebbc76c5 files/digest-ppp-2.4.3-r16 723
-MD5 5c81e4b9efde793b038476b431a70bf8 files/digest-ppp-2.4.4-r1 723
-RMD160 80752aa68b58a671eb33096762ad4a6df30a064d files/digest-ppp-2.4.4-r1 723
-SHA256 19eab44d2118c3c73e762a644edb50502119a4e28243dc0c50d3c7b42b3c12e9 files/digest-ppp-2.4.4-r1 723
MD5 19c582c1fe4acd1b042aa25a28ef8471 files/digest-ppp-2.4.4-r2 723
RMD160 212c2c366ef224cc1f3f15a27343c59de294cb51 files/digest-ppp-2.4.4-r2 723
SHA256 e781da3b312e193c5e893765dcacc0882152395d03fcbabba5c6ea79e691e061 files/digest-ppp-2.4.4-r2 723
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2.2 (GNU/Linux)
+Version: GnuPG v1.4.5 (GNU/Linux)
-iD8DBQFFPcaQViELBEf1JB0RAiXjAJwP3jQwwzZ5Ev/c0ws65ceqvn9TlgCfWRS/
-2/DtALyxM6rmjMq6yBABJok=
-=sNNv
+iD8DBQFFPdj23sf9c6kjmR8RAkiEAJwJCUp2nq2ttqPYbY8kbyGgP+fLLQCfe6oh
+px94DUGe9bL1U23uPasIReA=
+=xs33
-----END PGP SIGNATURE-----
+++ /dev/null
-# /etc/ppp/chat-default:
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/files/chat-default,v 1.2 2004/07/18 03:50:48 dragonheart Exp $
-
-'ABORT' 'BUSY'
-'ABORT' 'ERROR'
-'ABORT' 'NO ANSWER'
-'ABORT' 'NO CARRIER'
-'ABORT' 'NO DIALTONE'
-'ABORT' 'Invalid Login'
-'ABORT' 'Login incorrect'
-'' 'ATZ'
-'OK' 'ATDT$NUMBER'
-'CONNECT' ''
-'TIMEOUT' '5'
-'~--' ''
+++ /dev/null
-# /etc/conf.d/net.ppp0:
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/files/confd.ppp0,v 1.3 2005/02/06 09:22:13 mrness Exp $
-
-# Config file for /etc/init.d/net.ppp0
-
-PEER="MyPeer" # Define peer (aka ISP)
-DEBUG="no" # Turn on debugging
-PERSIST="no" # Redial after being dropped
-ONDEMAND="no" # Only bring the interface up on demand?
-MODEMPORT="/dev/ttyS1" # TTY device modem is connected to
-LINESPEED="115200" # Speed pppd should try to connect at
-INITSTRING="" # Extra init string for the modem
-DEFROUTE="yes" # Must pppd set the default route?
-HARDFLOWCTL="yes" # Use hardware flow control?
-ESCAPECHARS="yes" # Use escape caracters ?
-PPPOPTIONS="" # Extra options for pppd
-USERNAME="user" # The PAP/CHAP username
-PASSWORD="passwd" # Your password/secret. Ugly I know, but i
- # will work on something more secure later
- # on. 700 permission on /etc/init.d/net.ppp0
- # should be enouth for now.
-NUMBER="9180000" # The telephone number of your ISP
- # leave blank for leased-line operation.
-REMIP="" # The ip of the remote box if it should be set
-NETMASK="" # Netmask
-IPADDR="" # Our IP if we have a static one
-MRU="768" # Sets the MRU
-MTU="768" # Sets the MTU
-RETRYTIMEOUT="60" # Retry timeout for when ONDEMAND="yes" or
- # PERSIST="yes"
-IDLETIMEOUT="600" # Idle timeout for when ONDEMAND="yes"
-PEERDNS="no" # Should pppd set the peer dns?
-
-AUTOCFGFILES="yes" # By default this scripts will generate
- # /etc/ppp/chat-isp, /etc/ppp/chap-secrets,
- # /etc/ppp/pap-secrets and /etc/ppp/peers/isp
- # automatically. Set to "no" if you experience
- # problems, or need specialized scripts. You
- # will have to create these files by hand then.
-
-AUTOCHATSCRIPT="yes" # By default this script iwll generate
- # /etc/ppp/chat-${PEER} automatically. Set to "no"
- # if you experience problems, or need specialized
- # scripts. You will have to create these files by
- # hand then.
-
-
-# Directory where the templates is stored
-TEMPLATEDIR=/etc/ppp
+++ /dev/null
-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 f8ea52da2dd3e7f11a4bcede9fec17c8 ppp-2.4.2-patches-20060516.tar.gz 13311
-RMD160 163c89891cb46a8ed70720904c9861e72ff0abee ppp-2.4.2-patches-20060516.tar.gz 13311
-SHA256 9604cd6bafa6ee3321b0c0b6211d6d86963979cdbc6411eca0b87bc8daa544da ppp-2.4.2-patches-20060516.tar.gz 13311
-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
+++ /dev/null
-MD5 4c8d99db0b6fa1cdeb7fbbeae10a83fc ppp-2.4.4-patches-20060910.tar.gz 42282
-RMD160 89bc9d4be5d62ffbc9683e4167f3d1ed54893d60 ppp-2.4.4-patches-20060910.tar.gz 42282
-SHA256 e55b58332d8f37837dd18a52077274afa136d35699e3820f5658557a9c71a39c ppp-2.4.4-patches-20060910.tar.gz 42282
-MD5 183800762e266132218b204dfb428d29 ppp-2.4.4.tar.gz 688763
-RMD160 ed289a4506c3af41a72f88103d5e0be44dec3da7 ppp-2.4.4.tar.gz 688763
-SHA256 58af45fc07e5f326eea2408df770ea40e4626d1a15e7d564dd054d74880e91ea ppp-2.4.4.tar.gz 688763
-MD5 9d2f3febf510c5b0cbb4dacba713a217 ppp-dhcpc.tgz 33497
-RMD160 63bf0d1cc52e91ea536fc593fb7a40502baecd90 ppp-dhcpc.tgz 33497
-SHA256 977fd980bb1d285963d8e27a87b7601ea84317faadfdb40989b258d1853db644 ppp-dhcpc.tgz 33497
+++ /dev/null
-#!/bin/bash
-
-# this is a script which is executed after disconnecting the ppp interface.
-# look at man pppd for details
-
-# the followings parameters are available:
-# $1 = interface-name
-# $2 = tty-device
-# $3 = speed
-# $4 = local-IP-address
-# $5 = remote-IP-address
-# $6 = ipparam
-
-if [ "$USEPEERDNS" ]; then
- if [ -x /sbin/resolvconf ]; then
- resolvconf -d "$1"
- else
- # taken from debian's 0000usepeerdns
- # follow any symlink to find the real file
- REALRESOLVCONF=$(readlink --canonicalize /etc/resolv.conf)
-
- if [ "$REALRESOLVCONF" != "/etc/ppp/resolv.conf" ]; then
-
- # if an old resolv.conf file exists, restore it
- if [ -e $REALRESOLVCONF.pppd-backup ]; then
- mv $REALRESOLVCONF.pppd-backup $REALRESOLVCONF
- fi
-
- fi
- fi
-fi
-
-if [ -x /etc/init.d/net.$1 ]; then
- if /etc/init.d/net.$1 --quiet status ; then
- export IN_BACKGROUND="true"
- /etc/init.d/net.$1 --quiet stop
- fi
-fi
-
-[ -f /etc/ppp/ip-down.local ] && . /etc/ppp/ip-down.local "$@"
+++ /dev/null
-#!/bin/bash
-
-# this is a script which is executed after connecting the ppp interface.
-# look at man pppd for details
-
-# the followings parameters are available:
-# $1 = interface-name
-# $2 = tty-device
-# $3 = speed
-# $4 = local-IP-address
-# $5 = remote-IP-address
-# $6 = ipparam
-
-if [ "$USEPEERDNS" ]; then
-
- if [ -x /sbin/resolvconf ]; then
- conf="# Generated by ppp for $1\n"
- [ -n "$DNS1" ] && conf="${conf}nameserver $DNS1\n"
- [ -n "$DNS2" ] && conf="${conf}nameserver $DNS2\n"
- echo -e "$conf" | resolvconf -a "$1"
- else
- # add the server supplied DNS entries to /etc/resolv.conf
- # (taken from debian's 0000usepeerdns)
-
- # follow any symlink to find the real file
- REALRESOLVCONF=$(readlink --canonicalize /etc/resolv.conf)
-
- if [ "$REALRESOLVCONF" != "/etc/ppp/resolv.conf" ]; then
-
- # merge the new nameservers with the other options from the old configuration
- {
- grep --invert-match '^nameserver[[:space:]]' $REALRESOLVCONF
- cat /etc/ppp/resolv.conf
- } > $REALRESOLVCONF.tmp
-
- # backup the old configuration and install the new one
- cp -dpP $REALRESOLVCONF $REALRESOLVCONF.pppd-backup
- mv $REALRESOLVCONF.tmp $REALRESOLVCONF
-
- # correct permissions
- chmod 0644 /etc/resolv.conf
- chown root:root /etc/resolv.conf
- fi
- fi
-
-fi
-
-if [ -x /etc/init.d/net.$1 ]; then
- if ! /etc/init.d/net.$1 --quiet status ; then
- export IN_BACKGROUND="true"
- /etc/init.d/net.$1 --quiet start
- fi
-fi
-
-[ -f /etc/ppp/ip-up.local ] && . /etc/ppp/ip-up.local "$@"
+++ /dev/null
-#!/sbin/runscript
-# Copyright 1999-2004 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/ppp/files/net.ppp0,v 1.9 2005/04/16 10:10:42 mrness Exp $
-
-# Misc internal variables
-CMD_LINE=""
-FUNCT="$2"
-TEMPLATEDIR="/etc/ppp"
-
-checkconfig() {
-
- if [ -e "/var/run/ppp-${IFACE}.pid" -o -e "/var/run/${IFACE}.pid" ] && \
- [ "${FUNCT}" = "start" ]
- then
- eerror "${IFACE} is already up"
- return 1
- fi
-}
-
-start() {
-
- checkconfig || return 1
-
- setup_modules
- setup_cmd_line
- setup_cfg_files
-
- ebegin "Bringing ${IFACE} up"
- if [ -x "$(which pppd)" ]
- then
-
- if [ "${DEFROUTE}" = "yes" ]
- then
- [ -n "$(/sbin/route -n | egrep '^0.0.0.0')" ] && route del default
- fi
- # Added hide-password here, can't be too sure...
- /usr/sbin/pppd ${CMD_LINE} ${MODEMPORT} ${LINESPEED} \
- ipparam ${PEER} linkname ${IFACE} call ${PEER} \
- noauth ${PPPOPTIONS} hide-password
- fi
- eend
-}
-
-stop() {
-
- checkconfig || return 1
-
- ebegin "Bringing ${IFACE} down"
- if [ -x "$(which ifconfig)" ]
- then
-
- # Obtain interface name from pid file (IFACE is actually linkname)
- if [ -e /var/run/ppp-${IFACE}.pid ]
- then
- IFNAME=$(egrep "ppp" /var/run/ppp-${IFACE}.pid)
- fi
- if [ -z "${IFNAME}" ]
- then
- IFNAME=${IFACE}
- fi
-
- if [ -z "$(/sbin/ifconfig | egrep "${IFNAME}")" ]
- then
- # Link is not up but pppd may be running
- ewarn "Interface seems to be down already"
- fi
-
- if [ -e /var/run/ppp-${IFACE}.pid ]
- then
- PID=$(egrep -v "${IFNAME}" /var/run/ppp-${IFACE}.pid)
- elif [ -e /var/run/${IFACE}.pid ]
- then
- PID=$(egrep -v "${IFNAME}" /var/run/${IFACE}.pid)
- fi
-
- if [ -n "${PID}" ]
- then
- kill ${PID}
- sleep 1
-
- # Try to kill pppd repeatedly (sometimes, (e.g. if connection
- # is not established) pppd ignores SIGTERM for a while)
- PID_TMP=`pstree -p ${PID}`
- PID_TMP=`echo ${PID_TMP} | sed -e 's:^.*pppd(\|).*::g'`
- COUNT=0
- while [ -n "${PID_TMP}" ] && [ ${COUNT} -lt 10 ]
- do
- kill ${PID}
- sleep 1
- PID_TMP=`pstree -p ${PID}`
- PID_TMP=`echo ${PID_TMP} | sed -e 's:^.*pppd(\|).*::g'`
- let COUNT++
- done
- fi
-
- if [ -n "${PID_TMP}" ]
- then
- eend 1 "Error stopping pppd"
- fi
-
- fi
- eend
-}
-
-setup_cmd_line() {
-
- CMD_LINE="lock"
-
- if [ "${DEBUG}" = "yes" ]
- then
- CMD_LINE="${CMD_LINE} debug"
- fi
-
- if [ "${PERSIST}" = "yes" ]
- then
- CMD_LINE="${CMD_LINE} persist holdoff ${RETRYTIMEOUT}"
- fi
-
- if [ "${DEFROUTE}" = "yes" ]
- then
- CMD_LINE="${CMD_LINE} defaultroute"
- fi
-
- if [ "${HARDFLOWCTL}" = "yes" ]
- then
- CMD_LINE="${CMD_LINE} modem crtscts"
- fi
-
- if [ "${ESCAPECHARS}" = "yes" ]
- then
- CMD_LINE="${CMD_LINE} asyncmap 00000000"
- fi
-
- if [ "${PEERDNS}" = "yes" ]
- then
- CMD_LINE="${CMD_LINE} usepeerdns"
- fi
-
- if [ -n "${IPADDR}${REMIP}" ]
- then
- CMD_LINE="${CMD_LINE} ${IPADDR}:${REMIP}"
- fi
-
- if [ -n "${NETMASK}" ]
- then
- CMD_LINE="${CMD_LINE} netmask ${NETMASK}"
- fi
-
- if [ -n "${MRU}" ]
- then
- CMD_LINE="${CMD_LINE} mru ${MRU}"
- fi
-
- if [ -n "${MTU}" ]
- then
- CMD_LINE="${CMD_LINE} mtu ${MTU}"
- fi
-
- if [ -n "${USERNAME}" ]
- then
- CMD_LINE="${CMD_LINE} user ${USERNAME} remotename ${PEER}"
- fi
-
- if [ "${ONDEMAND}" = "yes" ]
- then
- CMD_LINE="${CMD_LINE} demand ktune idle ${IDLETIMEOUT}"
- CMD_LINE="${CMD_LINE} holdoff ${RETRYTIMEOUT}"
- fi
-}
-
-setup_cfg_files() {
-
- if [ "${AUTOCFGFILES}" = "yes" ]
- then
- if [ -n "${NUMBER}" ]
- then
- # Setup the peers file
- echo "connect '/usr/sbin/chat -f /etc/ppp/chat-${PEER}'" \
- >/etc/ppp/peers/${PEER}
- fi
-
- # Setup the secrets files
- echo "\"${USERNAME}\" * \"${PASSWORD}\"" >/etc/ppp/chap-secrets
- chmod 600 /etc/ppp/chap-secrets
- echo "\"${USERNAME}\" ${PEER} \"${PASSWORD}\"" >/etc/ppp/pap-secrets
- chmod 600 /etc/ppp/pap-secrets
-
- # Setup the chat file
- if [ "${AUTOCHATSCRIPT}" = "yes" ]
- then
- if [ -n "${INITSTRING}" ]
- then
- if [ -n "${NUMBER}" ]; then
- sed -e "12i\\'OK\' \'${INITSTRING}\'" \
- -e "s:\$NUMBER:${NUMBER}:" \
- ${TEMPLATEDIR}/chat-default \
- >/etc/ppp/chat-${PEER}
- else
- sed -e "12i\\'OK\' \'${INITSTRING}\'" \
- ${TEMPLATEDIR}/chat-default \
- >/etc/ppp/chat-${PEER}
- fi
- else
- if [ -n "${NUMBER}" ]; then
- sed -e "s:\$NUMBER:${NUMBER}:" \
- ${TEMPLATEDIR}/chat-default \
- >/etc/ppp/chat-${PEER}
- fi
- fi
- fi
- fi
-}
-
-setup_modules() {
- if [ ! -c /dev/ppp ]; then
- modprobe /dev/ppp
- fi
-}
-
-# vim:ts=4
+++ /dev/null
-noipdefault
-hide-password
-defaultroute
-persist
-lock
-
+++ /dev/null
-#192.168.1.0:
-netmask 255.255.255.0
-#debug
-#kdebug 1
-lock
-mtu 1490
-mru 1490
-proxyarp
-auth
-require-chap
-passive
-ipcp-accept-local
-ipcp-accept-remote
-lcp-echo-failure 3
-lcp-echo-interval 5
-deflate 0
-#ms-dns 192.168.1.1
-#ms-wins 192.168.1.1
+++ /dev/null
-#!/bin/sh
-
-if [ -s /var/log/ppp.log ]; then
- exec tail "$@" /var/log/ppp.log
-else
- exec tail "$@" /var/log/syslog | grep ' \(pppd\|chat\)\['
-fi
+++ /dev/null
-#!/bin/sh
-
-# Written by John Hasler <john@dhh.gt.org> and based on work
-# by Phil Hands <phil@hands.com>. Distributed under the GNU GPL
-
-if [ -x /usr/bin/kill ]; then
- KILL="/usr/bin/kill"
-else
- KILL="/bin/kill"
-fi
-SIG=TERM
-DONE="stopped"
-MODE=""
-
-usage ()
-{
- cat <<!EOF!
-usage: $0 [option] [provider]
-options:
- -r Cause pppd to drop the line and redial.
- -d Toggle the state of pppd's debug option.
- -c Cause pppd to renegotiate compression.
- -a Stop all pppd's. 'provider' will be ignored.
- -h Print this help summary and exit.
- -v Print version and exit.
- none Stop pppd.
-
-Options may not be combined.
-
-If 'provider' is omitted pppd will be stopped or signalled if and only if
-there is exactly one running unless the '-a' option was given. If
-'provider' is supplied the pppd controlling the connection to that
-provider will be stopped or signalled.
-!EOF!
-}
-
-# Get option. If there are none replace the "?" that getopts puts in
-# FLAG on error with "null".
-getopts rdcavh FLAG
-if [ "$?" -ne 0 ]; then
- FLAG="null"
-fi
-
-# Check for additional options. Should be none.
-getopts :rdcavh DUMMY
-if [ "$?" -eq 0 ]; then
- echo "$0: Illegal option -- ${OPTARG}."
- exit 1
-fi
-
-case $FLAG in
- "r") SIG=HUP; DONE=signalled; shift ;;
- "d") SIG=USR1; DONE=signalled; shift ;;
- "c") SIG=USR2; DONE=signalled; shift ;;
- "a") MODE="all"; shift ;;
- "v") echo "$0$Revision: 1.9 $_TrickToPrint_RCS_Revision"; exit 0 ;;
- "h") usage; exit 0 ;;
- "?") exit 1;
-esac
-
-# Get the PIDs of all the pppds running. Could also get these from
-# /var/run, but pppd doesn't create .pid files until ppp is up.
-PIDS=`pidof pppd`
-
-# poff is pointless if pppd isn't running.
-if test -z "$PIDS"; then
- echo "$0: No pppd is running. None ${DONE}."
- exit 1
-fi
-
-# Find out how many pppd's are running.
-N=`echo "$PIDS" | wc -w`
-
-# If there are no arguments we can't do anything if there is more than one
-# pppd running.
-if test "$#" -eq 0 -a "$N" -gt 1 -a $FLAG != "a" ; then
- echo "$0: More than one pppd running and no "-a" option and
-no arguments supplied. Nothing ${DONE}."
- exit 1
-fi
-
-# If either there are no arguments or '-a' was specified kill all the
-# pppd's.
-if test "$#" -eq 0 -o "$MODE" = "all" ; then
- $KILL -$SIG $PIDS || {
- echo "$0: $KILL failed. None ${DONE}."
- exit 1
- }
- exit 0
-fi
-
-# There is an argument, so kill the pppd started on that provider.
-PID=`ps axw | grep "[ /]pppd call $1 *\$" | awk '{print $1}'`
-if test -n "$PID" ; then
- $KILL -$SIG $PID || {
- echo "$0: $KILL failed. None ${DONE}."
- exit 1
- }
-else
- echo "$0: I could not find a pppd process for provider '$1'. None ${DONE}."
- exit 1
-fi
-exit 0
+++ /dev/null
-#!/bin/sh
-
-case "$1" in
- -*) echo "
-Usage: pon [provider] [arguments]
-
-If pon is invoked without arguments, /etc/ppp/ppp_on_boot file will be
-run, presuming it exists and is executable. Otherwise, a PPP connection
-will be started using settings from /etc/ppp/peers/provider.
-If you specify one argument, a PPP connection will be started using
-settings from the appropriate file in the /etc/ppp/peers/ directory, and
-any additional arguments supplied will be passed as extra arguments to
-pppd.
-"
- exit 0
- ;;
-esac
-
-if [ -z "$1" -a -x /etc/ppp/ppp_on_boot ]; then
- exec /etc/ppp/ppp_on_boot
-fi
-
-if [ -z "$1" -a ! -f /etc/ppp/peers/provider ]; then
- echo "
-Please configure /etc/ppp/peers/provider or use a command line argument to
-use another file in /etc/ppp/peers/ directory.
-"
- exit 1
-fi
-
-if [ "$1" -a ! -f "/etc/ppp/peers/$1" ]; then
- echo "
-The file /etc/ppp/peers/$1 does not exist.
-"
- exit 1
-fi
-
-exec /usr/sbin/pppd call ${@:-provider}
-
+++ /dev/null
-.\" This manual is published under the GPL.
-.\" All guidelines specified in the GPL apply here.
-.\" To get an ascii file:
-.\" groff -man -Tascii pon.1 > pon.txt
-.\"
-.TH PON 1 "July 2000" "Debian Project" "Debian PPPD"
-.SH NAME
-pon, poff, plog \- starts up, shuts down or lists the log of PPP connections
-.SH SYNOPSIS
-.B pon
-[ isp-name [ options ] ]
-.br
-.B poff
-[ -r ] [ -d ] [ -c ] [ -a ] [ -h ] [ isp-name ]
-.br
-.B plog
-[ arguments ]
-.SH DESCRIPTION
-This manual page describes the \fBpon\fP, \fBplog\fP and \fBpoff\fP
-scripts, which allow users to control PPP connections.
-..
-.SS pon
-\fBpon\fP, invoked without arguments, runs the \fI/etc/ppp/ppp_on_boot\fP
-file, if it exists and is executable. Otherwise, a PPP connection will be
-started using configuration from \fI/etc/ppp/peers/provider\fP.
-This is the default behaviour unless an \fBisp-name\fP argument is given.
-.PP
-For instance, to use ISP configuration "myisp" run:
-.IP
-pon myisp
-.PP
-\fBpon\fP will then use the options file \fI/etc/ppp/peers/myisp\fP.
-You can pass additional \fBoptions\fP after the ISP name, too.
-\fBpon\fP can be used to run multiple, simultaneous PPP connections.
-..
-.SS poff
-\fBpoff\fP closes a PPP connection. If more than one PPP connection exists,
-the one named in the argument to \fBpoff\fP will be killed, e.g.
-.IP
-poff myprovider2
-.PP
-will terminate the connection to myprovider2, and leave the PPP connections
-to e.g. "myprovider1" or "myprovider3" up and running.
-.PP
-\fBpoff\fP takes the following command line options:
-.RS
-.TP
-.B "\-r"
-causes the connection to be redialed after it is dropped.
-.TP
-.B "\-d"
-toggles the state of pppd's debug option.
-.TP
-.B "\-c"
-causes
-.BR pppd (8)
-to renegotiate compression.
-.TP
-.B "\-a"
-stops all running ppp connections. If the argument \fBisp-name\fP
-is given it will be ignored.
-.TP
-.B "\-h"
-displays help information.
-.TP
-.B "\-v"
-prints the version and exits.
-.PP
-If no argument is given, \fBpoff\fP will stop or signal pppd if and only
-if there is exactly one running. If more than one connection is active,
-it will exit with an error code of 1.
-..
-.SS plog
-\fBplog\fP shows you the last few lines of \fI/var/log/ppp.log\fP. If that
-file doesn't exist, it shows you the last few lines of your
-\fI/var/log/syslog\fP file, but excluding the lines not generated by pppd.
-This script makes use of the
-.BR tail (1)
-command, so arguments that can be passed to
-.BR tail (1)
-can also be passed to \fBplog\fP.
-.PP
-Note: the \fBplog\fP script can only be used by root or another system
-administrator in group "adm", due to security reasons. Also, to have all
-pppd-generated information in one logfile, that plog can show, you need the
-following line in your \fI/etc/syslog.conf\fP file:
-.PP
-local2.* -/var/log/ppp.log
-.RE
-.SH FILES
-.TP
-.I /etc/ppp/options
-PPPd system options file.
-.TP
-.I /etc/ppp/pap-secrets
-System PAP passwords file.
-.TP
-.I /etc/ppp/chap-secrets
-System CHAP passwords file.
-.TP
-.I /etc/ppp/peers/
-Directory holding the peer options files. The default file is called
-\fIprovider\fP.
-.TP
-.I /etc/chatscripts/provider
-The chat script invoked from the default \fI/etc/ppp/peers/provider\fP.
-.TP
-.I /var/log/ppp.log
-The default PPP log file.
-.SH AUTHORS
-The p-commands were written by Christoph Lameter <clameter@debian.org>.
-Updated and revised by Philip Hands <phil@hands.com>.
-.br
-This manual was written by Othmar Pasteka <othmar@tron.at>. Modified
-by Rob Levin <lilo@openprojects.net>, with some extensions taken from
-the old p-commands manual written by John Hasler <jhasler@debian.org>.
-.SH "SEE ALSO"
-.BR pppd (8),
-.BR chat (8),
-.BR tail (1).
-
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//w3c//dtd html 4.0 transitional//en">
-<html>
-<head>
-
- <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
-
- <meta name="GENERATOR" content="Mozilla/4.75 [en] (X11; U; Linux 2.2.16-22 i686) [Netscape]">
- <title>Index of /~mostrows</title>
-</head>
- <body text="#000000" bgcolor="#ffffff" link="#0000ef" vlink="#51188e" alink="#ff0000">
- <b><font face="Arial,Helvetica"><font size="+4">PPPoE for Linux 2.4</font></font></b>
-
-<p><font size="+0">This is a driver for PPPoE for Linux 2.4.</font> </p>
-
-<p><font size="+0">This driver is for 2.4 kernels only. For a driver
- for 2.2 kernels, the <a href="http://www.roaringpenguin.com">Roaring Penguin</a><br>
- package is recommended.<br>
- </font></p>
-
-<p>The software on this page is currently required if you wish to use kernel-mode<br>
- PPPoE with Roaring Penguin (see the Roaring Penguin documentation for details),<br>
- though this functionality is currently recommended for experts only.<br>
- </p>
-
-<p><font size="+0">Files:</font> </p>
-
-<p><font size="+0"> <a href="ppp-2.4.1-pppoe.patch4">
- ppp-2.4.1-pppoe.patch4</a> Patch for ppp-2.4.1</font><br>
- <font size="+0"> <a href="ppp-2.4.1-pppoe4.tgz">
- ppp-2.4.1-pppoe4.tgz</a> Source of ppp-2.4.1 with patches applied.
-</font> <br>
- <font size="+0"> <a href="ppp-cvs.pppoe1.tgz">
- ppp-cvs.pppoe1.tgz</a> Source of ppp CVS repository with patches applied.
-</font> <br>
- </p>
-
-<p><b><font size="+0">Installation & Usage:</font></b> </p>
-
-<p><font size="+0">1. Configure, compile and install a 2.4 kernel.</font>
- <br>
- <font size="+0"><br>
- Make sure to enable PPP over Ethernet in the kernel
-configuration, as</font> <br>
- <font size="+0"> well as as the "Packet Socket"
-option. You must also enable support</font> <br>
- <font size="+0"> for experimental drivers.</font></p>
-
-<p><font size="+0"> If you are compiling as a module,
-add the line "alias net-pf-24 pppoe" to<br>
- /etc/modules.conf.</font></p>
-
-<p><font size="+0"> Make sure that the /dev/ppp device
-exists: "mknod /dev/ppp c 108 0"<br>
- </font> </p>
-
-<p><font size="+0">2. Configure, compile and install the modified pppd
-package.</font> <br>
- <font size="+0"> Links to the patch, or the complete
- patched source are available above.</font> </p>
-
-<p><font size="+0">3. Include the following line in your ppp options
- file:</font> </p>
-
-<p><font size="+0"> plugin pppoe</font> </p>
-
-<p><font size="+0"> If you experience problems, try replacing
- the "pppoe" with the</font> <br>
- <font size="+0"> full path and file name of the "pppoe.so"
- file that is installed</font> <br>
- <font size="+0"> by the pppd installation.</font> </p>
-
-<p><font size="+0"> Following these two lines should be
- your other ppp options. My</font> <br>
- <font size="+0"> options file includes only one other
-line; a "name" statement for</font> <br>
- <font size="+0"> PAP.</font> </p>
-
-<p><font size="+0">4. Invoke pppd (e.g.: "pppd eth0"). Before
- doing this, make sure the ethernet</font> <br>
- <font size="+0"> device is up ("ifconfig eth0 up"
- has been executed).</font> <br>
- <font size="+0"></font> <br>
- </p>
-
-<p><b><font size="+0">Other Stuff:</font></b> </p>
-
-<p><font size="+0">1. You can restrict pppd to connect to specific access-concentrators</font>
- <br>
- <font size="+0"> or specific services by addin "pppoe_ac_name"
- and "pppoe_srv_name"</font> <br>
- <font size="+0"> options (respectively) to your options
- file. Each of these options is</font> <br>
- <font size="+0"> followed by a string specifying the
-conecntrator or service name that</font> <br>
- <font size="+0"> is to be matched. Most people should
-not need this.</font> <br>
- </p>
-
-<p><font size="+0">2. Here's how I've configured things to get a server
- working:</font> </p>
-
-<p><font size="+0"> client's /etc/ppp/options:</font> </p>
-
-<p><font size="+0"> plugin /usr/lib/pppd/plugins/pppoe.so</font>
- <br>
- <font size="+0"> name papname</font>
- </p>
-
-<p><font size="+0"> client's /etc/ppp/pap-secrets:</font>
- </p>
-
-<p><font size="+0"> papname * papsecret</font>
- </p>
-
-<p><font size="+0"> server's /etc/ppp/options:</font> </p>
-
-<p><font size="+0"> plugin /usr/lib/pppd/plugins/pppoe.so</font>
- <br>
- <font size="+0"> pppoe_server</font>
- <br>
- <font size="+0"> +pap</font>
-<br>
- <font size="+0"> 10.10.10.1:</font>
- </p>
-
-<p><font size="+0"> server's /etc/ppp/pap-secrets:</font>
- </p>
-
-<p><font size="+0"> papname * papsecret
- 10.10.10.0/24+ !10.10.10.1</font> <br>
- </p>
-
-<p><font size="+0"> On both the client and the server, pppd
-is invoked as "pppd eth0".</font> <br>
- <font size="+0"> With this setup you will have to invoke
- a new pppd on the server for</font> <br>
- <font size="+0"> each session.</font> </p>
-
-<p><font size="+0"> The patched pppd also builds a new pppoed
-which can be used to create</font> <br>
- <font size="+0"> a PPPoE server capable of serving multiple
- clients. To use this ,</font> <br>
- <font size="+0"> remove the "pppoe_server" line from
-the server's /etc/ppp/options</font> <br>
- <font size="+0"> file. Invoke pppoed as: "pppoed
--S -I eth0 -A ac_name -S srv_name".</font> <br>
- <font size="+0"> pppoed will now create a new pppd process
- for each incoming connection.</font> <br>
- <font size="+0"> Note: this is still rather flaky, use
- with caution If pppoed seems to jam,</font> <br>
- <font size="+0"> restarting it will not affect existing
- connections.</font> <br>
- </p>
-
-<p>3. If you're trying to run masquerading over your PPPoE link, check
- out <a href="http://www.hgfelger.de/mss/mss.html">this</a> <br>
- page for instructions on how to ensure that path
- MTU's are properly <br>
- reported across your network. Without
- this your masquerading will <br>
- not work. </p>
-
-<p> <a href="http://www.hgfelger.de/mss/mss.html">
- http://www.hgfelger.de/mss/mss.html</a> <br>
- </p>
-
-<p><font size="+0">Michal Ostrowski</font> <br>
- <font size="+0"><a href="mailto:mostrows@styx.uwaterloo.ca">mostrows@styx.uwaterloo.ca</a></font>
- <br>
- <br>
- </p>
-
-</body>
-</html>
+++ /dev/null
-# 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-r15.ebuild,v 1.18 2006/06/13 08:59:18 uberlord Exp $
-
-inherit eutils gnuconfig flag-o-matic 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-20060516.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 mips ppc ppc64 sh sparc x86"
-IUSE="activefilter atm dhcp ipv6 mppe-mppc pam radius"
-
-RDEPEND="virtual/libc
- activefilter? ( >=virtual/libpcap-0.9.3 )
- 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
- epatch ${WORKDIR}/patch/mpls.patch
- epatch ${WORKDIR}/patch/killaddr-smarter.patch
- epatch ${WORKDIR}/patch/cflags.patch
- epatch ${WORKDIR}/patch/control_c.patch
- epatch ${WORKDIR}/patch/activefilter-pcap-0.9.3.patch
- epatch ${WORKDIR}/patch/rp-pppoe-any-interface.patch
- epatch ${WORKDIR}/patch/libcrypt.patch
-
- use mppe-mppc && {
- einfo "Enabling mppe-mppc support"
- epatch ${WORKDIR}/ppp-2.4.2-mppe-mppc-1.1.patch
- }
-
- if use atm; then
- einfo "Enabling PPPoATM support"
- epatch ${WORKDIR}/patch/pppoatm-2.patch
- sed -i -e "s/^LIBS =/LIBS = -latm/" pppd/Makefile.linux || die "sed failed"
- fi
-
- use activefilter || {
- einfo "Disabling active-filter"
- sed -i -e "s/^FILTER=y/#FILTER=y/" pppd/Makefile.linux || die "sed failed"
- }
-
- use pam && {
- einfo "Enabling PAM"
- sed -i -e "s/^#USE_PAM=y/USE_PAM=y/" pppd/Makefile.linux || die "sed failed"
- }
-
- use ipv6 && {
- einfo "Enabling IPv6"
- sed -i -e "s/#HAVE_INET6/HAVE_INET6/" pppd/Makefile.linux || die "sed failed"
- }
-
- einfo "Enabling CBCP"
- sed -i 's/^#CBCP=y/CBCP=y/' pppd/Makefile.linux || die
-
- use radius && {
- einfo "Enabling RADIUS"
- sed -i -e 's/SUBDIRS := rp-pppoe/SUBDIRS := rp-pppoe radius/' pppd/plugins/Makefile.linux || die "sed failed"
- sed -i -e '/^CFLAGS/s:$: -fPIC:' pppd/plugins/radius/radiusclient/lib/Makefile.in || die "sed failed"
- }
-
- 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 failed"
- sed -i -e "s/-O2/${CFLAGS} -fPIC/" ${S}/pppd/plugins/dhcp/Makefile.linux || die "sed failed"
- epatch ${WORKDIR}/patch/dhcp-sys_error_to_strerror.patch
- }
-
- #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 || die "sed failed"
-
- # Set correct libdir
- sed -i -e "s:/lib/pppd:/$(get_libdir)/pppd:" \
- ${S}/pppd/{pathnames.h,pppd.8} || die "sed failed"
-}
-
-src_compile() {
- export WANT_AUTOCONF=2.1
- gnuconfig_update
- use radius && {
- # 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"
- 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
- 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"
-
- doman pppd/plugins/radius/pppd-radius.8
- doman pppd/plugins/radius/pppd-radattr.8
-
- #Copy radiusclient configuration files
- #DO NOT INSTALL libradiusclient.so files!!! see #92878 for more info
- insinto /etc/radiusclient
- insopts -m0644
- doins pppd/plugins/radius/radiusclient/etc/{dictionary*,issue,port-id-map,radiusclient.conf,realms,servers}
- 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
-
- 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/*
-}
-
-pkg_postinst() {
- if get_version ; then
- echo
- ewarn "If any of the following kernel configuration options is missing,"
- ewarn "you should reconfigure and rebuild your kernel before running pppd."
- CONFIG_CHECK="~PPP"
- use activefilter && CONFIG_CHECK="${CONFIG_CHECK} ~PPP_FILTER"
- CONFIG_CHECK="${CONFIG_CHECK} ~PPP_BSDCOMP ~PPP_DEFLATE"
- check_extra_config
- echo
- fi
-
- 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/modules-update
- 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"
-
- 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
-}
+++ /dev/null
-# 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.4-r1.ebuild,v 1.2 2006/09/10 10:38: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-20060910.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.4 )
- 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
-}
-
-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/wait-children.patch"
- epatch "${WORKDIR}/patch/maxoctets-2Glimit.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 WARNING_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 WARNING_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 WARNING_PPP_MPPE="CONFIG_PPP_MPPE:\t missing MPPE encryption (optional, mostly used by PPTP links)"
- fi
- CONFIG_CHECK="${CONFIG_CHECK} ~PPPOE"
- local WARNING_PPPOE="CONFIG_PPPOE:\t missing PPPoE support (optional needed by rp-pppoe plugin)"
- if use atm ; then
- CONFIG_CHECK="${CONFIG_CHECK} ~PPPOATM"
- local WARNING_PPPOATM="CONFIG_PPPOATM:\t missing PPPoA support (optional, needed by pppoatm plugin)"
- 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/modules-update
- 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."
-}