]>
Commit | Line | Data |
---|---|---|
a2cfe8fc CS |
1 | ############################################################################### |
2 | # # | |
3 | # IPFire.org - A linux based firewall # | |
4 | # Copyright (C) 2007, 2008 Michael Tremer & Christian Schmidt # | |
5 | # # | |
6 | # This program is free software: you can redistribute it and/or modify # | |
7 | # it under the terms of the GNU General Public License as published by # | |
8 | # the Free Software Foundation, either version 3 of the License, or # | |
9 | # (at your option) any later version. # | |
10 | # # | |
11 | # This program is distributed in the hope that it will be useful, # | |
12 | # but WITHOUT ANY WARRANTY; without even the implied warranty of # | |
13 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # | |
14 | # GNU General Public License for more details. # | |
15 | # # | |
16 | # You should have received a copy of the GNU General Public License # | |
17 | # along with this program. If not, see <http://www.gnu.org/licenses/>. # | |
18 | # # | |
19 | ############################################################################### | |
20 | ||
21 | ############################################################################### | |
22 | # Definitions | |
23 | ############################################################################### | |
24 | ||
25 | include $(PKGROOT)/Include | |
26 | ||
27 | PKG_NAME = squidGuard | |
28 | PKG_VER = 1.4.1 | |
29 | PKG_REL = 1 | |
30 | ||
31 | PKG_MAINTAINER = Christian Schmidt <christian.schmidt@ipfire.org> | |
32 | PKG_GROUPS = Networking/Daemons | |
33 | PKG_URL = http://www.squidguard.org | |
34 | PKG_LICENSE = GPLv2 | |
35 | PKG_SUMMARY = Filter, redirector and access controller plugin for squid. | |
36 | ||
37 | PKG_BUILD_DEPS+= bison openldap-devel flex db4-devel shadow | |
38 | ||
39 | define PKG_DESCRIPTION | |
40 | SquidGuard is a URL redirector used to use blacklists with the \ | |
41 | proxysoftware Squid. | |
42 | endef | |
43 | ||
44 | PKG_TARBALL = $(THISAPP).tar.gz | |
45 | ||
46 | CONFIGURE_OPTIONS += \ | |
47 | --datadir=/usr/share \ | |
48 | --sysconfdir=/etc \ | |
49 | --localstatedir=/var \ | |
50 | --infodir=/usr/share/info \ | |
51 | --mandir=/usr/share/man \ | |
52 | --with-sg-config=/etc/squidGuard/squidGuard.conf \ | |
53 | --with-sg-logdir=/var/log/squidGuard \ | |
54 | --with-sg-dbhome=/var/lib/squidguard \ | |
55 | --with-db=/usr \ | |
56 | --with-db-inc=/usr/include \ | |
57 | --with-db-lib=/usr/lib \ | |
58 | --with-ldap | |
59 | ||
60 | define STAGE_PREPARE_CMDS | |
61 | groupadd -g 23 -r squid | |
62 | useradd -u 23 -r -s /sbin/nologin -d /var/spool/squid -M \ | |
63 | -c 'Squid proxy user' -g squid squid | |
64 | endef |