2012-10-23 19:18:07 +02:00
|
|
|
# $NetBSD: Makefile,v 1.13 2012/10/23 17:18:30 asau Exp $
|
2004-02-23 02:32:33 +01:00
|
|
|
|
2006-04-10 11:31:01 +02:00
|
|
|
DISTNAME= jftpgw-0.13.5
|
|
|
|
#PKGREVISION= 1
|
2004-02-23 02:32:33 +01:00
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://www.mcknight.de/jftpgw/
|
|
|
|
|
2006-03-04 22:28:51 +01:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2004-02-23 02:32:33 +01:00
|
|
|
HOMEPAGE= http://www.mcknight.de/jftpgw/
|
|
|
|
COMMENT= FTP gateway/proxy
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
|
2004-12-29 16:42:37 +01:00
|
|
|
CONFIGURE_ARGS+= --with-logpath=${VARBASE}/log
|
2004-02-23 02:32:33 +01:00
|
|
|
CONFIGURE_ARGS+= --enable-crypt
|
|
|
|
CONFIGURE_ARGS+= --enable-sftp
|
|
|
|
|
|
|
|
RCD_SCRIPTS= jftpgw
|
|
|
|
EGDIR= ${PREFIX}/share/examples/jftpgw
|
|
|
|
CONF_FILES= ${EGDIR}/jftpgw.conf ${PKG_SYSCONFDIR}/jftpgw.conf
|
|
|
|
|
2004-09-18 14:47:33 +02:00
|
|
|
SUBST_CLASSES+= log
|
|
|
|
SUBST_STAGE.log= post-patch
|
|
|
|
SUBST_FILES.log= active.c bindport.c cache.c cmds.c config.c \
|
|
|
|
ftpread.c fw_auth_cmds.c jftpgw.c log.c log.h \
|
|
|
|
login.c openport.c passive.c states.c std_cmds.c \
|
|
|
|
util.c
|
|
|
|
SUBST_SED.log= -e "s,\([[:space:]]\)\(log(\),\1x\2,"
|
|
|
|
|
2004-02-23 02:32:33 +01:00
|
|
|
SUBST_CLASSES+= config
|
|
|
|
SUBST_STAGE.config= post-build
|
2004-02-24 02:10:31 +01:00
|
|
|
SUBST_FILES.config= jftpgw.conf.sample
|
2004-02-23 02:32:33 +01:00
|
|
|
SUBST_SED.config= -e "s/nobody/root/"
|
|
|
|
|
2006-11-09 10:29:00 +01:00
|
|
|
CHECK_PORTABILITY_SKIP+= support/jftpgw.startscript.non-RH
|
|
|
|
|
2004-02-23 02:32:33 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|