diff options
author | ache <ache@FreeBSD.org> | 2002-07-02 12:44:35 +0800 |
---|---|---|
committer | ache <ache@FreeBSD.org> | 2002-07-02 12:44:35 +0800 |
commit | 124e2712c0d1bb96ee4d9cd039bc86134ca3db7b (patch) | |
tree | 4567571690934eed82b2e7d5f4006fa7ba5a9072 /www/mnogosearch31 | |
parent | 5bc83346283611f18804413835164c0994c5043a (diff) | |
download | freebsd-ports-gnome-124e2712c0d1bb96ee4d9cd039bc86134ca3db7b.tar.gz freebsd-ports-gnome-124e2712c0d1bb96ee4d9cd039bc86134ca3db7b.tar.zst freebsd-ports-gnome-124e2712c0d1bb96ee4d9cd039bc86134ca3db7b.zip |
Upgrade to 3.1.20
Diffstat (limited to 'www/mnogosearch31')
-rw-r--r-- | www/mnogosearch31/Makefile | 3 | ||||
-rw-r--r-- | www/mnogosearch31/distinfo | 2 | ||||
-rw-r--r-- | www/mnogosearch31/files/patch-ac | 11 | ||||
-rw-r--r-- | www/mnogosearch31/files/spelld.sh-dist | 1 |
4 files changed, 3 insertions, 14 deletions
diff --git a/www/mnogosearch31/Makefile b/www/mnogosearch31/Makefile index 298d4f2fc98e..d5ec54d44cf1 100644 --- a/www/mnogosearch31/Makefile +++ b/www/mnogosearch31/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/mnogosearch31/distinfo b/www/mnogosearch31/distinfo index d56119beeab5..aa4703c6b9e0 100644 --- a/www/mnogosearch31/distinfo +++ b/www/mnogosearch31/distinfo @@ -1 +1 @@ -MD5 (mnogosearch-3.1.19.tar.gz) = f11d7ac75182f7266f81716211404265 +MD5 (mnogosearch-3.1.20.tar.gz) = 4dda21495cb5522327cac5dcabf9c551 diff --git a/www/mnogosearch31/files/patch-ac b/www/mnogosearch31/files/patch-ac index 673785c743f0..65c6f2ac627d 100644 --- a/www/mnogosearch31/files/patch-ac +++ b/www/mnogosearch31/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/mnogosearch31/files/spelld.sh-dist b/www/mnogosearch31/files/spelld.sh-dist index 1f10515ace47..7b9612b68bb5 100644 --- a/www/mnogosearch31/files/spelld.sh-dist +++ b/www/mnogosearch31/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 ;; |