From f62711da2fbcba836db1e75d706bf1b57446f5f4 Mon Sep 17 00:00:00 2001 From: grant Date: Sat, 20 Dec 2003 13:38:37 +0000 Subject: incorporate patch from othersrc/libexec/tnftpd to honour --sysconfdir (will be included in the next release) and make the package honour PKG_SYSCONFDIR. use CONF_FILES to install the sample configuration ftpd.conf and ftpusers. bump PKGREVISION, as the default configuration file location has changed to ${PKG_SYSCONFDIR}. set PKG_SYSCONFDIR.tnftpd=/etc to get the previous behaviour. --- net/tnftpd/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'net/tnftpd/Makefile') diff --git a/net/tnftpd/Makefile b/net/tnftpd/Makefile index e77bdca69a5..e593ce78bc0 100644 --- a/net/tnftpd/Makefile +++ b/net/tnftpd/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.6 2003/12/19 21:30:00 grant Exp $ +# $NetBSD: Makefile,v 1.7 2003/12/20 13:38:37 grant Exp $ # DISTNAME= tnftpd-20031217 +PKGREVISION= 1 CATEGORIES= net MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/tnftp/ @@ -14,6 +15,12 @@ CONFLICTS+= lukemftpd-[0-9]* GNU_CONFIGURE= YES MANCOMPRESSED_IF_MANZ= YES +USE_PKGINSTALL= YES + +CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} + +CONF_FILES+= ${EXAMPLEDIR}/ftpd.conf ${PKG_SYSCONFDIR}/ftpd.conf +CONF_FILES+= ${EXAMPLEDIR}/ftpusers ${PKG_SYSCONFDIR}/ftpusers .include "../../mk/bsd.prefs.mk" -- cgit v1.2.3