Previously, Laszlo (Laca) Peter wrote:
>>>On Tue, 5 Dec 2006, Laszlo (Laca) Peter wrote:
>>>>
>>>> So what we really need is some sort of registry of open source
>>>> components available in/for Solaris and where they are.
>>>> ...
>>>> ...
> ...
> ...
> And here's a one-liner to extract the names and versions from the sources
> listed in the spec files.  Probably includes a few extra stuff that need
> not be in the registry, but it's a start.  Run it inside spec-files/Solaris.
>
> spectool get_sources *.spec | egrep '^(http://|ftp://)' | xargs -n 1 basename 
> | sed -e 's/\.tar\.gz//' -e 's/\.tar\.bz2//'


OK, For version 0.1, I've come up with a table with 2 comma-separated
fields: consolidation and "package identifier".

As such, an additional sed command gets appeneded to Laca's pipline above,
like this:

spectool get_sources *.spec | egrep '^(http://|ftp://)' | xargs -n 1 basename | 
sed -e 's/\.tar\.gz//' -e 's/\.tar\.bz2//' -e 's/^/jds, /'

And here's a pipeline that extracts SFW and CCD package data. First you
have to create sub-directories called companion and sfw and copy or
symlink the consolidations (starting at usr) in those directories.

for i in companion sfw
   do
   grep '^VER[= ]' $i/usr/src/cmd/*/Makefile.sfw $i/usr/src/lib/*/Makefile.sfw  
| cut -d"/" -f 1,5,6 | sed -e 's/.Makefile.sfw.*\=/ - /' -e 's/\//, /'
done

Below is the aggregate output. Due to certain limitations there's a lot of
redundant information in field 2 of the sfw and ccd entries for now. I
improvised a bit in an attempt to ensure package name and package version
are always included. (Note, the SFW and CCD consolidations are planning to
have a per/package METADATA file which will fix this.)

There are no packages from the ON and X consolidations included yet, nor
are there any extension sets.

Comments welcome.

Eric

--------------------------------------------------

