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
[-- Attachment #1 --]
On Fri Sep 27, 2002 at 07:22:52PM +0200, Alexander Langer wrote:
> Thus spake Antoine Beaupre (anarcat@anarcat.ath.cx):
>
> > Maybe you could send me those packages here somehow (put them on my ftp
> > or something...)
>
> Deleted them :)
>
> Just try to create e.g. the net/netcat port package.
> That gave me errors.
Hmmm...
root@lenny[/usr/ports/net/netcat]# !make
make PKG_CMD=~anarcat/libh/release/scripts/pkgtools/pkg_create LIBH=yes package
===> 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
===================================================================
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:56:40 alex Exp $
#
@@ -120,7 +120,6 @@
# echo "[Feature \"$prfx$name$sufx\" \"$version\"] \\" >> $PKGTMP/SYSINSTALL/features.tcl
#done
-exit
cat >> $PKGTMP/SYSINSTALL/features.tcl <<EOF
]
@@ -133,6 +132,8 @@
\$creator write_package_file
EOF
-tclh.static $SCRIPT
+echo "running script"
+/usr/local/bin/tclh.static $SCRIPT && echo "success"
+echo "done"
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.
--
Why bother building more nukes until we use the ones we already have?
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (FreeBSD)
iD8DBQE9mnGHttcWHAnWiGcRAlOeAKCCvMmAqLb1Yxte70zmQgXF6veYSgCgiFud
8tYxPYi3NqGirB2BInhHZ1I=
=uJmU
-----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021002040943.GE5475>
