mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Batch building of packages for postfix is failing due to PCRE issues.
PR: 48896 Submitted by: Vivek Khera <khera@kcilink.com>
This commit is contained in:
parent
4e097dc65e
commit
ad1a88f011
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=76835
@ -7,11 +7,13 @@
|
|||||||
|
|
||||||
# To pre-select options in batch mode, run make like this:
|
# To pre-select options in batch mode, run make like this:
|
||||||
#
|
#
|
||||||
# make -DBATCH POSTFIX_OPTIONS="DB3 PCRE"
|
# make -DBATCH POSTFIX_OPTIONS="DB3 IPv6TLS"
|
||||||
#
|
#
|
||||||
# the options are the same names as in the scripts/configure.postfix file.
|
# the options are the same names as in the scripts/configure.postfix file.
|
||||||
# POSTFIX_OPTIONS can be set in /etc/make.conf also.
|
# POSTFIX_OPTIONS can be set in /etc/make.conf also.
|
||||||
|
|
||||||
|
# NOTE: PCRE is enabled by default unless you specifically disable it.
|
||||||
|
|
||||||
PORTNAME= postfix
|
PORTNAME= postfix
|
||||||
PORTVERSION= 2.0.4
|
PORTVERSION= 2.0.4
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
@ -70,6 +72,15 @@ pre-fetch:
|
|||||||
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
|
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITHOUT_PCRE)
|
||||||
|
POSTFIX_CCARGS+= -DNO_PCRE
|
||||||
|
.else
|
||||||
|
LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre
|
||||||
|
POSTFIX_CCARGS+= -DHAS_PCRE -I${LOCALBASE}/include
|
||||||
|
POSTFIX_AUXLIBS+= -L${LOCALBASE}/lib -lpcre
|
||||||
|
.endif
|
||||||
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
(cd ${WRKSRC} && ${MAKE} -f Makefile.init makefiles ${MAKEFILEFLAGS} \
|
(cd ${WRKSRC} && ${MAKE} -f Makefile.init makefiles ${MAKEFILEFLAGS} \
|
||||||
CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}" && \
|
CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}" && \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $FreeBSD: /tmp/pcvs/ports/mail/postfix/scripts/Attic/configure.postfix,v 1.30 2003-03-03 12:56:05 nectar Exp $
|
# $FreeBSD: /tmp/pcvs/ports/mail/postfix/scripts/Attic/configure.postfix,v 1.31 2003-03-04 07:31:25 leeym Exp $
|
||||||
|
|
||||||
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
|
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
|
||||||
exit
|
exit
|
||||||
@ -9,8 +9,6 @@ tempfile=`mktemp -t checklist`
|
|||||||
|
|
||||||
if [ "${POSTFIX_OPTIONS}" ]; then
|
if [ "${POSTFIX_OPTIONS}" ]; then
|
||||||
set ${POSTFIX_OPTIONS}
|
set ${POSTFIX_OPTIONS}
|
||||||
else
|
|
||||||
set PCRE
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for i; do
|
for i; do
|
||||||
@ -21,7 +19,7 @@ if [ -z "${BATCH}" ]; then
|
|||||||
/usr/bin/dialog --title "Postfix configuration options" --clear \
|
/usr/bin/dialog --title "Postfix configuration options" --clear \
|
||||||
--checklist "\n\
|
--checklist "\n\
|
||||||
Please select desired options:" -1 -1 16 \
|
Please select desired options:" -1 -1 16 \
|
||||||
PCRE "Perl Compatible Regular Expressions" "$status_PCRE" \
|
NOPCRE "DISABLE Perl Compatible Regular Expressions" "$status_NOPCRE" \
|
||||||
SASL "Cyrus SASLv1 (Simple Authentication and Security Layer)" "$status_SASL" \
|
SASL "Cyrus SASLv1 (Simple Authentication and Security Layer)" "$status_SASL" \
|
||||||
SASL2 "Cyrus SASLv2 (Simple Authentication and Security Layer)" "$status_SASL2" \
|
SASL2 "Cyrus SASLv2 (Simple Authentication and Security Layer)" "$status_SASL2" \
|
||||||
TLS "SSL and TLS" "$status_TLS" \
|
TLS "SSL and TLS" "$status_TLS" \
|
||||||
@ -64,12 +62,10 @@ SUB_TEST="@comment "
|
|||||||
|
|
||||||
while [ "$1" ]; do
|
while [ "$1" ]; do
|
||||||
case $1 in
|
case $1 in
|
||||||
PCRE)
|
NOPCRE)
|
||||||
echo "LIB_DEPENDS+= pcre.0:\${PORTSDIR}/devel/pcre"
|
echo "WITHOUT_PCRE= yes"
|
||||||
echo "POSTFIX_CCARGS+= -DHAS_PCRE -I\${LOCALBASE}/include"
|
echo "NOPCRE_SUFFIX= +nopcre"
|
||||||
echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -lpcre"
|
SUB_NOPCRE=""
|
||||||
echo "PCRE_SUFFIX= +pcre"
|
|
||||||
SUB_PCRE=""
|
|
||||||
;;
|
;;
|
||||||
SASL)
|
SASL)
|
||||||
echo "LIB_DEPENDS+= sasl.8:\${PORTSDIR}/security/cyrus-sasl"
|
echo "LIB_DEPENDS+= sasl.8:\${PORTSDIR}/security/cyrus-sasl"
|
||||||
@ -230,4 +226,4 @@ echo "PLIST_SUB+= SUB_TEST=\"${SUB_TEST}\""
|
|||||||
# we ask the configure questions) doesn't pick up the extensions, but
|
# we ask the configure questions) doesn't pick up the extensions, but
|
||||||
# any subsequent build will. so "make; make install" will build twice.
|
# any subsequent build will. so "make; make install" will build twice.
|
||||||
# don't do this for now.
|
# don't do this for now.
|
||||||
#echo "PKGNAMESUFFIX= \${PCRE_SUFFIX}\${SASL_SUFFIX}\${DB_SUFFIX}\${MYSQL_SUFFIX}\${PGSQL_SUFFIX}\${OPENLDAP_SUFFIX}\${TLS_SUFFIX}\${IPv6_SUFFIX}"
|
#echo "PKGNAMESUFFIX= \${NOPCRE_SUFFIX}\${SASL_SUFFIX}\${DB_SUFFIX}\${MYSQL_SUFFIX}\${PGSQL_SUFFIX}\${OPENLDAP_SUFFIX}\${TLS_SUFFIX}\${IPv6_SUFFIX}"
|
||||||
|
@ -7,11 +7,13 @@
|
|||||||
|
|
||||||
# To pre-select options in batch mode, run make like this:
|
# To pre-select options in batch mode, run make like this:
|
||||||
#
|
#
|
||||||
# make -DBATCH POSTFIX_OPTIONS="DB3 PCRE"
|
# make -DBATCH POSTFIX_OPTIONS="DB3 IPv6TLS"
|
||||||
#
|
#
|
||||||
# the options are the same names as in the scripts/configure.postfix file.
|
# the options are the same names as in the scripts/configure.postfix file.
|
||||||
# POSTFIX_OPTIONS can be set in /etc/make.conf also.
|
# POSTFIX_OPTIONS can be set in /etc/make.conf also.
|
||||||
|
|
||||||
|
# NOTE: PCRE is enabled by default unless you specifically disable it.
|
||||||
|
|
||||||
PORTNAME= postfix
|
PORTNAME= postfix
|
||||||
PORTVERSION= 2.0.4
|
PORTVERSION= 2.0.4
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
@ -70,6 +72,15 @@ pre-fetch:
|
|||||||
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
|
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITHOUT_PCRE)
|
||||||
|
POSTFIX_CCARGS+= -DNO_PCRE
|
||||||
|
.else
|
||||||
|
LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre
|
||||||
|
POSTFIX_CCARGS+= -DHAS_PCRE -I${LOCALBASE}/include
|
||||||
|
POSTFIX_AUXLIBS+= -L${LOCALBASE}/lib -lpcre
|
||||||
|
.endif
|
||||||
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
(cd ${WRKSRC} && ${MAKE} -f Makefile.init makefiles ${MAKEFILEFLAGS} \
|
(cd ${WRKSRC} && ${MAKE} -f Makefile.init makefiles ${MAKEFILEFLAGS} \
|
||||||
CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}" && \
|
CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}" && \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $FreeBSD: /tmp/pcvs/ports/mail/postfix1/scripts/Attic/configure.postfix,v 1.30 2003-03-03 12:56:05 nectar Exp $
|
# $FreeBSD: /tmp/pcvs/ports/mail/postfix1/scripts/Attic/configure.postfix,v 1.31 2003-03-04 07:31:25 leeym Exp $
|
||||||
|
|
||||||
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
|
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
|
||||||
exit
|
exit
|
||||||
@ -9,8 +9,6 @@ tempfile=`mktemp -t checklist`
|
|||||||
|
|
||||||
if [ "${POSTFIX_OPTIONS}" ]; then
|
if [ "${POSTFIX_OPTIONS}" ]; then
|
||||||
set ${POSTFIX_OPTIONS}
|
set ${POSTFIX_OPTIONS}
|
||||||
else
|
|
||||||
set PCRE
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for i; do
|
for i; do
|
||||||
@ -21,7 +19,7 @@ if [ -z "${BATCH}" ]; then
|
|||||||
/usr/bin/dialog --title "Postfix configuration options" --clear \
|
/usr/bin/dialog --title "Postfix configuration options" --clear \
|
||||||
--checklist "\n\
|
--checklist "\n\
|
||||||
Please select desired options:" -1 -1 16 \
|
Please select desired options:" -1 -1 16 \
|
||||||
PCRE "Perl Compatible Regular Expressions" "$status_PCRE" \
|
NOPCRE "DISABLE Perl Compatible Regular Expressions" "$status_NOPCRE" \
|
||||||
SASL "Cyrus SASLv1 (Simple Authentication and Security Layer)" "$status_SASL" \
|
SASL "Cyrus SASLv1 (Simple Authentication and Security Layer)" "$status_SASL" \
|
||||||
SASL2 "Cyrus SASLv2 (Simple Authentication and Security Layer)" "$status_SASL2" \
|
SASL2 "Cyrus SASLv2 (Simple Authentication and Security Layer)" "$status_SASL2" \
|
||||||
TLS "SSL and TLS" "$status_TLS" \
|
TLS "SSL and TLS" "$status_TLS" \
|
||||||
@ -64,12 +62,10 @@ SUB_TEST="@comment "
|
|||||||
|
|
||||||
while [ "$1" ]; do
|
while [ "$1" ]; do
|
||||||
case $1 in
|
case $1 in
|
||||||
PCRE)
|
NOPCRE)
|
||||||
echo "LIB_DEPENDS+= pcre.0:\${PORTSDIR}/devel/pcre"
|
echo "WITHOUT_PCRE= yes"
|
||||||
echo "POSTFIX_CCARGS+= -DHAS_PCRE -I\${LOCALBASE}/include"
|
echo "NOPCRE_SUFFIX= +nopcre"
|
||||||
echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -lpcre"
|
SUB_NOPCRE=""
|
||||||
echo "PCRE_SUFFIX= +pcre"
|
|
||||||
SUB_PCRE=""
|
|
||||||
;;
|
;;
|
||||||
SASL)
|
SASL)
|
||||||
echo "LIB_DEPENDS+= sasl.8:\${PORTSDIR}/security/cyrus-sasl"
|
echo "LIB_DEPENDS+= sasl.8:\${PORTSDIR}/security/cyrus-sasl"
|
||||||
@ -230,4 +226,4 @@ echo "PLIST_SUB+= SUB_TEST=\"${SUB_TEST}\""
|
|||||||
# we ask the configure questions) doesn't pick up the extensions, but
|
# we ask the configure questions) doesn't pick up the extensions, but
|
||||||
# any subsequent build will. so "make; make install" will build twice.
|
# any subsequent build will. so "make; make install" will build twice.
|
||||||
# don't do this for now.
|
# don't do this for now.
|
||||||
#echo "PKGNAMESUFFIX= \${PCRE_SUFFIX}\${SASL_SUFFIX}\${DB_SUFFIX}\${MYSQL_SUFFIX}\${PGSQL_SUFFIX}\${OPENLDAP_SUFFIX}\${TLS_SUFFIX}\${IPv6_SUFFIX}"
|
#echo "PKGNAMESUFFIX= \${NOPCRE_SUFFIX}\${SASL_SUFFIX}\${DB_SUFFIX}\${MYSQL_SUFFIX}\${PGSQL_SUFFIX}\${OPENLDAP_SUFFIX}\${TLS_SUFFIX}\${IPv6_SUFFIX}"
|
||||||
|
@ -7,11 +7,13 @@
|
|||||||
|
|
||||||
# To pre-select options in batch mode, run make like this:
|
# To pre-select options in batch mode, run make like this:
|
||||||
#
|
#
|
||||||
# make -DBATCH POSTFIX_OPTIONS="DB3 PCRE"
|
# make -DBATCH POSTFIX_OPTIONS="DB3 IPv6TLS"
|
||||||
#
|
#
|
||||||
# the options are the same names as in the scripts/configure.postfix file.
|
# the options are the same names as in the scripts/configure.postfix file.
|
||||||
# POSTFIX_OPTIONS can be set in /etc/make.conf also.
|
# POSTFIX_OPTIONS can be set in /etc/make.conf also.
|
||||||
|
|
||||||
|
# NOTE: PCRE is enabled by default unless you specifically disable it.
|
||||||
|
|
||||||
PORTNAME= postfix
|
PORTNAME= postfix
|
||||||
PORTVERSION= 2.0.4
|
PORTVERSION= 2.0.4
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
@ -70,6 +72,15 @@ pre-fetch:
|
|||||||
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
|
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITHOUT_PCRE)
|
||||||
|
POSTFIX_CCARGS+= -DNO_PCRE
|
||||||
|
.else
|
||||||
|
LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre
|
||||||
|
POSTFIX_CCARGS+= -DHAS_PCRE -I${LOCALBASE}/include
|
||||||
|
POSTFIX_AUXLIBS+= -L${LOCALBASE}/lib -lpcre
|
||||||
|
.endif
|
||||||
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
(cd ${WRKSRC} && ${MAKE} -f Makefile.init makefiles ${MAKEFILEFLAGS} \
|
(cd ${WRKSRC} && ${MAKE} -f Makefile.init makefiles ${MAKEFILEFLAGS} \
|
||||||
CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}" && \
|
CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}" && \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $FreeBSD: /tmp/pcvs/ports/mail/postfix20/scripts/Attic/configure.postfix,v 1.30 2003-03-03 12:56:05 nectar Exp $
|
# $FreeBSD: /tmp/pcvs/ports/mail/postfix20/scripts/Attic/configure.postfix,v 1.31 2003-03-04 07:31:25 leeym Exp $
|
||||||
|
|
||||||
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
|
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
|
||||||
exit
|
exit
|
||||||
@ -9,8 +9,6 @@ tempfile=`mktemp -t checklist`
|
|||||||
|
|
||||||
if [ "${POSTFIX_OPTIONS}" ]; then
|
if [ "${POSTFIX_OPTIONS}" ]; then
|
||||||
set ${POSTFIX_OPTIONS}
|
set ${POSTFIX_OPTIONS}
|
||||||
else
|
|
||||||
set PCRE
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for i; do
|
for i; do
|
||||||
@ -21,7 +19,7 @@ if [ -z "${BATCH}" ]; then
|
|||||||
/usr/bin/dialog --title "Postfix configuration options" --clear \
|
/usr/bin/dialog --title "Postfix configuration options" --clear \
|
||||||
--checklist "\n\
|
--checklist "\n\
|
||||||
Please select desired options:" -1 -1 16 \
|
Please select desired options:" -1 -1 16 \
|
||||||
PCRE "Perl Compatible Regular Expressions" "$status_PCRE" \
|
NOPCRE "DISABLE Perl Compatible Regular Expressions" "$status_NOPCRE" \
|
||||||
SASL "Cyrus SASLv1 (Simple Authentication and Security Layer)" "$status_SASL" \
|
SASL "Cyrus SASLv1 (Simple Authentication and Security Layer)" "$status_SASL" \
|
||||||
SASL2 "Cyrus SASLv2 (Simple Authentication and Security Layer)" "$status_SASL2" \
|
SASL2 "Cyrus SASLv2 (Simple Authentication and Security Layer)" "$status_SASL2" \
|
||||||
TLS "SSL and TLS" "$status_TLS" \
|
TLS "SSL and TLS" "$status_TLS" \
|
||||||
@ -64,12 +62,10 @@ SUB_TEST="@comment "
|
|||||||
|
|
||||||
while [ "$1" ]; do
|
while [ "$1" ]; do
|
||||||
case $1 in
|
case $1 in
|
||||||
PCRE)
|
NOPCRE)
|
||||||
echo "LIB_DEPENDS+= pcre.0:\${PORTSDIR}/devel/pcre"
|
echo "WITHOUT_PCRE= yes"
|
||||||
echo "POSTFIX_CCARGS+= -DHAS_PCRE -I\${LOCALBASE}/include"
|
echo "NOPCRE_SUFFIX= +nopcre"
|
||||||
echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -lpcre"
|
SUB_NOPCRE=""
|
||||||
echo "PCRE_SUFFIX= +pcre"
|
|
||||||
SUB_PCRE=""
|
|
||||||
;;
|
;;
|
||||||
SASL)
|
SASL)
|
||||||
echo "LIB_DEPENDS+= sasl.8:\${PORTSDIR}/security/cyrus-sasl"
|
echo "LIB_DEPENDS+= sasl.8:\${PORTSDIR}/security/cyrus-sasl"
|
||||||
@ -230,4 +226,4 @@ echo "PLIST_SUB+= SUB_TEST=\"${SUB_TEST}\""
|
|||||||
# we ask the configure questions) doesn't pick up the extensions, but
|
# we ask the configure questions) doesn't pick up the extensions, but
|
||||||
# any subsequent build will. so "make; make install" will build twice.
|
# any subsequent build will. so "make; make install" will build twice.
|
||||||
# don't do this for now.
|
# don't do this for now.
|
||||||
#echo "PKGNAMESUFFIX= \${PCRE_SUFFIX}\${SASL_SUFFIX}\${DB_SUFFIX}\${MYSQL_SUFFIX}\${PGSQL_SUFFIX}\${OPENLDAP_SUFFIX}\${TLS_SUFFIX}\${IPv6_SUFFIX}"
|
#echo "PKGNAMESUFFIX= \${NOPCRE_SUFFIX}\${SASL_SUFFIX}\${DB_SUFFIX}\${MYSQL_SUFFIX}\${PGSQL_SUFFIX}\${OPENLDAP_SUFFIX}\${TLS_SUFFIX}\${IPv6_SUFFIX}"
|
||||||
|
@ -7,11 +7,13 @@
|
|||||||
|
|
||||||
# To pre-select options in batch mode, run make like this:
|
# To pre-select options in batch mode, run make like this:
|
||||||
#
|
#
|
||||||
# make -DBATCH POSTFIX_OPTIONS="DB3 PCRE"
|
# make -DBATCH POSTFIX_OPTIONS="DB3 IPv6TLS"
|
||||||
#
|
#
|
||||||
# the options are the same names as in the scripts/configure.postfix file.
|
# the options are the same names as in the scripts/configure.postfix file.
|
||||||
# POSTFIX_OPTIONS can be set in /etc/make.conf also.
|
# POSTFIX_OPTIONS can be set in /etc/make.conf also.
|
||||||
|
|
||||||
|
# NOTE: PCRE is enabled by default unless you specifically disable it.
|
||||||
|
|
||||||
PORTNAME= postfix
|
PORTNAME= postfix
|
||||||
PORTVERSION= 2.0.4
|
PORTVERSION= 2.0.4
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
@ -70,6 +72,15 @@ pre-fetch:
|
|||||||
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
|
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITHOUT_PCRE)
|
||||||
|
POSTFIX_CCARGS+= -DNO_PCRE
|
||||||
|
.else
|
||||||
|
LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre
|
||||||
|
POSTFIX_CCARGS+= -DHAS_PCRE -I${LOCALBASE}/include
|
||||||
|
POSTFIX_AUXLIBS+= -L${LOCALBASE}/lib -lpcre
|
||||||
|
.endif
|
||||||
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
(cd ${WRKSRC} && ${MAKE} -f Makefile.init makefiles ${MAKEFILEFLAGS} \
|
(cd ${WRKSRC} && ${MAKE} -f Makefile.init makefiles ${MAKEFILEFLAGS} \
|
||||||
CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}" && \
|
CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}" && \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $FreeBSD: /tmp/pcvs/ports/mail/postfix21/scripts/Attic/configure.postfix,v 1.30 2003-03-03 12:56:05 nectar Exp $
|
# $FreeBSD: /tmp/pcvs/ports/mail/postfix21/scripts/Attic/configure.postfix,v 1.31 2003-03-04 07:31:25 leeym Exp $
|
||||||
|
|
||||||
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
|
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
|
||||||
exit
|
exit
|
||||||
@ -9,8 +9,6 @@ tempfile=`mktemp -t checklist`
|
|||||||
|
|
||||||
if [ "${POSTFIX_OPTIONS}" ]; then
|
if [ "${POSTFIX_OPTIONS}" ]; then
|
||||||
set ${POSTFIX_OPTIONS}
|
set ${POSTFIX_OPTIONS}
|
||||||
else
|
|
||||||
set PCRE
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for i; do
|
for i; do
|
||||||
@ -21,7 +19,7 @@ if [ -z "${BATCH}" ]; then
|
|||||||
/usr/bin/dialog --title "Postfix configuration options" --clear \
|
/usr/bin/dialog --title "Postfix configuration options" --clear \
|
||||||
--checklist "\n\
|
--checklist "\n\
|
||||||
Please select desired options:" -1 -1 16 \
|
Please select desired options:" -1 -1 16 \
|
||||||
PCRE "Perl Compatible Regular Expressions" "$status_PCRE" \
|
NOPCRE "DISABLE Perl Compatible Regular Expressions" "$status_NOPCRE" \
|
||||||
SASL "Cyrus SASLv1 (Simple Authentication and Security Layer)" "$status_SASL" \
|
SASL "Cyrus SASLv1 (Simple Authentication and Security Layer)" "$status_SASL" \
|
||||||
SASL2 "Cyrus SASLv2 (Simple Authentication and Security Layer)" "$status_SASL2" \
|
SASL2 "Cyrus SASLv2 (Simple Authentication and Security Layer)" "$status_SASL2" \
|
||||||
TLS "SSL and TLS" "$status_TLS" \
|
TLS "SSL and TLS" "$status_TLS" \
|
||||||
@ -64,12 +62,10 @@ SUB_TEST="@comment "
|
|||||||
|
|
||||||
while [ "$1" ]; do
|
while [ "$1" ]; do
|
||||||
case $1 in
|
case $1 in
|
||||||
PCRE)
|
NOPCRE)
|
||||||
echo "LIB_DEPENDS+= pcre.0:\${PORTSDIR}/devel/pcre"
|
echo "WITHOUT_PCRE= yes"
|
||||||
echo "POSTFIX_CCARGS+= -DHAS_PCRE -I\${LOCALBASE}/include"
|
echo "NOPCRE_SUFFIX= +nopcre"
|
||||||
echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -lpcre"
|
SUB_NOPCRE=""
|
||||||
echo "PCRE_SUFFIX= +pcre"
|
|
||||||
SUB_PCRE=""
|
|
||||||
;;
|
;;
|
||||||
SASL)
|
SASL)
|
||||||
echo "LIB_DEPENDS+= sasl.8:\${PORTSDIR}/security/cyrus-sasl"
|
echo "LIB_DEPENDS+= sasl.8:\${PORTSDIR}/security/cyrus-sasl"
|
||||||
@ -230,4 +226,4 @@ echo "PLIST_SUB+= SUB_TEST=\"${SUB_TEST}\""
|
|||||||
# we ask the configure questions) doesn't pick up the extensions, but
|
# we ask the configure questions) doesn't pick up the extensions, but
|
||||||
# any subsequent build will. so "make; make install" will build twice.
|
# any subsequent build will. so "make; make install" will build twice.
|
||||||
# don't do this for now.
|
# don't do this for now.
|
||||||
#echo "PKGNAMESUFFIX= \${PCRE_SUFFIX}\${SASL_SUFFIX}\${DB_SUFFIX}\${MYSQL_SUFFIX}\${PGSQL_SUFFIX}\${OPENLDAP_SUFFIX}\${TLS_SUFFIX}\${IPv6_SUFFIX}"
|
#echo "PKGNAMESUFFIX= \${NOPCRE_SUFFIX}\${SASL_SUFFIX}\${DB_SUFFIX}\${MYSQL_SUFFIX}\${PGSQL_SUFFIX}\${OPENLDAP_SUFFIX}\${TLS_SUFFIX}\${IPv6_SUFFIX}"
|
||||||
|
@ -7,11 +7,13 @@
|
|||||||
|
|
||||||
# To pre-select options in batch mode, run make like this:
|
# To pre-select options in batch mode, run make like this:
|
||||||
#
|
#
|
||||||
# make -DBATCH POSTFIX_OPTIONS="DB3 PCRE"
|
# make -DBATCH POSTFIX_OPTIONS="DB3 IPv6TLS"
|
||||||
#
|
#
|
||||||
# the options are the same names as in the scripts/configure.postfix file.
|
# the options are the same names as in the scripts/configure.postfix file.
|
||||||
# POSTFIX_OPTIONS can be set in /etc/make.conf also.
|
# POSTFIX_OPTIONS can be set in /etc/make.conf also.
|
||||||
|
|
||||||
|
# NOTE: PCRE is enabled by default unless you specifically disable it.
|
||||||
|
|
||||||
PORTNAME= postfix
|
PORTNAME= postfix
|
||||||
PORTVERSION= 2.0.4
|
PORTVERSION= 2.0.4
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
@ -70,6 +72,15 @@ pre-fetch:
|
|||||||
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
|
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITHOUT_PCRE)
|
||||||
|
POSTFIX_CCARGS+= -DNO_PCRE
|
||||||
|
.else
|
||||||
|
LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre
|
||||||
|
POSTFIX_CCARGS+= -DHAS_PCRE -I${LOCALBASE}/include
|
||||||
|
POSTFIX_AUXLIBS+= -L${LOCALBASE}/lib -lpcre
|
||||||
|
.endif
|
||||||
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
(cd ${WRKSRC} && ${MAKE} -f Makefile.init makefiles ${MAKEFILEFLAGS} \
|
(cd ${WRKSRC} && ${MAKE} -f Makefile.init makefiles ${MAKEFILEFLAGS} \
|
||||||
CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}" && \
|
CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}" && \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $FreeBSD: /tmp/pcvs/ports/mail/postfix22/scripts/Attic/configure.postfix,v 1.30 2003-03-03 12:56:05 nectar Exp $
|
# $FreeBSD: /tmp/pcvs/ports/mail/postfix22/scripts/Attic/configure.postfix,v 1.31 2003-03-04 07:31:25 leeym Exp $
|
||||||
|
|
||||||
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
|
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
|
||||||
exit
|
exit
|
||||||
@ -9,8 +9,6 @@ tempfile=`mktemp -t checklist`
|
|||||||
|
|
||||||
if [ "${POSTFIX_OPTIONS}" ]; then
|
if [ "${POSTFIX_OPTIONS}" ]; then
|
||||||
set ${POSTFIX_OPTIONS}
|
set ${POSTFIX_OPTIONS}
|
||||||
else
|
|
||||||
set PCRE
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for i; do
|
for i; do
|
||||||
@ -21,7 +19,7 @@ if [ -z "${BATCH}" ]; then
|
|||||||
/usr/bin/dialog --title "Postfix configuration options" --clear \
|
/usr/bin/dialog --title "Postfix configuration options" --clear \
|
||||||
--checklist "\n\
|
--checklist "\n\
|
||||||
Please select desired options:" -1 -1 16 \
|
Please select desired options:" -1 -1 16 \
|
||||||
PCRE "Perl Compatible Regular Expressions" "$status_PCRE" \
|
NOPCRE "DISABLE Perl Compatible Regular Expressions" "$status_NOPCRE" \
|
||||||
SASL "Cyrus SASLv1 (Simple Authentication and Security Layer)" "$status_SASL" \
|
SASL "Cyrus SASLv1 (Simple Authentication and Security Layer)" "$status_SASL" \
|
||||||
SASL2 "Cyrus SASLv2 (Simple Authentication and Security Layer)" "$status_SASL2" \
|
SASL2 "Cyrus SASLv2 (Simple Authentication and Security Layer)" "$status_SASL2" \
|
||||||
TLS "SSL and TLS" "$status_TLS" \
|
TLS "SSL and TLS" "$status_TLS" \
|
||||||
@ -64,12 +62,10 @@ SUB_TEST="@comment "
|
|||||||
|
|
||||||
while [ "$1" ]; do
|
while [ "$1" ]; do
|
||||||
case $1 in
|
case $1 in
|
||||||
PCRE)
|
NOPCRE)
|
||||||
echo "LIB_DEPENDS+= pcre.0:\${PORTSDIR}/devel/pcre"
|
echo "WITHOUT_PCRE= yes"
|
||||||
echo "POSTFIX_CCARGS+= -DHAS_PCRE -I\${LOCALBASE}/include"
|
echo "NOPCRE_SUFFIX= +nopcre"
|
||||||
echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -lpcre"
|
SUB_NOPCRE=""
|
||||||
echo "PCRE_SUFFIX= +pcre"
|
|
||||||
SUB_PCRE=""
|
|
||||||
;;
|
;;
|
||||||
SASL)
|
SASL)
|
||||||
echo "LIB_DEPENDS+= sasl.8:\${PORTSDIR}/security/cyrus-sasl"
|
echo "LIB_DEPENDS+= sasl.8:\${PORTSDIR}/security/cyrus-sasl"
|
||||||
@ -230,4 +226,4 @@ echo "PLIST_SUB+= SUB_TEST=\"${SUB_TEST}\""
|
|||||||
# we ask the configure questions) doesn't pick up the extensions, but
|
# we ask the configure questions) doesn't pick up the extensions, but
|
||||||
# any subsequent build will. so "make; make install" will build twice.
|
# any subsequent build will. so "make; make install" will build twice.
|
||||||
# don't do this for now.
|
# don't do this for now.
|
||||||
#echo "PKGNAMESUFFIX= \${PCRE_SUFFIX}\${SASL_SUFFIX}\${DB_SUFFIX}\${MYSQL_SUFFIX}\${PGSQL_SUFFIX}\${OPENLDAP_SUFFIX}\${TLS_SUFFIX}\${IPv6_SUFFIX}"
|
#echo "PKGNAMESUFFIX= \${NOPCRE_SUFFIX}\${SASL_SUFFIX}\${DB_SUFFIX}\${MYSQL_SUFFIX}\${PGSQL_SUFFIX}\${OPENLDAP_SUFFIX}\${TLS_SUFFIX}\${IPv6_SUFFIX}"
|
||||||
|
@ -7,11 +7,13 @@
|
|||||||
|
|
||||||
# To pre-select options in batch mode, run make like this:
|
# To pre-select options in batch mode, run make like this:
|
||||||
#
|
#
|
||||||
# make -DBATCH POSTFIX_OPTIONS="DB3 PCRE"
|
# make -DBATCH POSTFIX_OPTIONS="DB3 IPv6TLS"
|
||||||
#
|
#
|
||||||
# the options are the same names as in the scripts/configure.postfix file.
|
# the options are the same names as in the scripts/configure.postfix file.
|
||||||
# POSTFIX_OPTIONS can be set in /etc/make.conf also.
|
# POSTFIX_OPTIONS can be set in /etc/make.conf also.
|
||||||
|
|
||||||
|
# NOTE: PCRE is enabled by default unless you specifically disable it.
|
||||||
|
|
||||||
PORTNAME= postfix
|
PORTNAME= postfix
|
||||||
PORTVERSION= 2.0.4
|
PORTVERSION= 2.0.4
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
@ -70,6 +72,15 @@ pre-fetch:
|
|||||||
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
|
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITHOUT_PCRE)
|
||||||
|
POSTFIX_CCARGS+= -DNO_PCRE
|
||||||
|
.else
|
||||||
|
LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre
|
||||||
|
POSTFIX_CCARGS+= -DHAS_PCRE -I${LOCALBASE}/include
|
||||||
|
POSTFIX_AUXLIBS+= -L${LOCALBASE}/lib -lpcre
|
||||||
|
.endif
|
||||||
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
(cd ${WRKSRC} && ${MAKE} -f Makefile.init makefiles ${MAKEFILEFLAGS} \
|
(cd ${WRKSRC} && ${MAKE} -f Makefile.init makefiles ${MAKEFILEFLAGS} \
|
||||||
CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}" && \
|
CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}" && \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $FreeBSD: /tmp/pcvs/ports/mail/postfix23/scripts/Attic/configure.postfix,v 1.30 2003-03-03 12:56:05 nectar Exp $
|
# $FreeBSD: /tmp/pcvs/ports/mail/postfix23/scripts/Attic/configure.postfix,v 1.31 2003-03-04 07:31:25 leeym Exp $
|
||||||
|
|
||||||
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
|
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
|
||||||
exit
|
exit
|
||||||
@ -9,8 +9,6 @@ tempfile=`mktemp -t checklist`
|
|||||||
|
|
||||||
if [ "${POSTFIX_OPTIONS}" ]; then
|
if [ "${POSTFIX_OPTIONS}" ]; then
|
||||||
set ${POSTFIX_OPTIONS}
|
set ${POSTFIX_OPTIONS}
|
||||||
else
|
|
||||||
set PCRE
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for i; do
|
for i; do
|
||||||
@ -21,7 +19,7 @@ if [ -z "${BATCH}" ]; then
|
|||||||
/usr/bin/dialog --title "Postfix configuration options" --clear \
|
/usr/bin/dialog --title "Postfix configuration options" --clear \
|
||||||
--checklist "\n\
|
--checklist "\n\
|
||||||
Please select desired options:" -1 -1 16 \
|
Please select desired options:" -1 -1 16 \
|
||||||
PCRE "Perl Compatible Regular Expressions" "$status_PCRE" \
|
NOPCRE "DISABLE Perl Compatible Regular Expressions" "$status_NOPCRE" \
|
||||||
SASL "Cyrus SASLv1 (Simple Authentication and Security Layer)" "$status_SASL" \
|
SASL "Cyrus SASLv1 (Simple Authentication and Security Layer)" "$status_SASL" \
|
||||||
SASL2 "Cyrus SASLv2 (Simple Authentication and Security Layer)" "$status_SASL2" \
|
SASL2 "Cyrus SASLv2 (Simple Authentication and Security Layer)" "$status_SASL2" \
|
||||||
TLS "SSL and TLS" "$status_TLS" \
|
TLS "SSL and TLS" "$status_TLS" \
|
||||||
@ -64,12 +62,10 @@ SUB_TEST="@comment "
|
|||||||
|
|
||||||
while [ "$1" ]; do
|
while [ "$1" ]; do
|
||||||
case $1 in
|
case $1 in
|
||||||
PCRE)
|
NOPCRE)
|
||||||
echo "LIB_DEPENDS+= pcre.0:\${PORTSDIR}/devel/pcre"
|
echo "WITHOUT_PCRE= yes"
|
||||||
echo "POSTFIX_CCARGS+= -DHAS_PCRE -I\${LOCALBASE}/include"
|
echo "NOPCRE_SUFFIX= +nopcre"
|
||||||
echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -lpcre"
|
SUB_NOPCRE=""
|
||||||
echo "PCRE_SUFFIX= +pcre"
|
|
||||||
SUB_PCRE=""
|
|
||||||
;;
|
;;
|
||||||
SASL)
|
SASL)
|
||||||
echo "LIB_DEPENDS+= sasl.8:\${PORTSDIR}/security/cyrus-sasl"
|
echo "LIB_DEPENDS+= sasl.8:\${PORTSDIR}/security/cyrus-sasl"
|
||||||
@ -230,4 +226,4 @@ echo "PLIST_SUB+= SUB_TEST=\"${SUB_TEST}\""
|
|||||||
# we ask the configure questions) doesn't pick up the extensions, but
|
# we ask the configure questions) doesn't pick up the extensions, but
|
||||||
# any subsequent build will. so "make; make install" will build twice.
|
# any subsequent build will. so "make; make install" will build twice.
|
||||||
# don't do this for now.
|
# don't do this for now.
|
||||||
#echo "PKGNAMESUFFIX= \${PCRE_SUFFIX}\${SASL_SUFFIX}\${DB_SUFFIX}\${MYSQL_SUFFIX}\${PGSQL_SUFFIX}\${OPENLDAP_SUFFIX}\${TLS_SUFFIX}\${IPv6_SUFFIX}"
|
#echo "PKGNAMESUFFIX= \${NOPCRE_SUFFIX}\${SASL_SUFFIX}\${DB_SUFFIX}\${MYSQL_SUFFIX}\${PGSQL_SUFFIX}\${OPENLDAP_SUFFIX}\${TLS_SUFFIX}\${IPv6_SUFFIX}"
|
||||||
|
@ -7,11 +7,13 @@
|
|||||||
|
|
||||||
# To pre-select options in batch mode, run make like this:
|
# To pre-select options in batch mode, run make like this:
|
||||||
#
|
#
|
||||||
# make -DBATCH POSTFIX_OPTIONS="DB3 PCRE"
|
# make -DBATCH POSTFIX_OPTIONS="DB3 IPv6TLS"
|
||||||
#
|
#
|
||||||
# the options are the same names as in the scripts/configure.postfix file.
|
# the options are the same names as in the scripts/configure.postfix file.
|
||||||
# POSTFIX_OPTIONS can be set in /etc/make.conf also.
|
# POSTFIX_OPTIONS can be set in /etc/make.conf also.
|
||||||
|
|
||||||
|
# NOTE: PCRE is enabled by default unless you specifically disable it.
|
||||||
|
|
||||||
PORTNAME= postfix
|
PORTNAME= postfix
|
||||||
PORTVERSION= 2.0.4
|
PORTVERSION= 2.0.4
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
@ -70,6 +72,15 @@ pre-fetch:
|
|||||||
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
|
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITHOUT_PCRE)
|
||||||
|
POSTFIX_CCARGS+= -DNO_PCRE
|
||||||
|
.else
|
||||||
|
LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre
|
||||||
|
POSTFIX_CCARGS+= -DHAS_PCRE -I${LOCALBASE}/include
|
||||||
|
POSTFIX_AUXLIBS+= -L${LOCALBASE}/lib -lpcre
|
||||||
|
.endif
|
||||||
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
(cd ${WRKSRC} && ${MAKE} -f Makefile.init makefiles ${MAKEFILEFLAGS} \
|
(cd ${WRKSRC} && ${MAKE} -f Makefile.init makefiles ${MAKEFILEFLAGS} \
|
||||||
CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}" && \
|
CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}" && \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $FreeBSD: /tmp/pcvs/ports/mail/postfix24/scripts/Attic/configure.postfix,v 1.30 2003-03-03 12:56:05 nectar Exp $
|
# $FreeBSD: /tmp/pcvs/ports/mail/postfix24/scripts/Attic/configure.postfix,v 1.31 2003-03-04 07:31:25 leeym Exp $
|
||||||
|
|
||||||
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
|
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
|
||||||
exit
|
exit
|
||||||
@ -9,8 +9,6 @@ tempfile=`mktemp -t checklist`
|
|||||||
|
|
||||||
if [ "${POSTFIX_OPTIONS}" ]; then
|
if [ "${POSTFIX_OPTIONS}" ]; then
|
||||||
set ${POSTFIX_OPTIONS}
|
set ${POSTFIX_OPTIONS}
|
||||||
else
|
|
||||||
set PCRE
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for i; do
|
for i; do
|
||||||
@ -21,7 +19,7 @@ if [ -z "${BATCH}" ]; then
|
|||||||
/usr/bin/dialog --title "Postfix configuration options" --clear \
|
/usr/bin/dialog --title "Postfix configuration options" --clear \
|
||||||
--checklist "\n\
|
--checklist "\n\
|
||||||
Please select desired options:" -1 -1 16 \
|
Please select desired options:" -1 -1 16 \
|
||||||
PCRE "Perl Compatible Regular Expressions" "$status_PCRE" \
|
NOPCRE "DISABLE Perl Compatible Regular Expressions" "$status_NOPCRE" \
|
||||||
SASL "Cyrus SASLv1 (Simple Authentication and Security Layer)" "$status_SASL" \
|
SASL "Cyrus SASLv1 (Simple Authentication and Security Layer)" "$status_SASL" \
|
||||||
SASL2 "Cyrus SASLv2 (Simple Authentication and Security Layer)" "$status_SASL2" \
|
SASL2 "Cyrus SASLv2 (Simple Authentication and Security Layer)" "$status_SASL2" \
|
||||||
TLS "SSL and TLS" "$status_TLS" \
|
TLS "SSL and TLS" "$status_TLS" \
|
||||||
@ -64,12 +62,10 @@ SUB_TEST="@comment "
|
|||||||
|
|
||||||
while [ "$1" ]; do
|
while [ "$1" ]; do
|
||||||
case $1 in
|
case $1 in
|
||||||
PCRE)
|
NOPCRE)
|
||||||
echo "LIB_DEPENDS+= pcre.0:\${PORTSDIR}/devel/pcre"
|
echo "WITHOUT_PCRE= yes"
|
||||||
echo "POSTFIX_CCARGS+= -DHAS_PCRE -I\${LOCALBASE}/include"
|
echo "NOPCRE_SUFFIX= +nopcre"
|
||||||
echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -lpcre"
|
SUB_NOPCRE=""
|
||||||
echo "PCRE_SUFFIX= +pcre"
|
|
||||||
SUB_PCRE=""
|
|
||||||
;;
|
;;
|
||||||
SASL)
|
SASL)
|
||||||
echo "LIB_DEPENDS+= sasl.8:\${PORTSDIR}/security/cyrus-sasl"
|
echo "LIB_DEPENDS+= sasl.8:\${PORTSDIR}/security/cyrus-sasl"
|
||||||
@ -230,4 +226,4 @@ echo "PLIST_SUB+= SUB_TEST=\"${SUB_TEST}\""
|
|||||||
# we ask the configure questions) doesn't pick up the extensions, but
|
# we ask the configure questions) doesn't pick up the extensions, but
|
||||||
# any subsequent build will. so "make; make install" will build twice.
|
# any subsequent build will. so "make; make install" will build twice.
|
||||||
# don't do this for now.
|
# don't do this for now.
|
||||||
#echo "PKGNAMESUFFIX= \${PCRE_SUFFIX}\${SASL_SUFFIX}\${DB_SUFFIX}\${MYSQL_SUFFIX}\${PGSQL_SUFFIX}\${OPENLDAP_SUFFIX}\${TLS_SUFFIX}\${IPv6_SUFFIX}"
|
#echo "PKGNAMESUFFIX= \${NOPCRE_SUFFIX}\${SASL_SUFFIX}\${DB_SUFFIX}\${MYSQL_SUFFIX}\${PGSQL_SUFFIX}\${OPENLDAP_SUFFIX}\${TLS_SUFFIX}\${IPv6_SUFFIX}"
|
||||||
|
@ -7,11 +7,13 @@
|
|||||||
|
|
||||||
# To pre-select options in batch mode, run make like this:
|
# To pre-select options in batch mode, run make like this:
|
||||||
#
|
#
|
||||||
# make -DBATCH POSTFIX_OPTIONS="DB3 PCRE"
|
# make -DBATCH POSTFIX_OPTIONS="DB3 IPv6TLS"
|
||||||
#
|
#
|
||||||
# the options are the same names as in the scripts/configure.postfix file.
|
# the options are the same names as in the scripts/configure.postfix file.
|
||||||
# POSTFIX_OPTIONS can be set in /etc/make.conf also.
|
# POSTFIX_OPTIONS can be set in /etc/make.conf also.
|
||||||
|
|
||||||
|
# NOTE: PCRE is enabled by default unless you specifically disable it.
|
||||||
|
|
||||||
PORTNAME= postfix
|
PORTNAME= postfix
|
||||||
PORTVERSION= 2.0.4
|
PORTVERSION= 2.0.4
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
@ -70,6 +72,15 @@ pre-fetch:
|
|||||||
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
|
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITHOUT_PCRE)
|
||||||
|
POSTFIX_CCARGS+= -DNO_PCRE
|
||||||
|
.else
|
||||||
|
LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre
|
||||||
|
POSTFIX_CCARGS+= -DHAS_PCRE -I${LOCALBASE}/include
|
||||||
|
POSTFIX_AUXLIBS+= -L${LOCALBASE}/lib -lpcre
|
||||||
|
.endif
|
||||||
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
(cd ${WRKSRC} && ${MAKE} -f Makefile.init makefiles ${MAKEFILEFLAGS} \
|
(cd ${WRKSRC} && ${MAKE} -f Makefile.init makefiles ${MAKEFILEFLAGS} \
|
||||||
CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}" && \
|
CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}" && \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $FreeBSD: /tmp/pcvs/ports/mail/postfix25/scripts/Attic/configure.postfix,v 1.30 2003-03-03 12:56:05 nectar Exp $
|
# $FreeBSD: /tmp/pcvs/ports/mail/postfix25/scripts/Attic/configure.postfix,v 1.31 2003-03-04 07:31:25 leeym Exp $
|
||||||
|
|
||||||
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
|
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
|
||||||
exit
|
exit
|
||||||
@ -9,8 +9,6 @@ tempfile=`mktemp -t checklist`
|
|||||||
|
|
||||||
if [ "${POSTFIX_OPTIONS}" ]; then
|
if [ "${POSTFIX_OPTIONS}" ]; then
|
||||||
set ${POSTFIX_OPTIONS}
|
set ${POSTFIX_OPTIONS}
|
||||||
else
|
|
||||||
set PCRE
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for i; do
|
for i; do
|
||||||
@ -21,7 +19,7 @@ if [ -z "${BATCH}" ]; then
|
|||||||
/usr/bin/dialog --title "Postfix configuration options" --clear \
|
/usr/bin/dialog --title "Postfix configuration options" --clear \
|
||||||
--checklist "\n\
|
--checklist "\n\
|
||||||
Please select desired options:" -1 -1 16 \
|
Please select desired options:" -1 -1 16 \
|
||||||
PCRE "Perl Compatible Regular Expressions" "$status_PCRE" \
|
NOPCRE "DISABLE Perl Compatible Regular Expressions" "$status_NOPCRE" \
|
||||||
SASL "Cyrus SASLv1 (Simple Authentication and Security Layer)" "$status_SASL" \
|
SASL "Cyrus SASLv1 (Simple Authentication and Security Layer)" "$status_SASL" \
|
||||||
SASL2 "Cyrus SASLv2 (Simple Authentication and Security Layer)" "$status_SASL2" \
|
SASL2 "Cyrus SASLv2 (Simple Authentication and Security Layer)" "$status_SASL2" \
|
||||||
TLS "SSL and TLS" "$status_TLS" \
|
TLS "SSL and TLS" "$status_TLS" \
|
||||||
@ -64,12 +62,10 @@ SUB_TEST="@comment "
|
|||||||
|
|
||||||
while [ "$1" ]; do
|
while [ "$1" ]; do
|
||||||
case $1 in
|
case $1 in
|
||||||
PCRE)
|
NOPCRE)
|
||||||
echo "LIB_DEPENDS+= pcre.0:\${PORTSDIR}/devel/pcre"
|
echo "WITHOUT_PCRE= yes"
|
||||||
echo "POSTFIX_CCARGS+= -DHAS_PCRE -I\${LOCALBASE}/include"
|
echo "NOPCRE_SUFFIX= +nopcre"
|
||||||
echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -lpcre"
|
SUB_NOPCRE=""
|
||||||
echo "PCRE_SUFFIX= +pcre"
|
|
||||||
SUB_PCRE=""
|
|
||||||
;;
|
;;
|
||||||
SASL)
|
SASL)
|
||||||
echo "LIB_DEPENDS+= sasl.8:\${PORTSDIR}/security/cyrus-sasl"
|
echo "LIB_DEPENDS+= sasl.8:\${PORTSDIR}/security/cyrus-sasl"
|
||||||
@ -230,4 +226,4 @@ echo "PLIST_SUB+= SUB_TEST=\"${SUB_TEST}\""
|
|||||||
# we ask the configure questions) doesn't pick up the extensions, but
|
# we ask the configure questions) doesn't pick up the extensions, but
|
||||||
# any subsequent build will. so "make; make install" will build twice.
|
# any subsequent build will. so "make; make install" will build twice.
|
||||||
# don't do this for now.
|
# don't do this for now.
|
||||||
#echo "PKGNAMESUFFIX= \${PCRE_SUFFIX}\${SASL_SUFFIX}\${DB_SUFFIX}\${MYSQL_SUFFIX}\${PGSQL_SUFFIX}\${OPENLDAP_SUFFIX}\${TLS_SUFFIX}\${IPv6_SUFFIX}"
|
#echo "PKGNAMESUFFIX= \${NOPCRE_SUFFIX}\${SASL_SUFFIX}\${DB_SUFFIX}\${MYSQL_SUFFIX}\${PGSQL_SUFFIX}\${OPENLDAP_SUFFIX}\${TLS_SUFFIX}\${IPv6_SUFFIX}"
|
||||||
|
@ -7,11 +7,13 @@
|
|||||||
|
|
||||||
# To pre-select options in batch mode, run make like this:
|
# To pre-select options in batch mode, run make like this:
|
||||||
#
|
#
|
||||||
# make -DBATCH POSTFIX_OPTIONS="DB3 PCRE"
|
# make -DBATCH POSTFIX_OPTIONS="DB3 IPv6TLS"
|
||||||
#
|
#
|
||||||
# the options are the same names as in the scripts/configure.postfix file.
|
# the options are the same names as in the scripts/configure.postfix file.
|
||||||
# POSTFIX_OPTIONS can be set in /etc/make.conf also.
|
# POSTFIX_OPTIONS can be set in /etc/make.conf also.
|
||||||
|
|
||||||
|
# NOTE: PCRE is enabled by default unless you specifically disable it.
|
||||||
|
|
||||||
PORTNAME= postfix
|
PORTNAME= postfix
|
||||||
PORTVERSION= 2.0.4
|
PORTVERSION= 2.0.4
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
@ -70,6 +72,15 @@ pre-fetch:
|
|||||||
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
|
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITHOUT_PCRE)
|
||||||
|
POSTFIX_CCARGS+= -DNO_PCRE
|
||||||
|
.else
|
||||||
|
LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre
|
||||||
|
POSTFIX_CCARGS+= -DHAS_PCRE -I${LOCALBASE}/include
|
||||||
|
POSTFIX_AUXLIBS+= -L${LOCALBASE}/lib -lpcre
|
||||||
|
.endif
|
||||||
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
(cd ${WRKSRC} && ${MAKE} -f Makefile.init makefiles ${MAKEFILEFLAGS} \
|
(cd ${WRKSRC} && ${MAKE} -f Makefile.init makefiles ${MAKEFILEFLAGS} \
|
||||||
CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}" && \
|
CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}" && \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $FreeBSD: /tmp/pcvs/ports/mail/postfix26/scripts/Attic/configure.postfix,v 1.30 2003-03-03 12:56:05 nectar Exp $
|
# $FreeBSD: /tmp/pcvs/ports/mail/postfix26/scripts/Attic/configure.postfix,v 1.31 2003-03-04 07:31:25 leeym Exp $
|
||||||
|
|
||||||
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
|
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
|
||||||
exit
|
exit
|
||||||
@ -9,8 +9,6 @@ tempfile=`mktemp -t checklist`
|
|||||||
|
|
||||||
if [ "${POSTFIX_OPTIONS}" ]; then
|
if [ "${POSTFIX_OPTIONS}" ]; then
|
||||||
set ${POSTFIX_OPTIONS}
|
set ${POSTFIX_OPTIONS}
|
||||||
else
|
|
||||||
set PCRE
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for i; do
|
for i; do
|
||||||
@ -21,7 +19,7 @@ if [ -z "${BATCH}" ]; then
|
|||||||
/usr/bin/dialog --title "Postfix configuration options" --clear \
|
/usr/bin/dialog --title "Postfix configuration options" --clear \
|
||||||
--checklist "\n\
|
--checklist "\n\
|
||||||
Please select desired options:" -1 -1 16 \
|
Please select desired options:" -1 -1 16 \
|
||||||
PCRE "Perl Compatible Regular Expressions" "$status_PCRE" \
|
NOPCRE "DISABLE Perl Compatible Regular Expressions" "$status_NOPCRE" \
|
||||||
SASL "Cyrus SASLv1 (Simple Authentication and Security Layer)" "$status_SASL" \
|
SASL "Cyrus SASLv1 (Simple Authentication and Security Layer)" "$status_SASL" \
|
||||||
SASL2 "Cyrus SASLv2 (Simple Authentication and Security Layer)" "$status_SASL2" \
|
SASL2 "Cyrus SASLv2 (Simple Authentication and Security Layer)" "$status_SASL2" \
|
||||||
TLS "SSL and TLS" "$status_TLS" \
|
TLS "SSL and TLS" "$status_TLS" \
|
||||||
@ -64,12 +62,10 @@ SUB_TEST="@comment "
|
|||||||
|
|
||||||
while [ "$1" ]; do
|
while [ "$1" ]; do
|
||||||
case $1 in
|
case $1 in
|
||||||
PCRE)
|
NOPCRE)
|
||||||
echo "LIB_DEPENDS+= pcre.0:\${PORTSDIR}/devel/pcre"
|
echo "WITHOUT_PCRE= yes"
|
||||||
echo "POSTFIX_CCARGS+= -DHAS_PCRE -I\${LOCALBASE}/include"
|
echo "NOPCRE_SUFFIX= +nopcre"
|
||||||
echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -lpcre"
|
SUB_NOPCRE=""
|
||||||
echo "PCRE_SUFFIX= +pcre"
|
|
||||||
SUB_PCRE=""
|
|
||||||
;;
|
;;
|
||||||
SASL)
|
SASL)
|
||||||
echo "LIB_DEPENDS+= sasl.8:\${PORTSDIR}/security/cyrus-sasl"
|
echo "LIB_DEPENDS+= sasl.8:\${PORTSDIR}/security/cyrus-sasl"
|
||||||
@ -230,4 +226,4 @@ echo "PLIST_SUB+= SUB_TEST=\"${SUB_TEST}\""
|
|||||||
# we ask the configure questions) doesn't pick up the extensions, but
|
# we ask the configure questions) doesn't pick up the extensions, but
|
||||||
# any subsequent build will. so "make; make install" will build twice.
|
# any subsequent build will. so "make; make install" will build twice.
|
||||||
# don't do this for now.
|
# don't do this for now.
|
||||||
#echo "PKGNAMESUFFIX= \${PCRE_SUFFIX}\${SASL_SUFFIX}\${DB_SUFFIX}\${MYSQL_SUFFIX}\${PGSQL_SUFFIX}\${OPENLDAP_SUFFIX}\${TLS_SUFFIX}\${IPv6_SUFFIX}"
|
#echo "PKGNAMESUFFIX= \${NOPCRE_SUFFIX}\${SASL_SUFFIX}\${DB_SUFFIX}\${MYSQL_SUFFIX}\${PGSQL_SUFFIX}\${OPENLDAP_SUFFIX}\${TLS_SUFFIX}\${IPv6_SUFFIX}"
|
||||||
|
@ -7,11 +7,13 @@
|
|||||||
|
|
||||||
# To pre-select options in batch mode, run make like this:
|
# To pre-select options in batch mode, run make like this:
|
||||||
#
|
#
|
||||||
# make -DBATCH POSTFIX_OPTIONS="DB3 PCRE"
|
# make -DBATCH POSTFIX_OPTIONS="DB3 IPv6TLS"
|
||||||
#
|
#
|
||||||
# the options are the same names as in the scripts/configure.postfix file.
|
# the options are the same names as in the scripts/configure.postfix file.
|
||||||
# POSTFIX_OPTIONS can be set in /etc/make.conf also.
|
# POSTFIX_OPTIONS can be set in /etc/make.conf also.
|
||||||
|
|
||||||
|
# NOTE: PCRE is enabled by default unless you specifically disable it.
|
||||||
|
|
||||||
PORTNAME= postfix
|
PORTNAME= postfix
|
||||||
PORTVERSION= 2.0.4
|
PORTVERSION= 2.0.4
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
@ -70,6 +72,15 @@ pre-fetch:
|
|||||||
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
|
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITHOUT_PCRE)
|
||||||
|
POSTFIX_CCARGS+= -DNO_PCRE
|
||||||
|
.else
|
||||||
|
LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre
|
||||||
|
POSTFIX_CCARGS+= -DHAS_PCRE -I${LOCALBASE}/include
|
||||||
|
POSTFIX_AUXLIBS+= -L${LOCALBASE}/lib -lpcre
|
||||||
|
.endif
|
||||||
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
(cd ${WRKSRC} && ${MAKE} -f Makefile.init makefiles ${MAKEFILEFLAGS} \
|
(cd ${WRKSRC} && ${MAKE} -f Makefile.init makefiles ${MAKEFILEFLAGS} \
|
||||||
CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}" && \
|
CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}" && \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $FreeBSD: /tmp/pcvs/ports/mail/postfix27/scripts/Attic/configure.postfix,v 1.30 2003-03-03 12:56:05 nectar Exp $
|
# $FreeBSD: /tmp/pcvs/ports/mail/postfix27/scripts/Attic/configure.postfix,v 1.31 2003-03-04 07:31:25 leeym Exp $
|
||||||
|
|
||||||
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
|
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
|
||||||
exit
|
exit
|
||||||
@ -9,8 +9,6 @@ tempfile=`mktemp -t checklist`
|
|||||||
|
|
||||||
if [ "${POSTFIX_OPTIONS}" ]; then
|
if [ "${POSTFIX_OPTIONS}" ]; then
|
||||||
set ${POSTFIX_OPTIONS}
|
set ${POSTFIX_OPTIONS}
|
||||||
else
|
|
||||||
set PCRE
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for i; do
|
for i; do
|
||||||
@ -21,7 +19,7 @@ if [ -z "${BATCH}" ]; then
|
|||||||
/usr/bin/dialog --title "Postfix configuration options" --clear \
|
/usr/bin/dialog --title "Postfix configuration options" --clear \
|
||||||
--checklist "\n\
|
--checklist "\n\
|
||||||
Please select desired options:" -1 -1 16 \
|
Please select desired options:" -1 -1 16 \
|
||||||
PCRE "Perl Compatible Regular Expressions" "$status_PCRE" \
|
NOPCRE "DISABLE Perl Compatible Regular Expressions" "$status_NOPCRE" \
|
||||||
SASL "Cyrus SASLv1 (Simple Authentication and Security Layer)" "$status_SASL" \
|
SASL "Cyrus SASLv1 (Simple Authentication and Security Layer)" "$status_SASL" \
|
||||||
SASL2 "Cyrus SASLv2 (Simple Authentication and Security Layer)" "$status_SASL2" \
|
SASL2 "Cyrus SASLv2 (Simple Authentication and Security Layer)" "$status_SASL2" \
|
||||||
TLS "SSL and TLS" "$status_TLS" \
|
TLS "SSL and TLS" "$status_TLS" \
|
||||||
@ -64,12 +62,10 @@ SUB_TEST="@comment "
|
|||||||
|
|
||||||
while [ "$1" ]; do
|
while [ "$1" ]; do
|
||||||
case $1 in
|
case $1 in
|
||||||
PCRE)
|
NOPCRE)
|
||||||
echo "LIB_DEPENDS+= pcre.0:\${PORTSDIR}/devel/pcre"
|
echo "WITHOUT_PCRE= yes"
|
||||||
echo "POSTFIX_CCARGS+= -DHAS_PCRE -I\${LOCALBASE}/include"
|
echo "NOPCRE_SUFFIX= +nopcre"
|
||||||
echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -lpcre"
|
SUB_NOPCRE=""
|
||||||
echo "PCRE_SUFFIX= +pcre"
|
|
||||||
SUB_PCRE=""
|
|
||||||
;;
|
;;
|
||||||
SASL)
|
SASL)
|
||||||
echo "LIB_DEPENDS+= sasl.8:\${PORTSDIR}/security/cyrus-sasl"
|
echo "LIB_DEPENDS+= sasl.8:\${PORTSDIR}/security/cyrus-sasl"
|
||||||
@ -230,4 +226,4 @@ echo "PLIST_SUB+= SUB_TEST=\"${SUB_TEST}\""
|
|||||||
# we ask the configure questions) doesn't pick up the extensions, but
|
# we ask the configure questions) doesn't pick up the extensions, but
|
||||||
# any subsequent build will. so "make; make install" will build twice.
|
# any subsequent build will. so "make; make install" will build twice.
|
||||||
# don't do this for now.
|
# don't do this for now.
|
||||||
#echo "PKGNAMESUFFIX= \${PCRE_SUFFIX}\${SASL_SUFFIX}\${DB_SUFFIX}\${MYSQL_SUFFIX}\${PGSQL_SUFFIX}\${OPENLDAP_SUFFIX}\${TLS_SUFFIX}\${IPv6_SUFFIX}"
|
#echo "PKGNAMESUFFIX= \${NOPCRE_SUFFIX}\${SASL_SUFFIX}\${DB_SUFFIX}\${MYSQL_SUFFIX}\${PGSQL_SUFFIX}\${OPENLDAP_SUFFIX}\${TLS_SUFFIX}\${IPv6_SUFFIX}"
|
||||||
|
@ -7,11 +7,13 @@
|
|||||||
|
|
||||||
# To pre-select options in batch mode, run make like this:
|
# To pre-select options in batch mode, run make like this:
|
||||||
#
|
#
|
||||||
# make -DBATCH POSTFIX_OPTIONS="DB3 PCRE"
|
# make -DBATCH POSTFIX_OPTIONS="DB3 IPv6TLS"
|
||||||
#
|
#
|
||||||
# the options are the same names as in the scripts/configure.postfix file.
|
# the options are the same names as in the scripts/configure.postfix file.
|
||||||
# POSTFIX_OPTIONS can be set in /etc/make.conf also.
|
# POSTFIX_OPTIONS can be set in /etc/make.conf also.
|
||||||
|
|
||||||
|
# NOTE: PCRE is enabled by default unless you specifically disable it.
|
||||||
|
|
||||||
PORTNAME= postfix
|
PORTNAME= postfix
|
||||||
PORTVERSION= 2.0.4
|
PORTVERSION= 2.0.4
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
@ -70,6 +72,15 @@ pre-fetch:
|
|||||||
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
|
.include "${WRKDIRPREFIX}${.CURDIR}/Makefile.inc"
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
.if defined(WITHOUT_PCRE)
|
||||||
|
POSTFIX_CCARGS+= -DNO_PCRE
|
||||||
|
.else
|
||||||
|
LIB_DEPENDS+= pcre.0:${PORTSDIR}/devel/pcre
|
||||||
|
POSTFIX_CCARGS+= -DHAS_PCRE -I${LOCALBASE}/include
|
||||||
|
POSTFIX_AUXLIBS+= -L${LOCALBASE}/lib -lpcre
|
||||||
|
.endif
|
||||||
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
(cd ${WRKSRC} && ${MAKE} -f Makefile.init makefiles ${MAKEFILEFLAGS} \
|
(cd ${WRKSRC} && ${MAKE} -f Makefile.init makefiles ${MAKEFILEFLAGS} \
|
||||||
CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}" && \
|
CCARGS="${POSTFIX_CCARGS}" AUXLIBS="${POSTFIX_AUXLIBS}" && \
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
# $FreeBSD: /tmp/pcvs/ports/mail/postfix28/scripts/Attic/configure.postfix,v 1.30 2003-03-03 12:56:05 nectar Exp $
|
# $FreeBSD: /tmp/pcvs/ports/mail/postfix28/scripts/Attic/configure.postfix,v 1.31 2003-03-04 07:31:25 leeym Exp $
|
||||||
|
|
||||||
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
|
if [ -f ${WRKDIRPREFIX}${CURDIR}/Makefile.inc ]; then
|
||||||
exit
|
exit
|
||||||
@ -9,8 +9,6 @@ tempfile=`mktemp -t checklist`
|
|||||||
|
|
||||||
if [ "${POSTFIX_OPTIONS}" ]; then
|
if [ "${POSTFIX_OPTIONS}" ]; then
|
||||||
set ${POSTFIX_OPTIONS}
|
set ${POSTFIX_OPTIONS}
|
||||||
else
|
|
||||||
set PCRE
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for i; do
|
for i; do
|
||||||
@ -21,7 +19,7 @@ if [ -z "${BATCH}" ]; then
|
|||||||
/usr/bin/dialog --title "Postfix configuration options" --clear \
|
/usr/bin/dialog --title "Postfix configuration options" --clear \
|
||||||
--checklist "\n\
|
--checklist "\n\
|
||||||
Please select desired options:" -1 -1 16 \
|
Please select desired options:" -1 -1 16 \
|
||||||
PCRE "Perl Compatible Regular Expressions" "$status_PCRE" \
|
NOPCRE "DISABLE Perl Compatible Regular Expressions" "$status_NOPCRE" \
|
||||||
SASL "Cyrus SASLv1 (Simple Authentication and Security Layer)" "$status_SASL" \
|
SASL "Cyrus SASLv1 (Simple Authentication and Security Layer)" "$status_SASL" \
|
||||||
SASL2 "Cyrus SASLv2 (Simple Authentication and Security Layer)" "$status_SASL2" \
|
SASL2 "Cyrus SASLv2 (Simple Authentication and Security Layer)" "$status_SASL2" \
|
||||||
TLS "SSL and TLS" "$status_TLS" \
|
TLS "SSL and TLS" "$status_TLS" \
|
||||||
@ -64,12 +62,10 @@ SUB_TEST="@comment "
|
|||||||
|
|
||||||
while [ "$1" ]; do
|
while [ "$1" ]; do
|
||||||
case $1 in
|
case $1 in
|
||||||
PCRE)
|
NOPCRE)
|
||||||
echo "LIB_DEPENDS+= pcre.0:\${PORTSDIR}/devel/pcre"
|
echo "WITHOUT_PCRE= yes"
|
||||||
echo "POSTFIX_CCARGS+= -DHAS_PCRE -I\${LOCALBASE}/include"
|
echo "NOPCRE_SUFFIX= +nopcre"
|
||||||
echo "POSTFIX_AUXLIBS+= -L\${LOCALBASE}/lib -lpcre"
|
SUB_NOPCRE=""
|
||||||
echo "PCRE_SUFFIX= +pcre"
|
|
||||||
SUB_PCRE=""
|
|
||||||
;;
|
;;
|
||||||
SASL)
|
SASL)
|
||||||
echo "LIB_DEPENDS+= sasl.8:\${PORTSDIR}/security/cyrus-sasl"
|
echo "LIB_DEPENDS+= sasl.8:\${PORTSDIR}/security/cyrus-sasl"
|
||||||
@ -230,4 +226,4 @@ echo "PLIST_SUB+= SUB_TEST=\"${SUB_TEST}\""
|
|||||||
# we ask the configure questions) doesn't pick up the extensions, but
|
# we ask the configure questions) doesn't pick up the extensions, but
|
||||||
# any subsequent build will. so "make; make install" will build twice.
|
# any subsequent build will. so "make; make install" will build twice.
|
||||||
# don't do this for now.
|
# don't do this for now.
|
||||||
#echo "PKGNAMESUFFIX= \${PCRE_SUFFIX}\${SASL_SUFFIX}\${DB_SUFFIX}\${MYSQL_SUFFIX}\${PGSQL_SUFFIX}\${OPENLDAP_SUFFIX}\${TLS_SUFFIX}\${IPv6_SUFFIX}"
|
#echo "PKGNAMESUFFIX= \${NOPCRE_SUFFIX}\${SASL_SUFFIX}\${DB_SUFFIX}\${MYSQL_SUFFIX}\${PGSQL_SUFFIX}\${OPENLDAP_SUFFIX}\${TLS_SUFFIX}\${IPv6_SUFFIX}"
|
||||||
|
Loading…
Reference in New Issue
Block a user