wok-next diff zerobin/receipt @ rev 21634

updated exiftool (11.17 -> 12.01)
author Hans-G?nter Theisgen
date Fri Jun 26 10:45:57 2020 +0100 (2020-06-26)
parents d5aab818505e
children
line diff
     1.1 --- a/zerobin/receipt	Fri Nov 02 14:15:08 2018 +0200
     1.2 +++ b/zerobin/receipt	Fri Jun 26 10:45:57 2020 +0100
     1.3 @@ -1,16 +1,22 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="zerobin"
     1.7 -GITHASH="8cae64d6eab99fb0d31868df77846285c0958ed0" # 6 feb 2014
     1.8 -VERSION="${GITHASH:0:7}"
     1.9 +VERSION="0.19"
    1.10 +COMMIT="8ec0948"
    1.11  CATEGORY="network"
    1.12 -SHORT_DESC="Online pastebin where the server has zero knowledge of pasted data"
    1.13 +SHORT_DESC="Online pastebin where the server has zero knowledge of pasted data \
    1.14 +[ unmaintained, consider switch to privatebin ]"
    1.15  MAINTAINER="pascal.bellard@slitaz.org"
    1.16  LICENSE="zlib/libpng"
    1.17 -WEB_SITE="http://sebsauvage.net/wiki/doku.php?id=php:zerobin"
    1.18 +WEB_SITE="https://sebsauvage.net/wiki/doku.php?id=php:zerobin"
    1.19 +HOST_ARCH="any"
    1.20  
    1.21 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.22 -WGET_URL="https://github.com/sebsauvage/ZeroBin/archive/$VERSION.tar.gz"
    1.23 +TARBALL="$PACKAGE-${COMMIT:-VERSION}.tar.gz"
    1.24 +WGET_URL="https://github.com/sebsauvage/ZeroBin/archive/${COMMIT:-VERSION}.tar.gz"
    1.25 +
    1.26 +DEPENDS_std="php"
    1.27 +SUGGESTED_std="php-gd"
    1.28 +TAGS_std="pastebin privacy"
    1.29  
    1.30  compile_rules() {
    1.31  	mkdir -p \
    1.32 @@ -21,13 +27,10 @@
    1.33  	cp $stuff/purge.sh          $install/var/lib/zerobin/data/
    1.34  	ln -s /var/lib/zerobin/data $install/usr/share/zerobin/data
    1.35  	ln -s /var/lib/zerobin/tmp  $install/usr/share/zerobin/tmp
    1.36 -	chown -R www.www $install/usr/share/zerobin $install/var/lib/zerobin/*
    1.37 -}
    1.38 +	chown -R www.www $install/usr/share/zerobin/ $install/var/lib/zerobin/*
    1.39  
    1.40 -genpkg_rules() {
    1.41 -	copy @std
    1.42 -	DEPENDS="php"
    1.43 -	SUGGESTED="php-gd"
    1.44 +	fix symlinks
    1.45 +	find $install -exec chmod g-w '{}' \;
    1.46  }
    1.47  
    1.48  post_install() {
    1.49 @@ -51,7 +54,7 @@
    1.50      Alias /paste /usr/share/zerobin/
    1.51  </IfModule>
    1.52  <DirectoryMatch /usr/share/zerobin/>
    1.53 -    php_value upload_max_filesize 2147483647 
    1.54 +    php_value upload_max_filesize 2147483647
    1.55      DirectoryIndex index.php
    1.56      AllowOverride None
    1.57      Order allow,deny