Re: package dependencies working :)

"Jordan K. Hubbard" <[email protected]> Thu, 26 Sep 2002 09:44:28 -0700
Newsgroups gmane.os.freebsd.devel.libh
Message-ID <[email protected]>
Very cool!

On Thursday, Sep 26, 2002, at 09:24 US/Pacific, Alexander Langer wrote:

> 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: [email protected]
> 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 [email protected]
> with "unsubscribe freebsd-libh" in the body of the message


To Unsubscribe: send mail to [email protected]
with "unsubscribe freebsd-libh" in the body of the message