[packages/logrotate] - rel 2; largefile support

arekm arekm at pld-linux.org
Thu Dec 11 12:20:37 CET 2014


commit b66003256e97b4e857f24f2015edcc5478d91da3
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date:   Thu Dec 11 12:20:32 2014 +0100

    - rel 2; largefile support

 logrotate-largefile.patch | 11 +++++++++++
 logrotate.spec            |  4 +++-
 2 files changed, 14 insertions(+), 1 deletion(-)
---
diff --git a/logrotate.spec b/logrotate.spec
index 1f12fa5..3f2237f 100644
--- a/logrotate.spec
+++ b/logrotate.spec
@@ -20,7 +20,7 @@ Summary(tr.UTF-8):	Sistem günlüklerini yönlendirir, sıkıştırır ve mektup
 Summary(uk.UTF-8):	Ротує, компресує, видаляє та відправляє поштою лог-файли
 Name:		logrotate
 Version:	3.8.8
-Release:	1
+Release:	2
 License:	GPL v2
 Group:		Applications/System
 Source0:	https://fedorahosted.org/releases/l/o/logrotate/%{name}-%{version}.tar.gz
@@ -31,6 +31,7 @@ Source3:	%{name}.cron
 Source4:	%{name}.crontab
 Patch1:		%{name}-man.patch
 Patch2:		tabooext.patch
+Patch3:		%{name}-largefile.patch
 URL:		https://fedorahosted.org/logrotate/
 %{?with_acl:BuildRequires:	acl-devel}
 BuildRequires:	autoconf >= 2.50
@@ -119,6 +120,7 @@ Logrotate призначений для полегшення адміністр
 %setup -q
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 echo '
 #undef STATEFILE
diff --git a/logrotate-largefile.patch b/logrotate-largefile.patch
new file mode 100644
index 0000000..f9745fb
--- /dev/null
+++ b/logrotate-largefile.patch
@@ -0,0 +1,11 @@
+--- logrotate-3.8.8/configure.ac~	2014-10-16 13:12:35.000000000 +0200
++++ logrotate-3.8.8/configure.ac	2014-12-11 12:17:56.206325620 +0100
+@@ -8,6 +8,8 @@
+ AC_PROG_CC
+ AC_PROG_CC_STDC
+ 
++AC_SYS_LARGEFILE
++
+ AC_CHECK_LIB([popt],[poptParseArgvString],,
+   AC_MSG_ERROR([libpopt required but not found]))
+ 
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/logrotate.git/commitdiff/b66003256e97b4e857f24f2015edcc5478d91da3



More information about the pld-cvs-commit mailing list