diff options
author | Andrey A. Chernov <ache@FreeBSD.org> | 2002-07-02 04:44:35 +0000 |
---|---|---|
committer | Andrey A. Chernov <ache@FreeBSD.org> | 2002-07-02 04:44:35 +0000 |
commit | 2f4048b50d4770265a83a69fd9437d06bb2bff67 (patch) | |
tree | b152492b29cefd7797022f2e96408617c0d4ad1c /www/mnogosearch | |
parent | Update to 1.23.r9 (diff) |
Upgrade to 3.1.20
Notes
Notes:
svn path=/head/; revision=62306
Diffstat (limited to 'www/mnogosearch')
-rw-r--r-- | www/mnogosearch/Makefile | 3 | ||||
-rw-r--r-- | www/mnogosearch/distinfo | 2 | ||||
-rw-r--r-- | www/mnogosearch/files/patch-ac | 11 | ||||
-rw-r--r-- | www/mnogosearch/files/spelld.sh-dist | 1 |
4 files changed, 3 insertions, 14 deletions
diff --git a/www/mnogosearch/Makefile b/www/mnogosearch/Makefile index 298d4f2fc98e..d5ec54d44cf1 100644 --- a/www/mnogosearch/Makefile +++ b/www/mnogosearch/Makefile @@ -6,8 +6,7 @@ # PORTNAME= mnogosearch -PORTVERSION= 3.1.19 -PORTREVISION= 2 +PORTVERSION= 3.1.20 CATEGORIES= www databases MASTER_SITES= http://www.mnogosearch.org/Download/ diff --git a/www/mnogosearch/distinfo b/www/mnogosearch/distinfo index d56119beeab5..aa4703c6b9e0 100644 --- a/www/mnogosearch/distinfo +++ b/www/mnogosearch/distinfo @@ -1 +1 @@ -MD5 (mnogosearch-3.1.19.tar.gz) = f11d7ac75182f7266f81716211404265 +MD5 (mnogosearch-3.1.20.tar.gz) = 4dda21495cb5522327cac5dcabf9c551 diff --git a/www/mnogosearch/files/patch-ac b/www/mnogosearch/files/patch-ac index 673785c743f0..65c6f2ac627d 100644 --- a/www/mnogosearch/files/patch-ac +++ b/www/mnogosearch/files/patch-ac @@ -9,14 +9,3 @@ for(i=0;i<MAXRANDOM;i++) Randoms[i]=0; } -@@ -1404,6 +1404,10 @@ - if(!UDM_STRNCMP(token,"q=")){ - char str[UDMSTRSIZ]=""; - query_words=strdup(UdmUnescapeCGIQuery(str,token+2)); -+ if (strlen(query_words) > 512) { -+ printf("<html><body>Query string too long!</body></html>\n"); -+ return(0); -+ } - query_url_escaped=strdup(UdmEscapeURL(str,query_words)); - query_form_escaped=UdmHtmlSpecialChars(query_words); - }else diff --git a/www/mnogosearch/files/spelld.sh-dist b/www/mnogosearch/files/spelld.sh-dist index 1f10515ace47..7b9612b68bb5 100644 --- a/www/mnogosearch/files/spelld.sh-dist +++ b/www/mnogosearch/files/spelld.sh-dist @@ -11,6 +11,7 @@ start) if [ -x ${PREFIX}/sbin/spelld ]; then # Uncomment to disallow access from outside # /sbin/ipfw -q add 7001 deny tcp from any to any 7001 + rm -f /var/mnogosearch/spelld.pid su -f -m www -c "exec ${PREFIX}/sbin/spelld &" > /dev/null 2>&1 && echo -n ' spelld' fi ;; |