diff options
author | pav <pav@FreeBSD.org> | 2004-01-24 06:56:46 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2004-01-24 06:56:46 +0800 |
commit | f76474873a61a6e448928895da767f2ed014eba9 (patch) | |
tree | d139a0cbc0a88a37218cb8a8000c9aef7d35a362 /ftp | |
parent | e71b1b6c15b941ebd08f1935ceefa129a412714e (diff) | |
download | freebsd-ports-gnome-f76474873a61a6e448928895da767f2ed014eba9.tar.gz freebsd-ports-gnome-f76474873a61a6e448928895da767f2ed014eba9.tar.zst freebsd-ports-gnome-f76474873a61a6e448928895da767f2ed014eba9.zip |
- Rip post-install echo block into standalone pkg-message
- Quiet portlint on RUN_DEPENDS
Diffstat (limited to 'ftp')
-rw-r--r-- | ftp/tnftpd/Makefile | 16 | ||||
-rw-r--r-- | ftp/tnftpd/pkg-message | 9 |
2 files changed, 15 insertions, 10 deletions
diff --git a/ftp/tnftpd/Makefile b/ftp/tnftpd/Makefile index e21fd7d5a56c..71712e687c55 100644 --- a/ftp/tnftpd/Makefile +++ b/ftp/tnftpd/Makefile @@ -17,9 +17,10 @@ COMMENT= Enhanced ftp server from NetBSD USE_REINPLACE= yes GNU_CONFIGURE= yes +PKGMESSAGE= ${WRKDIR}/pkg-message .if defined(WITH_SOCKS5) -BUILD_DEPENDS= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5 +BUILD_DEPENDS+= ${LOCALBASE}/lib/libsocks5.a:${PORTSDIR}/net/socks5 CONFIGURE_ARGS+= --with-socks5 .endif @@ -49,6 +50,9 @@ pre-patch: "s@^#define _DEFAULT_CONFDIR \"/etc\"@#define _DEFAULT_CONFDIR \"${PREFIX}/etc\"@" \ ${WRKSRC}/src/pathnames.h +post-build: + @${CAT} pkg-message | ${SED} -e 's|%%PREFIX%%|${PREFIX}|' > ${PKGMESSAGE} + do-install: ${INSTALL_PROGRAM} ${WRKSRC}/src/tnftpd ${PREFIX}/libexec ${INSTALL_MAN} ${WRKSRC}/src/ftpd.8 ${PREFIX}/man/man8/tnftpd.8 @@ -62,14 +66,6 @@ do-install: .endif post-install: - @${ECHO} "================================================================================" - @${ECHO} "This port relies on a number of configuration files in ${PREFIX}/etc." - @${ECHO} "At the very least, create a ftpusers file with the usernams of users you don't" - @${ECHO} "want to connect (root, toor, etc.). This will allow non-listed users to log in." - @${ECHO} "Copying /etc/ftpusers to ${PREFIX}/etc/ftpusers should be sufficient." - @${ECHO} - @${ECHO} "See the man files for more information. The man- and configuration files for" - @${ECHO} "FreeBSD's built-in ftpd can also be of use as examples/additional info." - @${ECHO} "================================================================================" + @${CAT} ${PKGMESSAGE} .include <bsd.port.mk> diff --git a/ftp/tnftpd/pkg-message b/ftp/tnftpd/pkg-message new file mode 100644 index 000000000000..07752592032f --- /dev/null +++ b/ftp/tnftpd/pkg-message @@ -0,0 +1,9 @@ +================================================================================ +This port relies on a number of configuration files in %%PREFIX%%/etc. +At the very least, create a ftpusers file with the usernams of users you don't +want to connect (root, toor, etc.). This will allow non-listed users to log in. +Copying /etc/ftpusers to %%PREFIX%%/etc/ftpusers should be sufficient. + +See the man files for more information. The man- and configuration files for +FreeBSD's built-in ftpd can also be of use as examples/additional info. +================================================================================ |