From: <abe...@us...> - 2015-07-30 16:58:19
|
Revision: 7167 http://sourceforge.net/p/astlinux/code/7167 Author: abelbeck Date: 2015-07-30 16:58:17 +0000 (Thu, 30 Jul 2015) Log Message: ----------- logrotate, version bump to 3.9.1 Modified Paths: -------------- branches/1.0/package/logrotate/logrotate.mk Added Paths: ----------- branches/1.0/package/logrotate/logrotate-0001-make-autoreconfable.patch Added: branches/1.0/package/logrotate/logrotate-0001-make-autoreconfable.patch =================================================================== --- branches/1.0/package/logrotate/logrotate-0001-make-autoreconfable.patch (rev 0) +++ branches/1.0/package/logrotate/logrotate-0001-make-autoreconfable.patch 2015-07-30 16:58:17 UTC (rev 7167) @@ -0,0 +1,20 @@ +Make the package autoreconfigurable + +Adjust a minor detail in configure.ac in order to make the package +compatible with the autoconf/automake versions we are using in +Buildroot. + +Signed-off-by: Benoît Thébaudeau <ben...@gm...> + +Index: b/configure.ac +=================================================================== +--- a/configure.ac ++++ b/configure.ac +@@ -2,5 +2,5 @@ + +-AM_INIT_AUTOMAKE ++AM_INIT_AUTOMAKE([foreign]) + AC_DEFINE(_GNU_SOURCE) + + AM_EXTRA_RECURSIVE_TARGETS([test]) + Modified: branches/1.0/package/logrotate/logrotate.mk =================================================================== --- branches/1.0/package/logrotate/logrotate.mk 2015-07-30 16:02:35 UTC (rev 7166) +++ branches/1.0/package/logrotate/logrotate.mk 2015-07-30 16:58:17 UTC (rev 7167) @@ -3,31 +3,35 @@ # logrotate # ############################################################# -LOGROTATE_VERSION = 3.8.7 +LOGROTATE_VERSION = 3.9.1 LOGROTATE_SOURCE = logrotate-$(LOGROTATE_VERSION).tar.gz LOGROTATE_SITE = https://www.fedorahosted.org/releases/l/o/logrotate -LOGROTATE_DEPENDENCIES = popt +LOGROTATE_DEPENDENCIES = popt host-pkg-config -define LOGROTATE_BUILD_CMDS - $(MAKE) CC="$(TARGET_CC) $(TARGET_CFLAGS)" LDFLAGS="$(LDFLAGS)" -C $(@D) -endef +# tarball does not have a generated configure script +LOGROTATE_AUTORECONF = YES -define LOGROTATE_INSTALL_TARGET_CMDS - $(MAKE) PREFIX=$(TARGET_DIR) -C $(@D) install +LOGROTATE_CONF_OPT = --without-selinux + +ifeq ($(BR2_PACKAGE_ACL),y) +LOGROTATE_DEPENDENCIES += acl +LOGROTATE_CONF_OPT += --with-acl +else +LOGROTATE_CONF_OPT += --without-acl +endif + +define LOGROTATE_INSTALL_TARGET_CONF $(INSTALL) -m 0644 package/logrotate/logrotate.conf $(TARGET_DIR)/etc/logrotate.conf if [ ! -d $(TARGET_DIR)/etc/logrotate.d ]; then \ $(INSTALL) -d -m 0755 $(TARGET_DIR)/etc/logrotate.d; \ fi endef +LOGROTATE_POST_INSTALL_TARGET_HOOKS += LOGROTATE_INSTALL_TARGET_CONF define LOGROTATE_UNINSTALL_TARGET_CMDS rm -f $(TARGET_DIR)/usr/sbin/logrotate rm -f $(TARGET_DIR)/etc/logrotate.conf endef -define LOGROTATE_CLEAN_CMDS - -$(MAKE) -C $(@D) clean -endef - -$(eval $(call GENTARGETS,package,logrotate)) +$(eval $(call AUTOTARGETS,package,logrotate)) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <abe...@us...> - 2016-08-03 13:38:10
|
Revision: 7784 http://sourceforge.net/p/astlinux/code/7784 Author: abelbeck Date: 2016-08-03 13:38:07 +0000 (Wed, 03 Aug 2016) Log Message: ----------- logrotate, version bump to 3.10.0, moved to GitHub and now has configure script Modified Paths: -------------- branches/1.0/package/logrotate/logrotate.mk Removed Paths: ------------- branches/1.0/package/logrotate/logrotate-0001-make-autoreconfable.patch Deleted: branches/1.0/package/logrotate/logrotate-0001-make-autoreconfable.patch =================================================================== --- branches/1.0/package/logrotate/logrotate-0001-make-autoreconfable.patch 2016-07-31 23:03:03 UTC (rev 7783) +++ branches/1.0/package/logrotate/logrotate-0001-make-autoreconfable.patch 2016-08-03 13:38:07 UTC (rev 7784) @@ -1,20 +0,0 @@ -Make the package autoreconfigurable - -Adjust a minor detail in configure.ac in order to make the package -compatible with the autoconf/automake versions we are using in -Buildroot. - -Signed-off-by: Benoît Thébaudeau <ben...@gm...> - -Index: b/configure.ac -=================================================================== ---- a/configure.ac -+++ b/configure.ac -@@ -2,5 +2,5 @@ - --AM_INIT_AUTOMAKE -+AM_INIT_AUTOMAKE([foreign]) - AC_DEFINE(_GNU_SOURCE) - - AM_EXTRA_RECURSIVE_TARGETS([test]) - Modified: branches/1.0/package/logrotate/logrotate.mk =================================================================== --- branches/1.0/package/logrotate/logrotate.mk 2016-07-31 23:03:03 UTC (rev 7783) +++ branches/1.0/package/logrotate/logrotate.mk 2016-08-03 13:38:07 UTC (rev 7784) @@ -3,15 +3,12 @@ # logrotate # ############################################################# -LOGROTATE_VERSION = 3.9.1 +LOGROTATE_VERSION = 3.10.0 LOGROTATE_SOURCE = logrotate-$(LOGROTATE_VERSION).tar.gz -LOGROTATE_SITE = https://www.fedorahosted.org/releases/l/o/logrotate +LOGROTATE_SITE = https://github.com/logrotate/logrotate/releases/download/$(LOGROTATE_VERSION) LOGROTATE_DEPENDENCIES = popt host-pkg-config -# tarball does not have a generated configure script -LOGROTATE_AUTORECONF = YES - LOGROTATE_CONF_OPT = --without-selinux ifeq ($(BR2_PACKAGE_ACL),y) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <abe...@us...> - 2017-04-29 15:56:35
|
Revision: 8282 http://sourceforge.net/p/astlinux/code/8282 Author: abelbeck Date: 2017-04-29 15:56:32 +0000 (Sat, 29 Apr 2017) Log Message: ----------- logrotate, version bump to 3.12.1, plus upstream build fixes Modified Paths: -------------- branches/1.0/package/logrotate/logrotate.mk Added Paths: ----------- branches/1.0/package/logrotate/logrotate-0001-upstream-werror-fixes.patch Added: branches/1.0/package/logrotate/logrotate-0001-upstream-werror-fixes.patch =================================================================== --- branches/1.0/package/logrotate/logrotate-0001-upstream-werror-fixes.patch (rev 0) +++ branches/1.0/package/logrotate/logrotate-0001-upstream-werror-fixes.patch 2017-04-29 15:56:32 UTC (rev 8282) @@ -0,0 +1,71 @@ +From b66a2c2586875a334fc3f0aa35310ffd0ec6f55d Mon Sep 17 00:00:00 2001 +From: Bert van Hall <ber...@av...> +Date: Fri, 21 Apr 2017 16:26:02 +0200 +Subject: [PATCH] fix unused function error when building without ACL + +Since -Werror is set, building without ACL makes the then unused +is_acl_well_supported function halt the build. Guard it as it is done +with every call of it. + +Signed-off-by: Bert van Hall <ber...@av...> +Closes #119 +--- + logrotate.c | 2 ++ + 1 file changed, 2 insertions(+) + +diff --git a/logrotate.c b/logrotate.c +index 066c4f7..b0be177 100644 +--- a/logrotate.c ++++ b/logrotate.c +@@ -442,6 +442,7 @@ static int runScript(struct logInfo *log, char *logfn, char *script) + return rc; + } + ++#ifdef WITH_ACL + static int is_acl_well_supported(int err) + { + switch (err) { +@@ -454,6 +455,7 @@ static int is_acl_well_supported(int err) + return 1; + } + } ++#endif /* WITH_ACL */ + + static int createOutputFile(char *fileName, int flags, struct stat *sb, + acl_type acl, int force_mode) +From 4c00581c83e112dc83bc55b0ed5daba2fdaf0790 Mon Sep 17 00:00:00 2001 +From: Steven Williamson <st...@fr...> +Date: Mon, 6 Mar 2017 12:29:22 +0000 +Subject: [PATCH] Fixes GCC sentinel error. + +The last argument for sentinel value functions should be a NULL pointer +not just a NULL value. Otherwise GCC 4.x will error with "error: +missing sentinel in function call [-Werror=format=]" + +Closes #108 +--- + logrotate.c | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/logrotate.c b/logrotate.c +index b0be177..dcf1076 100644 +--- a/logrotate.c ++++ b/logrotate.c +@@ -434,7 +434,7 @@ static int runScript(struct logInfo *log, char *logfn, char *script) + exit(1); + } + } +- execl("/bin/sh", "sh", "-c", script, "logrotate_script", logfn, NULL); ++ execl("/bin/sh", "sh", "-c", script, "logrotate_script", logfn, (char *) NULL); + exit(1); + } + +@@ -816,7 +816,7 @@ static int mailLog(struct logInfo *log, char *logFile, const char *mailComm, + exit(1); + } + +- execlp(uncompressCommand, uncompressCommand, NULL); ++ execlp(uncompressCommand, uncompressCommand, (char *) NULL); + exit(1); + } + Modified: branches/1.0/package/logrotate/logrotate.mk =================================================================== --- branches/1.0/package/logrotate/logrotate.mk 2017-04-29 15:23:45 UTC (rev 8281) +++ branches/1.0/package/logrotate/logrotate.mk 2017-04-29 15:56:32 UTC (rev 8282) @@ -3,7 +3,7 @@ # logrotate # ############################################################# -LOGROTATE_VERSION = 3.11.0 +LOGROTATE_VERSION = 3.12.1 LOGROTATE_SOURCE = logrotate-$(LOGROTATE_VERSION).tar.gz LOGROTATE_SITE = https://github.com/logrotate/logrotate/releases/download/$(LOGROTATE_VERSION) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <abe...@us...> - 2017-07-03 15:42:57
|
Revision: 8423 http://sourceforge.net/p/astlinux/code/8423 Author: abelbeck Date: 2017-07-03 15:42:56 +0000 (Mon, 03 Jul 2017) Log Message: ----------- logrotate, version bump to 3.12.3 Modified Paths: -------------- branches/1.0/package/logrotate/logrotate.mk Removed Paths: ------------- branches/1.0/package/logrotate/logrotate-0001-upstream-werror-fixes.patch Deleted: branches/1.0/package/logrotate/logrotate-0001-upstream-werror-fixes.patch =================================================================== --- branches/1.0/package/logrotate/logrotate-0001-upstream-werror-fixes.patch 2017-07-01 22:53:59 UTC (rev 8422) +++ branches/1.0/package/logrotate/logrotate-0001-upstream-werror-fixes.patch 2017-07-03 15:42:56 UTC (rev 8423) @@ -1,71 +0,0 @@ -From b66a2c2586875a334fc3f0aa35310ffd0ec6f55d Mon Sep 17 00:00:00 2001 -From: Bert van Hall <ber...@av...> -Date: Fri, 21 Apr 2017 16:26:02 +0200 -Subject: [PATCH] fix unused function error when building without ACL - -Since -Werror is set, building without ACL makes the then unused -is_acl_well_supported function halt the build. Guard it as it is done -with every call of it. - -Signed-off-by: Bert van Hall <ber...@av...> -Closes #119 ---- - logrotate.c | 2 ++ - 1 file changed, 2 insertions(+) - -diff --git a/logrotate.c b/logrotate.c -index 066c4f7..b0be177 100644 ---- a/logrotate.c -+++ b/logrotate.c -@@ -442,6 +442,7 @@ static int runScript(struct logInfo *log, char *logfn, char *script) - return rc; - } - -+#ifdef WITH_ACL - static int is_acl_well_supported(int err) - { - switch (err) { -@@ -454,6 +455,7 @@ static int is_acl_well_supported(int err) - return 1; - } - } -+#endif /* WITH_ACL */ - - static int createOutputFile(char *fileName, int flags, struct stat *sb, - acl_type acl, int force_mode) -From 4c00581c83e112dc83bc55b0ed5daba2fdaf0790 Mon Sep 17 00:00:00 2001 -From: Steven Williamson <st...@fr...> -Date: Mon, 6 Mar 2017 12:29:22 +0000 -Subject: [PATCH] Fixes GCC sentinel error. - -The last argument for sentinel value functions should be a NULL pointer -not just a NULL value. Otherwise GCC 4.x will error with "error: -missing sentinel in function call [-Werror=format=]" - -Closes #108 ---- - logrotate.c | 4 ++-- - 1 file changed, 2 insertions(+), 2 deletions(-) - -diff --git a/logrotate.c b/logrotate.c -index b0be177..dcf1076 100644 ---- a/logrotate.c -+++ b/logrotate.c -@@ -434,7 +434,7 @@ static int runScript(struct logInfo *log, char *logfn, char *script) - exit(1); - } - } -- execl("/bin/sh", "sh", "-c", script, "logrotate_script", logfn, NULL); -+ execl("/bin/sh", "sh", "-c", script, "logrotate_script", logfn, (char *) NULL); - exit(1); - } - -@@ -816,7 +816,7 @@ static int mailLog(struct logInfo *log, char *logFile, const char *mailComm, - exit(1); - } - -- execlp(uncompressCommand, uncompressCommand, NULL); -+ execlp(uncompressCommand, uncompressCommand, (char *) NULL); - exit(1); - } - Modified: branches/1.0/package/logrotate/logrotate.mk =================================================================== --- branches/1.0/package/logrotate/logrotate.mk 2017-07-01 22:53:59 UTC (rev 8422) +++ branches/1.0/package/logrotate/logrotate.mk 2017-07-03 15:42:56 UTC (rev 8423) @@ -3,7 +3,7 @@ # logrotate # ############################################################# -LOGROTATE_VERSION = 3.12.1 +LOGROTATE_VERSION = 3.12.3 LOGROTATE_SOURCE = logrotate-$(LOGROTATE_VERSION).tar.gz LOGROTATE_SITE = https://github.com/logrotate/logrotate/releases/download/$(LOGROTATE_VERSION) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |