wok-next rev 21243

updated coova-chilli (1.3.0 -> 1.5)
author Hans-G?nter Theisgen
date Thu Dec 05 14:57:43 2019 +0100 (2019-12-05)
parents e4a10484d476
children 9e8e7f2aa1cb
files coova-chilli/receipt
line diff
     1.1 --- a/coova-chilli/receipt	Thu Dec 05 14:48:27 2019 +0100
     1.2 +++ b/coova-chilli/receipt	Thu Dec 05 14:57:43 2019 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="coova-chilli"
     1.7 -VERSION="1.3.0"
     1.8 +VERSION="1.5"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="Captive portal or wireless LAN access point controller"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -9,51 +9,56 @@
    1.13  WEB_SITE="https://coova.github.io/"
    1.14  
    1.15  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.16 -WGET_URL="http://ap.coova.org/chilli/$TARBALL"
    1.17 +#WGET_URL="http://ap.coova.org/chilli/$TARBALL"
    1.18 +WGET_URL="https://github.com/coova/$PACKAGE/archive/$VERSION.tar.gz"
    1.19  
    1.20 -BUILD_DEPENDS="openssl-dev curl-dev perl"
    1.21 +BUILD_DEPENDS="curl-dev openssl-dev perl"
    1.22  SPLIT="$PACKAGE-dev"
    1.23  
    1.24 -compile_rules() {
    1.25 -	sed -i 's|return -1; safe_close|return -1;\n safe_close|' src/redir.c
    1.26 -	sed -i 's|if (.\(safe_write.*\)) /. error ./|\1|' src/garden.c
    1.27 +compile_rules()
    1.28 +{
    1.29 +	sed -i 's|return -1; safe_close|return -1;\n safe_close|' \
    1.30 +		src/redir.c
    1.31 +	sed -i 's|if (.\(safe_write.*\)) /. error ./|\1|' \
    1.32 +		src/garden.c
    1.33  
    1.34 -	./configure \
    1.35 -		--enable-largelimits \
    1.36 -		--enable-binstatusfile \
    1.37 -		--enable-statusfile \
    1.38 -		--enable-chilliproxy \
    1.39 -		--enable-chilliradsec \
    1.40 -		--enable-chilliredir \
    1.41 -		--with-openssl \
    1.42 -		--with-curl \
    1.43 -		--with-poll \
    1.44 -		--enable-dhcpopt \
    1.45 -		--enable-sessgarden \
    1.46 -		--enable-dnslog \
    1.47 -		--enable-ipwhitelist \
    1.48 -		--enable-redirdnsreq \
    1.49 -		--enable-miniconfig \
    1.50 -		--enable-libjson \
    1.51 -		--enable-layer3 \
    1.52 -		--enable-proxyvsa \
    1.53 -		--enable-miniportal \
    1.54 -		--enable-chilliscript \
    1.55 -		--enable-eapol \
    1.56 -		--enable-uamdomainfile \
    1.57 -		--enable-modules \
    1.58 -		--enable-multiroute \
    1.59 +	./configure			\
    1.60 +		--enable-largelimits	\
    1.61 +		--enable-binstatusfile	\
    1.62 +		--enable-statusfile	\
    1.63 +		--enable-chilliproxy	\
    1.64 +		--enable-chilliradsec	\
    1.65 +		--enable-chilliredir	\
    1.66 +		--with-openssl		\
    1.67 +		--with-curl		\
    1.68 +		--with-poll		\
    1.69 +		--enable-dhcpopt	\
    1.70 +		--enable-sessgarden	\
    1.71 +		--enable-dnslog		\
    1.72 +		--enable-ipwhitelist	\
    1.73 +		--enable-redirdnsreq	\
    1.74 +		--enable-miniconfig	\
    1.75 +		--enable-libjson	\
    1.76 +		--enable-layer3		\
    1.77 +		--enable-proxyvsa	\
    1.78 +		--enable-miniportal	\
    1.79 +		--enable-chilliscript	\
    1.80 +		--enable-eapol		\
    1.81 +		--enable-uamdomainfile	\
    1.82 +		--enable-modules	\
    1.83 +		--enable-multiroute	\
    1.84  		$CONFIGURE_ARGS &&
    1.85  	fix libtool &&
    1.86  	make &&
    1.87  	make DESTDIR=$install install
    1.88  }
    1.89  
    1.90 -genpkg_rules() {
    1.91 +genpkg_rules()
    1.92 +{
    1.93  	case $PACKAGE in
    1.94  		coova-chilli)
    1.95  			copy @std
    1.96 -			DEPENDS="openssl curl libidn"
    1.97 +			DEPENDS="curl libidn openssl"
    1.98  			;;
    1.99  		*-dev)
   1.100  			copy @dev