aboutsummaryrefslogtreecommitdiff
path: root/net/jwhois
diff options
context:
space:
mode:
authorMakoto Matsushita <matusita@FreeBSD.org>2002-04-22 15:33:19 +0000
committerMakoto Matsushita <matusita@FreeBSD.org>2002-04-22 15:33:19 +0000
commitb9120c330cb5bc51c99ab97710a422aa821e7d35 (patch)
treeb051dbbe9f563d86579371a640f1c6c2589d36a0 /net/jwhois
parent30a7314a16b97c5467066a10d58ec61b20ad7879 (diff)
downloadports-b9120c330cb5bc51c99ab97710a422aa821e7d35.tar.gz
ports-b9120c330cb5bc51c99ab97710a422aa821e7d35.zip
More 3.1.0 fix and a feature enhancement from the jwhois CVS repository.
Use external location for patches by the PR submitter, remove patch-3.1.0-fix. Bump PORTREVISION to note this change. PR: 36463 Submitted by: Jason Harris <jharris@widomaker.com>
Notes
Notes: svn path=/head/; revision=57986
Diffstat (limited to 'net/jwhois')
-rw-r--r--net/jwhois/Makefile5
-rw-r--r--net/jwhois/distinfo1
-rw-r--r--net/jwhois/files/patch-3.1.0-fix48
3 files changed, 5 insertions, 49 deletions
diff --git a/net/jwhois/Makefile b/net/jwhois/Makefile
index 4e2b4118c5ed..0706439d73d8 100644
--- a/net/jwhois/Makefile
+++ b/net/jwhois/Makefile
@@ -7,11 +7,14 @@
PORTNAME= jwhois
PORTVERSION= 3.1.0
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= jwhois
+PATCH_SITES= http://galileo.spaceports.com/~jharris/distfiles/
+PATCHFILES= jwhois.rel_3_1_0-to-2002-04-20@2000UTC.patch.asc.gz
+
MAINTAINER= matusita@FreeBSD.org
LIB_DEPENDS= intl.2:${PORTSDIR}/devel/gettext
diff --git a/net/jwhois/distinfo b/net/jwhois/distinfo
index d724d0c369f6..b3ea4a15a173 100644
--- a/net/jwhois/distinfo
+++ b/net/jwhois/distinfo
@@ -1 +1,2 @@
MD5 (jwhois-3.1.0.tar.gz) = b33c23aeec9093ef5efaf1a97d69135c
+MD5 (jwhois.rel_3_1_0-to-2002-04-20@2000UTC.patch.asc.gz) = d3c89ae0a2bc9a82b4068fe55ecfed36
diff --git a/net/jwhois/files/patch-3.1.0-fix b/net/jwhois/files/patch-3.1.0-fix
deleted file mode 100644
index 9bd7d1741ad5..000000000000
--- a/net/jwhois/files/patch-3.1.0-fix
+++ /dev/null
@@ -1,48 +0,0 @@
-Index: example/jwhois.conf
-===================================================================
-RCS file: /cvsroot/jwhois/jwhois/example/jwhois.conf,v
-retrieving revision 1.54
-retrieving revision 1.55
-diff -u -r1.54 -r1.55
---- example/jwhois.conf 8 Dec 2001 17:34:25 -0000 1.54
-+++ example/jwhois.conf 13 Jan 2002 14:57:22 -0000 1.55
-@@ -391,8 +391,9 @@
- "www\\.dk-hostmaster\\.dk" {
- http = "true";
- http-method = "GET";
-- http-action = "/perl/Whois.pl";
-+ http-action = "/scripts/whois.php";
- form-element = "query";
-+ form-extra = "lang=en";
- }
-
- "www\\.nic\\.es" {
-Index: src/rwhois.c
-===================================================================
-RCS file: /cvsroot/jwhois/jwhois/src/rwhois.c,v
-retrieving revision 1.11
-retrieving revision 1.12
-diff -u -r1.11 -r1.12
---- src/rwhois.c 5 Jan 2002 23:41:30 -0000 1.11
-+++ src/rwhois.c 6 Feb 2002 17:32:07 -0000 1.12
-@@ -414,7 +414,7 @@
- int
- rwhois_parse_line(const char *reply, char **text)
- {
-- char *capab, *tmpptr;
-+ char *tmpptr;
-
- tmpptr = (char *)strchr(reply, '\n');
- if (tmpptr)
-@@ -427,9 +427,10 @@
- }
- if (strncasecmp(reply, "%rwhois", 7) == 0)
- {
-- capab = (char *)strchr(reply, ':')+1;
-+ char *capab = (char *)strchr(reply, ':');
- if (!capab)
- return REP_ERROR;
-+ capab++; /* skip past first : */
- tmpptr = (char *)strchr(capab, ':');
- if (!tmpptr)
- return REP_ERROR;