ports/188319: Update: mail/greyfix to 0.4.0

Keith Gaughan k at stereochro.me
Sun Apr 6 16:40:01 UTC 2014


>Number:         188319
>Category:       ports
>Synopsis:       Update: mail/greyfix to 0.4.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 06 16:40:00 UTC 2014
>Closed-Date:
>Last-Modified:
>Originator:     Keith Gaughan
>Release:        9.1
>Organization:
>Environment:
FreeBSD lir 9.1-RELEASE-p3 FreeBSD 9.1-RELEASE-p3 #0: Mon Apr 29 18:11:52 UTC 2013     root at amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
Update mail/greyfix to 0.4.0.

There are a few minor issues with this port. First is that greyfix has no license attached, so I can't fill out that fields. Second is that the socket patch included needs to be moved upstream. I intend on contacting the author about both issues as soon as is feasible.
>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -uNr greyfix.orig/Makefile greyfix/Makefile
--- greyfix.orig/Makefile	2014-04-06 16:57:56.000000000 +0100
+++ greyfix/Makefile	2014-04-06 17:07:15.000000000 +0100
@@ -2,16 +2,17 @@
 # $FreeBSD: head/mail/greyfix/Makefile 346160 2014-02-26 09:12:45Z ehaupt $
 
 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
 
 SUB_FILES=	pkg-message
 
-USE_BDB=	yes
+USE_BDB=	5+
 GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--with-berkeleydb-libdir=${BDB_LIB_DIR} \
 		--with-berkeleydb-includedir=${BDB_INCLUDE_DIR} \
@@ -24,6 +25,6 @@
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/greyfix ${STAGEDIR}${PREFIX}/sbin
-	${INSTALL} -o nobody -m 700 -d ${STAGEDIR}/var/db/greyfix
+	${INSTALL} -m 700 -d ${STAGEDIR}/var/db/greyfix
 
 .include <bsd.port.mk>
diff -uNr greyfix.orig/distinfo greyfix/distinfo
--- greyfix.orig/distinfo	2014-04-06 15:57:12.000000000 +0100
+++ greyfix/distinfo	2014-04-06 17:19:42.000000000 +0100
@@ -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
diff -uNr greyfix.orig/files/patch-sockets greyfix/files/patch-sockets
--- greyfix.orig/files/patch-sockets	1970-01-01 01:00:00.000000000 +0100
+++ greyfix/files/patch-sockets	2014-04-06 16:24:20.000000000 +0100
@@ -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>
+ 


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-ports-bugs mailing list