mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-22 08:58:47 +00:00
- Update to 2.8.3 [1]
- Silence configure warning - Add SIZE to distinfo - Move MySQL scripts into EXAMPLESDIR PR: ports/62108 [1] Submitted by: maintainer [1]
This commit is contained in:
parent
59508b66ae
commit
a5d81534e2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=99638
@ -6,20 +6,20 @@
|
||||
#
|
||||
|
||||
PORTNAME= dspam
|
||||
PORTVERSION= 2.8.1
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 2.8.3
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://www.nuclearelephant.com/projects/dspam/sources/
|
||||
|
||||
MAINTAINER= rob@debank.tv
|
||||
COMMENT= A server-side bayesian spam filter
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-userdir=${PREFIX}/etc/dspam
|
||||
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
|
||||
INSTALLS_SHLIB= yes
|
||||
USE_LIBTOOL= yes
|
||||
USE_REINPLACE= yes
|
||||
INSTALLS_SHLIB= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
|
||||
CONFIGURE_ARGS= --with-userdir=${PREFIX}/etc/dspam
|
||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||
|
||||
SED_SCRIPT= -e 's,%%DOCSDIR%%,${DOCSDIR},g' \
|
||||
-e 's,%%EXAMPLESDIR%%,${EXAMPLESDIR},g' \
|
||||
@ -59,27 +59,22 @@ CONFIGURE_ARGS+= --with-dspam-mode=4511
|
||||
CONFIGURE_ARGS+= --enable-spam-delivery
|
||||
.endif
|
||||
|
||||
DOCS= CHANGE README
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|%%LIBTOOLFLAGS%%|${LIBTOOLFLAGS}|g ; \
|
||||
s|-ldb-4.1|-ldb41|g' ${WRKSRC}/configure
|
||||
|
||||
post-install:
|
||||
.if defined(WITH_MYSQL)
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
cd ${WRKSRC}/tools.mysql_drv && \
|
||||
${INSTALL_DATA} README *.sql ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${FILESDIR}/mysql.data ${EXAMPLESDIR}
|
||||
.endif
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/CHANGE \
|
||||
${DOCSDIR}
|
||||
.if defined(WITH_MYSQL)
|
||||
@${MKDIR} ${DOCSDIR}/mysql
|
||||
@${INSTALL_DATA} ${WRKSRC}/tools.mysql_drv/README \
|
||||
${WRKSRC}/tools.mysql_drv/mysql_objects.sql \
|
||||
${WRKSRC}/tools.mysql_drv/virtual_users.sql \
|
||||
${WRKSRC}/tools.mysql_drv/purge.sql \
|
||||
${DOCSDIR}/mysql
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
.endif
|
||||
.endif
|
||||
.if defined(WITH_MYSQL)
|
||||
@${INSTALL_DATA} ${FILESDIR}/mysql.data ${EXAMPLESDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
||||
.endif
|
||||
@${SED} ${SED_SCRIPT} ${PKGMESSAGE}
|
||||
|
||||
|
@ -1 +1,2 @@
|
||||
MD5 (dspam-2.8.1.tar.gz) = bd3b750ca506cb468c80cabc77ea7d01
|
||||
MD5 (dspam-2.8.3.tar.gz) = 78cf275ccb7bc3697f275a8292f6c131
|
||||
SIZE (dspam-2.8.3.tar.gz) = 462004
|
||||
|
@ -15,15 +15,13 @@ bin/dspam_stats
|
||||
lib/libdspam.so
|
||||
lib/libdspam.so.4
|
||||
lib/libdspam.a
|
||||
@comment lib/libdspam.la
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/CHANGE
|
||||
%%PORTDOCS%%%%MYSQL%%%%DOCSDIR%%/mysql/README
|
||||
%%PORTDOCS%%%%MYSQL%%%%DOCSDIR%%/mysql/mysql_objects.sql
|
||||
%%PORTDOCS%%%%MYSQL%%%%DOCSDIR%%/mysql/virtual_users.sql
|
||||
%%PORTDOCS%%%%MYSQL%%%%DOCSDIR%%/mysql/purge.sql
|
||||
%%PORTDOCS%%%%MYSQL%%@dirrm %%DOCSDIR%%/mysql
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
%%MYSQL%%%%EXAMPLESDIR%%/README
|
||||
%%MYSQL%%%%EXAMPLESDIR%%/mysql.data
|
||||
%%MYSQL%%%%EXAMPLESDIR%%/mysql_objects.sql
|
||||
%%MYSQL%%%%EXAMPLESDIR%%/purge.sql
|
||||
%%MYSQL%%%%EXAMPLESDIR%%/virtual_users.sql
|
||||
%%MYSQL%%@dirrm %%EXAMPLESDIR%%
|
||||
@dirrm etc/dspam
|
||||
|
@ -6,20 +6,20 @@
|
||||
#
|
||||
|
||||
PORTNAME= dspam
|
||||
PORTVERSION= 2.8.1
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 2.8.3
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= http://www.nuclearelephant.com/projects/dspam/sources/
|
||||
|
||||
MAINTAINER= rob@debank.tv
|
||||
COMMENT= A server-side bayesian spam filter
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ARGS= --with-userdir=${PREFIX}/etc/dspam
|
||||
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
|
||||
INSTALLS_SHLIB= yes
|
||||
USE_LIBTOOL= yes
|
||||
USE_REINPLACE= yes
|
||||
INSTALLS_SHLIB= yes
|
||||
GNU_CONFIGURE= yes
|
||||
CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib"
|
||||
CONFIGURE_ARGS= --with-userdir=${PREFIX}/etc/dspam
|
||||
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
||||
|
||||
SED_SCRIPT= -e 's,%%DOCSDIR%%,${DOCSDIR},g' \
|
||||
-e 's,%%EXAMPLESDIR%%,${EXAMPLESDIR},g' \
|
||||
@ -59,27 +59,22 @@ CONFIGURE_ARGS+= --with-dspam-mode=4511
|
||||
CONFIGURE_ARGS+= --enable-spam-delivery
|
||||
.endif
|
||||
|
||||
DOCS= CHANGE README
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|%%LIBTOOLFLAGS%%|${LIBTOOLFLAGS}|g ; \
|
||||
s|-ldb-4.1|-ldb41|g' ${WRKSRC}/configure
|
||||
|
||||
post-install:
|
||||
.if defined(WITH_MYSQL)
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
cd ${WRKSRC}/tools.mysql_drv && \
|
||||
${INSTALL_DATA} README *.sql ${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${FILESDIR}/mysql.data ${EXAMPLESDIR}
|
||||
.endif
|
||||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
@${INSTALL_DATA} ${WRKSRC}/README ${WRKSRC}/CHANGE \
|
||||
${DOCSDIR}
|
||||
.if defined(WITH_MYSQL)
|
||||
@${MKDIR} ${DOCSDIR}/mysql
|
||||
@${INSTALL_DATA} ${WRKSRC}/tools.mysql_drv/README \
|
||||
${WRKSRC}/tools.mysql_drv/mysql_objects.sql \
|
||||
${WRKSRC}/tools.mysql_drv/virtual_users.sql \
|
||||
${WRKSRC}/tools.mysql_drv/purge.sql \
|
||||
${DOCSDIR}/mysql
|
||||
@${MKDIR} ${EXAMPLESDIR}
|
||||
.endif
|
||||
.endif
|
||||
.if defined(WITH_MYSQL)
|
||||
@${INSTALL_DATA} ${FILESDIR}/mysql.data ${EXAMPLESDIR}
|
||||
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${DOCSDIR}
|
||||
.endif
|
||||
@${SED} ${SED_SCRIPT} ${PKGMESSAGE}
|
||||
|
||||
|
@ -1 +1,2 @@
|
||||
MD5 (dspam-2.8.1.tar.gz) = bd3b750ca506cb468c80cabc77ea7d01
|
||||
MD5 (dspam-2.8.3.tar.gz) = 78cf275ccb7bc3697f275a8292f6c131
|
||||
SIZE (dspam-2.8.3.tar.gz) = 462004
|
||||
|
@ -15,15 +15,13 @@ bin/dspam_stats
|
||||
lib/libdspam.so
|
||||
lib/libdspam.so.4
|
||||
lib/libdspam.a
|
||||
@comment lib/libdspam.la
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/CHANGE
|
||||
%%PORTDOCS%%%%MYSQL%%%%DOCSDIR%%/mysql/README
|
||||
%%PORTDOCS%%%%MYSQL%%%%DOCSDIR%%/mysql/mysql_objects.sql
|
||||
%%PORTDOCS%%%%MYSQL%%%%DOCSDIR%%/mysql/virtual_users.sql
|
||||
%%PORTDOCS%%%%MYSQL%%%%DOCSDIR%%/mysql/purge.sql
|
||||
%%PORTDOCS%%%%MYSQL%%@dirrm %%DOCSDIR%%/mysql
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
%%MYSQL%%%%EXAMPLESDIR%%/README
|
||||
%%MYSQL%%%%EXAMPLESDIR%%/mysql.data
|
||||
%%MYSQL%%%%EXAMPLESDIR%%/mysql_objects.sql
|
||||
%%MYSQL%%%%EXAMPLESDIR%%/purge.sql
|
||||
%%MYSQL%%%%EXAMPLESDIR%%/virtual_users.sql
|
||||
%%MYSQL%%@dirrm %%EXAMPLESDIR%%
|
||||
@dirrm etc/dspam
|
||||
|
Loading…
Reference in New Issue
Block a user