Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jan 2011 15:10:11 GMT
From:      Hirohisa Yamaguchi <umq@ueo.co.jp>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/154090: /usr/ports/mail/enma got SIGSEGV.
Message-ID:  <201101251510.p0PFABFk018236@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/154090; it has been noted by GNATS.

From: Hirohisa Yamaguchi <umq@ueo.co.jp>
To: bug-followup@FreeBSD.ORG
Cc:  
Subject: Re: ports/154090: /usr/ports/mail/enma got SIGSEGV.
Date: Wed, 26 Jan 2011 00:04:37 +0900

 Hi,
 
 At Mon, 17 Jan 2011 16:00:29 UT,
 Edwin Groothuis wrote:
 > Maintainer of mail/enma,
 > 
 > Please note that PR ports/154090 has just been submitted.
 > 
 > The full text of the PR can be found at:
 >     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/154090
 
 I see the problem.
 Attaching a patch to build with dns/bind97.
 
 
 -- 
 
 	Hirohisa Yamaguchi
 	  umq@ueo.co.jp
 
 cvs diff: Diffing .
 Index: Makefile
 ===================================================================
 RCS file: /home/ncvs/ports/mail/enma/Makefile,v
 retrieving revision 1.7
 diff -u -r1.7 Makefile
 --- Makefile	1 Nov 2010 23:15:59 -0000	1.7
 +++ Makefile	25 Jan 2011 14:51:20 -0000
 @@ -7,13 +7,14 @@
  
  PORTNAME=	enma
  PORTVERSION=	1.1.0
 +PORTREVISION=	1
  CATEGORIES=	mail
  MASTER_SITES=	SF/${PORTNAME}/ENMA/${PORTVERSION}
  
  MAINTAINER=	umq@ueo.co.jp
  COMMENT=	A sender authentication milter supporting SPF and Sender ID
  
 -BUILD_DEPENDS=	${NONEXISTENT}:${PORTSDIR}/dns/libbind:checksum
 +BUILD_DEPENDS=	${NONEXISTENT}:${PORTSDIR}/dns/bind97:checksum
  
  .if defined(WITH_POSTFIX_MILTER) || defined(WITH_POSTFIX) || defined(WITH_POSTFIX_CURRENT)
  CONF_SUB=	${REINPLACE_CMD} -e '/milter\.postfix/s/false/true/' ${WRKSRC}/enma/etc/enma.conf.sample
 @@ -24,7 +25,7 @@
  .endif
  .endif
  
 -BIND_PATH_CMD=	cd ${PORTSDIR}/dns/libbind && ${MAKE} -V WRKSRC
 +BIND_PATH_CMD=	cd ${PORTSDIR}/dns/bind97 && ${MAKE} -V WRKSRC
  BIND_SRC_DIR=	${BASENAME} $$(${BIND_PATH_CMD})
  
  HAS_CONFIGURE=	yes
 @@ -51,10 +52,16 @@
  .include "${PORTSDIR}/Mk/bsd.openssl.mk"
  
  pre-configure:
 -	cd ${PORTSDIR}/dns/libbind && ${MAKE} -DBATCH patch && \
 +	cd ${PORTSDIR}/dns/bind97 && ${MAKE} -DBATCH patch && \
  	${LN} -s $$(${BIND_PATH_CMD}) ${WRKSRC}/build && \
  	cd ${WRKSRC}/build/$$(${BIND_SRC_DIR}) && \
 -	./configure --prefix=${WRKSRC}/build/tmp_build --enable-threads && ${MAKE} && ${MAKE} install
 +	./configure --prefix=${WRKSRC}/build/tmp_build --enable-threads && \
 +	cd ${WRKSRC}/build/$$(${BIND_SRC_DIR})/lib/dns && \
 +	${MAKE} include/dns/enumtype.h include/dns/enumclass.h && \
 +	cd ${WRKSRC}/build/$$(${BIND_SRC_DIR})/lib/bind9 && \
 +	${MAKE} && ${MAKE} install
 +	${REINPLACE_CMD} -e 's/-lbind/-lbind9/' ${WRKSRC}/configure \
 +	${WRKSRC}/enma/bin/Makefile.in ${WRKSRC}/enma/src/Makefile.in
  	$$(${CONF_SUB})
  
  post-install:
 cvs diff: Diffing files



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101251510.p0PFABFk018236>