Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Jan 2003 04:00:14 -0800 (PST)
From:      "Simon 'corecode' Schubert" <corecode@corecode.ath.cx>
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   Re: ports/47312: Updated Port: security/ftimes - upgrade to version 3.2.0
Message-ID:  <200301221200.h0MC0Er5079109@freefall.freebsd.org>

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

From: "Simon 'corecode' Schubert" <corecode@corecode.ath.cx>
To: klm <klm@ruby.ir.exodus.net>
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




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