SPECS: initng.spec - use secure root-writable save path when reloa...
glen
glen at pld-linux.org
Mon Oct 17 12:14:44 CEST 2005
Author: glen Date: Mon Oct 17 10:14:44 2005 GMT
Module: SPECS Tag: HEAD
---- Log message:
- use secure root-writable save path when reloading initng
- reload initng on upgrade
---- Files affected:
SPECS:
initng.spec (1.31 -> 1.32)
---- Diffs:
================================================================
Index: SPECS/initng.spec
diff -u SPECS/initng.spec:1.31 SPECS/initng.spec:1.32
--- SPECS/initng.spec:1.31 Sat Oct 15 13:25:13 2005
+++ SPECS/initng.spec Mon Oct 17 12:14:39 2005
@@ -3,12 +3,13 @@
Summary(pl): Zamiennik inita następnej generacji
Name: initng
Version: 0.3.3
-Release: 0.2
+Release: 0.3
License: GPL v2
Group: Base
Source0: http://initng.thinktux.net/download/v0.3/%{name}-%{version}.tar.bz2
# Source0-md5: f532ff517216a43d994a07d658b68ed0
Patch0: %{name}-lib64.patch
+Patch1: %{name}-savefile.patch
#Patch2: %{name}-utmpx.patch
URL: http://jw.dyndns.org/initng/
BuildRequires: sed >= 4.0
@@ -69,7 +70,7 @@
%prep
%setup -q
%patch0 -p1
-#%patch2 -p1
+%patch1 -p1
%build
%configure \
@@ -78,8 +79,8 @@
--libdir=/%{_lib} \
%{__make} \
- CFLAGS='-DINITNG_PLUGIN_DIR=\"/%{_lib}/%{name}\" %{rpmcflags}' \
- LDFLAGS="%{rpmldflags}"
+ CPPFLAGS='-DINITNG_PLUGIN_DIR=\"/%{_lib}/%{name}\" -DSAVE_FILE=\"/var/run/initng_db_save.v7\"'
+
%install
rm -rf $RPM_BUILD_ROOT
@@ -103,6 +104,8 @@
echo >&2 "Happy testing."
fi
+/sbin/ngc -c > /dev/null || :
+
%postun -p /sbin/ldconfig
%files
@@ -183,6 +186,10 @@
All persons listed below can be reached at <cvs_login>@pld-linux.org
$Log$
+Revision 1.32 2005/10/17 10:14:39 glen
+- use secure root-writable save path when reloading initng
+- reload initng on upgrade
+
Revision 1.31 2005/10/15 11:25:13 glen
- use _exec_prefix macro
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SPECS/initng.spec?r1=1.31&r2=1.32&f=u
More information about the pld-cvs-commit
mailing list