OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /e/openpkg/cvs Email: [EMAIL PROTECTED] Module: openpkg-src Date: 27-Dec-2004 13:16:50 Branch: HEAD Handle: 2004122712165000 Modified files: openpkg-src/softflowd softflowd.spec Log: fix run-time user and run-time directory Summary: Revision Changes Path 1.5 +7 -2 openpkg-src/softflowd/softflowd.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/softflowd/softflowd.spec ============================================================================ $ cvs diff -u -r1.4 -r1.5 softflowd.spec --- openpkg-src/softflowd/softflowd.spec 27 Dec 2004 12:03:51 -0000 1.4 +++ openpkg-src/softflowd/softflowd.spec 27 Dec 2004 12:16:50 -0000 1.5 @@ -81,6 +81,10 @@ %{l_shtool} subst \ -e 's;/var/run/;%{l_prefix}/var/softflowd/;g' \ common.h + %{l_shtool} subst \ + -e 's;/var/empty;%{l_prefix}/var/softflowd/empty;g' \ + -e 's;nobody;%{l_nusr};g' \ + softflowd.h CC="%{l_cc}" \ CFLAGS="%{l_cflags -O}" \ CPPFLAGS="%{l_cppflags}" \ @@ -100,7 +104,7 @@ $RPM_BUILD_ROOT%{l_prefix}/etc/fsl \ $RPM_BUILD_ROOT%{l_prefix}/sbin \ $RPM_BUILD_ROOT%{l_prefix}/man/man8 \ - $RPM_BUILD_ROOT%{l_prefix}/var/softflowd + $RPM_BUILD_ROOT%{l_prefix}/var/softflowd/empty # install program and manual pages %{l_shtool} install -c -s -m 755 \ @@ -120,7 +124,8 @@ %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ %{l_files_std} \ '%not %dir %{l_prefix}/etc/fsl' \ - '%config %{l_prefix}/etc/fsl/fsl.softflowd' + '%config %{l_prefix}/etc/fsl/fsl.softflowd' \ + '%attr(-,%{l_nusr},%{l_ngrp}) %{l_prefix}/var/softflowd/empty' %files -f files @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org