mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 17:02:56 +02:00
logrotate: update to 3.8.8.
This commit is contained in:
parent
9920ff3165
commit
f3437969d0
1 changed files with 7 additions and 10 deletions
|
@ -1,7 +1,9 @@
|
||||||
# Template file for 'logrotate'
|
# Template file for 'logrotate'
|
||||||
pkgname=logrotate
|
pkgname=logrotate
|
||||||
version=3.8.7
|
version=3.8.8
|
||||||
revision=1
|
revision=1
|
||||||
|
build_style=gnu-configure
|
||||||
|
hostmakedepends="automake libtool"
|
||||||
makedepends="popt-devel"
|
makedepends="popt-devel"
|
||||||
conf_files="/etc/logrotate.conf"
|
conf_files="/etc/logrotate.conf"
|
||||||
short_desc="Log file rotation and periodic maintenance"
|
short_desc="Log file rotation and periodic maintenance"
|
||||||
|
@ -9,18 +11,13 @@ maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="https://fedorahosted.org/logrotate/"
|
homepage="https://fedorahosted.org/logrotate/"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
distfiles="https://fedorahosted.org/releases/l/o/$pkgname/${pkgname}-${version}.tar.gz"
|
distfiles="https://fedorahosted.org/releases/l/o/$pkgname/${pkgname}-${version}.tar.gz"
|
||||||
checksum=f6ba691f40e30e640efa2752c1f9499a3f9738257660994de70a45fe00d12b64
|
checksum=46a1510ef4a1f4359edd5f361112cfd1523942e85ff28e6cbb0c81bad1829d0f
|
||||||
|
|
||||||
do_build() {
|
pre_configure() {
|
||||||
sed -i "s|CFLAGS = -Wall|CFLAGS += -Wall|" Makefile
|
./autogen.sh
|
||||||
sed -i 's|$(BASEDIR)/man|$(BASEDIR)/share/man|' Makefile
|
|
||||||
sed -i "s|/bin/\(g.*zip\)|/usr/bin/\1|g" config.h
|
|
||||||
make CPP=$CC ${makejobs}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
post_install() {
|
||||||
make PREFIX=${DESTDIR} install
|
|
||||||
|
|
||||||
vconf ${FILESDIR}/logrotate.conf
|
vconf ${FILESDIR}/logrotate.conf
|
||||||
vinstall ${FILESDIR}/logrotate.cron-daily 744 etc/cron.daily logrotate
|
vinstall ${FILESDIR}/logrotate.cron-daily 744 etc/cron.daily logrotate
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue