Contributing OpenSolaris Packages » Source Juicer Dev Zones
en

Source Juicer Dev Zones

Source Juicer Development Zones

 The OpenSolaris Test Farm provides development zones that include the OpenSolaris Source Juicer Build Grid environment to make it easy to build and test software before and after submitting spec files to the Source Juicer.

Example Package Build

 The following shows how to build a package using a spec file and producing an IPS package.

Login to Test Farm Development Zone


$ ssh jwalker@192.99.123.39 -p 20100
+~---------------------------------------------------------------------+
| This system is for the use of authorized users only, as indicated   |
| in the OpenSolaris Test Farm Terms and Conditions. All activities   |
| on this system may be monitored and recorded. Any misuse of this    |
| system can be grounds for permanent loss of access to this service. |
|~---------------------------------------------------------------------|
| Send questions or report abuses to testfarm-admin@opensolaris.org   |
+~---------------------------------------------------------------------+
Password: 
Last login: Tue Aug 11 23:48:24 2009 from 192-23-75-24.s
Sun Microsystems Inc.   SunOS 5.11      snv_111b        November 2008

Change to jucrbld Directory


jwalker@jwalker:$ cd jucrbld/
jwalker@jwalker:/jucrbld$ ls
README      copyright    include  manpages  patches  specs
base-specs  ext-sources  log      packages  scripts  tarballs
jwalker@jwalker:$ cat README <- perform what's in the README file

Try pkgtool Build


jwalker@jwalker:/jucrbld$ pkgtool build ~--download specs/metar.spec 
INFO: Copying %use'd or %include'd spec files to SPECS directory
INFO: Processing spec files
WARNING: skipping package metar: required package SUNWcurl not installed
WARNING: and no spec file specified on the command line provides it
INFO: Hint: use the ~--autodeps to locate spec files for dependencies automatically
WARNING: skipping package metar: required package SUNWgcc not installed
WARNING: and no spec file specified on the command line provides it
INFO: Hint: use the ~--autodeps to locate spec files for dependencies automatically
WARNING: skipping package metar: required package SUNWgmake not installed
WARNING: and no spec file specified on the command line provides it
INFO: Hint: use the ~--autodeps to locate spec files for dependencies automatically
WARNING: skipping package metar: required package SUNWcurl not installed
WARNING: and no spec file specified on the command line provides it
INFO: Hint: use the ~--autodeps to locate spec files for dependencies automatically

Summary:

                         package |      status | details
~---------------------------------+~-------------+~-------------------------------
                           metar |  DEP_FAILED | Dependency check failed 

Add Required Packages


jwalker@jwalker:/jucrbld$ pfexec pkg install SUNWcurl SUNWgcc SUNWgmake
DOWNLOAD                                    PKGS       FILES     XFER (MB)
Completed                                    6/6     629/629   28.68/28.68 

PHASE                                        ACTIONS
Install Phase                                892/892

Try Again


jwalker@jwalker:/jucrbld$ pkgtool build ~--download specs/metar.spec 
INFO: Copying %use'd or %include'd spec files to SPECS directory
INFO: Processing spec files
INFO: Finding sources
INFO: Downloading source http://ftp.de.debian.org/debian/pool/main/m/metar/metar_20061030.1.orig.tar.gz
INFO: Running pkgbuild -ba [...] metar.spec (metar)
INFO: metar PASSED
INFO: Installing metar from authority mypkgs

Summary:

                         package |      status | details
~---------------------------------+~-------------+~-------------------------------
                           metar |      PASSED | 

Test metar Package


jwalker@jwalker:/jucrbld$ metar -d kden
KDEN 120453Z 15009KT 10SM FEW090 19/11 A3023 RMK AO2 SLP156 T01940106
Station       : KDEN
Day           : 12
Time          : 04:53 UTC
Wind direction: 150 (SSE)
Wind speed    : 9 KT
Wind gust     : 9 KT
Visibility    : 10 SM
Temperature   : 19 C
Dewpoint      : 11 C
Pressure      : 30.23 "Hg
Clouds        : FEW at 9000 ft
Phenomena     : 

It works!!

BTW. This is how you copy a file to a zone that is using port mapping:

# scp -P 20100 pkg.spec jwalker@192.99.123.39:/export/home/jwalker/jucrbld/specs/

Source Juicer Environement Setup

 The following shows how the masterzone is setup to support the Source Juicer build environment.

Install Standard Packages


# pkg install SUNWlang-enUS SUNWlang-en
  (SUNWlang-common installed automatically)
# pkg install SUNWgpch
# pkg install SUNWpkgcmds
  (SUNWwsr2 installed automatically)
# pkg install SUNWsfwhea SUNWhea SUNWgtar SUNWwget SUNWcar SUNWkvm
# pkg install sunstudioexpress 
  (SUNWsprot SUNWlibm SUNWarc SUNWcpcu SUNWcpp SUNWj6cfg SUNWj6dev SUNWj6dmo
   SUNWj6dmx SUNWj6dvx SUNWj6man SUNWj6rt SUNWj6rtx included automatically)

Install CBE


"user_name::::profiles=Software Installation" -> /etc/user_attr

jds-cbe-1.6.2-{sparc|i386}.tar.bz2 uncompressed in /opt/tmp

/opt/tmp/jds-cbe-1.6.2# ./cbe-install
./cbe-install: line 232: /usr/xpg4/bin/id: No such file or directory
Checking for required packages...
Installing the JDS Common Build Environment (CBE) version 1.6.2
Starting from pkgbuild 1.1.0 (JDS CBE 1.5) there is no system-wide
build directory (%_topdir), instead, each user has their own.
The default directory is $HOME/packages.
If you wish to use a different build directory, you can define it
in $HOME/.pkgbuildmacros as follows:

       %_topdir    /path/to/my/build/area

Press Enter to continue

The recommended C compiler(s) for this version of the JDS CBE is/are:
        Sun Studio 11 (Venus) + patches (cc: Sun C 5.8 Patch 121015-04 2007/01/10)
        Sun Studio 11 (Venus) (cc: Sun C 5.8 Patch 121015-02 2006/03/29)
        Sun Studio 10 (Vulcan) (cc: Sun C 5.7 Patch 117836-03 2005/05/11)
Enter the path to the C compiler: /opt/SunStudioExpress/bin/cc
/opt/SunStudioExpress/bin/cc is not the recommended compiler
"cc -V" should print one of the following:
       cc: Sun C 5.8 Patch 121015-04 2007/01/10
       cc: Sun C 5.8 Patch 121015-02 2006/03/29
       cc: Sun C 5.7 Patch 117836-03 2005/05/11
Would you like to use this compiler anyway? [no]: yes
cc: Sun Ceres C 5.10 SunOS_sparc 2009/03/06
usage: cc [ options] files.  Use 'cc -flags' for details
This version of the CBE comes with some optional utilities.
These are not required for building the JDS code, nevertheless
they are useful to have on your system.
Please see the README file for the list of optional utilities.
Would you like to install the optional packages? [yes]: no
Installing package SFpkgbuild

Installation of  was successful.
Installing package CBEmake

Installation of  was successful.
Installing package CBEcvs

Installation of  was successful.
Installing package CBEm4

Installation of  was successful.
Installing package CBEautoconf

Installation of  was successful.
Installing package CBEautomake

Installation of  was successful.
Installing package CBElibtool

Installation of  was successful.
Installing package CBEgettext

Installation of  was successful.
Installing package CBEfileutils

Installation of  was successful.
Installing package CBEflex

Installation of  was successful.
Installing package CBEbison

Installation of  was successful.
Installing package CBEdiff

Installation of  was successful.
Installing package CBEant

Installation of  was successful.
Installing package CBEsvn

Installation of  was successful.
Building package CBEenv
Executing(%prep): /bin/bash /var/tmp/pkgbuild-root/pkgbuild-tmp-1.6524
+ umask 022
+ uname -a
SunOS masterzone 5.11 snv_111b sun4v sparc SUNW,Sun-Fire-T200
+ cd //root/packages/BUILD
+ mkdir -p CBEenv-1.6.2
+ exit 0
Executing(%install): /bin/bash /var/tmp/pkgbuild-root/pkgbuild-tmp-2.6524
+ umask 022
+ uname -a
SunOS masterzone 5.11 snv_111b sun4v sparc SUNW,Sun-Fire-T200
+ cd //root/packages/BUILD
+ rm -rf /var/tmp/pkgbuild-root/CBEenv-1.6.2-build
+ mkdir -p /var/tmp/pkgbuild-root/CBEenv-1.6.2-build/opt/jdsbld/bin
+ cp //root/packages/SOURCES/env.sh /var/tmp/pkgbuild-root/CBEenv-1.6.2-build/opt/jdsbld/bin
+ cp //root/packages/SOURCES/env.csh /var/tmp/pkgbuild-root/CBEenv-1.6.2-build/opt/jdsbld/bin
+ cp //root/packages/SOURCES/ld-wrapper /var/tmp/pkgbuild-root/CBEenv-1.6.2-build/opt/jdsbld/bin
+ chmod 755 /var/tmp/pkgbuild-root/CBEenv-1.6.2-build/opt/jdsbld/bin/env.csh /var/tmp/pkgbuild-root/CBEenv-1.6.2-build/opt/jdsbld/bin/env.sh /var/tmp/pkgbuild-root/CBEenv-1.6.2-build/opt/jdsbld/bin/ld-wrapper
+ exit 0
WARNING: CBEenv: no dependencies
## Building pkgmap from package prototype file.
## Processing pkginfo file.
WARNING: parameter  set to "masterzone20090811110802"
## Attempting to volumize 4 entries in pkgmap.
part  1 ~-- 25 blocks, 11 entries
## Packaging one part.
/root/packages/PKGS/CBEenv/pkgmap
/root/packages/PKGS/CBEenv/pkginfo
/root/packages/PKGS/CBEenv/reloc/bin/env.csh
/root/packages/PKGS/CBEenv/reloc/bin/env.sh
/root/packages/PKGS/CBEenv/reloc/bin/ld-wrapper
## Validating control scripts.
## Packaging complete.
## Building pkgmap from package prototype file.
## Processing pkginfo file.
WARNING: missing directory entry for 
WARNING: parameter  set to "masterzone20090811110802"
## Attempting to volumize 10 entries in pkgmap.
part  1 ~-- 58 blocks, 45 entries
## Packaging one part.
/root/packages/SPKGS/CBEenv-src/pkgmap
/root/packages/SPKGS/CBEenv-src/pkginfo
/root/packages/SPKGS/CBEenv-src/reloc/share/src/CBEenv-1.6.2/SOURCES/env.csh
/root/packages/SPKGS/CBEenv-src/reloc/share/src/CBEenv-1.6.2/SOURCES/env.sh
/root/packages/SPKGS/CBEenv-src/reloc/share/src/CBEenv-1.6.2/SOURCES/ld-wrapper
/root/packages/SPKGS/CBEenv-src/reloc/share/src/CBEenv-1.6.2/SPECS/..pkgbuild
/root/packages/SPKGS/CBEenv-src/reloc/share/src/CBEenv-1.6.2/SPECS/CBEenv.spec
## Validating control scripts.
## Packaging complete.
Executing(%clean): /bin/bash /var/tmp/pkgbuild-root/pkgbuild-tmp-7.6524
+ umask 022
+ uname -a
SunOS masterzone 5.11 snv_111b sun4v sparc SUNW,Sun-Fire-T200
+ cd //root/packages/BUILD
+ rm -rf /var/tmp/pkgbuild-root/CBEenv-1.6.2-build
+ exit 0
Packages written:
    //root/packages/PKGS/CBEenv
    //root/packages/SPKGS/CBEenv-src (source)
Installing package CBEenv

Installation of  was successful.
CBE setup complete
Run
  . /opt/jdsbld/bin/env.sh
or
  source /opt/jdsbld/bin/env.csh
depending on your shell, to use this build environment.
Installation log saved in /tmp/jds-cbe-1.6.2.install.log.6072

Remove old pkgbuild package.

# pkgrm SFpkgbuild

Install Current pkgbuild


pkgbuild-1.3.100.tar.bz2 uncompressed in /opt/tmp

/opt/tmp/pkgbuild-1.3.100# PATH=/opt/SunStudioExpress/bin:$PATH
/opt/tmp/pkgbuild-1.3.100# ./configure ~--prefix=/opt/dtbld
checking for a BSD-compatible install... ./install-sh -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... nawk
checking whether make sets $(MAKE)... yes
checking for style of include used by make... GNU
checking for gcc... no
checking for cc... cc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... no
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking dependency style of cc... none
checking whether cc understands -c and -o together... yes
checking for perl... /usr/bin/perl
checking for perl... /usr/bin/perl
checking for gpatch... /usr/bin/gpatch
checking if /usr/bin/gpatch is GNU patch... yes
checking for gtar... /usr/sfw/bin/gtar
checking if /usr/sfw/bin/gtar is GNU tar... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating m4/Makefile
config.status: creating pkgbuild
config.status: creating pkgbuild.pl
config.status: creating rpm_spec.pm
config.status: creating pkgdb.pm
config.status: creating pkgbuild.spec
config.status: creating pkgtool
config.status: creating spectool
config.status: creating macros
config.status: creating version-file
config.status: executing depfiles commands

/opt/tmp/pkgbuild-1.3.100# make install
Making install in m4
source='pkgdbgrep.c' object='pkgdbgrep-pkgdbgrep.o' libtool=no \
DEPDIR=.deps depmode=none /bin/sh ./depcomp \
cc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DPACKAGE=\"pkgbuild\" -DVERSION=\"1.3.100\" -I.    -D_LARGEFILE64_SOURCE -DPKGBUILD_VERSION=\"1.3.100\" -g -c -o pkgdbgrep-pkgdbgrep.o `test -f 'pkgdbgrep.c' || echo './'`pkgdbgrep.c
cc -D_LARGEFILE64_SOURCE  -DPKGBUILD_VERSION=\"1.3.100\" -g    -o pkgdbgrep pkgdbgrep-pkgdbgrep.o
test -z "/opt/dtbld/bin" || ./install-sh -c -d "/opt/dtbld/bin"
 ./install-sh -c 'pkgbuild' '/opt/dtbld/bin/pkgbuild'
 ./install-sh -c 'spectool' '/opt/dtbld/bin/spectool'
 ./install-sh -c 'pkgtool' '/opt/dtbld/bin/pkgtool'
test -z "/opt/dtbld/lib/pkgbuild-1.3.100" || ./install-sh -c -d "/opt/dtbld/lib/pkgbuild-1.3.100"
 ./install-sh -c -m 644 'rpm_spec.pm' '/opt/dtbld/lib/pkgbuild-1.3.100/rpm_spec.pm'
 ./install-sh -c -m 644 'pkgdb.pm' '/opt/dtbld/lib/pkgbuild-1.3.100/pkgdb.pm'
 ./install-sh -c -m 644 'packagebase.pm' '/opt/dtbld/lib/pkgbuild-1.3.100/packagebase.pm'
 ./install-sh -c -m 644 'rpm_file.pm' '/opt/dtbld/lib/pkgbuild-1.3.100/rpm_file.pm'
 ./install-sh -c -m 644 'rpm_package.pm' '/opt/dtbld/lib/pkgbuild-1.3.100/rpm_package.pm'
 ./install-sh -c -m 644 'config.pm' '/opt/dtbld/lib/pkgbuild-1.3.100/config.pm'
 ./install-sh -c -m 644 'ips_utils.pm' '/opt/dtbld/lib/pkgbuild-1.3.100/ips_utils.pm'
 ./install-sh -c -m 644 'get_rpm_topdir' '/opt/dtbld/lib/pkgbuild-1.3.100/get_rpm_topdir'
 ./install-sh -c -m 644 'pkgnames' '/opt/dtbld/lib/pkgbuild-1.3.100/pkgnames'
 ./install-sh -c -m 644 'macros' '/opt/dtbld/lib/pkgbuild-1.3.100/macros'
 ./install-sh -c -m 644 'version-file' '/opt/dtbld/lib/pkgbuild-1.3.100/version-file'
test -z "/opt/dtbld/lib/pkgbuild-1.3.100" || ./install-sh -c -d "/opt/dtbld/lib/pkgbuild-1.3.100"
  ./install-sh -c 'pkgdbgrep' '/opt/dtbld/lib/pkgbuild-1.3.100/pkgdbgrep'
test -z "/opt/dtbld/lib/pkgbuild-1.3.100" || ./install-sh -c -d "/opt/dtbld/lib/pkgbuild-1.3.100"
 ./install-sh -c 'pkgbuild.pl' '/opt/dtbld/lib/pkgbuild-1.3.100/pkgbuild.pl'
 ./install-sh -c 'pkgbuild-postprocess' '/opt/dtbld/lib/pkgbuild-1.3.100/pkgbuild-postprocess'
 ./install-sh -c 'spectool.pl' '/opt/dtbld/lib/pkgbuild-1.3.100/spectool.pl'
 ./install-sh -c 'pkgtool.pl' '/opt/dtbld/lib/pkgbuild-1.3.100/pkgtool.pl'

Full IPS Package List


