From owner-freebsd-ports-bugs@FreeBSD.ORG Fri Jul 22 10:42:08 2005 Return-Path: X-Original-To: freebsd-ports-bugs@hub.freebsd.org Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 63F9016A424 for ; Fri, 22 Jul 2005 10:42:08 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0E86B43D46 for ; Fri, 22 Jul 2005 10:40:25 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.13.3/8.13.3) with ESMTP id j6MAeOi3026145 for ; Fri, 22 Jul 2005 10:40:24 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.13.3/8.13.1/Submit) id j6MAeOh7026144; Fri, 22 Jul 2005 10:40:24 GMT (envelope-from gnats) Resent-Date: Fri, 22 Jul 2005 10:40:24 GMT Resent-Message-Id: <200507221040.j6MAeOh7026144@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Emanuel Haupt Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E41D416A457 for ; Fri, 22 Jul 2005 10:38:55 +0000 (GMT) (envelope-from ehaupt@mx.critical.ch) Received: from mx.critical.ch (admin.critical.ch [67.18.86.178]) by mx1.FreeBSD.org (Postfix) with SMTP id D3FA743DD7 for ; Fri, 22 Jul 2005 10:38:00 +0000 (GMT) (envelope-from ehaupt@mx.critical.ch) Received: (qmail 57086 invoked by uid 1000); 22 Jul 2005 10:37:42 -0000 Message-Id: <20050722103742.57085.qmail@mx.critical.ch> Date: 22 Jul 2005 10:37:42 -0000 From: Emanuel Haupt To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: ports/83899: new port: dns/spfval - A SPF validator X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Emanuel Haupt List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jul 2005 10:42:08 -0000 >Number: 83899 >Category: ports >Synopsis: new port: dns/spfval - A SPF validator >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Jul 22 10:40:24 GMT 2005 >Closed-Date: >Last-Modified: >Originator: Emanuel Haupt >Release: FreeBSD 4.11-RELEASE-p11 i386 >Organization: >Environment: System: FreeBSD admin.critical.ch 4.11-RELEASE-p11 FreeBSD 4.11-RELEASE-p11 #0: Thu Jun 30 09:36:40 CEST 2005 root@admin.critical.ch:/usr/obj/usr/src-release/src/sys/GENERIC i386 >Description: new port: dns/spfval - A SPF validator Spfval validates SPF records. It does not check them via network, this was intentionally omitted in favour of focusing purely on syntactically validating SPF records. Simply pass the validator a string and it will see if it validates as an SPFv1 or SPF-Classic record. If an error is found, it tries its best to report the error in question and the specific location in the record where the error occured. - it is currently broken under 4.x >How-To-Repeat: >Fix: --- spfval.shar begins here --- # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # spfval # spfval/Makefile # spfval/pkg-descr # spfval/distinfo # spfval/files # spfval/files/patch-src_spfval_util.h # echo c - spfval mkdir -p spfval > /dev/null 2>&1 echo x - spfval/Makefile sed 's/^X//' >spfval/Makefile << 'END-of-spfval/Makefile' X# New ports collection makefile for: spfval X# Date created: 22 Jul 2005 X# Whom: Emanuel Haupt X# X# $FreeBSD$ X# X XPORTNAME= spfval XPORTVERSION= 0.0.1 XCATEGORIES= dns mail XMASTER_SITES= http://spfval.codeshare.ca/files/ X XMAINTAINER= ehaupt@critical.ch XCOMMENT= A SPF validator X XUSE_LIBTOOL_VER=15 X XPORTDOCS= ChangeLog FAQ README TODO XPLIST_FILES= bin/spfval X X.include X X.if ${OSVERSION} < 500000 XBROKEN= "Does not compile on FreeBSD 4.x" X.endif X Xdo-install: X ${INSTALL_PROGRAM} ${WRKSRC}/bin/${PORTNAME} ${PREFIX}/bin X X.if !defined(NOPORTDOCS) X ${MKDIR} ${DOCSDIR} X.for f in ${PORTDOCS} X ${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR} X.endfor X.endif X X.include END-of-spfval/Makefile echo x - spfval/pkg-descr sed 's/^X//' >spfval/pkg-descr << 'END-of-spfval/pkg-descr' XSpfval validates SPF records. It does not check them via network, this was Xintentionally omitted in favour of focusing purely on syntactically validating XSPF records. Simply pass the validator a string and it will see if it validates Xas an SPFv1 or SPF-Classic record. X XIf an error is found, it tries its best to report the error in question and the Xspecific location in the record where the error occured. X XWWW: http://spfval.codeshare.ca/ X X- ehaupt Xehaupt@critical.ch END-of-spfval/pkg-descr echo x - spfval/distinfo sed 's/^X//' >spfval/distinfo << 'END-of-spfval/distinfo' XMD5 (spfval-0.0.1.tar.gz) = 022306311f5e27400b975a37625cc5e8 XSIZE (spfval-0.0.1.tar.gz) = 178331 END-of-spfval/distinfo echo c - spfval/files mkdir -p spfval/files > /dev/null 2>&1 echo x - spfval/files/patch-src_spfval_util.h sed 's/^X//' >spfval/files/patch-src_spfval_util.h << 'END-of-spfval/files/patch-src_spfval_util.h' X--- src/spfval/util.h.orig Fri Jul 22 10:33:03 2005 X+++ src/spfval/util.h Fri Jul 22 10:33:25 2005 X@@ -47,6 +47,7 @@ X #include /* malloc / free */ X #include /* in_addr struct fBSD */ X #include /* in_addr struct */ X+#include X X X #ifndef _WIN32 END-of-spfval/files/patch-src_spfval_util.h exit --- spfval.shar ends here --- >Release-Note: >Audit-Trail: >Unformatted: