Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Apr 2016 12:05:10 +0000 (UTC)
From:      Martin Matuska <mm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r413681 - head/ftp/proftpd
Message-ID:  <201604201205.u3KC5ALw021763@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mm
Date: Wed Apr 20 12:05:10 2016
New Revision: 413681
URL: https://svnweb.freebsd.org/changeset/ports/413681

Log:
  Update proftpd to 1.3.5b
  Optionsify port
  
  PR:		208909

Modified:
  head/ftp/proftpd/Makefile
  head/ftp/proftpd/distinfo

Modified: head/ftp/proftpd/Makefile
==============================================================================
--- head/ftp/proftpd/Makefile	Wed Apr 20 11:46:34 2016	(r413680)
+++ head/ftp/proftpd/Makefile	Wed Apr 20 12:05:10 2016	(r413681)
@@ -26,7 +26,7 @@ BUILD_DEPENDS+=	${LOCALBASE}/sbin/proftp
 RUN_DEPENDS+=	${LOCALBASE}/sbin/proftpd:ftp/proftpd
 .endif
 
-PROFTPD_VERSION=	1.3.5a
+PROFTPD_VERSION=	1.3.5b
 
 .if defined(_BUILDING_PROFTPD_MODULE)
 DISTFILES+=	${DISTNAME}${EXTRACT_SUFX}
@@ -93,11 +93,10 @@ HTMLDOCS_DESC=		Include HTML documentati
 MEMCACHE_DESC=		Memcache support using libmemcached
 
 PLIST_SUB+=	LOCALSTATEDIR="${LOCALSTATEDIR}"
+OPTIONS_SUB=	yes
 
 .endif #!defined(_BUILDING_PROFTPD_MODULE)
 
-.include <bsd.port.options.mk>
-
 .if !defined(_BUILDING_PROFTPD_MODULE)
 CPPFLAGS+=	-DHAVE_OPENSSL -I${OPENSSLINC}
 LIBS+=		-lssl -lcrypto -L${OPENSSLLIB}
@@ -142,38 +141,18 @@ MODULES+=	mod_ban \
 		mod_wrap2_file \
 		mod_wrap2_sql
 
-.if ${PORT_OPTIONS:MIPV6}
-CONFIGURE_ARGS+=	--enable-ipv6
-.else
-CONFIGURE_ARGS+=	--disable-ipv6
-.endif
+IPV6_CONFIGURE_ENABLE=ipv6
 
-.if ${PORT_OPTIONS:MNLS}
-CONFIGURE_ARGS+=	--enable-nls
-USES+=	gettext iconv
-PLIST_SUB+=	NLS=""
-.else
-PLIST_SUB+=	NLS="@comment "
-.endif
+NLS_CONFIGURE_ON=	--enable-nls
+NLS_USES=		gettext iconv
 
-.if ${PORT_OPTIONS:MPCRE}
-LIB_DEPENDS+=		libpcre.so:devel/pcre
-CONFIGURE_ARGS+=	--enable-pcre
-.else
-CONFIGURE_ARGS+=	--disable-pcre
-.endif
+PCRE_CONFIGURE_ENABLE=	pcre
+PCRE_LIB_DEPENDS=	libpcre.so:devel/pcre
 
-.if ${PORT_OPTIONS:MMEMCACHE}
-MODULES+=		mod_memcache \
-			mod_tls_memcache
-LIB_DEPENDS+=		libmemcached.so:databases/libmemcached
-CONFIGURE_ARGS+=	--enable-memcache
-LIBS+=			-L${LOCALBASE}/lib -lmemcached -lmemcachedutil
-PLIST_SUB+=	MEMCACHE=""
-.else
-CONFIGURE_ARGS+=	--disable-memcache
-PLIST_SUB+=	MEMCACHE="@comment "
-.endif
+MEMCACHE_LIB_DEPENDS=	libmemcached.so:databases/libmemcached
+MEMCACHE_CONFIGURE_ENABLE=	memcache
+MEMCACHE_VARS=		MODULES+="mod_memcache mod_tls_memcache" \
+			LIBS+="-L${LOCALBASE}/lib -lmemcached -lmemcachedutil"	
 
 # Generate modules configuration string
 .for m in ${MODULES}
@@ -192,7 +171,7 @@ CONFIGURE_ARGS+=	--with-libraries=${LIBD
 
 .if !defined(_BUILDING_PROFTPD_MODULE)
 
-.if empty(ICONV_LIB)
+.if empty(ICONV_PREFIX)
 CONFIGURE_ARGS+=	ac_cv_lib_iconv_iconv_open=no \
 			ac_cv_lib_iconv_libiconv_open=no
 .endif

Modified: head/ftp/proftpd/distinfo
==============================================================================
--- head/ftp/proftpd/distinfo	Wed Apr 20 11:46:34 2016	(r413680)
+++ head/ftp/proftpd/distinfo	Wed Apr 20 12:05:10 2016	(r413681)
@@ -1,5 +1,5 @@
-SHA256 (proftpd-1.3.5a.tar.gz) = a1f48df8539c414ec56e0cea63dcf4b8e16e606c05f10156f030a4a67fae5696
-SIZE (proftpd-1.3.5a.tar.gz) = 29988477
+SHA256 (proftpd-1.3.5b.tar.gz) = afc1789f2478acf88dfdc7d70da90a4fa2786d628218e9574273295d044b4fc8
+SIZE (proftpd-1.3.5b.tar.gz) = 29992107
 SHA256 (mod_clamav-v0.13.tar.gz) = 7f60bebbb58836319bf249be77540efc6667a55caca8aaba164e6a61cd0c3db7
 SIZE (mod_clamav-v0.13.tar.gz) = 11683
 SHA256 (mod_sql_tds-4.13.tar.gz) = 9d9fb6c4b9a952739a84e166ed8b0d93f539c7bcf73e32923318e00cbd7eea08



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201604201205.u3KC5ALw021763>