mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 09:49:18 -04:00
upadate to courier-authlib 0.52, courier-imap 4.0.1 and sqwebmail 5.0.0
Special thanks for testing and sugestions to: Brian Candler <B.Candler@pobox.com>
This commit is contained in:
parent
b6e7dd2a79
commit
cb034e3273
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=125759
59 changed files with 527 additions and 707 deletions
34
UPDATING
34
UPDATING
|
@ -6,6 +6,40 @@ You should get into the habit of checking this file for changes each
|
||||||
time you update your ports collection, before attempting any port
|
time you update your ports collection, before attempting any port
|
||||||
upgrades.
|
upgrades.
|
||||||
|
|
||||||
|
20050108:
|
||||||
|
AFFECTS: users of mail/courier-imap, mail/sqwebmail
|
||||||
|
AUTHOR: oliver@FreeBSD.org
|
||||||
|
|
||||||
|
Courier-imap and sqwebmail are now dependent on courier-authlib. If
|
||||||
|
you've changed the default authentication config for courier-imap or
|
||||||
|
sqwebmail, you will have to redo the changes for courier-authlib.
|
||||||
|
You may wish to deinstall courier-imap and/or sqwebmail before you
|
||||||
|
install courier-authlib. Since courier-authlib replaces parts of both
|
||||||
|
ports, some of courier-authlib's files are listed as sqwebmail and
|
||||||
|
courier-imap files and deinstalling old courier-imap and/or sqwebmail
|
||||||
|
port may cause the deinstallation of the freshly installed
|
||||||
|
courier-authlib files.
|
||||||
|
|
||||||
|
20050108:
|
||||||
|
AFFECTS: users of mail/sqwebmail
|
||||||
|
AUTHOR: oliver@FreeBSD.org
|
||||||
|
|
||||||
|
Sqwebmail now installs it's files directly under PREFIX. That means for
|
||||||
|
instance that files that were formerly found under
|
||||||
|
PREFIX/share/sqwebmail/etc/ are now located under PREFIX/etc/sqwebmail.
|
||||||
|
Furthermore you need to set sqwebmaild_enable=YES in your rc.conf
|
||||||
|
because
|
||||||
|
the rc.d script has been migrated to use the rc.sub Subsystem
|
||||||
|
|
||||||
|
20050108:
|
||||||
|
AFFECTS: users of mail/courier-imap
|
||||||
|
AUTHOR: oliver@FreeBSD.org
|
||||||
|
|
||||||
|
The variable courier_imap_imapdssl_enable have been renamed to
|
||||||
|
courier_imap_imapd_ssl_enable.
|
||||||
|
The variable courier_imap_pop3dssl_enable have been renamed to
|
||||||
|
courier_imap_pop3d_ssl_enable.
|
||||||
|
|
||||||
20041231:
|
20041231:
|
||||||
AFFECTS: users of www/awstats
|
AFFECTS: users of www/awstats
|
||||||
AUTHOR: webmaster@lightningfire.net
|
AUTHOR: webmaster@lightningfire.net
|
||||||
|
|
|
@ -6,9 +6,10 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= courier-authlib
|
PORTNAME= courier-authlib
|
||||||
PORTVERSION= 0.51
|
PORTVERSION= 0.52
|
||||||
CATEGORIES= mail
|
CATEGORIES= mail
|
||||||
MASTER_SITES= http://www.courier-mta.org/beta/courier-authlib/
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
|
MASTER_SITE_SUBDIR= courier
|
||||||
|
|
||||||
MAINTAINER= oliver@FreeBSD.org
|
MAINTAINER= oliver@FreeBSD.org
|
||||||
COMMENT= Authentication library used by courier ports
|
COMMENT= Authentication library used by courier ports
|
||||||
|
@ -41,6 +42,7 @@ CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
||||||
|
|
||||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||||
CONFIGURE_ARGS= --without-authshadow \
|
CONFIGURE_ARGS= --without-authshadow \
|
||||||
|
--without-authcustom \
|
||||||
--enable-unicode \
|
--enable-unicode \
|
||||||
--enable-ltdl-install=no
|
--enable-ltdl-install=no
|
||||||
|
|
||||||
|
@ -108,7 +110,10 @@ MAN3= authlib.3 auth_generic.3 auth_login.3 auth_getuserinfo.3 \
|
||||||
|
|
||||||
MAN8= makeuserdb.8 userdb.8 userdbpw.8
|
MAN8= makeuserdb.8 userdb.8 userdbpw.8
|
||||||
|
|
||||||
EXTRA_DOCS= README INSTALL AUTHORS ChangeLog
|
EXTRA_DOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README \
|
||||||
|
README.authdebug.html README.authmysql.html \
|
||||||
|
README.authmysql.myownquery README.authpostgres.html \
|
||||||
|
README.ldap README_authlib.html
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|$$VPOPMAILLIBS|& -lcrypt|g ; \
|
@${REINPLACE_CMD} -e 's|$$VPOPMAILLIBS|& -lcrypt|g ; \
|
||||||
|
@ -116,6 +121,8 @@ post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|%%INSTALL_MAN%%|${INSTALL_MAN}|' \
|
@${REINPLACE_CMD} -e 's|%%INSTALL_MAN%%|${INSTALL_MAN}|' \
|
||||||
${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in \
|
${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in \
|
||||||
${WRKSRC}/liblog/Makefile.in ${WRKSRC}/userdb/Makefile.in
|
${WRKSRC}/liblog/Makefile.in ${WRKSRC}/userdb/Makefile.in
|
||||||
|
@${REINPLACE_CMD} -e 's|DEFAULTOPTIONS=""|DEFAULTOPTIONS="wbnodsn=1"|' \
|
||||||
|
${WRKSRC}/authdaemonrc.in
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
MD5 (courier-authlib-0.51.tar.bz2) = 89cb2db63b3f6d402e435331e391ef80
|
MD5 (courier-authlib-0.52.tar.bz2) = 2ad6837c1eec7582f8634c320f45b2dc
|
||||||
SIZE(courier-authlib-0.51.tar.bz2) = 1964171
|
SIZE(courier-authlib-0.52.tar.bz2) = 1965591
|
||||||
|
|
|
@ -24,6 +24,8 @@ command="%%PREFIX%%/sbin/authdaemond"
|
||||||
start_cmd="authdaemond_cmd start"
|
start_cmd="authdaemond_cmd start"
|
||||||
stop_cmd="authdaemond_cmd stop"
|
stop_cmd="authdaemond_cmd stop"
|
||||||
restart_cmd="authdaemond_cmd stop && authdaemond_cmd start"
|
restart_cmd="authdaemond_cmd stop && authdaemond_cmd start"
|
||||||
|
pidfile="%%PREFIX%%/var/spool/authdaemon/pid"
|
||||||
|
procname="%%PREFIX%%/sbin/courierlogger"
|
||||||
|
|
||||||
load_rc_config $name
|
load_rc_config $name
|
||||||
|
|
||||||
|
@ -36,6 +38,12 @@ authdaemond_cmd () {
|
||||||
stop)
|
stop)
|
||||||
echo "Stopping ${name}."
|
echo "Stopping ${name}."
|
||||||
${command} stop
|
${command} stop
|
||||||
|
if [ $? -eq 0 ] ; then
|
||||||
|
[ -f "$pidfile" ] && rm -f "$pidfile"
|
||||||
|
[ -f "$pidfile".lock ] && rm -f "$pidfile".lock
|
||||||
|
[ -S %%PREFIX%%/var/spool/authdaemon/socket ] && rm -f %%PREFIX%%/var/spool/authdaemon/socket
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,8 +21,6 @@ lib/courier-authlib/libcourierauthsaslclient.a
|
||||||
lib/courier-authlib/libcourierauthcommon.so.0
|
lib/courier-authlib/libcourierauthcommon.so.0
|
||||||
lib/courier-authlib/libcourierauthcommon.so
|
lib/courier-authlib/libcourierauthcommon.so
|
||||||
lib/courier-authlib/libcourierauthcommon.a
|
lib/courier-authlib/libcourierauthcommon.a
|
||||||
lib/courier-authlib/libauthcustom.so.0
|
|
||||||
lib/courier-authlib/libauthcustom.so
|
|
||||||
lib/courier-authlib/libauthuserdb.so.0
|
lib/courier-authlib/libauthuserdb.so.0
|
||||||
lib/courier-authlib/libauthuserdb.so
|
lib/courier-authlib/libauthuserdb.so
|
||||||
%%PAMFLAG%%lib/courier-authlib/libauthpam.so.0
|
%%PAMFLAG%%lib/courier-authlib/libauthpam.so.0
|
||||||
|
@ -48,9 +46,17 @@ sbin/userdb-test-cram-md5
|
||||||
sbin/userdbpw
|
sbin/userdbpw
|
||||||
sbin/vchkpw2userdb
|
sbin/vchkpw2userdb
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
|
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authdebug.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authmysql.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authmysql.myownquery
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authpostgres.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.ldap
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README_authlib.html
|
||||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||||
@unexec rmdir %D/var/authdaemon 2>/dev/null || true
|
@unexec rmdir %D/var/authdaemon 2>/dev/null || true
|
||||||
@unexec rmdir %D/var 2>/dev/null || true
|
@unexec rmdir %D/var 2>/dev/null || true
|
||||||
|
|
|
@ -6,9 +6,10 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= courier-authlib
|
PORTNAME= courier-authlib
|
||||||
PORTVERSION= 0.51
|
PORTVERSION= 0.52
|
||||||
CATEGORIES= mail
|
CATEGORIES= mail
|
||||||
MASTER_SITES= http://www.courier-mta.org/beta/courier-authlib/
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
|
MASTER_SITE_SUBDIR= courier
|
||||||
|
|
||||||
MAINTAINER= oliver@FreeBSD.org
|
MAINTAINER= oliver@FreeBSD.org
|
||||||
COMMENT= Authentication library used by courier ports
|
COMMENT= Authentication library used by courier ports
|
||||||
|
@ -41,6 +42,7 @@ CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
||||||
|
|
||||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||||
CONFIGURE_ARGS= --without-authshadow \
|
CONFIGURE_ARGS= --without-authshadow \
|
||||||
|
--without-authcustom \
|
||||||
--enable-unicode \
|
--enable-unicode \
|
||||||
--enable-ltdl-install=no
|
--enable-ltdl-install=no
|
||||||
|
|
||||||
|
@ -108,7 +110,10 @@ MAN3= authlib.3 auth_generic.3 auth_login.3 auth_getuserinfo.3 \
|
||||||
|
|
||||||
MAN8= makeuserdb.8 userdb.8 userdbpw.8
|
MAN8= makeuserdb.8 userdb.8 userdbpw.8
|
||||||
|
|
||||||
EXTRA_DOCS= README INSTALL AUTHORS ChangeLog
|
EXTRA_DOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README \
|
||||||
|
README.authdebug.html README.authmysql.html \
|
||||||
|
README.authmysql.myownquery README.authpostgres.html \
|
||||||
|
README.ldap README_authlib.html
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|$$VPOPMAILLIBS|& -lcrypt|g ; \
|
@${REINPLACE_CMD} -e 's|$$VPOPMAILLIBS|& -lcrypt|g ; \
|
||||||
|
@ -116,6 +121,8 @@ post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|%%INSTALL_MAN%%|${INSTALL_MAN}|' \
|
@${REINPLACE_CMD} -e 's|%%INSTALL_MAN%%|${INSTALL_MAN}|' \
|
||||||
${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in \
|
${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in \
|
||||||
${WRKSRC}/liblog/Makefile.in ${WRKSRC}/userdb/Makefile.in
|
${WRKSRC}/liblog/Makefile.in ${WRKSRC}/userdb/Makefile.in
|
||||||
|
@${REINPLACE_CMD} -e 's|DEFAULTOPTIONS=""|DEFAULTOPTIONS="wbnodsn=1"|' \
|
||||||
|
${WRKSRC}/authdaemonrc.in
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
MD5 (courier-authlib-0.51.tar.bz2) = 89cb2db63b3f6d402e435331e391ef80
|
MD5 (courier-authlib-0.52.tar.bz2) = 2ad6837c1eec7582f8634c320f45b2dc
|
||||||
SIZE(courier-authlib-0.51.tar.bz2) = 1964171
|
SIZE(courier-authlib-0.52.tar.bz2) = 1965591
|
||||||
|
|
|
@ -24,6 +24,8 @@ command="%%PREFIX%%/sbin/authdaemond"
|
||||||
start_cmd="authdaemond_cmd start"
|
start_cmd="authdaemond_cmd start"
|
||||||
stop_cmd="authdaemond_cmd stop"
|
stop_cmd="authdaemond_cmd stop"
|
||||||
restart_cmd="authdaemond_cmd stop && authdaemond_cmd start"
|
restart_cmd="authdaemond_cmd stop && authdaemond_cmd start"
|
||||||
|
pidfile="%%PREFIX%%/var/spool/authdaemon/pid"
|
||||||
|
procname="%%PREFIX%%/sbin/courierlogger"
|
||||||
|
|
||||||
load_rc_config $name
|
load_rc_config $name
|
||||||
|
|
||||||
|
@ -36,6 +38,12 @@ authdaemond_cmd () {
|
||||||
stop)
|
stop)
|
||||||
echo "Stopping ${name}."
|
echo "Stopping ${name}."
|
||||||
${command} stop
|
${command} stop
|
||||||
|
if [ $? -eq 0 ] ; then
|
||||||
|
[ -f "$pidfile" ] && rm -f "$pidfile"
|
||||||
|
[ -f "$pidfile".lock ] && rm -f "$pidfile".lock
|
||||||
|
[ -S %%PREFIX%%/var/spool/authdaemon/socket ] && rm -f %%PREFIX%%/var/spool/authdaemon/socket
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,8 +21,6 @@ lib/courier-authlib/libcourierauthsaslclient.a
|
||||||
lib/courier-authlib/libcourierauthcommon.so.0
|
lib/courier-authlib/libcourierauthcommon.so.0
|
||||||
lib/courier-authlib/libcourierauthcommon.so
|
lib/courier-authlib/libcourierauthcommon.so
|
||||||
lib/courier-authlib/libcourierauthcommon.a
|
lib/courier-authlib/libcourierauthcommon.a
|
||||||
lib/courier-authlib/libauthcustom.so.0
|
|
||||||
lib/courier-authlib/libauthcustom.so
|
|
||||||
lib/courier-authlib/libauthuserdb.so.0
|
lib/courier-authlib/libauthuserdb.so.0
|
||||||
lib/courier-authlib/libauthuserdb.so
|
lib/courier-authlib/libauthuserdb.so
|
||||||
%%PAMFLAG%%lib/courier-authlib/libauthpam.so.0
|
%%PAMFLAG%%lib/courier-authlib/libauthpam.so.0
|
||||||
|
@ -48,9 +46,17 @@ sbin/userdb-test-cram-md5
|
||||||
sbin/userdbpw
|
sbin/userdbpw
|
||||||
sbin/vchkpw2userdb
|
sbin/vchkpw2userdb
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
|
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authdebug.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authmysql.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authmysql.myownquery
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authpostgres.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.ldap
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README_authlib.html
|
||||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||||
@unexec rmdir %D/var/authdaemon 2>/dev/null || true
|
@unexec rmdir %D/var/authdaemon 2>/dev/null || true
|
||||||
@unexec rmdir %D/var 2>/dev/null || true
|
@unexec rmdir %D/var 2>/dev/null || true
|
||||||
|
|
|
@ -6,9 +6,10 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= courier-authlib
|
PORTNAME= courier-authlib
|
||||||
PORTVERSION= 0.51
|
PORTVERSION= 0.52
|
||||||
CATEGORIES= mail
|
CATEGORIES= mail
|
||||||
MASTER_SITES= http://www.courier-mta.org/beta/courier-authlib/
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
|
MASTER_SITE_SUBDIR= courier
|
||||||
|
|
||||||
MAINTAINER= oliver@FreeBSD.org
|
MAINTAINER= oliver@FreeBSD.org
|
||||||
COMMENT= Authentication library used by courier ports
|
COMMENT= Authentication library used by courier ports
|
||||||
|
@ -41,6 +42,7 @@ CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
||||||
|
|
||||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||||
CONFIGURE_ARGS= --without-authshadow \
|
CONFIGURE_ARGS= --without-authshadow \
|
||||||
|
--without-authcustom \
|
||||||
--enable-unicode \
|
--enable-unicode \
|
||||||
--enable-ltdl-install=no
|
--enable-ltdl-install=no
|
||||||
|
|
||||||
|
@ -108,7 +110,10 @@ MAN3= authlib.3 auth_generic.3 auth_login.3 auth_getuserinfo.3 \
|
||||||
|
|
||||||
MAN8= makeuserdb.8 userdb.8 userdbpw.8
|
MAN8= makeuserdb.8 userdb.8 userdbpw.8
|
||||||
|
|
||||||
EXTRA_DOCS= README INSTALL AUTHORS ChangeLog
|
EXTRA_DOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README \
|
||||||
|
README.authdebug.html README.authmysql.html \
|
||||||
|
README.authmysql.myownquery README.authpostgres.html \
|
||||||
|
README.ldap README_authlib.html
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|$$VPOPMAILLIBS|& -lcrypt|g ; \
|
@${REINPLACE_CMD} -e 's|$$VPOPMAILLIBS|& -lcrypt|g ; \
|
||||||
|
@ -116,6 +121,8 @@ post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|%%INSTALL_MAN%%|${INSTALL_MAN}|' \
|
@${REINPLACE_CMD} -e 's|%%INSTALL_MAN%%|${INSTALL_MAN}|' \
|
||||||
${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in \
|
${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in \
|
||||||
${WRKSRC}/liblog/Makefile.in ${WRKSRC}/userdb/Makefile.in
|
${WRKSRC}/liblog/Makefile.in ${WRKSRC}/userdb/Makefile.in
|
||||||
|
@${REINPLACE_CMD} -e 's|DEFAULTOPTIONS=""|DEFAULTOPTIONS="wbnodsn=1"|' \
|
||||||
|
${WRKSRC}/authdaemonrc.in
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
MD5 (courier-authlib-0.51.tar.bz2) = 89cb2db63b3f6d402e435331e391ef80
|
MD5 (courier-authlib-0.52.tar.bz2) = 2ad6837c1eec7582f8634c320f45b2dc
|
||||||
SIZE(courier-authlib-0.51.tar.bz2) = 1964171
|
SIZE(courier-authlib-0.52.tar.bz2) = 1965591
|
||||||
|
|
|
@ -24,6 +24,8 @@ command="%%PREFIX%%/sbin/authdaemond"
|
||||||
start_cmd="authdaemond_cmd start"
|
start_cmd="authdaemond_cmd start"
|
||||||
stop_cmd="authdaemond_cmd stop"
|
stop_cmd="authdaemond_cmd stop"
|
||||||
restart_cmd="authdaemond_cmd stop && authdaemond_cmd start"
|
restart_cmd="authdaemond_cmd stop && authdaemond_cmd start"
|
||||||
|
pidfile="%%PREFIX%%/var/spool/authdaemon/pid"
|
||||||
|
procname="%%PREFIX%%/sbin/courierlogger"
|
||||||
|
|
||||||
load_rc_config $name
|
load_rc_config $name
|
||||||
|
|
||||||
|
@ -36,6 +38,12 @@ authdaemond_cmd () {
|
||||||
stop)
|
stop)
|
||||||
echo "Stopping ${name}."
|
echo "Stopping ${name}."
|
||||||
${command} stop
|
${command} stop
|
||||||
|
if [ $? -eq 0 ] ; then
|
||||||
|
[ -f "$pidfile" ] && rm -f "$pidfile"
|
||||||
|
[ -f "$pidfile".lock ] && rm -f "$pidfile".lock
|
||||||
|
[ -S %%PREFIX%%/var/spool/authdaemon/socket ] && rm -f %%PREFIX%%/var/spool/authdaemon/socket
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,8 +21,6 @@ lib/courier-authlib/libcourierauthsaslclient.a
|
||||||
lib/courier-authlib/libcourierauthcommon.so.0
|
lib/courier-authlib/libcourierauthcommon.so.0
|
||||||
lib/courier-authlib/libcourierauthcommon.so
|
lib/courier-authlib/libcourierauthcommon.so
|
||||||
lib/courier-authlib/libcourierauthcommon.a
|
lib/courier-authlib/libcourierauthcommon.a
|
||||||
lib/courier-authlib/libauthcustom.so.0
|
|
||||||
lib/courier-authlib/libauthcustom.so
|
|
||||||
lib/courier-authlib/libauthuserdb.so.0
|
lib/courier-authlib/libauthuserdb.so.0
|
||||||
lib/courier-authlib/libauthuserdb.so
|
lib/courier-authlib/libauthuserdb.so
|
||||||
%%PAMFLAG%%lib/courier-authlib/libauthpam.so.0
|
%%PAMFLAG%%lib/courier-authlib/libauthpam.so.0
|
||||||
|
@ -48,9 +46,17 @@ sbin/userdb-test-cram-md5
|
||||||
sbin/userdbpw
|
sbin/userdbpw
|
||||||
sbin/vchkpw2userdb
|
sbin/vchkpw2userdb
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
|
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authdebug.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authmysql.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authmysql.myownquery
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authpostgres.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.ldap
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README_authlib.html
|
||||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||||
@unexec rmdir %D/var/authdaemon 2>/dev/null || true
|
@unexec rmdir %D/var/authdaemon 2>/dev/null || true
|
||||||
@unexec rmdir %D/var 2>/dev/null || true
|
@unexec rmdir %D/var 2>/dev/null || true
|
||||||
|
|
|
@ -6,9 +6,10 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= courier-authlib
|
PORTNAME= courier-authlib
|
||||||
PORTVERSION= 0.51
|
PORTVERSION= 0.52
|
||||||
CATEGORIES= mail
|
CATEGORIES= mail
|
||||||
MASTER_SITES= http://www.courier-mta.org/beta/courier-authlib/
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
|
MASTER_SITE_SUBDIR= courier
|
||||||
|
|
||||||
MAINTAINER= oliver@FreeBSD.org
|
MAINTAINER= oliver@FreeBSD.org
|
||||||
COMMENT= Authentication library used by courier ports
|
COMMENT= Authentication library used by courier ports
|
||||||
|
@ -41,6 +42,7 @@ CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
||||||
|
|
||||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||||
CONFIGURE_ARGS= --without-authshadow \
|
CONFIGURE_ARGS= --without-authshadow \
|
||||||
|
--without-authcustom \
|
||||||
--enable-unicode \
|
--enable-unicode \
|
||||||
--enable-ltdl-install=no
|
--enable-ltdl-install=no
|
||||||
|
|
||||||
|
@ -108,7 +110,10 @@ MAN3= authlib.3 auth_generic.3 auth_login.3 auth_getuserinfo.3 \
|
||||||
|
|
||||||
MAN8= makeuserdb.8 userdb.8 userdbpw.8
|
MAN8= makeuserdb.8 userdb.8 userdbpw.8
|
||||||
|
|
||||||
EXTRA_DOCS= README INSTALL AUTHORS ChangeLog
|
EXTRA_DOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README \
|
||||||
|
README.authdebug.html README.authmysql.html \
|
||||||
|
README.authmysql.myownquery README.authpostgres.html \
|
||||||
|
README.ldap README_authlib.html
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|$$VPOPMAILLIBS|& -lcrypt|g ; \
|
@${REINPLACE_CMD} -e 's|$$VPOPMAILLIBS|& -lcrypt|g ; \
|
||||||
|
@ -116,6 +121,8 @@ post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|%%INSTALL_MAN%%|${INSTALL_MAN}|' \
|
@${REINPLACE_CMD} -e 's|%%INSTALL_MAN%%|${INSTALL_MAN}|' \
|
||||||
${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in \
|
${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in \
|
||||||
${WRKSRC}/liblog/Makefile.in ${WRKSRC}/userdb/Makefile.in
|
${WRKSRC}/liblog/Makefile.in ${WRKSRC}/userdb/Makefile.in
|
||||||
|
@${REINPLACE_CMD} -e 's|DEFAULTOPTIONS=""|DEFAULTOPTIONS="wbnodsn=1"|' \
|
||||||
|
${WRKSRC}/authdaemonrc.in
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
MD5 (courier-authlib-0.51.tar.bz2) = 89cb2db63b3f6d402e435331e391ef80
|
MD5 (courier-authlib-0.52.tar.bz2) = 2ad6837c1eec7582f8634c320f45b2dc
|
||||||
SIZE(courier-authlib-0.51.tar.bz2) = 1964171
|
SIZE(courier-authlib-0.52.tar.bz2) = 1965591
|
||||||
|
|
|
@ -24,6 +24,8 @@ command="%%PREFIX%%/sbin/authdaemond"
|
||||||
start_cmd="authdaemond_cmd start"
|
start_cmd="authdaemond_cmd start"
|
||||||
stop_cmd="authdaemond_cmd stop"
|
stop_cmd="authdaemond_cmd stop"
|
||||||
restart_cmd="authdaemond_cmd stop && authdaemond_cmd start"
|
restart_cmd="authdaemond_cmd stop && authdaemond_cmd start"
|
||||||
|
pidfile="%%PREFIX%%/var/spool/authdaemon/pid"
|
||||||
|
procname="%%PREFIX%%/sbin/courierlogger"
|
||||||
|
|
||||||
load_rc_config $name
|
load_rc_config $name
|
||||||
|
|
||||||
|
@ -36,6 +38,12 @@ authdaemond_cmd () {
|
||||||
stop)
|
stop)
|
||||||
echo "Stopping ${name}."
|
echo "Stopping ${name}."
|
||||||
${command} stop
|
${command} stop
|
||||||
|
if [ $? -eq 0 ] ; then
|
||||||
|
[ -f "$pidfile" ] && rm -f "$pidfile"
|
||||||
|
[ -f "$pidfile".lock ] && rm -f "$pidfile".lock
|
||||||
|
[ -S %%PREFIX%%/var/spool/authdaemon/socket ] && rm -f %%PREFIX%%/var/spool/authdaemon/socket
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,8 +21,6 @@ lib/courier-authlib/libcourierauthsaslclient.a
|
||||||
lib/courier-authlib/libcourierauthcommon.so.0
|
lib/courier-authlib/libcourierauthcommon.so.0
|
||||||
lib/courier-authlib/libcourierauthcommon.so
|
lib/courier-authlib/libcourierauthcommon.so
|
||||||
lib/courier-authlib/libcourierauthcommon.a
|
lib/courier-authlib/libcourierauthcommon.a
|
||||||
lib/courier-authlib/libauthcustom.so.0
|
|
||||||
lib/courier-authlib/libauthcustom.so
|
|
||||||
lib/courier-authlib/libauthuserdb.so.0
|
lib/courier-authlib/libauthuserdb.so.0
|
||||||
lib/courier-authlib/libauthuserdb.so
|
lib/courier-authlib/libauthuserdb.so
|
||||||
%%PAMFLAG%%lib/courier-authlib/libauthpam.so.0
|
%%PAMFLAG%%lib/courier-authlib/libauthpam.so.0
|
||||||
|
@ -48,9 +46,17 @@ sbin/userdb-test-cram-md5
|
||||||
sbin/userdbpw
|
sbin/userdbpw
|
||||||
sbin/vchkpw2userdb
|
sbin/vchkpw2userdb
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
|
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authdebug.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authmysql.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authmysql.myownquery
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authpostgres.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.ldap
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README_authlib.html
|
||||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||||
@unexec rmdir %D/var/authdaemon 2>/dev/null || true
|
@unexec rmdir %D/var/authdaemon 2>/dev/null || true
|
||||||
@unexec rmdir %D/var 2>/dev/null || true
|
@unexec rmdir %D/var 2>/dev/null || true
|
||||||
|
|
|
@ -6,9 +6,10 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= courier-authlib
|
PORTNAME= courier-authlib
|
||||||
PORTVERSION= 0.51
|
PORTVERSION= 0.52
|
||||||
CATEGORIES= mail
|
CATEGORIES= mail
|
||||||
MASTER_SITES= http://www.courier-mta.org/beta/courier-authlib/
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
|
MASTER_SITE_SUBDIR= courier
|
||||||
|
|
||||||
MAINTAINER= oliver@FreeBSD.org
|
MAINTAINER= oliver@FreeBSD.org
|
||||||
COMMENT= Authentication library used by courier ports
|
COMMENT= Authentication library used by courier ports
|
||||||
|
@ -41,6 +42,7 @@ CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
||||||
|
|
||||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||||
CONFIGURE_ARGS= --without-authshadow \
|
CONFIGURE_ARGS= --without-authshadow \
|
||||||
|
--without-authcustom \
|
||||||
--enable-unicode \
|
--enable-unicode \
|
||||||
--enable-ltdl-install=no
|
--enable-ltdl-install=no
|
||||||
|
|
||||||
|
@ -108,7 +110,10 @@ MAN3= authlib.3 auth_generic.3 auth_login.3 auth_getuserinfo.3 \
|
||||||
|
|
||||||
MAN8= makeuserdb.8 userdb.8 userdbpw.8
|
MAN8= makeuserdb.8 userdb.8 userdbpw.8
|
||||||
|
|
||||||
EXTRA_DOCS= README INSTALL AUTHORS ChangeLog
|
EXTRA_DOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README \
|
||||||
|
README.authdebug.html README.authmysql.html \
|
||||||
|
README.authmysql.myownquery README.authpostgres.html \
|
||||||
|
README.ldap README_authlib.html
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|$$VPOPMAILLIBS|& -lcrypt|g ; \
|
@${REINPLACE_CMD} -e 's|$$VPOPMAILLIBS|& -lcrypt|g ; \
|
||||||
|
@ -116,6 +121,8 @@ post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|%%INSTALL_MAN%%|${INSTALL_MAN}|' \
|
@${REINPLACE_CMD} -e 's|%%INSTALL_MAN%%|${INSTALL_MAN}|' \
|
||||||
${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in \
|
${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in \
|
||||||
${WRKSRC}/liblog/Makefile.in ${WRKSRC}/userdb/Makefile.in
|
${WRKSRC}/liblog/Makefile.in ${WRKSRC}/userdb/Makefile.in
|
||||||
|
@${REINPLACE_CMD} -e 's|DEFAULTOPTIONS=""|DEFAULTOPTIONS="wbnodsn=1"|' \
|
||||||
|
${WRKSRC}/authdaemonrc.in
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
MD5 (courier-authlib-0.51.tar.bz2) = 89cb2db63b3f6d402e435331e391ef80
|
MD5 (courier-authlib-0.52.tar.bz2) = 2ad6837c1eec7582f8634c320f45b2dc
|
||||||
SIZE(courier-authlib-0.51.tar.bz2) = 1964171
|
SIZE(courier-authlib-0.52.tar.bz2) = 1965591
|
||||||
|
|
|
@ -24,6 +24,8 @@ command="%%PREFIX%%/sbin/authdaemond"
|
||||||
start_cmd="authdaemond_cmd start"
|
start_cmd="authdaemond_cmd start"
|
||||||
stop_cmd="authdaemond_cmd stop"
|
stop_cmd="authdaemond_cmd stop"
|
||||||
restart_cmd="authdaemond_cmd stop && authdaemond_cmd start"
|
restart_cmd="authdaemond_cmd stop && authdaemond_cmd start"
|
||||||
|
pidfile="%%PREFIX%%/var/spool/authdaemon/pid"
|
||||||
|
procname="%%PREFIX%%/sbin/courierlogger"
|
||||||
|
|
||||||
load_rc_config $name
|
load_rc_config $name
|
||||||
|
|
||||||
|
@ -36,6 +38,12 @@ authdaemond_cmd () {
|
||||||
stop)
|
stop)
|
||||||
echo "Stopping ${name}."
|
echo "Stopping ${name}."
|
||||||
${command} stop
|
${command} stop
|
||||||
|
if [ $? -eq 0 ] ; then
|
||||||
|
[ -f "$pidfile" ] && rm -f "$pidfile"
|
||||||
|
[ -f "$pidfile".lock ] && rm -f "$pidfile".lock
|
||||||
|
[ -S %%PREFIX%%/var/spool/authdaemon/socket ] && rm -f %%PREFIX%%/var/spool/authdaemon/socket
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,8 +21,6 @@ lib/courier-authlib/libcourierauthsaslclient.a
|
||||||
lib/courier-authlib/libcourierauthcommon.so.0
|
lib/courier-authlib/libcourierauthcommon.so.0
|
||||||
lib/courier-authlib/libcourierauthcommon.so
|
lib/courier-authlib/libcourierauthcommon.so
|
||||||
lib/courier-authlib/libcourierauthcommon.a
|
lib/courier-authlib/libcourierauthcommon.a
|
||||||
lib/courier-authlib/libauthcustom.so.0
|
|
||||||
lib/courier-authlib/libauthcustom.so
|
|
||||||
lib/courier-authlib/libauthuserdb.so.0
|
lib/courier-authlib/libauthuserdb.so.0
|
||||||
lib/courier-authlib/libauthuserdb.so
|
lib/courier-authlib/libauthuserdb.so
|
||||||
%%PAMFLAG%%lib/courier-authlib/libauthpam.so.0
|
%%PAMFLAG%%lib/courier-authlib/libauthpam.so.0
|
||||||
|
@ -48,9 +46,17 @@ sbin/userdb-test-cram-md5
|
||||||
sbin/userdbpw
|
sbin/userdbpw
|
||||||
sbin/vchkpw2userdb
|
sbin/vchkpw2userdb
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
|
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authdebug.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authmysql.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authmysql.myownquery
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authpostgres.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.ldap
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README_authlib.html
|
||||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||||
@unexec rmdir %D/var/authdaemon 2>/dev/null || true
|
@unexec rmdir %D/var/authdaemon 2>/dev/null || true
|
||||||
@unexec rmdir %D/var 2>/dev/null || true
|
@unexec rmdir %D/var 2>/dev/null || true
|
||||||
|
|
|
@ -6,9 +6,10 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= courier-authlib
|
PORTNAME= courier-authlib
|
||||||
PORTVERSION= 0.51
|
PORTVERSION= 0.52
|
||||||
CATEGORIES= mail
|
CATEGORIES= mail
|
||||||
MASTER_SITES= http://www.courier-mta.org/beta/courier-authlib/
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
|
MASTER_SITE_SUBDIR= courier
|
||||||
|
|
||||||
MAINTAINER= oliver@FreeBSD.org
|
MAINTAINER= oliver@FreeBSD.org
|
||||||
COMMENT= Authentication library used by courier ports
|
COMMENT= Authentication library used by courier ports
|
||||||
|
@ -41,6 +42,7 @@ CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
||||||
|
|
||||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||||
CONFIGURE_ARGS= --without-authshadow \
|
CONFIGURE_ARGS= --without-authshadow \
|
||||||
|
--without-authcustom \
|
||||||
--enable-unicode \
|
--enable-unicode \
|
||||||
--enable-ltdl-install=no
|
--enable-ltdl-install=no
|
||||||
|
|
||||||
|
@ -108,7 +110,10 @@ MAN3= authlib.3 auth_generic.3 auth_login.3 auth_getuserinfo.3 \
|
||||||
|
|
||||||
MAN8= makeuserdb.8 userdb.8 userdbpw.8
|
MAN8= makeuserdb.8 userdb.8 userdbpw.8
|
||||||
|
|
||||||
EXTRA_DOCS= README INSTALL AUTHORS ChangeLog
|
EXTRA_DOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README \
|
||||||
|
README.authdebug.html README.authmysql.html \
|
||||||
|
README.authmysql.myownquery README.authpostgres.html \
|
||||||
|
README.ldap README_authlib.html
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|$$VPOPMAILLIBS|& -lcrypt|g ; \
|
@${REINPLACE_CMD} -e 's|$$VPOPMAILLIBS|& -lcrypt|g ; \
|
||||||
|
@ -116,6 +121,8 @@ post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|%%INSTALL_MAN%%|${INSTALL_MAN}|' \
|
@${REINPLACE_CMD} -e 's|%%INSTALL_MAN%%|${INSTALL_MAN}|' \
|
||||||
${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in \
|
${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in \
|
||||||
${WRKSRC}/liblog/Makefile.in ${WRKSRC}/userdb/Makefile.in
|
${WRKSRC}/liblog/Makefile.in ${WRKSRC}/userdb/Makefile.in
|
||||||
|
@${REINPLACE_CMD} -e 's|DEFAULTOPTIONS=""|DEFAULTOPTIONS="wbnodsn=1"|' \
|
||||||
|
${WRKSRC}/authdaemonrc.in
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
MD5 (courier-authlib-0.51.tar.bz2) = 89cb2db63b3f6d402e435331e391ef80
|
MD5 (courier-authlib-0.52.tar.bz2) = 2ad6837c1eec7582f8634c320f45b2dc
|
||||||
SIZE(courier-authlib-0.51.tar.bz2) = 1964171
|
SIZE(courier-authlib-0.52.tar.bz2) = 1965591
|
||||||
|
|
|
@ -24,6 +24,8 @@ command="%%PREFIX%%/sbin/authdaemond"
|
||||||
start_cmd="authdaemond_cmd start"
|
start_cmd="authdaemond_cmd start"
|
||||||
stop_cmd="authdaemond_cmd stop"
|
stop_cmd="authdaemond_cmd stop"
|
||||||
restart_cmd="authdaemond_cmd stop && authdaemond_cmd start"
|
restart_cmd="authdaemond_cmd stop && authdaemond_cmd start"
|
||||||
|
pidfile="%%PREFIX%%/var/spool/authdaemon/pid"
|
||||||
|
procname="%%PREFIX%%/sbin/courierlogger"
|
||||||
|
|
||||||
load_rc_config $name
|
load_rc_config $name
|
||||||
|
|
||||||
|
@ -36,6 +38,12 @@ authdaemond_cmd () {
|
||||||
stop)
|
stop)
|
||||||
echo "Stopping ${name}."
|
echo "Stopping ${name}."
|
||||||
${command} stop
|
${command} stop
|
||||||
|
if [ $? -eq 0 ] ; then
|
||||||
|
[ -f "$pidfile" ] && rm -f "$pidfile"
|
||||||
|
[ -f "$pidfile".lock ] && rm -f "$pidfile".lock
|
||||||
|
[ -S %%PREFIX%%/var/spool/authdaemon/socket ] && rm -f %%PREFIX%%/var/spool/authdaemon/socket
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,8 +21,6 @@ lib/courier-authlib/libcourierauthsaslclient.a
|
||||||
lib/courier-authlib/libcourierauthcommon.so.0
|
lib/courier-authlib/libcourierauthcommon.so.0
|
||||||
lib/courier-authlib/libcourierauthcommon.so
|
lib/courier-authlib/libcourierauthcommon.so
|
||||||
lib/courier-authlib/libcourierauthcommon.a
|
lib/courier-authlib/libcourierauthcommon.a
|
||||||
lib/courier-authlib/libauthcustom.so.0
|
|
||||||
lib/courier-authlib/libauthcustom.so
|
|
||||||
lib/courier-authlib/libauthuserdb.so.0
|
lib/courier-authlib/libauthuserdb.so.0
|
||||||
lib/courier-authlib/libauthuserdb.so
|
lib/courier-authlib/libauthuserdb.so
|
||||||
%%PAMFLAG%%lib/courier-authlib/libauthpam.so.0
|
%%PAMFLAG%%lib/courier-authlib/libauthpam.so.0
|
||||||
|
@ -48,9 +46,17 @@ sbin/userdb-test-cram-md5
|
||||||
sbin/userdbpw
|
sbin/userdbpw
|
||||||
sbin/vchkpw2userdb
|
sbin/vchkpw2userdb
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
|
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authdebug.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authmysql.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authmysql.myownquery
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authpostgres.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.ldap
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README_authlib.html
|
||||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||||
@unexec rmdir %D/var/authdaemon 2>/dev/null || true
|
@unexec rmdir %D/var/authdaemon 2>/dev/null || true
|
||||||
@unexec rmdir %D/var 2>/dev/null || true
|
@unexec rmdir %D/var 2>/dev/null || true
|
||||||
|
|
|
@ -6,14 +6,18 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= courier-imap
|
PORTNAME= courier-imap
|
||||||
PORTVERSION= 3.0.8
|
PORTVERSION= 4.0.1
|
||||||
PORTREVISION= 0
|
PORTREVISION= 0
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
CATEGORIES= mail ipv6
|
CATEGORIES= mail ipv6
|
||||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
MASTER_SITE_SUBDIR= courier
|
MASTER_SITE_SUBDIR= courier
|
||||||
|
|
||||||
|
BUILD_DEPENDS= ${LOCALBASE}/bin/courierauthconfig:${PORTSDIR}/mail/courier-authlib
|
||||||
|
RUN_DEPENDS= ${LOCALBASE}/bin/courierauthconfig:${PORTSDIR}/mail/courier-authlib
|
||||||
|
|
||||||
.if defined(WITH_DRAC)
|
.if defined(WITH_DRAC)
|
||||||
|
BROKEN= DRAC support doesn't work with 4.0.0 right now
|
||||||
PATCH_SITES= http://www.smalltown.ne.jp/~usata/pub/patch/
|
PATCH_SITES= http://www.smalltown.ne.jp/~usata/pub/patch/
|
||||||
PATCHFILES= courier-imap-3.0.6-drac.patch
|
PATCHFILES= courier-imap-3.0.6-drac.patch
|
||||||
PATCH_DIST_STRIP= -p1
|
PATCH_DIST_STRIP= -p1
|
||||||
|
@ -38,13 +42,6 @@ CONFIGURE_ENV= CFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
|
||||||
# options available:
|
# options available:
|
||||||
#
|
#
|
||||||
# WITHOUT_OPENSSL: Don't build in TLS support
|
# WITHOUT_OPENSSL: Don't build in TLS support
|
||||||
# WITHOUT_PAM: Don't build in PAM support
|
|
||||||
# WITHOUT_AUTHDAEMON Don't build the authdaemon
|
|
||||||
# WITH_CRAM: Build in CRAM-MD5 authentication support
|
|
||||||
# WITH_VPOPMAIL: Build in vpopmail support
|
|
||||||
# WITH_MYSQL: Build in mysql support
|
|
||||||
# WITH_POSTGRESQL: Build in postgresql support
|
|
||||||
# WITH_LDAP: Build in ldap support with openldap
|
|
||||||
# WITH_FAM: Build in fam support for IDLE command
|
# WITH_FAM: Build in fam support for IDLE command
|
||||||
# WITH_DRAC: Build in DRAC support
|
# WITH_DRAC: Build in DRAC support
|
||||||
# WITH_TRASHQUOTA: Include deleted mails in the quota
|
# WITH_TRASHQUOTA: Include deleted mails in the quota
|
||||||
|
@ -56,23 +53,13 @@ RCDIR?= ${PREFIX}/etc/rc.d
|
||||||
USERDB?= ${PREFIX}/etc/userdb
|
USERDB?= ${PREFIX}/etc/userdb
|
||||||
LIBEXECDIR?= ${PREFIX}/libexec/${PORTNAME}
|
LIBEXECDIR?= ${PREFIX}/libexec/${PORTNAME}
|
||||||
|
|
||||||
VPOPMAILDIR?= ${LOCALBASE}/vpopmail
|
|
||||||
|
|
||||||
PLIST_SUB= CONFDIR=${CONFDIR:S,^${PREFIX}/,,} \
|
PLIST_SUB= CONFDIR=${CONFDIR:S,^${PREFIX}/,,} \
|
||||||
RCDIR=${RCDIR:S,^${PREFIX}/,,} \
|
RCDIR=${RCDIR:S,^${PREFIX}/,,} \
|
||||||
USERDB=${USERDB:S,^${PREFIX}/,,} \
|
USERDB=${USERDB:S,^${PREFIX}/,,} \
|
||||||
LIBEXECDIR=${LIBEXECDIR:S,^${PREFIX}/,,}
|
LIBEXECDIR=${LIBEXECDIR:S,^${PREFIX}/,,}
|
||||||
|
|
||||||
.if !defined(WITHOUT_OPENSSL)
|
|
||||||
USE_OPENSSL= YES
|
|
||||||
PLIST_SUB+= OPENSSLFLAG=
|
|
||||||
.else
|
|
||||||
PLIST_SUB+= OPENSSLFLAG="@comment "
|
|
||||||
.endif
|
|
||||||
|
|
||||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||||
CONFIGURE_ARGS= --without-authshadow \
|
CONFIGURE_ARGS= --sysconfdir=${CONFDIR} \
|
||||||
--sysconfdir=${CONFDIR} \
|
|
||||||
--with-userdb=${USERDB} \
|
--with-userdb=${USERDB} \
|
||||||
--datadir=${DATADIR} \
|
--datadir=${DATADIR} \
|
||||||
--libexecdir=${LIBEXECDIR} \
|
--libexecdir=${LIBEXECDIR} \
|
||||||
|
@ -92,72 +79,17 @@ CONFIGURE_ARGS+= --with-db=gdbm
|
||||||
CONFIGURE_ARGS+= --with-db=db
|
CONFIGURE_ARGS+= --with-db=db
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if !defined(WITH_VPOPMAIL)
|
.if !defined(WITHOUT_OPENSSL)
|
||||||
CONFIGURE_ARGS+=--without-authvchkpw
|
USE_OPENSSL= YES
|
||||||
PLIST_SUB+= VPOPMAILFLAG="@comment "
|
PLIST_SUB+= OPENSSLFLAG=
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+=--with-authvchkpw
|
PLIST_SUB+= OPENSSLFLAG="@comment "
|
||||||
BUILD_DEPENDS+= ${VPOPMAILDIR}/lib/libvpopmail.a:${PORTSDIR}/mail/vpopmail
|
|
||||||
PLIST_SUB+= VPOPMAILFLAG=""
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_TRASHQUOTA)
|
.if defined(WITH_TRASHQUOTA)
|
||||||
CONFIGURE_ARGS+=--with-trashquota
|
CONFIGURE_ARGS+=--with-trashquota
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_LDAP)
|
|
||||||
USE_OPENLDAP= yes
|
|
||||||
CONFIGURE_ARGS+=--with-authldap
|
|
||||||
PLIST_SUB+= LDAPFLAG=""
|
|
||||||
.else
|
|
||||||
CONFIGURE_ARGS+=--without-authldap
|
|
||||||
PLIST_SUB+= LDAPFLAG="@comment "
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if !defined(WITH_MYSQL)
|
|
||||||
CONFIGURE_ARGS+=--without-authmysql
|
|
||||||
PLIST_SUB+= MYSQLFLAG="@comment "
|
|
||||||
.else
|
|
||||||
USE_MYSQL= YES
|
|
||||||
PLIST_SUB+= MYSQLFLAG=""
|
|
||||||
CONFIGURE_ARGS+=--with-authmysql \
|
|
||||||
--with-mysql-libs=${LOCALBASE}/lib/mysql \
|
|
||||||
--with-mysql-includes=${LOCALBASE}/include/mysql
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if !defined(WITH_POSTGRESQL)
|
|
||||||
CONFIGURE_ARGS+=--without-authpgsql
|
|
||||||
PLIST_SUB+= PGSQLFLAG="@comment "
|
|
||||||
.else
|
|
||||||
POSTGRESQL_PORT?= databases/postgresql7
|
|
||||||
LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
|
|
||||||
PLIST_SUB+= PGSQLFLAG=""
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if !defined(WITHOUT_AUTHDAEMON)
|
|
||||||
CONFIGURE_ARGS+=--with-authdaemon
|
|
||||||
PLIST_SUB+= AUTHDFLAG=""
|
|
||||||
.else
|
|
||||||
CONFIGURE_ARGS+=--without-authdaemon
|
|
||||||
PLIST_SUB+= AUTHDFLAG="@comment "
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if !defined(WITHOUT_PAM)
|
|
||||||
CONFIGURE_ARGS+=--with-authpam
|
|
||||||
PLIST_SUB+= PAMFLAG="" PWDFLAG="@comment "
|
|
||||||
.else
|
|
||||||
CONFIGURE_ARGS+=--without-authpam
|
|
||||||
PLIST_SUB+= PAMFLAG="@comment " PWDFLAG=""
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if !defined(WITH_CRAM)
|
|
||||||
CONFIGURE_ARGS+=--without-authcram
|
|
||||||
.else
|
|
||||||
CONFIGURE_ARGS+=--with-authcram
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.include <bsd.port.pre.mk>
|
|
||||||
|
|
||||||
RC_SCRIPTS_SUB=PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
|
RC_SCRIPTS_SUB=PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
|
||||||
|
|
||||||
.if defined(WITH_FAM) || exists(${LOCALBASE}/lib/libfam.so)
|
.if defined(WITH_FAM) || exists(${LOCALBASE}/lib/libfam.so)
|
||||||
|
@ -172,39 +104,27 @@ EXTRA_PATCHES= ${FILESDIR}/extra-patch-drac
|
||||||
BUILD_DEPENDS+= ${LOCALBASE}/lib/libdrac.a:${PORTSDIR}/mail/drac
|
BUILD_DEPENDS+= ${LOCALBASE}/lib/libdrac.a:${PORTSDIR}/mail/drac
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
MAN1= courierlogger.1 couriertcpd.1 maildiracl.1 maildirkw.1 \
|
MAN1= couriertcpd.1 maildiracl.1 maildirkw.1 \
|
||||||
maildirmake.1
|
maildirmake.1
|
||||||
MAN7= authlib.7
|
|
||||||
MAN8= makeuserdb.8 userdb.8 userdbpw.8 \
|
|
||||||
deliverquota.8 imapd.8 mkimapdcert.8 mkpop3dcert.8
|
|
||||||
|
|
||||||
MLINKS= authlib.7 authpwd.7 \
|
MAN8= deliverquota.8 imapd.8 mkimapdcert.8 mkpop3dcert.8
|
||||||
authlib.7 authuserdb.7 \
|
|
||||||
authlib.7 authshadow.7 \
|
EXTRA_DOCS= AUTHORS INSTALL NEWS imap/ChangeLog imap/README \
|
||||||
authlib.7 authpam.7 \
|
imap/README.proxy maildir/README.imapkeywords.html \
|
||||||
authlib.7 authvchkpw.7 \
|
maildir/README.maildirfilter.html \
|
||||||
authlib.7 authcram.7 \
|
maildir/README.maildirquota.txt \
|
||||||
authlib.7 authldap.7 \
|
maildir/README.sharedfolders.txt tcpd/README.couriertls \
|
||||||
authlib.7 authmysql.7 \
|
|
||||||
authlib.7 authdaemon.7 \
|
|
||||||
authlib.7 authdaemond.7 \
|
|
||||||
makeuserdb.8 pw2userdb.8 \
|
|
||||||
makeuserdb.8 vchkpw2userdb.8
|
|
||||||
|
|
||||||
EXTRA_DOCS= README INSTALL AUTHORS imap/ChangeLog
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|^case x$$lockmethod in|${TEST} \&\& &|g' \
|
@${REINPLACE_CMD} -e 's|^case x$$lockmethod in|${TEST} \&\& &|g' \
|
||||||
${WRKSRC}/liblock/configure
|
${WRKSRC}/liblock/configure
|
||||||
@${REINPLACE_CMD} -e 's|$$VPOPMAILLIBS|& -lcrypt|g ; \
|
|
||||||
s|%%LOCALBASE%%|${LOCALBASE}|g' ${WRKSRC}/authlib/configure
|
|
||||||
@${REINPLACE_CMD} -e 's|^@INSTALLAUTHMODULES@$$|& @AUTHMODULES@|' \
|
|
||||||
${WRKSRC}/authlib/installlist.in
|
|
||||||
@${REINPLACE_CMD} -e 's|%%INSTALL_MAN%%|${INSTALL_MAN}|' \
|
@${REINPLACE_CMD} -e 's|%%INSTALL_MAN%%|${INSTALL_MAN}|' \
|
||||||
${WRKSRC}/Makefile.in ${WRKSRC}/authlib/Makefile.in
|
${WRKSRC}/Makefile.in
|
||||||
|
@${REINPLACE_CMD} -e 's|@LIBS@|@LIBS@ -rpath=:${LOCALBASE}/lib/courier-authlib|' \
|
||||||
|
${WRKSRC}/imap/Makefile.in
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${INSTALL_PROGRAM} ${WRKSRC}/authlib/authtest ${PREFIX}/bin/
|
|
||||||
.for i in imapd pop3d
|
.for i in imapd pop3d
|
||||||
${INSTALL_DATA} ${WRKSRC}/imap/${i}.cnf ${CONFDIR}/${i}.cnf.dist
|
${INSTALL_DATA} ${WRKSRC}/imap/${i}.cnf ${CONFDIR}/${i}.cnf.dist
|
||||||
.endfor
|
.endfor
|
||||||
|
@ -219,30 +139,14 @@ post-install:
|
||||||
${INSTALL_DATA} ${WRKSRC}/${a} ${DOCSDIR}
|
${INSTALL_DATA} ${WRKSRC}/${a} ${DOCSDIR}
|
||||||
.endfor
|
.endfor
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
cd ${WRKSRC} && ( ${GMAKE} install-configure ; cd - )
|
||||||
|
|
||||||
@${ECHO_MSG} ""
|
@${ECHO_MSG} ""
|
||||||
@${ECHO_MSG} "You will have to run ${DATADIR}/mkimapdcert to create"
|
@${ECHO_MSG} "You will have to run ${DATADIR}/mkimapdcert to create"
|
||||||
@${ECHO_MSG} "a self-signed certificate if you want to use imapd-ssl."
|
@${ECHO_MSG} "a self-signed certificate if you want to use imapd-ssl."
|
||||||
@${ECHO_MSG} "And you will have to copy and edit the *.dist files to *"
|
@${ECHO_MSG} "And you will have to copy and edit the *.dist files to *"
|
||||||
@${ECHO_MSG} "in ${CONFDIR}."
|
@${ECHO_MSG} "in ${CONFDIR}."
|
||||||
@${ECHO_MSG} ""
|
@${ECHO_MSG} ""
|
||||||
@${ECHO_MSG} "In case you use authpam, you should put the following lines"
|
|
||||||
.if ${OSVERSION} >= 500000
|
|
||||||
@${ECHO_MSG} "in your /etc/pam.d/imap"
|
|
||||||
@${ECHO_MSG} "auth required pam_unix.so try_first_pass"
|
|
||||||
@${ECHO_MSG} "account required pam_unix.so try_first_pass"
|
|
||||||
@${ECHO_MSG} "session required pam_permit.so"
|
|
||||||
.else
|
|
||||||
@${ECHO_MSG} "in your /etc/pam.conf"
|
|
||||||
@${ECHO_MSG} "imap auth required pam_unix.so try_first_pass"
|
|
||||||
@${ECHO_MSG} "imap account required pam_unix.so try_first_pass"
|
|
||||||
@${ECHO_MSG} "imap session required pam_permit.so"
|
|
||||||
.endif
|
|
||||||
@${ECHO_MSG} ""
|
|
||||||
@${ECHO_MSG} "In case you are upgrading an existing Installation, you need to run"
|
|
||||||
@${ECHO_MSG} "'make install-configure' to update your old configuration files."
|
|
||||||
@${ECHO_MSG} ""
|
|
||||||
|
|
||||||
install-configure:
|
.include <bsd.port.mk>
|
||||||
cd ${WRKSRC} && ${GMAKE} install-configure
|
|
||||||
|
|
||||||
.include <bsd.port.post.mk>
|
|
||||||
|
|
|
@ -1,4 +1,2 @@
|
||||||
MD5 (courier-imap-3.0.8.tar.bz2) = 1b431e6dac39ed728d839ceb35474040
|
MD5 (courier-imap-4.0.1.tar.bz2) = f8578d1a3d04ffdb99c75b550dd190a7
|
||||||
SIZE(courier-imap-3.0.8.tar.bz2) = 1713447
|
SIZE(courier-imap-4.0.1.tar.bz2) = 3032350
|
||||||
MD5 (courier-imap-3.0.6-drac.patch) = f369ea8f9d26012e6ae1220f12c07fff
|
|
||||||
SIZE (courier-imap-3.0.6-drac.patch) = 10538
|
|
||||||
|
|
|
@ -2,32 +2,34 @@
|
||||||
#
|
#
|
||||||
# An rc.subr-style startup script for Courier-IMAP's IMAP over SSL service.
|
# An rc.subr-style startup script for Courier-IMAP's IMAP over SSL service.
|
||||||
|
|
||||||
# PROVIDE: courier_imap_imapdssl
|
# PROVIDE: courier_imap_imapd_ssl
|
||||||
# REQUIRE: LOGIN
|
# REQUIRE: LOGIN courier_authdaemond
|
||||||
# KEYWORD: FreeBSD shutdown
|
# KEYWORD: FreeBSD shutdown
|
||||||
|
|
||||||
# Define these courier_imap_imapdssl_* variables in one of these files:
|
# Define these courier_imap_imapd_ssl_* variables in one of these files:
|
||||||
# /etc/rc.conf
|
# /etc/rc.conf
|
||||||
# /etc/rc.conf.local
|
# /etc/rc.conf.local
|
||||||
# /etc/rc.conf.d/courier_imap_imapdssl
|
# /etc/rc.conf.d/courier_imap_imapd_ssl
|
||||||
#
|
#
|
||||||
# DO NOT CHANGE THESE DEFAULT VALUES HERE
|
# DO NOT CHANGE THESE DEFAULT VALUES HERE
|
||||||
|
|
||||||
courier_imap_imapdssl_enable=${courier_imap_imapdssl_enable-"NO"}
|
courier_imap_imapd_ssl_enable=${courier_imap_imapd_ssl_enable-"NO"}
|
||||||
|
|
||||||
. %%RC_SUBR%%
|
. %%RC_SUBR%%
|
||||||
|
|
||||||
name="courier_imap_imapdssl"
|
name="courier_imap_imapd_ssl"
|
||||||
rcvar=`set_rcvar`
|
rcvar=`set_rcvar`
|
||||||
command="%%PREFIX%%/libexec/courier-imap/imapd-ssl.rc"
|
command="%%PREFIX%%/libexec/courier-imap/imapd-ssl.rc"
|
||||||
|
pidfile="/var/run/imapd-ssl.pid"
|
||||||
|
procname="%%PREFIX%%/libexec/courier-imap/couriertcpd"
|
||||||
|
|
||||||
start_cmd="imapdssl_cmd start"
|
start_cmd="imapd_ssl_cmd start"
|
||||||
stop_cmd="imapdssl_cmd stop"
|
stop_cmd="imapd_ssl_cmd stop"
|
||||||
restart_cmd="imapdssl_cmd stop && imapdssl_cmd start"
|
restart_cmd="imapd_ssl_cmd stop && imapd_ssl_cmd start"
|
||||||
|
|
||||||
load_rc_config $name
|
load_rc_config $name
|
||||||
|
|
||||||
imapdssl_cmd () {
|
imapd_ssl_cmd () {
|
||||||
case $1 in
|
case $1 in
|
||||||
start)
|
start)
|
||||||
echo "Starting ${name}."
|
echo "Starting ${name}."
|
||||||
|
|
|
@ -2,32 +2,34 @@
|
||||||
#
|
#
|
||||||
# An rc.subr-style startup script for Courier-IMAP's IMAP over SSL service.
|
# An rc.subr-style startup script for Courier-IMAP's IMAP over SSL service.
|
||||||
|
|
||||||
# PROVIDE: courier_imap_imapdssl
|
# PROVIDE: courier_imap_imapd_ssl
|
||||||
# REQUIRE: LOGIN
|
# REQUIRE: LOGIN courier_authdaemond
|
||||||
# KEYWORD: FreeBSD shutdown
|
# KEYWORD: FreeBSD shutdown
|
||||||
|
|
||||||
# Define these courier_imap_imapdssl_* variables in one of these files:
|
# Define these courier_imap_imapd_ssl_* variables in one of these files:
|
||||||
# /etc/rc.conf
|
# /etc/rc.conf
|
||||||
# /etc/rc.conf.local
|
# /etc/rc.conf.local
|
||||||
# /etc/rc.conf.d/courier_imap_imapdssl
|
# /etc/rc.conf.d/courier_imap_imapd_ssl
|
||||||
#
|
#
|
||||||
# DO NOT CHANGE THESE DEFAULT VALUES HERE
|
# DO NOT CHANGE THESE DEFAULT VALUES HERE
|
||||||
|
|
||||||
courier_imap_imapdssl_enable=${courier_imap_imapdssl_enable-"NO"}
|
courier_imap_imapd_ssl_enable=${courier_imap_imapd_ssl_enable-"NO"}
|
||||||
|
|
||||||
. %%RC_SUBR%%
|
. %%RC_SUBR%%
|
||||||
|
|
||||||
name="courier_imap_imapdssl"
|
name="courier_imap_imapd_ssl"
|
||||||
rcvar=`set_rcvar`
|
rcvar=`set_rcvar`
|
||||||
command="%%PREFIX%%/libexec/courier-imap/imapd-ssl.rc"
|
command="%%PREFIX%%/libexec/courier-imap/imapd-ssl.rc"
|
||||||
|
pidfile="/var/run/imapd-ssl.pid"
|
||||||
|
procname="%%PREFIX%%/libexec/courier-imap/couriertcpd"
|
||||||
|
|
||||||
start_cmd="imapdssl_cmd start"
|
start_cmd="imapd_ssl_cmd start"
|
||||||
stop_cmd="imapdssl_cmd stop"
|
stop_cmd="imapd_ssl_cmd stop"
|
||||||
restart_cmd="imapdssl_cmd stop && imapdssl_cmd start"
|
restart_cmd="imapd_ssl_cmd stop && imapd_ssl_cmd start"
|
||||||
|
|
||||||
load_rc_config $name
|
load_rc_config $name
|
||||||
|
|
||||||
imapdssl_cmd () {
|
imapd_ssl_cmd () {
|
||||||
case $1 in
|
case $1 in
|
||||||
start)
|
start)
|
||||||
echo "Starting ${name}."
|
echo "Starting ${name}."
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# An rc.subr-style startup script for Courier-IMAP's IMAP service.
|
# An rc.subr-style startup script for Courier-IMAP's IMAP service.
|
||||||
|
|
||||||
# PROVIDE: courier_imap_imapd
|
# PROVIDE: courier_imap_imapd
|
||||||
# REQUIRE: LOGIN
|
# REQUIRE: LOGIN courier_authdaemond
|
||||||
# KEYWORD: FreeBSD shutdown
|
# KEYWORD: FreeBSD shutdown
|
||||||
|
|
||||||
# Define these courier_imap_imapd_* variables in one of these files:
|
# Define these courier_imap_imapd_* variables in one of these files:
|
||||||
|
@ -20,6 +20,8 @@ courier_imap_imapd_enable=${courier_imap_imapd_enable-"NO"}
|
||||||
name="courier_imap_imapd"
|
name="courier_imap_imapd"
|
||||||
rcvar=`set_rcvar`
|
rcvar=`set_rcvar`
|
||||||
command="%%PREFIX%%/libexec/courier-imap/imapd.rc"
|
command="%%PREFIX%%/libexec/courier-imap/imapd.rc"
|
||||||
|
pidfile="/var/run/imapd.pid"
|
||||||
|
procname="%%PREFIX%%/libexec/courier-imap/couriertcpd"
|
||||||
|
|
||||||
start_cmd="imapd_cmd start"
|
start_cmd="imapd_cmd start"
|
||||||
stop_cmd="imapd_cmd stop"
|
stop_cmd="imapd_cmd stop"
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# An rc.subr-style startup script for Courier-IMAP's IMAP service.
|
# An rc.subr-style startup script for Courier-IMAP's IMAP service.
|
||||||
|
|
||||||
# PROVIDE: courier_imap_imapd
|
# PROVIDE: courier_imap_imapd
|
||||||
# REQUIRE: LOGIN
|
# REQUIRE: LOGIN courier_authdaemond
|
||||||
# KEYWORD: FreeBSD shutdown
|
# KEYWORD: FreeBSD shutdown
|
||||||
|
|
||||||
# Define these courier_imap_imapd_* variables in one of these files:
|
# Define these courier_imap_imapd_* variables in one of these files:
|
||||||
|
@ -20,6 +20,8 @@ courier_imap_imapd_enable=${courier_imap_imapd_enable-"NO"}
|
||||||
name="courier_imap_imapd"
|
name="courier_imap_imapd"
|
||||||
rcvar=`set_rcvar`
|
rcvar=`set_rcvar`
|
||||||
command="%%PREFIX%%/libexec/courier-imap/imapd.rc"
|
command="%%PREFIX%%/libexec/courier-imap/imapd.rc"
|
||||||
|
pidfile="/var/run/imapd.pid"
|
||||||
|
procname="%%PREFIX%%/libexec/courier-imap/couriertcpd"
|
||||||
|
|
||||||
start_cmd="imapd_cmd start"
|
start_cmd="imapd_cmd start"
|
||||||
stop_cmd="imapd_cmd stop"
|
stop_cmd="imapd_cmd stop"
|
||||||
|
|
|
@ -2,32 +2,34 @@
|
||||||
#
|
#
|
||||||
# An rc.subr-style startup script for Courier-IMAP's POP3 over SSL service.
|
# An rc.subr-style startup script for Courier-IMAP's POP3 over SSL service.
|
||||||
|
|
||||||
# PROVIDE: courier_imap_pop3dssl
|
# PROVIDE: courier_imap_pop3d_ssl
|
||||||
# REQUIRE: LOGIN
|
# REQUIRE: LOGIN courier_authdaemond
|
||||||
# KEYWORD: FreeBSD shutdown
|
# KEYWORD: FreeBSD shutdown
|
||||||
|
|
||||||
# Define these courier_imap_pop3dssl_* variables in one of these files:
|
# Define these courier_imap_pop3d_ssl_* variables in one of these files:
|
||||||
# /etc/rc.conf
|
# /etc/rc.conf
|
||||||
# /etc/rc.conf.local
|
# /etc/rc.conf.local
|
||||||
# /etc/rc.conf.d/courier_imap_pop3dssl
|
# /etc/rc.conf.d/courier_imap_pop3d_ssl
|
||||||
#
|
#
|
||||||
# DO NOT CHANGE THESE DEFAULT VALUES HERE
|
# DO NOT CHANGE THESE DEFAULT VALUES HERE
|
||||||
|
|
||||||
courier_imap_pop3dssl_enable=${courier_imap_pop3dssl_enable-"NO"}
|
courier_imap_pop3d_ssl_enable=${courier_imap_pop3d_ssl_enable-"NO"}
|
||||||
|
|
||||||
. %%RC_SUBR%%
|
. %%RC_SUBR%%
|
||||||
|
|
||||||
name="courier_imap_pop3dssl"
|
name="courier_imap_pop3d_ssl"
|
||||||
rcvar=`set_rcvar`
|
rcvar=`set_rcvar`
|
||||||
command="%%PREFIX%%/libexec/courier-imap/pop3d-ssl.rc"
|
command="%%PREFIX%%/libexec/courier-imap/pop3d-ssl.rc"
|
||||||
|
pidfile="/var/run/pop3d-ssl.pid"
|
||||||
|
procname="%%PREFIX%%/libexec/courier-imap/couriertcpd"
|
||||||
|
|
||||||
start_cmd="pop3dssl_cmd start"
|
start_cmd="pop3d_ssl_cmd start"
|
||||||
stop_cmd="pop3dssl_cmd stop"
|
stop_cmd="pop3d_ssl_cmd stop"
|
||||||
restart_cmd="pop3dssl_cmd stop && pop3dssl_cmd start"
|
restart_cmd="pop3d_ssl_cmd stop && pop3d_ssl_cmd start"
|
||||||
|
|
||||||
load_rc_config $name
|
load_rc_config $name
|
||||||
|
|
||||||
pop3dssl_cmd () {
|
pop3d_ssl_cmd () {
|
||||||
case $1 in
|
case $1 in
|
||||||
start)
|
start)
|
||||||
echo "Starting ${name}."
|
echo "Starting ${name}."
|
||||||
|
|
|
@ -2,32 +2,34 @@
|
||||||
#
|
#
|
||||||
# An rc.subr-style startup script for Courier-IMAP's POP3 over SSL service.
|
# An rc.subr-style startup script for Courier-IMAP's POP3 over SSL service.
|
||||||
|
|
||||||
# PROVIDE: courier_imap_pop3dssl
|
# PROVIDE: courier_imap_pop3d_ssl
|
||||||
# REQUIRE: LOGIN
|
# REQUIRE: LOGIN courier_authdaemond
|
||||||
# KEYWORD: FreeBSD shutdown
|
# KEYWORD: FreeBSD shutdown
|
||||||
|
|
||||||
# Define these courier_imap_pop3dssl_* variables in one of these files:
|
# Define these courier_imap_pop3d_ssl_* variables in one of these files:
|
||||||
# /etc/rc.conf
|
# /etc/rc.conf
|
||||||
# /etc/rc.conf.local
|
# /etc/rc.conf.local
|
||||||
# /etc/rc.conf.d/courier_imap_pop3dssl
|
# /etc/rc.conf.d/courier_imap_pop3d_ssl
|
||||||
#
|
#
|
||||||
# DO NOT CHANGE THESE DEFAULT VALUES HERE
|
# DO NOT CHANGE THESE DEFAULT VALUES HERE
|
||||||
|
|
||||||
courier_imap_pop3dssl_enable=${courier_imap_pop3dssl_enable-"NO"}
|
courier_imap_pop3d_ssl_enable=${courier_imap_pop3d_ssl_enable-"NO"}
|
||||||
|
|
||||||
. %%RC_SUBR%%
|
. %%RC_SUBR%%
|
||||||
|
|
||||||
name="courier_imap_pop3dssl"
|
name="courier_imap_pop3d_ssl"
|
||||||
rcvar=`set_rcvar`
|
rcvar=`set_rcvar`
|
||||||
command="%%PREFIX%%/libexec/courier-imap/pop3d-ssl.rc"
|
command="%%PREFIX%%/libexec/courier-imap/pop3d-ssl.rc"
|
||||||
|
pidfile="/var/run/pop3d-ssl.pid"
|
||||||
|
procname="%%PREFIX%%/libexec/courier-imap/couriertcpd"
|
||||||
|
|
||||||
start_cmd="pop3dssl_cmd start"
|
start_cmd="pop3d_ssl_cmd start"
|
||||||
stop_cmd="pop3dssl_cmd stop"
|
stop_cmd="pop3d_ssl_cmd stop"
|
||||||
restart_cmd="pop3dssl_cmd stop && pop3dssl_cmd start"
|
restart_cmd="pop3d_ssl_cmd stop && pop3d_ssl_cmd start"
|
||||||
|
|
||||||
load_rc_config $name
|
load_rc_config $name
|
||||||
|
|
||||||
pop3dssl_cmd () {
|
pop3d_ssl_cmd () {
|
||||||
case $1 in
|
case $1 in
|
||||||
start)
|
start)
|
||||||
echo "Starting ${name}."
|
echo "Starting ${name}."
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# An rc.subr-style startup script for Courier-IMAP's POP3 service.
|
# An rc.subr-style startup script for Courier-IMAP's POP3 service.
|
||||||
|
|
||||||
# PROVIDE: courier_imap_pop3d
|
# PROVIDE: courier_imap_pop3d
|
||||||
# REQUIRE: LOGIN
|
# REQUIRE: LOGIN courier_authdaemond
|
||||||
# KEYWORD: FreeBSD shutdown
|
# KEYWORD: FreeBSD shutdown
|
||||||
|
|
||||||
# Define these courier_imap_pop3d_* variables in one of these files:
|
# Define these courier_imap_pop3d_* variables in one of these files:
|
||||||
|
@ -20,6 +20,8 @@ courier_imap_pop3d_enable=${courier_imap_pop3d_enable-"NO"}
|
||||||
name="courier_imap_pop3d"
|
name="courier_imap_pop3d"
|
||||||
rcvar=`set_rcvar`
|
rcvar=`set_rcvar`
|
||||||
command="%%PREFIX%%/libexec/courier-imap/pop3d.rc"
|
command="%%PREFIX%%/libexec/courier-imap/pop3d.rc"
|
||||||
|
pidfile="/var/run/pop3d.pid"
|
||||||
|
procname="%%PREFIX%%/libexec/courier-imap/couriertcpd"
|
||||||
|
|
||||||
start_cmd="pop3d_cmd start"
|
start_cmd="pop3d_cmd start"
|
||||||
stop_cmd="pop3d_cmd stop"
|
stop_cmd="pop3d_cmd stop"
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
# An rc.subr-style startup script for Courier-IMAP's POP3 service.
|
# An rc.subr-style startup script for Courier-IMAP's POP3 service.
|
||||||
|
|
||||||
# PROVIDE: courier_imap_pop3d
|
# PROVIDE: courier_imap_pop3d
|
||||||
# REQUIRE: LOGIN
|
# REQUIRE: LOGIN courier_authdaemond
|
||||||
# KEYWORD: FreeBSD shutdown
|
# KEYWORD: FreeBSD shutdown
|
||||||
|
|
||||||
# Define these courier_imap_pop3d_* variables in one of these files:
|
# Define these courier_imap_pop3d_* variables in one of these files:
|
||||||
|
@ -20,6 +20,8 @@ courier_imap_pop3d_enable=${courier_imap_pop3d_enable-"NO"}
|
||||||
name="courier_imap_pop3d"
|
name="courier_imap_pop3d"
|
||||||
rcvar=`set_rcvar`
|
rcvar=`set_rcvar`
|
||||||
command="%%PREFIX%%/libexec/courier-imap/pop3d.rc"
|
command="%%PREFIX%%/libexec/courier-imap/pop3d.rc"
|
||||||
|
pidfile="/var/run/pop3d.pid"
|
||||||
|
procname="%%PREFIX%%/libexec/courier-imap/couriertcpd"
|
||||||
|
|
||||||
start_cmd="pop3d_cmd start"
|
start_cmd="pop3d_cmd start"
|
||||||
stop_cmd="pop3d_cmd stop"
|
stop_cmd="pop3d_cmd stop"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
--- Makefile.in.orig Tue Jul 20 01:54:19 2004
|
--- Makefile.in.orig Thu Dec 9 03:07:01 2004
|
||||||
+++ Makefile.in Tue Jul 20 19:31:37 2004
|
+++ Makefile.in Sun Jan 2 21:17:35 2005
|
||||||
@@ -218,7 +218,7 @@
|
@@ -248,7 +248,7 @@
|
||||||
COPYING.GPL NEWS.html $(TEMPLFILES)\
|
COPYING.GPL NEWS.html $(TEMPLFILES)\
|
||||||
sysconftool
|
sysconftool
|
||||||
sysconf_DATA = imapd.dist imapd-ssl.dist pop3d.dist pop3d-ssl.dist \
|
sysconf_DATA = imapd.dist imapd-ssl.dist pop3d.dist pop3d-ssl.dist \
|
||||||
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
libexec_SCRIPTS = imapd.rc imapd-ssl.rc pop3d.rc pop3d-ssl.rc
|
libexec_SCRIPTS = imapd.rc imapd-ssl.rc pop3d.rc pop3d-ssl.rc
|
||||||
HTML2TXT = `which lynx 2>/dev/null && echo "lynx -dump -nolist" && exit; echo "links -dump"`
|
HTML2TXT = `which lynx 2>/dev/null && echo "lynx -dump -nolist" && exit; echo "links -dump"`
|
||||||
@@ -433,8 +433,8 @@
|
@@ -506,8 +506,8 @@
|
||||||
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
||||||
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
||||||
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
||||||
|
@ -20,7 +20,7 @@
|
||||||
done
|
done
|
||||||
uninstall-man1:
|
uninstall-man1:
|
||||||
@$(NORMAL_UNINSTALL)
|
@$(NORMAL_UNINSTALL)
|
||||||
@@ -478,8 +478,8 @@
|
@@ -551,8 +551,8 @@
|
||||||
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
|
||||||
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
inst=`echo $$inst | sed -e 's/^.*\///'`; \
|
||||||
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
inst=`echo $$inst | sed '$(transform)'`.$$ext; \
|
||||||
|
@ -31,11 +31,3 @@
|
||||||
done
|
done
|
||||||
uninstall-man8:
|
uninstall-man8:
|
||||||
@$(NORMAL_UNINSTALL)
|
@$(NORMAL_UNINSTALL)
|
||||||
@@ -1055,6 +1055,7 @@
|
|
||||||
|
|
||||||
install-data-local: install-man
|
|
||||||
for f in `cat authlib/modulelist ; . authlib/authdaemonrc ; echo $$authmodulelist ` ; do \
|
|
||||||
+ continue ; \
|
|
||||||
test "$$f" = "authpam" || continue ; \
|
|
||||||
test -d $(DESTDIR)/etc/pam.d || continue ; \
|
|
||||||
test -w $(DESTDIR)/etc/pam.d || continue ; \
|
|
||||||
|
|
|
@ -1,11 +0,0 @@
|
||||||
--- authlib/Makefile.in.orig Sun Jul 20 12:01:18 2003
|
|
||||||
+++ authlib/Makefile.in Sun Jul 20 12:56:12 2003
|
|
||||||
@@ -1341,7 +1341,7 @@
|
|
||||||
$(mkinstalldirs) $(DESTDIR)$(man7dir) ; \
|
|
||||||
for f in $(man_MANS) "" ; do \
|
|
||||||
test "$$f" = "" && continue ; \
|
|
||||||
- $(INSTALL_DATA) $$f $(DESTDIR)$(man7dir) ; done ; \
|
|
||||||
+ %%INSTALL_MAN%% $$f $(DESTDIR)$(man7dir) ; done ; \
|
|
||||||
cd $(DESTDIR)$(man7dir) || exit 1 ; \
|
|
||||||
for f in $(man_LINKS) "" ; do \
|
|
||||||
test "$$f" = "" && continue ; \
|
|
|
@ -1,13 +0,0 @@
|
||||||
--- authlib/configure.orig Wed Mar 3 05:54:13 2004
|
|
||||||
+++ authlib/configure Tue Mar 16 19:36:40 2004
|
|
||||||
@@ -1268,6 +1268,10 @@
|
|
||||||
{ (exit 1); exit 1; }; }
|
|
||||||
fi
|
|
||||||
|
|
||||||
+CFLAGS="$CFLAGS -I%%LOCALBASE%%/include"
|
|
||||||
+CPPFLAGS="$CPPFLAGS -I%%LOCALBASE%%/include"
|
|
||||||
+LDFLAGS="-L%%LOCALBASE%%/lib $LDFLAGS"
|
|
||||||
+
|
|
||||||
ac_ext=c
|
|
||||||
ac_cpp='$CPP $CPPFLAGS'
|
|
||||||
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
|
@ -1,182 +0,0 @@
|
||||||
--- authlib/configure.orig Tue Jul 20 19:37:46 2004
|
|
||||||
+++ authlib/configure Tue Jul 20 19:37:22 2004
|
|
||||||
@@ -7337,9 +7337,9 @@
|
|
||||||
if test "$doauthmysql" = ""
|
|
||||||
then
|
|
||||||
LIBS="$MYSQL_LIBS $LIBS"
|
|
||||||
- echo "$as_me:$LINENO: checking for mysql_connect" >&5
|
|
||||||
-echo $ECHO_N "checking for mysql_connect... $ECHO_C" >&6
|
|
||||||
-if test "${ac_cv_func_mysql_connect+set}" = set; then
|
|
||||||
+ echo "$as_me:$LINENO: checking for mysql_real_connect" >&5
|
|
||||||
+echo $ECHO_N "checking for mysql_real_connect... $ECHO_C" >&6
|
|
||||||
+if test "${ac_cv_func_mysql_real_connect+set}" = set; then
|
|
||||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
||||||
else
|
|
||||||
cat >conftest.$ac_ext <<_ACEOF
|
|
||||||
@@ -7348,12 +7348,12 @@
|
|
||||||
cat confdefs.h >>conftest.$ac_ext
|
|
||||||
cat >>conftest.$ac_ext <<_ACEOF
|
|
||||||
/* end confdefs.h. */
|
|
||||||
-/* Define mysql_connect to an innocuous variant, in case <limits.h> declares mysql_connect.
|
|
||||||
+/* Define mysql_real_connect to an innocuous variant, in case <limits.h> declares mysql_real_connect.
|
|
||||||
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
||||||
-#define mysql_connect innocuous_mysql_connect
|
|
||||||
+#define mysql_real_connect innocuous_mysql_real_connect
|
|
||||||
|
|
||||||
/* System header to define __stub macros and hopefully few prototypes,
|
|
||||||
- which can conflict with char mysql_connect (); below.
|
|
||||||
+ which can conflict with char mysql_real_connect (); below.
|
|
||||||
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
||||||
<limits.h> exists even on freestanding compilers. */
|
|
||||||
|
|
||||||
@@ -7363,7 +7363,7 @@
|
|
||||||
# include <assert.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
-#undef mysql_connect
|
|
||||||
+#undef mysql_real_connect
|
|
||||||
|
|
||||||
/* Override any gcc2 internal prototype to avoid an error. */
|
|
||||||
#ifdef __cplusplus
|
|
||||||
@@ -7372,14 +7372,14 @@
|
|
||||||
#endif
|
|
||||||
/* We use char because int might match the return type of a gcc2
|
|
||||||
builtin and then its argument prototype would still apply. */
|
|
||||||
-char mysql_connect ();
|
|
||||||
+char mysql_real_connect ();
|
|
||||||
/* The GNU C library defines this for functions which it implements
|
|
||||||
to always fail with ENOSYS. Some functions are actually named
|
|
||||||
something starting with __ and the normal name is an alias. */
|
|
||||||
-#if defined (__stub_mysql_connect) || defined (__stub___mysql_connect)
|
|
||||||
+#if defined (__stub_mysql_real_connect) || defined (__stub___mysql_real_connect)
|
|
||||||
choke me
|
|
||||||
#else
|
|
||||||
-char (*f) () = mysql_connect;
|
|
||||||
+char (*f) () = mysql_real_connect;
|
|
||||||
#endif
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
@@ -7388,7 +7388,7 @@
|
|
||||||
int
|
|
||||||
main ()
|
|
||||||
{
|
|
||||||
-return f != mysql_connect;
|
|
||||||
+return f != mysql_real_connect;
|
|
||||||
;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
@@ -7415,19 +7415,19 @@
|
|
||||||
ac_status=$?
|
|
||||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
||||||
(exit $ac_status); }; }; then
|
|
||||||
- ac_cv_func_mysql_connect=yes
|
|
||||||
+ ac_cv_func_mysql_real_connect=yes
|
|
||||||
else
|
|
||||||
echo "$as_me: failed program was:" >&5
|
|
||||||
sed 's/^/| /' conftest.$ac_ext >&5
|
|
||||||
|
|
||||||
-ac_cv_func_mysql_connect=no
|
|
||||||
+ac_cv_func_mysql_real_connect=no
|
|
||||||
fi
|
|
||||||
rm -f conftest.err conftest.$ac_objext \
|
|
||||||
conftest$ac_exeext conftest.$ac_ext
|
|
||||||
fi
|
|
||||||
-echo "$as_me:$LINENO: result: $ac_cv_func_mysql_connect" >&5
|
|
||||||
-echo "${ECHO_T}$ac_cv_func_mysql_connect" >&6
|
|
||||||
-if test $ac_cv_func_mysql_connect = yes; then
|
|
||||||
+echo "$as_me:$LINENO: result: $ac_cv_func_mysql_real_connect" >&5
|
|
||||||
+echo "${ECHO_T}$ac_cv_func_mysql_real_connect" >&6
|
|
||||||
+if test $ac_cv_func_mysql_real_connect = yes; then
|
|
||||||
doauthmysql="yes"
|
|
||||||
|
|
||||||
fi
|
|
||||||
@@ -7537,9 +7537,9 @@
|
|
||||||
else
|
|
||||||
saveLIBS="$LIBS"
|
|
||||||
LIBS="$MYSQL_LIBS $LIBS"
|
|
||||||
- echo "$as_me:$LINENO: checking for mysql_connect" >&5
|
|
||||||
-echo $ECHO_N "checking for mysql_connect... $ECHO_C" >&6
|
|
||||||
-if test "${ac_cv_func_mysql_connect+set}" = set; then
|
|
||||||
+ echo "$as_me:$LINENO: checking for mysql_real_connect" >&5
|
|
||||||
+echo $ECHO_N "checking for mysql_real_connect... $ECHO_C" >&6
|
|
||||||
+if test "${ac_cv_func_mysql_real_connect+set}" = set; then
|
|
||||||
echo $ECHO_N "(cached) $ECHO_C" >&6
|
|
||||||
else
|
|
||||||
cat >conftest.$ac_ext <<_ACEOF
|
|
||||||
@@ -7548,12 +7548,12 @@
|
|
||||||
cat confdefs.h >>conftest.$ac_ext
|
|
||||||
cat >>conftest.$ac_ext <<_ACEOF
|
|
||||||
/* end confdefs.h. */
|
|
||||||
-/* Define mysql_connect to an innocuous variant, in case <limits.h> declares mysql_connect.
|
|
||||||
+/* Define mysql_real_connect to an innocuous variant, in case <limits.h> declares mysql_real_connect.
|
|
||||||
For example, HP-UX 11i <limits.h> declares gettimeofday. */
|
|
||||||
-#define mysql_connect innocuous_mysql_connect
|
|
||||||
+#define mysql_real_connect innocuous_mysql_real_connect
|
|
||||||
|
|
||||||
/* System header to define __stub macros and hopefully few prototypes,
|
|
||||||
- which can conflict with char mysql_connect (); below.
|
|
||||||
+ which can conflict with char mysql_real_connect (); below.
|
|
||||||
Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
|
|
||||||
<limits.h> exists even on freestanding compilers. */
|
|
||||||
|
|
||||||
@@ -7563,7 +7563,7 @@
|
|
||||||
# include <assert.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
-#undef mysql_connect
|
|
||||||
+#undef mysql_real_connect
|
|
||||||
|
|
||||||
/* Override any gcc2 internal prototype to avoid an error. */
|
|
||||||
#ifdef __cplusplus
|
|
||||||
@@ -7572,14 +7572,14 @@
|
|
||||||
#endif
|
|
||||||
/* We use char because int might match the return type of a gcc2
|
|
||||||
builtin and then its argument prototype would still apply. */
|
|
||||||
-char mysql_connect ();
|
|
||||||
+char mysql_real_connect ();
|
|
||||||
/* The GNU C library defines this for functions which it implements
|
|
||||||
to always fail with ENOSYS. Some functions are actually named
|
|
||||||
something starting with __ and the normal name is an alias. */
|
|
||||||
-#if defined (__stub_mysql_connect) || defined (__stub___mysql_connect)
|
|
||||||
+#if defined (__stub_mysql_real_connect) || defined (__stub___mysql_real_connect)
|
|
||||||
choke me
|
|
||||||
#else
|
|
||||||
-char (*f) () = mysql_connect;
|
|
||||||
+char (*f) () = mysql_real_connect;
|
|
||||||
#endif
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
@@ -7588,7 +7588,7 @@
|
|
||||||
int
|
|
||||||
main ()
|
|
||||||
{
|
|
||||||
-return f != mysql_connect;
|
|
||||||
+return f != mysql_real_connect;
|
|
||||||
;
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
@@ -7615,19 +7615,19 @@
|
|
||||||
ac_status=$?
|
|
||||||
echo "$as_me:$LINENO: \$? = $ac_status" >&5
|
|
||||||
(exit $ac_status); }; }; then
|
|
||||||
- ac_cv_func_mysql_connect=yes
|
|
||||||
+ ac_cv_func_mysql_real_connect=yes
|
|
||||||
else
|
|
||||||
echo "$as_me: failed program was:" >&5
|
|
||||||
sed 's/^/| /' conftest.$ac_ext >&5
|
|
||||||
|
|
||||||
-ac_cv_func_mysql_connect=no
|
|
||||||
+ac_cv_func_mysql_real_connect=no
|
|
||||||
fi
|
|
||||||
rm -f conftest.err conftest.$ac_objext \
|
|
||||||
conftest$ac_exeext conftest.$ac_ext
|
|
||||||
fi
|
|
||||||
-echo "$as_me:$LINENO: result: $ac_cv_func_mysql_connect" >&5
|
|
||||||
-echo "${ECHO_T}$ac_cv_func_mysql_connect" >&6
|
|
||||||
-if test $ac_cv_func_mysql_connect = yes; then
|
|
||||||
+echo "$as_me:$LINENO: result: $ac_cv_func_mysql_real_connect" >&5
|
|
||||||
+echo "${ECHO_T}$ac_cv_func_mysql_real_connect" >&6
|
|
||||||
+if test $ac_cv_func_mysql_real_connect = yes; then
|
|
||||||
AUTHMYSQL="authmysql${EXEEXT}"
|
|
||||||
HAVE_AUTHMYSQL=1
|
|
||||||
else
|
|
|
@ -1,4 +1,3 @@
|
||||||
bin/authtest
|
|
||||||
%%OPENSSLFLAG%%bin/couriertls
|
%%OPENSSLFLAG%%bin/couriertls
|
||||||
bin/deliverquota
|
bin/deliverquota
|
||||||
bin/imapd
|
bin/imapd
|
||||||
|
@ -6,10 +5,6 @@ bin/maildiracl
|
||||||
bin/maildirkw
|
bin/maildirkw
|
||||||
bin/maildirmake
|
bin/maildirmake
|
||||||
bin/pop3d
|
bin/pop3d
|
||||||
%%AUTHDFLAG%%%%CONFDIR%%/authdaemonrc.dist
|
|
||||||
%%LDAPFLAG%%%%CONFDIR%%/authldaprc.dist
|
|
||||||
%%MYSQLFLAG%%%%CONFDIR%%/authmysqlrc.dist
|
|
||||||
%%PGSQLFLAG%%%%CONFDIR%%/authpgsqlrc.dist
|
|
||||||
%%CONFDIR%%/imapd-ssl.dist
|
%%CONFDIR%%/imapd-ssl.dist
|
||||||
%%CONFDIR%%/imapd.cnf.dist
|
%%CONFDIR%%/imapd.cnf.dist
|
||||||
%%CONFDIR%%/imapd.dist
|
%%CONFDIR%%/imapd.dist
|
||||||
|
@ -21,51 +16,33 @@ bin/pop3d
|
||||||
%%RCDIR%%/courier-imap-imapd-ssl.sh
|
%%RCDIR%%/courier-imap-imapd-ssl.sh
|
||||||
%%RCDIR%%/courier-imap-pop3d.sh
|
%%RCDIR%%/courier-imap-pop3d.sh
|
||||||
%%RCDIR%%/courier-imap-pop3d-ssl.sh
|
%%RCDIR%%/courier-imap-pop3d-ssl.sh
|
||||||
%%LIBEXECDIR%%/authlib/authcustom
|
|
||||||
%%AUTHDFLAG%%%%LIBEXECDIR%%/authlib/authdaemon
|
|
||||||
%%AUTHDFLAG%%%%LIBEXECDIR%%/authlib/authdaemond
|
|
||||||
%%LDAPFLAG%%%%LIBEXECDIR%%/authlib/authdaemond.ldap
|
|
||||||
%%LDAPFLAG%%%%LIBEXECDIR%%/authlib/authldap
|
|
||||||
%%MYSQLFLAG%%%%LIBEXECDIR%%/authlib/authdaemond.mysql
|
|
||||||
%%MYSQLFLAG%%%%LIBEXECDIR%%/authlib/authmysql
|
|
||||||
%%PGSQLFLAG%%%%LIBEXECDIR%%/authlib/authdaemond.pgsql
|
|
||||||
%%AUTHDFLAG%%%%LIBEXECDIR%%/authlib/authdaemond.plain
|
|
||||||
%%PAMFLAG%%%%LIBEXECDIR%%/authlib/authpam
|
|
||||||
%%PWDFLAG%%%%LIBEXECDIR%%/authlib/authpwd
|
|
||||||
%%LIBEXECDIR%%/authlib/authuserdb
|
|
||||||
%%VPOPMAILFLAG%%%%LIBEXECDIR%%/authlib/authvchkpw
|
|
||||||
%%LIBEXECDIR%%/couriertcpd
|
%%LIBEXECDIR%%/couriertcpd
|
||||||
%%LIBEXECDIR%%/imapd-ssl.rc
|
%%LIBEXECDIR%%/imapd-ssl.rc
|
||||||
%%LIBEXECDIR%%/imapd.rc
|
%%LIBEXECDIR%%/imapd.rc
|
||||||
%%LIBEXECDIR%%/makedatprog
|
%%LIBEXECDIR%%/makedatprog
|
||||||
%%LIBEXECDIR%%/pop3d-ssl.rc
|
%%LIBEXECDIR%%/pop3d-ssl.rc
|
||||||
%%LIBEXECDIR%%/pop3d.rc
|
%%LIBEXECDIR%%/pop3d.rc
|
||||||
sbin/authenumerate
|
|
||||||
sbin/courierlogger
|
|
||||||
sbin/imaplogin
|
sbin/imaplogin
|
||||||
sbin/makeuserdb
|
|
||||||
sbin/mkimapdcert
|
sbin/mkimapdcert
|
||||||
sbin/mkpop3dcert
|
sbin/mkpop3dcert
|
||||||
sbin/pop3login
|
sbin/pop3login
|
||||||
sbin/pw2userdb
|
|
||||||
sbin/sharedindexinstall
|
sbin/sharedindexinstall
|
||||||
sbin/sharedindexsplit
|
sbin/sharedindexsplit
|
||||||
sbin/userdb
|
|
||||||
sbin/userdbpw
|
|
||||||
sbin/vchkpw2userdb
|
|
||||||
share/courier-imap/makeuserdb
|
|
||||||
share/courier-imap/mkimapdcert
|
share/courier-imap/mkimapdcert
|
||||||
share/courier-imap/mkpop3dcert
|
share/courier-imap/mkpop3dcert
|
||||||
share/courier-imap/pw2userdb
|
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||||
share/courier-imap/userdb
|
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
|
||||||
share/courier-imap/vchkpw2userdb
|
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
||||||
%%DOCSDIR%%/AUTHORS
|
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
||||||
%%DOCSDIR%%/ChangeLog
|
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||||
%%DOCSDIR%%/INSTALL
|
%%PORTDOCS%%%%DOCSDIR%%/README.proxy
|
||||||
%%DOCSDIR%%/README
|
%%PORTDOCS%%%%DOCSDIR%%/README.imapkeywords.html
|
||||||
%%AUTHDFLAG%%@unexec rmdir %D/var/authdaemon 2>/dev/null || true
|
%%PORTDOCS%%%%DOCSDIR%%/README.maildirfilter.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.maildirquota.txt
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.sharedfolders.txt
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.couriertls
|
||||||
@unexec rmdir %D/var 2>/dev/null || true
|
@unexec rmdir %D/var 2>/dev/null || true
|
||||||
@dirrm %%DOCSDIR%%
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||||
@dirrm share/courier-imap
|
@dirrm share/courier-imap
|
||||||
@unexec rmdir %D/%%LIBEXECDIR%%/authlib 2>/dev/null || true
|
@unexec rmdir %D/%%LIBEXECDIR%%/authlib 2>/dev/null || true
|
||||||
@dirrm %%LIBEXECDIR%%
|
@dirrm %%LIBEXECDIR%%
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= sqwebmail
|
PORTNAME= sqwebmail
|
||||||
PORTVERSION= 4.0.7
|
PORTVERSION= 5.0.0
|
||||||
PORTREVISION= 1
|
PORTREVISION= 0
|
||||||
CATEGORIES= mail www
|
CATEGORIES= mail www
|
||||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
MASTER_SITE_SUBDIR= courier
|
MASTER_SITE_SUBDIR= courier
|
||||||
|
@ -15,6 +15,11 @@ MASTER_SITE_SUBDIR= courier
|
||||||
MAINTAINER= oliver@FreeBSD.org
|
MAINTAINER= oliver@FreeBSD.org
|
||||||
COMMENT= CGI Webmail client for Maildirs
|
COMMENT= CGI Webmail client for Maildirs
|
||||||
|
|
||||||
|
BUILD_DEPENDS= ${LOCALBASE}/bin/courierauthconfig:${PORTSDIR}/mail/courier-authlib
|
||||||
|
RUN_DEPENDS= ${LOCALBASE}/bin/courierauthconfig:${PORTSDIR}/mail/courier-authlib
|
||||||
|
|
||||||
|
CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include"
|
||||||
|
|
||||||
#
|
#
|
||||||
# User-serviceable variables
|
# User-serviceable variables
|
||||||
#
|
#
|
||||||
|
@ -25,6 +30,8 @@ COMMENT= CGI Webmail client for Maildirs
|
||||||
# set WEBDATADIR to where you'd like web pages to be placed
|
# set WEBDATADIR to where you'd like web pages to be placed
|
||||||
# set WEBDATASUBDIR to where you'd like web pages to be placed
|
# set WEBDATASUBDIR to where you'd like web pages to be placed
|
||||||
# set IMAGEURL to where on the web server URL the images are found
|
# set IMAGEURL to where on the web server URL the images are found
|
||||||
|
# set CACHEOWNER to who you'd like to own the cache files
|
||||||
|
# set CACHEDIR to where you'd like your cache directory to be
|
||||||
#
|
#
|
||||||
|
|
||||||
CGIBINDIR?= www/cgi-bin-dist
|
CGIBINDIR?= www/cgi-bin-dist
|
||||||
|
@ -32,23 +39,21 @@ CGIBINSUBDIR?= sqwebmail
|
||||||
WEBDATADIR?= www/data-dist
|
WEBDATADIR?= www/data-dist
|
||||||
WEBDATASUBDIR?= sqwebmail
|
WEBDATASUBDIR?= sqwebmail
|
||||||
IMAGEURL?= ${WEBDATASUBDIR}
|
IMAGEURL?= ${WEBDATASUBDIR}
|
||||||
|
RCDIR?= ${PREFIX}/etc/rc.d
|
||||||
|
CACHEDIR?= ${PREFIX}/var/sqwebmail/cache
|
||||||
|
CACHEOWNER?= bin
|
||||||
|
|
||||||
#
|
#
|
||||||
# set WITHOUT_CACHEDIR to disable the cache dir (can't set it with WITH_LDAP)
|
# set WITHOUT_CACHEDIR to disable the cache dir
|
||||||
# set WITHOUT_AUTHDAEMON to disable the usage of authdaemond
|
|
||||||
# set CACHEOWNER to who you'd like to own the cache files
|
|
||||||
# set CACHEDIR to where you'd like your cache directory to be
|
|
||||||
# set WITH_LDAP for LDAP authentication and addressbook support
|
|
||||||
# set WITH_HTTPS to generate https:// URLs for all accesses
|
# set WITH_HTTPS to generate https:// URLs for all accesses
|
||||||
# set WITH_HTTPS=login to generate https:// URLs for only password access
|
# set WITH_HTTPS=login to generate https:// URLs for only password access
|
||||||
# set WITH_VCHKPW for vpopmail authentication
|
|
||||||
# set WITH_ISPELL to provide spell-checking
|
# set WITH_ISPELL to provide spell-checking
|
||||||
# set WITH_MIMETYPES to enable the search for a mime.types file
|
# set WITH_MIMETYPES to enable the search for a mime.types file
|
||||||
# set WITH_TIMEOUTHARD to something other than 7200 seconds (2hr)
|
# set WITH_TIMEOUTHARD to something other than 7200 seconds (2hr)
|
||||||
# set WITH_TIMEOUTSOFT to something other than 1200 seconds (20m)
|
# set WITH_TIMEOUTSOFT to something other than 1200 seconds (20m)
|
||||||
# set WITHOUT_SENTRENAME to turn off periodic renaming of the Sent folder
|
# set WITHOUT_SENTRENAME to turn off periodic renaming of the Sent folder
|
||||||
# set WITHOUT_IMAP if you don't use the Courier IMAP server
|
# set WITHOUT_IMAP if you don't use the Courier IMAP server
|
||||||
# set VCHKPWLOC to the home of the vpopmail user, if necessary
|
# set WITHOUT_GZIP for not using gzip to compress messages
|
||||||
#
|
#
|
||||||
# The following settings are in bytes:
|
# The following settings are in bytes:
|
||||||
# set WITH_MAXMSGSIZE to max size of messages (including attachments)
|
# set WITH_MAXMSGSIZE to max size of messages (including attachments)
|
||||||
|
@ -57,11 +62,11 @@ IMAGEURL?= ${WEBDATASUBDIR}
|
||||||
#
|
#
|
||||||
# set WITH_CHARSET=chset,chset,... to enable charsets.
|
# set WITH_CHARSET=chset,chset,... to enable charsets.
|
||||||
# Set it to "all" will enable all unicode charset mappings.
|
# Set it to "all" will enable all unicode charset mappings.
|
||||||
# For available charsets just type "iconv -l"
|
# "iconv -l" may give you an idea of some usable character sets, although
|
||||||
|
# this is not exactly the same as the set which sqwebmail provides.
|
||||||
CACHEDIR?= /var/sqwebmail/cache
|
# Do not forget the template character set and UTF-8. For example, to be
|
||||||
CACHEOWNER?= bin
|
# able to read ISO-8859-15 correctly, you need at least
|
||||||
VCHKPWLOC?= ${LOCALBASE}/vpopmail
|
# WITH_CHARSET=ISO-8859-15,ISO-8859-1,UTF-8
|
||||||
|
|
||||||
# End of user variables
|
# End of user variables
|
||||||
|
|
||||||
|
@ -71,19 +76,24 @@ HAS_CONFIGURE= YES
|
||||||
USE_BZIP2= YES
|
USE_BZIP2= YES
|
||||||
USE_REINPLACE= YES
|
USE_REINPLACE= YES
|
||||||
USE_GETTEXT= YES
|
USE_GETTEXT= YES
|
||||||
USE_LIBTOOL_VER=13
|
USE_GMAKE= YES
|
||||||
|
USE_RC_SUBR= YES
|
||||||
|
USE_LIBTOOL_VER=15
|
||||||
|
|
||||||
CONFIGURE_ARGS= \
|
CONFIGURE_ARGS= --enable-cgibindir=${PREFIX}/${CGIBINDIR}/${CGIBINSUBDIR} \
|
||||||
--enable-cgibindir=${PREFIX}/${CGIBINDIR}/${CGIBINSUBDIR} \
|
|
||||||
--enable-imagedir=${PREFIX}/${WEBDATADIR}/${WEBDATASUBDIR} \
|
--enable-imagedir=${PREFIX}/${WEBDATADIR}/${WEBDATASUBDIR} \
|
||||||
--libexecdir=${PREFIX}/libexec/sqwebmail \
|
--localstatedir=${PREFIX}/var/sqwebmail \
|
||||||
|
--sysconfdir=${PREFIX}/etc/sqwebmail \
|
||||||
--mandir=${PREFIX}/man \
|
--mandir=${PREFIX}/man \
|
||||||
--enable-imageurl=/${IMAGEURL} \
|
--enable-imageurl=/${IMAGEURL} \
|
||||||
--with-locking-method=fcntl \
|
--with-locking-method=fcntl \
|
||||||
--with-libintl-prefix=${LOCALBASE} \
|
--with-libintl-prefix=${LOCALBASE} \
|
||||||
--with-libiconv-prefix=${LOCALBASE}
|
--with-libiconv-prefix=${LOCALBASE}
|
||||||
|
|
||||||
PLIST_SUB+= CGIBINDIR=${CGIBINDIR} CGIBINSUBDIR=${CGIBINSUBDIR} WEBDATADIR=${WEBDATADIR} WEBDATASUBDIR=${WEBDATASUBDIR}
|
PLIST_SUB+= CGIBINDIR=${CGIBINDIR} \
|
||||||
|
CGIBINSUBDIR=${CGIBINSUBDIR} \
|
||||||
|
WEBDATADIR=${WEBDATADIR} \
|
||||||
|
WEBDATASUBDIR=${WEBDATASUBDIR}
|
||||||
|
|
||||||
.if defined(WITHOUT_CACHEDIR)
|
.if defined(WITHOUT_CACHEDIR)
|
||||||
PLIST_SUB+= CACHE="@comment "
|
PLIST_SUB+= CACHE="@comment "
|
||||||
|
@ -92,36 +102,6 @@ CONFIGURE_ARGS+= --without-cachedir
|
||||||
PLIST_SUB+= CACHE=""
|
PLIST_SUB+= CACHE=""
|
||||||
CONFIGURE_ARGS+= --with-cachedir=${CACHEDIR} \
|
CONFIGURE_ARGS+= --with-cachedir=${CACHEDIR} \
|
||||||
--with-cacheowner=${CACHEOWNER}
|
--with-cacheowner=${CACHEOWNER}
|
||||||
|
|
||||||
.endif
|
|
||||||
.if !defined(WITHOUT_AUTHDAEMON)
|
|
||||||
CONFIGURE_ARGS+= --with-authdaemon
|
|
||||||
PLIST_SUB+= AUTHDFLAG=""
|
|
||||||
.else
|
|
||||||
CONFIGURE_ARGS+= --without-authdaemon
|
|
||||||
PLIST_SUB+= AUTHDFLAG="@comment "
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if defined(WITH_LDAP)
|
|
||||||
USE_OPENLDAP= YES
|
|
||||||
CONFIGURE_ARGS+= --with-authldap
|
|
||||||
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
|
|
||||||
LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
|
|
||||||
PLIST_SUB+= LDAPFLAG=""
|
|
||||||
.else
|
|
||||||
CONFIGURE_ARGS+= --without-authldap
|
|
||||||
PLIST_SUB+= LDAPFLAG="@comment "
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if defined(WITH_VCHKPW)
|
|
||||||
BUILD_DEPENDS+= ${VCHKPWLOC}/lib/libvpopmail.a:${PORTSDIR}/mail/vpopmail
|
|
||||||
RUN_DEPENDS+= ${VCHKPWLOC}/bin/vchkpw:${PORTSDIR}/mail/vpopmail
|
|
||||||
|
|
||||||
CONFIGURE_ARGS+= --with-authvchkpw
|
|
||||||
PLIST_SUB+= VPOPMAILFLAG=""
|
|
||||||
.else
|
|
||||||
CONFIGURE_ARGS+= --without-authvchkpw
|
|
||||||
PLIST_SUB+= VPOPMAILFLAG="@comment "
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_HTTPS)
|
.if defined(WITH_HTTPS)
|
||||||
|
@ -140,26 +120,13 @@ CONFIGURE_ARGS+= --disable-autorenamesent
|
||||||
CONFIGURE_ARGS+= --disable-utf7-folder-encoding
|
CONFIGURE_ARGS+= --disable-utf7-folder-encoding
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_MYSQL)
|
.if defined(WITHOUT_GZIP)
|
||||||
CONFIGURE_ARGS+= --with-authmysql
|
CONFIGURE_ARGS+= --without-gzip
|
||||||
PLIST_SUB+= MYSQLFLAG=""
|
|
||||||
.else
|
|
||||||
CONFIGURE_ARGS+= --without-authmysql
|
|
||||||
PLIST_SUB+= MYSQLFLAG="@comment "
|
|
||||||
.endif
|
|
||||||
|
|
||||||
.if defined(WITH_POSTGRESQL)
|
|
||||||
CONFIGURE_ARGS+= --with-authpgsql
|
|
||||||
PLIST_SUB+= PGSQLFLAG=""
|
|
||||||
.else
|
|
||||||
CONFIGURE_ARGS+= --without-authpgsql
|
|
||||||
PLIST_SUB+= PGSQLFLAG="@comment "
|
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
.if defined(WITH_ISPELL)
|
.if defined(WITH_ISPELL)
|
||||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/ispell:${PORTSDIR}/textproc/ispell
|
BUILD_DEPENDS+= ${LOCALBASE}/bin/ispell:${PORTSDIR}/textproc/ispell
|
||||||
RUN_DEPENDS+= ${LOCALBASE}/bin/ispell:${PORTSDIR}/textproc/ispell
|
RUN_DEPENDS+= ${LOCALBASE}/bin/ispell:${PORTSDIR}/textproc/ispell
|
||||||
|
|
||||||
CONFIGURE_ARGS+= --with-ispell=${LOCALBASE}/bin/ispell
|
CONFIGURE_ARGS+= --with-ispell=${LOCALBASE}/bin/ispell
|
||||||
.else
|
.else
|
||||||
CONFIGURE_ARGS+= --without-ispell
|
CONFIGURE_ARGS+= --without-ispell
|
||||||
|
@ -197,34 +164,20 @@ CONFIGURE_ARGS+= --enable-unicode=${WITH_CHARSET}
|
||||||
.endif
|
.endif
|
||||||
.endif
|
.endif
|
||||||
|
|
||||||
|
RC_SCRIPTS_SUB= PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
|
||||||
|
|
||||||
MAN1= maildirmake.1
|
MAN1= maildirmake.1
|
||||||
MAN7= authlib.7
|
MAN8= deliverquota.8
|
||||||
MAN8= deliverquota.8 makeuserdb.8 userdb.8 userdbpw.8
|
|
||||||
|
|
||||||
MLINKS= authlib.7 authcram.7 \
|
EXTRA_DOCS= README README.logindomainlist.html README.pam sqwebmail/ChangeLog \
|
||||||
authlib.7 authdaemon.7 \
|
maildir/README.maildirquota.txt maildir/README.sharedfolders.txt
|
||||||
authlib.7 authdaemond.7 \
|
|
||||||
authlib.7 authldap.7 \
|
|
||||||
authlib.7 authpam.7 \
|
|
||||||
authlib.7 authpwd.7 \
|
|
||||||
authlib.7 authshadow.7 \
|
|
||||||
authlib.7 authuserdb.7 \
|
|
||||||
authlib.7 authvchkpw.7 \
|
|
||||||
authlib.7 authmysql.7 \
|
|
||||||
makeuserdb.8 pw2userdb.8 \
|
|
||||||
makeuserdb.8 vchkpw2userdb.8
|
|
||||||
|
|
||||||
CONFIGURE_ARGS+= ${CONFIGURE_TARGET}
|
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|^@INSTALLAUTHMODULES@$$|& @AUTHMODULES@|' \
|
|
||||||
${WRKSRC}/authlib/installlist.in
|
|
||||||
|
|
||||||
@${REINPLACE_CMD} -e 's|^case x$$lockmethod in|${TEST} \&\& &|g' \
|
@${REINPLACE_CMD} -e 's|^case x$$lockmethod in|${TEST} \&\& &|g' \
|
||||||
${WRKSRC}/liblock/configure
|
${WRKSRC}/liblock/configure
|
||||||
|
|
||||||
@${FIND} ${WRKSRC} -name configure | ${XARGS} ${REINPLACE_CMD} \
|
@${REINPLACE_CMD} -e 's|@LIBS@|@LIBS@ -rpath=:${LOCALBASE}/lib/courier-authlib|' \
|
||||||
-e 's|prefix=\$$ac_optarg|&/share/sqwebmail|g'
|
${WRKSRC}/sqwebmail/Makefile.in
|
||||||
|
|
||||||
@${REINPLACE_CMD} -e 's|mkdir -p|${MKDIR}|g' ${WRKSRC}/pcp/configure
|
@${REINPLACE_CMD} -e 's|mkdir -p|${MKDIR}|g' ${WRKSRC}/pcp/configure
|
||||||
|
|
||||||
|
@ -233,19 +186,22 @@ post-patch:
|
||||||
${WRKSRC}/pcp/intl/Makefile.in
|
${WRKSRC}/pcp/intl/Makefile.in
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${INSTALL_SCRIPT} ${FILESDIR}/sqwebmail-sqwebmaild.sh \
|
${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
||||||
${PREFIX}/etc/rc.d/
|
${FILESDIR}/sqwebmail-sqwebmaild.sh > ${WRKDIR}/sqwebmail-sqwebmaild.sh
|
||||||
.if !defined(WITHOUT_AUTHDAEMON)
|
${INSTALL_SCRIPT} ${WRKDIR}/sqwebmail-sqwebmaild.sh ${RCDIR}/sqwebmail-sqwebmaild.sh
|
||||||
${INSTALL_SCRIPT} ${FILESDIR}/sqwebmail-authdaemond.sh \
|
|
||||||
${PREFIX}/etc/rc.d/
|
|
||||||
.endif
|
|
||||||
@${ECHO_MSG} ""
|
|
||||||
@${ECHO_MSG} "*************************************************************************"
|
|
||||||
@${ECHO_MSG} "******* Make shure to run 'make install-configure' now! *******"
|
|
||||||
@${ECHO_MSG} "*************************************************************************"
|
|
||||||
@${ECHO_MSG} ""
|
|
||||||
|
|
||||||
install-configure:
|
.if !defined(NOPORTDOCS)
|
||||||
cd ${WRKSRC} && ${GMAKE} install-configure
|
@${MKDIR} ${DOCSDIR}
|
||||||
|
.for a in ${EXTRA_DOCS}
|
||||||
|
${INSTALL_DATA} ${WRKSRC}/${a} ${DOCSDIR}
|
||||||
|
.endfor
|
||||||
|
.endif
|
||||||
|
cd ${WRKSRC} && ( ${MAKE} install-configure ; cd - )
|
||||||
|
|
||||||
|
@${ECHO_MSG} ""
|
||||||
|
@${ECHO_MSG} "Add the following line to your /etc/crontab to make shure the"
|
||||||
|
@${ECHO_MSG} "sqwebmail cache directory gets cleaned up."
|
||||||
|
@${ECHO_MSG} "0 * * * * ${CACHEOWNER} ${PREFIX}/share/sqwebmail/cleancache.pl"
|
||||||
|
@${ECHO_MSG} ""
|
||||||
|
|
||||||
.include <bsd.port.mk>
|
.include <bsd.port.mk>
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
MD5 (sqwebmail-4.0.7.tar.bz2) = 656e5d22cecab535f57a24407d39cd55
|
MD5 (sqwebmail-5.0.0.tar.bz2) = f6d57fd7b1cbf7044d5d20e89d147b22
|
||||||
SIZE(sqwebmail-4.0.7.tar.bz2) = 1972370
|
SIZE(sqwebmail-5.0.0.tar.bz2) = 3146311
|
||||||
|
|
|
@ -1,13 +0,0 @@
|
||||||
--- authlib/configure.orig Wed Mar 3 05:54:13 2004
|
|
||||||
+++ authlib/configure Tue Mar 16 19:36:40 2004
|
|
||||||
@@ -1268,6 +1268,10 @@
|
|
||||||
{ (exit 1); exit 1; }; }
|
|
||||||
fi
|
|
||||||
|
|
||||||
+CFLAGS="$CFLAGS -I%%LOCALBASE%%/include"
|
|
||||||
+CPPFLAGS="$CPPFLAGS -I%%LOCALBASE%%/include"
|
|
||||||
+LDFLAGS="-L%%LOCALBASE%%/lib $LDFLAGS"
|
|
||||||
+
|
|
||||||
ac_ext=c
|
|
||||||
ac_cpp='$CPP $CPPFLAGS'
|
|
||||||
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
|
|
|
@ -1,13 +0,0 @@
|
||||||
--- sqwebmail/maildir.c.orig Fri May 28 21:22:37 2004
|
|
||||||
+++ sqwebmail/maildir.c Fri May 28 21:23:00 2004
|
|
||||||
@@ -1488,8 +1488,8 @@
|
|
||||||
as=rfc2047_decode_unicode(a, &unicode_UTF8, 0);
|
|
||||||
bs=rfc2047_decode_unicode(b, &unicode_UTF8, 0);
|
|
||||||
#else
|
|
||||||
- as=rfc2047_decode_simple(a, &unicode_UTF8);
|
|
||||||
- bs=rfc2047_decode_simple(b, &unicode_UTF8);
|
|
||||||
+ as=rfc2047_decode_simple(a);
|
|
||||||
+ bs=rfc2047_decode_simple(b);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if (as)
|
|
|
@ -1,21 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then
|
|
||||||
echo "$0: Cannot determine the PREFIX" >&2
|
|
||||||
exit 1
|
|
||||||
fi
|
|
||||||
|
|
||||||
case "$1" in
|
|
||||||
start)
|
|
||||||
[ -r ${PREFIX}/share/sqwebmail/authdaemonrc ] && ${PREFIX}/libexec/sqwebmail/authlib/authdaemond start > /dev/null && echo -n ' authdaemond'
|
|
||||||
;;
|
|
||||||
stop)
|
|
||||||
${PREFIX}/libexec/sqwebmail/authlib/authdaemond stop > /dev/null && echo -n ' authdaemond'
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
echo "Usage: `basename $0` {start|stop}" >&2
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
exit 0
|
|
||||||
|
|
|
@ -1,21 +1,52 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
#
|
||||||
|
# An rc.subr-style startup script for courier-authdaemond service.
|
||||||
|
|
||||||
if ! PREFIX=$(expr $0 : "\(/.*\)/etc/rc\.d/$(basename $0)\$"); then
|
# PROVIDE: sqwebmaild
|
||||||
echo "$0: Cannot determine the PREFIX" >&2
|
# REQUIRE: LOGIN sqwebmaild
|
||||||
exit 1
|
# KEYWORD: FreeBSD shutdown
|
||||||
fi
|
|
||||||
|
|
||||||
case "$1" in
|
# Define these sqwebmaild_* variables in one of these files:
|
||||||
start)
|
# /etc/rc.conf
|
||||||
${PREFIX}/libexec/sqwebmail/sqwebmaild.rc start && echo -n ' sqwebmaild'
|
# /etc/rc.conf.local
|
||||||
|
# /etc/rc.conf.d/sqwebmaild
|
||||||
|
#
|
||||||
|
# DO NOT CHANGE THESE DEFAULT VALUES HERE
|
||||||
|
|
||||||
|
sqwebmaild_enable=${sqwebmaild_enable-"NO"}
|
||||||
|
|
||||||
|
. %%RC_SUBR%%
|
||||||
|
|
||||||
|
name="sqwebmaild"
|
||||||
|
rcvar=`set_rcvar`
|
||||||
|
command="%%PREFIX%%/libexec/sqwebmaild.rc"
|
||||||
|
|
||||||
|
start_cmd="sqwebmaild_cmd start"
|
||||||
|
stop_cmd="sqwebmaild_cmd stop"
|
||||||
|
restart_cmd="sqwebmaild_cmd stop && sqwebmaild_cmd start"
|
||||||
|
pidfile="%%PREFIX%%/var/sqwebmail/run/sqwebmaild.pid"
|
||||||
|
procname="%%PREFIX%%/sbin/courierlogger"
|
||||||
|
|
||||||
|
load_rc_config $name
|
||||||
|
|
||||||
|
sqwebmaild_cmd () {
|
||||||
|
case $1 in
|
||||||
|
start)
|
||||||
|
echo "Starting ${name}."
|
||||||
|
${command} start
|
||||||
;;
|
;;
|
||||||
stop)
|
stop)
|
||||||
${PREFIX}/libexec/sqwebmail/sqwebmaild.rc stop && echo -n ' sqwebmaild'
|
echo "Stopping ${name}."
|
||||||
|
${command} stop
|
||||||
|
if [ $? -eq 0 ] ; then
|
||||||
|
for file in "$pidfile" "$pidfile".lock "$pidfile".pcp.lock %%PREFIX%%/var/sqwebmail/sqwebmail.sock ; do
|
||||||
|
[ -f "$file" -o -S "$file" ] && rm -f "$file"
|
||||||
|
done
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
*)
|
esac
|
||||||
echo "Usage: `basename $0` {start|stop}" >&2
|
}
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
exit 0
|
run_rc_command "$1"
|
||||||
|
|
||||||
|
|
|
@ -1,34 +1,18 @@
|
||||||
%%AUTHDFLAG%%etc/rc.d/sqwebmail-authdaemond.sh
|
etc/sqwebmail/ldapaddressbook.dist
|
||||||
|
etc/sqwebmail/sqwebmaild.dist
|
||||||
|
etc/sqwebmail/nodsn
|
||||||
etc/rc.d/sqwebmail-sqwebmaild.sh
|
etc/rc.d/sqwebmail-sqwebmaild.sh
|
||||||
libexec/sqwebmail/authlib/authcram
|
libexec/sqwebmail/deliverquota
|
||||||
libexec/sqwebmail/authlib/authcustom
|
libexec/sqwebmail/maildirmake
|
||||||
%%AUTHDFLAG%%libexec/sqwebmail/authlib/authdaemon
|
libexec/sqwebmail/makemime
|
||||||
%%AUTHDFLAG%%libexec/sqwebmail/authlib/authdaemon.passwd
|
libexec/sqwebmail/pcpd
|
||||||
%%AUTHDFLAG%%libexec/sqwebmail/authlib/authdaemond
|
libexec/sqwebmail/reformime
|
||||||
%%LDAPFLAG%%libexec/sqwebmail/authlib/authdaemond.ldap
|
libexec/sqwebmail/sqwebmaild
|
||||||
%%LDAPFLAG%%libexec/sqwebmail/authlib/authldap
|
libexec/sqwebmail/sqwebpasswd
|
||||||
%%PGSQLFLAG%%libexec/sqwebmail/authlib/authdaemond.pgsql
|
libexec/sqwebmaild.rc
|
||||||
%%AUTHDFLAG%%libexec/sqwebmail/authlib/authdaemond.plain
|
|
||||||
%%MYSQLFLAG%%libexec/sqwebmail/authlib/authdaemond.mysql
|
|
||||||
%%MYSQLFLAG%%libexec/sqwebmail/authlib/authmysql
|
|
||||||
%%VPOPMAILFLAG%%libexec/sqwebmail/authlib/authvchkpw
|
|
||||||
libexec/sqwebmail/authlib/authpam
|
|
||||||
libexec/sqwebmail/authlib/authsystem.passwd
|
|
||||||
libexec/sqwebmail/authlib/authuserdb
|
|
||||||
libexec/sqwebmail/sqwebmail/authenumerate
|
|
||||||
libexec/sqwebmail/sqwebmail/deliverquota
|
|
||||||
libexec/sqwebmail/sqwebmail/maildirmake
|
|
||||||
libexec/sqwebmail/sqwebmail/makedatprog
|
|
||||||
libexec/sqwebmail/sqwebmail/makemime
|
|
||||||
libexec/sqwebmail/sqwebmail/pcpd
|
|
||||||
libexec/sqwebmail/sqwebmail/reformime
|
|
||||||
libexec/sqwebmail/sqwebmail/sqwebmaild
|
|
||||||
libexec/sqwebmail/sqwebmaild.rc
|
|
||||||
%%AUTHDFLAG%%share/sqwebmail/authdaemonrc.dist
|
|
||||||
%%LDAPFLAG%%share/sqwebmail/authldaprc.dist
|
|
||||||
%%MYSQLFLAG%%share/sqwebmail/authmysqlrc.dist
|
|
||||||
%%PGSQLFLAG%%share/sqwebmail/authpgsqlrc.dist
|
|
||||||
%%CACHE%%@unexec %D/share/sqwebmail/cleancache.pl
|
%%CACHE%%@unexec %D/share/sqwebmail/cleancache.pl
|
||||||
|
sbin/sharedindexinstall
|
||||||
|
sbin/sharedindexsplit
|
||||||
share/sqwebmail/cleancache.pl
|
share/sqwebmail/cleancache.pl
|
||||||
share/sqwebmail/html/en
|
share/sqwebmail/html/en
|
||||||
share/sqwebmail/html/en-us/CHARSET
|
share/sqwebmail/html/en-us/CHARSET
|
||||||
|
@ -79,36 +63,28 @@ share/sqwebmail/html/en-us/readmsg.html
|
||||||
share/sqwebmail/html/en-us/redirect.html
|
share/sqwebmail/html/en-us/redirect.html
|
||||||
share/sqwebmail/html/en-us/smileys.txt
|
share/sqwebmail/html/en-us/smileys.txt
|
||||||
share/sqwebmail/html/en-us/spellchk.html
|
share/sqwebmail/html/en-us/spellchk.html
|
||||||
share/sqwebmail/ldapaddressbook.dist
|
|
||||||
share/sqwebmail/ldapsearch
|
share/sqwebmail/ldapsearch
|
||||||
share/sqwebmail/nodsn
|
|
||||||
share/sqwebmail/sbin/courierlogger
|
|
||||||
share/sqwebmail/sbin/makeuserdb
|
|
||||||
share/sqwebmail/sbin/pw2userdb
|
|
||||||
share/sqwebmail/sbin/sharedindexinstall
|
|
||||||
share/sqwebmail/sbin/sharedindexsplit
|
|
||||||
share/sqwebmail/sbin/userdb
|
|
||||||
share/sqwebmail/sbin/userdbpw
|
|
||||||
share/sqwebmail/sbin/vchkpw2userdb
|
|
||||||
share/sqwebmail/sendit.sh
|
share/sqwebmail/sendit.sh
|
||||||
share/sqwebmail/sqwebmaild.dist
|
|
||||||
share/sqwebmail/webgpg
|
share/sqwebmail/webgpg
|
||||||
@dirrm share/sqwebmail/var/calendar/public
|
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||||
@dirrm share/sqwebmail/var/calendar/private
|
%%PORTDOCS%%%%DOCSDIR%%/README.logindomainlist.html
|
||||||
@dirrm share/sqwebmail/var/calendar/localcache
|
%%PORTDOCS%%%%DOCSDIR%%/README.pam
|
||||||
@dirrm share/sqwebmail/var/calendar
|
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
||||||
%%AUTHDFLAG%%@dirrm share/sqwebmail/var/authdaemon
|
%%PORTDOCS%%%%DOCSDIR%%/README.maildirquota.txt
|
||||||
@dirrm share/sqwebmail/var
|
%%PORTDOCS%%%%DOCSDIR%%/README.sharedfolders.txt
|
||||||
@dirrm share/sqwebmail/share
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||||
@dirrm share/sqwebmail/sbin
|
@dirrm etc/sqwebmail
|
||||||
|
%%CACHE%%@dirrm var/sqwebmail/cache
|
||||||
|
@dirrm var/sqwebmail/calendar/public
|
||||||
|
@dirrm var/sqwebmail/calendar/private
|
||||||
|
@dirrm var/sqwebmail/calendar/localcache
|
||||||
|
@dirrm var/sqwebmail/calendar
|
||||||
|
@dirrm var/sqwebmail/run
|
||||||
|
@dirrm var/sqwebmail
|
||||||
@dirrm share/sqwebmail/html/en-us
|
@dirrm share/sqwebmail/html/en-us
|
||||||
@dirrm share/sqwebmail/html
|
@dirrm share/sqwebmail/html
|
||||||
@dirrm share/sqwebmail
|
@dirrm share/sqwebmail
|
||||||
@dirrm libexec/sqwebmail/sqwebmail
|
|
||||||
@dirrm libexec/sqwebmail/authlib
|
|
||||||
@dirrm libexec/sqwebmail
|
@dirrm libexec/sqwebmail
|
||||||
%%CACHE%%@unexec rmdir /var/sqwebmail/cache 2> /dev/null || true
|
|
||||||
%%CACHE%%@unexec rmdir /var/sqwebmail 2> /dev/null || true
|
|
||||||
%%CGIBINDIR%%/%%CGIBINSUBDIR%%/sqwebmail
|
%%CGIBINDIR%%/%%CGIBINSUBDIR%%/sqwebmail
|
||||||
@unexec /bin/rmdir %D/%%CGIBINDIR%%/%%CGIBINSUBDIR%% 2> /dev/null || true
|
@unexec /bin/rmdir %D/%%CGIBINDIR%%/%%CGIBINSUBDIR%% 2> /dev/null || true
|
||||||
@unexec /bin/rmdir %D/%%CGIBINDIR%% 2> /dev/null || true
|
@unexec /bin/rmdir %D/%%CGIBINDIR%% 2> /dev/null || true
|
||||||
|
|
|
@ -6,9 +6,10 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= courier-authlib
|
PORTNAME= courier-authlib
|
||||||
PORTVERSION= 0.51
|
PORTVERSION= 0.52
|
||||||
CATEGORIES= mail
|
CATEGORIES= mail
|
||||||
MASTER_SITES= http://www.courier-mta.org/beta/courier-authlib/
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
|
MASTER_SITE_SUBDIR= courier
|
||||||
|
|
||||||
MAINTAINER= oliver@FreeBSD.org
|
MAINTAINER= oliver@FreeBSD.org
|
||||||
COMMENT= Authentication library used by courier ports
|
COMMENT= Authentication library used by courier ports
|
||||||
|
@ -41,6 +42,7 @@ CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
||||||
|
|
||||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||||
CONFIGURE_ARGS= --without-authshadow \
|
CONFIGURE_ARGS= --without-authshadow \
|
||||||
|
--without-authcustom \
|
||||||
--enable-unicode \
|
--enable-unicode \
|
||||||
--enable-ltdl-install=no
|
--enable-ltdl-install=no
|
||||||
|
|
||||||
|
@ -108,7 +110,10 @@ MAN3= authlib.3 auth_generic.3 auth_login.3 auth_getuserinfo.3 \
|
||||||
|
|
||||||
MAN8= makeuserdb.8 userdb.8 userdbpw.8
|
MAN8= makeuserdb.8 userdb.8 userdbpw.8
|
||||||
|
|
||||||
EXTRA_DOCS= README INSTALL AUTHORS ChangeLog
|
EXTRA_DOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README \
|
||||||
|
README.authdebug.html README.authmysql.html \
|
||||||
|
README.authmysql.myownquery README.authpostgres.html \
|
||||||
|
README.ldap README_authlib.html
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|$$VPOPMAILLIBS|& -lcrypt|g ; \
|
@${REINPLACE_CMD} -e 's|$$VPOPMAILLIBS|& -lcrypt|g ; \
|
||||||
|
@ -116,6 +121,8 @@ post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|%%INSTALL_MAN%%|${INSTALL_MAN}|' \
|
@${REINPLACE_CMD} -e 's|%%INSTALL_MAN%%|${INSTALL_MAN}|' \
|
||||||
${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in \
|
${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in \
|
||||||
${WRKSRC}/liblog/Makefile.in ${WRKSRC}/userdb/Makefile.in
|
${WRKSRC}/liblog/Makefile.in ${WRKSRC}/userdb/Makefile.in
|
||||||
|
@${REINPLACE_CMD} -e 's|DEFAULTOPTIONS=""|DEFAULTOPTIONS="wbnodsn=1"|' \
|
||||||
|
${WRKSRC}/authdaemonrc.in
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
MD5 (courier-authlib-0.51.tar.bz2) = 89cb2db63b3f6d402e435331e391ef80
|
MD5 (courier-authlib-0.52.tar.bz2) = 2ad6837c1eec7582f8634c320f45b2dc
|
||||||
SIZE(courier-authlib-0.51.tar.bz2) = 1964171
|
SIZE(courier-authlib-0.52.tar.bz2) = 1965591
|
||||||
|
|
|
@ -24,6 +24,8 @@ command="%%PREFIX%%/sbin/authdaemond"
|
||||||
start_cmd="authdaemond_cmd start"
|
start_cmd="authdaemond_cmd start"
|
||||||
stop_cmd="authdaemond_cmd stop"
|
stop_cmd="authdaemond_cmd stop"
|
||||||
restart_cmd="authdaemond_cmd stop && authdaemond_cmd start"
|
restart_cmd="authdaemond_cmd stop && authdaemond_cmd start"
|
||||||
|
pidfile="%%PREFIX%%/var/spool/authdaemon/pid"
|
||||||
|
procname="%%PREFIX%%/sbin/courierlogger"
|
||||||
|
|
||||||
load_rc_config $name
|
load_rc_config $name
|
||||||
|
|
||||||
|
@ -36,6 +38,12 @@ authdaemond_cmd () {
|
||||||
stop)
|
stop)
|
||||||
echo "Stopping ${name}."
|
echo "Stopping ${name}."
|
||||||
${command} stop
|
${command} stop
|
||||||
|
if [ $? -eq 0 ] ; then
|
||||||
|
[ -f "$pidfile" ] && rm -f "$pidfile"
|
||||||
|
[ -f "$pidfile".lock ] && rm -f "$pidfile".lock
|
||||||
|
[ -S %%PREFIX%%/var/spool/authdaemon/socket ] && rm -f %%PREFIX%%/var/spool/authdaemon/socket
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,8 +21,6 @@ lib/courier-authlib/libcourierauthsaslclient.a
|
||||||
lib/courier-authlib/libcourierauthcommon.so.0
|
lib/courier-authlib/libcourierauthcommon.so.0
|
||||||
lib/courier-authlib/libcourierauthcommon.so
|
lib/courier-authlib/libcourierauthcommon.so
|
||||||
lib/courier-authlib/libcourierauthcommon.a
|
lib/courier-authlib/libcourierauthcommon.a
|
||||||
lib/courier-authlib/libauthcustom.so.0
|
|
||||||
lib/courier-authlib/libauthcustom.so
|
|
||||||
lib/courier-authlib/libauthuserdb.so.0
|
lib/courier-authlib/libauthuserdb.so.0
|
||||||
lib/courier-authlib/libauthuserdb.so
|
lib/courier-authlib/libauthuserdb.so
|
||||||
%%PAMFLAG%%lib/courier-authlib/libauthpam.so.0
|
%%PAMFLAG%%lib/courier-authlib/libauthpam.so.0
|
||||||
|
@ -48,9 +46,17 @@ sbin/userdb-test-cram-md5
|
||||||
sbin/userdbpw
|
sbin/userdbpw
|
||||||
sbin/vchkpw2userdb
|
sbin/vchkpw2userdb
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
|
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authdebug.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authmysql.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authmysql.myownquery
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authpostgres.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.ldap
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README_authlib.html
|
||||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||||
@unexec rmdir %D/var/authdaemon 2>/dev/null || true
|
@unexec rmdir %D/var/authdaemon 2>/dev/null || true
|
||||||
@unexec rmdir %D/var 2>/dev/null || true
|
@unexec rmdir %D/var 2>/dev/null || true
|
||||||
|
|
|
@ -6,9 +6,10 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= courier-authlib
|
PORTNAME= courier-authlib
|
||||||
PORTVERSION= 0.51
|
PORTVERSION= 0.52
|
||||||
CATEGORIES= mail
|
CATEGORIES= mail
|
||||||
MASTER_SITES= http://www.courier-mta.org/beta/courier-authlib/
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
|
MASTER_SITE_SUBDIR= courier
|
||||||
|
|
||||||
MAINTAINER= oliver@FreeBSD.org
|
MAINTAINER= oliver@FreeBSD.org
|
||||||
COMMENT= Authentication library used by courier ports
|
COMMENT= Authentication library used by courier ports
|
||||||
|
@ -41,6 +42,7 @@ CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
||||||
|
|
||||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||||
CONFIGURE_ARGS= --without-authshadow \
|
CONFIGURE_ARGS= --without-authshadow \
|
||||||
|
--without-authcustom \
|
||||||
--enable-unicode \
|
--enable-unicode \
|
||||||
--enable-ltdl-install=no
|
--enable-ltdl-install=no
|
||||||
|
|
||||||
|
@ -108,7 +110,10 @@ MAN3= authlib.3 auth_generic.3 auth_login.3 auth_getuserinfo.3 \
|
||||||
|
|
||||||
MAN8= makeuserdb.8 userdb.8 userdbpw.8
|
MAN8= makeuserdb.8 userdb.8 userdbpw.8
|
||||||
|
|
||||||
EXTRA_DOCS= README INSTALL AUTHORS ChangeLog
|
EXTRA_DOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README \
|
||||||
|
README.authdebug.html README.authmysql.html \
|
||||||
|
README.authmysql.myownquery README.authpostgres.html \
|
||||||
|
README.ldap README_authlib.html
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|$$VPOPMAILLIBS|& -lcrypt|g ; \
|
@${REINPLACE_CMD} -e 's|$$VPOPMAILLIBS|& -lcrypt|g ; \
|
||||||
|
@ -116,6 +121,8 @@ post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|%%INSTALL_MAN%%|${INSTALL_MAN}|' \
|
@${REINPLACE_CMD} -e 's|%%INSTALL_MAN%%|${INSTALL_MAN}|' \
|
||||||
${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in \
|
${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in \
|
||||||
${WRKSRC}/liblog/Makefile.in ${WRKSRC}/userdb/Makefile.in
|
${WRKSRC}/liblog/Makefile.in ${WRKSRC}/userdb/Makefile.in
|
||||||
|
@${REINPLACE_CMD} -e 's|DEFAULTOPTIONS=""|DEFAULTOPTIONS="wbnodsn=1"|' \
|
||||||
|
${WRKSRC}/authdaemonrc.in
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
MD5 (courier-authlib-0.51.tar.bz2) = 89cb2db63b3f6d402e435331e391ef80
|
MD5 (courier-authlib-0.52.tar.bz2) = 2ad6837c1eec7582f8634c320f45b2dc
|
||||||
SIZE(courier-authlib-0.51.tar.bz2) = 1964171
|
SIZE(courier-authlib-0.52.tar.bz2) = 1965591
|
||||||
|
|
|
@ -24,6 +24,8 @@ command="%%PREFIX%%/sbin/authdaemond"
|
||||||
start_cmd="authdaemond_cmd start"
|
start_cmd="authdaemond_cmd start"
|
||||||
stop_cmd="authdaemond_cmd stop"
|
stop_cmd="authdaemond_cmd stop"
|
||||||
restart_cmd="authdaemond_cmd stop && authdaemond_cmd start"
|
restart_cmd="authdaemond_cmd stop && authdaemond_cmd start"
|
||||||
|
pidfile="%%PREFIX%%/var/spool/authdaemon/pid"
|
||||||
|
procname="%%PREFIX%%/sbin/courierlogger"
|
||||||
|
|
||||||
load_rc_config $name
|
load_rc_config $name
|
||||||
|
|
||||||
|
@ -36,6 +38,12 @@ authdaemond_cmd () {
|
||||||
stop)
|
stop)
|
||||||
echo "Stopping ${name}."
|
echo "Stopping ${name}."
|
||||||
${command} stop
|
${command} stop
|
||||||
|
if [ $? -eq 0 ] ; then
|
||||||
|
[ -f "$pidfile" ] && rm -f "$pidfile"
|
||||||
|
[ -f "$pidfile".lock ] && rm -f "$pidfile".lock
|
||||||
|
[ -S %%PREFIX%%/var/spool/authdaemon/socket ] && rm -f %%PREFIX%%/var/spool/authdaemon/socket
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,8 +21,6 @@ lib/courier-authlib/libcourierauthsaslclient.a
|
||||||
lib/courier-authlib/libcourierauthcommon.so.0
|
lib/courier-authlib/libcourierauthcommon.so.0
|
||||||
lib/courier-authlib/libcourierauthcommon.so
|
lib/courier-authlib/libcourierauthcommon.so
|
||||||
lib/courier-authlib/libcourierauthcommon.a
|
lib/courier-authlib/libcourierauthcommon.a
|
||||||
lib/courier-authlib/libauthcustom.so.0
|
|
||||||
lib/courier-authlib/libauthcustom.so
|
|
||||||
lib/courier-authlib/libauthuserdb.so.0
|
lib/courier-authlib/libauthuserdb.so.0
|
||||||
lib/courier-authlib/libauthuserdb.so
|
lib/courier-authlib/libauthuserdb.so
|
||||||
%%PAMFLAG%%lib/courier-authlib/libauthpam.so.0
|
%%PAMFLAG%%lib/courier-authlib/libauthpam.so.0
|
||||||
|
@ -48,9 +46,17 @@ sbin/userdb-test-cram-md5
|
||||||
sbin/userdbpw
|
sbin/userdbpw
|
||||||
sbin/vchkpw2userdb
|
sbin/vchkpw2userdb
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
|
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authdebug.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authmysql.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authmysql.myownquery
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authpostgres.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.ldap
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README_authlib.html
|
||||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||||
@unexec rmdir %D/var/authdaemon 2>/dev/null || true
|
@unexec rmdir %D/var/authdaemon 2>/dev/null || true
|
||||||
@unexec rmdir %D/var 2>/dev/null || true
|
@unexec rmdir %D/var 2>/dev/null || true
|
||||||
|
|
|
@ -6,9 +6,10 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
PORTNAME= courier-authlib
|
PORTNAME= courier-authlib
|
||||||
PORTVERSION= 0.51
|
PORTVERSION= 0.52
|
||||||
CATEGORIES= mail
|
CATEGORIES= mail
|
||||||
MASTER_SITES= http://www.courier-mta.org/beta/courier-authlib/
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||||
|
MASTER_SITE_SUBDIR= courier
|
||||||
|
|
||||||
MAINTAINER= oliver@FreeBSD.org
|
MAINTAINER= oliver@FreeBSD.org
|
||||||
COMMENT= Authentication library used by courier ports
|
COMMENT= Authentication library used by courier ports
|
||||||
|
@ -41,6 +42,7 @@ CONFIGURE_ENV= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
||||||
|
|
||||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||||
CONFIGURE_ARGS= --without-authshadow \
|
CONFIGURE_ARGS= --without-authshadow \
|
||||||
|
--without-authcustom \
|
||||||
--enable-unicode \
|
--enable-unicode \
|
||||||
--enable-ltdl-install=no
|
--enable-ltdl-install=no
|
||||||
|
|
||||||
|
@ -108,7 +110,10 @@ MAN3= authlib.3 auth_generic.3 auth_login.3 auth_getuserinfo.3 \
|
||||||
|
|
||||||
MAN8= makeuserdb.8 userdb.8 userdbpw.8
|
MAN8= makeuserdb.8 userdb.8 userdbpw.8
|
||||||
|
|
||||||
EXTRA_DOCS= README INSTALL AUTHORS ChangeLog
|
EXTRA_DOCS= AUTHORS COPYING ChangeLog INSTALL NEWS README \
|
||||||
|
README.authdebug.html README.authmysql.html \
|
||||||
|
README.authmysql.myownquery README.authpostgres.html \
|
||||||
|
README.ldap README_authlib.html
|
||||||
|
|
||||||
post-patch:
|
post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|$$VPOPMAILLIBS|& -lcrypt|g ; \
|
@${REINPLACE_CMD} -e 's|$$VPOPMAILLIBS|& -lcrypt|g ; \
|
||||||
|
@ -116,6 +121,8 @@ post-patch:
|
||||||
@${REINPLACE_CMD} -e 's|%%INSTALL_MAN%%|${INSTALL_MAN}|' \
|
@${REINPLACE_CMD} -e 's|%%INSTALL_MAN%%|${INSTALL_MAN}|' \
|
||||||
${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in \
|
${WRKSRC}/Makefile.in ${WRKSRC}/Makefile.in \
|
||||||
${WRKSRC}/liblog/Makefile.in ${WRKSRC}/userdb/Makefile.in
|
${WRKSRC}/liblog/Makefile.in ${WRKSRC}/userdb/Makefile.in
|
||||||
|
@${REINPLACE_CMD} -e 's|DEFAULTOPTIONS=""|DEFAULTOPTIONS="wbnodsn=1"|' \
|
||||||
|
${WRKSRC}/authdaemonrc.in
|
||||||
|
|
||||||
post-install:
|
post-install:
|
||||||
${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
${SED} ${RC_SCRIPTS_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
MD5 (courier-authlib-0.51.tar.bz2) = 89cb2db63b3f6d402e435331e391ef80
|
MD5 (courier-authlib-0.52.tar.bz2) = 2ad6837c1eec7582f8634c320f45b2dc
|
||||||
SIZE(courier-authlib-0.51.tar.bz2) = 1964171
|
SIZE(courier-authlib-0.52.tar.bz2) = 1965591
|
||||||
|
|
|
@ -24,6 +24,8 @@ command="%%PREFIX%%/sbin/authdaemond"
|
||||||
start_cmd="authdaemond_cmd start"
|
start_cmd="authdaemond_cmd start"
|
||||||
stop_cmd="authdaemond_cmd stop"
|
stop_cmd="authdaemond_cmd stop"
|
||||||
restart_cmd="authdaemond_cmd stop && authdaemond_cmd start"
|
restart_cmd="authdaemond_cmd stop && authdaemond_cmd start"
|
||||||
|
pidfile="%%PREFIX%%/var/spool/authdaemon/pid"
|
||||||
|
procname="%%PREFIX%%/sbin/courierlogger"
|
||||||
|
|
||||||
load_rc_config $name
|
load_rc_config $name
|
||||||
|
|
||||||
|
@ -36,6 +38,12 @@ authdaemond_cmd () {
|
||||||
stop)
|
stop)
|
||||||
echo "Stopping ${name}."
|
echo "Stopping ${name}."
|
||||||
${command} stop
|
${command} stop
|
||||||
|
if [ $? -eq 0 ] ; then
|
||||||
|
[ -f "$pidfile" ] && rm -f "$pidfile"
|
||||||
|
[ -f "$pidfile".lock ] && rm -f "$pidfile".lock
|
||||||
|
[ -S %%PREFIX%%/var/spool/authdaemon/socket ] && rm -f %%PREFIX%%/var/spool/authdaemon/socket
|
||||||
|
return 0
|
||||||
|
fi
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
|
@ -21,8 +21,6 @@ lib/courier-authlib/libcourierauthsaslclient.a
|
||||||
lib/courier-authlib/libcourierauthcommon.so.0
|
lib/courier-authlib/libcourierauthcommon.so.0
|
||||||
lib/courier-authlib/libcourierauthcommon.so
|
lib/courier-authlib/libcourierauthcommon.so
|
||||||
lib/courier-authlib/libcourierauthcommon.a
|
lib/courier-authlib/libcourierauthcommon.a
|
||||||
lib/courier-authlib/libauthcustom.so.0
|
|
||||||
lib/courier-authlib/libauthcustom.so
|
|
||||||
lib/courier-authlib/libauthuserdb.so.0
|
lib/courier-authlib/libauthuserdb.so.0
|
||||||
lib/courier-authlib/libauthuserdb.so
|
lib/courier-authlib/libauthuserdb.so
|
||||||
%%PAMFLAG%%lib/courier-authlib/libauthpam.so.0
|
%%PAMFLAG%%lib/courier-authlib/libauthpam.so.0
|
||||||
|
@ -48,9 +46,17 @@ sbin/userdb-test-cram-md5
|
||||||
sbin/userdbpw
|
sbin/userdbpw
|
||||||
sbin/vchkpw2userdb
|
sbin/vchkpw2userdb
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/COPYING
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
|
%%PORTDOCS%%%%DOCSDIR%%/INSTALL
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/NEWS
|
||||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authdebug.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authmysql.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authmysql.myownquery
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.authpostgres.html
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README.ldap
|
||||||
|
%%PORTDOCS%%%%DOCSDIR%%/README_authlib.html
|
||||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||||
@unexec rmdir %D/var/authdaemon 2>/dev/null || true
|
@unexec rmdir %D/var/authdaemon 2>/dev/null || true
|
||||||
@unexec rmdir %D/var 2>/dev/null || true
|
@unexec rmdir %D/var 2>/dev/null || true
|
||||||
|
|
Loading…
Add table
Reference in a new issue