From owner-freebsd-ports-bugs Wed Jan 22 4: 0:18 2003 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 53FD837B401 for ; Wed, 22 Jan 2003 04:00:15 -0800 (PST) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id DB02E43F13 for ; Wed, 22 Jan 2003 04:00:14 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.6/8.12.6) with ESMTP id h0MC0ENS079250 for ; Wed, 22 Jan 2003 04:00:14 -0800 (PST) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.6/8.12.6/Submit) id h0MC0Er5079109; Wed, 22 Jan 2003 04:00:14 -0800 (PST) Date: Wed, 22 Jan 2003 04:00:14 -0800 (PST) Message-Id: <200301221200.h0MC0Er5079109@freefall.freebsd.org> To: freebsd-ports-bugs@FreeBSD.org Cc: From: "Simon 'corecode' Schubert" Subject: Re: ports/47312: Updated Port: security/ftimes - upgrade to version 3.2.0 Reply-To: "Simon 'corecode' Schubert" Sender: owner-freebsd-ports-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR ports/47312; it has been noted by GNATS. From: "Simon 'corecode' Schubert" To: klm Cc: FreeBSD-gnats-submit@FreeBSD.org Subject: Re: ports/47312: Updated Port: security/ftimes - upgrade to version 3.2.0 Date: Wed, 22 Jan 2003 12:53:37 +0100 --=.dfnV5nTgwDVo5R Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Lately klm told: > sed 's/^X//' >ftimes/Makefile << 'END-of-ftimes/Makefile' [...] > XPREFIX= ${LOCALBASE}/integrity can't this be fitted into hier(7)? if not, at least ?= should be used [...] > Xpre-patch: > X @${MV} ${WRKSRC}/etc/dig.cfg ${WRKSRC}/etc/dig.cfg.sample > X @${MV} ${WRKSRC}/etc/get.cfg ${WRKSRC}/etc/get.cfg.sample > X @${MV} ${WRKSRC}/etc/map.cfg ${WRKSRC}/etc/map.cfg.sample > X @${MV} ${WRKSRC}/etc/put.cfg ${WRKSRC}/etc/put.cfg.sample why don't you modify the Makefile.in (as you patch it already) to install the .cfg files as .cfg.sample instead of renaming them here? > sed 's/^X//' >ftimes/pkg-message << 'END-of-ftimes/pkg-message' > X > X---------------------------------------------------------------------- > X > X If necessary, check the value of ${PREFIX} and update your PATH > X and MANPATH environment variables accordingly. By default, FTimes > X is rooted in the following location: /usr/local/integrity. use hier(7) and this should be obsolete > X For information on how to configure an Apache Web server to handle > X FTimes requests and verify client-server connectivity, refer to > X the INSTALL document located in the project's source tree. how about installing INSTALL into ${DOCSDIR}? > X "System Baselining -- A Forensic Perspective" provides additional > X background information for those interested in the subject. This > X paper, written in LaTeX, is called baselining.tex and is located > X in the project's source tree. A PDF version of the same is > X available at: http://ftimes.sourceforge.net/FTimes/Papers.shtml how about fetching the pdf too and installing it into ${DOCSDIR} (or better yet, a html version? depending on TeX to get the docs into a nice format seems overkill) > X Sample configuration files can be found in ${PREFIX}/etc. or install them to ${EXAMPLESDIR}? if not all 4 config files are needed this would prevent clobber > sed 's/^X//' >ftimes/pkg-plist << 'END-of-ftimes/pkg-plist' > Xbin/ftimes > Xcgi/cgi-client/nph-ftimes.cgi use ${PREFIX}/libexec? > Xdoc/ftimes.html > Xetc/dig.cfg.sample > Xetc/get.cfg.sample > Xetc/map.cfg.sample > Xetc/put.cfg.sample > X@unexec rmdir %D/bin 2> /dev/null || true > X@unexec rmdir %D/cgi/cgi-client 2> /dev/null || true > X@unexec rmdir %D/cgi 2> /dev/null || true > X@unexec rmdir %D/doc 2> /dev/null || true > X@unexec rmdir %D/etc 2> /dev/null || true > X@unexec rmdir %D/man/man1 2> /dev/null || true > X@unexec rmdir %D/man 2> /dev/null || true > X@unexec rmdir %D 2> /dev/null || true obey hier(7) and you don't have to do this > sed 's/^X//' >ftimes/files/patch-aa << 'END-of-ftimes/files/patch-aa' > X--- etc/Makefile.in Mon May 20 18:54:37 2002 > X+++ etc/Makefile.in.new Thu Oct 17 09:03:29 2002 > X@@ -23,15 +23,15 @@ > X > X INSTALL = @INSTALL@ > X SRC_FILES =\ > X- dig.cfg\ > X- get.cfg\ > X- map.cfg\ > X- put.cfg > X+ dig.cfg.sample\ > X+ get.cfg.sample\ > X+ map.cfg.sample\ > X+ put.cfg.sample i didn't look at it; can't this stay original and the ${MV}s from Makefile be removed? are you trying to get extra security by installing into a seperate hierarchy? how about schg'ing the binary? cheers simon -- /"\ http://corecode.ath.cx/#donate \ / \ ASCII Ribbon Campaign / \ Against HTML Mail and News --=.dfnV5nTgwDVo5R Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (FreeBSD) iD8DBQE+LoZGr5S+dk6z85oRAhrTAKDyYo9LhiPqW5bbg+/4yNsDgpcHBQCgxvA/ yrLkJOUM7zVdQvmJMtkii0s= =Er/e -----END PGP SIGNATURE----- --=.dfnV5nTgwDVo5R-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports-bugs" in the body of the message