# HG changeset patch # User Pascal Bellard # Date 1330162944 -3600 # Node ID 03063b2a437df053dd8249400c6fc932815c1fff # Parent c6a1b92559cea692a84c58a1a9ad8a0924c543c9 ppp: build rp-pppoe.so diff -r c6a1b92559ce -r 03063b2a437d ppp-pam/receipt --- a/ppp-pam/receipt Fri Feb 24 19:11:29 2012 -0500 +++ b/ppp-pam/receipt Sat Feb 25 10:42:24 2012 +0100 @@ -18,11 +18,23 @@ compile_rules() { cd $src + cat >> include/linux/if_pppol2tp.h < current */ + int fd; /* FD of UDP or IP socket to use */ + struct sockaddr_in addr; /* IP address and port to send to */ + __u32 s_tunnel, s_session; /* For matching incoming packets */ + __u32 d_tunnel, d_session; /* For sending outgoing packets */ +}; +EOT sed -i 's/#USE_PAM/USE_PAM/' pppd/Makefile.linux ./configure --prefix=/usr --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && - make DESTDIR=$PWD/_pkg/usr install + make DESTDIR=$DESTDIR/usr install } # Rules to gen a SliTaz package suitable for Tazpkg. diff -r c6a1b92559ce -r 03063b2a437d ppp/receipt --- a/ppp/receipt Fri Feb 24 19:11:29 2012 -0500 +++ b/ppp/receipt Sat Feb 25 10:42:24 2012 +0100 @@ -14,10 +14,22 @@ compile_rules() { cd $src + cat >> include/linux/if_pppol2tp.h < current */ + int fd; /* FD of UDP or IP socket to use */ + struct sockaddr_in addr; /* IP address and port to send to */ + __u32 s_tunnel, s_session; /* For matching incoming packets */ + __u32 d_tunnel, d_session; /* For sending outgoing packets */ +}; +EOT ./configure --prefix=/usr --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && - make DESTDIR=$PWD/_pkg/usr install + make DESTDIR=$DESTDIR/usr install } # Rules to gen a SliTaz package suitable for Tazpkg.