aboutsummaryrefslogtreecommitdiff
path: root/databases/courier-authlib-mysql
diff options
context:
space:
mode:
authorOliver Lehmann <oliver@FreeBSD.org>2005-02-04 18:44:48 +0000
committerOliver Lehmann <oliver@FreeBSD.org>2005-02-04 18:44:48 +0000
commitc0a379585744a0ba4bfc21db19e8a3856fd95b4f (patch)
tree0138aebff41129acc39b508160da349e5d9ef681 /databases/courier-authlib-mysql
parentdf4e0e0f94e73ff91df6ea1c769e1a441fc7ee59 (diff)
downloadports-c0a379585744a0ba4bfc21db19e8a3856fd95b4f.tar.gz
ports-c0a379585744a0ba4bfc21db19e8a3856fd95b4f.zip
Notes
Diffstat (limited to 'databases/courier-authlib-mysql')
-rw-r--r--databases/courier-authlib-mysql/Makefile23
-rw-r--r--databases/courier-authlib-mysql/distinfo4
-rw-r--r--databases/courier-authlib-mysql/pkg-plist17
3 files changed, 32 insertions, 12 deletions
diff --git a/databases/courier-authlib-mysql/Makefile b/databases/courier-authlib-mysql/Makefile
index ea2c8c5b15a5..aa014b385b5e 100644
--- a/databases/courier-authlib-mysql/Makefile
+++ b/databases/courier-authlib-mysql/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= courier-authlib
-PORTVERSION= 0.52
+PORTVERSION= 0.53
CATEGORIES= mail
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= courier
@@ -32,6 +32,9 @@ USE_LIBLTDL= yes
# WITH_POSTGRESQL: Build in postgresql support
# WITH_LDAP: Build in ldap support with openldap
# WITH_GDBM: Use gdbm files instead of bdb
+# WITH_MAILUSER: The user running authlib
+# WITH_MAILGROUP: The group running authlib
+# WITHOUT_AUTHUSERDB: Don't build in authuserdb
#
VPOPMAILDIR?= ${LOCALBASE}/vpopmail
@@ -98,8 +101,24 @@ CONFIGURE_ARGS+=--without-authpam
PLIST_SUB+= PAMFLAG="@comment "
.endif
-.include <bsd.port.pre.mk>
+.if defined(WITHOUT_AUTHUSERDB)
+CONFIGURE_ARGS+=--without-authuserdb
+PLIST_SUB+= AUTHUSERDBFLAG="@comment "
+.else
+PLIST_SUB+= AUTHUSERDBFLAG=""
+.endif
+
+.if defined(WITH_MAILUSER)
+CONFIGURE_ARGS+=--with-mailuser=${WITH_MAILUSER}
+.endif
+.if defined(WITH_MAILGROUP)
+CONFIGURE_ARGS+=--with-mailgroup=${WITH_MAILGROUP}
+.endif
+
+
+.include <bsd.port.pre.mk>
+++ pkg-plist Fri Feb 4 02:29:24 2005
RC_SCRIPTS_SUB=PREFIX=${PREFIX} RC_SUBR=${RC_SUBR}
MAN1= courierlogger.1
diff --git a/databases/courier-authlib-mysql/distinfo b/databases/courier-authlib-mysql/distinfo
index 8441c7ca4ab1..ca08fd49f80a 100644
--- a/databases/courier-authlib-mysql/distinfo
+++ b/databases/courier-authlib-mysql/distinfo
@@ -1,2 +1,2 @@
-MD5 (courier-authlib-0.52.tar.bz2) = 2ad6837c1eec7582f8634c320f45b2dc
-SIZE(courier-authlib-0.52.tar.bz2) = 1965591
+MD5 (courier-authlib-0.53.tar.bz2) = 72407b67050e740d5b834eac06d834df
+SIZE(courier-authlib-0.53.tar.bz2) = 1966836
diff --git a/databases/courier-authlib-mysql/pkg-plist b/databases/courier-authlib-mysql/pkg-plist
index 9f117cda3708..b2dd684012a3 100644
--- a/databases/courier-authlib-mysql/pkg-plist
+++ b/databases/courier-authlib-mysql/pkg-plist
@@ -22,8 +22,8 @@ lib/courier-authlib/libcourierauthsaslclient.a
lib/courier-authlib/libcourierauthcommon.so.0
lib/courier-authlib/libcourierauthcommon.so
lib/courier-authlib/libcourierauthcommon.a
-lib/courier-authlib/libauthuserdb.so.0
-lib/courier-authlib/libauthuserdb.so
+%%AUTHUSERDBFLAG%%lib/courier-authlib/libauthuserdb.so.0
+%%AUTHUSERDBFLAG%%lib/courier-authlib/libauthuserdb.so
%%PAMFLAG%%lib/courier-authlib/libauthpam.so.0
%%PAMFLAG%%lib/courier-authlib/libauthpam.so
%%MYSQLFLAG%%lib/courier-authlib/libauthmysql.so.0
@@ -36,16 +36,17 @@ lib/courier-authlib/libauthuserdb.so
%%VPOPMAILFLAG%%lib/courier-authlib/libauthvchkpw.so
libexec/courier-authlib/authsystem.passwd
libexec/courier-authlib/authdaemond
-libexec/courier-authlib/makedatprog
+%%AUTHUSERDBFLAG%%libexec/courier-authlib/makedatprog
sbin/authtest
sbin/authdaemond
sbin/authenumerate
sbin/courierlogger
-sbin/makeuserdb
-sbin/userdb
-sbin/userdb-test-cram-md5
-sbin/userdbpw
-sbin/vchkpw2userdb
+%%AUTHUSERDBFLAG%%sbin/pw2userdb
+%%AUTHUSERDBFLAG%%sbin/makeuserdb
+%%AUTHUSERDBFLAG%%sbin/userdb
+%%AUTHUSERDBFLAG%%sbin/userdb-test-cram-md5
+%%AUTHUSERDBFLAG%%sbin/userdbpw
+%%AUTHUSERDBFLAG%%sbin/vchkpw2userdb
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog