wok rev 21375
updated logrotate (3.8.2 -> 3.15.0)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 22 09:33:09 2019 +0100 (2019-04-22) |
parents | 757039210b24 |
children | 962e35289c91 |
files | logrotate/receipt |
line diff
1.1 --- a/logrotate/receipt Mon Apr 22 09:12:02 2019 +0100 1.2 +++ b/logrotate/receipt Mon Apr 22 09:33:09 2019 +0100 1.3 @@ -1,29 +1,38 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="logrotate" 1.7 -VERSION="3.8.2" 1.8 +VERSION="3.15.0" 1.9 CATEGORY="system-tools" 1.10 -SHORT_DESC="Automatic rotation compression, removal of log files." 1.11 +SHORT_DESC="Automatic rotation, compression, and removal of log files." 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="GPL2" 1.14 +WEB_SITE="https://github.com/logrotate/logrotate/" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 -WEB_SITE="https://fedorahosted.org/logrotate/" 1.18 -WGET_URL="https://fedorahosted.org/releases/l/o/logrotate/$TARBALL" 1.19 -CONFIG_FILES="/etc/logrotate.conf" 1.20 +WGET_URL="${WEB_SITE}releases/download/$VERSION/$TARBALL" 1.21 1.22 DEPENDS="popt" 1.23 -BUILD_DEPENDS="popt-dev wget" 1.24 +BUILD_DEPENDS="automake popt-dev" 1.25 +CONFIG_FILES="/etc/logrotate.conf" 1.26 1.27 # Rules to configure and make the package. 1.28 compile_rules() 1.29 { 1.30 - make && make PREFIX=$DESTDIR MANDIR=/usr/share/man install 1.31 + autoreconf -fiv && 1.32 + ./configure \ 1.33 + --prefix=/usr \ 1.34 + --mandir=/usr/share/man \ 1.35 + $CONFIGURE_ARGS && 1.36 + make -j 1 && 1.37 + make PREFIX=$DESTDIR install 1.38 } 1.39 1.40 # Rules to gen a SliTaz package suitable for Tazpkg. 1.41 genpkg_rules() 1.42 { 1.43 - mkdir -p $fs/usr $fs/etc 1.44 + mkdir -p $fs/usr 1.45 + mkdir -p $fs/etc 1.46 + 1.47 echo -e "#Logrotate Config file\n\ninclude /etc/logrotate.d" \ 1.48 > $fs/etc/logrotate.conf 1.49 cp -a $install/usr/sbin $fs/usr