Luis de Bethencourt napsal(a):
Hello all,

As a new IPS packager I'm wondering if there are rules/guidelines that
_must_ be followed while packaging and if there is a fairly extense
HowTo/tutorial. I'm learning with bits and pieces of different places.
Something that explained the theory and then gave an example that
started in downloading the source, doing the spec file, and onward
would help a lot get new package developers/maintainers into the
project.

Cheers,

Luis de Bethencourt


Hi Luis,

I've struggled a bit with package creation, so I've created a step-by-step HOWTO for making an IPS package.

All comments and corrections are welcome.

I plan to post this info on some public wiki if people on this forum are happy with it. It will hopefully save some minutes of packager's time.

Cheers
Vit Hrachovy
Building OpenSolaris mc IPS package
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Enable local pkg server
-*-*-*-*-*-*-*-*-*-*-*-

        pfexec svccfg -s pkg/server "setprop pkg/port = 10000"
        pfexec svcadm refresh pkg/server
        pfexec svcadm enable pkg/server
        pfexec svcadm restart pkg/server

Install build dependencies      
-*-*-*-*-*-*-*-*-*-*-*-*-*

        pfexec pkg install SUNWgcc
        pfexec pkg install SUNWGlib
        pfexec pkg install SUNWsfwhea
        pfexec pkg install SUNWxwinc

Compile
-*-*-*-

        mkdir ~/tmp
        cd
        INSTDESTDIR=`pwd`/tmp
        wget -c 
http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/mc-4.6.1.tar.gz
        tar xzvf mc-4.6.1.tar.gz && cd mc-4.6.1
        ./configure --prefix=$INSTDESTDIR
        make
        make install

Push the files to repo
-*-*-*-*-*-*-*-*-*-*-*

        cd $INSTDESTDIR
        cat <<EOF >mc.resource
