SPECS: gradm.spec - bcond debug; added my patches: ignore-repos.patch num-u...

zbyniu zbyniu at pld-linux.org
Wed Oct 22 11:17:59 CEST 2008


Author: zbyniu                       Date: Wed Oct 22 09:17:59 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- bcond debug; added my patches: ignore-repos.patch num-ugid.patch
- cap_invert.patch num-protocols.patch show-trans.patch - descs in files

---- Files affected:
SPECS:
   gradm.spec (1.45 -> 1.46) 

---- Diffs:

================================================================
Index: SPECS/gradm.spec
diff -u SPECS/gradm.spec:1.45 SPECS/gradm.spec:1.46
--- SPECS/gradm.spec:1.45	Tue May 20 20:56:18 2008
+++ SPECS/gradm.spec	Wed Oct 22 11:17:53 2008
@@ -6,10 +6,11 @@
 # Conditional build:
 %bcond_without	dist_kernel	# without kernel from distribution 
 %bcond_with	static		# build static version
+%bcond_with	debug		# build debug version
 #
 %define 	grsec_version	2.1.12
 %define		snap		200805181037
-%define		rel		1
+%define		rel		1.1
 Summary:	GrSecurity ACL Administration
 Summary(pl.UTF-8):	Administracja ACL GrSecurity
 Name:		gradm
@@ -23,6 +24,11 @@
 Source1:	http://www.grsecurity.net/gracldoc.htm
 # Source1-md5:	010802958eaed78e4c370f4f5ce142b5
 Patch0:		%{name}-caps.patch
+Patch1:		%{name}-ignore-repos.patch
+Patch2:		%{name}-num-ugid.patch
+Patch3:		%{name}-cap_invert.patch
+Patch4:		%{name}-num-protocols.patch
+Patch5:		%{name}-show-trans.patch
 URL:		http://www.grsecurity.net/
 BuildRequires:	bison
 BuildRequires:	flex
@@ -47,6 +53,11 @@
 %prep
 %setup -q -n %{name}2
 %patch0 -p1
+%patch1 -p1
+%patch2 -p1
+%patch3 -p1
+%patch4 -p1
+%patch5 -p1
 cp -f %{SOURCE1} .
 
 %build
@@ -54,7 +65,7 @@
 %{__make} \
 	CC="%{__cc}" \
 	YACC=/usr/bin/bison \
-	OPT_FLAGS="%{rpmcflags}"
+	OPT_FLAGS="%{rpmcflags} %{?with_debug:-DGRADM_DEBUG}"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -85,6 +96,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.46  2008/10/22 09:17:53  zbyniu
+- bcond debug; added my patches: ignore-repos.patch num-ugid.patch
+- cap_invert.patch num-protocols.patch show-trans.patch - descs in files
+
 Revision 1.45  2008/05/20 18:56:18  zbyniu
 - up to 2.1.12-200805181037
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/gradm.spec?r1=1.45&r2=1.46&f=u



More information about the pld-cvs-commit mailing list