- Update to version 1.7b
PR: 59333 Submitted by: Ports Fury
This commit is contained in:
parent
2f2dd29a7d
commit
618900fad3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=94097
3 changed files with 10 additions and 9 deletions
|
@ -6,8 +6,7 @@
|
|||
#
|
||||
|
||||
PORTNAME= sentinel
|
||||
PORTVERSION= 1.6.5b
|
||||
PORTREVISION= 3
|
||||
PORTVERSION= 1.7b
|
||||
CATEGORIES= mail
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= smfilter
|
||||
|
@ -20,16 +19,16 @@ LIB_DEPENDS= pcre.0:${PORTSDIR}/devel/pcre
|
|||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !exists(/usr/lib/libmilter.a) && !exists(${LOCALBASE}/lib/libmilter.a)
|
||||
IGNORE= requires Sendmail 8.12
|
||||
IGNORE= requires Sendmail 8.12
|
||||
.endif
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
CFLAGS+= -I${LOCALBASE}/include
|
||||
LDFLAGS+= -L${LOCALBASE}/lib
|
||||
|
||||
do-build:
|
||||
cd ${WRKSRC} && \
|
||||
${CC} ${CFLAGS} ${PTHREAD_CFLAGS} \
|
||||
-o ${PORTNAME} ${PORTNAME}.c ${LDFLAGS} \
|
||||
-lmilter -lpcre -lpcreposix ${PTHREAD_LIBS}
|
||||
-lmilter -lpcre -lpcreposix ${PTHREAD_LIBS}
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/sentinel ${PREFIX}/sbin
|
||||
|
@ -40,6 +39,7 @@ do-install:
|
|||
.if !defined(NOPORTDOCS)
|
||||
@${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/README.FreeBSD ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
|
|
|
@ -1 +1 @@
|
|||
MD5 (sentinel-1.6.5b.tar.gz) = bcc5fa5e78ca1c556a16fd15601f3d59
|
||||
MD5 (sentinel-1.7b.tar.gz) = b13b0403e275e94420e0a77378b26e0f
|
||||
|
|
|
@ -4,5 +4,6 @@ etc/rc.d/sentinel.sh-dist
|
|||
@exec mkdir /var/sentinel
|
||||
@exec chown smmsp:smmsp /var/sentinel
|
||||
@unexec rm -rf /var/sentinel
|
||||
%%PORTDOCS%%share/doc/sentinel/README
|
||||
%%PORTDOCS%%@dirrm share/doc/sentinel
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.FreeBSD
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
|
|
Loading…
Reference in a new issue