From owner-freebsd-ports@FreeBSD.ORG Sat Dec 17 20:39:13 2005 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A1EB216A41F; Sat, 17 Dec 2005 20:39:13 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (Odin.AC.HMC.Edu [134.173.32.75]) by mx1.FreeBSD.org (Postfix) with ESMTP id 242AE43D4C; Sat, 17 Dec 2005 20:39:13 +0000 (GMT) (envelope-from brdavis@odin.ac.hmc.edu) Received: from odin.ac.hmc.edu (localhost.localdomain [127.0.0.1]) by odin.ac.hmc.edu (8.13.0/8.13.0) with ESMTP id jBHKdC7W001001; Sat, 17 Dec 2005 12:39:12 -0800 Received: (from brdavis@localhost) by odin.ac.hmc.edu (8.13.0/8.13.0/Submit) id jBHKdCK7001000; Sat, 17 Dec 2005 12:39:12 -0800 Date: Sat, 17 Dec 2005 12:39:12 -0800 From: Brooks Davis To: Pav Lucistnik Message-ID: <20051217203912.GD29053@odin.ac.hmc.edu> References: <20051217201004.GA845@zaphod.nitro.dk> <1134850440.64549.0.camel@localhost> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="k4f25fnPtRuIRUb3" Content-Disposition: inline In-Reply-To: <1134850440.64549.0.camel@localhost> User-Agent: Mutt/1.4.1i X-Virus-Scanned: by amavisd-new X-Spam-Status: No, hits=0.0 required=8.0 tests=none autolearn=no version=2.63 X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on odin.ac.hmc.edu Cc: freebsd-ports@freebsd.org, "Simon L. Nielsen" Subject: Re: Conflicting rc.d script and port dist directory X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Dec 2005 20:39:13 -0000 --k4f25fnPtRuIRUb3 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Dec 17, 2005 at 09:13:59PM +0100, Pav Lucistnik wrote: > Simon L. Nielsen p=ED?e v so 17. 12. 2005 v 21:10 +0100: > > Hey, > >=20 > > I'm in the process of adding an rc.d script to the security/isakmpd > > port, but I have run into a problem. > >=20 > > I have added "USE_RC_SUBR=3D isakmpd" to the port Makefile and created > > the rc.d script as files/isakmpd.in. > >=20 > > The isakmpd distfile extracts the source to isakmpd/ in the the work > > directory, which the conflicts with the rc.d script generation > > (SUB_FILES), since it tries to create ${WRKDIR}/${file} as a file. > > This shows up during make install: > >=20 > > [simon@zaphod:isakmpd] sudo make install > > =3D=3D=3D> Installing for isakmpd-20041207_1 > > cannot create /data/tmp/porttmp/home/simon/FreeBSD/ports/isakmpd/work/i= sakmpd: Is a directory > > *** Error code 2 > >=20 > > So, does anybody have good (and hopefully not to hackish) ideas of > > what to do? >=20 > Yes. Name the script isakmpd.sh.in ... >=20 > The framework will add the .sh suffix anyway. That would be a hack since we don't want to continue adding .sh... -- Brooks --=20 Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4 --k4f25fnPtRuIRUb3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.1 (GNU/Linux) iD8DBQFDpHdvXY6L6fI4GtQRAhjJAJwPkA5I08k01sZF2uQgvDfNuWs0iACgmu5x ikozTIwyJdOYlHnUGL14Rc0= =ixHD -----END PGP SIGNATURE----- --k4f25fnPtRuIRUb3--