wok-next diff tunctl/receipt @ rev 21338

OpenSSL 1.0.2t -> 1.0.2u: overflow bug CVE-2019-1551
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Dec 21 08:55:46 2019 +0000 (2019-12-21)
parents 600aaedb561d
children
line diff
     1.1 --- a/tunctl/receipt	Mon Dec 02 19:18:04 2013 +0000
     1.2 +++ b/tunctl/receipt	Sat Dec 21 08:55:46 2019 +0000
     1.3 @@ -1,30 +1,22 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="tunctl"
     1.8  VERSION="1.5"
     1.9  CATEGORY="network"
    1.10 -SHORT_DESC="used to set up and maintain persistent TUN/TAP network interfaces"
    1.11 +SHORT_DESC="Set up and maintain persistent TUN/TAP network interfaces"
    1.12  MAINTAINER="allan316@gmail.com"
    1.13  LICENSE="GPL"
    1.14 +WEB_SITE="http://tunctl.sourceforge.net/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="http://tunctl.sourceforge.net"
    1.18  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.19  
    1.20 -DEPENDS=""
    1.21 +compile_rules() {
    1.22 +	cc -g -Wall -o tunctl tunctl.c &&
    1.23  
    1.24 -# Rules to configure and make the package.
    1.25 -compile_rules()
    1.26 -{
    1.27 -	cd $src
    1.28 -        mkdir -p $DESTDIR/usr/bin
    1.29 -	cc -g -Wall -o tunctl tunctl.c
    1.30 -        cp -a tunctl $DESTDIR/usr/bin/
    1.31 +	install -Dm755 tunctl $install/usr/bin/tunctl
    1.32  }
    1.33  
    1.34 -# Rules to gen a SliTaz package suitable for Tazpkg.
    1.35 -genpkg_rules()
    1.36 -{
    1.37 -	mkdir -p $fs/usr
    1.38 -	cp -a $install/usr/bin $fs/usr
    1.39 +genpkg_rules() {
    1.40 +	copy @std
    1.41  }
    1.42 -