From owner-freebsd-libh Thu Sep 26 9:23:49 2002 Delivered-To: freebsd-libh@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 4EA0B37B401 for ; Thu, 26 Sep 2002 09:23:47 -0700 (PDT) Received: from fump.kawo2.rwth-aachen.de (fump.kawo2.RWTH-Aachen.DE [134.130.181.148]) by mx1.FreeBSD.org (Postfix) with ESMTP id DD8ED43E8A for ; Thu, 26 Sep 2002 09:23:45 -0700 (PDT) (envelope-from alex@fump.kawo2.rwth-aachen.de) Received: from fump.kawo2.rwth-aachen.de (localhost [127.0.0.1]) by fump.kawo2.rwth-aachen.de (8.12.5/8.12.5) with ESMTP id g8QGOxu6048377 for ; Thu, 26 Sep 2002 18:24:59 +0200 (CEST) (envelope-from alex@fump.kawo2.rwth-aachen.de) Received: (from alex@localhost) by fump.kawo2.rwth-aachen.de (8.12.5/8.12.5/Submit) id g8QGOtS0048376 for libh@FreeBSD.org; Thu, 26 Sep 2002 18:24:55 +0200 (CEST) Date: Thu, 26 Sep 2002 18:24:55 +0200 From: Alexander Langer To: libh@FreeBSD.org Subject: package dependencies working :) Message-ID: <20020926162455.GD47655@fump.kawo2.rwth-aachen.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-PGP-Fingerprint: 7EC1 5B98 4554 2A63 9079 2B2F 9A94 CD6F 7F14 EFA4 X-PGP-at: finger alex@big.endian.de X-Verwirrung: Dieser Header dient der allgemeinen Verwirrung. User-Agent: Mutt/1.5.1i Sender: owner-freebsd-libh@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Woot! :) ### are my comments root@zerogravity ~/work/libh/cvs/libh/release/scripts/pkgtools $ ./pkg_info.tcl Name: SYSTEM Description: SYSTEM package provides architecture feature Summary: SYSTEM package provides architecture feature Author: FreeBSD Inc. Files installed: 0 Installed on: Thu Sep 26 18:19:29 2002 Conflicts: Features: Name Version Serial Snapshot SYSTEM 0.2.2 22 0 i386 0 0 0 FreeBSD 5.0 500039 0 Requires: ========================================================================== ### ok, no packages installed yet root@zerogravity ~/work/libh/cvs/libh/release/scripts/pkgtools $ ./pkg_install.tcl netcat.zip Package: netcat Summary: Simple utility which reads and writes data across network connections Author: sumikawa@FreeBSD.org Description: Netcat is a simple Unix utility which reads bla load_file called ### my debugging printf()'s :) find_and_install... hoho load_file called Line: xv 3.10a_2 0 0 xv-3.10a_2.pkg.zip ### libh automatically ### scans all the files in the local directory for features. ### netcat.zip depends on a faked "webserver" feature, which is ### provideded by "netdep.pkg.zip", see below Package is: ./xv-3.10a_2.pkg.zip Line: netmask 2.3.3 0 0 netmask-2.3.3.pkg.zip Package is: ./netmask-2.3.3.pkg.zip Line: netdep 1.10 0 0 netdep.pkg.zip Package is: ./netdep.pkg.zip Line: webserver 0 0 0 netdep.pkg.zip Package is: ./netdep.pkg.zip Package netcat installed, log: INFO: wrapper_Install_upgrade ./netdep.pkg.zip providing necessary features INFO: Package netdep installed INFO: Prefix: /opt ### since "webserver" is required, netdep is installed INFO: About to install file bin/nc INFO: About to create directory /opt/bin INFO: About to install file share/doc/netcat/README INFO: About to create directory /opt/share/doc/netcat INFO: Package netcat installed #### worked :) woot :) Alex To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-libh" in the body of the message