# HG changeset patch # User Hans-G?nter Theisgen # Date 1575554263 -3600 # Node ID 5feee5b36dd1aa1b5c6d25672412f251dc5708dd # Parent e4a10484d4761dda7b3bcdf18fe8f445f636dd83 updated coova-chilli (1.3.0 -> 1.5) diff -r e4a10484d476 -r 5feee5b36dd1 coova-chilli/receipt --- a/coova-chilli/receipt Thu Dec 05 14:48:27 2019 +0100 +++ b/coova-chilli/receipt Thu Dec 05 14:57:43 2019 +0100 @@ -1,7 +1,7 @@ # SliTaz package receipt v2. PACKAGE="coova-chilli" -VERSION="1.3.0" +VERSION="1.5" CATEGORY="network" SHORT_DESC="Captive portal or wireless LAN access point controller" MAINTAINER="pascal.bellard@slitaz.org" @@ -9,51 +9,56 @@ WEB_SITE="https://coova.github.io/" TARBALL="$PACKAGE-$VERSION.tar.gz" -WGET_URL="http://ap.coova.org/chilli/$TARBALL" +#WGET_URL="http://ap.coova.org/chilli/$TARBALL" +WGET_URL="https://github.com/coova/$PACKAGE/archive/$VERSION.tar.gz" -BUILD_DEPENDS="openssl-dev curl-dev perl" +BUILD_DEPENDS="curl-dev openssl-dev perl" SPLIT="$PACKAGE-dev" -compile_rules() { - sed -i 's|return -1; safe_close|return -1;\n safe_close|' src/redir.c - sed -i 's|if (.\(safe_write.*\)) /. error ./|\1|' src/garden.c +compile_rules() +{ + sed -i 's|return -1; safe_close|return -1;\n safe_close|' \ + src/redir.c + sed -i 's|if (.\(safe_write.*\)) /. error ./|\1|' \ + src/garden.c - ./configure \ - --enable-largelimits \ - --enable-binstatusfile \ - --enable-statusfile \ - --enable-chilliproxy \ - --enable-chilliradsec \ - --enable-chilliredir \ - --with-openssl \ - --with-curl \ - --with-poll \ - --enable-dhcpopt \ - --enable-sessgarden \ - --enable-dnslog \ - --enable-ipwhitelist \ - --enable-redirdnsreq \ - --enable-miniconfig \ - --enable-libjson \ - --enable-layer3 \ - --enable-proxyvsa \ - --enable-miniportal \ - --enable-chilliscript \ - --enable-eapol \ - --enable-uamdomainfile \ - --enable-modules \ - --enable-multiroute \ + ./configure \ + --enable-largelimits \ + --enable-binstatusfile \ + --enable-statusfile \ + --enable-chilliproxy \ + --enable-chilliradsec \ + --enable-chilliredir \ + --with-openssl \ + --with-curl \ + --with-poll \ + --enable-dhcpopt \ + --enable-sessgarden \ + --enable-dnslog \ + --enable-ipwhitelist \ + --enable-redirdnsreq \ + --enable-miniconfig \ + --enable-libjson \ + --enable-layer3 \ + --enable-proxyvsa \ + --enable-miniportal \ + --enable-chilliscript \ + --enable-eapol \ + --enable-uamdomainfile \ + --enable-modules \ + --enable-multiroute \ $CONFIGURE_ARGS && fix libtool && make && make DESTDIR=$install install } -genpkg_rules() { +genpkg_rules() +{ case $PACKAGE in coova-chilli) copy @std - DEPENDS="openssl curl libidn" + DEPENDS="curl libidn openssl" ;; *-dev) copy @dev