#!/bin/bash     
set -e
eval `pkgsend open [EMAIL PROTECTED]
#
# header
#
pkgsend add set name="pkg.name"           value="GNU Midnight Commander - 
orthodox terminal file manager for Unix-like systems"
pkgsend add set name="pkg.description"    value="GNU Midnight Commander - 
orthodox terminal file manager for Unix-like systems"
pkgsend add set name="pkg.detailed_url"   
value="http://en.wikipedia.org/wiki/Midnight_Commander";
pkgsend add set name="maintainer"         value="Vit Hrachovy <[EMAIL 
PROTECTED]>"
pkgsend add set name="upstream"           value="[EMAIL PROTECTED]"
pkgsend add set name="upstream_url"       value="http://www.ibiblio.org/mc/";
pkgsend add set name="source_url"         
value="http://www.ibiblio.org/pub/Linux/utils/file/managers/mc/mc-4.6.1.tar.gz";
pkgsend add set name="repository_url"     
value="http://cvs.savannah.gnu.org/viewcvs/mc/mc/";
pkgsend add set name="gui.classification" value="console terminal file manager"
#
# dependencies
#
pkgsend add depend fmri=pkg:/[EMAIL PROTECTED] type=require
#
# directories
#
pkgsend add dir mode=0555 owner=root group=bin path=/usr/
pkgsend add dir mode=0555 owner=root group=bin path=/usr/bin
pkgsend add dir mode=0555 owner=root group=bin path=/usr/lib
pkgsend add dir mode=0555 owner=root group=bin path=/usr/lib/mc
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/mc
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/mc/bin
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/mc/syntax
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/mc/extfs
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/ca
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/ca/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/ro
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/ro/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/it
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/it/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/ta
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/ta/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/sl
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/sl/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/sr
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/sr/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/tr
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/tr/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/sk
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/sk/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/be
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/be/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/da
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/da/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/ja
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/ja/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/de
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/de/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/uk
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/uk/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/el
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/el/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/zh_TW
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/zh_TW/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/az
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/az/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/sv
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/sv/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/fi
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/fi/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/lv
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/lv/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/eu
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/eu/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/pt
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/pt/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/ko
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/ko/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/zh_CN
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/zh_CN/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/ru
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/ru/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/cs
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/cs/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/lt
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/lt/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/fr
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/fr/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/mn
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/mn/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/nl
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/nl/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/bg
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/bg/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/wa
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/wa/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/es
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/es/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/pl
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/pl/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/pt_BR
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/pt_BR/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/hu
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/hu/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/share/locale/no
pkgsend add dir mode=0555 owner=root group=bin 
path=/usr/share/locale/no/LC_MESSAGES
pkgsend add dir mode=0555 owner=root group=bin path=/usr/man
pkgsend add dir mode=0555 owner=root group=bin path=/usr/man/man1
pkgsend add dir mode=0555 owner=root group=bin path=/usr/man/it
pkgsend add dir mode=0555 owner=root group=bin path=/usr/man/it/man1
pkgsend add dir mode=0555 owner=root group=bin path=/usr/man/sr
pkgsend add dir mode=0555 owner=root group=bin path=/usr/man/sr/man1
pkgsend add dir mode=0555 owner=root group=bin path=/usr/man/sr/man8
pkgsend add dir mode=0555 owner=root group=bin path=/usr/man/ru
pkgsend add dir mode=0555 owner=root group=bin path=/usr/man/ru/man1
pkgsend add dir mode=0555 owner=root group=bin path=/usr/man/man8
pkgsend add dir mode=0555 owner=root group=bin path=/usr/man/pl
pkgsend add dir mode=0555 owner=root group=bin path=/usr/man/pl/man1
pkgsend add dir mode=0555 owner=root group=bin path=/usr/man/es
pkgsend add dir mode=0555 owner=root group=bin path=/usr/man/es/man1
pkgsend add dir mode=0555 owner=root group=bin path=/usr/man/hu
pkgsend add dir mode=0555 owner=root group=bin path=/usr/man/hu/man1
pkgsend add dir mode=0555 owner=root group=bin path=/usr/sbin
#
# files
#
pkgsend add file usr/bin/mcmfmt  mode=0555 owner=root group=bin 
path=/usr/bin/mcmfmt
pkgsend add file usr/bin/mc  mode=0555 owner=root group=bin path=/usr/bin/mc
pkgsend add file usr/lib/charset.alias  mode=0444 owner=root group=bin 
path=/usr/lib/charset.alias
pkgsend add file usr/share/mc/mc.ext  mode=0444 owner=root group=bin 
path=/usr/share/mc/mc.ext
pkgsend add file usr/share/mc/mc.hlp.sr  mode=0444 owner=root group=bin 
path=/usr/share/mc/mc.hlp.sr
pkgsend add file usr/share/mc/mc.hint.zh  mode=0444 owner=root group=bin 
path=/usr/share/mc/mc.hint.zh
pkgsend add file usr/share/mc/bin/mc-wrapper.sh  mode=0555 owner=root group=bin 
path=/usr/share/mc/bin/mc-wrapper.sh
pkgsend add file usr/share/mc/bin/mc-wrapper.csh  mode=0555 owner=root 
group=bin path=/usr/share/mc/bin/mc-wrapper.csh
pkgsend add file usr/share/mc/bin/mc.sh  mode=0555 owner=root group=bin 
path=/usr/share/mc/bin/mc.sh
pkgsend add file usr/share/mc/bin/mc.csh  mode=0555 owner=root group=bin 
path=/usr/share/mc/bin/mc.csh
pkgsend add file usr/share/mc/mc.hlp.it  mode=0444 owner=root group=bin 
path=/usr/share/mc/mc.hlp.it
pkgsend add file usr/share/mc/edit.indent.rc  mode=0444 owner=root group=bin 
path=/usr/share/mc/edit.indent.rc
pkgsend add file usr/share/mc/mc.hint.sr  mode=0444 owner=root group=bin 
path=/usr/share/mc/mc.hint.sr
pkgsend add file usr/share/mc/mc.menu  mode=0444 owner=root group=bin 
path=/usr/share/mc/mc.menu
pkgsend add file usr/share/mc/mc.hint.it  mode=0444 owner=root group=bin 
path=/usr/share/mc/mc.hint.it
pkgsend add file usr/share/mc/mc.hlp  mode=0444 owner=root group=bin 
path=/usr/share/mc/mc.hlp
pkgsend add file usr/share/mc/mc.hint.ru  mode=0444 owner=root group=bin 
path=/usr/share/mc/mc.hint.ru
pkgsend add file usr/share/mc/syntax/ml.syntax  mode=0444 owner=root group=bin 
path=/usr/share/mc/syntax/ml.syntax
pkgsend add file usr/share/mc/syntax/assembler.syntax  mode=0444 owner=root 
group=bin path=/usr/share/mc/syntax/assembler.syntax
pkgsend add file usr/share/mc/syntax/texinfo.syntax  mode=0444 owner=root 
group=bin path=/usr/share/mc/syntax/texinfo.syntax
pkgsend add file usr/share/mc/syntax/spec.syntax  mode=0444 owner=root 
group=bin path=/usr/share/mc/syntax/spec.syntax
pkgsend add file usr/share/mc/syntax/ruby.syntax  mode=0444 owner=root 
group=bin path=/usr/share/mc/syntax/ruby.syntax
pkgsend add file usr/share/mc/syntax/js.syntax  mode=0444 owner=root group=bin 
path=/usr/share/mc/syntax/js.syntax
pkgsend add file usr/share/mc/syntax/html.syntax  mode=0444 owner=root 
group=bin path=/usr/share/mc/syntax/html.syntax
pkgsend add file usr/share/mc/syntax/idl.syntax  mode=0444 owner=root group=bin 
path=/usr/share/mc/syntax/idl.syntax
pkgsend add file usr/share/mc/syntax/makefile.syntax  mode=0444 owner=root 
group=bin path=/usr/share/mc/syntax/makefile.syntax
pkgsend add file usr/share/mc/syntax/m4.syntax  mode=0444 owner=root group=bin 
path=/usr/share/mc/syntax/m4.syntax
pkgsend add file usr/share/mc/syntax/cs.syntax  mode=0444 owner=root group=bin 
path=/usr/share/mc/syntax/cs.syntax
pkgsend add file usr/share/mc/syntax/xml.syntax  mode=0444 owner=root group=bin 
path=/usr/share/mc/syntax/xml.syntax
pkgsend add file usr/share/mc/syntax/java.syntax  mode=0444 owner=root 
group=bin path=/usr/share/mc/syntax/java.syntax
pkgsend add file usr/share/mc/syntax/syntax.syntax  mode=0444 owner=root 
group=bin path=/usr/share/mc/syntax/syntax.syntax
pkgsend add file usr/share/mc/syntax/lisp.syntax  mode=0444 owner=root 
group=bin path=/usr/share/mc/syntax/lisp.syntax
pkgsend add file usr/share/mc/syntax/perl.syntax  mode=0444 owner=root 
group=bin path=/usr/share/mc/syntax/perl.syntax
pkgsend add file usr/share/mc/syntax/eiffel.syntax  mode=0444 owner=root 
group=bin path=/usr/share/mc/syntax/eiffel.syntax
pkgsend add file usr/share/mc/syntax/octave.syntax  mode=0444 owner=root 
group=bin path=/usr/share/mc/syntax/octave.syntax
pkgsend add file usr/share/mc/syntax/ada95.syntax  mode=0444 owner=root 
group=bin path=/usr/share/mc/syntax/ada95.syntax
pkgsend add file usr/share/mc/syntax/php.syntax  mode=0444 owner=root group=bin 
path=/usr/share/mc/syntax/php.syntax
pkgsend add file usr/share/mc/syntax/latex.syntax  mode=0444 owner=root 
group=bin path=/usr/share/mc/syntax/latex.syntax
pkgsend add file usr/share/mc/syntax/tcl.syntax  mode=0444 owner=root group=bin 
path=/usr/share/mc/syntax/tcl.syntax
pkgsend add file usr/share/mc/syntax/swig.syntax  mode=0444 owner=root 
group=bin path=/usr/share/mc/syntax/swig.syntax
pkgsend add file usr/share/mc/syntax/sh.syntax  mode=0444 owner=root group=bin 
path=/usr/share/mc/syntax/sh.syntax
pkgsend add file usr/share/mc/syntax/changelog.syntax  mode=0444 owner=root 
group=bin path=/usr/share/mc/syntax/changelog.syntax
pkgsend add file usr/share/mc/syntax/slang.syntax  mode=0444 owner=root 
group=bin path=/usr/share/mc/syntax/slang.syntax
pkgsend add file usr/share/mc/syntax/fortran.syntax  mode=0444 owner=root 
group=bin path=/usr/share/mc/syntax/fortran.syntax
pkgsend add file usr/share/mc/syntax/pascal.syntax  mode=0444 owner=root 
group=bin path=/usr/share/mc/syntax/pascal.syntax
pkgsend add file usr/share/mc/syntax/sql.syntax  mode=0444 owner=root group=bin 
path=/usr/share/mc/syntax/sql.syntax
pkgsend add file usr/share/mc/syntax/po.syntax  mode=0444 owner=root group=bin 
path=/usr/share/mc/syntax/po.syntax
pkgsend add file usr/share/mc/syntax/c.syntax  mode=0444 owner=root group=bin 
path=/usr/share/mc/syntax/c.syntax
pkgsend add file usr/share/mc/syntax/diff.syntax  mode=0444 owner=root 
group=bin path=/usr/share/mc/syntax/diff.syntax
pkgsend add file usr/share/mc/syntax/dos.syntax  mode=0444 owner=root group=bin 
path=/usr/share/mc/syntax/dos.syntax
pkgsend add file usr/share/mc/syntax/Syntax  mode=0444 owner=root group=bin 
path=/usr/share/mc/syntax/Syntax
pkgsend add file usr/share/mc/syntax/aspx.syntax  mode=0444 owner=root 
group=bin path=/usr/share/mc/syntax/aspx.syntax
pkgsend add file usr/share/mc/syntax/lua.syntax  mode=0444 owner=root group=bin 
path=/usr/share/mc/syntax/lua.syntax
pkgsend add file usr/share/mc/syntax/nroff.syntax  mode=0444 owner=root 
group=bin path=/usr/share/mc/syntax/nroff.syntax
pkgsend add file usr/share/mc/syntax/smalltalk.syntax  mode=0444 owner=root 
group=bin path=/usr/share/mc/syntax/smalltalk.syntax
pkgsend add file usr/share/mc/syntax/unknown.syntax  mode=0444 owner=root 
group=bin path=/usr/share/mc/syntax/unknown.syntax
pkgsend add file usr/share/mc/syntax/lsm.syntax  mode=0444 owner=root group=bin 
path=/usr/share/mc/syntax/lsm.syntax
pkgsend add file usr/share/mc/syntax/mail.syntax  mode=0444 owner=root 
group=bin path=/usr/share/mc/syntax/mail.syntax
pkgsend add file usr/share/mc/syntax/python.syntax  mode=0444 owner=root 
group=bin path=/usr/share/mc/syntax/python.syntax
pkgsend add file usr/share/mc/syntax/povray.syntax  mode=0444 owner=root 
group=bin path=/usr/share/mc/syntax/povray.syntax
pkgsend add file usr/share/mc/cedit.menu  mode=0444 owner=root group=bin 
path=/usr/share/mc/cedit.menu
pkgsend add file usr/share/mc/mc.hlp.ru  mode=0444 owner=root group=bin 
path=/usr/share/mc/mc.hlp.ru
pkgsend add file usr/share/mc/mc.hint  mode=0444 owner=root group=bin 
path=/usr/share/mc/mc.hint
pkgsend add file usr/share/mc/mc.hint.uk  mode=0444 owner=root group=bin 
path=/usr/share/mc/mc.hint.uk
pkgsend add file usr/share/mc/mc.hint.nl  mode=0444 owner=root group=bin 
path=/usr/share/mc/mc.hint.nl
pkgsend add file usr/share/mc/extfs/uzip  mode=0555 owner=root group=bin 
path=/usr/share/mc/extfs/uzip
pkgsend add file usr/share/mc/extfs/apt  mode=0555 owner=root group=bin 
path=/usr/share/mc/extfs/apt
pkgsend add file usr/share/mc/extfs/bpp  mode=0555 owner=root group=bin 
path=/usr/share/mc/extfs/bpp
pkgsend add file usr/share/mc/extfs/a  mode=0555 owner=root group=bin 
path=/usr/share/mc/extfs/a
pkgsend add file usr/share/mc/extfs/iso9660  mode=0555 owner=root group=bin 
path=/usr/share/mc/extfs/iso9660
pkgsend add file usr/share/mc/extfs/uarj  mode=0555 owner=root group=bin 
path=/usr/share/mc/extfs/uarj
pkgsend add file usr/share/mc/extfs/README  mode=0444 owner=root group=bin 
path=/usr/share/mc/extfs/README
pkgsend add file usr/share/mc/extfs/trpm  mode=0555 owner=root group=bin 
path=/usr/share/mc/extfs/trpm
pkgsend add file usr/share/mc/extfs/hp48  mode=0555 owner=root group=bin 
path=/usr/share/mc/extfs/hp48
pkgsend add file usr/share/mc/extfs/patchfs  mode=0555 owner=root group=bin 
path=/usr/share/mc/extfs/patchfs
pkgsend add file usr/share/mc/extfs/deba  mode=0555 owner=root group=bin 
path=/usr/share/mc/extfs/deba
pkgsend add file usr/share/mc/extfs/lslR  mode=0555 owner=root group=bin 
path=/usr/share/mc/extfs/lslR
pkgsend add file usr/share/mc/extfs/urar  mode=0555 owner=root group=bin 
path=/usr/share/mc/extfs/urar
pkgsend add file usr/share/mc/extfs/mailfs  mode=0555 owner=root group=bin 
path=/usr/share/mc/extfs/mailfs
pkgsend add file usr/share/mc/extfs/deb  mode=0555 owner=root group=bin 
path=/usr/share/mc/extfs/deb
pkgsend add file usr/share/mc/extfs/dpkg  mode=0555 owner=root group=bin 
path=/usr/share/mc/extfs/dpkg
pkgsend add file usr/share/mc/extfs/debd  mode=0555 owner=root group=bin 
path=/usr/share/mc/extfs/debd
pkgsend add file usr/share/mc/extfs/uha  mode=0555 owner=root group=bin 
path=/usr/share/mc/extfs/uha
pkgsend add file usr/share/mc/extfs/rpm  mode=0555 owner=root group=bin 
path=/usr/share/mc/extfs/rpm
pkgsend add file usr/share/mc/extfs/ulha  mode=0555 owner=root group=bin 
path=/usr/share/mc/extfs/ulha
pkgsend add file usr/share/mc/extfs/rpms  mode=0555 owner=root group=bin 
path=/usr/share/mc/extfs/rpms
pkgsend add file usr/share/mc/extfs/audio  mode=0555 owner=root group=bin 
path=/usr/share/mc/extfs/audio
pkgsend add file usr/share/mc/extfs/uar  mode=0555 owner=root group=bin 
path=/usr/share/mc/extfs/uar
pkgsend add file usr/share/mc/extfs/uzoo  mode=0555 owner=root group=bin 
path=/usr/share/mc/extfs/uzoo
pkgsend add file usr/share/mc/extfs/sfs.ini  mode=0444 owner=root group=bin 
path=/usr/share/mc/extfs/sfs.ini
pkgsend add file usr/share/mc/extfs/extfs.ini  mode=0444 owner=root group=bin 
path=/usr/share/mc/extfs/extfs.ini
pkgsend add file usr/share/mc/edit.spell.rc  mode=0444 owner=root group=bin 
path=/usr/share/mc/edit.spell.rc
pkgsend add file usr/share/mc/mc.menu.sr  mode=0444 owner=root group=bin 
path=/usr/share/mc/mc.menu.sr
pkgsend add file usr/share/mc/mc.hint.cs  mode=0444 owner=root group=bin 
path=/usr/share/mc/mc.hint.cs
pkgsend add file usr/share/mc/mc.hint.pl  mode=0444 owner=root group=bin 
path=/usr/share/mc/mc.hint.pl
pkgsend add file usr/share/mc/mc.hint.es  mode=0444 owner=root group=bin 
path=/usr/share/mc/mc.hint.es
pkgsend add file usr/share/mc/mc.hint.hu  mode=0444 owner=root group=bin 
path=/usr/share/mc/mc.hint.hu
pkgsend add file usr/share/mc/mc.lib  mode=0444 owner=root group=bin 
path=/usr/share/mc/mc.lib
pkgsend add file usr/share/mc/mc.hlp.es  mode=0444 owner=root group=bin 
path=/usr/share/mc/mc.hlp.es
pkgsend add file usr/share/mc/mc.hlp.pl  mode=0444 owner=root group=bin 
path=/usr/share/mc/mc.hlp.pl
pkgsend add file usr/share/mc/mc.hlp.hu  mode=0444 owner=root group=bin 
path=/usr/share/mc/mc.hlp.hu
pkgsend add file usr/share/locale/ca/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/ca/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/ro/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/ro/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/it/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/it/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/ta/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/ta/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/sl/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/sl/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/sr/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/sr/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/tr/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/tr/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/sk/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/sk/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/be/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/be/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/locale.alias  mode=0444 owner=root group=bin 
path=/usr/share/locale/locale.alias
pkgsend add file usr/share/locale/da/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/da/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/ja/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/ja/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/de/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/de/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/uk/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/uk/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/el/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/el/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/zh_TW/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/zh_TW/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/az/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/az/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/sv/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/sv/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/fi/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/fi/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/lv/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/lv/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/eu/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/eu/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/pt/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/pt/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/ko/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/ko/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/zh_CN/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/zh_CN/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/ru/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/ru/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/cs/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/cs/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/lt/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/lt/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/fr/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/fr/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/mn/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/mn/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/nl/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/nl/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/bg/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/bg/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/wa/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/wa/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/es/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/es/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/pl/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/pl/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/pt_BR/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/pt_BR/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/hu/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/hu/LC_MESSAGES/mc.mo
pkgsend add file usr/share/locale/no/LC_MESSAGES/mc.mo  mode=0444 owner=root 
group=bin path=/usr/share/locale/no/LC_MESSAGES/mc.mo
pkgsend add file usr/man/man1/mcedit.1  mode=0444 owner=root group=bin 
path=/usr/man/man1/mcedit.1
pkgsend add file usr/man/man1/mc.1  mode=0444 owner=root group=bin 
path=/usr/man/man1/mc.1
pkgsend add file usr/man/man1/mcview.1  mode=0444 owner=root group=bin 
path=/usr/man/man1/mcview.1
pkgsend add file usr/man/it/man1/mc.1  mode=0444 owner=root group=bin 
path=/usr/man/it/man1/mc.1
pkgsend add file usr/man/sr/man1/mc.1  mode=0444 owner=root group=bin 
path=/usr/man/sr/man1/mc.1
pkgsend add file usr/man/ru/man1/mc.1  mode=0444 owner=root group=bin 
path=/usr/man/ru/man1/mc.1
pkgsend add file usr/man/pl/man1/mc.1  mode=0444 owner=root group=bin 
path=/usr/man/pl/man1/mc.1
pkgsend add file usr/man/es/man1/mc.1  mode=0444 owner=root group=bin 
path=/usr/man/es/man1/mc.1
pkgsend add file usr/man/hu/man1/mc.1  mode=0444 owner=root group=bin 
path=/usr/man/hu/man1/mc.1
#
# links
#
pkgsend add link mode=0555 owner=root group=bin path=/usr/bin/mcview target=mc
pkgsend add link mode=0555 owner=root group=bin path=/usr/bin/mcedit target=mc
#
# transaction commit
#
pkgsend close
EOF
        bash ./mc.resource

Install the package
-*-*-*-*-*-*-*-*-*-

        pfexec pkg set-authority -O http://localhost:10000 localrepo
        pfexec pkg refresh
        pfexec pkg install IPSmc
        mc


_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to