wok diff tinyproxy/receipt @ rev 23154

updated lynis (2.7.4 -> 2.7.5)
author Hans-G?nter Theisgen
date Sun Mar 15 16:57:40 2020 +0100 (2020-03-15)
parents 8b9f768b711e
children 5ea0ce1cecc0
line diff
     1.1 --- a/tinyproxy/receipt	Wed Jun 19 17:26:14 2019 +0200
     1.2 +++ b/tinyproxy/receipt	Sun Mar 15 16:57:40 2020 +0100
     1.3 @@ -6,36 +6,35 @@
     1.4  SHORT_DESC="A light-weight HTTP proxy daemon for POSIX operating systems."
     1.5  MAINTAINER="slaxemulator@gmail.com"
     1.6  LICENSE="GPL2"
     1.7 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.8 +TARBALL="$PACKAGE-$VERSION.tar.gz"
     1.9  WEB_SITE="https://tinyproxy.github.io/"
    1.10  WGET_URL="https://github.com/tinyproxy/tinyproxy/archive/$VERSION.tar.gz"
    1.11  
    1.12 -BUILD_DEPENDS="wget"
    1.13 +BUILD_DEPENDS="wget automake"
    1.14  
    1.15  # Rules to configure and make the package.
    1.16  compile_rules()
    1.17  {
    1.18 -	patch -Np1 -i $stuff/no-docs-and-tests.diff
    1.19 +	sed -i '/docs/d;/tests$/d;s|m4macros \\|m4macros|' Makefile.*
    1.20 +	./autogen.sh
    1.21  	./configure \
    1.22  		--prefix=/usr \
    1.23  		--infodir=/usr/share/info \
    1.24  		--mandir=/usr/share/man \
    1.25 -		--sysconfdir=/etc/tinyproxy \
    1.26 +		--sysconfdir=/etc \
    1.27  		--localstatedir=/var \
    1.28  		$CONFIGURE_ARGS &&
    1.29  	make && make DESTDIR=$DESTDIR install
    1.30  	# Provide sane defaults
    1.31    	sed -i '/^#Listen/a\Listen 127.0.0.1' "$DESTDIR/etc/tinyproxy/tinyproxy.conf"
    1.32 -
    1.33  }
    1.34  
    1.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.36  genpkg_rules()
    1.37  {
    1.38  	mkdir -p $fs/usr/share $fs/etc/init.d
    1.39 -	cp -a $install/usr/sbin $fs/usr
    1.40 +	cp -a $install/usr/bin $fs/usr
    1.41  	cp -a $install/usr/share/tinyproxy $fs/usr/share
    1.42  	cp -a $install/etc/tinyproxy $fs/etc
    1.43  	cp -a $stuff/tinyproxy $fs/etc/init.d
    1.44  }
    1.45 -