packages: mongodb/mongodb.logrotate, mongodb/mongodb.spec - rel 2 - logrota...

baggins baggins at pld-linux.org
Sun Feb 5 12:10:57 CET 2012


Author: baggins                      Date: Sun Feb  5 11:10:57 2012 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 2
- logrotate 3.8.0 requires "su" option for non-root writable dirs

---- Files affected:
packages/mongodb:
   mongodb.logrotate (1.1 -> 1.2) , mongodb.spec (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: packages/mongodb/mongodb.logrotate
diff -u packages/mongodb/mongodb.logrotate:1.1 packages/mongodb/mongodb.logrotate:1.2
--- packages/mongodb/mongodb.logrotate:1.1	Fri Sep 17 05:26:13 2010
+++ packages/mongodb/mongodb.logrotate	Sun Feb  5 12:10:52 2012
@@ -1,11 +1,12 @@
 /var/log/mongo/*.log {
-  weekly
-  rotate 10
-  copytruncate
-  delaycompress
-  compress
-  notifempty
-  missingok
+	su mongod mongod
+	weekly
+	rotate 10
+	copytruncate
+	delaycompress
+	compress
+	notifempty
+	missingok
 }
 
 

================================================================
Index: packages/mongodb/mongodb.spec
diff -u packages/mongodb/mongodb.spec:1.19 packages/mongodb/mongodb.spec:1.20
--- packages/mongodb/mongodb.spec:1.19	Thu Dec  1 11:28:04 2011
+++ packages/mongodb/mongodb.spec	Sun Feb  5 12:10:52 2012
@@ -4,7 +4,7 @@
 Summary(pl.UTF-8):	Powłoka kliencka i narzędzia dla bazy danych MongoDB
 Name:		mongodb
 Version:	2.0.1
-Release:	1
+Release:	2
 License:	AGPL v3
 Group:		Applications/Databases
 Source0:	http://downloads.mongodb.org/src/%{name}-src-r%{version}.tar.gz
@@ -103,8 +103,6 @@
 Summary(pl.UTF-8):	Serwer MongoDB, serwer dzielący oraz skrypty pomocnicze
 Group:		Applications/Databases
 Requires:	%{name} = %{version}-%{release}
-Provides:	group(mongod)
-Provides:	user(mongod)
 Requires(post,preun):	/sbin/chkconfig
 Requires(postun):	/usr/sbin/groupdel
 Requires(postun):	/usr/sbin/userdel
@@ -113,6 +111,9 @@
 Requires(pre):	/usr/sbin/groupadd
 Requires(pre):	/usr/sbin/useradd
 Requires:	rc-scripts
+Provides:	group(mongod)
+Provides:	user(mongod)
+Conflicts:	logrotate < 3.8.0
 
 %description server
 Mongo (from "huMONGOus") is a schema-free document-oriented database.
@@ -252,6 +253,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2012/02/05 11:10:52  baggins
+- rel 2
+- logrotate 3.8.0 requires "su" option for non-root writable dirs
+
 Revision 1.19  2011/12/01 10:28:04  baggins
 - fixed libraries ordering for linking
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mongodb/mongodb.logrotate?r1=1.1&r2=1.2&f=u
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/mongodb/mongodb.spec?r1=1.19&r2=1.20&f=u



More information about the pld-cvs-commit mailing list