SPECS: nabou.spec - missing __make, R: perl-Crypt-Blowfish - -conf...

darekr darekr at pld-linux.org
Fri Dec 23 10:27:07 CET 2005


Author: darekr                       Date: Fri Dec 23 09:27:07 2005 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- missing __make, R: perl-Crypt-Blowfish
- -config patch properly fixes linuxrc (config file from sample_configs),
  so it should be used instead of 'default' config file
- use %banner to inform about steps needed to correct work
- works, rel.2

---- Files affected:
SPECS:
   nabou.spec (1.19 -> 1.20) 

---- Diffs:

================================================================
Index: SPECS/nabou.spec
diff -u SPECS/nabou.spec:1.19 SPECS/nabou.spec:1.20
--- SPECS/nabou.spec:1.19	Tue Dec 13 14:58:51 2005
+++ SPECS/nabou.spec	Fri Dec 23 10:27:01 2005
@@ -4,7 +4,7 @@
 Summary(pl):	Nabou - narzędzie monitorujące integralność systemu
 Name:		nabou
 Version:	2.4
-Release:	1
+Release:	2
 License:	GPL
 Group:		Applications/System
 Source0:	ftp://ftp.daemon.de/scip/Apps/nabou/%{name}-%{version}.tar.gz
@@ -18,6 +18,7 @@
 Requires:	crondaemon
 Requires:	lsof
 Requires:	perl-Config-General
+Requires:	perl-Crypt-Blowfish
 Requires:	perl-Crypt-CBC
 Requires:	perl-Crypt-OpenSSL-RSA
 Requires:	perl-Crypt-OpenSSL-Random
@@ -48,13 +49,14 @@
 Pozwala też zdefiniować własne testy.
 
 %prep
-%setup  -q
+%setup -q
 %patch0 -p1
 %patch1	-p1
 %patch2	-p1
 
 %build
 %configure2_13
+%{__make}
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -65,9 +67,21 @@
 %{__make} install \
 	DESTDIR=$RPM_BUILD_ROOT
 
+install sample_configs/linuxrc $RPM_BUILD_ROOT%{_sysconfdir}/nabourc
+
 %clean
 rm -rf $RPM_BUILD_ROOT
 
+%post
+%banner %{name} -e << EOF
+
+IMPORTANT:
+After generating a public/private keypair (nabou -k), according to the info, 
+copy both block into your nabourc, BUT WITHOUT "sign 1" from <db> block, which 
+already exists. In your config file in <db> block, change existing "sign 1" to "sign 0"
+
+EOF
+
 %files
 %defattr(644,root,root,755)
 %doc README sample_configs
@@ -84,6 +98,13 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.20  2005/12/23 09:27:01  darekr
+- missing __make, R: perl-Crypt-Blowfish
+- -config patch properly fixes linuxrc (config file from sample_configs),
+  so it should be used instead of 'default' config file
+- use %banner to inform about steps needed to correct work
+- works, rel.2
+
 Revision 1.19  2005/12/13 13:58:51  glen
 - adapterized (sorted %verify attrs)
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/nabou.spec?r1=1.19&r2=1.20&f=u



More information about the pld-cvs-commit mailing list