2017-04-04 09:42:26 +02:00
|
|
|
|
# Description: Logrotate yardımcı programı, günlük yönetimini basitleştirmek için tasarlanmıştır
|
2016-02-24 01:27:23 +01:00
|
|
|
|
# URL: https://fedorahosted.org/logrotate/
|
2017-04-04 09:42:26 +02:00
|
|
|
|
# Packager: milisarge
|
|
|
|
|
# Depends on: popt
|
|
|
|
|
|
2016-02-24 01:27:23 +01:00
|
|
|
|
name=logrotate
|
|
|
|
|
version=3.8.8
|
|
|
|
|
release=1
|
|
|
|
|
|
|
|
|
|
source=(
|
|
|
|
|
https://fedorahosted.org/releases/l/o/logrotate/logrotate-$version.tar.gz
|
|
|
|
|
logrotate.conf
|
|
|
|
|
logrotate.README)
|
|
|
|
|
|
|
|
|
|
build() {
|
|
|
|
|
cd $name-$version
|
|
|
|
|
make WITH_ACL=yes RPM_OPT_FLAGS="$CFLAGS" EXTRA_LDFLAGS="$LDFLAGS"
|
|
|
|
|
make test
|
|
|
|
|
make PREFIX=$PKG MANDIR="/usr/share/man" install
|
|
|
|
|
|
|
|
|
|
# add missing dir
|
|
|
|
|
install -dm755 $PKG/etc/logrotate.d
|
|
|
|
|
# install the logrotate.conf file
|
|
|
|
|
install -Dm644 $SRC/logrotate.conf $PKG/etc/logrotate.conf
|
|
|
|
|
}
|