ports/188319: Update: mail/greyfix to 0.4.0

Keith Gaughan k at stereochro.me
Sat Apr 26 03:30:01 UTC 2014


The following reply was made to PR ports/188319; it has been noted by GNATS.

From: Keith Gaughan <k at stereochro.me>
To: bug-followup at freebsd.org
Cc:  
Subject: Re: ports/188319: Update: mail/greyfix to 0.4.0
Date: Sat, 26 Apr 2014 04:23:05 +0100

 --QKdGvSO+nmPlgiQ/
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: inline
 
 I figured that while I'm at it, I'd might as well see where I could
 clean the port up. This update to the port is slimmer than my previous
 one, and ought to be easier to apply as I did it against a Subversion
 checkout of the port.
 
 --QKdGvSO+nmPlgiQ/
 Content-Type: text/x-diff; charset=us-ascii
 Content-Disposition: attachment; filename="greyfix.diff"
 
 Index: Makefile
 ===================================================================
 --- Makefile	(revision 352220)
 +++ Makefile	(working copy)
 @@ -2,9 +2,10 @@
  # $FreeBSD$
  
  PORTNAME=	greyfix
 -PORTVERSION=	0.3.9
 +PORTVERSION=	0.4.0
  CATEGORIES=	mail
 -MASTER_SITES=	http://www.kim-minh.com/pub/greyfix/
 +MASTER_SITES=	http://www.kim-minh.com/pub/greyfix/ \
 +		http://stereochro.me/distfiles/
  
  MAINTAINER=	k at stereochro.me
  COMMENT=	A greylisting policy daemon for Postfix
 @@ -11,9 +12,9 @@
  
  SUB_FILES=	pkg-message
  
 -USE_BDB=	yes
 +USE_BDB=	5+
  GNU_CONFIGURE=	yes
 -CONFIGURE_ARGS=	--with-berkeleydb-libdir=${BDB_LIB_DIR} \
 +CONFIGURE_ARGS+=--with-berkeleydb-libdir=${BDB_LIB_DIR} \
  		--with-berkeleydb-includedir=${BDB_INCLUDE_DIR} \
  		--localstatedir=/var
  
 @@ -22,8 +23,4 @@
  	@${REINPLACE_CMD} 's|$$(localstatedir)/lib|$$(localstatedir)/db|' \
  		${WRKSRC}/Makefile.in
  
 -do-install:
 -	${INSTALL_PROGRAM} ${WRKSRC}/greyfix ${STAGEDIR}${PREFIX}/sbin
 -	${INSTALL} -o nobody -m 700 -d ${STAGEDIR}/var/db/greyfix
 -
  .include <bsd.port.mk>
 Index: distinfo
 ===================================================================
 --- distinfo	(revision 352220)
 +++ distinfo	(working copy)
 @@ -1,2 +1,2 @@
 -SHA256 (greyfix-0.3.9.tar.gz) = dee4428aef9b248b68799a640a85b44ffee0e9a3b2d2f16eed1bb41edad5f204
 -SIZE (greyfix-0.3.9.tar.gz) = 79883
 +SHA256 (greyfix-0.4.0.tar.gz) = 26013edce3a38d586282bfc22eb91bd22df54e3558ea1b3dae54d3e7a769e4fe
 +SIZE (greyfix-0.4.0.tar.gz) = 98051
 Index: files/patch-sockets
 ===================================================================
 --- files/patch-sockets	(revision 0)
 +++ files/patch-sockets	(working copy)
 @@ -0,0 +1,11 @@
 +--- greyfix.c.orig        2014-04-06 16:23:26.000000000 +0100
 ++++ greyfix.c      2014-04-06 16:23:37.000000000 +0100
 +@@ -26,6 +26,8 @@
 + #include <syslog.h>
 + #include <sys/stat.h>
 + #include <arpa/inet.h>
 ++#include <netinet/in.h>
 ++#include <sys/socket.h>
 + 
 + #include <db.h>
 +
 
 Property changes on: files/patch-sockets
 ___________________________________________________________________
 Added: fbsd:nokeywords
 ## -0,0 +1 ##
 +yes
 \ No newline at end of property
 Added: svn:eol-style
 ## -0,0 +1 ##
 +native
 \ No newline at end of property
 Added: svn:mime-type
 ## -0,0 +1 ##
 +text/plain
 \ No newline at end of property
 Index: pkg-plist
 ===================================================================
 --- pkg-plist	(revision 352220)
 +++ pkg-plist	(working copy)
 @@ -1,4 +1,2 @@
 - at exec mkdir -m 700 -p /var/db/greyfix && chown nobody /var/db/greyfix
  sbin/greyfix
 - at cwd /
  @dirrmtry /var/db/greyfix
 
 --QKdGvSO+nmPlgiQ/--


More information about the freebsd-ports-bugs mailing list