Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 2 Oct 2002 00:09:43 -0400
From:      The Anarcat <anarcat@anarcat.ath.cx>
To:        Alexander Langer <alex@big.endian.de>
Cc:        Alexander Langer <alex@rtp1.SlowBlink.Com>, freebsd-libh@FreeBSD.ORG
Subject:   Re: cvs commit: libh/lib/sysinstall Feature.cc
Message-ID:  <20021002040943.GE5475@lenny.anarcat.ath.cx>
In-Reply-To: <20020927172252.GB54416@fump.kawo2.rwth-aachen.de>
References:  <20020927090323.GH47655@fump.kawo2.rwth-aachen.de> <4E55D5D7-D226-11D6-A69A-0050E4A0BB3F@anarcat.ath.cx> <20020927172252.GB54416@fump.kawo2.rwth-aachen.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--Yb+qhiCg54lqZFXW
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri Sep 27, 2002 at 07:22:52PM +0200, Alexander Langer wrote:
> Thus spake Antoine Beaupre (anarcat@anarcat.ath.cx):
>=20
> > Maybe you could send me those packages here somehow (put them on my ftp=
=20
> > or something...)
>=20
> Deleted them :)
>=20
> Just try to create e.g. the net/netcat port package.
> That gave me errors.

Hmmm...=20

root@lenny[/usr/ports/net/netcat]# !make
make PKG_CMD=3D~anarcat/libh/release/scripts/pkgtools/pkg_create LIBH=3Dyes=
 package
=3D=3D=3D>  Building package for netcat-1.10_1
Adding files from pkg-plist to archive...
bin/nc
share/doc/netcat/README
Done.

No apparent problem here, although I couldn't find the package at the
first run!

After hacking the pkg_create script a little randomly:

Index: pkg_create
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
RCS file: /home/libh/cvs/libh/release/scripts/pkgtools/pkg_create,v
retrieving revision 1.1
diff -u -u -r1.1 pkg_create
--- pkg_create	27 Sep 2002 09:56:40 -0000	1.1
+++ pkg_create	2 Oct 2002 04:08:16 -0000
@@ -1,4 +1,4 @@
-#!/bin/sh
+#!/bin/sh -x
 # $FreeBSD: libh/release/scripts/pkgtools/pkg_create,v 1.1 2002/09/27 09:5=
6:40 alex Exp $
 #
=20
@@ -120,7 +120,6 @@
 #    echo "[Feature \"$prfx$name$sufx\" \"$version\"] \\" >> $PKGTMP/SYSIN=
STALL/features.tcl
 #done
=20
-exit
=20
 cat >> $PKGTMP/SYSINSTALL/features.tcl <<EOF=20
     	]
@@ -133,6 +132,8 @@
 \$creator write_package_file
 EOF
=20
-tclh.static $SCRIPT
+echo "running script"
+/usr/local/bin/tclh.static $SCRIPT && echo "success"
+echo "done"
=20
 clean_exit


I could get the package to be create in /usr/ports/packages/.pkg.zip
(??).

But it basically works.

What error did you get? Where/when?

Thanks,

Ant.

--=20
Why bother building more nukes until we use the ones we already have?

--Yb+qhiCg54lqZFXW
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)

iD8DBQE9mnGHttcWHAnWiGcRAlOeAKCCvMmAqLb1Yxte70zmQgXF6veYSgCgiFud
8tYxPYi3NqGirB2BInhHZ1I=
=uJmU
-----END PGP SIGNATURE-----

--Yb+qhiCg54lqZFXW--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-libh" in the body of the message




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