]> git.pld-linux.org Git - packages/dansguardian.git/commitdiff
- %%define cgidir
authordomelu <domelu@pld-linux.org>
Sun, 6 Mar 2005 23:21:54 +0000 (23:21 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- added some dirs to install -d

Changed files:
    dansguardian.spec -> 1.7

dansguardian.spec

index c43da73970e602834736edf1d1cdb36051fdc8bb..dcf2c9a35df120963a475a4118f7950519c1dab4 100644 (file)
@@ -19,6 +19,8 @@ PreReq:               rc-scripts
 Requires(post,preun):  /sbin/chkconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 Requires(post,preun):  /sbin/chkconfig
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
+%define                cgidir          /home/services/httpd/cgi-bin
+
 %description
 DansGuardian is a web filtering engine that checks the content within
 the page itself in addition to the more traditional URL filtering.
 %description
 DansGuardian is a web filtering engine that checks the content within
 the page itself in addition to the more traditional URL filtering.
@@ -61,9 +63,10 @@ POST.
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man8} \
 %install
 rm -rf $RPM_BUILD_ROOT
 install -d $RPM_BUILD_ROOT{%{_bindir},%{_mandir}/man8} \
-       $RPM_BUILD_ROOT%{_sysconfdir}/dansguardian \
+       $RPM_BUILD_ROOT%{_sysconfdir}/{dansguardian,httpd/httpd.conf} \
        $RPM_BUILD_ROOT%{_datadir}/dansguardian/{languages,phraselists,pics,logrotation} \
        $RPM_BUILD_ROOT%{_datadir}/dansguardian/{languages,phraselists,pics,logrotation} \
-       $RPM_BUILD_ROOT/etc/logrotate.d
+       $RPM_BUILD_ROOT/etc/{rc.d/init.d,logrotate.d} \
+       $RPM_BUILD_ROOT%{cgidir}
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/dansguardian
 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/httpd.conf/dansguardian.conf
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/dansguardian
 install %{SOURCE2} $RPM_BUILD_ROOT%{_sysconfdir}/httpd/httpd.conf/dansguardian.conf
This page took 0.054927 seconds and 4 git commands to generate.