$ pkg list
NAME (PUBLISHER)                              VERSION         STATE      UFIX
SUNWPython (opensolaris.org)                  2.4.4-0.111     installed  ~----
SUNWTcl (opensolaris.org)                     8.4.18-0.111    installed  ~----
SUNWTk (opensolaris.org)                      8.4.18-0.111    installed  ~----
SUNWadmap (opensolaris.org)                   0.5.11-0.111    installed  ~----
SUNWadmlib-sysid (opensolaris.org)            0.5.11-0.111    installed  ~----
SUNWadmr (opensolaris.org)                    0.5.11-0.111    installed  ~----
SUNWarc (opensolaris.org)                     0.5.11-0.111    installed  ~----
SUNWatfs (opensolaris.org)                    0.5.11-0.111    installed  ~----
SUNWbash (opensolaris.org)                    3.2.25-0.111    installed  ~----
SUNWbinutils (opensolaris.org)                2.15-0.111      installed  ~----
SUNWbip (opensolaris.org)                     0.5.11-0.111    installed  ~----
SUNWbzip (opensolaris.org)                    1.0.5-0.111     installed  ~----
SUNWcar (opensolaris.org)                     0.5.11-0.111    installed  ~----
SUNWckr (opensolaris.org)                     0.5.11-0.111    installed  ~----
SUNWcnetr (opensolaris.org)                   0.5.11-0.111    installed  ~----
SUNWcpcu (opensolaris.org)                    0.5.11-0.111    installed  ~----
SUNWcpp (opensolaris.org)                     0.5.11-0.111    installed  ~----
SUNWcs (opensolaris.org)                      0.5.11-0.111    installed  ~----
SUNWcsd (opensolaris.org)                     0.5.11-0.111    installed  ~----
SUNWcsl (opensolaris.org)                     0.5.11-0.111    installed  ~----
SUNWdoc (opensolaris.org)                     0.5.11-0.111    installed  ~----
SUNWdtrc (opensolaris.org)                    0.5.11-0.111    installed  ~----
SUNWesu (opensolaris.org)                     0.5.11-0.111    installed  ~----
SUNWgccruntime (opensolaris.org)              3.4.3-0.111     installed  ~----
SUNWgnu-idn (opensolaris.org)                 1.9-0.111       installed  ~----
SUNWgpch (opensolaris.org)                    2.5.9-0.111     installed  ~----
SUNWgss (opensolaris.org)                     0.5.11-0.111    installed  ~----
SUNWgtar (opensolaris.org)                    1.17-0.111      installed  ~----
SUNWgzip (opensolaris.org)                    1.3.5-0.111     installed  ~----
SUNWhea (opensolaris.org)                     0.5.11-0.111    installed  ~----
SUNWinstall-libs (opensolaris.org)            0.5.11-0.111    installed  ~----
SUNWipkg (opensolaris.org)                    0.5.11-0.111    installed  ~----
SUNWj6cfg (opensolaris.org)                   0.5.11-0.111    installed  ~----
SUNWj6dev (opensolaris.org)                   0.5.11-0.111    installed  ~----
SUNWj6dmo (opensolaris.org)                   0.5.11-0.111    installed  ~----
SUNWj6dmx (opensolaris.org)                   0.5.11-0.111    installed  ~----
SUNWj6dvx (opensolaris.org)                   0.5.11-0.111    installed  ~----
SUNWj6man (opensolaris.org)                   0.5.11-0.111    installed  ~----
SUNWj6rt (opensolaris.org)                    0.5.11-0.111    installed  ~----
SUNWj6rtx (opensolaris.org)                   0.5.11-0.111    installed  ~----
SUNWkrb (opensolaris.org)                     0.5.11-0.111    installed  ~----
SUNWkvm (opensolaris.org)                     0.5.11-0.111    installed  ~----
SUNWlang-common (opensolaris.org)             0.5.11-0.111    installed  ~----
SUNWlang-en (opensolaris.org)                 0.5.11-0.111    installed  ~----
SUNWlang-enUS (opensolaris.org)               0.5.11-0.111    installed  ~----
SUNWless (opensolaris.org)                    418-0.111       installed  ~----
SUNWlexpt (opensolaris.org)                   2.0.1-0.111     installed  ~----
SUNWlibC (opensolaris.org)                    0.5.11-0.111    installed  ~----
SUNWlibm (opensolaris.org)                    0.5.11-0.111    installed  ~----
SUNWlibms (opensolaris.org)                   0.5.11-0.111    installed  ~----
SUNWlibsasl (opensolaris.org)                 0.5.11-0.111    installed  ~----
SUNWlldap (opensolaris.org)                   0.5.11-0.111    installed  ~----
SUNWloc (opensolaris.org)                     0.5.11-0.111    installed  ~----
SUNWlxml (opensolaris.org)                    2.6.31-0.111    installed  ~----
SUNWmd (opensolaris.org)                      0.5.11-0.111    installed  ~----
SUNWnfsc (opensolaris.org)                    0.5.11-0.111    installed  ~----
SUNWnis (opensolaris.org)                     0.5.11-0.111    installed  ~----
SUNWopenssl (opensolaris.org)                 0.9.8-0.111     installed  ~----
SUNWperl584core (opensolaris.org)             5.8.4-0.111     installed  ~----
SUNWpicl (opensolaris.org)                    0.5.11-0.111    installed  ~----
SUNWpkgcmds (opensolaris.org)                 0.5.11-0.111    installed  ~----
SUNWpool (opensolaris.org)                    0.5.11-0.111    installed  ~----
SUNWpr (opensolaris.org)                      0.5.11-0.111    installed  ~----
SUNWpython-cherrypy (opensolaris.org)         3.1.1-0.111     installed  ~----
SUNWpython-mako (opensolaris.org)             0.2.2-0.111     installed  ~----
SUNWpython-ply (opensolaris.org)              3.1-0.111       installed  ~----
SUNWpython-pyopenssl (opensolaris.org)        0.8-0.111       installed  ~----
SUNWpython24-simplejson (opensolaris.org)     0.5.11-0.111    installed  ~----
SUNWrcmdc (opensolaris.org)                   0.5.11-0.111    installed  ~----
SUNWsfwhea (opensolaris.org)                  0.5.11-0.111    installed  ~----
SUNWsmapi (opensolaris.org)                   0.5.11-0.111    installed  ~----
SUNWsprot (opensolaris.org)                   0.5.11-0.111    installed  ~----
SUNWssh (opensolaris.org)                     0.5.11-0.111    installed  ~----
SUNWsshcu (opensolaris.org)                   0.5.11-0.111    installed  ~----
SUNWsshd (opensolaris.org)                    0.5.11-0.111    installed  ~----
SUNWtecla (opensolaris.org)                   1.6.0-0.111     installed  ~----
SUNWtls (opensolaris.org)                     0.5.11-0.111    installed  ~----
SUNWtoo (opensolaris.org)                     0.5.11-0.111    installed  ~----
SUNWvim (opensolaris.org)                     7.2.141-0.111   installed  ~----
SUNWwbsup (opensolaris.org)                   0.5.11-0.111    installed  ~----
SUNWwget (opensolaris.org)                    1.10.2-0.111    installed  ~----
SUNWwsr2 (opensolaris.org)                    0.5.11-0.111    installed  ~----
SUNWxwrtl (opensolaris.org)                   0.5.11-0.111    installed  ~----
SUNWzfs (opensolaris.org)                     0.5.11-0.111    installed  ~----
SUNWzlib (opensolaris.org)                    1.2.3-0.111     installed  ~----
SUNWzone (opensolaris.org)                    0.5.11-0.111    installed  ~----
entire (opensolaris.org)                      0.5.11-0.111    installed  ~----
sunstudioexpress (opensolaris.org)            0.2009.3.1-0.111 installed  ~----

