Index: head/ftp/jftpgw/Makefile =================================================================== --- head/ftp/jftpgw/Makefile (revision 57589) +++ head/ftp/jftpgw/Makefile (revision 57590) @@ -1,29 +1,30 @@ # New ports collection makefile for: jftpgw # Date created: Sun Jul 15 13:19:01 CEST 2001 # Whom: se # # $FreeBSD$ # PORTNAME= jftpgw -PORTVERSION= 0.0.13j +PORTVERSION= 0.13.1 CATEGORIES= ftp MASTER_SITES= http://www.mcknight.de/jftpgw/ -DISTNAME= jftpgw-0.13.beta.j MAINTAINER= se@FreeBSD.org +USE_BZIP2= yes GNU_CONFIGURE= yes -CONFIGURE_ARGS= --with-confpath=${PREFIX}/etc \ - --with-logpath=/var/log \ +CONFIGURE_ARGS= --with-logpath=/var/log \ --enable-crypt \ --enable-sftp +MAN1= jftpgw.1 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/jftpgw ${PREFIX}/sbin/ ${INSTALL_DATA} ${WRKSRC}/jftpgw.conf.sample ${PREFIX}/etc/ + ${INSTALL_MAN} ${WRKSRC}/jftpgw.1 ${PREFIX}/man/man1/ @${SED} -e 's:@PREFIX@:${PREFIX}:g' \ ${FILESDIR}/jftpgw.sh.in > ${WRKDIR}/jftpgw.sh ${INSTALL_SCRIPT} ${WRKDIR}/jftpgw.sh ${PREFIX}/etc/rc.d .include Property changes on: head/ftp/jftpgw/Makefile ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.5 \ No newline at end of property +1.6 \ No newline at end of property Index: head/ftp/jftpgw/distinfo =================================================================== --- head/ftp/jftpgw/distinfo (revision 57589) +++ head/ftp/jftpgw/distinfo (revision 57590) @@ -1,2 +1,2 @@ -MD5 (jftpgw-0.13.beta.j.tar.gz) = c638d6cae6de541ddda6fbc8fdae6246 -SIZE (jftpgw-0.13.beta.j.tar.gz) = 220094 +MD5 (jftpgw-0.13.1.tar.bz2) = 840a75b3d0fdf1bd529c0be370a40b67 +SIZE (jftpgw-0.13.1.tar.bz2) = 182500 Property changes on: head/ftp/jftpgw/distinfo ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.3 \ No newline at end of property +1.4 \ No newline at end of property Index: head/ftp/jftpgw/files/patch-configure =================================================================== --- head/ftp/jftpgw/files/patch-configure (revision 57589) +++ head/ftp/jftpgw/files/patch-configure (nonexistent) @@ -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 Property changes on: head/ftp/jftpgw/files/patch-configure ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/ftp/jftpgw/files/patch-configure.in =================================================================== --- head/ftp/jftpgw/files/patch-configure.in (revision 57589) +++ head/ftp/jftpgw/files/patch-configure.in (nonexistent) @@ -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]) Property changes on: head/ftp/jftpgw/files/patch-configure.in ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/ftp/jftpgw/files/patch-jftpgw.h =================================================================== --- head/ftp/jftpgw/files/patch-jftpgw.h (revision 57589) +++ head/ftp/jftpgw/files/patch-jftpgw.h (nonexistent) @@ -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*); Property changes on: head/ftp/jftpgw/files/patch-jftpgw.h ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/ftp/jftpgw/files/patch-config.h.in =================================================================== --- head/ftp/jftpgw/files/patch-config.h.in (revision 57589) +++ head/ftp/jftpgw/files/patch-config.h.in (nonexistent) @@ -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 - Property changes on: head/ftp/jftpgw/files/patch-config.h.in ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/ftp/jftpgw/files/patch-util.c =================================================================== --- head/ftp/jftpgw/files/patch-util.c (revision 57589) +++ head/ftp/jftpgw/files/patch-util.c (nonexistent) @@ -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 */ Property changes on: head/ftp/jftpgw/files/patch-util.c ___________________________________________________________________ Deleted: cvs2svn:cvs-rev ## -1 +0,0 ## -1.1 \ No newline at end of property Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Index: head/ftp/jftpgw/files/jftpgw.sh.in =================================================================== --- head/ftp/jftpgw/files/jftpgw.sh.in (revision 57589) +++ head/ftp/jftpgw/files/jftpgw.sh.in (revision 57590) @@ -1,25 +1,29 @@ #!/bin/sh PROGRAM=@PREFIX@/sbin/jftpgw +CFGFILE=@PREFIX@/etc/jftpgw.conf + PIDFILE=/var/run/jftpgw.pid case "$1" in start) - if [ -x $PROGRAM ] && [ -r @PREFIX@/etc/jftpgw.conf ] + if [ -x $PROGRAM ] && [ -r $CFGFILE ] then $PROGRAM echo -n "jftpgw " fi ;; stop) - PID=`cat $PIDFILE 2>/dev/null` - ps -p "$PID" | tail +2 | grep -sqw $PROGRAM && kill $PID +# work around PID file creation problem + killall jftpgw +# PID=`cat $PIDFILE 2>/dev/null` +# ps -p "$PID" | tail +2 | grep -sqw $PROGRAM && kill $PID ;; *) echo "usage: $0 start|stop" ;; esac Property changes on: head/ftp/jftpgw/files/jftpgw.sh.in ___________________________________________________________________ Modified: cvs2svn:cvs-rev ## -1 +1 ## -1.1 \ No newline at end of property +1.2 \ No newline at end of property