wok-6.x diff lighttpd-ssl/receipt @ rev 22671
updated ecm and ecm-extras again (1.03 -> 1.06)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 17 14:38:48 2020 +0100 (2020-01-17) |
parents | 3630f18392bd |
children | fc1aa8675fab |
line diff
1.1 --- a/lighttpd-ssl/receipt Mon May 23 11:34:06 2016 +0200 1.2 +++ b/lighttpd-ssl/receipt Fri Jan 17 14:38:48 2020 +0100 1.3 @@ -1,23 +1,25 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="lighttpd-ssl" 1.7 -VERSION="1.4.35" 1.8 +VERSION="1.4.53" 1.9 CATEGORY="network" 1.10 SHORT_DESC="Fast and light HTTP Web server with SSL support." 1.11 MAINTAINER="pankso@slitaz.org" 1.12 LICENSE="BSD" 1.13 -SUGGESTED="lighttpd-modules php perl python" 1.14 +WEB_SITE="https://www.lighttpd.net/" 1.15 + 1.16 SOURCE="lighttpd" 1.17 TARBALL="$SOURCE-$VERSION.tar.xz" 1.18 -WEB_SITE="http://www.lighttpd.net/" 1.19 -WGET_URL="http://download.lighttpd.net/lighttpd/releases-${VERSION%.*}.x/$TARBALL" 1.20 +WGET_URL="https://download.lighttpd.net/$SOURCE/releases-${VERSION%.*}.x/$TARBALL" 1.21 + 1.22 +PROVIDE="lighttpd" 1.23 +SUGGESTED="lighttpd-modules perl php python" 1.24 +DEPENDS="openssl pcre" 1.25 +BUILD_DEPENDS="bzip2-dev openssl-dev pcre-dev" 1.26 CONFIG_FILES="/etc/lighttpd/vhosts.conf /etc/lighttpd/lighttpd.conf /etc/ssl/lighttpd" 1.27 -PROVIDE="lighttpd" 1.28 + 1.29 HOST_ARCH="i486 arm" 1.30 1.31 -DEPENDS="pcre openssl" 1.32 -BUILD_DEPENDS="pcre-dev bzip2-dev openssl-dev" 1.33 - 1.34 BASE_MODULES=" 1.35 access 1.36 accesslog 1.37 @@ -34,15 +36,16 @@ 1.38 compile_rules() 1.39 { 1.40 sed -i '/addrs_left/d' src/mod_extforward.c 1.41 - ./configure \ 1.42 - --enable-shared \ 1.43 - --disable-ipv6 \ 1.44 - --with-openssl \ 1.45 - --prefix=/usr \ 1.46 - --libdir=/usr/lib/lighttpd \ 1.47 - --mandir=/usr/share/man \ 1.48 + 1.49 + ./configure \ 1.50 + --enable-shared \ 1.51 + --disable-ipv6 \ 1.52 + --with-openssl \ 1.53 + --prefix=/usr \ 1.54 + --libdir=/usr/lib/lighttpd \ 1.55 + --mandir=/usr/share/man \ 1.56 $CONFIGURE_ARGS && 1.57 - make && 1.58 + make -j 1 && 1.59 make DESTDIR=$DESTDIR install 1.60 } 1.61 1.62 @@ -57,12 +60,12 @@ 1.63 # Modules. 1.64 mkdir -p $fs/usr/lib/lighttpd 1.65 for module in $BASE_MODULES; do 1.66 - action 'Copying : mod_${module}.so' 1.67 + action "Copying : mod_${module}.so" 1.68 cp $install/usr/lib/lighttpd/mod_${module}.so $fs/usr/lib/lighttpd 1.69 status 1.70 done 1.71 1.72 - # Server root and config file. 1.73 + # Server root and configuration file. 1.74 cp -a $WOK/$SOURCE/stuff/etc $fs 1.75 chown -R 0.0 $fs/etc 1.76 mkdir -p $fs/etc/ssl/lighttpd 1.77 @@ -85,20 +88,20 @@ 1.78 chown 80.80 $fs/var/log/lighttpd 1.79 } 1.80 1.81 -# Make sur it as cross compile properly 1.82 +# Make sure it is cross compiled properly 1.83 testsuite() 1.84 { 1.85 readelf -h $install/usr/sbin/lighttpd 1.86 } 1.87 1.88 # Pre and post install commands for Tazpkg. 1.89 -# We stop the server by default in case of upgarde. 1.90 +# We stop the server by default in case of upgrade. 1.91 pre_install() 1.92 { 1.93 [ -z "$1" ] && for i in httpd lighttpd ngnix apache cherokee $PACKAGE ; do 1.94 [ -f /etc/init.d/$i ] && /etc/init.d/$i stop 1.95 done 1.96 - # Backup config file. 1.97 + # Backup configuration file. 1.98 if [ -d "$1/etc/lighttpd" ]; then 1.99 cp -a "$1/etc/lighttpd" "$1/etc/lighttpd.bak" 1.100 fi