CBE SVR4 Packages


$ pkginfo
JDS         CBEant                    JDS CBE: Apache Ant
JDS         CBEautoconf               JDS CBE: GNU autoconf
JDS         CBEautomake               JDS CBE: GNU automake
JDS         CBEbison                  JDS CBE: The bison parser generator
JDS         CBEcvs                    JDS CBE: CVS - concurrent versions system
JDS         CBEdiff                   JDS CBE: GNU diff
JDS         CBEenv                    JDS CBE: env setup scripts for the JDS CBE
JDS         CBEfileutils              JDS CBE: GNU fileutils
JDS         CBEflex                   JDS CBE: flex: a lexical analyser
JDS         CBEgettext                JDS CBE: GNU gettext
JDS         CBElibtool                JDS CBE: GNU libtool
JDS         CBEm4                     JDS CBE: GNU m4
JDS         CBEmake                   JDS CBE: GNU make
JDS         CBEsvn                    JDS CBE: Subversion SCM
...

Create Local IPS Repository


# svcadm enable application/pkg/server
# pkg set-publisher -P -O http://localhost:80 mypkgs
# pkg publisher
PUBLISHER                             TYPE     STATUS   URI
mypkgs                   (preferred)  origin   online   http://localhost:80/
contrib.opensolaris.org               origin   online   http://pkg.opensolaris.org/contrib/
opensolaris.org                       origin   online   http://pkg.opensolaris.org/

Tags:
Created by admin on 2009/10/26 12:11
Last modified by admin on 2009/10/26 12:11

XWiki Enterprise 2.7.1.34853 - Documentation