debian/0000755000000000000000000000000012270547112007167 5ustar debian/compat0000644000000000000000000000000211740350734010370 0ustar 8 debian/man/0000755000000000000000000000000011745103052007737 5ustar debian/man/update-squidguard.pod0000644000000000000000000000304711742130012014070 0ustar =for header manpage: UPDATE-SQUIDGUARD section: 1 title: SquidGuard documentation version: Version 1.5 datum: 2012-04-15 =encoding utf8 =head1 NAME update-squidguard - Update script for SquidGuard. =head1 SYNOPSIS B =head1 DESCRIPTION This script performs a database rebuild for any blacklists listed in the default Squidguard config file `/etc/squid/squidGuard.conf'. After rebuilding the databases it will reload Squid / Squid3 so that it will make use of the updated lists. =head1 OPTIONS =over 4 =item B<-v | --verbose> Show some more information and switch on progress bar when updating database. =item B<-c | --checkdb> Check Berkeley DB version and rebuild full database only if Berkeley DB version have changed. This option should be used after upgrade of squidguard to reduce wasteful wait time. =back =head1 COPYRIGHT and LICENSE Copyright (C) 2003 Ivan E. Moore II, 2010-2012 Joachim Wiedorn This script is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. =head1 AUTHOR B was written by Ivan E. Moore II and updated by Joachim Wiedorn. This manual page was written by Joachim Wiedorn for the Debian project (and may be used by others). =head1 SEE ALSO B(1), B(1), B(1), B(1) =cut debian/man/hostbyname.10000644000000000000000000000602411745103052012174 0ustar .\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is turned on, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .ie \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . nr % 0 . rr F .\} .el \{\ . de IX .. .\} .\" ======================================================================== .\" .IX Title "HOSTBYNAME 1" .TH HOSTBYNAME 1 "2012-04-20" "Version 1.5" "SquidGuard documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" hostbyname \- Expand domain or urls list with IP addresses .SH "SYNOPSIS" .IX Header "SYNOPSIS" \&\fBhostbyname\fR < urls > \fIurls+ip\fR .PP \&\fBhostbyname\fR < domains > \fIdomains+ip\fR .SH "DESCRIPTION" .IX Header "DESCRIPTION" Hostbyname takes a squidGuard domain or urls list and does some half harted effort to expand it with the corresponding IP-addresses. .SH "COPYRIGHT and LICENSE" .IX Header "COPYRIGHT and LICENSE" Copyright (C) 2000 Pål Baltzersen .PP This script is free software; you can redistribute it and/or modify it under the terms of the \s-1GNU\s0 General Public License version 2 as published by the Free Software Foundation. .PP On Debian systems, the complete text of the \s-1GNU\s0 General Public License version 2 can be found in `/usr/share/common\-licenses/GPL\-2'. .SH "AUTHOR" .IX Header "AUTHOR" \&\fBhostbyname\fR was written by Pål Baltzersen. .PP This manual page was written by Joachim Wiedorn for the Debian project (and may be used by others). .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBsquidGuard\fR(1), \fBupdate-squidguard\fR(1) debian/man/hostbyname.pod0000644000000000000000000000210311745103052012610 0ustar =for header manpage: HOSTBYNAME section: 1 title: SquidGuard documentation version: Version 1.5 datum: 2012-04-20 =encoding utf8 =head1 NAME hostbyname - Expand domain or urls list with IP addresses =head1 SYNOPSIS B < urls > I B < domains > I =head1 DESCRIPTION Hostbyname takes a squidGuard domain or urls list and does some half harted effort to expand it with the corresponding IP-addresses. =head1 COPYRIGHT and LICENSE Copyright (C) 2000 Pål Baltzersen This script is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. =head1 AUTHOR B was written by Pål Baltzersen. This manual page was written by Joachim Wiedorn for the Debian project (and may be used by others). =head1 SEE ALSO B(1), B(1) =cut debian/man/pod2manpage0000644000000000000000000000474011745103052012064 0ustar #!/bin/sh # # pod2manpage - convert pod file into manual page # # Copyright 2009-2010 Joachim Wiedorn # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. set -e if ! test /usr/bin/pod2man; then echo "$0: Programm pod2man not found on the system!" echo "$0: Please install perl (>= 5.6.0) on your system." exit 1 fi if test -z "$1"; then echo "Usage: $0 " echo "" echo " The file manpage.pod needs a header with six lines:" echo " =for header" echo " manpage: " echo " section: " echo " title: " echo " version: <version number>" echo " datum: <modification date>" echo "" exit 0 fi if ! test -e "$1"; then echo "$0: File $1 not found - Abort!" exit 1 fi NAME=`echo "$1" | sed -e 's/\.pod$//g'` if ! test -e "${NAME}.pod"; then echo "$0: File $1 is not a podfile - Abort!" exit 1 fi # read file header SUCH=manpage manpage=$(head -n7 "$1" | grep $SUCH | sed -e "s/\.*${SUCH}\:\ *\(.*\)/\1/") SUCH=section section=$(head -n7 "$1" | grep $SUCH | sed -e "s/\.*${SUCH}\:\ *\(.*\)/\1/") SUCH=title title=$(head -n7 "$1" | grep $SUCH | sed -e "s/\.*${SUCH}\:\ *\(.*\)/\1/") SUCH=version version=$(head -n7 "$1" | grep $SUCH | sed -e "s/\.*${SUCH}\:\ *\(.*\)/\1/") SUCH=datum datum=$(head -n7 "$1" | grep $SUCH | sed -e "s/\.*${SUCH}\:\ *\(.*\)/\1/") # check for utf8 encoding mycoding="" if [ `head -n20 $1 | grep ^=encoding | grep -c -i utf` -eq 1 ]; then mycoding="--utf8" fi # convert pod to manpage pod2man --section="$section" --center "$title" \ --release="$version" --date="$datum" ${mycoding} \ ${NAME}.pod ${NAME}.${section} #man ./${NAME}.${section} echo "Manpage ${NAME}.${section} created." ��������������������������������debian/man/sgclean.1��������������������������������������������������������������������������������0000644�0000000�0000000�00000006173�11745103052�011444� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������.\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is turned on, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .ie \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . nr % 0 . rr F .\} .el \{\ . de IX .. .\} .\" ======================================================================== .\" .IX Title "SGCLEAN 1" .TH SGCLEAN 1 "2012-04-20" "Version 1.5" "SquidGuard documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" sgclean \- Removing redundant entries in blacklists .SH "SYNOPSIS" .IX Header "SYNOPSIS" \&\fBsgclean\fR \fIconfigfile\fR .SH "DESCRIPTION" .IX Header "DESCRIPTION" \&\fBsgclean\fR removes redundant entries in domain files and urls files. .PP \&\fBsgclean\fR always need explicit the `configfile' i.e. `/etc/squidguard/squidGuard.conf'. .PP Although \fBsgclean\fR makes a backup of the old files, it's always a good idea to make your own backup before running the program. .SH "COPYRIGHT and LICENSE" .IX Header "COPYRIGHT and LICENSE" Copyright (C) 1999 Lars Erik Håland .PP This script is free software; you can redistribute it and/or modify it under the terms of the \s-1GNU\s0 General Public License version 2 as published by the Free Software Foundation. .PP On Debian systems, the complete text of the \s-1GNU\s0 General Public License version 2 can be found in `/usr/share/common\-licenses/GPL\-2'. .SH "AUTHOR" .IX Header "AUTHOR" \&\fBsgclean\fR was written by Lars Erik Håland. .PP This manual page was written by Joachim Wiedorn <ad_debian at joonet.de> for the Debian project (and may be used by others). .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBsquidGuard\fR(1), \fBupdate-squidguard\fR(1) �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/man/sgclean.pod������������������������������������������������������������������������������0000644�0000000�0000000�00000002245�11745103052�012062� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������=for header manpage: SGCLEAN section: 1 title: SquidGuard documentation version: Version 1.5 datum: 2012-04-20 =encoding utf8 =head1 NAME sgclean - Removing redundant entries in blacklists =head1 SYNOPSIS B<sgclean> I<configfile> =head1 DESCRIPTION B<sgclean> removes redundant entries in domain files and urls files. B<sgclean> always need explicit the `configfile' i.e. `/etc/squidguard/squidGuard.conf'. Although B<sgclean> makes a backup of the old files, it's always a good idea to make your own backup before running the program. =head1 COPYRIGHT and LICENSE Copyright (C) 1999 Lars Erik Håland This script is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. =head1 AUTHOR B<sgclean> was written by Lars Erik Håland. This manual page was written by Joachim Wiedorn <ad_debian at joonet.de> for the Debian project (and may be used by others). =head1 SEE ALSO B<squidGuard>(1), B<update-squidguard>(1) =cut �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/man/squidGuard.1�����������������������������������������������������������������������������0000644�0000000�0000000�00000010200�11745103052�012122� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������.\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is turned on, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .ie \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . nr % 0 . rr F .\} .el \{\ . de IX .. .\} .\" ======================================================================== .\" .IX Title "SQUIDGUARD 1" .TH SQUIDGUARD 1 "2012-04-20" "Version 1.5" "SquidGuard documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" squidGuard \- Filter and redirector plugin for Squid and Squid3 .SH "SYNOPSIS" .IX Header "SYNOPSIS" \&\fBsquidGuard\fR \fI[\-u]\fR \fI[\-C block\fR]> \fI[\-b]\fR \fI[\-t time]\fR \fI[\-c file]\fR \fI[\-d]\fR \fI[\-P]\fR \fI[\-v]\fR \fI[\-h]\fR .SH "DESCRIPTION" .IX Header "DESCRIPTION" \&\fBsquidGuard\fR is flexible and ultra fast filter, redirector and access controller plugin for squid. It lets you define multiple access rules with different restrictions for different user groups on a squid cache. squidGuard uses squid's standard redirector interface. .SH "OPTIONS" .IX Header "OPTIONS" .IP "\fB\-u\fR" 4 .IX Item "-u" Update .db files from .diff files. .IP "\fB\-C\fR \fIfile\fR|all" 4 .IX Item "-C file|all" Create new .db files from urls/domain files, which are specified in \*(L"file\*(R". .IP "\fB\-b\fR" 4 .IX Item "-b" Switch on progress bar when updating the blacklists. .IP "\fB\-t\fR \fItime\fR" 4 .IX Item "-t time" Specify startup time in the format: yyyy\-mm\-ddTHH:MM:SS .IP "\fB\-c\fR \fIfile\fR" 4 .IX Item "-c file" Load alternate config file. .IP "\fB\-d\fR" 4 .IX Item "-d" Send all errors to stderr. .IP "\fB\-P\fR" 4 .IX Item "-P" Do not go into emergency mode when an error with blacklists is encountered. .IP "\fB\-v\fR" 4 .IX Item "-v" Show version number. .IP "\fB\-h\fR" 4 .IX Item "-h" Show the short help. .SH "COPYRIGHT and LICENSE" .IX Header "COPYRIGHT and LICENSE" Copyright (c) 1999 Tele Danmark InterNordia, Oslo, Norway .PP Copyright (c) 2006\-2011 Shalla Secure Services, Gauting, Germany .PP This package is free software; you can redistribute it and/or modify it under the terms of the \s-1GNU\s0 General Public License version 2 as published by the Free Software Foundation. .PP On Debian systems, the complete text of the \s-1GNU\s0 General Public License version 2 can be found in `/usr/share/common\-licenses/GPL\-2'. .SH "AUTHOR" .IX Header "AUTHOR" \&\fBsquidguard\fR was written by Pål Baltzersen and Lars Erik Håland. .PP This manual page was written by Joachim Wiedorn <ad_debian at joonet.de> for the Debian project (and may be used by others). .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBupdate-squidguard\fR(1), \fBsquid\fR(8), \fBsgclean\fR(1), \fBhostbyname\fR(1) ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/man/squidGuard.pod���������������������������������������������������������������������������0000644�0000000�0000000�00000003700�11745103052�012553� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������=for header manpage: SQUIDGUARD section: 1 title: SquidGuard documentation version: Version 1.5 datum: 2012-04-20 =encoding utf8 =head1 NAME squidGuard - Filter and redirector plugin for Squid and Squid3 =head1 SYNOPSIS B<squidGuard> I<[-u]> I<[-C block>]> I<[-b]> I<[-t time]> I<[-c file]> I<[-d]> I<[-P]> I<[-v]> I<[-h]> =head1 DESCRIPTION B<squidGuard> is flexible and ultra fast filter, redirector and access controller plugin for squid. It lets you define multiple access rules with different restrictions for different user groups on a squid cache. squidGuard uses squid's standard redirector interface. =head1 OPTIONS =over 4 =item B<-u> Update .db files from .diff files. =item B<-C> I<file>|all Create new .db files from urls/domain files, which are specified in "file". =item B<-b> Switch on progress bar when updating the blacklists. =item B<-t> I<time> Specify startup time in the format: yyyy-mm-ddTHH:MM:SS =item B<-c> I<file> Load alternate config file. =item B<-d> Send all errors to stderr. =item B<-P> Do not go into emergency mode when an error with blacklists is encountered. =item B<-v> Show version number. =item B<-h> Show the short help. =back =head1 COPYRIGHT and LICENSE Copyright (c) 1999 Tele Danmark InterNordia, Oslo, Norway Copyright (c) 2006-2011 Shalla Secure Services, Gauting, Germany This package is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License version 2 can be found in `/usr/share/common-licenses/GPL-2'. =head1 AUTHOR B<squidguard> was written by Pål Baltzersen and Lars Erik Håland. This manual page was written by Joachim Wiedorn <ad_debian at joonet.de> for the Debian project (and may be used by others). =head1 SEE ALSO B<update-squidguard>(1), B<squid>(8), B<sgclean>(1), B<hostbyname>(1) =cut ����������������������������������������������������������������debian/man/update-squidguard.1����������������������������������������������������������������������0000644�0000000�0000000�00000007130�11745103052�013452� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������.\" Automatically generated by Pod::Man 2.22 (Pod::Simple 3.07) .\" .\" Standard preamble: .\" ======================================================================== .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Vb \" Begin verbatim text .ft CW .nf .ne \\$1 .. .de Ve \" End verbatim text .ft R .fi .. .\" Set up some character translations and predefined strings. \*(-- will .\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left .\" double quote, and \*(R" will give a right double quote. \*(C+ will .\" give a nicer C++. Capital omega is used to do unbreakable dashes and .\" therefore won't be available. \*(C` and \*(C' expand to `' in nroff, .\" nothing in troff, for use with C<>. .tr \(*W- .ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p' .ie n \{\ . ds -- \(*W- . ds PI pi . if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch . if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch . ds L" "" . ds R" "" . ds C` "" . ds C' "" 'br\} .el\{\ . ds -- \|\(em\| . ds PI \(*p . ds L" `` . ds R" '' 'br\} .\" .\" Escape single quotes in literal strings from groff's Unicode transform. .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" .\" If the F register is turned on, we'll generate index entries on stderr for .\" titles (.TH), headers (.SH), subsections (.SS), items (.Ip), and index .\" entries marked with X<> in POD. Of course, you'll have to process the .\" output yourself in some meaningful fashion. .ie \nF \{\ . de IX . tm Index:\\$1\t\\n%\t"\\$2" .. . nr % 0 . rr F .\} .el \{\ . de IX .. .\} .\" ======================================================================== .\" .IX Title "UPDATE-SQUIDGUARD 1" .TH UPDATE-SQUIDGUARD 1 "2012-04-15" "Version 1.5" "SquidGuard documentation" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l .nh .SH "NAME" update\-squidguard \- Update script for SquidGuard. .SH "SYNOPSIS" .IX Header "SYNOPSIS" \&\fBupdate-squidguard\fR .SH "DESCRIPTION" .IX Header "DESCRIPTION" This script performs a database rebuild for any blacklists listed in the default Squidguard config file `/etc/squid/squidGuard.conf'. After rebuilding the databases it will reload Squid / Squid3 so that it will make use of the updated lists. .SH "OPTIONS" .IX Header "OPTIONS" .IP "\fB\-v | \-\-verbose\fR" 4 .IX Item "-v | --verbose" Show some more information and switch on progress bar when updating database. .IP "\fB\-c | \-\-checkdb\fR" 4 .IX Item "-c | --checkdb" Check Berkeley \s-1DB\s0 version and rebuild full database only if Berkeley \s-1DB\s0 version have changed. This option should be used after upgrade of squidguard to reduce wasteful wait time. .SH "COPYRIGHT and LICENSE" .IX Header "COPYRIGHT and LICENSE" Copyright (C) 2003 Ivan E. Moore \s-1II\s0, 2010\-2012 Joachim Wiedorn .PP This script is free software; you can redistribute it and/or modify it under the terms of the \s-1GNU\s0 General Public License version 2 as published by the Free Software Foundation. .PP On Debian systems, the complete text of the \s-1GNU\s0 General Public License version 2 can be found in `/usr/share/common\-licenses/GPL\-2'. .SH "AUTHOR" .IX Header "AUTHOR" \&\fBupdate-squidguard\fR was written by Ivan E. Moore \s-1II\s0 and updated by Joachim Wiedorn. .PP This manual page was written by Joachim Wiedorn <ad_debian at joonet.de> for the Debian project (and may be used by others). .SH "SEE ALSO" .IX Header "SEE ALSO" \&\fBsquidGuard\fR(1), \fBsquid\fR(1), \fBsgclean\fR(1), \fBhostbyname\fR(1) ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/watch����������������������������������������������������������������������������������������0000644�0000000�0000000�00000000177�11401447170�010223� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������# watch control file for uscan for the squidguard package version=3 http://squidguard.org/Downloads/squidGuard-(\d.+)\.tar\.gz �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/squidguard.manpages��������������������������������������������������������������������������0000644�0000000�0000000�00000000144�11401524254�013050� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/man/hostbyname.1 debian/man/sgclean.1 debian/man/squidGuard.1 debian/man/update-squidguard.1 ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/squidguard.docs������������������������������������������������������������������������������0000644�0000000�0000000�00000000052�11401521365�012203� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������ANNOUNCE CONFIGURATION README README.LDAP ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/squidguard.NEWS������������������������������������������������������������������������������0000644�0000000�0000000�00000003711�11745101255�012037� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������squidguard (1.5-1) unstable; urgency=low Now squidGuard will use /etc/squidguard as config directory. To reduce time of package upgrade the postinst script will recreate the hole database only if the BDB version has changed. This behaviour can also be used by hand with 'update-squidguard --checkdb'. -- Joachim Wiedorn <ad_debian@joonet.de> Fri, 20 Apr 2012 21:26:44 +0200 squidguard (1.4-6) unstable; urgency=low Because of problems with packages squid2.7 and logrotate the directory for log files has changed to /var/log/squidguard/. Path in config file were updated automatically for default installations. -- Joachim Wiedorn <ad_debian@joonet.de> Thu, 12 Apr 2012 22:34:39 +0200 squidguard (1.4-5) unstable; urgency=low Because of problems with packages squid2.7 and logrotate the directory for log files has changed to /var/log/squidguard/. Path in config file were updated automatically for default installations. -- Joachim Wiedorn <ad_debian@joonet.de> Mon, 09 Apr 2012 00:10:25 +0200 squidguard (1.4-4) unstable; urgency=low Now it is possible to use Squidguard with BDB 5.1, too. Then you must rebuild your blacklist databases. -- Joachim Wiedorn <ad_debian@joonet.de> Tue, 31 May 2011 20:15:26 +0200 squidguard (1.4-3) unstable; urgency=low Now Squidguard uses BDB 4.8 as default. Please rebuild your blacklist databases. -- Joachim Wiedorn <ad_debian@joonet.de> Sun, 29 May 2011 20:55:35 +0200 squidguard (1.4-1) unstable; urgency=medium Now Squidguard uses DB4.7. Please rebuild your blacklist databases. You need to make sure that you rebuild all your Squidguard blacklists otherwise Squidguard and ultimatly Squid may not function properly. Unless you have disabled it during installation, any blacklists listed in /etc/squid/squidGuard.conf will be rebuilt. You can use /usr/sbin/update-squidguard to manually perform a rebuild. -- Joachim Wiedorn <ad_debian@joonet.de> Mon, 31 May 2010 20:59:00 +0200 �������������������������������������������������������debian/squidguard.logrotate�������������������������������������������������������������������������0000644�0000000�0000000�00000000241�11740353530�013256� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������# # Logrotate fragment for squidguard. # /var/log/squidguard/*.log { weekly rotate 5 compress delaycompress missingok notifempty create 640 proxy proxy } ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/control��������������������������������������������������������������������������������������0000644�0000000�0000000�00000002641�12270546446�010606� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Source: squidguard Section: web Priority: optional Maintainer: Joachim Wiedorn <ad_debian@joonet.de> Build-Depends: debhelper (>= 9), libldap2-dev, libdb-dev, perl, bison, flex Standards-Version: 3.9.4 Vcs-Git: git://anonscm.debian.org/collab-maint/squidguard.git Vcs-Browser: http://anonscm.debian.org/gitweb/?p=collab-maint/squidguard.git Homepage: http://www.squidguard.org Package: squidguard Architecture: any Depends: squid3 | squid, liburi-perl, libwww-perl, ${shlibs:Depends}, ${perl:Depends}, ${misc:Depends} Suggests: ldap-utils, squidguard-doc Description: filter and redirector plugin for Squid squidGuard is a free, flexible and ultra fast filter, redirector and access controller plugin for squid. It lets you define multiple access rules with different restrictions for different user groups on a squid cache. squidGuard uses squid's standard redirector interface. Package: squidguard-doc Architecture: all Section: doc Depends: ${misc:Depends} Breaks: squidguard (<= 1.3) Replaces: squidguard (<= 1.3) Description: filter and redirector plugin for Squid - Documentation squidGuard is a free, flexible and ultra fast filter, redirector and access controller plugin for squid. It lets you define multiple access rules with different restrictions for different user groups on a squid cache. squidGuard uses squid's standard redirector interface. . This package contains some older html and txt documentation. �����������������������������������������������������������������������������������������������debian/source/��������������������������������������������������������������������������������������0000755�0000000�0000000�00000000000�11401447051�010463� 5����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/source/format��������������������������������������������������������������������������������0000644�0000000�0000000�00000000014�11401447052�011672� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������3.0 (quilt) ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/copyright������������������������������������������������������������������������������������0000644�0000000�0000000�00000004664�11742127002�011127� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: squidguard Upstream-Contact: Shalla Secure Services, Gauting, Germany Source: http://www.squidguard.org/ Files: * Copyright: 2006-2011, Shalla Secure Services, Gauting, Germany 1999, Tele Danmark InterNordia, Oslo, Norway License: GPL-2 Files: src/HTEscape.h src/HTParse.c Copyright: 1994-2000, World Wide Web Consortium (MIT, INRIA, KEIO) 1995, CERN License: W3C-Software Files: src/wwwsys.h Copyright: 1995, World Wide Web Consortium (MIT, INRIA, KEIO) License: W3C-Software Files: debian/* Copyright: 2010-2012, Joachim Wiedorn <ad_debian@joonet.de> License: GPL-2 License: GPL-2 This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License version 2 as published by the Free Software Foundation. . This package is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. . You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. . On Debian systems, the complete text of the GNU General Public License version 2 can be found in the file `/usr/share/common-licenses/GPL-2'. License: W3C-Software This piece of code belongs to libwww. The copyright of W3C is fully respected. Necessary changes have been made visible in the code. . libwww: W3C's implementation of HTTP can be found at: http://www.w3.org/Library/ Copyright © 1994-2000 World Wide Web Consortium, (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved. . This program is distributed under the W3C's Software Intellectual Property License. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See W3C License http://www.w3.org/Consortium/Legal/ for more details. . Copyright © 1995 CERN. "This product includes computer software created and made available by CERN. This acknowledgment shall be mentioned in full in any product which includes the CERN computer software included herein or parts thereof." ����������������������������������������������������������������������������debian/squidguard.templates�������������������������������������������������������������������������0000644�0000000�0000000�00000001007�11411144463�013253� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Template: squidguard/dbreload Type: boolean Default: true _Description: Rebuild Squidguard blacklist database during postinst? Rebuilding the blacklist databases is time consuming and under some circumstances could cause problems. With the breakout of individual blacklist section packages the time it takes for each package to rebuild will be extensive. Also it may not be desireable to rebuild these databases on production servers. You can manually perform a rebuild by running /usr/sbin/update-squidguard. �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/squidguard.config����������������������������������������������������������������������������0000644�0000000�0000000�00000000377�11745101306�012532� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/bin/sh set -e # Versioning version=1.5-1 # Use debconf config module . /usr/share/debconf/confmodule # Set variables CONF="/etc/default/squidguard" THIS_PACKAGE=squidguard # Ask questions db_input medium squidguard/dbreload || true db_go || true �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/po/������������������������������������������������������������������������������������������0000755�0000000�0000000�00000000000�12270550235�007605� 5����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/po/fr.po�������������������������������������������������������������������������������������0000644�0000000�0000000�00000005534�11037212104�010551� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������# # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans# # Developers do not need to manually edit POT or PO files. # msgid "" msgstr "" "Project-Id-Version: squidguard_1.2.0-4\n" "Report-Msgid-Bugs-To: squidguard@packages.debian.org\n" "POT-Creation-Date: 2008-03-27 08:29+0100\n" "PO-Revision-Date: 2005-08-18 00:12+0200\n" "Last-Translator: Michel Grentzinger <mic.grentz@online.fr>\n" "Language-Team: French <debian-l10n-french@lists.debian.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-15\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../squidguard.templates:1001 msgid "Rebuild Squidguard blacklist database during postinst?" msgstr "" "Reconstruire la base de donnes des listes noires de Squidguard pendant la " "post-installation?" #. Type: boolean #. Description #: ../squidguard.templates:1001 msgid "" "Rebuilding the blacklist databases is time consuming and under some " "circumstances could cause problems. With the breakout of individual " "blacklist section packages the time it takes for each package to rebuild " "will be extensive. Also it may not be desireable to rebuild these databases " "on production servers. You can manually perform a rebuild by running /usr/" "sbin/update-squidguard." msgstr "" "La reconstruction des bases de donnes de liste noire prend du temps et peut " "causer des problmes dans certaines circonstances. Avec la sparation en " "section des paquets individuels des listes noires, le temps de " "reconstruction de chaque paquet sera plus important. Ainsi, il n'est pas " "souhaitable de reconstruire chaque base de donnes sur des serveurs en " "production. Vous pouvez reconstruire vous-mme chaque base de donnes en " "lanant /usr/sbin/update-squidguard." #~ msgid "Squidguard now uses DB4.3. Rebuild your blacklist databases." #~ msgstr "" #~ "Squidguard utilise dsormais DB4.3. Reconstruisez votre base de donnes " #~ "de listes noires." #~ msgid "" #~ "You need to make sure that you rebuild all your Squidguard blacklists " #~ "otherwise Squidguard and ultimatly Squid may not function properly. By " #~ "default any blacklists listed in /etc/squid/squidGuard.conf will be " #~ "rebuilt." #~ msgstr "" #~ "Vous avez besoin de vous assurer que vous reconstruisez bien toutes vos " #~ "listes noires sans quoi Squidguard et ventuellement Squid ne " #~ "fonctionneront pas correctement. Par dfaut toutes les listes noires " #~ "rpertories dans /etc/squid/squidGuard.conf seront reconstruites." ��������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/po/templates.pot�����������������������������������������������������������������������������0000644�0000000�0000000�00000002320�11411145145�012320� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������# LANGUAGE translation squidguard templates. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the squidguard package. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # msgid "" msgstr "" "Project-Id-Version: squidguard templates\n" "Report-Msgid-Bugs-To: squidguard@packages.debian.org\n" "POT-Creation-Date: 2010-06-25 17:20+0100\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n" "Language-Team: LANGUAGE <LL@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../squidguard.templates:4 msgid "Rebuild Squidguard blacklist database during postinst?" msgstr "" #. Type: boolean #. Description #: ../squidguard.templates:5 msgid "" "Rebuilding the blacklist databases is time consuming and under some " "circumstances could cause problems. With the breakout of individual " "blacklist section packages the time it takes for each package to rebuild " "will be extensive. Also it may not be desireable to rebuild these databases " "on production servers. You can manually perform a rebuild by running /usr/" "sbin/update-squidguard." msgstr "" ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/po/gl.po�������������������������������������������������������������������������������������0000644�0000000�0000000�00000003353�11037212104�010541� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������# Galician translation of squidguard's debconf templates # This file is distributed under the same license as the squidguard package. # Jacobo Tarrio <jtarrio@debian.org>, 2008. # msgid "" msgstr "" "Project-Id-Version: squidguard\n" "Report-Msgid-Bugs-To: squidguard@packages.debian.org\n" "POT-Creation-Date: 2008-03-27 08:29+0100\n" "PO-Revision-Date: 2008-03-31 02:40+0100\n" "Last-Translator: Jacobo Tarrio <jtarrio@debian.org>\n" "Language-Team: Galician <proxecto@trasno.net>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../squidguard.templates:1001 msgid "Rebuild Squidguard blacklist database during postinst?" msgstr "" "¿Reconstruír a base de datos de listas negras de Squidguard durante o " "proceso de post-instalación?" #. Type: boolean #. Description #: ../squidguard.templates:1001 msgid "" "Rebuilding the blacklist databases is time consuming and under some " "circumstances could cause problems. With the breakout of individual " "blacklist section packages the time it takes for each package to rebuild " "will be extensive. Also it may not be desireable to rebuild these databases " "on production servers. You can manually perform a rebuild by running /usr/" "sbin/update-squidguard." msgstr "" "Reconstruír a bases de datos de listas negras liva moito tempo e nalgunhas " "circunstancias pode causar problemas. Coa separación en varios paquetes con " "seccións de lista negra individuais, o tempo que tome cada paquete en " "reconstruír pode ser excesivo. Ademáis, pode non ser desexable reconstruír " "esas bases de datos nos servidores de produción. Pode facer unha " "reconstrución manual executando \"/usr/sbin/update-squidguard\"." �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/po/vi.po�������������������������������������������������������������������������������������0000644�0000000�0000000�00000005261�11037212104�010555� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������# Vietnamese translation for squidguard. # Copyright © 2005 Free Software Foundation, Inc. # Clytie Siddall <clytie@riverland.net.au>, 2005. # msgid "" msgstr "" "Project-Id-Version: squidguard 1.2.0-5\n" "Report-Msgid-Bugs-To: squidguard@packages.debian.org\n" "POT-Creation-Date: 2008-03-27 08:29+0100\n" "PO-Revision-Date: 2005-08-18 00:12+0200\n" "Last-Translator: Clytie Siddall <clytie@riverland.net.au>\n" "Language-Team: Vietnamese <gnomevi-list@lists.sourceforge.net>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0\n" "X-Generator: LocFactoryEditor 1.2.2\n" #. Type: boolean #. Description #: ../squidguard.templates:1001 msgid "Rebuild Squidguard blacklist database during postinst?" msgstr "" "Xây dụng lại cơ sở dữ liệu danh sách màu đen trong khi tiến trình cuối cùng " "cài đặt không?" #. Type: boolean #. Description #: ../squidguard.templates:1001 msgid "" "Rebuilding the blacklist databases is time consuming and under some " "circumstances could cause problems. With the breakout of individual " "blacklist section packages the time it takes for each package to rebuild " "will be extensive. Also it may not be desireable to rebuild these databases " "on production servers. You can manually perform a rebuild by running /usr/" "sbin/update-squidguard." msgstr "" "Xây dụng lại các cơ sở dữ liệu danh sách màu đèn tiêu phí thời giờ, và trong " "một số trường hợp có thể gây ra lỗi. Gồm phá mà gói phần danh sách màu đen " "riêng ra, việc xây dụng lại mỗi gói sẽ mất lâu. Hơn nữa, có lẽ không phải là " "một ý kiến tốt để xây dụng lại những cơ sở dữ liệu này trên máy bận. Bạn có " "thể tự xây dụng lại bằng cách chạy lệnh «/usr/sbin/update-squidguard»." #~ msgid "Squidguard now uses DB4.3. Rebuild your blacklist databases." #~ msgstr "" #~ "Trình Squidguard lúc bây giở dùng DB4.3. Bạn hãy xây dụng lại các cơ sở " #~ "dữ liệu danh sách màu đen." #~ msgid "" #~ "You need to make sure that you rebuild all your Squidguard blacklists " #~ "otherwise Squidguard and ultimatly Squid may not function properly. By " #~ "default any blacklists listed in /etc/squid/squidGuard.conf will be " #~ "rebuilt." #~ msgstr "" #~ "Bạn hãy đảm bảo đã xây dụng lại các danh sách màu đen Squidguard. Nếu " #~ "không thì trình Squidguard có thể không hoạt động cho đúng. Mặc định là " #~ "mọi danh sách màu đen được liệt kê trong «/etc/squid/squidGuard.conf» sẽ " #~ "được xây dụng lại. " �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/po/fi.po�������������������������������������������������������������������������������������0000644�0000000�0000000�00000003114�11037212104�010530� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������msgid "" msgstr "" "Project-Id-Version: squidguard\n" "Report-Msgid-Bugs-To: squidguard@packages.debian.org\n" "POT-Creation-Date: 2008-03-27 08:29+0100\n" "PO-Revision-Date: 2008-03-30 20:40+0200\n" "Last-Translator: Esko Arajärvi <edu@iki.fi>\n" "Language-Team: Finnish <debian-l10n-finnish@lists.debian.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Finnish\n" "X-Poedit-Country: FINLAND\n" #. Type: boolean #. Description #: ../squidguard.templates:1001 msgid "Rebuild Squidguard blacklist database during postinst?" msgstr "" "Tulisiko Squidguardin mustien listojen tietokanta rakentaa uudelleen " "asennuksen jälkeen?" #. Type: boolean #. Description #: ../squidguard.templates:1001 msgid "" "Rebuilding the blacklist databases is time consuming and under some " "circumstances could cause problems. With the breakout of individual " "blacklist section packages the time it takes for each package to rebuild " "will be extensive. Also it may not be desireable to rebuild these databases " "on production servers. You can manually perform a rebuild by running /usr/" "sbin/update-squidguard." msgstr "" "Mustien listojen tietokannan rakentaminen uudelleen on aikaa vievää ja " "saattaa joissain tilanteissa aiheuttaa ongelmia. Yksittäisten mustan listan " "osapakettien irtauduttua kunkin paketin rakentaminen uudelleen kestää kauan. " "Paketteja ei myöskään välttämättä haluta rakentaa uudelleen " "tuotantopalvelimilla. Uudelleenrakennus voidaan tehdä käsin ajamalla /usr/" "sbin/update-squidguard. " ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/po/ru.po�������������������������������������������������������������������������������������0000644�0000000�0000000�00000004347�11037212104�010571� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������# translation of ru.po to Russian # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # # Yuri Kozlov <kozlov.y@gmail.com>, 2008. msgid "" msgstr "" "Project-Id-Version: squidguard 1.2.0-8.3\n" "Report-Msgid-Bugs-To: squidguard@packages.debian.org\n" "POT-Creation-Date: 2008-03-27 08:29+0100\n" "PO-Revision-Date: 2008-04-20 10:58+0400\n" "Last-Translator: Yuri Kozlov <kozlov.y@gmail.com>\n" "Language-Team: Russian <debian-l10n-russian@lists.debian.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Generator: KBabel 1.11.4\n" "Plural-Forms: nplurals=3; plural=(n%10==1 && n%100!=11 ? 0 : n%10>=2 && n%" "10<=4 && (n%100<10 || n%100>=20) ? 1 : 2);\n" #. Type: boolean #. Description #: ../squidguard.templates:1001 msgid "Rebuild Squidguard blacklist database during postinst?" msgstr "" "Перестроить базу чёрных списков Squidguard во время работы сценария postinst?" #. Type: boolean #. Description #: ../squidguard.templates:1001 msgid "" "Rebuilding the blacklist databases is time consuming and under some " "circumstances could cause problems. With the breakout of individual " "blacklist section packages the time it takes for each package to rebuild " "will be extensive. Also it may not be desireable to rebuild these databases " "on production servers. You can manually perform a rebuild by running /usr/" "sbin/update-squidguard." msgstr "" "Перестройка базы данных чёрных списков требует времени и при некоторых " "условиях может привести к проблемам. С распределением по индивидуальным " "секциям чёрных списков пакетов, время перестройки тратится на каждый пакет, " "что замедляет процесс. Также, нежелательно перестраивать эти базы данных на " "рабочих серверах. Вы можете запустить пересборку вручную с помощью сценария /" "usr/sbin/update-squidguard." �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/po/ja.po�������������������������������������������������������������������������������������0000644�0000000�0000000�00000005325�11037212104�010532� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������# # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # # msgid "" msgstr "" "Project-Id-Version: squidguard 1.2.0-5\n" "Report-Msgid-Bugs-To: squidguard@packages.debian.org\n" "POT-Creation-Date: 2008-03-27 08:29+0100\n" "PO-Revision-Date: 2005-08-18 00:12+0200\n" "Last-Translator: Hideki Yamane <henrich@samba.gr.jp>\n" "Language-Team: Japanese <debian-japanese@lists.debian.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=EUC-JP\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../squidguard.templates:1001 msgid "Rebuild Squidguard blacklist database during postinst?" msgstr "" "postinst μ¹ Squidguard Υ֥åꥹȥǡ١ƹۤޤ?" #. Type: boolean #. Description #: ../squidguard.templates:1001 msgid "" "Rebuilding the blacklist databases is time consuming and under some " "circumstances could cause problems. With the breakout of individual " "blacklist section packages the time it takes for each package to rebuild " "will be extensive. Also it may not be desireable to rebuild these databases " "on production servers. You can manually perform a rebuild by running /usr/" "sbin/update-squidguard." msgstr "" "֥åꥹȥǡ١κƹۤϻ֤ꡢξǤ򵯤" "ǽޤġΥ֥åꥹȤƹۤƤʤСǤ" "Υǡ١ƹۤΤˤ֤ʤΤˤʤǤ礦" "ưƤ륵ФǤΥѥåƹۤΤ˾ޤʤ⤷" "ޤ/usr/sbin/update-squidguard ¹ԤǼưǺƹۤ뤳Ȥ" "ǽǤ" #~ msgid "Squidguard now uses DB4.3. Rebuild your blacklist databases." #~ msgstr "" #~ "Squidguard DB4.3 Ȥ褦ˤʤޤ֥åꥹȥǡ١" #~ "ۤƤ" #~ msgid "" #~ "You need to make sure that you rebuild all your Squidguard blacklists " #~ "otherwise Squidguard and ultimatly Squid may not function properly. By " #~ "default any blacklists listed in /etc/squid/squidGuard.conf will be " #~ "rebuilt." #~ msgstr "" #~ "Squidguard ֥åꥹȤ٤ƺƹۤ줿ɤǧƤƹ" #~ "ۤƤʤ硢Squidguard (ĤޤȤ Squid ) ưʤ" #~ "⤷ޤɸǤ /etc/squid/squidGuard.conf ˤ뤹٤ƤΥ֥å" #~ "Ȥƹۤޤ" �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/po/sv.po�������������������������������������������������������������������������������������0000644�0000000�0000000�00000004731�11037212104�010570� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������# Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # Developers do not need to manually edit POT or PO files. # , fuzzy # # msgid "" msgstr "" "Project-Id-Version: squidguard 1.2.0-5\n" "Report-Msgid-Bugs-To: squidguard@packages.debian.org\n" "POT-Creation-Date: 2008-03-27 08:29+0100\n" "PO-Revision-Date: 2005-09-28 18:56-0700\n" "Last-Translator: Daniel Nylander <po@danielnylander.se>\n" "Language-Team: Swedish <sv@li.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=iso-8859-1\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../squidguard.templates:1001 msgid "Rebuild Squidguard blacklist database during postinst?" msgstr "Bygga om Squidguard svartlista-databas efter installationen?" #. Type: boolean #. Description #: ../squidguard.templates:1001 msgid "" "Rebuilding the blacklist databases is time consuming and under some " "circumstances could cause problems. With the breakout of individual " "blacklist section packages the time it takes for each package to rebuild " "will be extensive. Also it may not be desireable to rebuild these databases " "on production servers. You can manually perform a rebuild by running /usr/" "sbin/update-squidguard." msgstr "" "Att bygga om svartlist-databaserna r en process som tar lng tid och i " "vissa fall skapar det problem. Det r kanske inte nskvrt att bygga om " "dessa databaser p en produktionsserver. Du kan manuellt bygga om dessa med " "kommandot /usr/sbin/update-squidguard." #~ msgid "Squidguard now uses DB4.3. Rebuild your blacklist databases." #~ msgstr "Squidguard anvnder nu DB4.3. Bygg om din svartlista-databas." #~ msgid "" #~ "You need to make sure that you rebuild all your Squidguard blacklists " #~ "otherwise Squidguard and ultimatly Squid may not function properly. By " #~ "default any blacklists listed in /etc/squid/squidGuard.conf will be " #~ "rebuilt." #~ msgstr "" #~ "Du mste se till att alla dina Squidguard svartlista-databaser blir " #~ "ombyggda annars kommer Squidguard och kanske ven Squid inte att fungera " #~ "som de ska. Standard r att alla svartlistor som finns i /etc/squid/" #~ "squidGuard.conf kommer att byggas om." ���������������������������������������debian/po/POTFILES.in�������������������������������������������������������������������������������0000644�0000000�0000000�00000000057�11037212104�011352� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������[type: gettext/rfc822deb] squidguard.templates ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/po/pt.po�������������������������������������������������������������������������������������0000644�0000000�0000000�00000004652�11037212104�010565� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������# Portuguese translation for squidguard's debconf messages # Luís de Matos <gass@otiliamatos.ath.cx>, 2005 # # 2005-11-03 - Luís de Matos <gass@otiliamatos.ath.cx> - Initial translation # msgid "" msgstr "" "Project-Id-Version: squidguard\n" "Report-Msgid-Bugs-To: squidguard@packages.debian.org\n" "POT-Creation-Date: 2008-03-27 08:29+0100\n" "PO-Revision-Date: 2006-06-30 02:04+0100\n" "Last-Translator: Luis Matos <gass@otiliamatos.ath.cx>\n" "Language-Team: Portuguese <traduz@debianpt.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../squidguard.templates:1001 msgid "Rebuild Squidguard blacklist database during postinst?" msgstr "Reconstruir a base de dados de listas negras durante a pos-instalação?" #. Type: boolean #. Description #: ../squidguard.templates:1001 msgid "" "Rebuilding the blacklist databases is time consuming and under some " "circumstances could cause problems. With the breakout of individual " "blacklist section packages the time it takes for each package to rebuild " "will be extensive. Also it may not be desireable to rebuild these databases " "on production servers. You can manually perform a rebuild by running /usr/" "sbin/update-squidguard." msgstr "" "Reconstruir as bases de dados das listas negras é consumo de tempo e em " "algumas circunstâncias pode causar problemas. Com bloqueio de secções " "individuais dos pacotes de listas negras o tempo que demorará para " "reconstruir cada pacote poderá ser extenso. Não é desejavel reconstruir " "estas bases de dados em servidores de produção. Poderá efectuar uma " "reconstrução manual executando /usr/sbin/update-squidguard." #~ msgid "Squidguard now uses DB4.3. Rebuild your blacklist databases." #~ msgstr "" #~ "O Squidguard agora utiliza DB4.3. Reconstrua as suas bases de dados de " #~ "Listas Negras." #~ msgid "" #~ "You need to make sure that you rebuild all your Squidguard blacklists " #~ "otherwise Squidguard and ultimatly Squid may not function properly. By " #~ "default any blacklists listed in /etc/squid/squidGuard.conf will be " #~ "rebuilt." #~ msgstr "" #~ "Tenha a certeza que reconstrói todas as suas listas negras do Squidguard " #~ "caso contrário o Squidguard e também o Squid poderão não funcionar " #~ "correctamente. Por omissão irão ser reconstruídas quaisquer listas negras " #~ "listadas em /etc/squid/squidGuard.conf." ��������������������������������������������������������������������������������������debian/po/de.po�������������������������������������������������������������������������������������0000644�0000000�0000000�00000003332�11411145773�010541� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������# german translation squidguard templates. # Copyright (C) 2005 Erik Schanze # This file is distributed under the same license as the squidguard package. # Erik Schanze <mail@erikschanze.de>, 2005. # msgid "" msgstr "" "Project-Id-Version: squidguard templates\n" "Report-Msgid-Bugs-To: squidguard@packages.debian.org\n" "POT-Creation-Date: 2010-06-25 17:20+0100\n" "PO-Revision-Date: 2005-08-18 00:12+0200\n" "Last-Translator: Erik Schanze <mail@erikschanze.de>\n" "Language-Team: German <debian-l10n-german@lists.debian.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../squidguard.templates:4 msgid "Rebuild Squidguard blacklist database during postinst?" msgstr "" "Squidguards Blacklist-Datenbanken am Ende dieser Installation erneuern?" #. Type: boolean #. Description #: ../squidguard.templates:5 msgid "" "Rebuilding the blacklist databases is time consuming and under some " "circumstances could cause problems. With the breakout of individual " "blacklist section packages the time it takes for each package to rebuild " "will be extensive. Also it may not be desireable to rebuild these databases " "on production servers. You can manually perform a rebuild by running /usr/" "sbin/update-squidguard." msgstr "" "Das Erneuern der Blacklist-Datenbanken ist sehr zeitaufwändig und kann " "manchmal Probleme verursachen. Durch die Möglichkeit von individuellen " "Blacklist-Section-Paketen wird es sehr lange dauern, jedes Paket neu zu " "erstellen. Es könnte auch nicht erwünscht sein, diese Datenbanken auf " "produktiven Servern zu erneuern. Sie können das Neubauen durch das Kommando /" "usr/sbin/update-squidguard manuell einleiten." ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/po/eu.po�������������������������������������������������������������������������������������0000644�0000000�0000000�00000003340�11411147041�010547� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������# Euskara translation squidguard templates. # Copyright (C) 2008 Aitor Ibañez # This file is distributed under the same license as the squidguard package. # Aitor Ibañez <aitiba@gmail.com>, 2008. # msgid "" msgstr "" "Project-Id-Version: squidguard templates\n" "Report-Msgid-Bugs-To: squidguard@packages.debian.org\n" "POT-Creation-Date: 2010-06-25 17:20+0100\n" "PO-Revision-Date: 2008-07-20 18:25+0200\n" "Last-Translator: Aitor Ibañez <aitiba@gmail.com>\n" "Language-Team: Euskara <itzulpena@euskalgnu.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../squidguard.templates:4 msgid "Rebuild Squidguard blacklist database during postinst?" msgstr "" "Berreraiki Squidguard-en zerrenda beltzen datu-basea instalazioa bukatu " "ondoren?" #. Type: boolean #. Description #: ../squidguard.templates:5 msgid "" "Rebuilding the blacklist databases is time consuming and under some " "circumstances could cause problems. With the breakout of individual " "blacklist section packages the time it takes for each package to rebuild " "will be extensive. Also it may not be desireable to rebuild these databases " "on production servers. You can manually perform a rebuild by running /usr/" "sbin/update-squidguard." msgstr "" "Zerrenda beltzen datu-basea berreraikitzeak denbora asko darama eta egoera " "batzuetan arazoak eragin ditzake. Zerrenda beltzeko sekzio bakoitzeko " "paketea askatzean, pakete bakoitza berriro eraikitzeko behar den denbora oso " "luzea izan daiteke.Ez da gomendagarria produkzioan dauden zerbitzarietan " "datu-base hauek berriro eraikitzea. Berreraikitze bat eskuz egiteko " "exekutatu honako komandoa: usr/sbin/update-squidguard" ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/po/tr.po�������������������������������������������������������������������������������������0000644�0000000�0000000�00000003475�11037212104�010571� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������# Turkish translation of squidguard debconf template. # Copyright (C) 2008 # This file is distributed under the same license as the squidguard package. # Mert Dirik <mertdirik@gmail.com>, 2008. # msgid "" msgstr "" "Project-Id-Version: squidguard\n" "Report-Msgid-Bugs-To: squidguard@packages.debian.org\n" "POT-Creation-Date: 2008-03-27 08:29+0100\n" "PO-Revision-Date: 2008-07-21 23:00+0200\n" "Last-Translator: Mert Dirik <mertdirik@gmail.com>\n" "Language-Team: Debian L10n Turkish <debian-l10n-turkish@lists.debian.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" "Plural-Forms: nplurals=1; plural=0;\n" "X-Poedit-Language: Turkish\n" #. Type: boolean #. Description #: ../squidguard.templates:1001 msgid "Rebuild Squidguard blacklist database during postinst?" msgstr "Squidguard karalistesi kurulumdan sonra yeniden inşâ edilsin mi?" #. Type: boolean #. Description #: ../squidguard.templates:1001 msgid "" "Rebuilding the blacklist databases is time consuming and under some " "circumstances could cause problems. With the breakout of individual " "blacklist section packages the time it takes for each package to rebuild " "will be extensive. Also it may not be desireable to rebuild these databases " "on production servers. You can manually perform a rebuild by running /usr/" "sbin/update-squidguard." msgstr "" "Karalisteleri yeniden inşâ etmek zaman alır ve kimi zaman sorunlara yol " "açabilir. Son zamanlarda karaliste bölümüne bir çok paket eklendiğinden her " "bir paketin karalistesini yeniden inşâ etmek geniş çaplı bir işlemdir. " "Ayrıca üretim sunucularında bu veritabanlarını yeniden inşâ etmek pek arzu " "edilen bir durum değildir. Veritabanlarını elle inşâ etmek için /usr/sbin/" "update-squidguard komutunu kullanabilirsiniz." ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/po/da.po�������������������������������������������������������������������������������������0000644�0000000�0000000�00000003375�11411145164�010536� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������# Danish translation squidguard templates. # Copyright (C) 2010 squidguard & nedenstående oversættere. # This file is distributed under the same license as the squidguard package. # Joe Hansen <joedalton2@yahoo.dk>, 2010. # msgid "" msgstr "" "Project-Id-Version: squidguard templates\n" "Report-Msgid-Bugs-To: squidguard@packages.debian.org\n" "POT-Creation-Date: 2008-03-27 08:29+0100\n" "PO-Revision-Date: 2010-06-23 17:30+01:00\n" "Last-Translator: Joe Hansen <joedalton2@yahoo.dk>\n" "Language-Team: Danish <debian-l10n-danish@lists.debian.org> \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../squidguard.templates:4 msgid "Rebuild Squidguard blacklist database during postinst?" msgstr "Genkompiler Squidguards sortlistedatabase under postinst?" #. Type: boolean #. Description #: ../squidguard.templates:5 msgid "" "Rebuilding the blacklist databases is time consuming and under some " "circumstances could cause problems. With the breakout of individual " "blacklist section packages the time it takes for each package to rebuild " "will be extensive. Also it may not be desireable to rebuild these databases " "on production servers. You can manually perform a rebuild by running /usr/" "sbin/update-squidguard." msgstr "" "Genkompilering af sortlistedatabaserne tager undertiden lang tid og kan " "under nogle omstændigheder forårsage problemer. På grund af breakouten for " "individuelle sortlisteafsnitspakker kan tiden, det tager for hver pakke at " "blive genkompileret være omfattende. De er måske heller ikke ønskeligt at " "genkompilere disse databaser på produktionsservere. Du kan manuelt udføre en " "genkompilering ved at køre /usr/sbin/update-squidguard." �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/po/nl.po�������������������������������������������������������������������������������������0000644�0000000�0000000�00000004774�11037212104�010560� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������# SOME DESCRIPTIVE TITLE. # Copyright (C) YEAR THE PACKAGE'S COPYRIGHT HOLDER # This file is distributed under the same license as the PACKAGE package. # FIRST AUTHOR <EMAIL@ADDRESS>, YEAR. # msgid "" msgstr "" "Project-Id-Version: squidguard\n" "Report-Msgid-Bugs-To: squidguard@packages.debian.org\n" "POT-Creation-Date: 2008-03-27 08:29+0100\n" "PO-Revision-Date: 2007-03-15 18:55+0100\n" "Last-Translator: Bart Cornelis <cobaco@skolelinux.no>\n" "Language-Team: debian-l10n-dutch <debian-l10n-dutch@lists.debian.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=utf-8\n" "Content-Transfer-Encoding: 8bit\n" "X-Poedit-Language: Dutch\n" #. Type: boolean #. Description #: ../squidguard.templates:1001 msgid "Rebuild Squidguard blacklist database during postinst?" msgstr "" "Wilt u de Squidguard zwarte lijst database opnieuw bouwen tijden het " "uitvoeren van het 'postinst'-script?" #. Type: boolean #. Description #: ../squidguard.templates:1001 msgid "" "Rebuilding the blacklist databases is time consuming and under some " "circumstances could cause problems. With the breakout of individual " "blacklist section packages the time it takes for each package to rebuild " "will be extensive. Also it may not be desireable to rebuild these databases " "on production servers. You can manually perform a rebuild by running /usr/" "sbin/update-squidguard." msgstr "" "Opnieuw bouwen van de zwarte lijst database is een tijdrovend proces, en kan " "onder sommige omstandigheden problemen veroorzaken. Door het opsplitsen van " "de individuele zwarte lijst sectie pakketten is de tijd die nodig is om elk " "pakket opnieuw te bouwen aanzienlijk. Mogelijk is het ook niet gewenst om " "deze databases opnieuw te bouwen op productie-servers. U kunt het opnieuw " "bouwen handmatig uitvoeren met het commando '/usr/sbin/update-squidguard'." #~ msgid "Squidguard now uses DB4.3. Rebuild your blacklist databases." #~ msgstr "" #~ "Squidguard gebruikt nu DB4.3. U dient uw zwartelijst-databases opnieuw te " #~ "bouwen." #~ msgid "" #~ "You need to make sure that you rebuild all your Squidguard blacklists " #~ "otherwise Squidguard and ultimatly Squid may not function properly. By " #~ "default any blacklists listed in /etc/squid/squidGuard.conf will be " #~ "rebuilt." #~ msgstr "" #~ "Om te vermijden dat Squidguard en Squid niet juist functioneren dient u " #~ "ervoor te zorgen dat u al uw Squidguard zwarte lijsten opnieuw bouwt. " #~ "Standaard worden alle zwarte lijsten in /etc/squid/squidGuard.conf " #~ "opnieuw gebouwd." ����debian/po/cs.po�������������������������������������������������������������������������������������0000644�0000000�0000000�00000004775�11037212104�010555� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������# # Translators, if you are not familiar with the PO format, gettext # documentation is worth reading, especially sections dedicated to # this format, e.g. by running: # info -n '(gettext)PO Files' # info -n '(gettext)Header Entry' # # Some information specific to po-debconf are available at # /usr/share/doc/po-debconf/README-trans # or http://www.debian.org/intl/l10n/po-debconf/README-trans # # Developers do not need to manually edit POT or PO files. # msgid "" msgstr "" "Project-Id-Version: squidguard\n" "Report-Msgid-Bugs-To: squidguard@packages.debian.org\n" "POT-Creation-Date: 2008-03-27 08:29+0100\n" "PO-Revision-Date: 2005-08-18 00:12+0200\n" "Last-Translator: Miroslav Kure <kurem@debian.cz>\n" "Language-Team: Czech <debian-l10n-czech@debian.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=ISO-8859-2\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../squidguard.templates:1001 msgid "Rebuild Squidguard blacklist database during postinst?" msgstr "Znovu vytvoit databzi Squidguardu bhem poinstalan fze?" #. Type: boolean #. Description #: ../squidguard.templates:1001 msgid "" "Rebuilding the blacklist databases is time consuming and under some " "circumstances could cause problems. With the breakout of individual " "blacklist section packages the time it takes for each package to rebuild " "will be extensive. Also it may not be desireable to rebuild these databases " "on production servers. You can manually perform a rebuild by running /usr/" "sbin/update-squidguard." msgstr "" "Vytvoen blacklistovch databz zabere hodn asu a za uritch okolnost " "me zpsobit problmy. Tak na produknch serverech nemus bt nov " "vytvoen databze douc. Znovuvytvoen databz mete spustit i run " "pkazem /usr/sbin/update-squidgard." #~ msgid "Squidguard now uses DB4.3. Rebuild your blacklist databases." #~ msgstr "Squidguard nyn pouv DB4.3. Pegenerujte blacklistov databze." #~ msgid "" #~ "You need to make sure that you rebuild all your Squidguard blacklists " #~ "otherwise Squidguard and ultimatly Squid may not function properly. By " #~ "default any blacklists listed in /etc/squid/squidGuard.conf will be " #~ "rebuilt." #~ msgstr "" #~ "Muste zajistit, e se znovu vytvo vechny ern listiny Squidguardu, " #~ "protoe jinak nebude Squidguard a hlavn Squid fungovat sprvn. " #~ "Implicitn budou pegenerovny vechny ern listiny vypsan v souboru /" #~ "etc/squid/squidGuard.conf." ���debian/po/es.po�������������������������������������������������������������������������������������0000644�0000000�0000000�00000003443�11411146652�010560� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������# spanish translation squidguard templates. # Copyright (C) 2007 Software in the Public Interest # This file is distributed under the same license as the squidguard package. # Rudy Godoy <rudy@stone-head.org>, 2007 # msgid "" msgstr "" "Project-Id-Version: squidguard templates\n" "Report-Msgid-Bugs-To: squidguard@packages.debian.org\n" "POT-Creation-Date: 2010-06-25 17:20+0100\n" "PO-Revision-Date: 2007-03-15 12:39-0500\n" "Last-Translator: Rudy Godoy <rudy@stone-head.org>\n" "Language-Team: Spanish <debian-l10n-spanish@lists.debian.org>\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../squidguard.templates:4 msgid "Rebuild Squidguard blacklist database during postinst?" msgstr "" "¿Desea reconstruir las bases de datos de lista negra de Squidguard en la " "instalación?" #. Type: boolean #. Description #: ../squidguard.templates:5 msgid "" "Rebuilding the blacklist databases is time consuming and under some " "circumstances could cause problems. With the breakout of individual " "blacklist section packages the time it takes for each package to rebuild " "will be extensive. Also it may not be desireable to rebuild these databases " "on production servers. You can manually perform a rebuild by running /usr/" "sbin/update-squidguard." msgstr "" "La reconstrucción de las bases de datos de lista negra demanda tiempo y " "podría causar problemas bajo algunas circunstancias. Con la separación en " "secciones de paquetes individuales de listas negras, el tiempo que se tome " "para reconstruir cada paquete será extenso. También, puede que no sea " "apropiado reconstruir estas bases de datos en servidores de producción. " "Puede reconstruirlas en forma manual invocando «/usr/sbin/update-squigguard»." �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/po/pt_BR.po����������������������������������������������������������������������������������0000644�0000000�0000000�00000003535�12270550706�011164� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������# Debconf translations for squidguard. # Copyright (C) 2009 THE squidguard'S COPYRIGHT HOLDER # This file is distributed under the same license as the squidguard package. # Italo Valcy <italo@dcc.ufba.br>, 2009. # Adriano Rafael Gomes <adrianorg@gmail.com>, 2012. # msgid "" msgstr "" "Project-Id-Version: squidguard 1.5-1\n" "Report-Msgid-Bugs-To: squidguard@packages.debian.org\n" "POT-Creation-Date: 2010-06-25 17:20+0100\n" "PO-Revision-Date: 2012-06-11 00:12-0300\n" "Last-Translator: Adriano Rafael Gomes <adrianorg@gmail.com>\n" "Language-Team: Brazilian Portuguese <debian-l10n-portuguese@lists.debian." "org>\n" "Language: pt_BR\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" #. Type: boolean #. Description #: ../squidguard.templates:4 msgid "Rebuild Squidguard blacklist database during postinst?" msgstr "" "Reconstruir o banco de dados de lista negra do Squidguard durante o postinst?" #. Type: boolean #. Description #: ../squidguard.templates:5 msgid "" "Rebuilding the blacklist databases is time consuming and under some " "circumstances could cause problems. With the breakout of individual " "blacklist section packages the time it takes for each package to rebuild " "will be extensive. Also it may not be desireable to rebuild these databases " "on production servers. You can manually perform a rebuild by running /usr/" "sbin/update-squidguard." msgstr "" "Reconstruir os bancos de dados de lista negra consome tempo e em alguns " "casos pode causar problemas. Com o advento de pacotes individuais de seções " "de lista negra o tempo necessário para cada pacote ser reconstruído será " "muito extenso. Também poderá não ser desejável reconstruir esses bancos de " "dados em servidores em produção. Você pode fazer manualmente a reconstrução " "executando /usr/sbin/update-squidguard." �������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/patches/�������������������������������������������������������������������������������������0000755�0000000�0000000�00000000000�11745111200�010605� 5����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/patches/01_add-destdir-in-makefile.patch�����������������������������������������������������0000644�0000000�0000000�00000005163�11742117034�016506� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Package: squidguard Subject: Add $DESTDIR in Makefile Author: Adam Cécile (Le_Vert) <gandalf@le-vert.net> Forwarded: no Last-Update: 2012-04-13 Add variable $DESTDIR into Makefile for use with Debian. --- diff -urN s00/Makefile.in s01/Makefile.in --- s00/Makefile.in 2008-05-17 20:36:44.000000000 +0200 +++ s01/Makefile.in 2012-04-13 23:38:01.576438576 +0200 @@ -47,34 +47,25 @@ install-conf: @echo Installing configuration file ; - @if [ ! -d $(prefix)/squidGuard ]; then \ - $(MKINSTALLDIRS) $(prefix)/squidGuard ; \ - echo Created directory $(prefix)/squidGuard ; \ - chown -R $(SQUIDUSER) $(prefix)/squidGuard || exit 1 ; \ - echo Assigned $(prefix)/squidGuard to user $(SQUIDUSER) ; \ - fi ; - @if [ ! -d $(dbhomedir) ]; then \ - $(MKINSTALLDIRS) $(dbhomedir) ; \ + @if [ ! -d $(DESTDIR)/$(dbhomedir) ]; then \ + $(MKINSTALLDIRS) $(DESTDIR)/$(dbhomedir) ; \ echo Created directory $(dbhomedir) ; \ - chown -R $(SQUIDUSER) $(dbhomedir) || exit 1 ; \ - echo Assigned $(dbhomedir) to user $(SQUIDUSER) ; \ fi ; - @if [ ! -d $(logdir) ]; then \ - $(MKINSTALLDIRS) $(logdir) ; \ + @if [ ! -d $(DESTDIR)/$(logdir) ]; then \ + $(MKINSTALLDIRS) $(DESTDIR)/$(logdir) ; \ echo Created directory $(logdir) ; \ - chown -R $(SQUIDUSER) $(logdir) || exit 1 ; \ - echo Assigned $(logdir) to user $(SQUIDUSER) ; \ fi ; - @if [ ! -d `dirname $(configfile)` ]; then \ + @if [ ! -d `dirname $(DESTDIR)/$(configfile)` ]; then \ umask 022 ; \ - mkdir -p `dirname $(configfile)` ; \ - echo No configuration directory found. Created `dirname $(configfile)`. ; \ + mkdir -p `dirname $(DESTDIR)/$(configfile)` ; \ + echo No configuration directory found. \ + echo Created `dirname $(DESTDIR)/$(configfile)`. ; \ fi; - @if test ! -f $(configfile); then \ - cp samples/sample.conf $(configfile) || exit 1 ; \ + @if test ! -f $(DESTDIR)/$(configfile); then \ + cp samples/sample.conf $(DESTDIR)/$(configfile) || exit 1 ; \ echo Copied sample squidGuard.conf ; \ - chmod 644 $(configfile) || exit 1 ; \ - echo $(configfile) is now readable ; \ + chmod 644 $(DESTDIR)/$(configfile) || exit 1 ; \ + echo $(DESTDIR)/$(configfile) is now readable ; \ echo The initial configuration is complete. ; \ else \ echo Configuration file found. Not changing anything ; \ @@ -85,10 +76,10 @@ install-build: @echo Installing squidGuard - @if [ ! -d $(bindir) ]; then \ - $(MKINSTALLDIRS) $(bindir) ; \ + @if [ ! -d $(DESTDIR)/$(bindir) ]; then \ + $(MKINSTALLDIRS) $(DESTDIR)/$(bindir) ; \ fi ; \ - cp src/squidGuard $(bindir) || exit 1 ; \ + cp src/squidGuard $(DESTDIR)/$(bindir) || exit 1 ; \ echo Done. ; clean:: �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/patches/04_update-links-in-doc-files.patch���������������������������������������������������0000644�0000000�0000000�00000005746�11742117045�017026� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Package: squidguard Subject: Update links in documentation files Author: Joachim Wiedorn <ad_debian at joonet.de> Forwarded: no Last-Update: 2012-04-13 Use current links in doc/configure.txt and doc/extended.txt. --- diff -urN s01/doc/configure.txt s04/doc/configure.txt --- s01/doc/configure.txt 2007-11-16 17:58:32.000000000 +0100 +++ s04/doc/configure.txt 2012-04-13 23:39:20.828436270 +0200 @@ -131,13 +131,13 @@ References - 1. http://squidguard.shalla.de/index.html - 2. http://squidguard.shalla.de/Doc/index.html - 3. http://squidguard.shalla.de/download.html - 4. http://squidguard.shalla.de/blacklists.html - 5. http://squidguard.shalla.de/addsoft.html - 6. http://squidguard.shalla.de/Doc/install.html - 7. http://squidguard.shalla.de/Doc/configure.html - 8. http://squidguard.shalla.de/Doc/extended.html - 9. http://squidguard.shalla.de/Doc/known_issues.html - 10. http://squidguard.shalla.de/Doc/extended.html + 1. http://www.squidguard.org/index.html + 2. http://www.squidguard.org/Doc/index.html + 3. http://www.squidguard.org/download.html + 4. http://www.squidguard.org/blacklists.html + 5. http://www.squidguard.org/addsoft.html + 6. http://www.squidguard.org/Doc/install.html + 7. http://www.squidguard.org/Doc/configure.html + 8. http://www.squidguard.org/Doc/extended.html + 9. http://www.squidguard.org/Doc/known_issues.html + 10. http://www.squidguard.org/Doc/extended.html diff -urN s01/doc/extended.txt s04/doc/extended.txt --- s01/doc/extended.txt 2007-11-16 17:58:32.000000000 +0100 +++ s04/doc/extended.txt 2012-04-13 23:39:20.828436270 +0200 @@ -120,16 +120,16 @@ References - 1. http://squidguard.shalla.de/index.html - 2. http://squidguard.shalla.de/Doc/index.html - 3. http://squidguard.shalla.de/download.html - 4. http://squidguard.shalla.de/blacklists.html - 5. http://squidguard.shalla.de/addsoft.html - 6. http://squidguard.shalla.de/Doc/install.html - 7. http://squidguard.shalla.de/Doc/configure.html - 8. http://squidguard.shalla.de/Doc/extended.html - 9. http://squidguard.shalla.de/Doc/known_issues.html - 10. http://squidguard.shalla.de/Doc/extended.html#notIP - 11. http://squidguard.shalla.de/Doc/extended.html#times - 12. http://squidguard.shalla.de/Doc/extended.html#sourceIP - 13. http://squidguard.shalla.de/Doc/extended.html#blocklog + 1. http://www.squidguard.org/index.html + 2. http://www.squidguard.org/Doc/index.html + 3. http://www.squidguard.org/download.html + 4. http://www.squidguard.org/blacklists.html + 5. http://www.squidguard.org/addsoft.html + 6. http://www.squidguard.org/Doc/install.html + 7. http://www.squidguard.org/Doc/configure.html + 8. http://www.squidguard.org/Doc/extended.html + 9. http://www.squidguard.org/Doc/known_issues.html + 10. http://www.squidguard.org/Doc/extended.html#notIP + 11. http://www.squidguard.org/Doc/extended.html#times + 12. http://www.squidguard.org/Doc/extended.html#sourceIP + 13. http://www.squidguard.org/Doc/extended.html#blocklog ��������������������������debian/patches/05_distclean-more-files.patch��������������������������������������������������������0000644�0000000�0000000�00000002012�11742117057�016150� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Package: squidguard Subject: distclean more files Author: Joachim Wiedorn <ad_debian at joonet.de> Forwarded: no Last-Update: 2012-04-13 Some distclean rules do not delete all files, which will be created while configure or compiling. --- diff -urN s04/samples/Makefile.in s05/samples/Makefile.in --- s04/samples/Makefile.in 2007-11-16 17:58:32.000000000 +0100 +++ s05/samples/Makefile.in 2012-04-13 23:39:43.835436866 +0200 @@ -49,4 +49,5 @@ distclean:: realclean @echo making $@ in `basename \`pwd\`` - $(RM) Makefile sample.conf squidGuard.cgi squidGuard-simple.cgi + $(RM) Makefile sample.conf squidGuard.cgi + $(RM) squidGuard-simple.cgi squidGuard-simple-de.cgi diff -urN s04/src/Makefile.in s05/src/Makefile.in --- s04/src/Makefile.in 2009-01-03 21:05:39.000000000 +0100 +++ s05/src/Makefile.in 2012-04-13 23:39:43.872458996 +0200 @@ -150,6 +150,7 @@ distclean:: realclean @echo making $@ in `basename \`pwd\`` $(RM) Makefile sg.h config.h + $(RM) sg.y sgDiv.c # # Dependencies for maintenance ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/patches/06_move-setuserinfo-to-sg-y.patch����������������������������������������������������0000644�0000000�0000000�00000002633�11742117215�016757� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Package: squidguard Subject: move setuserinfo() to sg.y.in Author: Joachim Wiedorn <ad_debian at joonet.de> Forwarded: yes Last-Update: 2012-04-13 For real 64 bit architectures we get a segmentation fault. It seems the reason is that the function setuserinfo() is unknown in sg.y. This patch move the function into sg.y.in --- diff -urN s05/src/sgDiv.c.in s06/src/sgDiv.c.in --- s05/src/sgDiv.c.in 2011-10-01 20:49:00.000000000 +0200 +++ s06/src/sgDiv.c.in 2012-04-13 23:41:22.156438429 +0200 @@ -865,25 +865,6 @@ return buf; } -#if __STDC__ -struct UserInfo *setuserinfo() -#else -struct UserInfo *setuserinfo() -#endif -{ - static struct UserInfo uq; - uq.status = 0; - uq.time = 0; - uq.consumed = 0; - uq.last = 0; -#ifdef HAVE_LIBLDAP - uq.ldapuser = 0; - uq.found = 0; - uq.cachetime = 0; -#endif - return &uq; -} - #ifdef HAVE_LIBLDAP #if __STDC__ struct IpInfo *setipinfo() diff -urN s05/src/sg.y.in s06/src/sg.y.in --- s05/src/sg.y.in 2011-10-01 20:49:00.000000000 +0200 +++ s06/src/sg.y.in 2012-04-13 23:41:22.183458821 +0200 @@ -406,6 +406,25 @@ fclose(yyin); } +#if __STDC__ +struct UserInfo *setuserinfo() +#else +struct UserInfo *setuserinfo() +#endif +{ + static struct UserInfo uq; + uq.status = 0; + uq.time = 0; + uq.consumed = 0; + uq.last = 0; +#ifdef HAVE_LIBLDAP + uq.ldapuser = 0; + uq.found = 0; + uq.cachetime = 0; +#endif + return &uq; +} + /* �����������������������������������������������������������������������������������������������������debian/patches/07_update-samples-to-utf8.patch������������������������������������������������������0000644�0000000�0000000�00000005425�11742120445�016402� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Package: squidguard Subject: update samples to use default UTF-8 Author: Joachim Wiedorn <ad_debian at joonet.de> Forwarded: no Last-Update: 2012-04-13 The sample files have charset ISO-8859-15 with some typos. But all text files in sources should be UTF-8. --- diff -urN s06/samples/sample.conf.in s07/samples/sample.conf.in --- s06/samples/sample.conf.in 2007-11-16 17:58:32.000000000 +0100 +++ s07/samples/sample.conf.in 2012-04-13 23:55:47.880436363 +0200 @@ -56,7 +56,7 @@ domainlist dest/adult/domains urllist dest/adult/urls expressionlist dest/adult/expressions - redirect http://admin.foo.bar.de/cgi/blocked?clientaddr=%a+clientname=%n+clientuser=%i+clientgroup=%s+targetgroup=%t+url=%u + redirect http://admin.foo.bar.de/cgi-bin/blocked.cgi?clientaddr=%a&clientname=%n&clientuser=%i&clientgroup=%s&targetgroup=%t&url=%u } @@ -78,6 +78,6 @@ default { pass local none rewrite dmz - redirect http://admin.foo.bar.de/cgi/blocked?clientaddr=%a+clientname=%n+clientuser=%i+clientgroup=%s+targetgroup=%t+url=%u + redirect http://admin.foo.bar.de/cgi-bin/blocked.cgi?clientaddr=%a&clientname=%n&clientuser=%i&clientgroup=%s&targetgroup=%t&url=%u } } diff -urN s06/samples/squidGuard.cgi.in s07/samples/squidGuard.cgi.in --- s06/samples/squidGuard.cgi.in 2011-10-01 20:49:00.000000000 +0200 +++ s07/samples/squidGuard.cgi.in 2012-04-13 23:54:15.472144482 +0200 @@ -2,7 +2,7 @@ # # Explain to the user that the URL is blocked and by which rule set # -# Original by Pl Baltzersen 1999 (pal.baltzersen@ost.eltele.no) +# Original by Pål Baltzersen 1999 (pal.baltzersen@ost.eltele.no) # French texts thanks to Fabrice Prigent (fabrice.prigent@univ-tlse1.fr) # Dutch texts thanks to Anneke Sicherer-Roetman (sicherer@sichemsoft.nl) # German texts thanks to Buergernetz Pfaffenhofen (http://www.bn-paf.de/filter/) diff -urN s06/samples/squidGuard-simple.cgi.in s07/samples/squidGuard-simple.cgi.in --- s06/samples/squidGuard-simple.cgi.in 2007-11-16 17:58:32.000000000 +0100 +++ s07/samples/squidGuard-simple.cgi.in 2012-04-13 23:55:47.910579514 +0200 @@ -2,7 +2,7 @@ # # Sample CGI to explain to the user that the URL is blocked and by which rule set # -# By Pl Baltzersen 1998 +# By Pål Baltzersen 1998 # Modifications by Christine Kronberg, 2007. # diff -urN s06/samples/squidGuard-simple-de.cgi.in s07/samples/squidGuard-simple-de.cgi.in --- s06/samples/squidGuard-simple-de.cgi.in 2007-11-16 17:58:32.000000000 +0100 +++ s07/samples/squidGuard-simple-de.cgi.in 2012-04-13 23:55:47.943993139 +0200 @@ -3,7 +3,7 @@ # Beispel-CGI Skript, um dem Benutzer zu erklaeren, aufgrund welcher Regel # eine URL geblockt worden ist. # -# Englisches Orginal von Pl Baltzersen 1998 +# Englisches Orginal von Pål Baltzersen 1998 # Deutsche Uebersetzung von Christine Kronberg 2007 # �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/patches/09_missing-content-after-percent-sign.patch������������������������������������������0000644�0000000�0000000�00000001733�11742120642�020765� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Package: squidguard Subject: missing content after percent sign Author: Andrew Robert Nicols <andrew.nicols@luns.net.uk> Origin: upstream Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=639358 Forwarded: no Last-Update: 2012-04-13 When using a rewrite rule in squidGuard, if the URL contains a %20 (and potentially other encodings), anything after the final % character is not included in the URL. As an example: http://www.example.com/?query=example%20query%20string Would be rewritten as http://www.example.com/?query=example%20query% (with any regular expression changes which would normally be applied by your rewrite rule). --- diff -urN s08/src/sgDiv.c.in s09/src/sgDiv.c.in --- s08/src/sgDiv.c.in 2012-04-02 23:59:42.853166827 +0200 +++ s09/src/sgDiv.c.in 2012-04-03 00:02:21.333167569 +0200 @@ -757,8 +757,10 @@ } if(buf[0] == '\0') q = redirect; - else + else { + strncat(buf, q, p - q); q = buf; + } return q; } �������������������������������������debian/patches/10_use-newer-ldapsearch-of-denis.patch�����������������������������������������������0000644�0000000�0000000�00000002556�11742121643�017667� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Package: squidguard Subject: use newer ldapsearch (thanks to Denis Bonnenfant) Author: Joachim Wiedorn <ad_debian@joonet.de> Origin: upstream Forwarded: no Last-Update: 2012-04-13 This patch use better technique of OpenLDAP search. --- diff -urN s09/src/sg.l s10/src/sg.l --- s09/src/sg.l 2011-10-01 20:49:00.000000000 +0200 +++ s10/src/sg.l 2012-04-14 00:04:01.428436305 +0200 @@ -76,6 +76,7 @@ %x REDIRECT_STATE +%x LDAPURI_STATE %x EXEC_STATE %x STRING_STATE @@ -116,13 +117,11 @@ return USERQUERY; } ldapusersearch { - /* use the REDIRECT_STATE logic, since it handles URLs nicely */ - /* BEGIN REDIRECT_STATE; */ + BEGIN LDAPURI_STATE; return LDAPUSERSEARCH; } ldapipsearch { - /* use the REDIRECT_STATE logic, since it handles URLs nicely */ - BEGIN REDIRECT_STATE; + BEGIN LDAPURI_STATE; return LDAPIPSEARCH; } execuserlist { @@ -164,6 +163,11 @@ <REDIRECT_STATE>\n {lineno++;} <REDIRECT_STATE>. {return yytext[0];} +<LDAPURI_STATE>[a-zA-Z3\/][a-zA-Z0-9/_\*\-\.\,\(\)\/\:\%\+\?=&~!]* { yylval.string = yytext ; BEGIN 0; return WORD;} +<LDAPURI_STATE>[ \t]+ ; +<LDAPURI_STATE>\n {lineno++;} +<LDAPURI_STATE>. {return yytext[0];} + <EXEC_STATE>[^\n]* { yylval.string = yytext; BEGIN 0; return EXECCMD; } <EXEC_STATE>\n {lineno++;} ��������������������������������������������������������������������������������������������������������������������������������������������������debian/patches/11_fix-for-clean-target-without-syslog.patch�����������������������������������������0000644�0000000�0000000�00000001347�11745111200�021071� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Package: squidguard Subject: Fix for clean target without syslog Author: Joachim Wiedorn <ad_debian@joonet.de> Forwarded: no Last-Update: 2012-04-22 Simple fix for clean target without syslog for use with Debian. --- diff -urN s09/src/main.cl s10/src/main.c --- squidguard-1.5.orig/src/main.c 2011-10-01 20:49:00.000000000 +0200 +++ squidguard-1.5/src/main.c 2012-04-22 19:04:00.000000000 +0200 @@ -99,7 +99,7 @@ int main(argc, argv, envp) progname = argv[0]; globalPid = getpid(); #ifdef USE_SYSLOG -openlog("squidGuard", LOG_PID | LOG_NDELAY | LOG_CONS, LOG_LOCAL2); +openlog("squidGuard", LOG_PID | LOG_NDELAY | LOG_CONS, LOG_); #endif while ((ch = getopt(argc, argv, "hbduPC:t:c:v")) != EOF) switch (ch) { �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/patches/series�������������������������������������������������������������������������������0000644�0000000�0000000�00000000444�11745111200�012024� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������01_add-destdir-in-makefile.patch 04_update-links-in-doc-files.patch 05_distclean-more-files.patch 06_move-setuserinfo-to-sg-y.patch 07_update-samples-to-utf8.patch 09_missing-content-after-percent-sign.patch 10_use-newer-ldapsearch-of-denis.patch 11_fix-for-clean-target-without-syslog.patch ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/squidguard.dirs������������������������������������������������������������������������������0000644�0000000�0000000�00000000026�11745076415�012231� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������var/lib/squidguard/db ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/squidguard.postrm����������������������������������������������������������������������������0000644�0000000�0000000�00000002050�11745100500�012572� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/bin/sh # postrm script for squidguard # # see: dh_installdeb(1) set -e DEFCONF="/etc/default/squidguard" DATADIR="/var/lib/squidguard/db" DBVERS="/var/lib/squidguard/dbversion" CONFDIR="/etc/squidguard" CONFFILE="${CONFDIR}/squidGuard.conf" LOGDIR="/var/log/squidguard" LOGOLD="/var/log/squid" case "$1" in purge|disappear) test -f ${DEFCONF} && rm -f ${DEFCONF} test -d ${LOGDIR} && rm -rf ${LOGDIR} test -d ${DATADIR} && rm -rf ${DATADIR} test -f ${DBVERS} && rm -rf ${DBVERS} test -f ${CONFFILE} && rm -f ${CONFFILE} test -f ${CONFFILE}_old && rm -f ${CONFFILE}_old rmdir --ignore-fail-on-non-empty ${CONFDIR} 2>/dev/null || true ;; remove|abort-install) test -f ${DEFCONF} && rm -f ${DEFCONF} ;; upgrade|failed-upgrade|abort-upgrade) ;; *) echo "postrm called with unknown argument \`$1'" >&2 exit 0 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/squidguard-doc.dirs��������������������������������������������������������������������������0000644�0000000�0000000�00000000103�11745076771�012775� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������usr/share/doc/squidguard-doc/html usr/share/doc/squidguard-doc/doc �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/squidguard-doc.doc-base����������������������������������������������������������������������0000644�0000000�0000000�00000000606�11745076771�013521� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������Document: squidguard-doc Title: Older SquidGuard Documentation Author: Pål Baltzersen, Lars Erik Håland, Mirko Lorenz Abstract: This document describes the usage of SquidGuard. Section: Network/Web Browsing Format: Text Files: /usr/share/doc/squidguard-doc/doc/*.txt.gz Format: HTML Index: /usr/share/doc/squidguard-doc/html/index.html Files: /usr/share/doc/squidguard-doc/html/*.html ��������������������������������������������������������������������������������������������������������������������������debian/squidguard-doc.install�����������������������������������������������������������������������0000644�0000000�0000000�00000000212�11745076771�013503� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������doc/*.txt usr/share/doc/squidguard-doc/doc doc/*.gif usr/share/doc/squidguard-doc/html doc/*.html usr/share/doc/squidguard-doc/html ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/squidGuard.conf.default����������������������������������������������������������������������0000644�0000000�0000000�00000002325�12040303664�013570� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������# # CONFIG FILE FOR SQUIDGUARD # # Caution: do NOT use comments inside { } # dbhome /var/lib/squidguard/db logdir /var/log/squidguard # # TIME RULES: # abbrev for weekdays: # s = sun, m = mon, t =tue, w = wed, h = thu, f = fri, a = sat time workhours { weekly mtwhf 08:00 - 16:30 date *-*-01 08:00 - 16:30 } # # SOURCE ADDRESSES: # src admin { ip 1.2.3.4 1.2.3.5 user root foo bar within workhours } src foo-clients { ip 172.16.2.32-172.16.2.100 172.16.2.100 172.16.2.200 } src bar-clients { ip 172.16.4.0/26 } # # DESTINATION CLASSES: # # [see also in file dest-snippet.txt] dest good { } dest local { } dest porn { } #dest adult { # domainlist BL/adult/domains # urllist BL/adult/urls # expressionlist BL/adult/expressions # redirect http://admin.foo.bar.de/cgi-bin/blocked.cgi?clientaddr=%a&clientname=%n&clientuser=%i&clientgroup=%s&targetgroup=%t&url=%u #} # # ACL RULES: # acl { admin { pass any } foo-clients within workhours { pass good !in-addr !porn any } else { pass any } bar-clients { pass local none } default { pass local none redirect http://admin.foo.bar.de/cgi-bin/blocked.cgi?clientaddr=%a&clientname=%n&clientuser=%i&clientgroup=%s&targetgroup=%t&url=%u } } �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/update-squidguard����������������������������������������������������������������������������0000644�0000000�0000000�00000006456�12040303505�012544� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/bin/sh # # update-squidguard - db update script for SquidGuard # # Copyright 2003 Ivan E. Moore II <rkrusty at debian.org> # Copyright 2010-2012 Joachim Wiedorn <ad_debian at joonet.de> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. set -e # check command options if [ $# -gt 0 ]; then while [ -n "$*" ]; do case "$1" in -v|--verbose) VERBOSE=y; VBPAR="-b" ;; -c|--checkdb) CHECKDB=y ;; esac shift done fi CONFDIR=/etc/squidguard CONFOLD=/etc/squid CONFFILE=squidGuard.conf DATADIR= DBVFILE= DB_ACT= DB_OLD= REBUILD=y # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # Check all needed directories # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # check for new config directory (sg 1.5) if test ! -e ${CONFDIR}/${CONFFILE}; then if test -e ${CONFOLD}/${CONFFILE} then CONFDIR=${CONFOLD}; fi fi [ ! -z $VERBOSE ] && echo "Check config directory for squidguard." >&2 test -d ${CONFDIR} || mkdir -p ${CONFDIR} if test ! -e ${CONFDIR}/${CONFFILE}; then echo "No config file $CONFDIR/$CONFFILE found - exiting update-squidguard." >&2 exit 0 fi chown proxy:proxy ${CONFDIR}/${CONFFILE} chmod 0640 ${CONFDIR}/${CONFFILE} # read default directories in config file DATADIR=$(grep ^dbhome ${CONFDIR}/${CONFFILE} | cut -d' ' -f2) DBVFILE=${DATADIR}/../dbversion [ ! -z $VERBOSE ] && echo "Check data directory for squidguard." >&2 test -d ${DATADIR} || mkdir -p ${DATADIR} if [ $(ls -1 ${DATADIR} | wc -l) -eq 0 ]; then echo "No data files found in ${DATADIR} - exiting update-squidguard." >&2 exit 0 fi chown -R proxy:proxy ${DATADIR} find ${DATADIR} -type d | xargs chmod 2750 [ ! -z $VERBOSE ] && echo "Check done." >&2 # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # Rebuild full database # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ DB_ACT=$(squidGuard -v 2>&1 | sed "s/.*DB\ \(.*\):.*/\1/") # check BDB version whether rebuild is needed (usually for use in postinst) if [ ! -z $CHECKDB ] && [ -f ${DBVFILE} ]; then DB_OLD=$(cat ${DBVFILE}) [ "$DB_OLD" = "$DB_ACT" ] && REBUILD=n fi # rebuild database if needed if [ $REBUILD = "y" ]; then echo "Rebuild SquidGuard database - this can take a while." >&2 su - proxy -c "squidGuard ${VBPAR} -C all" # update info file with Berkeley DB version echo ${DB_ACT} >${DBVFILE} [ ! -z $VERBOSE ] && echo "Rebuild done." >&2 else echo "Rebuild of SquidGuard database not needed." >&2 fi # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # Reload squid service # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ if [ -e /etc/init.d/squid3 ]; then invoke-rc.d squid3 force-reload elif [ -e /etc/init.d/squid ]; then invoke-rc.d squid force-reload else [ ! -z $VERBOSE ] && echo "No init.d script found for reloading Squid!" >&2 fi ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/dest-snippet.txt�����������������������������������������������������������������������������0000644�0000000�0000000�00000010047�11745103245�012352� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������# # DESTINATION CLASSES: # #NAME EN: Advertisements #NAME DE: Werbung dest advert { domainlist BL/adv/domains urllist BL/adv/urls } #NAME EN: Aggressive #NAME DE: Aggressiv dest aggress { domainlist BL/aggressive/domains urllist BL/aggressive/urls } #NAME EN: Alcohol #NAME DE: Alkohol dest alcohol { domainlist BL/alcohol/domains urllist BL/alcohol/urls } #NAME EN: Anonymous VPN #NAME DE: Anonymes VPN dest anonvpn { domainlist BL/anonvpn/domains urllist BL/anonvpn/urls } #NAME EN: Chat #NAME DE: Chatten dest chat { domainlist BL/chat/domains urllist BL/chat/urls } #NAME EN: Cost Traps #NAME DE: Kostenfallen dest traps { domainlist BL/costtraps/domains urllist BL/costtraps/urls } #NAME EN: Dating #NAME DE: Kontaktboersen dest dating { domainlist BL/dating/domains urllist BL/dating/urls } #NAME EN: Drugs #NAME DE: Drogen dest drugs { domainlist BL/drugs/domains urllist BL/drugs/urls } #NAME EN: Dynamic Addresses #NAME DE: Dynamische Adressen dest dynamic { domainlist BL/dynamic/domains urllist BL/dynamic/urls } #NAME EN: Fortune telling #NAME DE: Wahrsagerei dest fortune { domainlist BL/fortunetelling/domains urllist BL/fortunetelling/urls } #NAME EN: Forum #NAME DE: Forum dest forum { domainlist BL/forum/domains urllist BL/forum/urls } #NAME EN: Gambling/Casino #NAME DE: Wetten/Gluecksspiel dest gamble { domainlist BL/gamble/domains urllist BL/gamble/urls } #NAME EN: Hacking #NAME DE: Hacking dest hacking { domainlist BL/hacking/domains urllist BL/hacking/urls } #NAME EN: Hobby/Games #NAME DE: Hobby/Spiele dest hobby2 { domainlist BL/hobby/games-misc/domains urllist BL/hobby/games-misc/urls } #NAME EN: Hobby/Online-Games #NAME DE: Hobby/Online-Spiele dest hobby3 { domainlist BL/hobby/games-online/domains urllist BL/hobby/games-online/urls } #NAME EN: Imagehosting #NAME DE: Bildergalerien dest imagehost { domainlist BL/imagehosting/domains urllist BL/imagehosting/urls } #NAME EN: Porn (15 MByte) #NAME DE: Pornographie dest porn { domainlist BL/porn/domains urllist BL/porn/urls } #NAME EN: Sex/Lingerie #NAME DE: Sex/Reizwaesche dest sex1 { domainlist BL/sex/lingerie/domains urllist BL/sex/lingerie/urls } #NAME EN: Sex/Education #NAME DE: Sex/Sexualkunde dest sex2 { domainlist BL/sex/education/domains urllist BL/sex/education/urls } #NAME EN: Proxy #NAME DE: Proxy dest proxies { domainlist BL/redirector/domains urllist BL/redirector/urls } #NAME EN: Remote Control #NAME DE: Fernkontrolle dest remote { domainlist BL/remotecontrol/domains urllist BL/remotecontrol/urls } #NAME EN: Ringtones #NAME DE: Klingeltöne dest ringtones { domainlist BL/ringtones/domains urllist BL/ringtones/urls } #NAME EN: Social Networking #NAME DE: Social Networking dest socialnet { domainlist BL/socialnet/domains urllist BL/socialnet/urls } #NAME EN: Spyware #NAME DE: Spioniersoftware dest spyware { domainlist BL/spyware/domains urllist BL/spyware/urls } #NAME EN: Tracker #NAME DE: Ausspaehsoftware dest tracker { domainlist BL/tracker/domains urllist BL/tracker/urls } #NAME EN: URL shortener #NAME DE: Kurz-URLs dest urlshort { domainlist BL/urlshortener/domains urllist BL/urlshortener/urls } #NAME EN: Violence #NAME DE: Gewalt dest violence { domainlist BL/violence/domains urllist BL/violence/urls } #NAME EN: Warez #NAME DE: Hacker-Software dest warez { domainlist BL/warez/domains urllist BL/warez/urls } #NAME EN: Weapons #NAME DE: Waffen dest weapons { domainlist BL/weapons/domains urllist BL/weapons/urls } #NAME EN: Webmail #NAME DE: Webmail dest webmail { domainlist BL/webmail/domains urllist BL/webmail/urls } #NAME EN: Internet Phone #NAME DE: Internet Telephonie dest webphone { domainlist BL/webphone/domains urllist BL/webphone/urls } #NAME EN: Internet radios #NAME DE: Internet Radios dest webradio { domainlist BL/webradio/domains urllist BL/webradio/urls } #NAME EN: Web TV, Internet TV #NAME DE: Internet Fernsehen dest webtv { domainlist BL/webtv/domains urllist BL/webtv/urls } �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/squidguard.examples��������������������������������������������������������������������������0000644�0000000�0000000�00000000135�12047437375�013111� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������samples/*.cgi samples/*.conf samples/babel.* contrib/squidGuardRobot debian/dest-snippet.txt �����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/scripts/�������������������������������������������������������������������������������������0000755�0000000�0000000�00000000000�11745111067�010660� 5����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/scripts/squidguard-data����������������������������������������������������������������������0000644�0000000�0000000�00000003425�11745103640�013664� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/bin/sh # # squidguard-data - script for updating database for SquidGuard # # Copyright 2011-2012 Joachim Wiedorn <ad_debian at joonet.de> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. set -e LANG=C LIST=shallalist SUF=.tar.gz AKT=${LIST}${SUF} OLD=${LIST}_old${SUF} LINK=http://www.shallalist.de/Downloads BASE=/var/lib/squidguard DATA=${BASE}/db ZIP=${BASE}/zip test -d ${DATA} || mkdir -p ${DATA} test -d ${ZIP} || mkdir -p ${ZIP} cd ${ZIP} if test -e ${AKT}; then mv ${AKT} ${OLD}; fi echo "Download new database ($LIST) ..." if wget --timeout=120 --no-check-certificate ${LINK}/${AKT} then echo "Download done." if test -f ${ZIP}/${AKT}; then echo -n "Update database ($LIST) ..." tar -xzf ${ZIP}/${AKT} -C ${DATA} chown -R proxy:proxy ${DATA} chmod -R 2750 ${DATA} echo " done." fi else if test -e ${AKT}; then rm -f ${AKT}; fi if test -e ${OLD}; then mv ${OLD} ${AKT}; fi echo "Download failed - new database ($LIST) not found!" echo "Abort!" exit 1 fi echo; echo # finally start update of Berkeley DB update-squidguard �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/scripts/add-sg-to-squid����������������������������������������������������������������������0000644�0000000�0000000�00000003125�11745111067�013506� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/bin/sh # # add-filter-to-squid - add squidGuard filter to squid config. # # Copyright 2011-2012 Joachim Wiedorn <ad_debian at joonet.de> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. set -e GUARDCONF=/etc/squidguard/squidGuard.conf if test ! -f ${GUARDCONF}; then echo "File squidGuard.conf not found - abort!" exit 1 fi if test -f /etc/squid3/squid.conf; then SQUIDCONF=/etc/squid3/squid.conf elif test -f /etc/squid/squid.conf; then SQUIDCONF=/etc/squid/squid.conf else echo "File squid.conf not found - abort!" exit 1 fi if [ $(grep -c 'FILTER START' ${SQUIDCONF}) -gt 0 ]; then echo "Lines for squidguard already inside squid.conf - exiting." exit 0 fi cp -p ${SQUIDCONF} ${SQUIDCONF}_tmp echo " ### FILTER START ### url_rewrite_program /usr/bin/squidGuard -c ${GUARDCONF} ### FILTER END ### " >> ${SQUIDCONF} echo "Lines for squidguard filter added to squid.conf." �������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/scripts/del-sg-from-squid��������������������������������������������������������������������0000644�0000000�0000000�00000002734�11745111067�014050� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/bin/sh # # del-filter-from-squid - delete squidGuard filter from squid config. # # Copyright 2011-2012 Joachim Wiedorn <ad_debian at joonet.de> # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 as # published by the Free Software Foundation. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, # MA 02110-1301, USA. set -e if test -f /etc/squid3/squid.conf; then SQUIDCONF=/etc/squid3/squid.conf elif test -f /etc/squid/squid.conf; then SQUIDCONF=/etc/squid/squid.conf else echo "File squid.conf not found - abort!" exit 1 fi if [ $(grep -c 'FILTER START' ${SQUIDCONF}) -eq 0 ]; then echo "Lines for squidguard not found inside squid.conf - exiting." exit 0 fi LINE=$(grep -n '### FILTER START ###' ${SQUIDCONF} | cut -d':' -f1) CUTT=$(( LINE - 2 )) head -n${CUTT} ${SQUIDCONF} > ${SQUIDCONF}_tmp cat ${SQUIDCONF}_tmp > ${SQUIDCONF} echo "Lines for squidguard deleted from squid.conf." ������������������������������������debian/changelog������������������������������������������������������������������������������������0000644�0000000�0000000�00000036072�12270551233�011050� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������squidguard (1.5-2) unstable; urgency=low * Fix small typo in update-squidguard. * Add new pt_BR debconf translation. Closes: #677796 * Add missing babel files (for cgi scripts). Closes: #736478 * debian/control: - Bump Standards-Version to 3.9.4 (no changes). - Move to debhelper >=9 and compat level 9. * Update debian/rules, because hardening is always enabled. -- Joachim Wiedorn <ad_debian@joonet.de> Fri, 24 Jan 2014 21:34:05 +0100 squidguard (1.5-1) unstable; urgency=low * New upstream release. * Add option for BDB check in update-squidguard. * Add BDB check in postinst script. * Add info about BDB check in README.Debian. * Update manpage of update-squidguard. * Delete default database directory in postrm script. (Closes: #668716) * Split documentation in 'doc' and 'html' in -doc package. * Use always /etc/squidguard directory for config file. * Store example config as /etc/squidguard/squidguard.conf.default. * Check for database files and update paths in update-squidguard. * Do not override existing config file while upgrading package. * Update of postinst and postrm scripts. * Add hints in the files NEWS and README.Debian. * Update all manual pages made for Debian. * Add example for destination configuration: dest-snippet.txt. * Add script to fetch new database: squidguard-data. * Add script to add filter to squid/squid3: add-sg-to-squid. * Add script to delete filter from squid/squid3: del-sg-from-squid. -- Joachim Wiedorn <ad_debian@joonet.de> Mon, 23 Apr 2012 01:05:01 +0200 squidguard (1.4-6) unstable; urgency=low * Fix chmod error in update-squidguard. * Add verbose option to update-squidguard. * Update manpage of update-squidguard. -- Joachim Wiedorn <ad_debian@joonet.de> Thu, 12 Apr 2012 21:44:07 +0200 squidguard (1.4-5) unstable; urgency=low [ Joachim Wiedorn ] * debian/control: - Move to debhelper (>= 8) and compat level 8. - Simplify build dependencies to libldap2-dev and libdb-dev. - Bump Standards-Version to 3.9.3 (no changes). - Remove dependency in -doc package (thanks to piuparts). * Fix minor typo in debian/copyright and updating. * Fix: missing content after % sign (sgDiv.c.in). (Closes: #639358) * Fix: enable hardened build flags. (Closes: #656028) * Use /var/log/squidguard for logging. (Closes: #629294) * Update script update-squidguard. * Save BDB version of .db files in /var/lib/squidguard/dbversion. * debian/postrm: update; purge all log files, too. (Closes: #658206) * debian/postinst: update; check new log directory for use. * Add some hints into NEWS file. [ Christian Perrier ] * Add DM-Upload-Approved field. Joachim obviously does good work maintaining this package. -- Joachim Wiedorn <ad_debian@joonet.de> Mon, 09 Apr 2012 00:10:25 +0200 squidguard (1.4-4) unstable; urgency=low * Add new patch to use Berkeley DB 5.x as well as 4.x. (Closes: #621376) -- Joachim Wiedorn <ad_debian@joonet.de> Tue, 31 May 2011 20:15:26 +0200 squidguard (1.4-3) unstable; urgency=low * samples: - Update adding variables in sample.conf.in. - Convert all sample files to UTF-8. * Update of debian/squidGuard.conf. (Closes: #415306) * Update of debian/copyright. * Add support for use with OpenLDAP (thanks to J.A. Medina). * Optimize script debian/update-squidguard. * debian/control: - Update dependencies to libdb4.8. (see #621376) (Closes: #628279) - Bump Standards-Version to 3.9.2 (no changes). - Update Vcs links to new server anonscm.debian.org. - Update dependency of squidguard to squid3 | squid. -- Joachim Wiedorn <ad_debian@joonet.de> Sun, 29 May 2011 20:55:35 +0200 squidguard (1.4-2) unstable; urgency=low * debian/copyright: - reorganize format (see DEP-5). - add special copyright and license for some files. * Fix for IA64: move setuserinfo() to sg.y.in. * Add danish debconf translation. (Closes: #586954) -- Joachim Wiedorn <ad_debian@joonet.de> Fri, 25 Jun 2010 17:42:24 +0200 squidguard (1.4-1) unstable; urgency=medium * New upstream release. (Closes: #372709, #491673, #535158) * New Debian maintainer. (Closes: #576169) * Bump DH compatibility level to V7. * debian/control: - Set debhelper version to >= 7.0.15. - Bump Standards-Version to 3.8.4. - Add build dependency libdb4.7-dev. (Closes: #548489) - Remove suggestion to chastity-list. (Closes: #514636) - Add Vcs Git and Browser URLs. - Add Upstream homepage URL. * Move to source format 3.0 (quilt). * Update path in debian/watch. * Update and formatting debian/copyright. * Update 'update-squidguard' for use with Squid3. (Closes: #541602) * debian/README.Debian: - Update hints about Squid / Squid3 configuration. (Closes: #403875) - Remove old hint to chastity-list. - Update and refine some information and use headlines. * debian/patches: - Patch for use of $DESTDIR in Makefile. - Security: Patch for buffer overflow in sgLog.c (Fixes: CVS-2009-3700). - Security: Patch for buffer overflow in sgDiv.c (Fixes: CVS-2009-3826). - Patch for update links in documentation. * Add debian/postrm for removing etc/default/squidguard. (Closes: #385093) * Add 'set -e' in debian/postinst. * Remove unusable and old manpages in debian directory. * Add new (rewritten) manual pages. * Some changes in package configuration files. * Split package: add config for squidguard-doc package. * Use simple DH-syntax for debian/rules. * Set debhelper version to >= 7.0.50. -- Joachim Wiedorn <ad_debian@joonet.de> Wed, 02 Jun 2010 22:18:45 +0200 squidguard (1.2.0-9) unstable; urgency=high * Non-maintainer upload for security issues. * Security: fix buffer overflow in sgLog.c. Fixes: CVE-2009-3700. * Security: fix buffer overflow in sgDiv.c. Fixes: CVE-2009-3826. * Closes: #553319 (two security issues described above). * Setting maintained to QA. -- Sebastien Delafond <seb@debian.org> Fri, 30 Apr 2010 12:52:19 +0200 squidguard (1.2.0-8.4) unstable; urgency=low * Non-maintainer upload to fix pending l10n issues. * Debconf translations: - Russian. Closes: #476907 - Turkish. Closes: #491747 - Basque. Closes: #491866 -- Christian Perrier <bubulle@debian.org> Tue, 15 Jul 2008 23:19:16 +0200 squidguard (1.2.0-8.3) unstable; urgency=low * Non-maintainer upload to fix pending l10n issues. * Debconf translations: - Spanish. Closes: #415038, #414356 - Dutch. Closes: #420928 - Finnish. Closes: #473448 - Galician. Closes: #473504 * Also depend on squid3 as squidguard is reported to work with it Closes: #445458 * Switch to db4.6. Closes: #442673 * Remove debconf note about obsolete transition to db4.3 * [Lintian] Switch debian/copyright to UTF-8 -- Christian Perrier <bubulle@debian.org> Mon, 31 Mar 2008 08:41:53 +0200 squidguard (1.2.0-8.2) unstable; urgency=low * Non-maintainer upload to fix pending translation issues * Debconf templates translations: - Portuguese. Closes: #388965 -- Christian Perrier <bubulle@debian.org> Thu, 1 Feb 2007 21:15:37 +0100 squidguard (1.2.0-8.1) unstable; urgency=low * Non-maintainer upload. * debian/control: Remove the unneccesary Build-Depends on automake. -- Eric Dorland <eric@debian.org> Sat, 2 Sep 2006 01:21:22 -0400 squidguard (1.2.0-8) unstable; urgency=low * New maintainer (closes: #321598). -- Víctor Pérez Pereira <vperez@debianvenezuela.org> Wed, 22 Feb 2006 13:29:23 -0400 squidguard (1.2.0-7) unstable; urgency=low * QA upload. * Use `Depends: debconf | debconf-2.0' to allow for cdebconf. Closes: #332103. * debian/po/pt.po: Add translation by Luis de Matos. Closes: #338078. * debian/po/sv.po: Add translation by Daniel Nylander. Closes: #330555. * debian/rules: - Use dh_install. - Drop dh_undocumented. - dh_fixperms now adds executable bits to /usr/bin/* on its own. * debian/copyright: Update upstream URL. * debian/watch: Add. -- Matej Vela <vela@debian.org> Thu, 24 Nov 2005 12:42:55 +0100 squidguard (1.2.0-6) unstable; urgency=low * QA Upload * Add translation of the debconf templates: - German (thanks to Erik Schanze, closes: #280040) - Vietnamese (thanks to Clytie Siddall, closes: #318707) - Czech (thanks to Miroslav Kure, closes: #295243) - Japanese (thanks to Hideki Yamane, closes: #234076) * Use DB4.3 (Closes: #293185) * Bump Standards-Version (no changes needed) * Make time part in timespace declarations optional (Closes #312433) * Remove some cruft from debian-diff -- Stefan Fritsch <sf@sfritsch.de> Wed, 17 Aug 2005 22:23:56 +0200 squidguard (1.2.0-5) unstable; urgency=low * PO Debconf patch applied (Closes: #201796) * French translation added (Closes: #202331) -- Ivan E. Moore II <rkrusty@debian.org> Wed, 27 Aug 2003 21:57:00 -0700 squidguard (1.2.0-4) unstable; urgency=low * Build with db4.1. * Add debconf note for this since it will break if all databases being used are not rebuilt. * create a update-squidguard script to handle updates better and make it easier for admins to perform updates. -- Ivan E. Moore II <rkrusty@debian.org> Thu, 23 Jan 2003 18:02:00 -0700 squidguard (1.2.0-3) unstable; urgency=low * Fix Maintainer in debian/control * Update Standards Version * Add in configure support for db4.1. We'll switch once it's packaged. -- Ivan E. Moore II <rkrusty@debian.org> Wed, 08 Jan 2003 00:38:00 -0700 squidguard (1.2.0-2) unstable; urgency=low * Adpoting package again. (Closes: #127704) * Fix some lintian errors -- Ivan E. Moore II <rkrusty@debian.org> Fri, 13 dec 2002 05:27:00 -0700 squidguard (1.2.0-1) unstable; urgency=low * QA upload. * Allow room for null terminator when loading diffs to .db files (thanks, Aleksey I Zavilohin; closes: #139238). -- Colin Watson <cjwatson@debian.org> Fri, 29 Mar 2002 03:40:52 +0000 squidguard (1.2.0-0) unstable; urgency=low * New upstream version * Changing maintainer to Debian QA -- Ivan E. Moore II <rkrusty@debian.org> Wed, 06 Mar 2002 00:49:00 -0700 squidguard (1.1.9-20010614-6) unstable; urgency=low * Change notation from squidguard-blacklists to chastity-list * Fix postinst bits. Reload squid after db update Actually pay attention to .diff files do a -C all then a -u as the combination of the 2 hoses sometimes * Remove debconf bits since we really don't need it anymore * Provide man pages -- Ivan E. Moore II <rkrusty@debian.org> Fri, 14 Dec 2001 02:22:00 -0700 squidguard (1.1.9-20010614-5) unstable; urgency=low * Off-by-one malloc bug fix (Closes: #121146) * Lintian cleanup as well -- Ivan E. Moore II <rkrusty@debian.org> Sun, 25 Nov 2001 19:02:00 -0700 squidguard (1.1.9-20010614-4) unstable; urgency=low * pt_BR translations (Closes: #115612) -- Ivan E. Moore II <rkrusty@debian.org> Fri, 26 Oct 2001 12:16:00 -0700 squidguard (1.1.9-20010614-3) unstable; urgency=low * russian template (Closes: #114304) -- Ivan E. Moore II <rkrusty@debian.org> Wed, 03 Oct 2001 16:17:00 -0700 squidguard (1.1.9-20010614-2) unstable; urgency=low * Change Recommends to Suggests (Closes: #112990) -- Ivan E. Moore II <rkrusty@debian.org> Mon, 01 Oct 2001 14:15:00 -0700 squidguard (1.1.9-20010614-1) unstable; urgency=low * New upstream version -- Ivan E. Moore II <rkrusty@debian.org> Mon, 18 Jun 2001 22:00:00 -0700 squidguard (1.1.9-20010601-2) unstable; urgency=low * I'm puzzled how this was overlooked... (Closes: #100044) -- Ivan E. Moore II <rkrusty@debian.org> Thu, 07 Jun 2001 23:00:00 -0700 squidguard (1.1.9-20010601-1) unstable; urgency=low * New upstream version -- Ivan E. Moore II <rkrusty@debian.org> Thu, 07 Jun 2001 00:30:00 -0700 squidguard (1.1.9-20010511-1) unstable; urgency=low * New upstream version -- Ivan E. Moore II <rkrusty@debian.org> Sun, 13 May 2001 05:57:00 -0700 squidguard (1.1.9-20010302-4) unstable; urgency=low * Add german template (Closes: #96086) * Update build-depends -- Ivan E. Moore II <rkrusty@debian.org> Thu, 03 May 2001 00:29:00 -0700 squidguard (1.1.9-20010302-3) unstable; urgency=low * Update Build-Depends * Move to DB3 (Closes: #95794) * Add debconf warnings about new db format * Add bits in postinst to make sure file and directory permissions are set properly and then rebuild squidGuard db files to make sure we are using the proper db format. -- Ivan E. Moore II <rkrusty@debian.org> Mon, 30 Apr 2001 02:18:00 -0700 squidguard (1.1.9-20010302-2) unstable; urgency=low * Make emergency mode block traffic instead of allow it. * Update Standards Version * Fix a few other Build-Depends * Change Suggests to Recommends for blacklists package * Remove lynx build-dependency -- Ivan E. Moore II <rkrusty@debian.org> Tue, 17 Apr 2001 01:40:00 -0700 squidguard (1.1.9-20010302-1) unstable; urgency=low * New upstream development version * Removing old undocumented links * Adding in lintian overrides -- Ivan E. Moore II <rkrusty@debian.org> Sat, 10 Mar 2001 01:20:00 -0700 squidguard (1.1.5-1) unstable; urgency=low * More Build-Depends work * Updating Standards version * Moving blacklist examples to external package -- Ivan E. Moore II <rkrusty@debian.org> Sun, 28 Jan 2001 04:23:00 -0700 squidguard (1.1.5-0.20000604.1) unstable; urgency=low * Fixing up docs (Closes: #75950) -- Ivan E. Moore II <rkrusty@debian.org> Sun, 05 Nov 2000 22:00:00 -0700 squidguard (1.1.5-0.20000604.0) unstable; urgency=low * New upstream snapshot version -- Ivan E. Moore II <rkrusty@debian.org> Sat, 14 Oct 2000 23:00:00 -0700 squidguard (1.1.4-7) unstable; urgency=low * More build-depend work * Build on new libc6 -- Ivan E. Moore II <rkrusty@debian.org> Tue, 26 Sep 2000 22:00:00 -0700 squidguard (1.1.4-6.1) unstable; urgency=low * Minor build-depends fixes (Closes: #64997) -- Ivan E. Moore II <rkrusty@debian.org> Wed, 21 Jun 2000 18:00:00 -0700 squidguard (1.1.4-6) unstable; urgency=low * Adding in build-depends * moving example db's into /usr/share/doc/squidguard/examples/db * moving squidGuardRobot into /usr/share/doc/squidguard/examples -- Ivan E. Moore II <rkrusty@debian.org> Mon, 15 May 2000 03:00:00 -0700 squidguard (1.1.4-5) unstable; urgency=low * Rebuilding using potato's libdb2 package -- Ivan E. Moore II <rkrusty@debian.org> Fri, 12 May 2000 01:30:00 -0700 squidguard (1.1.4-4) unstable; urgency=low * Putting in a pointer to /usr/share/common-licenses/GPL in the copyright file -- Ivan E. Moore II <rkrusty@debian.org> Sun, 16 Mar 2000 23:30:00 -0700 squidguard (1.1.4-3) unstable; urgency=low * Moving db files to /var/lib/squidguard/db -- Ivan E. Moore II <rkrusty@debian.org> Wed, 15 Mar 2000 01:30:00 -0700 squidguard (1.1.4-2) unstable; urgency=low * Building against new bdb2 libraries -- Ivan E. Moore II <rkrusty@debian.org> Thu, 9 Mar 2000 23:30:00 -0700 squidguard (1.1.4-1) unstable; urgency=low * New upstream version -- Ivan E. Moore II <rkrusty@debian.org> Thu, 9 Mar 2000 02:30:00 -0700 squidguard (1.1.3-1) unstable; urgency=low * Initial Release. -- Ivan E. Moore II <rkrusty@debian.org> Tue, 7 Mar 2000 12:22:47 -0700 ����������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/rules����������������������������������������������������������������������������������������0000755�0000000�0000000�00000000603�12270551261�010246� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/usr/bin/make -f # -*- makefile -*- %: dh $@ override_dh_auto_configure: dh_auto_configure -- --with-db=/usr \ --with-ldap=yes --with-ldap-lib=/usr/lib \ --with-sg-config=/etc/squidguard/squidGuard.conf \ --with-sg-logdir=/var/log/squidguard \ --with-sg-dbhome=/var/lib/squidguard/db override_dh_install: dh_install chmod a+x debian/squidguard/usr/lib/squidguard/* �����������������������������������������������������������������������������������������������������������������������������debian/squidguard.install���������������������������������������������������������������������������0000644�0000000�0000000�00000000533�11745111067�012732� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������contrib/sgclean/sgclean usr/bin/ contrib/hostbyname/hostbyname usr/bin/ usr/bin/squidGuard usr/bin/ debian/update-squidguard usr/sbin/ debian/squidGuard.conf.default etc/squidguard/ debian/scripts/squidguard-data usr/lib/squidguard/ debian/scripts/add-sg-to-squid usr/lib/squidguard/ debian/scripts/del-sg-from-squid usr/lib/squidguard/ ���������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/squidguard.README.Debian���������������������������������������������������������������������0000644�0000000�0000000�00000005107�11745111067�013404� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������squidguard for Debian --------------------- *** General *** To use squidGuard, you must * modify /etc/squidguard/squidGuard.conf file, * setup your blacklist files in /var/lib/squidguard/db * modify squid.conf file. * execute update-squidguard. *** Squid *** A) Modify squid.conf of Squid2: The following piece in /etc/squid/squid.conf needs to be set: --- # TAG: redirect_program # redirect_program /usr/bin/squidGuard -c /etc/squidguard/squidGuard.conf B) Modify squid.conf of Squid3: The following piece in /etc/squid3/squid.conf needs to be set: --- # TAG: url_rewrite_program # url_rewrite_program /usr/bin/squidGuard -c /etc/squidguard/squidGuard.conf *** Contrib *** I'm including all the contrib scripts into the main package: squidGuardRobot - basically a beta version without documentation at this time. sgclean - removes redundant entries in domain files and url files. hostbyname - takes a squidGuard domain or url list and does some half harted effort to expand it with the corresponding IP-addresses All three scripts are perl scripts. So just take a look at them to find out the proper command line arguments and all. I will work on adding proper documentation when I can (or when they become available). There is also a squidGuard.cgi script that you can use. It's in the /usr/share/doc/squidguard/examples directory. I'm leaving it there as some people may not want to run a separate web server on the same server as the squid proxy. *** Blacklists *** You also need to make sure all your blacklist files are owned by the "proxy" user. All these files need to be located under /var/lib/squidguard/db. *** Documentation *** More (older) documentation can be found in the package squidguard-doc in /usr/share/doc/squidguard-doc/. Online you can found some infos on http://www.squidguard.org/Doc/ and on http://www.maynidea.com/squidguard/faq-plus.html. *** update-squidguard *** With this script the database for squidguard can be checked and recreated. Now this script supports a verbose option for testing: update-squidguard --verbose This script also can check for a BDB version change. Then only if the BDB version has changed the full database files will be recreated. Use: update-squidguard --checkdb *** squidguard-data *** This new example script (beta version) downloads and extracts the latest database of www.shallalist.de: /usr/share/doc/squidguard/examples/squidguard-data -- Joachim Wiedorn <ad_debian@joonet.de> Mon, 23 Apr 2012 00:33:50 +0200 ���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������debian/squidguard.postinst��������������������������������������������������������������������������0000644�0000000�0000000�00000006776�11745111216�013162� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������#!/bin/sh # postinst script for squidguard # # see: dh_installdeb(1) set -e DEFCONF="/etc/default/squidguard" CONFDIR="/etc/squidguard" CONFOLD="/etc/squid" CONFFILE=squidGuard.conf LOGDIR="/var/log/squidguard" LOGOLD="/var/log/squid" LOGFILE=squidGuard.log . /usr/share/debconf/confmodule db_get squidguard/dbreload echo "DBRELOAD=\"$RET\"" > ${DEFCONF} db_stop if [ -f "$DEFCONF" ]; then . "$DEFCONF" fi case "$1" in configure) # create or move to new config directory (default) test ! -d ${CONFDIR} && install -d -m755 ${CONFDIR} if [ ! -f ${CONFDIR}/${CONFFILE} ]; then if [ -f ${CONFOLD}/${CONFFILE} ]; then echo "Move directory ${CONFOLD} to new directory ${CONFDIR}." >&2 mv ${CONFOLD}/squidGuard* ${CONFDIR} rmdir --ignore-fail-on-non-empty ${CONFOLD} 2>/dev/null || true else echo "Starting with new config file ${CONFDIR}/${CONFFILE}." >&2 cp ${CONFDIR}/${CONFFILE}.default ${CONFDIR}/${CONFFILE} fi chown proxy:proxy ${CONFDIR}/${CONFFILE} ${CONFDIR}/${CONFFILE}.default chmod 0640 ${CONFDIR}/${CONFFILE} ${CONFDIR}/${CONFFILE}.default fi if [ $(grep -c "$LOGDIR" ${CONFDIR}/${CONFFILE}) -eq 0 ]; then echo "Move log file directory to new directory ${LOGDIR}." >&2 cp -p ${CONFDIR}/${CONFFILE} ${CONFDIR}/${CONFFILE}_old sed -i "s?${LOGOLD}?${LOGDIR}?" ${CONFDIR}/${CONFFILE} fi # create or move to new log directory (default) test ! -d ${LOGDIR} && install -d -oproxy -gproxy -m750 ${LOGDIR} if [ ! -f ${LOGDIR}/${LOGFILE} ]; then if [ -f ${LOGOLD}/${LOGFILE} ]; then mv ${LOGOLD}/squidGuard* ${LOGDIR} rmdir --ignore-fail-on-non-empty ${LOGOLD} 2>/dev/null || true else touch ${LOGDIR}/${LOGFILE} fi chown proxy:proxy ${LOGDIR}/${LOGFILE} chmod 0640 ${LOGDIR}/${LOGFILE} fi SQUIDCONF=/etc/squid/squid.conf if [ -f ${SQUIDCONF} ]; then if [ $(grep -c "squid/squidGuard" ${SQUIDCONF}) -gt 0 ]; then echo "Update redirector configuration in ${SQUIDCONF}." >&2 sed -i_old 's?squid/squidGuard?squidguard/squidGuard?g' ${SQUIDCONF} if [ $(diff ${SQUIDCONF}_old ${SQUIDCONF} | wc -l) -lt 8 ] then rm -f ${SQUIDCONF}_old; fi fi fi SQUIDCONF=/etc/squid3/squid.conf if [ -f ${SQUIDCONF} ]; then if [ $(grep -c "squid/squidGuard" ${SQUIDCONF}) -gt 0 ]; then echo "Update redirector configuration in ${SQUIDCONF}." >&2 sed -i_old 's?squid/squidGuard?squidguard/squidGuard?g' ${SQUIDCONF} if [ $(diff ${SQUIDCONF}_old ${SQUIDCONF} | wc -l) -lt 8 ] then rm -f ${SQUIDCONF}_old; fi fi fi if [ "$DBRELOAD" = "true" ]; then # rebuild database only if BDB version has changed update-squidguard --checkdb else echo "/usr/sbin/update-squidguard does not run automatically." >&2 echo "Check default settings for squidguard to change this behaviour." >&2 fi ;; abort-upgrade|abort-remove|abort-deconfigure) ;; *) echo "postinst called with unknown argument '$1'" >&2 exit 0 ;; esac # dh_installdeb will replace this with shell code automatically # generated by other debhelper scripts. #DEBHELPER# exit 0 ��debian/README.source��������������������������������������������������������������������������������0000644�0000000�0000000�00000001310�11745317736�011356� 0����������������������������������������������������������������������������������������������������ustar ��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������squidGuard for Debian --------------------- The upstream release file were created in this way: 1. Download the last archive file in the browser with this link: http://www2.squidguard.org/cgi-bin/aeget/squidGuard.1.5.C22/?aetar+es 2. Extract this file, which is an bzip2 file (!): tar -xjf squidguard.1.5.tar.gz 3. Copy the upstream source directory 'prog': cp -p squidGuard.1.5.C22/prog squidguard-1.5 4. Set release version in squidGuard-1.5/src/version.h at line 19: #define VERSION "1.5" 5. Create the source archive, usable for packaging: tar -czf squidguard_1.5.orig.tar.gz squidguard-1.5 -- Joachim Wiedorn <ad_debian@joonet.de> Fri, 20 Apr 2012 21:26:44 +0200 ������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������