packages: apache-mod_ruid2/apache-mod_ruid2.spec, apache-mod_ruid2/apache-m...

baggins baggins at pld-linux.org
Thu Mar 10 17:41:09 CET 2011


Author: baggins                      Date: Thu Mar 10 16:41:09 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- rel 3
- set hardcoded default uid/gid to http
- lower min uid/gid to allow setting http as additional group

---- Files affected:
packages/apache-mod_ruid2:
   apache-mod_ruid2.spec (1.3 -> 1.4) , apache-mod_ruid2-uid-gid.patch (NONE -> 1.1)  (NEW)

---- Diffs:

================================================================
Index: packages/apache-mod_ruid2/apache-mod_ruid2.spec
diff -u packages/apache-mod_ruid2/apache-mod_ruid2.spec:1.3 packages/apache-mod_ruid2/apache-mod_ruid2.spec:1.4
--- packages/apache-mod_ruid2/apache-mod_ruid2.spec:1.3	Thu Mar 10 12:56:01 2011
+++ packages/apache-mod_ruid2/apache-mod_ruid2.spec	Thu Mar 10 17:41:04 2011
@@ -5,12 +5,13 @@
 Summary(pl.UTF-8):	Moduł do apache: uruchamiania procesów httpd na prawach użytkowniów
 Name:		apache-mod_%{mod_name}
 Version:	0.9.4
-Release:	2
+Release:	3
 License:	ASL v2.0
 Group:		Networking/Daemons/HTTP
 Source0:	http://sourceforge.net/projects/mod-ruid/files/mod_ruid2/mod_%{mod_name}-%{version}.tar.bz2
 # Source0-md5:	23e43b818c578142689de4d36868391a
 Source1:	mod_%{mod_name}.conf
+Patch0:		%{name}-uid-gid.patch
 URL:		http://mod-ruid.sourceforge.net/
 BuildRequires:	%{apxs}
 BuildRequires:	apache-devel >= 2.0.0
@@ -37,6 +38,7 @@
 
 %prep
 %setup -q -n mod_%{mod_name}-%{version}
+%patch0 -p1
 
 %build
 %{apxs} -l cap -c mod_%{mod_name}.c
@@ -71,6 +73,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.4  2011/03/10 16:41:04  baggins
+- rel 3
+- set hardcoded default uid/gid to http
+- lower min uid/gid to allow setting http as additional group
+
 Revision 1.3  2011/03/10 11:56:01  baggins
 - rel 2
 - we want this module loaded as soon as possible (for example for userdir)

================================================================
Index: packages/apache-mod_ruid2/apache-mod_ruid2-uid-gid.patch
diff -u /dev/null packages/apache-mod_ruid2/apache-mod_ruid2-uid-gid.patch:1.1
--- /dev/null	Thu Mar 10 17:41:09 2011
+++ packages/apache-mod_ruid2/apache-mod_ruid2-uid-gid.patch	Thu Mar 10 17:41:04 2011
@@ -0,0 +1,17 @@
+--- mod_ruid2-0.9.4/mod_ruid2.c~	2011-02-24 15:25:28.000000000 +0100
++++ mod_ruid2-0.9.4/mod_ruid2.c	2011-03-10 17:37:27.670490000 +0100
+@@ -47,10 +47,10 @@
+ #define MODULE_NAME		"mod_ruid2"
+ #define MODULE_VERSION		"0.9.4"
+ 
+-#define RUID_DEFAULT_UID	48
+-#define RUID_DEFAULT_GID	48
+-#define RUID_MIN_UID		100
+-#define RUID_MIN_GID		100
++#define RUID_DEFAULT_UID	51
++#define RUID_DEFAULT_GID	51
++#define RUID_MIN_UID		50
++#define RUID_MIN_GID		50
+ 
+ #define RUID_MAXGROUPS		4
+ 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/apache-mod_ruid2/apache-mod_ruid2.spec?r1=1.3&r2=1.4&f=u



More information about the pld-cvs-commit mailing list