Date: Wed, 20 Jan 2010 13:59:01 GMT From: zloidemon <g.veniamin@googlemail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/143018: Update port: ftp/proftpd-devel added support SFTP Message-ID: <201001201359.o0KDx1le004634@www.freebsd.org> Resent-Message-ID: <201001201400.o0KE0GCX012737@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 143018 >Category: ports >Synopsis: Update port: ftp/proftpd-devel added support SFTP >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Wed Jan 20 14:00:16 UTC 2010 >Closed-Date: >Last-Modified: >Originator: zloidemon >Release: FreeBSD 8.0-STABL >Organization: >Environment: FreeBSD zlobook.local 8.0-STABLE FreeBSD 8.0-STABLE #22: Sun Jan 3 12:17:19 KRAT 2010 root@zlobook.local:/usr/obj/usr/src/sys/zlobook i386 >Description: I added few changes in Makefile for support SFTP. >How-To-Repeat: >Fix: diff -ruN proftpd-devel.orig/Makefile proftpd-devel/Makefile --- proftpd-devel.orig/Makefile 2010-01-20 20:52:24.000000000 +0700 +++ proftpd-devel/Makefile 2010-01-20 20:47:30.000000000 +0700 @@ -32,7 +32,8 @@ PORTDOCSdoc= Configuration.html faq.html PORTDOCScontrib=mod_ifsession.html mod_radius.html mod_rewrite.html \ mod_tls.html mod_wrap2.html mod_wrap2_file.html mod_wrap2_sql.html \ - mod_ban.html mod_quotatab_radius.html ftpasswd.html + mod_ban.html mod_quotatab_radius.html ftpasswd.html mod_sftp.html \ + mod_sftp_sql.html mod_sftp_pam.html PORTDOCSmodule= mod_auth_file.html mod_auth_pam.html mod_cap.html mod_ctrls.html \ mod_delay.html mod_dso.html mod_facl.html mod_facts.html \ mod_ident.html mod_lang.html @@ -85,7 +86,10 @@ NLS "Use nls (builds mod_lang)" off \ UNIQUE "Include mod_unique_id" off \ CLAMAV "Include mod_clamav" off \ - DIGEST "Include mod_digest" off + DIGEST "Include mod_digest" off \ + SFTP "Include mod_sftp" off\ + SFTP_SQL "Include mod_sftp_sql" off \ + SFTP_PAM "Include mod_sftp_pam" off MODULES?= LIBDIRS?= @@ -267,6 +271,37 @@ MODULES:=${MODULES}:mod_digest .endif +.if defined(WITH_SFTP) +USE_SQLITE= yes +MODULES:=${MODULES}:mod_sftp +INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include +LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib +PLIST_SUB+= SFTP="" +PLIST_FILES+= include/${PORTNAME}/mod_sftp.h +.else +PLIST_SUB+= SFTP"@comment " +.endif + +.if defined(WITH_SFTP_SQL) +USE_SQLITE= yes +MODULES:=${MODULES}:mod_sftp_sql +INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include +LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib +PLIST_SUB+= SFTP_SQL="" +.else +PLIST_SUB+= SFTP_SQL="@comment " +.endif + +.if defined(WITH_SFTP_PAM) +USE_SQLITE= yes +MODULES:=${MODULES}:mod_sftp_pam +INCLUDEDIRS:=${INCLUDEDIRS}:${LOCALBASE}/include +LIBDIRS:=${LIBDIRS}:${LOCALBASE}/lib +PLIST_SUB+= SFTP_PAM="" +.else +PLIST_SUB+= SFTP_PAM="@comment " +.endif + # mod_ifsession should be the last item in the modules list .if !defined(WITHOUT_IFSESSION) MODULES:=${MODULES}:mod_ifsession >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201001201359.o0KDx1le004634>