Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 Mar 2002 12:04:45 +0800 (CST)
From:      Gea-Suan Lin <gslin@infomath.math.nctu.edu.tw>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/36272: Update port: ftp/jftpgw
Message-ID:  <20020325040445.8CD033D8D@infomath.math.nctu.edu.tw>

next in thread | raw e-mail | index | archive | help

>Number:         36272
>Category:       ports
>Synopsis:       Update port: ftp/jftpgw
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 24 20:10:01 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 4.5-RELEASE-p2 i386
>Organization:
>Environment:
System: FreeBSD InfoMath.Math.NCTU.edu.tw 4.5-RELEASE-p2 FreeBSD 4.5-RELEASE-p2 #5: Fri Mar 8 02:38:09 CST 2002 root@InfoMath.Math.NCTU.edu.tw:/home/obj/usr/src/sys/InFoMath i386


	
>Description:
	* Upgrade to 0.13.0
	* add the libwrap support
	
>How-To-Repeat:
	
>Fix:

diff -ruN /usr/ports/ftp/jftpgw/Makefile jftpgw/Makefile
--- /usr/ports/ftp/jftpgw/Makefile	Sun Feb 17 21:42:23 2002
+++ jftpgw/Makefile	Mon Mar 25 11:59:41 2002
@@ -6,10 +6,9 @@
 #
 
 PORTNAME=	jftpgw
-PORTVERSION=	0.0.13j
+PORTVERSION=	0.13.0
 CATEGORIES=	ftp
 MASTER_SITES=	http://www.mcknight.de/jftpgw/
-DISTNAME=	jftpgw-0.13.beta.j
 
 MAINTAINER=	se@FreeBSD.org
 
@@ -17,6 +16,7 @@
 CONFIGURE_ARGS=	--with-confpath=${PREFIX}/etc \
 		--with-logpath=/var/log \
 		--enable-crypt \
+		--enable-libwrap \
 		--enable-sftp
 
 do-install:
diff -ruN /usr/ports/ftp/jftpgw/distinfo jftpgw/distinfo
--- /usr/ports/ftp/jftpgw/distinfo	Sun Feb 17 21:42:23 2002
+++ jftpgw/distinfo	Mon Mar 25 11:52:33 2002
@@ -1,2 +1 @@
-MD5 (jftpgw-0.13.beta.j.tar.gz) = c638d6cae6de541ddda6fbc8fdae6246
-SIZE (jftpgw-0.13.beta.j.tar.gz) = 220094
+MD5 (jftpgw-0.13.0.tar.gz) = 3645afe4981f1ce0e760c175b137a7b2
diff -ruN /usr/ports/ftp/jftpgw/files/patch-config.h.in jftpgw/files/patch-config.h.in
--- /usr/ports/ftp/jftpgw/files/patch-config.h.in	Fri Feb 15 05:47:49 2002
+++ jftpgw/files/patch-config.h.in	Thu Jan  1 08:00:00 1970
@@ -1,12 +0,0 @@
---- config.h.in~	Thu Feb 14 22:40:52 2002
-+++ config.h.in	Thu Feb 14 22:42:17 2002
-@@ -100,6 +100,9 @@
- /* Define if you have the strdup function.  */
- #undef HAVE_STRDUP
- 
-+/* Define if you have the strcasestr function.  */
-+#undef HAVE_STRCASESTR
-+
- /* Define if you have the strerror function.  */
- #undef HAVE_STRERROR
- 
diff -ruN /usr/ports/ftp/jftpgw/files/patch-configure jftpgw/files/patch-configure
--- /usr/ports/ftp/jftpgw/files/patch-configure	Fri Feb 15 05:47:49 2002
+++ jftpgw/files/patch-configure	Thu Jan  1 08:00:00 1970
@@ -1,11 +0,0 @@
---- configure~	Sun Feb  3 12:20:16 2002
-+++ configure	Thu Feb 14 22:27:32 2002
-@@ -1861,7 +1861,7 @@
- 
- fi
- 
--for ac_func in getcwd strdup seteuid setegid
-+for ac_func in getcwd strdup strcasestr seteuid setegid
- do
- echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
- echo "configure:1868: checking for $ac_func" >&5
diff -ruN /usr/ports/ftp/jftpgw/files/patch-configure.in jftpgw/files/patch-configure.in
--- /usr/ports/ftp/jftpgw/files/patch-configure.in	Fri Feb 15 05:47:49 2002
+++ jftpgw/files/patch-configure.in	Thu Jan  1 08:00:00 1970
@@ -1,11 +0,0 @@
---- configure.in~	Sun Feb  3 01:25:28 2002
-+++ configure.in	Thu Feb 14 22:21:33 2002
-@@ -49,7 +49,7 @@
- 
- dnl Checks for library functions.
- AC_FUNC_WAIT3
--AC_CHECK_FUNCS(getcwd strdup seteuid setegid)
-+AC_CHECK_FUNCS(getcwd strdup strcasestr seteuid setegid)
- 
- dnl From icecast
- AC_MSG_CHECKING([for unix98 socklen_t])
diff -ruN /usr/ports/ftp/jftpgw/files/patch-jftpgw.h jftpgw/files/patch-jftpgw.h
--- /usr/ports/ftp/jftpgw/files/patch-jftpgw.h	Fri Feb 15 05:47:49 2002
+++ jftpgw/files/patch-jftpgw.h	Thu Jan  1 08:00:00 1970
@@ -1,12 +0,0 @@
---- jftpgw.h~	Sat Feb  2 19:11:30 2002
-+++ jftpgw.h	Thu Feb 14 22:29:34 2002
-@@ -360,7 +360,9 @@
- char* char_append(const char*, const char*);
- char* char_enclose(const char*, const char*, const char*);
- char* strnulldup(const char*);
-+#ifndef HAVE_STRCASESTR
- const char* strcasestr(const char* haystack, const char* needle);
-+#endif
- 
- /* from config.c */
- int config_read_options(FILE*);
diff -ruN /usr/ports/ftp/jftpgw/files/patch-util.c jftpgw/files/patch-util.c
--- /usr/ports/ftp/jftpgw/files/patch-util.c	Fri Feb 15 05:47:49 2002
+++ jftpgw/files/patch-util.c	Thu Jan  1 08:00:00 1970
@@ -1,18 +0,0 @@
---- util.c~	Sun Feb  3 10:10:54 2002
-+++ util.c	Thu Feb 14 22:30:36 2002
-@@ -91,6 +91,7 @@
- }
- 
- 
-+#ifndef HAVE_STRCASESTR
- const char* strcasestr(const char* haystack, const char* needle) {
- 	char* nhay = strdup(haystack);
- 	char* nneed = strdup(needle);
-@@ -121,6 +122,7 @@
- 
- 	return match;
- }
-+#endif
- 
- 
- /* writes a char* to an fd and checks the return value */
	


>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020325040445.8CD033D8D>