SPECS: tac_plus.spec - build with db, mysql, postgres, ldap - patc...

zbyniu zbyniu at pld-linux.org
Fri Jul 1 01:54:10 CEST 2005


Author: zbyniu                       Date: Thu Jun 30 23:54:10 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- build with db, mysql, postgres, ldap
- patches mysql4, ldap-alt.patch
- renamed sysconfig file to %{name}.sysconfig

---- Files affected:
SPECS:
   tac_plus.spec (1.7 -> 1.8) 

---- Diffs:

================================================================
Index: SPECS/tac_plus.spec
diff -u SPECS/tac_plus.spec:1.7 SPECS/tac_plus.spec:1.8
--- SPECS/tac_plus.spec:1.7	Thu May 13 19:06:41 2004
+++ SPECS/tac_plus.spec	Fri Jul  1 01:54:05 2005
@@ -19,14 +19,19 @@
 Source5:	%{name}.sql
 Source6:	%{name}.rotate
 Source7:	README.LDAP
-Source8:	%{name}
+Source8:	%{name}.sysconfig
 Patch0:		%{name}.patch
 Patch1:		%{name}_v9a.patch
+Patch2:		%{name}-mysql4.patch
+Patch3:		%{name}-ldap-alt.patch
 URL:		http://www.gazi.edu.tr/tacacs/
 BuildRequires:	automake
 BuildRequires:	autoconf
 BuildRequires:	libwrap-devel
+BuildRequires:	mysql-devel
+BuildRequires:	openldap-devel
 BuildRequires:	pam-devel
+BuildRequires:	postgresql-devel
 PreReq:		rc-scripts
 Requires(pre):	fileutils
 Requires(post,preun):	/sbin/chkconfig
@@ -45,6 +50,8 @@
 %setup -q -n tac_plus.%{version}.%{subver}
 %patch0 -p1
 %patch1 -p1
+%patch2 -p1
+%patch3 -p1
 
 rm -f configure
 
@@ -56,7 +63,10 @@
 	--with-pam \
 	--enable-maxsess \
 	--with-libwrap \
-	--without-db
+	--with-db \
+	--with-ldap \
+	--with-pgsql \
+	--with-mysql
 
 # configure script have some options describe below
 # --with-pam  : For PAM support
@@ -96,8 +106,6 @@
 %clean
 rm -rf $RPM_BUILD_ROOT
 
-%pre
-
 %post
 /sbin/chkconfig --add tac_plus
 echo "Type \"/etc/rc.d/init.d/tac_plus start\" to start tac_plus" 1>&2
@@ -116,10 +124,10 @@
 %attr(755,root,root) %{_sbindir}/generate_passwd
 %attr(755,root,root) %{_sbindir}/tac_plus
 %dir %{_sysconfdir}/tacacs
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) %{_sysconfdir}/tacacs/tac_plus.cfg
-%config(noreplace) %verify(not size mtime md5) /etc/logrotate.d/tac_plus
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/pam.d/tac_plus
-%attr(640,root,root) %config(noreplace) %verify(not size mtime md5) /etc/sysconfig/tac_plus
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/tacacs/tac_plus.cfg
+%config(noreplace) %verify(not md5 mtime size) /etc/logrotate.d/tac_plus
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/pam.d/tac_plus
+%attr(640,root,root) %config(noreplace) %verify(not md5 mtime size) /etc/sysconfig/tac_plus
 %attr(754,root,root) /etc/rc.d/init.d/tac_plus
 %{_mandir}/man1/*
 
@@ -129,6 +137,11 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.8  2005/06/30 23:54:05  zbyniu
+- build with db, mysql, postgres, ldap
+- patches mysql4, ldap-alt.patch
+- renamed sysconfig file to %{name}.sysconfig
+
 Revision 1.7  2004/05/13 17:06:41  ankry
 - spaces -> tabs, other cosmetics
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/tac_plus.spec?r1=1.7&r2=1.8&f=u




More information about the pld-cvs-commit mailing list