mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 17:59:20 -04:00
compile in more modules by default.
place all MODULES in OPTIONS
This commit is contained in:
parent
17a05ac8c0
commit
2b4140ad3a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=123989
2 changed files with 82 additions and 6 deletions
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= proftpd
|
PORTNAME= proftpd
|
||||||
PORTVERSION= 1.2.10
|
PORTVERSION= 1.2.10
|
||||||
PORTREVISION= 0
|
PORTREVISION= 1
|
||||||
CATEGORIES= ftp
|
CATEGORIES= ftp
|
||||||
MASTER_SITES= ftp://ftp.proftpd.org/distrib/source/ \
|
MASTER_SITES= ftp://ftp.proftpd.org/distrib/source/ \
|
||||||
ftp://ftp.fastorama.com/mirrors/ftp.proftpd.org/distrib/source/ \
|
ftp://ftp.fastorama.com/mirrors/ftp.proftpd.org/distrib/source/ \
|
||||||
|
@ -48,6 +48,42 @@ PLIST_SUB+= RC_DIR=${RC_DIR} \
|
||||||
CONFIGURE_ARGS= --localstatedir=/var/run \
|
CONFIGURE_ARGS= --localstatedir=/var/run \
|
||||||
--disable-sendfile
|
--disable-sendfile
|
||||||
|
|
||||||
|
OPTIONS= IPV6 "Use IPv6" off \
|
||||||
|
LDAP "Use LDAP" off \
|
||||||
|
MYSQL "Use MySQL" off \
|
||||||
|
POSTGRESQL "Use Postgres" off \
|
||||||
|
OPENSSL "Include mod_tls" off \
|
||||||
|
QUOTA "Include mod_quota" off \
|
||||||
|
IFSESSION "Include mod_ifsession" on \
|
||||||
|
README "Include mod_readme" on \
|
||||||
|
RATIO "Include mod_ratio" on \
|
||||||
|
REWRITE "Include mod_rewrite" on \
|
||||||
|
WRAP "Include mod_wrap" on
|
||||||
|
|
||||||
|
MODULES?=
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
.if defined(WITH_IFSESSION)
|
||||||
|
MODULES:=${MODULES}:mod_ifsession
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITH_RATIO)
|
||||||
|
MODULES:=${MODULES}:mod_ratio
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITH_README)
|
||||||
|
MODULES:=${MODULES}:mod_readme
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITH_REWRITE)
|
||||||
|
MODULES:=${MODULES}:mod_rewrite
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITH_WRAP)
|
||||||
|
MODULES:=${MODULES}:mod_wrap
|
||||||
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_SETPASSENT)
|
.if defined(WITH_SETPASSENT)
|
||||||
CONFIGURE_ARGS+= --enable-force-setpassent
|
CONFIGURE_ARGS+= --enable-force-setpassent
|
||||||
.endif
|
.endif
|
||||||
|
@ -65,7 +101,7 @@ CONFIGURE_ARGS+= --disable-ipv6
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
#allow user to override
|
#allow user to override
|
||||||
MODULES?= mod_ratio:mod_readme:mod_wrap
|
MODULES?= mod_ifsession:mod_ratio:mod_readme:mod_rewrite:mod_wrap
|
||||||
|
|
||||||
INCLUDEDIRS=
|
INCLUDEDIRS=
|
||||||
LIBDIRS=
|
LIBDIRS=
|
||||||
|
@ -134,6 +170,8 @@ CONFIGURE_ARGS+= --with-includes=${INCLUDEDIRS}
|
||||||
CONFIGURE_ARGS+= --with-libraries=${LIBDIRS}
|
CONFIGURE_ARGS+= --with-libraries=${LIBDIRS}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
MODULES!=${ECHO} ${MODULES} | ${SED} -e 's,^:,,' -e 's,:$$,,'
|
||||||
|
|
||||||
pre-configure:
|
pre-configure:
|
||||||
@${ECHO_MSG} "==> Configuring with ${MODULES}"
|
@${ECHO_MSG} "==> Configuring with ${MODULES}"
|
||||||
|
|
||||||
|
@ -194,4 +232,4 @@ do-install:
|
||||||
@${CAT} ${PKGMESSAGE}
|
@${CAT} ${PKGMESSAGE}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
|
@ -7,7 +7,7 @@
|
||||||
|
|
||||||
PORTNAME= proftpd
|
PORTNAME= proftpd
|
||||||
PORTVERSION= 1.2.10
|
PORTVERSION= 1.2.10
|
||||||
PORTREVISION= 0
|
PORTREVISION= 1
|
||||||
CATEGORIES= ftp
|
CATEGORIES= ftp
|
||||||
MASTER_SITES= ftp://ftp.proftpd.org/distrib/source/ \
|
MASTER_SITES= ftp://ftp.proftpd.org/distrib/source/ \
|
||||||
ftp://ftp.fastorama.com/mirrors/ftp.proftpd.org/distrib/source/ \
|
ftp://ftp.fastorama.com/mirrors/ftp.proftpd.org/distrib/source/ \
|
||||||
|
@ -48,6 +48,42 @@ PLIST_SUB+= RC_DIR=${RC_DIR} \
|
||||||
CONFIGURE_ARGS= --localstatedir=/var/run \
|
CONFIGURE_ARGS= --localstatedir=/var/run \
|
||||||
--disable-sendfile
|
--disable-sendfile
|
||||||
|
|
||||||
|
OPTIONS= IPV6 "Use IPv6" off \
|
||||||
|
LDAP "Use LDAP" off \
|
||||||
|
MYSQL "Use MySQL" off \
|
||||||
|
POSTGRESQL "Use Postgres" off \
|
||||||
|
OPENSSL "Include mod_tls" off \
|
||||||
|
QUOTA "Include mod_quota" off \
|
||||||
|
IFSESSION "Include mod_ifsession" on \
|
||||||
|
README "Include mod_readme" on \
|
||||||
|
RATIO "Include mod_ratio" on \
|
||||||
|
REWRITE "Include mod_rewrite" on \
|
||||||
|
WRAP "Include mod_wrap" on
|
||||||
|
|
||||||
|
MODULES?=
|
||||||
|
|
||||||
|
.include <bsd.port.pre.mk>
|
||||||
|
|
||||||
|
.if defined(WITH_IFSESSION)
|
||||||
|
MODULES:=${MODULES}:mod_ifsession
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITH_RATIO)
|
||||||
|
MODULES:=${MODULES}:mod_ratio
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITH_README)
|
||||||
|
MODULES:=${MODULES}:mod_readme
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITH_REWRITE)
|
||||||
|
MODULES:=${MODULES}:mod_rewrite
|
||||||
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITH_WRAP)
|
||||||
|
MODULES:=${MODULES}:mod_wrap
|
||||||
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_SETPASSENT)
|
.if defined(WITH_SETPASSENT)
|
||||||
CONFIGURE_ARGS+= --enable-force-setpassent
|
CONFIGURE_ARGS+= --enable-force-setpassent
|
||||||
.endif
|
.endif
|
||||||
|
@ -65,7 +101,7 @@ CONFIGURE_ARGS+= --disable-ipv6
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
#allow user to override
|
#allow user to override
|
||||||
MODULES?= mod_ratio:mod_readme:mod_wrap
|
MODULES?= mod_ifsession:mod_ratio:mod_readme:mod_rewrite:mod_wrap
|
||||||
|
|
||||||
INCLUDEDIRS=
|
INCLUDEDIRS=
|
||||||
LIBDIRS=
|
LIBDIRS=
|
||||||
|
@ -134,6 +170,8 @@ CONFIGURE_ARGS+= --with-includes=${INCLUDEDIRS}
|
||||||
CONFIGURE_ARGS+= --with-libraries=${LIBDIRS}
|
CONFIGURE_ARGS+= --with-libraries=${LIBDIRS}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
MODULES!=${ECHO} ${MODULES} | ${SED} -e 's,^:,,' -e 's,:$$,,'
|
||||||
|
|
||||||
pre-configure:
|
pre-configure:
|
||||||
@${ECHO_MSG} "==> Configuring with ${MODULES}"
|
@${ECHO_MSG} "==> Configuring with ${MODULES}"
|
||||||
|
|
||||||
|
@ -194,4 +232,4 @@ do-install:
|
||||||
@${CAT} ${PKGMESSAGE}
|
@${CAT} ${PKGMESSAGE}
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.post.mk>
|
||||||
|
|
Loading…
Add table
Reference in a new issue