From owner-freebsd-ports-bugs@FreeBSD.ORG Sun May 30 07:25:28 2004 Return-Path: Delivered-To: freebsd-ports-bugs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A052B16A4CE; Sun, 30 May 2004 07:25:28 -0700 (PDT) Received: from mx0.rambler.ru (mx0.rambler.ru [81.19.66.47]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBC7A43D3F; Sun, 30 May 2004 07:25:27 -0700 (PDT) (envelope-from vasallia@ukr.net) Received: from mailc.rambler.ru (mailc.rambler.ru [81.19.66.27]) by mx0.rambler.ru (Postfix) with ESMTP id F3A5742F767; Sun, 30 May 2004 18:25:25 +0400 (MSD) Received: from santinel.home.ua ([212.86.235.251]) (authenticated bits=0) by mailc.rambler.ru (8.12.10/8.12.10) with ESMTP id i4UENsxB008145; Sun, 30 May 2004 18:25:08 +0400 (MSD) Received: from anray by santinel.home.ua with local (Exim 4.34; FreeBSD) id 1BURDK-0006Ab-Dq; Sun, 30 May 2004 17:23:02 +0300 To: Pav Lucistnik References: <200405301032.i4UAW5q8099324@freefall.freebsd.org> Organization: Santinel From: Andrey Slusar Mail-Followup-To: Pav Lucistnik , vasallia@ukr.net, freebsd-ports-bugs@FreeBSD.org Date: Sun, 30 May 2004 17:23:02 +0300 In-Reply-To: <200405301032.i4UAW5q8099324@freefall.freebsd.org> (Pav Lucistnik's message of "Sun, 30 May 2004 03:32:05 -0700 (PDT)") Message-ID: <861xl2gfjt.fsf@santinel.home.ua> User-Agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.4 (Security Through Obscurity) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" X-Auth-User: zubraw, whoson: (null) cc: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/67367: [PATCH] comms/bforce: update to 0.22.8.7 and fix warnings X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 May 2004 14:25:28 -0000 --=-=-= Hi. Sun, 30 May 2004 03:32:05 -0700 (PDT), you wrote: > Synopsis: [PATCH] comms/bforce: update to 0.22.8.7 and fix warnings > State-Changed-From-To: open->closed > State-Changed-By: pav > State-Changed-When: Sun May 30 03:31:37 PDT 2004 > State-Changed-Why: > Committed, thanks. > Just a question - would CONFIGDIR under /usr/local worked too > or have it to be under /etc? In Makefile.in @prefix@/etc/... and configure-script changing this is to /usr/local/etc/... Please, change MAINTAINER to vasallia@ukr.net Sorry, i adding mistakes in update. Patch in attachment --=-=-= Content-Type: text/x-patch Content-Disposition: inline; filename=bforce-kst.diff diff -ru bforce-kst/Makefile bforce-kst.new/Makefile --- bforce-kst/Makefile Sun May 30 17:01:07 2004 +++ bforce-kst.new/Makefile Sun May 30 17:15:08 2004 @@ -20,7 +20,7 @@ USE_REINPLACE= yes GNU_CONFIGURE= yes -CONFIGDIR= /etc/fido/bforce +CONFIGDIR= etc/fido/bforce FIXME= include/bforce.h include/util.h include/logger.h \ bforce/bforce.c bforce/conf_proc.c bforce/conf_read.c bforce/daemon.c \ @@ -37,23 +37,24 @@ bforce/u_plock.c bfutil/bfindex.c WRKSRC= ${WRKDIR}/${DISTNAME}/source +PLIST_SUB+= CONFIGDIR=${CONFIGDIR} pre-configure: ${MKDIR} ${WRKSRC}/bin post-patch: - @${REINPLACE_CMD} -e 's,/etc/bforce,${CONFIGDIR},g' ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e 's,/etc/bforce,/${CONFIGDIR},g' ${WRKSRC}/Makefile.in .for i in ${FIXME} @${REINPLACE_CMD} -e 's,log(,bf_log(,g' ${WRKSRC}/${i} .endfor do-install: - ${MKDIR} ${PREFIX}/etc/bforce - ${INSTALL_DATA} ${WRKSRC}/../examples/bforce.conf ${PREFIX}/etc/bforce/bforce.conf.sample - ${INSTALL_DATA} ${WRKSRC}/../examples/bforce.passwd ${PREFIX}/etc/bforce/bforce.passwd.sample - ${INSTALL_DATA} ${WRKSRC}/../examples/bforce.subst ${PREFIX}/etc/bforce/bforce.subst.sample - ${INSTALL_DATA} ${WRKSRC}/../examples/freq.aliases ${PREFIX}/etc/bforce/freq.aliases.sample - ${INSTALL_DATA} ${WRKSRC}/../examples/freq.dirs ${PREFIX}/etc/bforce/freq.dirs.sample + ${MKDIR} ${PREFIX}/${CONFIGDIR} + ${INSTALL_DATA} ${WRKSRC}/../examples/bforce.conf ${PREFIX}/${CONFIGDIR}/bforce.conf.sample + ${INSTALL_DATA} ${WRKSRC}/../examples/bforce.passwd ${PREFIX}/${CONFIGDIR}/bforce.passwd.sample + ${INSTALL_DATA} ${WRKSRC}/../examples/bforce.subst ${PREFIX}/${CONFIGDIR}/bforce.subst.sample + ${INSTALL_DATA} ${WRKSRC}/../examples/freq.aliases ${PREFIX}/${CONFIGDIR}/freq.aliases.sample + ${INSTALL_DATA} ${WRKSRC}/../examples/freq.dirs ${PREFIX}/${CONFIGDIR}/freq.dirs.sample ${INSTALL_PROGRAM} ${WRKSRC}/bin/bforce ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/bin/bfindex ${PREFIX}/bin ${INSTALL_PROGRAM} ${WRKSRC}/bin/bfstat ${PREFIX}/bin diff -ru bforce-kst/pkg-plist bforce-kst.new/pkg-plist --- bforce-kst/pkg-plist Fri Jan 17 13:16:53 2003 +++ bforce-kst.new/pkg-plist Sun May 30 17:02:46 2004 @@ -2,9 +2,9 @@ bin/bfindex bin/bfstat bin/nlookup -etc/bforce/bforce.conf.sample -etc/bforce/bforce.passwd.sample -etc/bforce/bforce.subst.sample -etc/bforce/freq.aliases.sample -etc/bforce/freq.dirs.sample -@dirrm etc/bforce +%%CONFIGDIR%%/bforce.conf.sample +%%CONFIGDIR%%/bforce.passwd.sample +%%CONFIGDIR%%/bforce.subst.sample +%%CONFIGDIR%%/freq.aliases.sample +%%CONFIGDIR%%/freq.dirs.sample +@dirrm %%CONFIGDIR%% --=-=-= --anray --=-=-=--