pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/sysutils/logrotate



Module Name:    pkgsrc
Committed By:   nils
Date:           Tue Apr 21 17:01:43 UTC 2020

Modified Files:
        pkgsrc/sysutils/logrotate: Makefile PLIST distinfo

Log Message:
Update sysutils/logroate to 3.16.0.

Upstream changelog:
* fix compilation with gcc-10, which defaults to -fno-common (#288)
* reduce number of open() operations on state file (#282)
* validate user/group given to the su directive early (#276)
* add hardening options to systemd unit file in examples (#274, #291)
* fix crash of logrotate on invalid configuration with include (#271)
* fix heap buffer overflow on too long logfile extension (#270)

Pkgsrc changes:
* a systemd example service file is added to the examples;
* a btmp and wtmp example configurations files are also added, but only
btmp is copied alongside logrotate.conf: while the 2 config files were at first
present in logrotate.conf, only btmp is present on NetBSD ;
* the GITHUB_RELEASE variable is moved for pkglint compliance.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/sysutils/logrotate/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/sysutils/logrotate/PLIST
cvs rdiff -u -r1.16 -r1.17 pkgsrc/sysutils/logrotate/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/sysutils/logrotate/Makefile
diff -u pkgsrc/sysutils/logrotate/Makefile:1.18 pkgsrc/sysutils/logrotate/Makefile:1.19
--- pkgsrc/sysutils/logrotate/Makefile:1.18     Wed Mar 20 12:29:37 2019
+++ pkgsrc/sysutils/logrotate/Makefile  Tue Apr 21 17:01:43 2020
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.18 2019/03/20 12:29:37 he Exp $
+# $NetBSD: Makefile,v 1.19 2020/04/21 17:01:43 nils Exp $
 
-DISTNAME=              logrotate-3.15.0
-PKGREVISION=           1
+GITHUB_RELEASE=                ${PKGVERSION_NOREV}
+DISTNAME=              logrotate-3.16.0
 CATEGORIES=            sysutils
 MASTER_SITES=          ${MASTER_SITE_GITHUB:=logrotate/}
 
@@ -10,8 +10,6 @@ HOMEPAGE=             https://github.com/logrotate/
 COMMENT=               Daemon to rotate, compress, remove and mail system log files
 LICENSE=               gnu-gpl-v2
 
-GITHUB_RELEASE=                ${PKGVERSION_NOREV}
-
 USE_TOOLS+=            gmake gzip:run gunzip:run mail:run
 USE_LIBTOOL=           yes
 GNU_CONFIGURE=         yes
@@ -33,7 +31,11 @@ SUBST_FILES.paths=   examples/logrotate.co
 SUBST_FILES.paths+=    examples/logrotate.cron
 SUBST_VARS.paths=      PREFIX PKG_SYSCONFDIR
 
-CONF_FILES=            ${EGDIR}/logrotate.conf ${PKG_SYSCONFDIR}/logrotate.conf
+CONF_FILES=            ${EGDIR}/logrotate.conf ${PKG_SYSCONFDIR}/logrotate.conf \
+                       ${EGDIR}/btmp ${PKG_SYSCONFDIR}/logrotate.d/btmp \
+                       ${EGDIR}/wtmp \
+                       ${EGDIR}/logrotate.service
+
 OWN_DIRS=              ${PKG_SYSCONFDIR}/logrotate.d
 
 EGDIR=                 share/examples/logrotate
@@ -43,8 +45,14 @@ INSTALLATION_DIRS+=  ${EGDIR}
 post-install:
        ${INSTALL_DATA} ${WRKSRC}/examples/logrotate.conf \
                ${DESTDIR}${PREFIX}/${EGDIR}/logrotate.conf
+       ${INSTALL_DATA} ${WRKSRC}/examples/btmp \
+               ${DESTDIR}${PREFIX}/${EGDIR}/btmp
+       ${INSTALL_DATA} ${WRKSRC}/examples/wtmp \
+               ${DESTDIR}${PREFIX}/${EGDIR}/wtmp
        ${INSTALL_DATA} ${WRKSRC}/examples/logrotate.cron \
                ${DESTDIR}${PREFIX}/${EGDIR}
+       ${INSTALL_DATA} ${WRKSRC}/examples/logrotate.service \
+               ${DESTDIR}${PREFIX}/${EGDIR}
 
 .include "../../devel/popt/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/sysutils/logrotate/PLIST
diff -u pkgsrc/sysutils/logrotate/PLIST:1.5 pkgsrc/sysutils/logrotate/PLIST:1.6
--- pkgsrc/sysutils/logrotate/PLIST:1.5 Mon Mar  6 12:59:53 2017
+++ pkgsrc/sysutils/logrotate/PLIST     Tue Apr 21 17:01:43 2020
@@ -1,6 +1,9 @@
-@comment $NetBSD: PLIST,v 1.5 2017/03/06 12:59:53 fhajny Exp $
+@comment $NetBSD: PLIST,v 1.6 2020/04/21 17:01:43 nils Exp $
 man/man5/logrotate.conf.5
 man/man8/logrotate.8
 sbin/logrotate
+share/examples/logrotate/btmp
 share/examples/logrotate/logrotate.conf
 share/examples/logrotate/logrotate.cron
+share/examples/logrotate/logrotate.service
+share/examples/logrotate/wtmp

Index: pkgsrc/sysutils/logrotate/distinfo
diff -u pkgsrc/sysutils/logrotate/distinfo:1.16 pkgsrc/sysutils/logrotate/distinfo:1.17
--- pkgsrc/sysutils/logrotate/distinfo:1.16     Wed Mar 20 12:29:37 2019
+++ pkgsrc/sysutils/logrotate/distinfo  Tue Apr 21 17:01:43 2020
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.16 2019/03/20 12:29:37 he Exp $
+$NetBSD: distinfo,v 1.17 2020/04/21 17:01:43 nils Exp $
 
-SHA1 (logrotate-3.15.0.tar.gz) = d5ec365a07d1c64f4ba086e12fcbb7911281058d
-RMD160 (logrotate-3.15.0.tar.gz) = bd1801423d2f7729703db1f354cdb7d0dbae3a1d
-SHA512 (logrotate-3.15.0.tar.gz) = 9520f15eaec54da426699f1f5ce31949d1372fa25c5c127dfbf29ff717a1c15a6fd14437c1d7b67b116b12c8a5c28f6012e39ad4b3ca2b053c874d02efe98d84
-Size (logrotate-3.15.0.tar.gz) = 219496 bytes
+SHA1 (logrotate-3.16.0.tar.gz) = 0dad4e7c3aefd18d9e29cff8c68884d45c98a472
+RMD160 (logrotate-3.16.0.tar.gz) = afb176a20059c43e835bffb98c8d4ee5e94bb584
+SHA512 (logrotate-3.16.0.tar.gz) = 2f2e8ebf9349424f529e4cf35e75036dadb00df84feac6b421b5a558ce015c9b1a22586463cba95a0265c104a559dd236764f7e37707975e626e69cc87e963e2
+Size (logrotate-3.16.0.tar.gz) = 221904 bytes
 SHA1 (patch-config.c) = 75fea98d120cf1bb8f5f90af9648959a133914aa
 SHA1 (patch-examples_logrotate.conf) = 4d0aad215e66850e8ae1a005764f8bd109fb76c9
 SHA1 (patch-examples_logrotate.cron) = 31a19e1b697e945299bbbe6701674d886379a49c



Home | Main Index | Thread Index | Old Index