diff options
author | taca <taca@pkgsrc.org> | 2017-06-21 15:11:10 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2017-06-21 15:11:10 +0000 |
commit | 09c9c608a6775825a1cb42f464a80fd68f551e74 (patch) | |
tree | 06e9d74545e755913698f91499f1ca59be4f2270 /www | |
parent | f929bc15caf7591975178dd7fe86a7815ea8978d (diff) | |
download | pkgsrc-09c9c608a6775825a1cb42f464a80fd68f551e74.tar.gz |
Apply content of squidGuard-1.4-patch-20150201 via patches.
Bump PKGREVISION.
Diffstat (limited to 'www')
-rw-r--r-- | www/squidGuard/Makefile | 4 | ||||
-rw-r--r-- | www/squidGuard/distinfo | 4 | ||||
-rw-r--r-- | www/squidGuard/patches/patch-samples_babel.ro | 27 | ||||
-rw-r--r-- | www/squidGuard/patches/patch-samples_squidGuard.cgi.in | 67 |
4 files changed, 99 insertions, 3 deletions
diff --git a/www/squidGuard/Makefile b/www/squidGuard/Makefile index 274c083466e..b369e4d0060 100644 --- a/www/squidGuard/Makefile +++ b/www/squidGuard/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.34 2017/01/19 18:52:29 agc Exp $ +# $NetBSD: Makefile,v 1.35 2017/06/21 15:11:10 taca Exp $ DISTNAME= squidGuard-1.4 -PKGREVISION= 12 +PKGREVISION= 13 CATEGORIES= www MASTER_SITES= http://www.squidguard.org/Downloads/ MASTER_SITES+= http://www.squidguard.org/Downloads/Patches/1.4/ diff --git a/www/squidGuard/distinfo b/www/squidGuard/distinfo index 4794b958c0d..01b2f38ca0e 100644 --- a/www/squidGuard/distinfo +++ b/www/squidGuard/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.10 2015/11/04 02:47:39 agc Exp $ +$NetBSD: distinfo,v 1.11 2017/06/21 15:11:10 taca Exp $ SHA1 (squidGuard-1.4-patch-20091015.tar.gz) = b6ad4c67222463e6bafa002593e947d73929db18 RMD160 (squidGuard-1.4-patch-20091015.tar.gz) = 08991337d2966d44dbe2a9a131b26fa881e1e807 @@ -16,3 +16,5 @@ SHA1 (squidGuard-1.4_upgrade.patch) = 4ad24b5fe6891450bf4da1a0469f8350715e8cf4 RMD160 (squidGuard-1.4_upgrade.patch) = 9a4bf9c52cec21ddb12a310c2436974faedb5b70 SHA512 (squidGuard-1.4_upgrade.patch) = 9f7dc291d1a91b027856b4b9c5a16a46cca4558018e63c4afffef1ab39bd5ed9eefe72871b5a14328681e2aa9053789c8ac01a7b657f9de387581af29cdf93cf Size (squidGuard-1.4_upgrade.patch) = 2619 bytes +SHA1 (patch-samples_babel.ro) = 90a8602b88052084dade6bc5b012804df29540e0 +SHA1 (patch-samples_squidGuard.cgi.in) = 06d0f01d5e8412fc4192e37c265761d49b77d9f7 diff --git a/www/squidGuard/patches/patch-samples_babel.ro b/www/squidGuard/patches/patch-samples_babel.ro new file mode 100644 index 00000000000..5da6e41eec3 --- /dev/null +++ b/www/squidGuard/patches/patch-samples_babel.ro @@ -0,0 +1,27 @@ +$NetBSD: patch-samples_babel.ro,v 1.1 2017/06/21 15:11:10 taca Exp $ + +* Apply content of squidGuard-1.4-patch-20150201. + +--- samples/babel.ro.orig 2017-04-17 01:37:49.000000000 +0000 ++++ samples/babel.ro +@@ -0,0 +1,20 @@ ++Unknown=неизвестный ++Title=403 Доступ запрещен ++Msg=Доступ к данному сайту заблокирован ++Tabclientname=Имя клиента ++Tabcaption=Дополнительная информация ++TabIP=Адрес клиента ++Tabclientuser=Пользователь клиента ++Tabclientgroup=Группа клиента ++Taburl=URL ++Tabtargetgroup=Категория заблокированного сайта ++msgproxymaster=Если Вы считаете, что это ошибка, отправьте <U>эту страницу</U> на ++msgrefresh=Возможно, Вам придется нажать кнопку<Обновить> Вашего браузера<BR> или кнопку <Shift>+<Browser Reload><BR> для того, чтобы получить доступ к нужной странице после обновления правил блокирования ++msgtimerefresh=Возможно, Вам придется нажать кнопку<Обновить> Вашего браузера<BR> или кнопку <Shift>+<Browser Reload><BR> Для того, чтобы получить доступ к нужной странице после выхода<BR> из временного отрезка с ограничениями доступа ++msgunknown=Доступ запрещен потому,<BR> что Ваш клиент<BR> неизвестен на ++msginaddr=Доступ к сайтам по <U>IP-адресам</U><BR> запрещен для Вашего клиента<BR> из соображений безопасности ++msgalternatives=Найдены следующие возможные альтернативы: ++msgnoalternatives=Не найдено альтернтивных доменных имен<BR> для сервера <U>$address</U> ++msgreferermaster=Присылайте Ваши жалобы на webmaster </A><BR> of <A HREF="$referer">$referer</A><BR> и попросите его исправить ссылку(и), которые указывают на $url<BR> in <A HREF="$referer">$referer</A>,<BR> с предположительно правильной альтернативой выше ++msgwebmaster= Присылайте Ваши жалобы на <U>webmaster</U> for <U>$protocol://$address</U><BR> с запросом на <EM>доменное имя</EM> для сервера ++msgdeflang=Это сообщение выводится на русском языке потому, что "ru" - это первый из поддерживаемых языков<BR> среди тех, на которые настроен Ваш браузер<BR> Поддерживаемые языки diff --git a/www/squidGuard/patches/patch-samples_squidGuard.cgi.in b/www/squidGuard/patches/patch-samples_squidGuard.cgi.in new file mode 100644 index 00000000000..bcc4d6a1384 --- /dev/null +++ b/www/squidGuard/patches/patch-samples_squidGuard.cgi.in @@ -0,0 +1,67 @@ +$NetBSD: patch-samples_squidGuard.cgi.in,v 1.1 2017/06/21 15:11:10 taca Exp $ + +* Apply content of squidGuard-1.4-patch-20150201. + +--- samples/squidGuard.cgi.in.orig 2008-12-23 21:08:35.000000000 +0000 ++++ samples/squidGuard.cgi.in +@@ -57,14 +57,15 @@ sub showinaddr($$$$$); + # + # CONFIGURABLE OPTIONS: + # +-# (Currently: "en", "fr", "de", "es", "nl", "no") ++# (Currently: "en", "fr", "de", "es", "nl", "no", "ru") + @supported = ( + "en (English), ", +- "fr (Franais), ", ++ "fr (Français), ", + "de (Deutsch), ", +- "es (Espaol), ", ++ "es (Español), ", + "nl (Nederlands), ", +- "no (Norsk)." ++ "no (Norsk), ", ++ "ru (Russian)." + ); + # + # Modifiy the values below to reflect you environment +@@ -142,7 +143,7 @@ sub parsequery($) { + } + + # +-# PRINT HTTP STATUS HEARER: ++# PRINT HTTP STATUS HEADER: + # + sub status($) { + my $status = shift; +@@ -150,7 +151,7 @@ sub status($) { + } + + # +-# PRINT HTTP LOCATION HEARER: ++# PRINT HTTP LOCATION HEADER: + # + sub redirect($) { + my $location = shift; +@@ -249,7 +250,7 @@ sub showinaddr($$$$$) { + status("404 Not Found"); + } + if (@names) { +- print "Content-type: text/html\n\n"; ++ print "Content-type: text/html\n\n\n"; + print "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\" \"http://www.w3.org/TR/REC-html40/loose.dtd\">\n"; + print "<html><head>\n"; + print "<title>$Babel{Title}</title>\n"; +@@ -317,9 +318,12 @@ if ($targetgroup eq "in-addr") { + showinaddr($targetgroup,$protocol,$address,$port,$path); + } + ++$url =~ s/</</g ; ++$url =~ s/>/>/g ; ++ + status("403 Forbidden"); + expires(0); +-print "Content-type: text/html\n\n"; ++print "Content-type: text/html\n\n\n"; + print "<!DOCTYPE html PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\" \"http://www.w3.org/TR/REC-html40/loose.dtd\">\n"; + print "<html><head>\n"; + print "<title>$Babel{Title}</title>\n"; |