Bug 75284 - New port: mail/policyd Implements SPF for postfix, as a policy daemon
Summary: New port: mail/policyd Implements SPF for postfix, as a policy daemon
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Edwin Groothuis
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-12-20 01:30 UTC by Marcus Grando
Modified: 2004-12-22 03:43 UTC (History)
0 users

See Also:


Attachments
policyd.sh (1.92 KB, text/plain)
2004-12-20 01:30 UTC, Marcus Grando
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcus Grando 2004-12-20 01:30:16 UTC
New port: mail/policyd Implements SPF for postfix, as a policy daemon

This port implements SPF for Postfix, without include anothers libraries
in postfix port.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2004-12-21 23:43:25 UTC
State Changed
From-To: open->feedback

[~/cvs/ports/NEW/policyd] edwin@k7>make 
===>  Vulnerability check disabled, database not found 
===>  Extracting for policyd-1.0.1 
=> Checksum OK for policyd-1.0.1.tar.gz. 
===>  Patching for policyd-1.0.1 
===>   policyd-1.0.1 depends on shared library: spf2.1 - found 
===>  Configuring for policyd-1.0.1 
configure: WARNING: you should use --build, --host, --target 
checking for a BSD-compatible install... /usr/bin/install -c  
checking whether build environment is sane... yes 
checking for gawk... no 
[...] 
checking for strings.h... (cached) yes 
checking spf2/spf.h usability... no 
checking spf2/spf.h presence... no 
checking for spf2/spf.h... no 
libspf2 is required to build this program. 
===>  Script "configure" failed unexpectedly. 

in config.log 
configure:10825: result: yes 
configure:10976: checking spf2/spf.h usability 
configure:10988: cc -c -O -pipe -mcpu=pentiumpro  conftest.c >&5 
conftest.c:72:22: spf2/spf.h: No such file or directory 
configure:10994: $? = 1 
configure: failed program was: 

So it's missing a -I somewhere. 



Comment 2 Edwin Groothuis freebsd_committer freebsd_triage 2004-12-21 23:43:25 UTC
Responsible Changed
From-To: freebsd-ports-bugs->edwin

I'll handle it with submitter
Comment 3 Marcus Grando 2004-12-22 03:03:13 UTC
I test and work for me... I don't understand why CONFIGURE_ENV don't work.

I change CONFIGURE_ENV, but i don't no if it solve this problem. Please 
test. In my system (4.11RC and 5.3-STABLE) CONFIGURE_ENV work...

In your test system, which values of this variables: 
LOCALBASE/CPPFLAGS/LDFLAGS?

Regards

--begin--
# 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:
#
#       policyd
#       policyd/Makefile
#       policyd/distinfo
#       policyd/pkg-descr
#       policyd/pkg-plist
#
echo c - policyd
mkdir -p policyd > /dev/null 2>&1
echo x - policyd/Makefile
sed 's/^X//' >policyd/Makefile << 'END-of-policyd/Makefile'
X# New ports collection makefile for:   policyd
X# Date created:                                19 Dec 2004
X# Whom:                                        Marcus Grando 
<marcus@corp.grupos.com.br>
X#
X# $FreeBSD$
X#
X
XPORTNAME=              policyd
XPORTVERSION=           1.0.1
XCATEGORIES=            mail
XMASTER_SITES=          http://www.libspf2.org/patch/
X
XMAINTAINER=            marcus@corp.grupos.com.br
XCOMMENT=               Implements SPF for postfix, as a policy daemon
X
XLIB_DEPENDS+=          spf2.1:${PORTSDIR}/mail/libspf2
X
XCONFIGURE_ENV=         CPPFLAGS="${CPPFLAGS} -I${LOCALBASE}/include" \
X                       LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib"
XGNU_CONFIGURE=         yes
X
X.if !defined(NOPORTDOCS)
XPORTDOCS=      *
X.endif
X
Xpost-install:
X.if !defined(NOPORTDOCS)
X       @${MKDIR} ${DOCSDIR}
X       ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}
X.endif
X
X.include <bsd.port.mk>
END-of-policyd/Makefile
echo x - policyd/distinfo
sed 's/^X//' >policyd/distinfo << 'END-of-policyd/distinfo'
XMD5 (policyd-1.0.1.tar.gz) = f356040a2eca5c56cf346b946be52e70
XSIZE (policyd-1.0.1.tar.gz) = 201134
END-of-policyd/distinfo
echo x - policyd/pkg-descr
sed 's/^X//' >policyd/pkg-descr << 'END-of-policyd/pkg-descr'
XThis is a C port of Meng Wong's policyd for Postfix. The original
Xcode is available from http://spf.pobox.com/postfix-policyd.txt.
XIt implements SPF for postfix, as a policy daemon.
X
XWWW: http://www.libspf2.org/
X
XMarcus Grando <marcus@corp.grupos.com.br>
END-of-policyd/pkg-descr
echo x - policyd/pkg-plist
sed 's/^X//' >policyd/pkg-plist << 'END-of-policyd/pkg-plist'
Xsbin/policyd
END-of-policyd/pkg-plist
exit
--end--
-- 
Marcus Grando
Grupos Internet S/A
marcus(at)corp.grupos.com.br
Comment 4 Edwin Groothuis freebsd_committer freebsd_triage 2004-12-22 03:43:01 UTC
State Changed
From-To: feedback->closed

Committed, thanks!