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:           Thu Oct  1 20:14:56 UTC 2020

Modified Files:
        pkgsrc/sysutils/logrotate: Makefile distinfo
Added Files:
        pkgsrc/sysutils/logrotate/patches: patch-configure.ac

Log Message:
Updated sysutils/logrotate to 3.17.0.
Upstream changes :
* lock state file to prevent parallel execution of logrotate
* add .bak extension to default taboo list
* allow to pass a home-relative path to include
* switch_user_permanently: skip switchback check if switched to root
* logrotate.service: enable ProtectClock to restrict setting of clock
* delete old logs hit by maxage regardless of dateext

Pkgsrc changes :
* included a patch made after release in order to get logrotate compiled on *BSD :
  https://github.com/logrotate/logrotate/pull/344


To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/sysutils/logrotate/Makefile
cvs rdiff -u -r1.17 -r1.18 pkgsrc/sysutils/logrotate/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/sysutils/logrotate/patches/patch-configure.ac

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.19 pkgsrc/sysutils/logrotate/Makefile:1.20
--- pkgsrc/sysutils/logrotate/Makefile:1.19     Tue Apr 21 17:01:43 2020
+++ pkgsrc/sysutils/logrotate/Makefile  Thu Oct  1 20:14:56 2020
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.19 2020/04/21 17:01:43 nils Exp $
+# $NetBSD: Makefile,v 1.20 2020/10/01 20:14:56 nils Exp $
 
 GITHUB_RELEASE=                ${PKGVERSION_NOREV}
-DISTNAME=              logrotate-3.16.0
+DISTNAME=              logrotate-3.17.0
 CATEGORIES=            sysutils
 MASTER_SITES=          ${MASTER_SITE_GITHUB:=logrotate/}
 

Index: pkgsrc/sysutils/logrotate/distinfo
diff -u pkgsrc/sysutils/logrotate/distinfo:1.17 pkgsrc/sysutils/logrotate/distinfo:1.18
--- pkgsrc/sysutils/logrotate/distinfo:1.17     Tue Apr 21 17:01:43 2020
+++ pkgsrc/sysutils/logrotate/distinfo  Thu Oct  1 20:14:56 2020
@@ -1,9 +1,10 @@
-$NetBSD: distinfo,v 1.17 2020/04/21 17:01:43 nils Exp $
+$NetBSD: distinfo,v 1.18 2020/10/01 20:14:56 nils Exp $
 
-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 (logrotate-3.17.0.tar.gz) = 143fcf6010ff32cfb0a13ea49df22cb383843b63
+RMD160 (logrotate-3.17.0.tar.gz) = d79e0e2c03bc47e970acd28875cebf045635f33a
+SHA512 (logrotate-3.17.0.tar.gz) = ada4415ef68ad97c1415fa0c1ba7bf108621777cd91599bf4f999dea1c1025596543aa00fd579cae4d39315b71c4d8f96a9c9d1178f78be7c523470588ab1d31
+Size (logrotate-3.17.0.tar.gz) = 224559 bytes
+SHA1 (patch-config.c) = 2064e2e1186305eaea1b3597a634d57c04cc4fc4
+SHA1 (patch-configure.ac) = 3d9d232f386b286288ba0f543804d10feeb306cf
 SHA1 (patch-examples_logrotate.conf) = 4d0aad215e66850e8ae1a005764f8bd109fb76c9
 SHA1 (patch-examples_logrotate.cron) = 31a19e1b697e945299bbbe6701674d886379a49c

Added files:

Index: pkgsrc/sysutils/logrotate/patches/patch-configure.ac
diff -u /dev/null pkgsrc/sysutils/logrotate/patches/patch-configure.ac:1.1
--- /dev/null   Thu Oct  1 20:14:56 2020
+++ pkgsrc/sysutils/logrotate/patches/patch-configure.ac        Thu Oct  1 20:14:56 2020
@@ -0,0 +1,15 @@
+$NetBSD: patch-configure.ac,v 1.1 2020/10/01 20:14:56 nils Exp $
+
+Fix *BSD compilation : secure_getenv is GNU-only, so unavailable on BSD OS.
+
+--- configure.ac.orig  2020-06-07 14:39:56.000000000 +0000
++++ configure.ac
+@@ -166,7 +166,7 @@ AC_SUBST(COMPRESS_EXT)
+ AC_DEFINE_UNQUOTED([ROOT_UID], [0], [Root user-id.])
+ AC_SUBST(ROOT_UID)
+ 
+-AC_CHECK_FUNCS([asprintf madvise qsort strndup strptime utimensat vsyslog])
++AC_CHECK_FUNCS([asprintf madvise qsort secure_getenv strndup strptime utimensat vsyslog])
+ AC_CONFIG_HEADERS([config.h])
+ 
+ AM_CFLAGS="\



Home | Main Index | Thread Index | Old Index