Disable TCP Wrappers support by default, but provide a hook to enable
it. TCP Wrappers support surprises too many novices.
This commit is contained in:
parent
4625fcef31
commit
002f0448ae
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=43759
3 changed files with 36 additions and 15 deletions
|
@ -28,11 +28,13 @@ USE_PERL5= yes
|
|||
|
||||
MAKE_ENV+= OSTYPE=${OPSYS} ARCHTYPE=${MACHINE_ARCH}
|
||||
|
||||
# Uncomment the WITH_LDAP, WITH_MYSQL, and WITH_PGSQL definitions
|
||||
# to link against libmysqlclient and libpq respectively.
|
||||
#WITH_LDAP= yes
|
||||
#WITH_MYSQL= yes
|
||||
#WITH_PGSQL= yes
|
||||
# Define WITH_TCP_WRAPPERS, WITH_LDAP, WITH_MYSQL, and WITH_PGSQL to
|
||||
# link against libwrap, an LDAP library (see below), liblibmysqlclient
|
||||
# and libpq respectively.
|
||||
#WITH_TCP_WRAPPERS= yes
|
||||
#WITH_LDAP= yes
|
||||
#WITH_MYSQL= yes
|
||||
#WITH_PGSQL= yes
|
||||
|
||||
# Link against OpenSSL in the base system for STARTTLS support.
|
||||
WITH_TLS?= yes
|
||||
|
@ -77,6 +79,11 @@ SEDLIST+= -e 's,^TLS_LIBS,\#TLS_LIBS,'
|
|||
SEDLIST+= -e 's,^EXIM_PERL,\#EXIM_PERL,'
|
||||
.endif
|
||||
|
||||
.if defined(WITH_TCP_WRAPPERS) && ${WITH_TCP_WRAPPERS} == "yes"
|
||||
SEDLIST+= -e 's,XX_TCP_WRAPPERS_LIBS_XX,-lwrap,' \
|
||||
-e 's,^\# USE_TCP_WRAPPERS,USE_TCP_WRAPPERS,'
|
||||
.endif
|
||||
|
||||
.if defined(WITH_LDAP)
|
||||
LIB_DEPENDS+= lber.1:${PORTSDIR}/net/openldap
|
||||
SEDLIST+= -e 's,XX_LDAP_LIBS_XX,-L${PREFIX}/lib -llber -lldap,' \
|
||||
|
|
|
@ -28,11 +28,13 @@ USE_PERL5= yes
|
|||
|
||||
MAKE_ENV+= OSTYPE=${OPSYS} ARCHTYPE=${MACHINE_ARCH}
|
||||
|
||||
# Uncomment the WITH_LDAP, WITH_MYSQL, and WITH_PGSQL definitions
|
||||
# to link against libmysqlclient and libpq respectively.
|
||||
#WITH_LDAP= yes
|
||||
#WITH_MYSQL= yes
|
||||
#WITH_PGSQL= yes
|
||||
# Define WITH_TCP_WRAPPERS, WITH_LDAP, WITH_MYSQL, and WITH_PGSQL to
|
||||
# link against libwrap, an LDAP library (see below), liblibmysqlclient
|
||||
# and libpq respectively.
|
||||
#WITH_TCP_WRAPPERS= yes
|
||||
#WITH_LDAP= yes
|
||||
#WITH_MYSQL= yes
|
||||
#WITH_PGSQL= yes
|
||||
|
||||
# Link against OpenSSL in the base system for STARTTLS support.
|
||||
WITH_TLS?= yes
|
||||
|
@ -77,6 +79,11 @@ SEDLIST+= -e 's,^TLS_LIBS,\#TLS_LIBS,'
|
|||
SEDLIST+= -e 's,^EXIM_PERL,\#EXIM_PERL,'
|
||||
.endif
|
||||
|
||||
.if defined(WITH_TCP_WRAPPERS) && ${WITH_TCP_WRAPPERS} == "yes"
|
||||
SEDLIST+= -e 's,XX_TCP_WRAPPERS_LIBS_XX,-lwrap,' \
|
||||
-e 's,^\# USE_TCP_WRAPPERS,USE_TCP_WRAPPERS,'
|
||||
.endif
|
||||
|
||||
.if defined(WITH_LDAP)
|
||||
LIB_DEPENDS+= lber.1:${PORTSDIR}/net/openldap
|
||||
SEDLIST+= -e 's,XX_LDAP_LIBS_XX,-L${PREFIX}/lib -llber -lldap,' \
|
||||
|
|
|
@ -28,11 +28,13 @@ USE_PERL5= yes
|
|||
|
||||
MAKE_ENV+= OSTYPE=${OPSYS} ARCHTYPE=${MACHINE_ARCH}
|
||||
|
||||
# Uncomment the WITH_LDAP, WITH_MYSQL, and WITH_PGSQL definitions
|
||||
# to link against libmysqlclient and libpq respectively.
|
||||
#WITH_LDAP= yes
|
||||
#WITH_MYSQL= yes
|
||||
#WITH_PGSQL= yes
|
||||
# Define WITH_TCP_WRAPPERS, WITH_LDAP, WITH_MYSQL, and WITH_PGSQL to
|
||||
# link against libwrap, an LDAP library (see below), liblibmysqlclient
|
||||
# and libpq respectively.
|
||||
#WITH_TCP_WRAPPERS= yes
|
||||
#WITH_LDAP= yes
|
||||
#WITH_MYSQL= yes
|
||||
#WITH_PGSQL= yes
|
||||
|
||||
# Link against OpenSSL in the base system for STARTTLS support.
|
||||
WITH_TLS?= yes
|
||||
|
@ -77,6 +79,11 @@ SEDLIST+= -e 's,^TLS_LIBS,\#TLS_LIBS,'
|
|||
SEDLIST+= -e 's,^EXIM_PERL,\#EXIM_PERL,'
|
||||
.endif
|
||||
|
||||
.if defined(WITH_TCP_WRAPPERS) && ${WITH_TCP_WRAPPERS} == "yes"
|
||||
SEDLIST+= -e 's,XX_TCP_WRAPPERS_LIBS_XX,-lwrap,' \
|
||||
-e 's,^\# USE_TCP_WRAPPERS,USE_TCP_WRAPPERS,'
|
||||
.endif
|
||||
|
||||
.if defined(WITH_LDAP)
|
||||
LIB_DEPENDS+= lber.1:${PORTSDIR}/net/openldap
|
||||
SEDLIST+= -e 's,XX_LDAP_LIBS_XX,-L${PREFIX}/lib -llber -lldap,' \
|
||||
|
|
Loading…
Reference in a new issue