- update to 2.2.18

- add LICENSE (GPLv2)
- register conflicts with dbmail-3 too

while I'm here:
- replace `YES' with `yes' in Makefile knobs
- fix one case of using `xargs rm' instead of `find -delete'

PR:		166251
Submitted by:	Alan Hicks <ahicks at p-o.co dot uk> (maintainer)
Feature safe:	yes
This commit is contained in:
Ruslan Makhmatkhanov 2012-03-19 17:41:45 +00:00
parent f2a5ffc75c
commit a5832d08d9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=293574
3 changed files with 11 additions and 9 deletions

View File

@ -6,16 +6,18 @@
#
PORTNAME= dbmail
PORTVERSION= 2.2.17
PORTVERSION= 2.2.18
CATEGORIES= mail
MASTER_SITES= http://www.dbmail.org/download/2.2/
MAINTAINER= ahicks@p-o.co.uk
COMMENT= An SQL database-based mail system (POP3 and IMAP)
LICENSE= GPLv2
LIB_DEPENDS= gmime-2.0.4:${PORTSDIR}/mail/gmime2
CONFLICTS= dbmail-*-2.0.* dbmail-2.1.*
CONFLICTS= dbmail-*-2.0.* dbmail-2.1.* dbmail-3.*
OPTIONS= MYSQL "Build with MySQL support" on \
POSTGRESQL "Build with PostgreSQL support" off \
@ -25,11 +27,11 @@ OPTIONS= MYSQL "Build with MySQL support" on \
LATEST_LINK= dbmail22
USE_AUTOTOOLS= libtool
USE_GMAKE= YES
USE_GMAKE= yes
USE_LDCONFIG= ${PREFIX}/lib/dbmail
USE_RC_SUBR= dbmail-pop3d.sh dbmail-lmtpd.sh dbmail-imapd.sh dbmail-timsieved.sh
USE_GNOME= glib20 pkgconfig
USE_OPENSSL= YES
USE_OPENSSL= yes
CFLAGS+= -fPIC -I${LOCALBASE}/include ${PTHREAD_CFLAGS}
LDFLAGS+= -L${LOCALBASE}/lib ${PTHREAD_LIBS}
@ -61,7 +63,7 @@ PLIST_SUB+= PORTDOCS=""
.if !defined(WITHOUT_MYSQL)
CONFIGURE_ARGS+=--with-mysql
USE_MYSQL= YES
USE_MYSQL= yes
DATABASE+= mysql
PLIST_SUB+= MYSQL=""
.else
@ -108,7 +110,7 @@ IGNORE="requires at least one database backend selected. Run 'make config'"
post-patch:
@${FIND} ${WRKSRC} -name CVS -type d | ${XARGS} ${RM} -fr
@${FIND} ${WRKSRC} -name *.orig -type f | ${XARGS} ${RM} -fr
@${FIND} ${WRKSRC} -name *.orig -type f -delete
post-configure:
@${REINPLACE_CMD} -i.orig 's!/etc/dbmail.conf!${PREFIX}/etc/dbmail.conf!g' \

View File

@ -1,2 +1,2 @@
SHA256 (dbmail-2.2.17.tar.gz) = 11d457b0114047185aff4249afb6b91baf843b393e73ecbb147549960d7eaefd
SIZE (dbmail-2.2.17.tar.gz) = 896838
SHA256 (dbmail-2.2.18.tar.gz) = cdf3ac1346515ebcad4b6f19879ccff3879007f2fec1b97cdb4cd72d5892cc07
SIZE (dbmail-2.2.18.tar.gz) = 833841

View File

@ -21,4 +21,4 @@ PostgreSQL or SQLite).
Changes on a Dbmail system (adding of users, changing passwords etc.) are
effective immediately.
WWW: http://www.dbmail.org/
WWW: http://www.dbmail.org/