]> git.ipfire.org Git - ipfire-3.x.git/blame - pkgs/squidGuard/squidGuard.nm
avahi: Update to 0.6.30.
[ipfire-3.x.git] / pkgs / squidGuard / squidGuard.nm
CommitLineData
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
25include $(PKGROOT)/Include
26
27PKG_NAME = squidGuard
28PKG_VER = 1.4.1
29PKG_REL = 1
30
31PKG_MAINTAINER = Christian Schmidt <christian.schmidt@ipfire.org>
32PKG_GROUPS = Networking/Daemons
33PKG_URL = http://www.squidguard.org
34PKG_LICENSE = GPLv2
35PKG_SUMMARY = Filter, redirector and access controller plugin for squid.
36
37PKG_BUILD_DEPS+= bison openldap-devel flex db4-devel shadow
38
39define PKG_DESCRIPTION
40 SquidGuard is a URL redirector used to use blacklists with the \
41 proxysoftware Squid.
42endef
43
44PKG_TARBALL = $(THISAPP).tar.gz
45
46CONFIGURE_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
60define 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
64endef