aboutsummaryrefslogtreecommitdiff
path: root/www/mnogosearch31
diff options
context:
space:
mode:
authorAndrey A. Chernov <ache@FreeBSD.org>2001-05-18 12:44:57 +0000
committerAndrey A. Chernov <ache@FreeBSD.org>2001-05-18 12:44:57 +0000
commit33e0ea87da29c6bfecbff25d7bd8b2b455b1d3c3 (patch)
tree308c4d00607b83b3638a4223c8cb632fbff5f275 /www/mnogosearch31
parent71f9ddf14ae079e22453e692d3620ed6a8cca84f (diff)
downloadports-33e0ea87da29c6bfecbff25d7bd8b2b455b1d3c3.tar.gz
ports-33e0ea87da29c6bfecbff25d7bd8b2b455b1d3c3.zip
Notes
Diffstat (limited to 'www/mnogosearch31')
-rw-r--r--www/mnogosearch31/Makefile4
-rw-r--r--www/mnogosearch31/distinfo2
-rw-r--r--www/mnogosearch31/files/patch-ac38
-rw-r--r--www/mnogosearch31/pkg-plist1
4 files changed, 7 insertions, 38 deletions
diff --git a/www/mnogosearch31/Makefile b/www/mnogosearch31/Makefile
index 2621fca84d0d..7604e857304e 100644
--- a/www/mnogosearch31/Makefile
+++ b/www/mnogosearch31/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= mnogosearch
-PORTVERSION= 3.1.12
-PORTREVISION= 3
+PORTVERSION= 3.1.13
CATEGORIES= www databases
MASTER_SITES= http://search.mnogo.ru/Download/
@@ -24,6 +23,7 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-phrase \
--enable-shared \
--enable-freebsd-pthreads \
+ --with-openssl \
--sysconfdir=${PREFIX}/etc/mnogosearch \
--localstatedir=/var/mnogosearch
diff --git a/www/mnogosearch31/distinfo b/www/mnogosearch31/distinfo
index a0400a918450..8d2b37fa806a 100644
--- a/www/mnogosearch31/distinfo
+++ b/www/mnogosearch31/distinfo
@@ -1 +1 @@
-MD5 (mnogosearch-3.1.12.tar.gz) = bd008c8f671924198e251146c8f31ab6
+MD5 (mnogosearch-3.1.13.tar.gz) = ca2300e5a00dae4f02a528b10b61ad6e
diff --git a/www/mnogosearch31/files/patch-ac b/www/mnogosearch31/files/patch-ac
index f1cd4ec1ab66..1fbce5bd52ef 100644
--- a/www/mnogosearch31/files/patch-ac
+++ b/www/mnogosearch31/files/patch-ac
@@ -1,15 +1,6 @@
---- src/search.c.orig Wed Feb 28 15:28:10 2001
-+++ src/search.c Mon Apr 23 06:46:50 2001
-@@ -431,7 +431,7 @@
- s=str+1;
- while((*s)&&(isdigit(*s)))s++;
- j=atoi(UdmTrim(s,"= \t\r\n"));
-- if((i>0)&&(i<MAXRANDOM)){
-+ if((i>=0)&&(i<MAXRANDOM)){
- frand=rand();
- frand=frand/RAND_MAX*j;
- Randoms[i]=frand;
-@@ -1225,7 +1225,7 @@
+--- src/search.c.bak Tue May 15 13:08:14 2001
++++ src/search.c Fri May 18 16:22:44 2001
+@@ -1239,7 +1239,7 @@
int i;
time_t tclock;
tclock=time(0);
@@ -18,26 +9,3 @@
for(i=0;i<MAXRANDOM;i++)
Randoms[i]=0;
}
-@@ -1269,7 +1269,8 @@
- strcpy(template,env);
-
- if((env=getenv("QUERY_STRING"))){
-- strcpy(query_string,env);
-+ strncpy(query_string,env,UDMSTRSIZ-1);
-+ query_string[UDMSTRSIZ-1] = '\0';
- if((env=getenv("REDIRECT_STATUS"))){
-
- /* Check Apache internal redirect */
-@@ -1316,8 +1317,10 @@
- /* or under server which do not */
- /* pass an empty QUERY_STRING var */
-
-- if(argv[1])
-- sprintf(query_string,"q=%s",argv[1]);
-+ if(argv[1]) {
-+ strcpy(query_string, "q=");
-+ strncat(query_string, argv[1], UDMSTRSIZ-1-2);
-+ }
- if(!template[0])
- sprintf(template,"%s/%s", UDM_CONF_DIR,"search.htm");
- }
diff --git a/www/mnogosearch31/pkg-plist b/www/mnogosearch31/pkg-plist
index ade4eb6167a1..0e60dcddce2f 100644
--- a/www/mnogosearch31/pkg-plist
+++ b/www/mnogosearch31/pkg-plist
@@ -121,6 +121,7 @@ share/mnogosearch/create/pgsql/ispell.txt
share/mnogosearch/create/pgsql/multi.txt
share/mnogosearch/create/pgsql/news-extension.txt
share/mnogosearch/create/pgsql/server.txt
+share/mnogosearch/create/pgsql/to_use_with_tags.txt
share/mnogosearch/create/pgsql/track.txt
share/mnogosearch/create/sapdb/README
share/mnogosearch/create/sapdb/categories.ins