Upgraded base/exiv2 to 0.27.5 Upgraded base/gdbm to 1.23 Upgraded base/gettext to 0.21.1 Upgraded base/git to 2.30.8 Upgraded base/glib to 2.70.3 Fixed build option in base/gnutls Upgraded base/htop to 3.2.2 Upgraded base/icu to 72.1 Upgraded base/iptables to 1.8.9, discarded old patches Upgraded base/libarchive to 3.6.2 Upgraded base/logrotate to 3.21.0 Upgraded base/make to 4.4 Discarded obsolete build options and fixed configure.local of base/mandoc Upgraded base/mozilla-nss to 3.87 and nspr which is part of it to 4.35 Upgraded base/openssl to 1.1.1t Added sha512 checksum for tar lzip file inside base/tar
41 lines
No EOL
1,000 B
Text
Executable file
41 lines
No EOL
1,000 B
Text
Executable file
app=logrotate
|
|
version=3.21.0
|
|
mversion="$(echo $version | sed 's@.@-@')"
|
|
build=1sml
|
|
homepage="https://github.com/logrotate/logrotate"
|
|
download="https://github.com/logrotate/logrotate/archive/refs/tags/r$mversion.tar.gz"
|
|
desc="system log rotation tool, normally run as a daily cron job"
|
|
requires="popt"
|
|
|
|
build() {
|
|
mkandenterbuilddir
|
|
rm -rf $app-$version
|
|
|
|
tar xf $srcdir/$app-$version.tar.?z*
|
|
cd $app-$version
|
|
fixbuilddirpermissions
|
|
|
|
./autogen.sh
|
|
|
|
./configure \
|
|
--prefix="" \
|
|
--with-acl
|
|
|
|
make clean
|
|
make
|
|
|
|
install -Dm 755 $app $pkg/bin/$app
|
|
install -Dm 644 $app.8 $pkg/share/man/man8/$app.8
|
|
|
|
mkdir -p $pkg/etc/logrotate.d $pkg/var/spool/cron/crontabs
|
|
cp $srcdir/logrotate.conf.new $pkg/etc/
|
|
install -Dm 600 $srcdir/$app.cron $pkg/var/spool/cron/crontabs/root
|
|
|
|
cp COPYING $pkgdocs/
|
|
|
|
mkfinalpkg
|
|
}
|
|
|
|
sha512sums="
|
|
91467fd4e48849b48ff9760ad0e4df9290c3dc56e733e8020fb58ec299a53cd0153b1fdfa0ae174beb9ea61a21c808b9edec9ea1d69b62a9e9efa9bce35c7673 logrotate-3.21.0.tar.gz
|
|
" |