/[smecontribs]/rpms/dansguardian/contribs8/dansguardian.spec
ViewVC logotype

Annotation of /rpms/dansguardian/contribs8/dansguardian.spec

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (hide annotations) (download)
Tue Jul 2 19:04:58 2013 UTC (11 years, 5 months ago) by unnilennium
Branch: MAIN
Changes since 1.1: +9 -3 lines
 new upstream version

1 unnilennium 1.2 # $Id: dansguardian.spec,v 1.1 2013/06/28 12:15:33 unnilennium Exp $
2 unnilennium 1.1 # Authority: dungog
3     # Name: Stephen Noble
4    
5     Name: dansguardian
6 unnilennium 1.2 Version: 2.10.1.1
7     Release: 1%{?dist}
8 unnilennium 1.1 Summary: Content filter
9     License: GNU GPL version 2
10     Url: http://www.dansguardian.org
11     Group: System/Servers
12     Source0: %name-%version.tar.gz
13 unnilennium 1.2 Patch0: dansguardian-gcc44.patch
14 unnilennium 1.1 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
15     BuildRequires: gcc-c++ zlib-devel clamav-devel bzip2-devel gmp-devel pkgconfig
16     Requires: squid clamav
17     #clamav-lib
18    
19     %description
20     DansGuardian is a web content filtering proxy that uses Squid to do all
21     the fetching. It filters using multiple methods. These methods include
22     URL and domain filtering, content phrase filtering, PICS filtering,
23     MIME filtering, file extension filtering, POST limiting.
24    
25     %prep
26     %setup -q
27 unnilennium 1.2 %patch0 -p1
28 unnilennium 1.1
29     %build
30     %configure --datadir=/etc \
31     --enable-clamd \
32     --enable-icap \
33     --enable-ntlm \
34     --enable-trickledm \
35     --enable-fancydm \
36     --enable-email \
37     --enable-pcre=no \
38     --with-logdir=/var/log/dansguardian \
39     --with-proxyuser=clamav \
40     --with-proxygroup=clamav \
41     --with-piddir=/var/run
42     make
43    
44     %install
45     rm -rf $RPM_BUILD_ROOT
46    
47     make DESTDIR=$RPM_BUILD_ROOT install
48     mkdir -p $RPM_BUILD_ROOT/etc/init.d/
49     mkdir -p $RPM_BUILD_ROOT/usr/share/dansguardian
50     touch $RPM_BUILD_ROOT/etc/dansguardian/lists/exceptionfileurllist
51     cp $RPM_BUILD_ROOT/etc/dansguardian/scripts/systemv-init $RPM_BUILD_ROOT/etc/init.d/dansguardian
52     rm -rf $RPM_BUILD_ROOT/usr/share/doc/dansguardian
53    
54     %clean
55     rm -rf $RPM_BUILD_ROOT
56    
57     %pre
58    
59     %post
60     %preun
61     if [ $1 = 0 ]; then
62     /sbin/service %{name} stop 2>/dev/null 1>/dev/null
63     fi
64    
65     %files
66     %defattr(-,root,root)
67     %doc README NEWS ChangeLog AUTHORS COPYING
68     %doc doc/AuthPlugins doc/ContentScanners doc/DownloadManagers doc/FAQ doc/FAQ.html doc/Plugins
69     %attr(0755,root,root) %dir /etc/dansguardian
70     %attr(0644,root,root) %config(noreplace) /etc/dansguardian/*
71     %attr(0755,root,root) /etc/init.d/dansguardian
72     %attr(0755,clamav,nobody) %dir /var/log/dansguardian
73     %attr(0755,root,root) %{_sbindir}/*
74     %attr(0644,root,root) %{_mandir}/*/*
75     %{_datadir}/%{name}/
76    
77     %changelog
78 unnilennium 1.2 * Tue Jul 2 2013 JP Pialasse <tests@pialasse.com> 2.10.1.1-1.sme
79     - Upstream Release 2.10.1.1
80     - Update to build against clamav/clamd 0.97
81    
82 unnilennium 1.1 * Sat Apr 4 2009 Stephen Noble <support@dungog.net> 2.10.0.3-4.sme
83     - build without "--enable-clamav" we use clamd
84    
85     * Sat Apr 4 2009 Stephen Noble <support@dungog.net> 2.10.0.3-3.sme
86     - Upstream Release 2.10.0.3
87     - Update to build against clamav 0.95
88    
89     * Fri Dec 12 2008 Stephen Noble <support@dungog.net> 2.10.0.2-1.sme
90     - Conflicts dungog-dansguardian < 2.9
91     - Upstream Release 2.10.0.2
92    
93     * Thu Oct 9 2008 Shad L. Lords <slords@mail.com> 2.10-1.sme
94     - Upstream Release 2.10
95    
96     * Fri Sep 5 2008 Shad L. Lords <slords@mail.com> 2.9.9.7-1
97     - Upstream Release 2.9.9.7
98     - Update to build against clamav 0.94
99    
100     * Sat May 6 2008 Shad L. Lords <slords@mail.com> 2.9.9.4-1
101     - Upstream Release 2.9.9.4
102    
103     * Sat Apr 19 2008 Shad L. Lords <slords@mail.com> 2.9.9.3-1
104     - Upstream Release 2.9.9.3
105     - Update to build against clamav 0.93
106    
107     * Sat Dec 22 2007 Stephen Noble dungog.net
108     - Upstream Release 2.9.9.2
109    
110     * Sun Oct 28 2007 Stephen Noble dungog.net
111     - rebuild for SME Server 2.9.9.1
112    
113     * Tue Jun 19 2007 Daniel Bartz
114     - rebuild for the centos repo

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed