wok diff ppp/receipt @ rev 18019

Up ppp (2.4.7)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 02 21:48:46 2015 +0200 (2015-05-02)
parents 22d242cf69af
children 5c05d949d429
line diff
     1.1 --- a/ppp/receipt	Sat May 02 16:52:55 2015 +0200
     1.2 +++ b/ppp/receipt	Sat May 02 21:48:46 2015 +0200
     1.3 @@ -1,40 +1,25 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ppp"
     1.7 -VERSION="2.4.5"
     1.8 +VERSION="2.4.7"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Implements the Point-to-Point Protocol (PPP)."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12  LICENSE="BSD GPL"
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14  WEB_SITE="http://ppp.samba.org/"
    1.15 -WGET_URL="ftp://ftp.samba.org/pub/ppp/$TARBALL"
    1.16 +WGET_URL="https://github.com/paulusmack/ppp/archive/$TARBALL"
    1.17  CONFIG_FILES="/etc/ppp"
    1.18  HOST_ARCH="i486 arm"
    1.19  
    1.20 +DEPENDS="wget"
    1.21  SUGGESTED="tazpanel"
    1.22  
    1.23  # Rules to configure and make the package.
    1.24  compile_rules()
    1.25  {
    1.26 -	if ! grep -qs pppol2tpv3_addr include/linux/if_pppol2tp.h ; then
    1.27 -		sed -i /#endif/d include/linux/if_pppol2tp.h
    1.28 -		cat >> include/linux/if_pppol2tp.h <<EOT
    1.29 -/* The L2TPv3 protocol changes tunnel and session ids from 16 to 32
    1.30 - * bits. So we need a different sockaddr structure.
    1.31 - */
    1.32 -struct pppol2tpv3_addr {
    1.33 -	pid_t	pid;			/* pid that owns the fd. 0 => current */
    1.34 -	int	fd;			/* FD of UDP or IP socket to use */
    1.35 -	struct sockaddr_in addr;	/* IP address and port to send to */
    1.36 -	__u32 s_tunnel, s_session;	/* For matching incoming packets */
    1.37 -	__u32 d_tunnel, d_session;	/* For sending outgoing packets */
    1.38 -};
    1.39 -#endif
    1.40 -EOT
    1.41 -	fi
    1.42  	./configure --prefix=/usr \
    1.43 -	$CONFIGURE_ARGS &&
    1.44 +		$CONFIGURE_ARGS &&
    1.45  	make &&
    1.46  	make DESTDIR=$DESTDIR/usr install
    1.47  }