]>
Commit | Line | Data |
---|---|---|
1 | ############################################################################### | |
2 | # IPFire.org - An Open Source Firewall Solution # | |
3 | # Copyright (C) - IPFire Development Team <info@ipfire.org> # | |
4 | ############################################################################### | |
5 | ||
6 | name = squidGuard | |
7 | version = 1.4.1 | |
8 | release = 1 | |
9 | ||
10 | maintainer = Christian Schmidt <christian.schmidt@ipfire.org> | |
11 | groups = Networking/Daemons | |
12 | url = http://www.squidguard.org | |
13 | license = GPLv2 | |
14 | summary = Filter, redirector and access controller plugin for squid. | |
15 | ||
16 | description | |
17 | SquidGuard is a URL redirector used to use blacklists with the | |
18 | proxysoftware Squid. | |
19 | end | |
20 | ||
21 | source_dl = http://www.squidguard.org/Downloads/ | |
22 | ||
23 | build | |
24 | requires | |
25 | bison | |
26 | openldap-devel | |
27 | flex | |
28 | db4-devel | |
29 | shadow | |
30 | end | |
31 | ||
32 | configure_options += \ | |
33 | --datadir=/usr/share \ | |
34 | --sysconfdir=/etc \ | |
35 | --localstatedir=/var \ | |
36 | --infodir=/usr/share/info \ | |
37 | --mandir=/usr/share/man \ | |
38 | --with-sg-config=/etc/squidGuard/squidGuard.conf \ | |
39 | --with-sg-logdir=/var/log/squidGuard \ | |
40 | --with-sg-dbhome=/var/lib/squidguard \ | |
41 | --with-db=/usr \ | |
42 | --with-db-inc=/usr/include \ | |
43 | --with-db-lib=/usr/lib \ | |
44 | --with-ldap | |
45 | ||
46 | prepare_cmds | |
47 | groupadd -g 23 -r squid | |
48 | useradd -u 23 -r -s /sbin/nologin -d /var/spool/squid -M \ | |
49 | -c 'Squid proxy user' -g squid squid | |
50 | end | |
51 | end | |
52 | ||
53 | packages | |
54 | package %{name} | |
55 | end | |
56 | end |