wok-next view coova-chilli/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | 5feee5b36dd1 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="coova-chilli"
4 VERSION="1.5"
5 CATEGORY="network"
6 SHORT_DESC="Captive portal or wireless LAN access point controller"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://coova.github.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 #WGET_URL="http://ap.coova.org/chilli/$TARBALL"
13 WGET_URL="https://github.com/coova/$PACKAGE/archive/$VERSION.tar.gz"
15 BUILD_DEPENDS="autoconf automake curl-dev openssl-dev perl"
16 SPLIT="$PACKAGE-dev"
18 compile_rules()
19 {
20 sed -i 's|return -1; safe_close|return -1;\n safe_close|' \
21 src/redir.c
22 sed -i 's|if (.\(safe_write.*\)) /. error ./|\1|' \
23 src/garden.c
25 ./bootstrap &&
26 ./configure \
27 --enable-largelimits \
28 --enable-binstatusfile \
29 --enable-statusfile \
30 --enable-chilliproxy \
31 --enable-chilliradsec \
32 --enable-chilliredir \
33 --with-openssl \
34 --with-curl \
35 --with-poll \
36 --enable-dhcpopt \
37 --enable-sessgarden \
38 --enable-dnslog \
39 --enable-ipwhitelist \
40 --enable-redirdnsreq \
41 --enable-miniconfig \
42 --enable-libjson \
43 --enable-layer3 \
44 --enable-proxyvsa \
45 --enable-miniportal \
46 --enable-chilliscript \
47 --enable-eapol \
48 --enable-uamdomainfile \
49 --enable-modules \
50 --enable-multiroute \
51 $CONFIGURE_ARGS &&
52 fix libtool &&
53 make &&
54 make DESTDIR=$install install
55 }
57 genpkg_rules()
58 {
59 case $PACKAGE in
60 coova-chilli)
61 copy @std
62 DEPENDS="curl libidn openssl"
63 ;;
64 *-dev)
65 copy @dev
66 ;;
67 esac
68 }