wok-next 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 86becc422032
children 67380acb9c14
files ppp-dev/receipt ppp/receipt
line diff
     1.1 --- a/ppp-dev/receipt	Sat May 02 18:09:05 2015 +0200
     1.2 +++ b/ppp-dev/receipt	Sat May 02 21:48:46 2015 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ppp-dev"
     1.7 -VERSION="2.4.5"
     1.8 +VERSION="2.4.7"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Point-to-Point Protocol (PPP) development files."
    1.11  MAINTAINER="pankso@slitaz.org"
     2.1 --- a/ppp/receipt	Sat May 02 18:09:05 2015 +0200
     2.2 +++ b/ppp/receipt	Sat May 02 21:48:46 2015 +0200
     2.3 @@ -1,40 +1,25 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="ppp"
     2.7 -VERSION="2.4.5"
     2.8 +VERSION="2.4.7"
     2.9  CATEGORY="network"
    2.10  SHORT_DESC="Implements the Point-to-Point Protocol (PPP)."
    2.11  MAINTAINER="pankso@slitaz.org"
    2.12  LICENSE="BSD GPL"
    2.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.14  WEB_SITE="http://ppp.samba.org/"
    2.15 -WGET_URL="ftp://ftp.samba.org/pub/ppp/$TARBALL"
    2.16 +WGET_URL="https://github.com/paulusmack/ppp/archive/$TARBALL"
    2.17  CONFIG_FILES="/etc/ppp"
    2.18  HOST_ARCH="i486 arm"
    2.19  
    2.20 +DEPENDS="wget"
    2.21  SUGGESTED="tazpanel"
    2.22  
    2.23  # Rules to configure and make the package.
    2.24  compile_rules()
    2.25  {
    2.26 -	if ! grep -qs pppol2tpv3_addr include/linux/if_pppol2tp.h ; then
    2.27 -		sed -i /#endif/d include/linux/if_pppol2tp.h
    2.28 -		cat >> include/linux/if_pppol2tp.h <<EOT
    2.29 -/* The L2TPv3 protocol changes tunnel and session ids from 16 to 32
    2.30 - * bits. So we need a different sockaddr structure.
    2.31 - */
    2.32 -struct pppol2tpv3_addr {
    2.33 -	pid_t	pid;			/* pid that owns the fd. 0 => current */
    2.34 -	int	fd;			/* FD of UDP or IP socket to use */
    2.35 -	struct sockaddr_in addr;	/* IP address and port to send to */
    2.36 -	__u32 s_tunnel, s_session;	/* For matching incoming packets */
    2.37 -	__u32 d_tunnel, d_session;	/* For sending outgoing packets */
    2.38 -};
    2.39 -#endif
    2.40 -EOT
    2.41 -	fi
    2.42  	./configure --prefix=/usr \
    2.43 -	$CONFIGURE_ARGS &&
    2.44 +		$CONFIGURE_ARGS &&
    2.45  	make &&
    2.46  	make DESTDIR=$DESTDIR/usr install
    2.47  }