summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Gerus <arachnist@i.am-a.cat>2015-05-20 15:26:41 +0200
committerRobert Gerus <arachnist@i.am-a.cat>2015-05-20 15:26:41 +0200
commitb5bc75b7becf184fd56dea10d32bcb68a69dcf45 (patch)
treea049c38611e39109b126767e6ad1737c6ce51d38
parent8608de0b791921bc7348981a8f318ca932d59894 (diff)
downloadgentoo-overlay-b5bc75b7becf184fd56dea10d32bcb68a69dcf45.tar.gz
gentoo-overlay-b5bc75b7becf184fd56dea10d32bcb68a69dcf45.tar.bz2
gentoo-overlay-b5bc75b7becf184fd56dea10d32bcb68a69dcf45.tar.xz
gentoo-overlay-b5bc75b7becf184fd56dea10d32bcb68a69dcf45.zip
Patch dhcp support in ppp for musl.
-rw-r--r--net-dialup/ppp/Manifest3
-rw-r--r--net-dialup/ppp/files/ppp-2.4.7-dhcp-musl.diff13
2 files changed, 14 insertions, 2 deletions
diff --git a/net-dialup/ppp/Manifest b/net-dialup/ppp/Manifest
index 884e83c..54b9989 100644
--- a/net-dialup/ppp/Manifest
+++ b/net-dialup/ppp/Manifest
@@ -1,7 +1,8 @@
AUX README.mpls 530 SHA256 5ef99aba902533fe9d17b7dfaf91e72b638cc70b9f811d1e518822ee80b5ff57 SHA512 2b617365fce74cceeb14e53f476b454c4420273661050d25e1c524cf5d56a7554318a268f7b9ebb100592b61a01d274efaeed28abb9ca0adaeb71ef981201b36 WHIRLPOOL f96310ae7e75bd4e289d97767f6a74a6a0a0006855068755d7cfb484950e145246472b3a6cffcd0db44c589ed43720f998872ef1e7b12a3ccd02e833d80e6e84
AUX modules.ppp 299 SHA256 8947dd48d3d0c128166edc9bb0917b9af88502296fad791d6d90bf165ca50db3 SHA512 58bf5d6d286a08bd6dd595b39ee425efedd5745dddf33a9c90505891546eb46f4cf1306d83911bef61bc4611816aa0f6aef5d3e0f14c2f4ddd0a588780570041 WHIRLPOOL dfc2d6fb1a36b74b0dd998739bb1c5977234c2d88100f686fb6faae2826795b0ca217937a7775660421f5ebc356e5e1378849ac6e56fef018eceab6f90bb26e3
+AUX ppp-2.4.7-dhcp-musl.diff 1943 SHA256 2c76bf44407ebb917c0c7db7b1d7c7253e6d67efa16edfbd6906b7cd18e5951b SHA512 26cbbe527a8bf950d983f124b78b6b65fcd5f37ff9af20ec8ffcd7b4cb42d507ec80270361c7993a4cd96f78b170da5b5818f10146f76f193f9cd958f0014eec WHIRLPOOL d2578dbdf9a9b1215584bf77c0a725e7c0785880ad09a8b27cacb6f79655338d1e3609d984a8a523dc41392edc658ba0d161a5ea5639569b7be247ef9b4d1276
AUX ppp-2.4.7-musl.diff 5350 SHA256 91e67a03538b1146584b784bfd41f33eb4d0587af66e6df442a3a2ffa259c8af SHA512 ce6381280c5299933ee55cc1039874e9d33900e28198939263ca4b78e1c1b8e88939e198c4e313e7f05ba6d85ff33e8d5ccd5c5ba12c7acfff6d96e767738179 WHIRLPOOL bf6d148ba578ffcdd169c966d13daa541d478a2d400e1a1aad53b52d0e11b55d14b23d0f78f3f9dbb8b3cfd56ea4641d2a15224fcc47fc996c4779429d4e397a
DIST ppp-2.4.7-patches-2.tar.xz 37484 SHA256 ca2a58bb2af2c2a728cfaefab31386239bda2e750765141f9aae65bde38d58f1 SHA512 91d91820a7171dbe93fc4d9235456dd6eaa821b79fd0d34691bd95ecfeec2f571ed69ef07fa5839c78132dbbcb0f6b347e2ac5f794a0a1385055c7bf9a4637b6 WHIRLPOOL 6ba77ffdcf51fd792439c56dd43bab51cb978db395c1a409019e549fb1481a33f0cd8b8b3aaed93dbecb3b5e4b6916e4ef5a5425a6509b05b874add936632173
DIST ppp-2.4.7.tar.gz 688117 SHA256 02e0a3dd3e4799e33103f70ec7df75348c8540966ee7c948e4ed8a42bbccfb30 SHA512 e34ce24020af6a73e7a26c83c4f73a9c83fa455b7b363794dba27bf01f70368be06bff779777843949bd77f4bc9385d6ad455ea48bf8fff4e0d73cc8fef16ae2 WHIRLPOOL 48f3251e6b955ecfdaf9260b9ea5220d9e355fff836e2f5217ee0b15bf2c93e43f8207005f58bf1f97fb8ff0c76c56df8ecd8536f63c4d84d5940458ba0ba5c3
DIST ppp-dhcpc.tgz 33497 SHA256 977fd980bb1d285963d8e27a87b7601ea84317faadfdb40989b258d1853db644 SHA512 aeaf791b14f5a09c0e2079072a157e65132cbff46e608bc0724e6a5827a01da934f5006e2774eb7105f83e607a52cb4987238f4385cf6f5cc86cbe305a556738 WHIRLPOOL 74e5e0d7f9bc52d1b9cfeff83fe74c2b38cc10c60636cd9c0f5d67d61dc7da56dbf2bcc84afa29444546792876cb36afbc853a6515ce9b3d83d6de98eacedd1e
-EBUILD ppp-2.4.7-r1.ebuild 6955 SHA256 918a304911e97363ec3b0c7991a6a7f63ccdf2bcfcd7cb34156fc219dd051584 SHA512 19cfb251109dab86f725a3c5daad68b057c44ac9d09103ff895e1669b30020b15b33fbfd5c6be61e3545cbd91fa3fa887d39ad65b6bca72939b32cf3ed0364bf WHIRLPOOL 2d5006d8ff024153d692c8e7b37e597a0b53ba9ccb19b8014f89561f71cf751ca5cbc0253a7adae96bbbf7e210fa609534b32638103c336d85a3c3493680d1bc
+EBUILD ppp-2.4.7-r1.ebuild 7082 SHA256 dd552510a1cd0c3baa4da133af84dbdee67d76176e78947ccf044f20df1a26d2 SHA512 3762c45cec7c570df9af2f9b0dca7f4bc9707829b073a311cd64c867f73d09f8a3445d3931f78c811791e206653cee728c36e5788cde8bf2b298924a0e60f5f4 WHIRLPOOL abdc2da40280c4748cd6a4db95e147a334ceed4b8a9132ee0210823af38a6059f8f6cb2c7160c373b1d164b1afbd49a0484c00019e43b6dde2723ebcc4fead99
diff --git a/net-dialup/ppp/files/ppp-2.4.7-dhcp-musl.diff b/net-dialup/ppp/files/ppp-2.4.7-dhcp-musl.diff
index 373000b..4830bfe 100644
--- a/net-dialup/ppp/files/ppp-2.4.7-dhcp-musl.diff
+++ b/net-dialup/ppp/files/ppp-2.4.7-dhcp-musl.diff
@@ -1,6 +1,6 @@
diff -ur ppp-2.4.7.orig/pppd/plugins/dhcp/clientpacket.c ppp-2.4.7/pppd/plugins/dhcp/clientpacket.c
--- ppp-2.4.7.orig/pppd/plugins/dhcp/clientpacket.c 2002-08-31 12:19:20.000000000 +0000
-+++ ppp-2.4.7/pppd/plugins/dhcp/clientpacket.c 2015-05-20 13:14:45.329979828 +0000
++++ ppp-2.4.7/pppd/plugins/dhcp/clientpacket.c 2015-05-20 13:24:41.299978928 +0000
@@ -205,9 +205,9 @@
/* Make sure its the right packet for us, and that it passes sanity checks */
@@ -31,3 +31,14 @@ diff -ur ppp-2.4.7.orig/pppd/plugins/dhcp/clientpacket.c ppp-2.4.7/pppd/plugins/
if (check && check != checksum(&packet, bytes)) {
DEBUG(LOG_ERR, "packet with bad UDP checksum received, ignoring");
return -1;
+diff -ur ppp-2.4.7.orig/pppd/plugins/dhcp/dhcpd.h ppp-2.4.7/pppd/plugins/dhcp/dhcpd.h
+--- ppp-2.4.7.orig/pppd/plugins/dhcp/dhcpd.h 2002-08-31 11:52:31.000000000 +0000
++++ ppp-2.4.7/pppd/plugins/dhcp/dhcpd.h 2015-05-20 13:24:10.999978974 +0000
+@@ -4,6 +4,7 @@
+
+ #include <netinet/ip.h>
+ #include <netinet/udp.h>
++#include <sys/types.h>
+
+ #include "leases.h"
+