companion, aalib - aalib-1.2
companion, AfterStep - AfterStep-1.8.8
companion, amanda - amanda-2.4.5
companion, automake - automake-1.8.3
companion, berkeley-db - db-4.2.52.NC
companion, berkeley-db_1.85 - db.1.85
companion, brltty - brltty-3.6.1
companion, coreutils - coreutils-5.97
companion, ctags - ctags-5.6
companion, cups - cups-1.1.21
companion, cupsddk - cupsddk-1.0
companion, cupsprint - cupsprint-1.2
companion, curl - curl-7.10.3
companion, curlwip - curl-7.16.0
companion, cvs - cvs-1.11.22
companion, ddd - ddd-3.3.8
companion, diffutils - diffutils-2.8.1
companion, emacs - emacs-21.3
companion, emacspeak - emacspeak-21.0
companion, emacspeak-ss - emacspeak-ss-1.9.1
companion, enscript - enscript-1.6.1
companion, ethereal - ethereal-0.10.5
companion, expect - expect-5.39
companion, fetchmail -  fetchmail-6.3.4
companion, file - file-4.10
companion, findutils - findutils-4.2.27
companion, fltk - fltk-1.1.3
companion, fnlib - fnlib-0.5
companion, fvwm - fvwm-2.4.19
companion, gawk - gawk-3.1.5
companion, gcal - gcal-3.01
companion, gd - gd-2.0.15
companion, gettext -  gettext-0.10.35
companion, global - global-5.1
companion, gnuplot - gnuplot-4.0.0
companion, graphviz - graphviz-1.10
companion, groff - groff-1.16.1
companion, guile - guile-1.3.4
companion, imap - imap-2002d
companion, imlib - imlib-1.9.15
companion, ispell - ispell-3.2.06
companion, joe - joe-3.1
companion, lablgtk - lablgtk-1.2.7
companion, libao - libao-0.8.3
companion, libpcap - libpcap-0.9.4
companion, libtool - libtool-1.5.2
companion, libungif - libungif-4.1.0
companion, lynx - lynx2-8-5
companion, mpack - mpack-1.5
companion, mutt - mutt-1.4.2.1
companion, mysql-connector-java - mysql-connector-java-3.0.8-stable
companion, ncurses - ncurses-5.5
companion, netpbm - netpbm-10.3
companion, nmap - nmap-3.50
companion, nmh - nmh-1.0.4
companion, ocaml - ocaml-3.08.2
companion, openldap - openldap-2.2.17
companion, openslp - openslp-1.0.11
companion, pcre - pcre-4.5
companion, php - php-4.3.2
companion, pine - pine4.61
companion, plotutils - plotutils-2.4.1
companion, pnm2ppa - pnm2ppa-1.12
companion, procmail -  procmail-3.22
companion, proftpd - proftpd-1.2.10rc1
companion, readline - readline-4.2
companion, rpm - rpm-4.1
companion, rsync - rsync-2.6.3pre1
companion, ruby - ruby-1.6.4
companion, rxvt - rxvt-2.7.10
companion, screen - screen-4.0.2
companion, screenbrltty - screenbrltty-4.0.2
companion, SDL - SDL-1.2.5
companion, sed - sed-3.02
companion, sgrep - sgrep-1.92a
companion, sharutils - sharutils-4.6
companion, slang - slang-1.4.0
companion, slrn - slrn-0.9.6.2
companion, snort - snort-2.0.0
companion, squid - squid-2.5.STABLE7
companion, squidwip - squid-2.6.STABLE5
companion, stardic - stardic-1.3.1
companion, sudo - sudo-1.6.8p5
companion, tclx - tclx8.3.5
companion, tcpdump - tcpdump-3.8.3
companion, tetex - tetex-src-2.0.2
companion, tnef - tnef-1.1.3
companion, top - top-3.5.1
companion, unison - unison-2.9.1
companion, unwindows - unwindows-1.1.3
companion, uudeview - uudeview-0.5.20
companion, vim - vim63
companion, vorbis-tools - vorbis-tools-1.0
companion, w3 - w3-4.0pre.47
companion, WindowMaker - WindowMaker-0.80.2
companion, xaw3d - Xaw3d-1.5
companion, xdelta - xdelta-1.1.3
companion, xemacs - xemacs-21.4.15
companion, xfce - xfce-3.8.16
companion, xmcd - xmcd-3.2.1
companion, xmms - xmms-1.2.10
companion, xpdf - xpdf-3.00
companion, xpp - xpp-1.1
companion, xterm - xterm-196
companion, yasr - yasr-0.6.7
jds, AdbeRdr708_solaris_enu
jds, AdobeReader_chs-7.0.5-1.i386
jds, AdobeReader_cht-7.0.5-1.i386
jds, AdobeReader_jpn-7.0.5-1.i386
jds, AdobeReader_kor-7.0.5-1.i386
jds, alacarte-0.10.1
jds, aspell-0.60.4
jds, aspell6-en-6.0-0
jds, at-poke-0.2.3
jds, at-spi-1.7.12
jds, atk-1.12.3
jds, baekmuk-ttf-2.1
jds, brltty-3.7.2
jds, bug-buddy-2.17.2
jds, cairo-1.3.2
jds, cairo-java-1.0.6
jds, dasher-4.3.2
jds, dbus-1.0.1
jds, dbus-glib-0.72
jds, dbus-python-0.71
jds, deskbar-applet-2.17.2
jds, desktop-file-utils-0.12
jds, dogtail-0.6.1
jds, eel-2.16.3
jds, ekiga-2.0.3
jds, elementtree-1.2.6-20050316
jds, eog-2.17.2
jds, evince-0.6.1
jds, evolution-2.9.3
jds, evolution-data-server-1.9.3
jds, evolution-exchange-2.9.3
jds, evolution-jescs-2.8.2
jds, evolution-webcal-2.8.0
jds, file-roller-2.17.3
jds, firefox-2.0-source
jds, flac-1.1.3
jds, freefont-ttf
jds, freetts-1.2.1-src.zip
jds, gail-1.9.3
jds, gaim-2.0.0beta5
jds, gcalctool-5.9.8
jds, GConf-2.16.0
jds, gconf-editor-2.16.0
jds, gdm-2.17.3
jds, gedit-2.17.1
jds, gexif-0.5
jds, gimp-2.3.13
jds, gimp-help-2-0.10
jds, gksu-1.3.0
jds, glade-2.12.1
jds, glib-2.12.4
jds, glib-java-0.4.1
jds, gnome-applets-2.16.2
jds, gnome-audio-2.0.0
jds, gnome-backgrounds-2.16.2
jds, gnome-common-2.12.0
jds, gnome-desktop-2.17.2
jds, gnome-doc-utils-0.8.0
jds, gnome-games-2.17.3
jds, gnome-icon-theme-2.17.3
jds, gnome-keyring-0.6.0
jds, gnome-keyring-manager-2.16.0
jds, gnome-mag-0.13.1
jds, gnome-media-2.16.1
jds, gnome-menus-2.17.2
jds, gnome-mime-data-2.4.3
jds, gnome-mount-0.4
jds, gnome-netstatus-2.12.0
jds, gnome-panel-2.16.2
jds, gnome-pilot-2.0.13
jds, gnome-python-2.16.2
jds, gnome-python-desktop-2.17.1
jds, gnome-screensaver-2.17.3
jds, gnome-session-2.17.3
jds, gnome-speech-0.4.6
jds, gnome-spell-1.0.7
jds, gnome-system-monitor-2.17.3
jds, gnome-system-tools-2.14.0
jds, gnome-terminal-2.16.1
jds, gnome-themes-2.17.3
jds, gnome-user-docs-2.16.1
jds, gnome-utils-2.17.0
jds, gnome-vfs-2.16.3
jds, gnome-volume-manager-2.17.0
jds, gok-1.2.0
jds, gphoto2-2.2.0
jds, gst-fluendo-mp3-0.10.3
jds, gst-plugins-base-0.10.11
jds, gst-plugins-good-0.10.4
jds, gstreamer-0.10.11
jds, gtk+-2.10.6
jds, gtk-doc-1.7
jds, gtk-engines-2.9.0
jds, gtkam-0.1.13
jds, gtkhtml-3.13.3
jds, gtkperf_0.40
jds, gtksourceview-1.8.1
jds, gucharmap-1.8.0
jds, hicolor-icon-theme-0.5
jds, icon-naming-utils-0.8.1
jds, intltool-0.35.1
jds, iso-codes_0.25
jds, java-access-bridge-1.6.0
jds, libart_lgpl-2.3.17
jds, libbonobo-2.16.0
jds, libbonoboui-2.16.0
jds, libcdio-0.78.2
jds, libcroco-0.6.1
jds, libexif-gtk-0.3.5
jds, libgail-gnome-1.1.3
jds, libgksu1.2-1.3.1
jds, libgksuui1.0-1.0.5
jds, libglade-2.6.0
jds, libglade-java-2.12.7
jds, libgnome-2.17.1
jds, libgnome-java-2.12.6
jds, libgnomecanvas-2.14.0
jds, libgnomeprint-2.17.0
jds, libgnomeprintui-2.17.0
jds, libgnomeui-2.17.0
jds, libgphoto2-2.2.1
jds, libgtk-java-2.10.1
jds, libgtkhtml-2.11.0
jds, libgtop-2.14.5
jds, libIDL-0.8.6
jds, libmusicbrainz-2.1.4
jds, liboil-0.3.10
jds, librsvg-2.16.1
jds, libsoup-2.2.98
jds, libtheora-1.0alpha5
jds, metacity-2.17.2
jds, nautilus-2.16.3
jds, nautilus-cd-burner-2.17.3
jds, nautilus-open-terminal-0.7
jds, opal-2.2.3
jds, ORBit2-2.14.2
jds, orca-2.17.3
jds, pango-1.15.1
jds, poppler-0.5.4
jds, printman-0.0.2
jds, pwlib-1.10.2
jds, pycairo-1.2.2
jds, pygobject-2.12.3
jds, pygtk-2.10.3
jds, pyorbit-2.14.1
jds, Pyrex-0.9.4.1
jds, pyspi-0.6.1
jds, PyXML-0.8.4
jds, quick-lounge-applet-2.12.1
jds, rhythmbox-0.9.6
jds, scrollkeeper-0.3.14
jds, SDL-1.2.11
jds, shared-mime-info-0.19
jds, sound-juicer-2.16.2
jds, speex-1.2beta1
jds, startup-notification-0.8
jds, system-tools-backends-1.4.2
jds, tango-icon-theme-0.7.2
jds, thunderbird-1.5.0.8-source
jds, totem-2.17.3
jds, vino-2.17.2
jds, vte-0.15.0
jds, yelp-2.16.2
jds, zenity-2.17.1
sfw, a2ps - a2ps-4.13
sfw, apache2 - httpd-2.2.3
sfw, apache2-modperl - mod_perl-2.0.2
sfw, autoconf - autoconf-2.59
sfw, bash - bash-3.0
sfw, bind - bind-9.2.4
sfw, binutils - binutils-2.15
sfw, bison - bison-1.875
sfw, bzip2 - bzip2-1.0.2
sfw, cdrtools - cdrtools-2.01.01
sfw, dvd+rw-tools - dvd+rw-tools-5.21.4.10.8
sfw, esp-gs - espgs-8.15.1
sfw, flex - flex-2.5.4
sfw, foomatic-filters - foomatic-filters-3.0.2
sfw, foomatic-ppd - foomatic-filters-ppds-20040304
sfw, gcc - gcc-3.4.3
sfw, gdb - gdb-6.3
sfw, ggrep - grep-2.5
sfw, gimp-print - gimp-print-4.2.6
sfw, glib - glib-1.2.10
sfw, gm4 - m4-1.4.2
sfw, gmake - make-3.80
sfw, gnu-gs-fonts-other - 6.0
sfw, gnu-gs-fonts-std - 6.0
sfw, gpatch - patch-2.5.4
sfw, gtar - tar-1.14
sfw, gtk+ - gtk+-1.2.10
sfw, gzip - gzip-1.3.5
sfw, hpijs - hpijs-1.6
sfw, ImageMagick - ImageMagick-5.4.7
sfw, ipmitool - 1.8.8
sfw, less - less-381
sfw, libexpat - expat-1.95.7
sfw, libxml2 - libxml2-2.6.23
sfw, libxslt - libxslt-1.1.15
sfw, mercurial - mercurial-0.9
sfw, mysql - mysql-4.0.24
sfw, ncftp - ncftp-3.1.5
sfw, pgtcl - pgtcl$(VERS)
sfw, pilot-link - pilot-link-0.12.0-pre4
sfw, postgres - postgresql-$(PGVERS)
sfw, postgresql-jdbc - postgresql-jdbc-8.1-404.src
sfw, psutils - psutils
sfw, ser - ser-0.8.12
sfw, serweb - serweb_2004-01-04
sfw, sma - sma
sfw, tcl - tcl8.3.3
sfw, tcsh - tcsh-6.12.00
sfw, texinfo - texinfo-4.7
sfw, tk - tk8.3.3
sfw, unzip - unzip-5.52
sfw, wget - wget-1.10.1
sfw, zebra - zebra-0.92a
sfw, zip - zip-231
sfw, zlib - zlib-1.2.3
sfw, zsh - zsh-4.2.5

Reply via email to