set name=pkg.fmri value=pkg://localhosts12/text/enscript/src@1.6.6,5.11-11.4.42.0.0.111.0:20230430T075622Z file ddfc398d2444a1819ab1fc256a489274de7e2574 chash=14b74293c55d3e2893c42ab2064b78233e2f85a3 group=bin mode=0444 owner=root path=usr/share/src/SFEenscript-1.6.6/SPECS/prod.inc pkg.content-hash=file:sha512t_256:7110d8d3e8bebd1855cad399b269e5b26ed00a406c893bf4254f9b3af0ffbfde pkg.content-hash=gzip:sha512t_256:3fa5ee0582ad91a607a8bff0945437fb97f88211e77d0b51b213d801da2b7c19 pkg.csize=573 pkg.size=1020 set name=pkg.description value="GNU Enscript takes ASCII files (often source code) and converts them to PostScript, HTML or RTF. It can store generated output to a file or send it directly to the printer. It is often used for its syntax highlighting, as it comes with rules for a wide range of programming languages. New rules can be added using an awk-like stateful scripting language. # # Default system dependencies for GNOME packages on Solaris # # Copyright (c) 2003 Sun Microsystems, Inc. # ##TODO## need a solution for distinguishing build numbers, include S12 ... Requires: SUNWcsr Requires: SUNWcsu Requires: SUNWcsd Requires: SUNWcsl # /* vim: set filetype=spec : */ # # Default system dependencies for PERL packages on Solaris # #let it default to 0 (undefined = not included) # /* vim: set filetype=spec : */ #note: one piece of the include files is generated automaticly: # generate the file packagenames.defines.inc by fetching the # attached file \"attachment (id=3635) / The final new package # names sorted by new name\" # from the bug (see script) and then run packagenames-convert.pl # http://defect.opensolaris.org/bz/show_bug.cgi?id=6186 # ./packagenames-convert.pl < attachment_id_3635 > packagenames.define-133.inc # http://hub.opensolaris.org/bin/view/Project+indiana/Renamed+Packages+in+Build+133 #already included before? # # # STRONG note: this is an early stage, logic and variable names *might* change # # # owner: Thomas Wagner (tom68) - please ask/discuss if you want non-trivial changes # TODO1: test logic for correctness # TODO2: extend rules to match Solaris 10 / SVR4 # TODO3: add copyright (CDDL?) # TODO4: Add fine granularity for version/branch of entire@ package # # Macro definitions for Solaris OS build version and distribution detection # # note for new OS releases: Follow the marks NEWRELEASE in his include file # to add new code for detection these new releases # hint: use the search function of your editor with the pattern NEWRELEASE # and copy an old block, then edit. Keep the order to not break the logic # note this fails havily if you are \"BFU\"ing your box # (if you don't use BFU / don't know what BFU is, you don't need to take care of) # detect OS distro and os build version if possible # distinguish between SXCE and os20nn.nn, set distro numbers for \"osbuild > nnn\" logic # try to detect the distro release in example of os20nn.nn # and provide boolean flags e.g. %os200902 <0|1> # and provide test numbers with a distro releasenumber %osdistrelnumber 201003 # and provide test strings with a short distro releasename %osdistrelname \"os2010.03\" # see also the include file \"packagenamemakros.inc\" for # already predefined \"BuildRequires\" and \"Requires\" depending # on the distro and build number, leveraging the detection from # this osversion.inc include file # should simplify sharing spec files between SXCE and os20nn.nn # usage/examples: # if you depend on a package which for instance got some day a rename: # (or dissapeared, newly introduced, merged into another package # this is not limited to these examples (think of switching off SVR4 package # scripting, ...). # # %if %( expr %{osbuild} '>=' 100 ) # BuildRequires: SUNWnewname # %else # BuildRequires: SUNWoldname # %endif #TO BE CHECKED # *if* we are on os20nn.nn *and* build is younger|equal then 118 #TO BE CHECKED # %if %os2nnn %( expr %osbuild '>=' 118 ) #TO BE CHECKED # BuildRequires: newpackagename #TO BE CHECKED # %else #TO BE CHECKED # BuildRequires: SUNWoldname #TO BE CHECKED # %endif #TO BE CHECKED # same as above but based on the os20nn.nn distro, example os2009.06 and above #TO BE CHECKED # %if %( expr %os2nnndistro '>=' 200906 && echo 1 || echo 0 ) #TO BE CHECKED # BuildRequires: newpackagename #TO BE CHECKED # %else #TO BE CHECKED # BuildRequires: SUNWoldname #TO BE CHECKED # %endif ### end of examples ### rules below need extensions with every major distro release ##overall the include file - we are already included #osdistro.inc is NOT YET included --- NOTE: this variable is primarily for internal use by osdistro.inc #special handling for release builds: uname -v prints 11.0 or similar #which might correspond to build 175 (needs refinement) ##TODO## be more precise later, for build 173 and 174 and later SRU #quick and dirty hack, only works on OI hipster printing \"illumos\" with \"uname -v\". DON'T USE ON ANY OTHER OSDISTRO PLEASE! # For want of a line in the sand between different \"versions\", I'm using the date of significant milestones like # iso snapshot date (per http://dlc.openindiana.org/isos/hipster/) or significant update dates between snapshots if needs be. # To determine date I'll use the \"Packaging Date\" of the package consolidation/osnet/osnet-incorporation. # Dates of last iso snapshots. eg # 20160421 = Iso Snapshot # 20151003 = Iso Snapshot # 20150330 = Iso Snapshot # 20141010 = Iso Snapshot # 20140701 = Iso Snapshot #new for 151030 or so, #https://github.com/omniosorg/omnios-build/blob/master/build/release/build.sh#L33 #calculation to get from two letter to one digit. ##TODO## use the above if it is available #r151028ef would be 5*26 + 6 #quick and dirty hack, only works on OmniOS - uname -v prints on 151008j: omnios-6de5e81 #quick and dirty hack, only works on OmniOS - uname -v prints on 151022y: omnios-r151022-eb9d5cb557 # see if we are on old SVR4 release #switches for major distro releases # os2nnn is defined 1 if we can detect the OpenSolaris (IPS based) distro # # an estimate is done to tell which distro release is present #NEWRELEASE add to the table (OpenSolaris releases as os2......) # os2008.11 os2009.06 os2009.11 os2010.03 os2010.05 # corresponds to: # os200811 os200906 os200911 os201003 os201005 # # Solaris11Express_firstrelease Solaris11Express_following OpenIndiana147 OpenIndiana151 ##TODO## replace the \"*00\" to be the real release month # s11ex201011 s11ex201000 oi201009 oi201100 #numbers for each major distro release are stored in %os2nnnversion #Flags - who knows what that's worth for #set defaults to null - reverse order to catch youngest distro first #and then used to skip the other detection rules for older releases #NEWRELEASE add to the table #boolean flags for major osdistro names #no versioning here #boolean flags for major osdistro names - *with* versioning the releases #use osbuild in addition to finer granularity, e.g. osbuild >= 148 #OpenSolaris and Solaris11Express below. We need something to tell the release as well #Solaris11Express gets its own name prefix though it's close to what OpenSolaris was #OI/Hipster #has most C++ stuff compiled with GCC #:r!grep oih20 % #OpenIndiana # could be oi201009 and oi201100 or something, the first development release and following ##TODO## replace oi201100 #Solaris 12 - NOTE: This is now named \"11.4\" ... these variables deprecated. for transition they'll be defined on s11.4 as it it where s12 at the time of development #always defined on 12.0 and all subsequent 12.xx versions. build 00. #12.0 build 24 #superceded by: s110400 see below #Solaris 11 #always defined on 11.0 and all subsequent 11.xx versions. #11.0 build ?? #11.1 build ?? #11.2 build ?? #11.3 build ?? #11.4 build ?? #Solaris 11 Express and OpenSolaris ##TODO## replace s11ex201100 #OpenSolaris #never apperared: (this variable might go away some day) # one of the IPS style OpenSolaris distro releases is present if os2nnn set to \"1\" # set default to \"0\" which is good # includes OI # make your logic work with the major distro number %if %( expr %os2nnndistro '>=' 200906 ) # set default to \"0\" which is good # includes OI # set readable name for this os distribution (not for SXCE) # Note osdet299999 is a helper variable. Specs should use %if %os2nnn ... and %os2nnndistro # Make default to \"1\" to enable the os20nn.nn detection steps below. # for readability see separated %if where a present %SXCE resets this switch to \"0\" and disables all remaining checks # which makes this file skip any following checks # we are on SXCE, so skip the all other os2nnn detection rules and leave %os**** defaults at \"0\" # try detecting the distro release we are on # might need more fine grained rules some day? #(os2010.03) #e.g. OpenSolaris 2010.03 snv_134 X86 #NEWRELEASE carefull: add new releases *always* on top of the predecessor version. #NEWRELEASE for that, copy the example from below (START to END) and change numbers #NEWRELEASE you might need *many* places in the block edited. be *carefull* please and double-check and #NEWRELEASE do not forget to change the variables names too! #NEWRELEASE *add* new version *here* (below) #note: build 166 (maybe earlier) does read \"Oracle Solaris 11 snv_166 X86\" #note: build 160 (2010.11++) does read \"Oracle Solaris 11 Express snv_160 X86\" #note: build 151a 2010.11 does read \"Oracle Solaris 11 Express snv_156 X86\" #note: build 140 does read \"Solaris Next Development\" #note: build 134 does read \"OpenSolaris Development\" #below probably release of 2010.05 (was 2010.03 or whatever name) #root@host:~# cat /etc/release | grep OmniOS # OmniOS v11 r151006 #root@host:~# cat /etc/release | grep OmniOS # OmniOS v11 r151008 # cat /etc/release | grep OmniOS # OmniOS v11 r151010 # cat /etc/release | grep OmniOS # OmniOS v11 r151012 #OpenIndiana Hipster 2015 #/etc/release # OpenIndiana Development oi_151.1.8 X86 (powered by illumos) # Copyright 2011 Oracle and/or its affiliates. All rights reserved. # Use is subject to license terms. # Assembled 19 February 2013 #when it switched to name Hipster is not known #OpenIndiana Hipster 2016.04 #/etc/release # OpenIndiana Hipster 2016.04 (powered by illumos) # OpenIndiana Project, part of The Illumos Foundation (C) 2010-2016 # Use is subject to license terms. # Assembled 17 August #release/name@0.5.11,5.11-2017.0.0.5:20171030T214925Z #gzip -d < /tmp/hipster-2017-10-etc-release-3be5012aa181a5e70a1ba26138c5e0f5c76c8249 # OpenIndiana Hipster 2017.10 (powered by illumos) # OpenIndiana Project, part of The Illumos Foundation (C) 2010-2017 # Use is subject to license terms. # Assembled 30 October 2017 ##START build 151 006 and 008 and up , OmniOS # OmniOS v11 r151006 # OmniOS v11 r151008 ##END ##START build 151 circa 20150330 and up, OI/Hipster # but still flags ealier versions although not dealt with as such. #%if %( egrep 'OpenIndiana (Development|Hipster)' /etc/release > /dev/null && echo 1 || echo 0 ) ##END ##START build 151 and up, OpenIndiana #NOTE: we try to set a resonable opensolaris/solaris express release # name as well, they should behave similar. Remaining issues to be fixed # in consuming spec file! #%if %( egrep 'OpenIndiana (Development|Hipster)' /etc/release > /dev/null && echo 1 || echo 0 ) ##END ##START build 147 and up, OpenIndiana #NOTE: we try to set a resonable opensolaris/solaris express release # name as well, they should behave similar. Remaining issues to be fixed # in consuming spec file! ##END #s11.4 ~ cat /etc/release # Oracle Solaris Trunk X86 # Copyright (c) 1983, 2018, Oracle and/or its affiliates. All rights reserved. # Assembled 17 January 2018 #uname -v #11.4.0.12.0 #NOTE: development s12 is now s11.4 - old references to \"s12\" will eventually go away on some day #NOTE: Use for new develeoped spec files the variable s110400 to identify Solaris 11.4 (former Solaris 12 in development) #%if %( expr %{osbuild} '>=' 24 ) #%if %( egrep 'Oracle Solaris Trunk' /etc/release > /dev/null && echo 1 || echo 0 ) #we are on an IPS based OS distro #below: subject to change! ##TODO##!! which number do we want here? # below: subject to change! #this was the last check, skip all others #%else #%endif ##END #s11.4 ~ cat /etc/release # Oracle Solaris Trunk X86 # Copyright (c) 1983, 2018, Oracle and/or its affiliates. All rights reserved. # Assembled 17 January 2018 #uname -v #11.4.0.12.0 #s12 sfe ~ cat /etc/release # Oracle Solaris 11.4 X86 # Copyright (c) 1983, 2018, Oracle and/or its affiliates. All rights reserved. # Assembled 16 August 2018 #uname -v #11.4.0.15.0 #pkg info entire osnet-incorporation #s12 sfe ~ pkg info entire osnet-incorporation name | grep FMRI # FMRI: pkg://solaris/consolidation/osnet/osnet-incorporation@11.4-11.4.0.0.1.15.0:20180817T002336Z # FMRI: pkg://solaris/entire@11.4-11.4.0.0.1.15.0:20180817T004203Z # FMRI: pkg://solaris/release/name@11.4-11.4.0.0.1.15.0:20180817T003543Z ##START build *greater then* 151, this is 152 and up, detect \"Oracle Solaris 11 snv_166 X86\" aka 2011.00 as s11ex201100 #NOTE: s11ex201100 <- 00 - nothing is released, to use \"00\" as placeholder in year 2011 #NOTE: we try to set a resonable release number in %osdistrelnumber # name as well, they should behave similar. Remaining issues to be fixed # in consuming spec file! ##END ##START build 151 and up, detect \"Oracle Solaris 11 Express snv_151a X86\" aka 2010.11 as s11ex201011 #NOTE: we try to set a resonable release number in %osdistrelnumber # name as well, they should behave similar. Remaining issues to be fixed # in consuming spec file! ##END ##START build 134 and up, os2010.05 as os201005 ##END ##START build 111 and up, os2009.06 as os200906 ##END ##START build 101 and up, os2008.11 as os200811 ##END #hipster sfe ~ pkg list | egrep \"osnet|entire|/name\" #consolidation/osnet/osnet-incorporation 0.5.11-2015.0.2.15619 i-- #entire 0.5.11-2015.0.2.0 i-- #release/name 0.5.11-2013.0.0.0 i-- #hipster sfe ~ uname -a -v -r #SunOS hipster 5.11 illumos-380fd67 i86pc i386 i86pc #OpenIndiana 2017.10 #pkg info entire name osnet-incorporation | grep FMRI # FMRI: pkg://openindiana.org/consolidation/osnet/osnet-incorporation@0.5.11-2017.0.0.16838:20171118T005255Z # FMRI: pkg://openindiana.org/entire@0.5.11-2015.0.2.0:20151027T090547Z # FMRI: pkg://openindiana.org/release/name@0.5.11-2017.0.0.5:20171030T214925Z #uname -a -r #SunOS hipster 5.11 illumos-a3b2868063 i86pc i386 i86pc # if we are on a IPS based system, hopefully the package entire # is installed. record the output for later use to detect e.g. SRUs, build numbers # we could ask for entire, but if someone decided to uninstall that for a reason? # lets use this and hope no one ever uninstalls this package # FMRI: pkg://solaris/release/name@5.12-5.12.0.0.0.63.1:20141215T141436Z # could use as well: system/core-os or system/kernel #Update: sometimes we may see \"name\" and \"entire\" diverting in version numbers. That is a SRU might not necessarily update the \"name\" package. #Now we collect from more packages and just use the one with the highest version #testing: (echo 0.5.11,5.11-0.175.3.19.0.5.0; echo 0.5.11,5.11-0.175.3.11.0.4.0; echo 0.5.11,5.11-0.175.3.19.0.5.0) | sort -n -t'.' | tail -1 #entire might be uninstalled, so use release/name instead. You don't uninstall it! If you do, then don't blame us if pnm_macros get confused. #DEBUG %define marker2_not_defined_osdistro_entire %( echo marker2 >> /tmp/pkg_wrapper_log ) #could be made a bit better atomic stile! #works %define osdistro_entire_cache_helper %( test -f /tmp/pkg_info_release_name_entire_consolidation_osnet_osnet_incorporation || pkg info release/name entire consolidation/osnet/osnet-incorporation > /tmp/pkg_info_release_name_entire_consolidation_osnet_osnet_incorporation ) #original %define osdistro_entire %( pkg info release/name entire consolidation/osnet/osnet-incorporation | grep \"FMRI:\" | sed -e 's?FMRI:.*release/name@??' -e s'/.*-//' -e s'/:.*//' | sort -n -t'.' | tail -1 ) #older hipster doesn't match entire and release/name version packages. People! Don't uninstall entire on a OIHipster machine please! #release/name 0.151.1.8 #entire 2015.0.1.1 ##TODO## make version detection more robust, entire package might have been uninstalled, which packages to use for version detection in that case? ## PJAMA *puts hand up as having uninstalled \"entire\"* ## perhaps osnet-incorporation is a better option for the moment (or release/name? or the most fresh of both?) # pkg info name osnet-incorporation entire | grep FMRI # FMRI: pkg://openindiana.org/consolidation/osnet/osnet-incorporation@0.5.11-2017.0.0.16838:20171118T005255Z # FMRI: pkg://openindiana.org/entire@0.5.11-2015.0.2.0:20151027T090547Z # FMRI: pkg://openindiana.org/release/name@0.5.11-2017.0.0.5:20171030T214925Z #echo 5.12.0.0.0.63.0 | awk -F'.' '{printf \"%.4d%.4d%.4d%.4d%.4d%.4d%.4d\", $1, $2, $3, $4, $5, $6, $7}' #0005001200000000000000630000 #%define osdistro_entire_padded_number4 %( echo %{osdistro_entire} | awk -F'.' '{printf \"%.4d%.4d%.4d%.4d%.4d%.4d%.4d\", $1, $2, $3, $4, $5, $6, $7}' ) #%define osdistro_entire_padded_number4 %( echo %{osdistro_entire} | awk -F'.' '{printf \"\%.4d\%.4d\%.4d\%.4d\%.4d\%.4d\%.4d\", $1, $2, $3, $4, $5, $6, $7}' ) #note: %% results in a % to awk #add a workaround to distinguish the \"letter\" releases like r151022h and r151022y #make the latter a number and add it to osdistro_entire_padded_number4 #0000151022 0000 0008 000000000000 is r151022h #0000151022 0000 0025 000000000000 is r151022y #0000151022 0001 0020 000000000000 is r151022at # #pnm: osdistro_entire 151030.3 #pnm: osdistro_entire_padded_number4 1510300003-0096-0096000000000000 (wrong!) #pnm: osdistro_entire_padded_number4 1510300003-0000-0003000000000000 (correct!) #OmniOSce from 151028 on has the number extention xxxxxx. ### bail out, detection of the os2... distribution failed! ###%if %{osdet299999} ###echo \"Error. Detection of OS Distribution failed in osdistro.inc\" ###exit 1 ###%endif ##overall the include file - we are already included #already included before? # owner: tom68 - please ask/discuss if you want non-trivial changes # NOTE: The NAME of this include file is currently subject to change # # Macro definitions for setting available features # # especially provide flags for features depending on osbuild / distro version # #this file is to be included in the spec file or is included in other #e.g. with # %include osdistro.inc # %include osdistrofeatures.inc #osdistrofeatures.inc is included --- NOTE: this variable is primarily for internal use by osdistrofeatures.inc #Feature/Flags depending on the osbuild and distro version #Solaris 12, SolarisExpress, Solaris 11 and OpenIndiana, SXCE, not S10 #defaults to off, e.g. on Solaris 10 #%if %{?SXCE}%{?solaris11express}%{?solaris12}%{?openindiana} #%if %{?os2nnn}%{?SXCE} #we have /etc/security/ *.d directories #END >= 151 #END SXCE #use for testing: pkgbuild --interactive base-specs/packagenamemacros.spec #you may want to edit your test cases into the base-specs/packagenamemacros.spec #packagenamemacros.inc is included --- NOTE: this variable is primarily # for internal use by packagenamemacros.inc # inially including a general file with definitions. Later on, some of # those definitions get overwritten if needed # /* vim: set filetype=spec : */ #pre-load some variables which are very common and only a few OS need variants #S12 has asciidoc, all others need out SFE version #jam is not on available every osdistro #library/libedit@3.0,5.11-0.175.1.0.0.24.0:20120904T172539Z #only oihipster has openjeg, see packagenames.define.oihipster-specialcases.inc #only oihipster has orc, see packagenames.define.oihipster-specialcases.inc #only oihipster has libschroedinger, try this #only oihipster has libyaml, try this #oihipster lost SUNWxwinc, try a replacement. Set the default for all other osdistro here #many osdistro do not delive the file \"zlib.pc\" for pkgconfig, SFE drops one in until the osdistro has one #osdistro which have one, can replace this in pnm_macro include file (example: S12) #SFEautomake-115 - may be replaced by an osdistro. #if you get upgrade contraints, then uninstall the SFE automake-115 package #starting with S12 (some build) we have developer/build/automake-115 #SPECIAL CASE: SFE package was replaced with a SUNW package - one day this will #be migrated to translation table in an exteral file #with one build number the SUNWsane-backend was added, so SFEsane-backends was deleted (oh!) #just replace the SFEsane-backends starting with that build-number with the SUNWsane-backend #or the package-rename-project's new name #http://opensolaris.org/jive/thread.jspa?threadID=62982 -->> snv90 introduced SUNWsane-backend #set default for moderatly old osdistro > build 90 #we need SFE version on very old builds #%if %( expr %{osbuild} '<=' 90 '&' %{solaris12} '=' 0 ) #not exactly os2nnn = 0, but good enough for now (re-visit this if building for very old builds) #END <=90 #set default to libjansson, only Solaris has it #pkg://solaris/library/jansson@2.10,5.11-11.4.0.0.1.14.0:20180814T164738Z #pkg://solaris/library/jansson@2.7,5.11-0.175.3.0.0.30.0:20150821T165455Z #other OSDISTRO uses the SFE package #pkg://solaris/library/libarchive@3.3.1,5.11-0.175.3.20.0.4.0:20170516T234612Z #set default to libarchive, OmniOSce need our SFElibarchive package #pkg://solaris/library/security/gpgme@1.6.0,5.11-0.175.3.34.0.3.0:20180621T211314Z #set default to gpgme, OmniOSce need our SFEgpgme package #s110400 has pth at least since build 111 # order in this include file: OLDEST build on top, ascending # 81 # 111 # newer/including 133 # the reason for this order is: you might easily overwrite # an old definition with a new one starting with a specific build number! # e.g. from 81 to 111 the package was named hugo # from 133 on up to today the package was named freshhugo # the only exception is, you can't delete a define if a pacakge name is gone # completely (that is: merged into another one / obsoleted) - then set the # replacement beginning with the build number to the merged name or a well-known # package name which is required anyways and let pkgbuild sort that douplicates out # more complicated combinations should be handled in the spec files itself, to make # this include file not too complex. # next list all build versions ascending (build version) # BIG NOTE: OS distribution specific cases (SVR4/SXCE and IPS, but not S10) are # handled *inside* the blocks' includes # this is to make this only decide on build numbers! # see for special cases the files packagenames.define-specialcases-NNN.inc (build NNN and up) # NOTE: a later include file may overwrite a define from same or previous block # and might be overwritten or set to empty string in a later includefile /and build/ as well #normal packages in IPS did get theyer -devel name stripped off and the files flagged #as \"devel\" instead #in the end packages on IPS combine regular and devel parts into one single package #>=81 #huge package rename actions took place with build 133 (including) #http://defect.opensolaris.org/bz/show_bug.cgi?id=6186 # /* vim: set filetype=spec : */ #Auto generated mappings for Packages in OpenSolaris IPS distrobutions #TODO# Add build numbers later in the include file, if the rename of a #specific package was performed with a specific other build number #Example: %if 1 1002 1001 1000 124 101 100 5 3 512 1 expr %{osbuild} '>=177' ) ... %else ... %endif # /* vim: set filetype=spec : */ # put special cases here ##TODO## since library/python/setuptools-26 0.9.6-0.175.3.0.0.30.0 i-- ## the name is without python\"-2\" -> library/python/setuptools-26 # SXCE with SUNW prefix -->> name on 133/134 and up # without SUNW prefix -->> name on 133/134 and up # new after rename big bang -> name on 133/134 and up #>=133 #NOTE: cumulative, this includes the settings from builds before #package rename actions took place with build 134 (including) #http://defect.opensolaris.org/bz/show_bug.cgi?id=6186 # /* vim: set filetype=spec : */ #manually created entries #>=134 #>=134 # SUNWaudh # exception, we only have a header pacakge ? # /* vim: set filetype=spec : */ # put special cases here # SXCE with SUNW prefix -->> name on 133/134 and up # without SUNW prefix -->> name on 133/134 and up # new after rename big bang -> name on 133/134 and up #>=133 #NOTE: cumulative #OmniOS unfortunatly removed (all?) legacy package names. Therefore we #need to add pnm_macros for translate those from e.g. SUNWzlib to library/zlib #NOTE: cumulative #Hipster in process of replacing legacy package names. Therefore we #need to add pnm_macros for translate those from e.g. SUNWzlib to library/zlib # finally including a general file with definitions, to overwrite possible # special cases (and eventually overriding content which got defined above) # /* vim: set filetype=spec : */ # # place defines to match older packages here - this include file is the first of a series # ##TODO## list see at the end, shortly before %changelog # there are very old build out there, we might not need # to write special logic for builds older then build 81 # at least we should have logic for build 111 (or 101) # and younger (there are lots of installs out there) # normally packages are not too much fragmented into # subpackages. (exception: openssl where we simply # require all sub packages to keep things easy) # in general: # pnm_buildrequires_packagenames packagename-devel (on this special range of builds, -devel # if that exists, else just the package name) # pnm_requires_packagenames packagename (on this special range of builds) # note: the right hand side changes depending on the range of the build number where the include # file is intended for. the left hand side always lists the package names in currently three # variants: old SVR4 from SolarisExpress/early or OS2008/OS2009 the early OpenSolaris IPS based # then the names on OpenSolaris IPS-base without the SUNW prefix and before the big renaming # around build 133/134 #already included before? #yes, osdistro.inc is already included # below this section will be overwritten by the include files for the later builds # it is there so support build machines with osbuild < 133 or < 134 # but the spec file shave been written with package names presen on # machines with newer osbuild / after the big package renaming bang #note defines below will be overwritten with a new target package name #because it got renamed by the two big renaming projects, #starting with build ??? and build 133/134 #openssl is always a special case since sub packages got combined #below: our target system is an IPS based OS2008/OS2009/OS2010 # *before the big package renaming party* ##TODO## check osbuilds 129 .. 135 to be fully covered! Else run # pkgtool --interactive prep base-specs/packagenamemacros.spec # and mail us the output #note name aliasing the package on build say \"< 133\" should work #cases os2nnn #handy alias based on typo #handy alias based on typo #SUNWwgetu/SUNWwgetr/SUNWwget wget web/wget #SUNWGtku/SUNWGtkr/SUNWGtk Gtk library/desktop/gtk1 #kerberos #note: pkg search -l SUNWsmba #returns nothing. So use the very old names SUNWsmbau/SUNWsmbar instead. #samba service/network/samba #pre build 100 we're missing ncurses and use SFEncurses instead #but we are >>>>100 here #SFElibsndfile/SUNWlibsndfile #for now, we always default to the SFE version 1.0.25 located in /usr/gnu #for every platform #SFElibsndfile/SFElibsndfile-devel or SUNWlibsndfile (no -devel) #Devel-Package SUNWlibsndfile_devel doesn't really exist, but define it anyways: #Nvidia driver names #for the moment, just make a file require, as this matches driver/graphics/nvidia and NVDAgraphics #/usr/X11/include/NVIDIA/vdpau/vdpau.h #users might have installed the SVR4 package directly from nvidia #%define pnm_buildrequires_driver_graphics_nvidia driver/graphics/nvidiadriver/graphics/nvidia #%define pnm_requires_driver_graphics_nvidia driver/graphics/nvidia #boehm garbage collector ##TODO## Add your packages here in case you specify an old #END os2nnn #IPS has a problem: pkg info SUNWopenssl says *not installed* but at the same #time pkg info openssl (or library/security/openssl) says installed. #this is problematic, since based on the SUNWopenssl alias name it is still #tobe seen as *installed* - every package prerequisite check by the old #compatibilty/alias name *is* *failing* then #below: our target system is an IPS based OS2010++ ... incl. Oracle Solaris 11 Express # *AFTER the big package renaming party* #note: target is \"openssl\" which is understood by 133/134++ releases as installed #and still works with early opensolaris builds as well ##TODO## this is accumulative (see above %if %{os2nnn} w/o osbuild detection # ~/spec-files-extra/include pkg contents -r -m pkg://solaris/library/security/openssl@1.0.2.11,5.11-0.175.3.19.0.1.0 | grep openssl/ec.h #file f2463bfe32222c40ede22c3029699bf0a72ebcc5 chash=5c4b2370d8f9c4575864f16a9133b4ac234425a8 facet.devel=all group=bin mode=0444 owner=root path=usr/include/openssl/ec.h pkg.csize=9938 pkg.size=56134 #file 7eeea32830643e2f0f4d15395206df2be5df49c4 chash=b31684878ee1da2ed4e67cc0fee91dd99269383d facet.devel=all group=bin mode=0444 owner=root path=usr/include/openssl/ecdh.h pkg.csize=2058 pkg.size=5191 #cases >=133 AND os2nnn ##TODO## Re-visit this buildnumber, was this 133 or 134 ? (pkg info SUNWopenssl says not installed) #handy alias based on typo #handy alias based on typo #SUNWwgetu/SUNWwgetr/SUNWwget wget web/wget #SUNWGtku/SUNWGtkr/SUNWGtk Gtk library/desktop/gtk1 #samba service/network/samba # note: there is in real no SUNWlibC -devel package! # note: that is renamed on OI to system/library/c++/sunpro ! # note: there is in real no SUNWsqlite3 -devel package! #kerberos #plugin-php52 itself can't be checked for being installed (on IPS it is only #a meta package!), use module instead. #this overwrites content from packagenames.define-133.inc #maybe could be moved to special cases packagenames.define-specialcases-133.inc ? #web/server/apache-22/plugin/plugin-php52 -->> web/server/apache-22/module/apache-php5 #>=133 #os2nnn #END >=133 AND os2nnn note: two closing endif ##TODO## #platform standard locations for paths and files #openssl #omnios CA bundle: #solaris11 S11.3 CA bundle: #s1104 S11.4 CA bundle: #hipster CA bundle: #%define pnm_openssl_CAbundle_file #separate packages for the various openssl pieces (libs, incclude, commands, ...) #note: for running the build on SXCE we do *not* have the big bang package # rename project, so we have to define the target package names on SXCE #below: our target system is an older build SolarisExpress (up to including 130) #END SXCE #note: for simple cases don't open another separate include file #packagenames.define-133.inc or packagenames.define-specialcases-133.inc #just do it here instead. #package names in sync with SXCE and os2nnn but got incorporated into other #packages, examples. SUNWhea SUNWsfwhea #pre/including nnn: SUNWhea -> past nnn replacement is #NOTE: superseeding the previous definitions SUNWsfwhea #cases >=133 #END >=133 #NOTE: this section might be superseeded by lower build numbers #cases <133 #END <133 #pre/including 130: SUNWsfwhea -> past 130 replacement is system/header ##TODO## please verify build numbers and intended replacement packagename #END >=130 #NOTE: including SUNWhea too #cases <130 #END <130 # SUNWgnome-xml-share, SUNWgnome-xml-root -> SUNWgnome-xml -> data/docbook # SFEgnupg2 SUNWgnupg SUNWlibgpg-error SUNWlibgpg-error-devel SUNWlibgcrypt SUNWlibgcrypt-devel #pre/including 130: SFEgnupg2 -> past 130 replacement is SUNWgnupg #note: oihipster see sections below, needs to set IPS name (knows no legacy name any more) #pkg://solaris/crypto/gnupg@2.0.30-5.12.0.0.0.113.1:20161127T235134Z --- #sunw #sfe #pkg://solaris/system/library/security/libgcrypt@1.7.3-5.12.0.0.0.113.1:20161128T023501Z --- #sunw #sfe #note: SUNWlibgcrypt(-devel) is in Solaris since a while (which osbuild number?) #not set %define pnm_buildrequires_SUNWlibgcrypt_devel SUNWlibgcrypt-devel #not set %define pnm_buildrequires_SUNWlibgcrypt SUNWlibgcrypt-devel #not set %define pnm_requires_SUNWlibgcrypt SUNWlibgcrypt #not set %define pnm_buildrequires_system_library_security_libgcrypt SUNWlibgcrypt-devel #not set %define pnm_requires_system_library_security_libgcrypt SUNWlibgcrypt #pkg://solaris/library/security/libgpg-error@1.24-5.12.0.0.0.113.1:20161128T021722Z --- #sunw #sfe #END >=130 #cases <130 #END <130 #END oihipster #END omnios #OmniOSce r151028 #libedit appeared before build 151028 #END omnios r151028 #jansson appeared after version /osnet-incorporation@0.5.11-2017.0.0.16925 ##TODO## retire the package SFELibjansson when upgrading hipster past this version ##TODO## *or* move the whole SFElibjansson over to /usr/gnu/ #END hipster 20170000000016925000000000000 #SUNWfftw3 was added with build 107 #http://wikis.sun.com/display/OSOLInstall/Build+107 #pkgs know about the renaming, so just handle a switch to SFEfftw3 in case #the osbuild is too old #defaults for all builds >= 107 - let pkg do the names translation if needed #cases >=107 #>=107 #END <107 #paused# ##TODO##define exact osbuild number where SUNWfreetype disappeared #paused# #rules: if osdistro does not know freetype2, then use SFEfreetype (2.x) #paused# #defaults for all builds < 133 (just to have somehting to start with) #paused# #the default settings from the other p*inc files are valid or overwritten here #paused# %define pnm_buildrequires_SUNWfreetype2 SUNWfreetype2 #paused# %define pnm_requires_SUNWfreetype2 SUNWfreetype2 #paused# %define pnm_buildrequires_freetype2 SUNWfreetype2 #paused# %define pnm_requires_freetype2 SUNWfreetype2 #paused# #SFEfreetype replaced with SUNWfreetype2 #paused# #NOTE: no \"2\" at the end! #paused# %define pnm_buildrequires_SUNWfreetype_devel SUNWfreetype2 #paused# %define pnm_requires_SUNWfreetype SUNWfreetype2 ##TODO## below: probably obsolete or needs rethinking: ##TODO## which osbuild version is right? #END < 133 #defaults for all builds >= 99 - let pkg do the names translation if needed #END <99 #defaults for all builds >= 116 - let pkg do the names translation if needed #exclude from omnios #END exclude from omnios #END <116 #special case, pkgtool/pkgbuild can't see if packages are installed if #meta-package data/docbook is requested (it shows never as being installed). #up to 133 it was developer/documentation-tool/gtk-doc #NOTE we overwrite what the include for 134 has defined #END >= 134 #special case, pkgtool/pkgbuild can't see if packages are installed if #meta-package x11/client is requested. up to 143 it was TBD #NOTE we overwrite what the include for 133 / 134 has defined (target was x11/client) #SUNWxwopt is now a compatibility package wich pulles in a number of smaller packages #pkg://compatibility/packages/SUNWxwopt@0.5.11,5.11-0.144 #SUNWxwinc is now a compatibility package which can be checked for being installed (against a consolidation which can't) # Name: x11/header Renamed to: pkg:/consolidation/X/X-incorporation pkg:/compatibility/packages/SUNWxwinc@0.5.11,5.11-0.144 #END >= 144 #packages delivered with Solaris 11.4 GA or later #library/jansson@2.10,5.11-11.4.0.0.1.14.0:20180814T164738Z #library/libarchive@3.3.1,5.11-11.4.0.0.1.14.0:20180814T164755Z #library/security/gpgme@1.6.0,5.11-11.4.0.0.1.14.0:20180814T170618Z #library/gnutls-3@3.5.16,5.11-11.4.0.0.1.14.0:20180814T164546Z #library/gnutls-3@3.7.1-11.4.39.0.1 #END S11.4 GA or later #at least npth is there since SRU42 CBE, maybe earlier #library/pth 2.0.7-11.4.9.0.1.1.0 --o #use libpng16 by default #END S11.4 later builds #END oihipster #info: graphviz added around consolidation/userland/userland-incorporation@0.5.11,5.11-0.172:20110815T080358Z # #note: if you prefer the maybe more uptodate \"version\" ofr SFEgraphviz, then put that SFEpackagename into (Build)Requirements # if you need any version of graphviz, then use pnm_buildrequires_SUNWgraphviz or ..._SFEgraphviz #20140707 Solaris 11.x has #20140707 OpenIndiana has none #20140707 OpenIndiana-Hipster has image/graphviz@2.28.0,5.11-2014.0.1.3:20140528T102249Z #set default #set parameters for more fresh osbuild / osdistro #Solaris 11 Solaris 12 ##TODO## add OI OpenIndiana Hipster image/graphviz@2.28.0,5.11-2014.0.1.3:20140528T102249Z #END solaris11 solaris12 oihipster #----------------------------------------------------------------- #set defaults, in case the build is newer, overwrite them #this is for all builds (below 151) #cases >=151 #END >= 151 #----------------------------------------------------------------- #set defaults for SFExz | compress/xz, in case the build is newer, #overwrite them #this is for S11 (all builds) and (OI < 151) #cases >= 151 && ( OpenIndiana | OmniOS | OIHipster ) #END openindiana #----------------------------------------------------------------- #set defaults for SFElibggz #overwrite them in case the osdisto has its own libggz packaged in gnome-media or gnome-games #this is for OI 151 all builds (and SXCE) #cases Solaris 11 or Solaris 12 has no longer libggz in the #packages gnome/games #END solaris11express or solaris 12 #----------------------------------------------------------------- # this section overwrites settings form above originally applying to # osbuild >=133 AND os2nnn # note: system/library/c++-runtime is renamed on OI to system/library/c++/sunpro #cases >= 151 && OpenIndiana or OIHipster #END openindiana oihipster #----------------------------------------------------------------- # all distro #cppunit # but OIHipster brings its own packages, then use those (for those, osdistro delivered pkg is good enough) #END oihipster #----------------------------------------------------------------- #special cases, set defaults first #----------------------------------------------------------------- #changes the defaults from above, in case the build is newer. #this is for Solaris (Express) 11 builds (above excluding 151) #which now includes freeglut #%if % /usr/gnu/bin/expr %{solaris12} '>=' 1 '|' '(' %{solaris11express} '>=' 1 '&' %{osbuild} '>' 151 ')') #%if 0 #Solaris 11.4 has no longer guile #pkg://solaris/library/guile@1.8.8-5.12.0.0.0.120.0:20170319T174945Z --o #starting with: developer/documentation-tool/asciidoc@8.6.8,5.12-5.12.0.0.0.34.0 #END osbuild >= 34 #%define pnm_buildrequires_SFEasciidoc pkg://solaris/developer/documentation-tool/asciidoc #%define pnm_requires_SFEasciidoc pkg://solaris/developer/documentation-tool/asciidoc #END solaris12 #----------------------------------------------------------------- #packages no longer available, we could bail out or just require a core package #to continue for now, we just set a already existing package name, the spec file #might fail compiling or have reduced functionality then -> up to the individual #spec file maintainer how to solve that #cases >=156 #https://defect.opensolaris.org/bz/attachment.cgi?id=4441 #(the attachment link from above is in: https://defect.opensolaris.org/bz/show_bug.cgi?id=17668) #END >=156 #END solaris11express (and newer, e.g. Solaris 11) # cases >=160 # python # library/python-2/python-gnome-libs-26 changed to a renamed-to package, # so pkgtool can't see if its new dependents are installed. # this is a workaround, we just require one of the dependents. ##TODO## improve: find the best matching replacement for library/python-2/python-gnome-libs-26 #for now we replace with library/python-2/pygtk2-26 #END >=160 #END solaris11express (and newer, e.g. Solaris 11) # audio headers got renamed several times, then # included in other package #with 163 system/header/header-audio moved into system/header # SUNWfuse and SUNWlibfuse appeared -> replaces SFEfuse SFElibfuse on S11 # but names changed to library/libfuse and file-system/uvfs #END >=163 #END solaris11express # header migrated into main package #system/library/mozilla-nss@0.5.11-0.160 on s12_79 #nspr #solaris 11 >= 160 or solaris12 #system/library/mozilla-nss renamed library/security/nss@4.12.10-0.172.0.0.0.0.0 #note: openindiana and oihipster 2015.0.1.0 still have system/library/mozilla-nss/header-nss ##TODO## nspr #END solaris 12 | solaris 11 >= 160 #s12 sfe /localhomes/tom/spec-files-extra pkg info -r mozilla-nss # Name: system/library/mozilla-nss # State: Not installed (Renamed) # Renamed to: consolidation/sic_team/sic_team-incorporation # library/security/nss@4.12.10-0.172.0.0.0.0.0 XXXXXXXXXXXXXXXXXX # Publisher: solaris # Version: 0.5.11 # Branch: 0.172.0.0.0.0.0 #Packaging Date: Tue Aug 16 07:11:53 2011 # Size: 5.45 kB # FMRI: pkg://solaris/system/library/mozilla-nss@0.5.11-0.172.0.0.0.0.0:20110816T071153Z # # Name: system/mozilla-nss # State: Not installed (Renamed) # Renamed to: security/nss-utilities@4.12.10-0.172.0.0.0.0.0 XXXXXXXXXXXXXXXXXX # consolidation/sic_team/sic_team-incorporation # Publisher: solaris # Version: 0.5.11 # Branch: 0.172.0.0.0.0.0 #Packaging Date: Tue Aug 16 07:12:00 2011 # Size: 5.45 kB # FMRI: pkg://solaris/system/mozilla-nss@0.5.11-0.172.0.0.0.0.0:20110816T071200Z # # # Name: system/library/mozilla-nss #Zusammenfassung: # Status: Nicht installiert (Umbenannt) # Umbenannt in: consolidation/sic_team/sic_team-incorporation # library/security/nss@4.12.10-0.172.0.0.0.0.0 # Herausgeber: solaris # Version: 0.5.11 # Build-Version: 5.11 # Zweig: 0.172.0.0.0.0.0 #Packaging-Datum: 16. August 2011 07:11:53 Uhr # Größe: 5.45 KB # FMRI: pkg://solaris/system/library/mozilla-nss@0.5.11,5.11-0.172.0.0.0.0.0:20110816T071153Z # # Name: system/library/mozilla-nss/header-nss #Zusammenfassung: # Status: Nicht installiert (Umbenannt) # Umbenannt in: system/library/mozilla-nss@0.5.11-0.160 # Herausgeber: solaris # Version: 0.5.11 # Build-Version: 5.11 # Zweig: 0.160 #Packaging-Datum: 28. Februar 2011 16:47:35 Uhr # Größe: 0.00 B # FMRI: pkg://solaris/system/library/mozilla-nss/header-nss@0.5.11,5.11-0.160:20110228T164735Z # math headers went from pkg://system/library/math/header-math # to pkg://system/library/math@0.5.11-0.174.0.0.0.0.0 # OI stays unchanged for a while # Hipster has header-math integrated into math #with build 174 library/math/header-math moved into system/library/math, as well on S12 OIH #END solaris12 oihipster osbuild >= 174 .... ##TODO## maybe re-locate the definitions below if that helps getting better overview #SEE ALSO: new include file packagenames.define.initial.inc #NOTE# Defaults here for os2nn, SXCE, and so on. This is overlayed if one #distro needs this different! #pulseaudio, we currently have this in SFE - see below for more fresh distros #automake version 1.11, we currently have this in SFE - see below for more fresh distros #Added to S11.2, S12 but all others might not have it and go for sfe/shell/gnu-getopt #set the SFE spec file as default for os20nn SXCE, overlay that for >=S11.2, S12 ##TODO## remove it is redundant and wrong for OmniOS #doesn't autoinstall by resolveipspackages, to try this way ##TODO## remove it is redundant and wrong for OmniOS %define pnm_buildrequires_SFEgdbm library/database/gdbm ##TODO## remove it is redundant and wrong for OmniOS %define pnm_requires_SFEgdbm library/database/gdbm ##TODO## remove it is redundant and wrong for OmniOS %define pnm_buildrequires_SUNWgnu_dbm library/database/gdbm ##TODO## remove it is redundant and wrong for OmniOS %define pnm_requires_SUNWgnu_dbm library/database/gdbm #NOTE# now overlay the above definitions if needed: #START Solaris 11 without update, S11.0 #END solaris11 #START Solaris 11 Update 1 # #pulseaudio, automake-111 w/o legacy name in Solaris 11.1 and newer #END solaris11 #START Solaris 11 Update 2 # #gnu-getopt added (S11.2, S12) #END solaris11 #START Solaris 11 Update 3 # #END solaris11 #START Solaris 12 - generic/(almost)all builds - more details below # # # Warning: as compiling and running builds older then a few weeks old doesn't make # much sense, we do not keep exact build numbers when things change. # # example: Build 103 and following brought us Gnome3, but we anyways start # setting rules here for *all* S12 builds, yes that may break # compiling on older builds. Don't you want upgrading more often? # # good style is to make a comment with which build the change happened, # so one gets a chance to make a workaround in case you can't upgrade the os today # #SUNWautomake-111 SFEautomake-111 #starting with S11 175.1 we have developer/build/automake-111 #SFEautomake-115 - may be replaced by an osdistro. #if you get upgrade contraints, then uninstall the SFE automake-115 package #starting with S12 (some build) we have developer/build/automake-115 #pkg://solaris/library/libedit@3.1-11.4.0.0.0.12.0:20180103T031218Z #S12 lost the legacy name SUNWgnu-dbm ##TODO## check if this is the case as well for S11 (!) #S12 lost the legacy name SUNWslang #S12 is ignored now, S11.4 lost the entire package, use SFEslang again (see elsewhere) #pkg://solaris/library/slang@2.2.4-11.4.0.0.1.9.0:20180618T181210Z --o #pkg://solaris/library/slang@2.2.4-5.12.0.0.0.114.0:20161212T034553Z --o #%define pnm_buildrequires_SUNWslang_devel library/slang #%define pnm_buildrequires_SUNWslang library/slang #%define pnm_requires_SUNWslang library/slang #Added to S11.2, S12 but all others might not have it and go for sfe/shell/gnu-getopt #Added to S11.3 build 26 and S12 build 90 # developer/documentation-tool/xmlto #with around build 103 gnome3 starts, gnome-audio obsoleted in build 112 (probably) #we replace it with something very generic #historic: # pkg contents -r -m SUNWgnome-common-devel@0.5.11,5.11-0.175 #set name=pkg.fmri value=pkg://solaris/SUNWgnome-common-devel@0.5.11,5.11-0.175.0.0.0.0.0:20110927T073138Z #set name=pkg.renamed value=true #depend fmri=developer/gnome/gettext@0.5.11-0.133 type=require #depend fmri=consolidation/desktop/gnome-incorporation type=require # IF you want gettext, then you may choose pnm_buildrequires_SUNWgnu_gettext #mostly needed for \"gettext\" developer/gnome/gettext #library/gnome/gnome-common pulls in developer/gnome/gettext # and developer/gnome/gettext has been renamed to text/gnu-gettext #below may be redundant...check later #S12 adds gstreamer 1.x and obsoletes it on build 113 #library/audio/gstreamer 0.10.32-5.12.0.0.0.87.0 i-- #library/audio/gstreamer/plugin/gnonlin 0.10.17-5.12.0.0.0.90.0 --o #library/desktop/gstreamer-1 1.4.5-5.12.0.0.0.112.1 i-- #library/desktop/gstreamer-1/gst-plugins-base 1.4.5-5.12.0.0.0.112.1 i-- #library/desktop/gstreamer-1/gst-plugins-good 1.4.5-5.12.0.0.0.112.1 i-- ##TODO## open: what to do with the new package names. for a moment we can use pnm_macro # of old package name and still get the new package. would work across all supported osdistro # ##TODO## open: how to handle library/desktop/gstreamer-1/gst-plugins-base and library/desktop/gstreamer-1/gst-plugins-good ##NOTE## s/audio/desktop/ #for now, just request library/desktop/gstreamer-1, details only handled once the need arises #for now, just request library/desktop/gstreamer-1, details only handled once the need arises #codec/libvorbis 1.3.3-5.12.0.0.0.115.0 --- #codec/ogg-vorbis 2.30.0-5.12.0.0.0.108.0 --r #START solaris 12 - special build versions below >= 87 #END solaris12 - generic/(almost)all builds - more details below #END solaris11 from 11.3 SRU 9 on has own zlib.pc in package library/zlib #many osdistro do not deliver the file \"zlib.pc\" for pkgconfig, SFE drops one in until the osdistro has one #osdistro which have one, can replace this in pnm_macro include file (example: S12) #END solaris12 special build version 87 and newer # S11.4 switched to libsasl2 #system/library/security/libsasl 5.12.2.1.26-5.12.0.0.0.93.0 --r #system/library/security/libsasl2 2.1.26-11.4.0.0.1.3.0 --- #system/library/security/libsasl2 2.1.26-11.4.0.0.0.12.0 i-- #from build 5.12 .93. on, simplified by using %{s110400} #END s110400 (solaris12) #START solaris 12 - special build versions >= 108 #Package codec/ogg-vorbis was renamed to pkg:/codec/libvorbis pkg:/codec/libogg (NOTE: these are *two* packages!) #pkg://solaris/codec/libogg@1.2.2-5.12.0.0.0.108.1:20160919T062323Z --- #pkg://solaris/codec/ogg-vorbis@2.30.0-5.12.0.0.0.108.0:20160919T062335Z #END solaris12 special build version 108 and newer #START setting perl5, defaults - Part 1 of 3 #define perl defaults, primarily shared settings and default version, paths #for older osbuilds/osdistros like OpenSolaris 134, SXCE/Nevada, Solaris 10 #STRONG NOTE: located *below* the osdistro and osbuild sections, there is *another* #section evaluating the resulting paths on the disk, those are specific #to the perl version in use. We hope, that we do not need to handle special #cases there, e.g. this would be an odd distro deciding to relocate to #another path layout on disk.... #note: older Solaris releases did include \"micro\"-versionnumber in #modules path, e.g. vendor_perl/5.8.4 #more fresh versions do only set major.minor, this is e.g. vendor_perl/5.12 ###TODO## not clear if we should require SUNWperl584core or SUNWperl584usr #both? #note: the name is subject to change if we find a better one #_default string is not meant to be a part of the package name... # NOTE the section sitting below the distro specfic settings # where the resulting paths on the disk are evaluated! #END setting perl5, defaults - Part 1 of 3 #START setting perl5, changes with specific builds and distros - Part 2 of 3 #the distro specific settings below. #set specifics for more fresh osbuild/osdistro like Solaris 11 Express, OpenIndiana #which integrate perl 5.10 or newer (please add more sections for overrides in #different distro releases. Order is: greatest osbuild must be listed last to #override previous settings) #set perl5 for Solaris 11, then for Solaris 11.4 #beware: one variable gets overwritten right below for newer builds #SOLARIS 11.3 #pkg://solaris/runtime/perl-522@5.22.1.1,5.11-0.175.3.36.0.12.0:20190603T134621Z #pkg://solaris/runtime/perl-522@5.22.1.1,5.11-0.175.3.32.0.3.0:20180420T193841Z #perl is 64-bit #END 0000017500030032000000000000.0 #SOLARIS 11.3 #COMMON SETTINGS - START - SOLARIS 11.4 (12) #set perl5 for Solaris 12 #runtime/perl-512 or library/perl-5/sun-solaris-512 #COMMON SETTINGS - UPDATE FOR UPDATED OS #runtime/perl-522@5.22.1.1-11.4.0.0.1.14.0 #END build >= 0011000400000000000100140000.0 #COMMON SETTINGS - UPDATE FOR UPDATED OS #runtime/perl-532@5.32.0,11.4-11.4.39.0.1.107.0 #perl is 64-bit #END build >= 0011000400390000000101070000 #END solaris12 #COMMON SETTINGS - END #END os2nnn #set perl5 for Solaris 11, Solaris11Express #END solaris11, solaris11express >= 166 #END os2nnn #set perl5 for OpenIndiana #END openindiana #END os2nnn #set perl5 for OIHipster #runtime/perl-516@5.16.3,5.11-2014.0.1.1:20140528T081041Z #END oihipster >= 2014.0.1.1 #set perl5 for OIHipster >= 2015.0.1.0 (was 2015.0.2.1) #runtime/perl-522@5.22.0,5.11-2015.0.1.0:20150727T054604Z #runtime/perl-522@5.22.0,5.11-2015.0.1.0:20150727T062342Z #runtime/perl-522@5.22.0,5.11-2015.0.1.0:20151027T072513Z #runtime/perl-522@5.22.0,5.11-2015.0.2.1:20151102T181230Z ##TODO## monitor closely when OIHipster changes shipped perl-versions or adds perl-modules #ignore older perl-516@5.16.3,5.11-2014.1.2.3:20151027T072451Z #use runtime/perl-522@5.22.0,5.11-2015.0.1.0:20150727T054604Z #set perl5 for OIHipster #END oihipster >= 2015 #use pkg://openindiana.org/runtime/perl-524@5.24.3-2017.0.0.0:20171113T184255Z i-- #set perl5 for OIHipster #20170000000016925000000000000 #END oihipster >= 2017 ##Block below: move to better suiting section (outside of perl block) #pnm: osdistro_entire_padded_number4 20170000000016925000000000000 #hipster sfe ~ pkg contents -r -m pkg://openindiana.org/library/libedit | grep -i quire #depend fmri=pkg:/system/library@0.5.11-2017.0.0.16250 type=require #appeared with build 2017.0.0.16250 #END oihipster #set perl5 for OmniOS #END omnios #set perl5 for OmniOS Community Edition omniosce ##NOTE## the default minimal install as of 0.151022 is *only* *32* *bit* perl #we want the future and this is runtime/perl-64 # determine perl bittness by looking at libperl.so loaded by the perl binary # # perl -e 'foreach $inc ( @INC) { print $inc.\"\n\" if -f \"$inc/CORE/libperl.so\"; }' # /usr/perl5/5.24.1/lib/i86pc-solaris-thread-multi-64 # file /usr/perl5/5.24.1/lib/i86pc-solaris-thread-multi-64int/CORE/libperl.so # /usr/perl5/5.24.1/lib/i86pc-solaris-thread-multi-64int/CORE/libperl.so: ELF 32-bit LSB dynamic lib 80386 Version 1, dynamically linked, not stripped, no debugging information available #once runtime/perl-64 is installed, this overlays the 32-bit perl implementation when called by /usr/bin/perl and the like # FMRI: pkg://omnios/entire@11-0.151014:20161027T172955Z #pkgbuild@omnios> find /usr/perl5/ -name libperl.so -exec file {} \; -ls #/usr/perl5/5.16.1/lib/i86pc-solaris-thread-multi-64int/CORE/libperl.so: ELF 32-bit LSB shared object, Intel 80386, version 1, dynamically linked, not stripped #201298 1140 -r-xr-xr-x 1 root bin 1812644 Dec 1 2016 /usr/perl5/5.16.1/lib/i86pc-solaris-thread-multi-64int/CORE/libperl.so #/usr/perl5/5.16.1/lib/i86pc-solaris-thread-multi-64/CORE/libperl.so: ELF 64-bit LSB shared object, x86-64, version 1, dynamically linked, not stripped #202879 1156 -r-xr-xr-x 1 root bin 1902280 Dec 1 2016 /usr/perl5/5.16.1/lib/i86pc-solaris-thread-multi-64/CORE/libperl.so # FMRI: pkg://omnios/entire@11-0.151022:20170511T002513Z #root@mailrouter:~# find /usr/perl5/ -name libperl.so -exec file {} \; -ls #/usr/perl5/5.24.1/lib/i86pc-solaris-thread-multi-64/CORE/libperl.so: ELF 64-bit LSB dynamic lib AMD64 Version 1, dynamically linked, not stripped, no debugging information available # 9632 1370 -r-xr-xr-x 1 root bin 2342992 Aug 13 19:16 /usr/perl5/5.24.1/lib/i86pc-solaris-thread-multi-64/CORE/libperl.so #/usr/perl5/5.24.1/lib/i86pc-solaris-thread-multi-64int/CORE/libperl.so: ELF 32-bit LSB dynamic lib 80386 Version 1, dynamically linked, not stripped, no debugging information available #81673 1358 -r-xr-xr-x 1 root bin 2179640 Jul 17 20:56 /usr/perl5/5.24.1/lib/i86pc-solaris-thread-multi-64int/CORE/libperl.so ##TODO## [omniosorg/omnios-build] perl: update to 5.24.4 (r151024) (#696) ##TODO## [omniosorg/omnios-build] perl: update to 5.26.2 (r151026) (#698) ##OmniTI - not OmniOSce # NOTE: We are simply ignoring the non-64-bit perl packages #END omnios # OmniOS v11 r151022s -> pkg://omnios/runtime/perl@5.24.1-0.151022:20170921T162748Z # ^ corresponds to number 19 ## OmniOSce - the successor (overwrites old settings of OmniTI # NOTE: We are simply ignoring the non-64-bit perl packages #END omnios ##TODO## 151030.3 # /usr/perl5/site_perl/5.28/i86pc-solaris-thread-multi-64 # /usr/perl5/site_perl/5.28 # /usr/perl5/vendor_perl/5.28/i86pc-solaris-thread-multi-64 # /usr/perl5/vendor_perl/5.28 # /usr/perl5/5.28/lib/i86pc-solaris-thread-multi-64 # /usr/perl5/5.28/lib # # OmniOS v11 r151030c -> pkg://omnios/runtime/perl@5.28.2-151030.0:20190426T231121Z #END omnios #https://github.com/omniosorg/omnios-build/raw/r151032/doc/ReleaseNotes.md #uname -a shows omnios-r151032-XXX #Perl has been upgraded to 5.30.0 # # OmniOS v11 r151032 -> pkg://omnios/runtime/perl@5.30.0-151032 ??? #END omnios # OmniOS v11 r151034. -> pkg://omnios/runtime/perl@5.30.3-151034.0:20200606T132521Z #END omnios # OmniOS v11 r151038. -> pkg://omnios/runtime/perl@5.31.1-151034.0:20200606T132521Z #END omnios # OmniOS v11 r151044. -> pkg://omnios/runtime/perl@5.36.0-151044.0:20221031T112831Z #END omnios # determine perl bittness by looking at libperl.so loaded by the perl binary # # perl -e 'foreach $inc ( @INC) { print $inc.\"\n\" if -f \"$inc/CORE/libperl.so\"; }' # /usr/perl5/5.24.1/lib/i86pc-solaris-thread-multi-64 # file /usr/perl5/5.24.1/lib/i86pc-solaris-thread-multi-64int/CORE/libperl.so # /usr/perl5/5.24.1/lib/i86pc-solaris-thread-multi-64int/CORE/libperl.so: ELF 32-bit LSB dynamic lib 80386 Version 1, dynamically linked, not stripped, no debugging information available #once runtime/perl-64 is installed, this overlays the 32-bit perl implementation when called by /usr/bin/perl and the like # FMRI: pkg://omnios/entire@11-0.151014:20161027T172955Z #pkgbuild@omnios> find /usr/perl5/ -name libperl.so -exec file {} \; -ls #/usr/perl5/5.16.1/lib/i86pc-solaris-thread-multi-64int/CORE/libperl.so: ELF 32-bit LSB shared object, Intel 80386, version 1, dynamically linked, not stripped #201298 1140 -r-xr-xr-x 1 root bin 1812644 Dec 1 2016 /usr/perl5/5.16.1/lib/i86pc-solaris-thread-multi-64int/CORE/libperl.so #/usr/perl5/5.16.1/lib/i86pc-solaris-thread-multi-64/CORE/libperl.so: ELF 64-bit LSB shared object, x86-64, version 1, dynamically linked, not stripped #202879 1156 -r-xr-xr-x 1 root bin 1902280 Dec 1 2016 /usr/perl5/5.16.1/lib/i86pc-solaris-thread-multi-64/CORE/libperl.so # FMRI: pkg://omnios/entire@11-0.151022:20170511T002513Z #root@mailrouter:~# find /usr/perl5/ -name libperl.so -exec file {} \; -ls #/usr/perl5/5.24.1/lib/i86pc-solaris-thread-multi-64/CORE/libperl.so: ELF 64-bit LSB dynamic lib AMD64 Version 1, dynamically linked, not stripped, no debugging information available # 9632 1370 -r-xr-xr-x 1 root bin 2342992 Aug 13 19:16 /usr/perl5/5.24.1/lib/i86pc-solaris-thread-multi-64/CORE/libperl.so #/usr/perl5/5.24.1/lib/i86pc-solaris-thread-multi-64int/CORE/libperl.so: ELF 32-bit LSB dynamic lib 80386 Version 1, dynamically linked, not stripped, no debugging information available #81673 1358 -r-xr-xr-x 1 root bin 2179640 Jul 17 20:56 /usr/perl5/5.24.1/lib/i86pc-solaris-thread-multi-64int/CORE/libperl.so #add more distro here #END setting perl5, changes with specific builds and distros - Part 2 of 3 #START setting perl5, all builds, evaluated paths - Part 3 of 3 # this is the section noted above which evaluates the resulting paths on the # disk for the defaults for perl or the distro specific changed values e.g. # more fresh perl version 5.8.4 -> 5.12 #vendor_perl # echo %{_prefix}/%{perl_path_vendor_perl} -> prints /usr/perl5/vendor_perl # echo %{_prefix}/%{perl_path_vendor_perl_version} -> prints /usr/perl5/vendor_perl/5.8.4 (or 5.10.0) #site_perl # echo %{_prefix}/%{perl_path_site_perl} -> prints /usr/perl5/site_perl # echo %{_prefix}/%{perl_path_site_perl_version} -> prints /usr/perl5/site_perl/5.8.4 (or 5.10.0) # make a version that can be used in \"expr\" #kommandant tom ~/spec-files-extra printf \"%.4i %.4i %.4i %.4i\n\" 5 132 3 0 #0005 0132 0003 0000 #printf \"%.4i %.4i %.4i %.4i\n\" `echo 5.22.1 | awk -F'.' '{print $1\" \"$2\" \"$3}'` #0005 0022 0001 0000 #kommandant tom ~/spec-files-extra printf \"%.4i%.4i%.4i%.4i\n\" `echo 5.22.1.2 | awk -F'.' '{print $1\" \"$2\" \"$3\" \"$4}'` #0005002200010002 #NOTE: remove \"\n\" from format spec #NOTE: escape for % is %% ##TODO##151030 braucht das nicht mehr ##TODO##REMOVE##%if %{?perl_dir:1}%{!?perl_dir:0} ##TODO##REMOVE###skip this, the perl_dir variable is already defined ##TODO##REMOVE##%else ##TODO## verify if case i386 is needed? porssibly include bittness into calculation #s11.3: #i86pc-solaris-int #END ifarch sparc ##TODO##verify## #END omnios #END ifarch amd64 ##TODO##REMOVE## simplification ##SPARC## sun4-solaris-thread-multi-64 ##TODO##REMOVE## simplification %if %( /usr/gnu/bin/expr %{s110400} '>=' 1 '|' %{solaris12} '&' %{osbuild} '>=' 95 '|' %{oihipster} ) ##TODO##REMOVE## simplification %define perl_dir i86pc-solaris-thread-multi-64 ##TODO##REMOVE## simplification %endif ##TODO##REMOVE## simplification #END Solaris 11.4 / Solaris 12 ##TODO##REMOVE## %endif ##TODO##REMOVE## #END ?perl_dir #find include files if you compile against perl #the EXTERN.h file would be found with CFLAGS=\"-I%{_prefix}/%{perl_default_includedir}\" #next line help to find /usr/perl5/5.8.4/lib/i86pc-solaris-64int/CORE/EXTERN.h #END setting perl5, all builds, evaluated paths - Part 3 of 3 #various perl modules got bundles in perl versions later then 5.8.x #so identify them here and let spec files use the pnm_macros to #decide for a SFE package or use the osdistro bundled one #START various perl modules now bundled #define the defaults, then below overwrite if something has changed #most modules now bundled in the osdistro provided perl version: #END various perl modules now bundled #most modules now bundled in the osdistro provided perl version: ##TODO## verify when JSON and JSON-PP went into default perl distro #not yet in 5.32# %define pnm_buildrequires_SFEperl_json %{pnm_buildrequires_perl_default} #not yet in 5.32# %define pnm_requires_SFEperl_json %{pnm_requires_perl_default} #END various perl modules now bundled #START setting Python, defaults - Part 1 of 2 #define Python defaults, primarily shared settings and default versions and paths #NOTE: we start initially only with setting Python 2.6 for *ALL* osbuild / osdistro #this is to be extended in the future as required (for older osbuild/osdistro, *or* #for next Python 2.x or 3.x) # #draft: NOTE: names/values subject to change - update all spec files # accordingly if you change this! #special strings here for packagenames: e.g. Python26 #note: the name is subject to change if we find a better one #_default string is not meant to be a part of the package name... # add sub-packagenames like \"SUNWPython26-extra\" and \"-cherrypy\" to the end, see examples: # BuildRequires: %{pnm_buildrequires_python_default}-extra # Requires: %{pnm_requires_python_default}-extra # BuildRequires: %{pnm_buildrequires_python_default}-cherrypy # Requires: %{pnm_requires_python_default}-cherrypy #BIG NOTE read the \"perl\" examples in this file *IF* you want to #extend the logic to define a new osbuild/osdistro or switch to #another Python version, e.g. 2.7 or 3.0 only for specific osbuild/osdistro #combinations. #Mind to write the same comments as for the perl section \"Part n of m\" to #highlight that a value may be re-defined later on for special cases #END setting Python - Part 1 of 2 #START setting python, changes with specific builds and distros - Part 2 of 2 # on S12 we don't have legacy package name SUNWPython26, so we need to # use runtime/python-26 instead ##TODO## testing for OI151a8 as well #before Solaris 12.0.0.0.86.0 #note: the name is subject to change if we find a better one #_default string is not meant to be a part of the package name... #END %{osbulild} => 133 or %{solaris12} #Solaris >= 175.3.0.0.26.0 #END %{solaris11} >= 11.3 #Solaris >= 175.3.0.0.30.0 #END %{solaris11} >= 11.3 #Solaris >= 12.0.0.0.70.0 #the IPS name changed from python-2/ to python/ ##TODO##1 check if consuming specs can concentrate on only these pnm_macros below and not older/other variant ##TODO##2 prepare for new default python version on S11.3 build 26 and S12 b70 #there has been no SUNWpython27 #END %{solaris12} >= build 86 #Solaris >= 12.0.0.0.86.0 #note: the name is subject to change if we find a better one #_default string is not meant to be a part of the package name... #END %{solaris12} >= build 86 # runtime/python-35@3.5.3-11.4.0.0.1.14.0 --- #Solaris >= 11.4 #note: the name is subject to change if we find a better one #_default string is not meant to be a part of the package name... #END %{s110400} >= ... # runtime/python-37@3.7.10-11.4.39.0.1.107.0 #Solaris >= 11.4 #note: the name is subject to change if we find a better one #_default string is not meant to be a part of the package name... #END %{s110400} >= ... # runtime/python-37@3.9.4-11.4.30.0.?.?.0 # 3.9.4-11.4.39.0.1.107. #Solaris >= 11.4 #note: the name is subject to change if we find a better one #_default string is not meant to be a part of the package name... #END %{s110400} >= ... # additionaly, in OmniOS we have a different python micro version number: #older OmniOS #END %{omnios} #OmniOSce ##TOODO## check which osdistro version starts with the new default python version #END %{omnios} #OmniOSce ##TOODO## check which osdistro version starts with the new default python version #END omnios #OmniOSce ##TOODO## check which osdistro version starts with the new default python version #END omnios # determine perl bittness by looking at libperl.so loaded by the perl binary # # perl -e 'foreach $inc ( @INC) { print $inc.\"\n\" if -f \"$inc/CORE/libperl.so\"; }' # /usr/perl5/5.24.1/lib/i86pc-solaris-thread-multi-64 # file /usr/perl5/5.24.1/lib/i86pc-solaris-thread-multi-64int/CORE/libperl.so # /usr/perl5/5.24.1/lib/i86pc-solaris-thread-multi-64int/CORE/libperl.so: ELF 32-bit LSB dynamic lib 80386 Version 1, dynamically linked, not stripped, no debugging information available #once runtime/perl-64 is installed, this overlays the 32-bit perl implementation when called by /usr/bin/perl and the like # FMRI: pkg://omnios/entire@11-0.151014:20161027T172955Z #pkgbuild@omnios> find /usr/perl5/ -name libperl.so -exec file {} \; -ls #/usr/perl5/5.16.1/lib/i86pc-solaris-thread-multi-64int/CORE/libperl.so: ELF 32-bit LSB shared object, Intel 80386, version 1, dynamically linked, not stripped #201298 1140 -r-xr-xr-x 1 root bin 1812644 Dec 1 2016 /usr/perl5/5.16.1/lib/i86pc-solaris-thread-multi-64int/CORE/libperl.so #/usr/perl5/5.16.1/lib/i86pc-solaris-thread-multi-64/CORE/libperl.so: ELF 64-bit LSB shared object, x86-64, version 1, dynamically linked, not stripped #202879 1156 -r-xr-xr-x 1 root bin 1902280 Dec 1 2016 /usr/perl5/5.16.1/lib/i86pc-solaris-thread-multi-64/CORE/libperl.so # FMRI: pkg://omnios/entire@11-0.151022:20170511T002513Z #root@mailrouter:~# find /usr/perl5/ -name libperl.so -exec file {} \; -ls #/usr/perl5/5.24.1/lib/i86pc-solaris-thread-multi-64/CORE/libperl.so: ELF 64-bit LSB dynamic lib AMD64 Version 1, dynamically linked, not stripped, no debugging information available # 9632 1370 -r-xr-xr-x 1 root bin 2342992 Aug 13 19:16 /usr/perl5/5.24.1/lib/i86pc-solaris-thread-multi-64/CORE/libperl.so #/usr/perl5/5.24.1/lib/i86pc-solaris-thread-multi-64int/CORE/libperl.so: ELF 32-bit LSB dynamic lib 80386 Version 1, dynamically linked, not stripped, no debugging information available #81673 1358 -r-xr-xr-x 1 root bin 2179640 Jul 17 20:56 /usr/perl5/5.24.1/lib/i86pc-solaris-thread-multi-64int/CORE/libperl.so ###raus###%endif ###raus####END %{omnios} # additionaly, in OIHpster we have a different python micro version number: #END %{oihipster} #pkg://openindiana.org/runtime/python-24@2.4.6-2015.0.2.0:20161003T120954Z --o #pkg://openindiana.org/runtime/python-25@2.5.4-2015.0.2.0:20161003T120954Z --o #pkg://openindiana.org/runtime/python-26@2.6.9-2016.0.1.0:20161003T120954Z --o #pkg://openindiana.org/runtime/python-26/tests@2.6.9-2016.0.1.0:20161003T120955Z --o #pkg://openindiana.org/runtime/python-27@2.7.12-2016.0.1.2:20161003T102116Z --- #pkg://openindiana.org/runtime/python-27/tests@2.7.12-2016.0.1.2:20161003T102049Z --- #pkg://openindiana.org/runtime/python-34@3.4.5-2016.0.1.1:20160916T143119Z --- # lets start (randomly) with python-27 as default in OIHpster >= 2015.0.1.1 #END %{oihipster} >= 2015.0.1.1 #END setting python, changes with specific builds and distros - Part 2 of 2 # note: some python package names may change with the default python version # therefore place those below the main python settings #which build number removed SUNWpysqlite and used the python 2.6/2.7 internal pysqlite? #if python is version 2.4, then we need SUNWpysqlite ##TODO## adjust the osbuild number which introduced Python2.6 #all more recent builds should just require the current python default version of this platform #instead of the SUNWpysqlite # #END < 133 (else) #END if osbuild >= 133 #default #build numbers or other milestones are important to switch python versions at the right time ##TODO## should create \"renamed-to\" packages to uninstall our SFEpython26-importlib at the exact version when OSdistro's package appears ## #solaris12 has default python27 and knows library/python/importlib - Yes for >= build 86 library/python/importlib # Note: python-26 removed/obsoleted, so we ignore old development build 86 in rules below #solaris11 has default python26 and *no* library/python*/importlib* - Not present for 0.175.0.0.0.0.0 we need SFEpython26-importlib #solaris11 has default python26 and knows library/python-2/importlib-26 - Yes for >= 0.175.2.0.0.42.1 there is OSdistro library/python-2/importlib-26 #solaris11 has default python26 and knows library/python/importlib - Yes for >= 0.175.3.0.0.16.0 there is OSdistro library/python/importlib ##TODO## define s11 version first delivering importlib for/bundled with python27 ---- verify this #OIHipster 2015xxxx has default python27 and knows library/python/importlib. verify this #OIHipster 20160421 has default python27 and knows library/python/importlib. Verified #OI151a9 has default python26, which requires backported importlib, so requires SFEpython26-importlib #r1510016 .. r1510018 and so on - check on public IPS publisher #Omnios has default python26, which requires backported importlib, so requires SFEpython26-importlib - TBC # # pkg list -avf \"*/importlib*\" #s11 0.175.3.0.0.16.0 has a renamed package #library/python-2/importlib-26 1.0.2-0.175.3.0.0.16.0 --r #s11 0.175.3.0.0.24.0 has python 2.7 #library/python/importlib 1.0.2-0.175.3.0.0.24.0 --- #pkg://solaris/library/python-2/importlib@1.0.2,5.11-0.175.2.0.0.42.1:20140623T014749Z --- #pkg://solaris/library/python-2/importlib@1.0.2,5.11-0.175.2.6.0.3.0:20141222T165018Z --- #pkg://solaris/library/python-2/importlib@1.0.2,5.11-0.175.3.0.0.16.0:20150215T210033Z --r #pkg://solaris/library/python-2/importlib-26@1.0.2,5.11-0.175.2.0.0.42.1:20140623T014748Z --- #pkg://solaris/library/python-2/importlib-26@1.0.2,5.11-0.175.2.6.0.3.0:20141222T165017Z --- #pkg://solaris/library/python-2/importlib-26@1.0.2,5.11-0.175.3.0.0.16.0:20150215T210032Z --r #pkg://solaris/library/python/importlib@1.0.2,5.11-0.175.3.0.0.30.0:20150821T170100Z i-- #pkg://solaris/library/python/importlib-26@1.0.2,5.11-0.175.3.0.0.30.0:20150821T170059Z i-- #pkg://localhostoih/library/python-2/importlib-27@1.0.3-0.0.151.1.8:20160215T002015Z i-- #pkg://localhostoih/library/python-2/importlib-27@1.0.3-0.0.151.1.8:20150810T214611Z --- #pkg://localhostoih/library/python-2/importlib-27/src@1.0.3-0.0.151.1.8:20160215T001935Z --- #pkg://localhostoih/library/python-2/importlib-27/src@1.0.3-0.0.151.1.8:20150810T214531Z --- #remember: SFEpython26-importlib needs to get \"renamed-to\" section installing exactly at the OSdistro release where the #OSdistro default python version changes (the case for S11 >= 0.175.3.0.0.16.0) #for very modern OSdistro we set the default to be the python-27 and newer package, as it bundled importlib #t and update later, in case an OSdistro is known to have its own package for importlib #assuming here: python-27 and newer has importlib integrated #solaris12 we use this/and newer python as default #runtime/python-27@2.7.10-5.12.0.0.0.88.0 #solaris11 added */importlib-26 on 0.175.2.0.0.42.1 #solaris11 renamed to */importlib on 0.175.3.0.0.16.0 #solaris11 changed to default python-27 (importlib included) #Hipster is set in SFE to default_python being python-27 (or newer) (importlib included) #OI151 has python-26 and needs SFEpython26-importlib #now the special cases: #Extend if necessary! Start with old OSdistro. #Leave modern OSdistro releases with python-27 and up to the default which we define right before) #below: very old Solaris 11 releases and have python26 and *no* importlib, we use SFEpython26-importlib #below: old S11 release has python26 and importlib-26 is available, but uses the old name importlib-26 #OI151 has python 2.6 and needs SFEpython26-importlib #%if %( /usr/gnu/bin/expr %{openindiana} '=' 1 '&' %{oihipster} '=' 0 ) #OmniOS #entire@11-0.151016 -> runtime/python-26@2.6.8-0.151016 ##TODO## which will be the python default for 151018 for instance? #ipaddress module #python2.7 ... on Solaris 11 available from 11.3 SRU 14 # library/python/ipaddress 1.0.16-0.175.3.20.0.1.0 --- # library/python/ipaddress 1.0.16-0.175.3.14.0.2.0 i-- #python2.7 ... on Solaris 12 (later 11.4) available from 5.12.0.0.0.95.0 # library/python/ipaddress 1.0.16-5.12.0.0.0.122.0 i-- # library/python/ipaddress 1.0.16-5.12.0.0.0.115.0 --- # library/python/ipaddress 1.0.14-5.12.0.0.0.105.1 --- # library/python/ipaddress 1.0.14-5.12.0.0.0.95.0 --- #the Default #need to uninstall once Solaris 11 SRU 14 is available ##TODO## make SFEpython27-ipaddress.spec auto-uninstall once 11.3 SRU14 or later is to be installed ##TODO## add Solaris 11.4 once it is available #simplified! #default if an OS doesn't have the module at all, then we are done. all other OS+release have a switch below #used for samba415 #library/python/dnspython-27@1.12.0,5.11-11.4.0.0.1.14.0:20180814T165342Z #library/python/dnspython-39 1.16.0-11.4.39.0.1.107.0 #python 3.9 appeared with Solaris 11.4 SRU30 - so assume dnspython appeared as well in SRU30 #verify this #zipp ##TODO## OpenIndiana ##TODO## OmniOS #START setting mysql, defaults - Part 1 of 3 #define mysql defaults, primarily shared settings and default version, paths #for older osbuilds/osdistros like OpenSolaris 134, SXCE/Nevada, Solaris 10 #STRONG NOTE: located *below* the osdistro and osbuild sections, there is *another* #section evaluating the resulting paths on the disk, those are specific #to the mysql version in use. We hope, that we do not need to handle special #cases there, e.g. this would be an odd distro deciding to relocate to #another path layout on disk.... ##TODO## Solaris 10's mysql versions *not yet* covered here #from SXCE on we have this: ##not defined %define mysql_major_minor_micro_version 5.1.X #we simplify the variants for mysql, we try to use only the newer one #for *all* consuming spec files. #include file /usr/mysql/5.1/include/mysql/mysql.h is in SUNWmysql51u #END setting mysql, defaults - Part 1 of 3 #START setting mysql, changes with specific builds and distros - Part 2 of 3 #set mysql for Solaris11Express or OpenIndiana or OpenSolaris #older IPS systems #from build 133 and up we have #database/mysql-51 #database/mysql-51 5.1.37-5.12.0.0.0.45.0 --o #database/mysql-51/library 5.1.37-5.12.0.0.0.45.0 --o #END >= 133 ##not defined %define mysql_major_minor_micro_version 5.1.X #database/mysql-55 5.5.31-5.12.0.0.0.63.0 --- #database/mysql-55/client 5.5.31-5.12.0.0.0.63.0 --- #database/mysql-55/library 5.5.31-5.12.0.0.0.63.0 i-- #END S12 & >= 63 #END os2nnn #add more distro here ##TODO## # OIHipster moved to Mariadb, mysql 5.1 still available #END setting mysql, changes with specific builds and distros - Part 2 of 3 ##TODO## below. different versions of Sun/Oracle built mysql had an extra #directory at the end: include/mysql and lib/mysql with newer versions > 5.1 #that is e.g. 5.5 the part /mysql is gone. #introduce a switch or make the /mysql part of the defines depending on the #version mysql is # # # pkg contents -r -m database/mysql-51/library database/mysql-51 database/mysql-55/library database/mysql-55 | egrep \"my_dir.h|libmysqlclient.so\"; pkg contents -r -m database/mysql-55 | egrep \"my_dir.h|libmysqlclient.so \" | grep -v variant # # file 9370a8a70c0ced5fcbb2de964bd386d9c0065055 chash=7181a4411e66f4e19ea53ce939f1c26117647aa1 facet.devel=all group=bin mode=0444 owner=root path=usr/mysql/5.1/include/mysql/my_dir.h pkg.csize=1501 pkg.size=3460 # file 2cc545f744e3249d85ad5a7834f65539ba7420a7 chash=ffe9b08f69d43941d6bf26f4a3feb4a578255aee facet.devel=all group=bin mode=0444 owner=root path=usr/mysql/5.5/include/my_dir.h pkg.csize=1548 pkg.size=3573 # # link path=usr/mysql/5.1/lib/mysql/libmysqlclient.so target=libmysqlclient.so.16 # link path=usr/mysql/5.5/lib/libmysqlclient.so target=libmysqlclient.so.18 # # remember to adjust SFEqt-gpp.spec once the /mysql offset is re-engineered here #START setting mysql, all builds, evaluated paths - Part 3 of 3 # this is the section noted above which evaluates the resulting paths on the # disk for the defaults for mysql or the distro specific changed values e.g. # if a more fresh mysql version stores files somewehre else #set handy partial paths to default locations where important mysql files #are stored #note: simplyfication: %{_prefix} must be prepended by the spec file itself #default install directory of mysql #example: #the mysql.h file would be found with CFLAGS=\"-I%{_prefix}/%{mysql_default_includedir}/mysql\" #or #the mysql.h file would be found with CFLAGS=\"-I%{_prefix}/%{mysql_default_includedir}\" #more information: #include \"mysql/mysql.h\" -->> /usr/mysql/5.1/include/mysql/mysql.h #if you only #include \"mysql.h\" then you need to use CFLAGS=\"-I%{_prefix}/%{mysql_default_includedir}/mysql\" #the mysql libs would be found with LDFLAGS and/or CFLAGS=\"-L%{_prefix}/%{mysql_default_libdir} -R%{_prefix}/%{mysql_default_libdir}\" #you might need to keep an eye on 32-/64-bit locations of mysql libs #you might need to use -L%{_prefix}/%{mysql_default_libdir}/mysql to get libraries found #END setting mysql, all builds, evaluated paths - Part 3 of 3 #START setting java, defaults - Part 1 of 3 #define java defaults, primarily shared settings and default version, paths #for older osbuilds/osdistros like OpenSolaris 134, SXCE/Nevada, Solaris 10 #STRONG NOTE: locate *below* the osdistro and osbuild sections, there is *another* #section evaluating the resulting paths on the disk, those are specific #to the java version in use. We hope, that we do not need to handle special #cases there, e.g. this would be an odd distro deciding to relocate to #another path layout on disk.... ##TODO## Solaris 10's java versions *not yet* complete here #from SXCE on we have this: ##not defined %define java_major_minor_micro_version 1.6.0_17 #JAVA #in case 32 bit is good enough #in case 64 bit is really needed or makes sense #END setting java, defaults - Part 1 of 3 #START setting java, changes with specific builds and distros - Part 2 of 3 #set java for Solaris11(Express) or OpenIndiana or OpenSolaris #older IPS systems #use the default from before (e.g. SUNWj6rt and SUNWj6rtx #from build 133 and up we have #runtime/java and runtime/java/runtime64 #in case 32 bit is good enough #in case 64 bit is really needed or makes sense #experimental, subject to change, can be incomplete #what about 32-bit and 64-bit? S12 jdk8 is 64-bit only #END >= 133 #END os2nnn #END oihipster #END setting java, changes with specific builds and distros - Part 2 of 3 # oihipster going through huge changes with java ATM (circa mid 2015) # Defaults will propably suffice #START setting java, all builds, evaluated paths - Part 3 of 3 # this is the section noted above which evaluates the resulting paths on the # disk for the defaults for java or the distro specific changed values e.g. # if a more fresh java version stores files somewehre else # # intentionally left empty. maybe enhanced later with filesystempaths ##TODO## add content here to fill in JAVA_HOME # # #END setting java, all builds, evaluated paths - Part 3 of 3 #START setting ruby, defaults - Part 1 of 3 #define ruby defaults, primarily shared settings and default version, paths #for older osbuilds/osdistros like OpenSolaris 134, SXCE/Nevada, Solaris 10 #STRONG NOTE: located *below* the osdistro and osbuild sections, there is *another* #section evaluating the resulting paths on the disk, those are specific #to the ruby version in use. We hope, that we do not need to handle special #cases there, e.g. this would be an odd distro deciding to relocate to #another path layout on disk.... ##TODO## well, we *need* a better way to determine what #sfe verison to use. Maybe putting ruby version number into #include file and include that here for sfe_ruby_* and as well #include that in SFEruby.spec - to keem them better in sync #Exception! We have two ruby_defaul, we add a define for a ruby # version local to \"SFE\", #currently all the same for all osdistro #note1: different installation paths for SFE's ruby implementation, # the binaries go into /usr/gnu/ . # See also: section Part 3 which defines variables with the # install path to ruby or sfe_ruby. ##TODO## think on how to replace the unpatched os ruby 1.8, see note2. #note2: currently unused is SFEruby-18.spec which contains a # patched 1.8.7 to *replace* the OS provided SUNWruby/SUNWrubyu/SUNWrubyr #here comes SFE's local ruby version stored in /usr/gnu: #note the added _sfe_ in all variables including the variables-names #pointing to the install-path # .... # .... # NOTE the section sitting below the distro specfic settings # where the resulting paths on the disk are evaluated! #END setting ruby, defaults - Part 1 of 3 #START setting ruby, changes with specific builds and distros - Part 2 of 3 #the distro specific settings below. #set specifics for more fresh osbuild/osdistro like Solaris 11 Express, OpenIndiana #which integrate ruby 5.10 or newer (please add more sections for overrides in #different distro releases. Order is: greatest osbuild must be listed last to #override previous settings) #set ruby for Solaris 12 - just a guess #runtime/ruby-18@1.8.7 #set ruby for Solaris 12 #runtime/ruby-18 #END solaris12 #END os2nnn #set ruby for Solaris 11 #pkg://runtime/ruby-18@1.8.7.334-0.175.0.0.0.2.537 #END solaris11 #END os2nnn #set ruby for OIHipster #END oihipster #set ruby for OpenIndiana #END openindiana #END os2nnn #add more distro here #END setting ruby, changes with specific builds and distros - Part 2 of 3 #START setting ruby, all builds, evaluated paths - Part 3 of 3 # this is the section noted above which evaluates the resulting paths on the # disk for the defaults for ruby or the distro specific changed values e.g. # more fresh ruby version #currently none defined (examples see perl section) #set handy partial paths to default locations where important ruby files #are stored #note: simplyfication: %{_prefix} must be prepended by the spec file itself #note2: osdistro ruby is in /usr and sfe_ruby is in /usr/gnu #default install directory of ruby. ##TODO## think if there is a smarter setting then the path hardcoded. # Not allowed to be influenced by a _prefix changed in the spec file # requiring this ruby implementation #example: #note: in this implementation we include the version number #note: in this implementation we as well set the _prefix part as # we always define explicitly that osdistro ruby lives in /usr # and sfe_ruby in /usr/gnu # # e.g. /usr/ruby/1.8/lib/ruby/1.8/i386-solaris2.11/ruby.h (osdistro) # e.g. /usr/gnu/include/ruby-1.9.3/ruby.h (sfe) # #s11 (wrong) usr/lib/ruby/1.8/i386-solaris2.11/ruby.h pkg://sfe/runtime/ruby-18@1.8.7.371-0.11.0 #s11 (wrong) usr/include/ruby-1.9.1/ruby.h pkg://runtime/ruby-19@1.9.3-0.11.0 #s11 (wrong) usr/include/ruby-1.9.1/ruby/ruby.h pkg://runtime/ruby-19@1.9.3-0.11.0 #s11 usr/ruby/1.8/lib/ruby/1.8/i386-solaris2.11/ruby.h pkg://runtime/ruby-18@1.8.7.334-0.175.0.0.0.2.537 #s11 usr/ruby/1.8/lib/ruby/1.8/sparc-solaris2.11/ruby.h pkg://runtime/ruby-18@1.8.7.334-0.175.0.0.0.2.537 #the ruby.h file would be found with CFLAGS=\"-I{ruby_default_includedir}\" #the SFE's ruby.h file would be found with CFLAGS=\"-I{sfe_ruby_default_includedir}\" ##TODO## need better detection for the ruby_arch (S10, S11, S12, OI, ...) ## ##TODO## #after fixing sfe_ruby directory layout adjust the line below, should be similar to what ruby_default_includedir defines #the ruby libs would be found with LDFLAGS and/or CFLAGS=\"-L%{ruby_default_libdir} -R%{ruby_default_libdir}\" # or \"-L%{sfe_ruby_default_libdir} -R%{sfe_ruby_default_libdir}\" #basename link usr/ruby/1.8/lib/libruby.so pkg://runtime/ruby-18@1.8.7.334-0.175.0.0.0.2.537 #basename link usr/gnu/lib/libruby.so pkg://runtime/ruby-19@1.9.3-0.11.0 #after fixing sfe_ruby directory layout: %define sfe_ruby_default_libdir %{sfe_ruby_default_prefix}/ruby/%{sfe_ruby_major_minor_version}/lib #now with wrong sfe_ruby directory layout (SFEruby.spec version 1.9.3 svn rev =< 5117) #you might need to keep an eye on 32-/64-bit locations of ruby libs if such appears #END setting ruby, all builds, evaluated paths - Part 3 of 3 #START setting apache2, defaults - Part 1 of 3 #define apache2 defaults, primarily shared settings and default version, paths #for older osbuilds/osdistros like OpenSolaris 134, SXCE/Nevada, Solaris 10 #STRONG NOTE: locate *below* the osdistro and osbuild sections, there is *another* #section evaluating the resulting paths on the disk, those are specific #to the apache2 version in use. We hope, that we do not need to handle special #cases there, e.g. this would be an odd distro deciding to relocate to #another path layout on disk.... ##TODO## Solaris 10's apache2 versions *not yet* complete here #there was a mess with directories named /usr/apache2/ and later /usr/apache2/2.2/ #from SXCE on we have this: #apache2 2.2 ##not defined %define apache2_major_minor_micro_version 2.2.X.X.X #END setting apache2, defaults - Part 1 of 3 #START setting apache2, changes with specific builds and distros - Part 2 of 3 #set apache2 for Solaris11(Express) or OpenIndiana or OpenSolaris #older IPS systems #use the default from before #from build 133 and up we have #note: currently explicitly defined only for SXCE and for >=133 #expect that to change soon, as apache2 2.4 is in preparation as additional #version to apache2 2.2 (will dissapear with future OS versions) #END >= 133 #END os2nnn #END setting apache2, changes with specific builds and distros - Part 2 of 3 #START setting apache2, all builds, evaluated paths - Part 3 of 3 # this is the section noted above which evaluates the resulting paths on the # disk for the defaults for apache2 or the distro specific changed values e.g. # if a more fresh apache2 version stores files somewehre else #set handy partial paths to default locations where important apache2 files #are stored #note: simplyfication: %{_prefix} must be prepended by the spec file itself #include files for apache2 #CFLAGS=\"-I%{_prefix}/%{apache2_default_includedir}\" #more information: #include \"libpq-fe.h\" -->> /usr/apache2/2.2/include/libpq-fe.h #more information: #include \"server/libpq.h\" -->> /usr/apache2/2.2/include/server/libpq.h ##TODO## ##NOTE## below: subject to change. want a more clever way to auto-set the variables # for distinguishing 32-bit or 64-bit builds. so the spec files can always use # the same variable to define the right library search path for current %_arch*... #the apache2 libs would be found with #LDFLAGS and/or CFLAGS=\"-L%{_prefix}/%{apache2_default_libdir} -R%{_prefix}/%{apache2_default_libdir}\" #you might need to keep an eye on 32-/64-bit locations of apache2 libs #NOTE: to get the 64-bit libs use CFLAGS=\"-L%{_prefix}/%{apache2_default_libdir}/%{_arch64}\" #more information: /usr/apache2/2.2/lib /usr/apache2/2.2/lib/amd64 /usr/apache2/2.2/lib/sparcv9 #here go e.g. perl modules #here go the apache loadable modules! #the magic apxs utility. NOTE: for 64-bit version use temporary, subject to change #variable apache2_default_apxs_64 ##TODO## want more clever 32-bit / 64-bit handling! ##TODO## does it work at all? maybe _arch is getting evaluated too late! #%define apache2_default_apxs_64 apache2/%{apache2_major_minor_version}/bin/%{_arch64}/apxs #there is no nice workaround to get switched form 32- to 64-bits #END setting apache2, all builds, evaluated paths - Part 3 of 3 # Apache apr utility ##TODO## upcoming osdistro may replace apr-13 wih apr-15 ##TODO## if requested, add targets for older osdistro with e.g. SVR4 - for now we only resolve to new naming / IPS #this is for all builds (below 151) #cases >=151 #library/apr-util-13@1.3.9,5.11-0.151.0.1:20101105T055007Z Install Manifest #library/apr-util-13@1.3.9,5.11-0.151:20101027T143546Z Install Manifest ##TODO## re-visit the package names if the left hand side really existed in that naming #web/library/apache/apr-13 1.3.9-0.134 --r #web/library/apache/apr-13/documentation 1.3-0.134 --r #library/apr-13 1.3.9-0.175.0.0.0.0.0 i-- #library/apr-13/documentation 1.3.9-0.175.0.0.0.0.0 --- #library/apr-util-13/apr-ldap 1.3.9-0.175.0.0.0.0.0 i-- #library/apr-util-13/dbd-mysql 1.3.9-0.175.0.0.0.0.0 i-- #library/apr-util-13/dbd-pgsql 1.3.9-0.146 --o #library/apr-util-13/dbd-sqlite 1.3.9-0.175.0.0.0.0.0 i-- #library/apr-util-13/documentation 1.3.9-0.175.0.0.0.0.0 --- #END >= 151 | solaris12 #xxxxxxxxxxxxxxxx #START setting apr, defaults - Part 1 of 3 #define apr defaults, primarily shared settings and default version, paths ##not defined %define apr_major_minor_micro_version 1.3.X ##not defined %define apr_util_major_minor_micro_version 1.3.X #END setting apr, defaults - Part 1 of 3 #START setting apr, changes with specific builds and distros - Part 2 of 3 #note: need to add \".0\" to avoid integer too lage, use floating point instead #this is a special switch: Our SFE spec file will build a package using the same name as more recent distros do ##not defined %define apr_major_minor_micro_version 1.3.X ##not defined %define apr_util_major_minor_micro_version 1.3.X #on S12 >= 63 and S11 >= entire .12. we need to make sure that apr apr-util comes from the osdistro repository #END solaris12 >= 63 and solaris 11 >= entire .12. #END solaris 11 >= entire .12. #note below: openindiana, hipster and OmniOS: library/apr-15 comes from SFE, not the osdistro #END omnios openindiana oihipster #END setting apr, changes with specific builds and distros - Part 2 of 3 #START setting apr, all builds, evaluated paths - Part 3 of 3 # this is the section noted above which evaluates the resulting paths on the # disk for the defaults for apr or the distro specific changed values e.g. # if a more fresh apr version stores files somewehre else #set handy partial paths to default locations where important apr files #are stored #note: simplyfication: %{_prefix} must be prepended by the spec file itself #include files for apr #CFLAGS=\"-I%{_prefix}/%{apr_default_includedir}\" #more information: #include \"apr.h\" -->> /usr/apr/1.5/include/apr.h #experimental: (see the idea at %{gnu_inc} in base.inc #-I/usr/apr/1.5/include ##TODO## ##NOTE## below: subject to change. want a more clever way to auto-set the variables # for distinguishing 32-bit or 64-bit builds. so the spec files can always use # the same variable to define the right library search path for current %_arch*... # %{_basedir}/apr/1.5 # /usr/apr/1.5 # %{_basedir}/apr-util/1.5 # /usr/apr-util/1.5 #the apr libs would be found with #LDFLAGS and/or CFLAGS=\"-L%{_prefix}/%{apr_default_libdir} -R%{_prefix}/%{apr_default_libdir}\" #you might need to keep an eye on 32-/64-bit locations of apr libs #NOTE: to get the 64-bit libs use CFLAGS=\"-L%{_prefix}/%{apr_default_libdir}/%{_arch64}\" #experimental: (see the idea at %{gnu_lib_path} in base.inc #this doesn't evaluate to the 64-bit lib directory unless apr_default_libdir gets prepared for 64-bit ##TODO## want more clever 32-bit / 64-bit handling! ##TODO## does it work at all? maybe _arch is getting evaluated too late! #%define apr_default_apxs_64 apr/%{apr_major_minor_version}/bin/%{_arch64}/apxs #there is no nice workaround to get switched form 32- to 64-bits #experimental #END setting apr, all builds, evaluated paths - Part 3 of 3 #xxxxxxxxxxxxxxxx #START setting postgres, defaults - Part 1 of 3 #change of strategy. we want SFE postgres be the standard, only few exceptions from that for other OSses #%define pnm_buildrequires_postgres_default database/postgres-common,service/database/postgres-96 #%define pnm_requires_postgres_default database/postgres-common,service/database/postgres-96 #END setting postgres, defaults - Part 1 of 3 #START setting postgres, changes with specific builds and distros - Part 2 of 3 #set postgres for Solaris11Express or OpenIndiana or OpenSolaris #%if %{SXCE} #define once needed #%endif #Repeat for Hipster. This time special switch for hipster # Needs more confirmation #END oihipster #add more distro here/below #END setting postgres, changes with specific builds and distros - Part 2 of 3 #START setting postgres, all builds, evaluated paths - Part 3 of 3 # this is the section noted above which evaluates the resulting paths on the # disk for the defaults for postgres or the distro specific changed values e.g. # if a more fresh postgres version stores files somewehre else #set handy partial paths to default locations where important postgres files #are stored #note: simplyfication: %{_prefix} must be prepended by the spec file itself #default install directory of postgresql #example: #the libpq/libpg.h or libpq-fe.h file would be found with #CFLAGS=\"-I%{_prefix}/%{postgres_default_includedir}\" #more information: #include \"libpq-fe.h\" -->> /usr/postgres/8.4/include/libpq-fe.h #more information: #include \"server/libpq.h\" -->> /usr/postgres/8.4/include/server/libpq.h ##TODO## ##NOTE## below: subject to change. want a more clever way to auto-set the variables # for distinguishing 32-bit or 64-bit builds. so the spec files can always use # the same variable to define the right library search path for current %_arch*... #the postgres libs would be found with #LDFLAGS and/or CFLAGS=\"-L%{_prefix}/%{postgres_default_libdir} -R%{_prefix}/%{postgres_default_libdir}\" #you might need to keep an eye on 32-/64-bit locations of postgres libs #NOTE: to get the 64-bit libs use CFLAGS=\"-L%{_prefix}/%{postgres_default_libdir}/%{_arch64}\" #more information: /usr/postgres/8.4/lib /usr/postgres/8.4/lib/amd64 /usr/postgres/8.4/lib/sparcv9 #pg_config to tell consuming programs how that postgresql version is configured ##TODO## want more clever 32-bit / 64-bit handling! #there is no nice workaround to get switched form 32- to 64-bits #END setting postgres, all builds, evaluated paths - Part 3 of 3 ##NOTE## we only resolve for boost and icu compiled with GCC/G++ for now, so there is # only a macro with _gpp_ in the name ##NOTE## SFEicu-gpp is kind of a piggyback here #START setting boost and icu, defaults - Part 1 of 3 START #define boost and icu defaults, primarily shared settings and default version, paths #STRONG NOTE: located *below* the osdistro and osbuild sections, there is *another* #section evaluating the resulting paths on the disk, those are specific #to the boost and icu version in use. We hope, that we do not need to handle special #cases there, e.g. this would be an odd distro deciding to relocate to #another path layout on disk.... ##not defined %define boost_gpp_major_minor_micro_version 1.58.0 ##not defined %define icu_gpp_major_minor_micro_version 55.1 #on SVR4 SFEboost-gpp-devel ? #END setting boost, and icu defaults - Part 1 of 3 END #START setting boost and icu, changes with specific builds and distros - Part 2 of 3 START #use our own SFEboost-gpp %if %{oihipster} #use our own SFEboost-gpp #note, this section will be overwritten again in case ophipster is newer, see below #for the moment, we use boost and icu supplied by OIHipster #use our own SFEboost-gpp %define boost_gpp_version 1.55.0 #use our own SFEboost-gpp %define boost_gpp_major_version 1 #use our own SFEboost-gpp %define boost_gpp_major_minor_version 1.55 #use our own SFEboost-gpp ##not defined %define boost_gpp_major_minor_micro_version 1.55.0 #use our own SFEboost-gpp #this is osdistro provided, not from SFE! #use our own SFEboost-gpp %define pnm_buildrequires_boost_gpp_default system/library/g++/boost #use our own SFEboost-gpp %define pnm_requires_boost_gpp_default system/library/g++/boost #use our own SFEboost-gpp %define pnm_buildrequires_boost_gpp_default SFEboost-gpp #use our own SFEboost-gpp %define pnm_requires_boost_gpp_default SFEboost-gpp #use our own SFEboost-gpp %endif #use our own SFEboost-gpp #END oihipster #http://pkg.openindiana.org/hipster-2015 as of 20150808 #system/library/boost@1.55.0,5.11-2014.1.3.1:20141212T044927Z Install Manifest #system/library/boost@1.58.0,5.11-2015.0.1.3:20150623T013126Z Install Manifest #system/library/boost@1.58.0,5.11-2015.0.1.3:20150715T072510Z Install Manifest #system/library/boost@1.58.0,5.11-2015.0.1.3:20150715T074103Z Install Manifest #system/library/g++/boost@1.55.0,5.11-2014.0.1.0:20150309T141137Z Install Manifest #system/library/g++/boost@1.55.0,5.11-2014.0.1.0:20150529T113204Z Install Manifest #system/library/g++/boost@1.55.0,5.11-2014.0.1.0:20150612T192514Z Install Manifest #system/library/g++/boost@1.55.0,5.11-2014.0.1.0:20150727T195654Z Install Manifest #system/library/g++/boost@1.55.0,5.11-2014.0.1.0:20150727T231744Z Install Manifest ##TODO## make the release detection more precise. e.g with osdistro_entire_padded_number4 >= 2015000000010003 aka 2015.0.1.3 #END oihipster >= 20150330 #END setting boost and icu, changes with specific builds and distros - Part 2 of 3 END #START setting boost and icu, all builds, evaluated paths - Part 3 of 3 # this is the section noted above which evaluates the resulting paths on the # disk for the defaults for boost and icu or the distro specific changed values e.g. # if a more fresh boost and icu version stores files somewehre else #set handy partial paths to default locations where important boost and icu files #are stored #note: simplyfication: %{_prefix} must be prepended by the spec file itself #default install directory of boost and icu #example: #the libpq/libpg.h or libpq-fe.h file would be found with #CFLAGS=\"-I%{_prefix}/%{boost_gpp_default_includedir}\" #more information: #include \"libpq-fe.h\" -->> /usr/boost/8.4/include/libpq-fe.h #more information: #include \"server/libpq.h\" -->> /usr/boost/8.4/include/server/libpq.h ##TODO## ##NOTE## below: subject to change. want a more clever way to auto-set the variables # for distinguishing 32-bit or 64-bit builds. so the spec files can always use # the same variable to define the right library search path for current %_arch*... #the boost and icu libs would be found with #LDFLAGS and/or CFLAGS=\"-L%{_prefix}/%{boost_gpp_default_libdir} -R%{_prefix}/%{boost_gpp_default_libdir}\" #you might need to keep an eye on 32-/64-bit locations of boost libs #NOTE: to get the 64-bit libs use CFLAGS=\"-L%{_prefix}/%{boost_gpp_default_libdir}/%{_arch64}\" #more information: /usr/boost/8.4/lib /usr/boost/8.4/lib/amd64 /usr/boost/8.4/lib/sparcv9 #pg_config to tell consuming programs how that boost version is configured ##TODO## want more clever 32-bit / 64-bit handling! #there is no nice workaround to get switched form 32- to 64-bits ##NOT_IMPLEMENTED## %define boost_gpp_default_pg_config boost/%{boost_gpp_major_minor_version}/bin/pg_config ##NOT_IMPLEMENTED## %define boost_gpp_default_pg_config_64 boost/%{boost_gpp_major_minor_version}/bin/64/pg_config #overwrite paths for special osdistro #END oihipster >= 20150330 #END setting boost, all builds, evaluated paths - Part 3 of 3 #add more distro here/below ##TODO## below: dumping place to collect examples to be integrated later # pkg contents -r -m system/header/header-audio # set name=pkg.fmri value=pkg://solaris/system/header/header-audio@0.5.11,5.11-0.163:20110410T085804Z # set name=variant.arch value=sparc value=i386 # set name=org.opensolaris.consolidation value=osnet # set name=variant.opensolaris.zone value=global value=nonglobal # set name=pkg.renamed value=true # depend fmri=consolidation/osnet/osnet-incorporation type=require # depend fmri=pkg:/system/header@0.5.11,5.11-0.163 type=require #SUNWghostscript --- see SFEnasm.spec as example for osbuild dependent switches #cut #example #new os2nnn and starting with build 134 #example %if %{os2nnn} #example %if % /usr/gnu/bin/expr %{osbuild} '>=' 134) #example BuildRequires: text/texinfo #example BuildRequires: print/filter/ghostscript #example %endif #example %endif #example #example %if %{os2nnn} #example %if % /usr/gnu/bin/expr %{osbuild} '>=' 100) #example %if % /usr/gnu/bin/expr %{osbuild} '<' 134) #example BuildRequires: SUNWtexi #example BuildRequires: SUNWghostscript #example %endif #example %endif #example %endif #example #example %if %{os2nnn} #example %if % /usr/gnu/bin/expr %{osbuild} '<' 100) #example BuildRequires: SUNWtexi #example BuildRequires: SUNWgscr #example %endif #example %endif #example #example #SXCE #example %if %SXCE #example BuildRequires: SUNWtexi #example BuildRequires: SUNWghostscriptr #example BuildRequires: SUNWghostscriptu #example %endif #example ##TODO## SFEorc.spec - simpify ywith with pnm_macros #example #example %if %{os2nnn} #example %if % /usr/gnu/bin/expr %{osbuild} '>=' 134) #example buildRequires: library/desktop/gtk2 #example BuildRequires: developer/documentation-tool/gtk-doc #example BuildRequires: developer/gnome/gettext #example BuildRequires: data/docbook #example %endif #example %endif #example #example %if %{os2nnn} #example %if % /usr/gnu/bin/expr %{osbuild} '>=' 116) #example %if % /usr/gnu/bin/expr %{osbuild} '<' 134) #example #library/desktop/gtk1 #example # >=75 <= 133 #example BuildRequires: SUNWGtk #example #developer/documentation-tool/gtk-doc #example # >=116 <=133 #example BuildRequires: SUNWgtk-doc #example #developer/gnome/gettext #example BuildRequires: SUNWgnome-common-devel #example #data/docbook #example BuildRequires: SUNWgnome-xml #example %endif #example %endif #example %endif #example # note build versions in %{os2nnn} before 116 aren't covered #example #SXCE #example %if %SXCE #example %if % /usr/gnu/bin/expr %{osbuild} '<=' 130) #example BuildRequires: SUNWGtku #example BuildRequires: SUNWGtkr #example BuildRequires: SUNWgtk-doc #example # BuildRequires: data/docbook #example BuildRequires: SUNWgnome-xml-root #example BuildRequires: SUNWgnome-xml-share #example %endif #example %endif #example #place very special cases here, for instance in Solaris 10 ##TODO## for a future version #from: http://hg.opensolaris.cz/build-scripts/file/tip/build/finddeps.sh # 26 depspacks=`echo ${depspacks} | sed 's/SFEsdl /SUNWlibsdl /'` # # 27 depspacks=`echo ${depspacks} | sed 's/SFEsdl$/SUNWlibsdl/'` # ##done### 28 depspacks=`echo ${depspacks} | sed s/SFElibsndfile/SUNWlibsndfile/` # # 29 depspacks=`echo ${depspacks} | sed s/SUNWgnome-common/SUNWgnome-common-devel/` # # 30 depspacks=`echo ${depspacks} | sed 's/SUNWgtk /SUNWgtk-doc /'` # # 31 depspacks=`echo ${depspacks} | sed 's/SUNWgtk$/SUNWgtk-doc/'` # # 32 depspacks=`echo ${depspacks} | sed 's/SUNWGtku /SUNWGtk /'` # # 33 depspacks=`echo ${depspacks} | sed 's/SUNWGtku$/SUNWGtk/'` # # 34 depspacks=`echo ${depspacks} | sed 's/SUNWsndmu /SUNWsndm /'` # # 35 depspacks=`echo ${depspacks} | sed 's/SUNWsndmu$/SUNWsndm/'` # # 36 depspacks=`echo ${depspacks} | sed 's/SUNWapch22u /SUNWapch22 /'` # # 37 depspacks=`echo ${depspacks} | sed 's/SUNWapch22u$/SUNWapch22/'` # ##TODO## if a consumer appears (e.g. S10) #SUNWncurses ##%if % /usr/gnu/bin/expr %{osbuild} '>=' 100) ##BuildRequires: SUNWncurses-devel ##Requires: SUNWncurses ##%else ##BuildRequires: SFEncurses-devel ##Requires: SFEncurses ##%endif ##TODO## check if this is the case as well for S11 (!) #S12 lost the legacy name SUNWslang BuildRequires: runtime/perl-532 Requires: runtime/perl-532 Requires: SUNWlibmsr Requires: SUNWflexruntime BuildRequires: SUNWflexlex Requires: SFEenscript-root" dir group=bin mode=0555 owner=root path=share/src/SFEenscript-1.6.6 file 3b0ea27105b3c6ab7b7feff9ba61e1f9bfd29b06 chash=43e45f730c0088cd4a06c0981eaa04b6ad123911 group=bin mode=0444 owner=root path=usr/share/src/SFEenscript-1.6.6/SOURCES/enscript.copyright pkg.content-hash=file:sha512t_256:70838aa39a6c09a6df182f25f83d88a55d19548388bd5a7c43928f5c8ed814ca pkg.content-hash=gzip:sha512t_256:959b8584a542f21eb027f3a403738efee71d43ec6613167db460b8d55094bf3f pkg.csize=12357 pkg.size=35519 file db7a5041c83a2b9f0bd92ee536e1236c187065ea chash=887e6b8fcb42e6f39b8cbdefbc4fede9edc95e92 group=bin mode=0444 owner=root path=usr/share/src/SFEenscript-1.6.6/SPECS/packagenamemacros.inc pkg.content-hash=file:sha512t_256:850896d1a8489fa1a04adce0c40a6db5de7f65c140699437f53616803e1dd748 pkg.content-hash=gzip:sha512t_256:7d840c3e36ccd19c75feca4c248966def860b8311149b8fed9a2f38247cb348e pkg.csize=1960 pkg.size=5300 file f3506af38141409ed48602f92f5a714cd8627ff6 chash=0dd1ab8be283fc817fda58439e2ce287fee18581 group=bin mode=0444 owner=root path=usr/share/src/SFEenscript-1.6.6/SPECS/packagenames.define-specialcases-133.inc pkg.content-hash=file:sha512t_256:183ea26ac29b10db6b57bea06088b9ebc7d0f4c7051624eef4538b3354569d05 pkg.content-hash=gzip:sha512t_256:e61287067740e50954b12c3790d96038bdc0e88a3a1e0aedfff423640846e808 pkg.csize=365 pkg.size=750 legacy arch=i386 category=SFE,application desc="Source package for Source package for Converts text to PostScript, HTML or RTF, with syntax highlighting" hotline="Please contact your local service provider" name="Source package for Source package for Converts text to PostScript, HTML or RTF, with syntax highlighting" pkg=SFEenscript-src vendor=http://pkgbuild.sf.net/spec-files-extra version=1.6.6,REV=110.0.4.2023.04.30.09.55 set name=pkg.summary value="Converts text to PostScript, HTML or RTF, with syntax highlighting" dir group=bin mode=0555 owner=root path=share/src/SFEenscript-1.6.6/SPECS set name=build.tool value=pkgbuild file 1f1e97a2ebb3d77f48c57487fe39e64139fb2beb chash=69a03b04af9e184ea8f38b831e53915cf9ea45bb group=bin mode=0444 owner=root path=usr/share/src/SFEenscript-1.6.6/SOURCES/enscript-1.6.6.tar.gz pkg.content-hash=file:sha512t_256:d0f9f6942873583f0612991cf5edb279c54e6fe4e921045792542c42252221d7 pkg.content-hash=gzip:sha512t_256:913cf7e5c82ec92051490fe11cd89842f46f102c33e6b1e14e38334b6f03e18c pkg.csize=1326769 pkg.size=1330493 file 38605cf20f58961aeaea379272a3f5789044af87 chash=2ea403575fa2a28149d53d641859e53d633bc971 group=bin mode=0444 owner=root path=usr/share/src/SFEenscript-1.6.6/SPECS/packagenames.define.allbuilds.inc pkg.content-hash=file:sha512t_256:2c77eb55127ed288eb7dc0683a8f57e643880c044f9517e786fdc01db35f6177 pkg.content-hash=gzip:sha512t_256:e0f6cddeff357d3e386f560d0258db37007a82cd58833ac05ea39935bce87264 pkg.csize=39196 pkg.size=215995 file eba599546c819d3e81bbce3c7bc51847d80c675e chash=842c6a5af9f5cd06a67ad3b5c4bd471ccdad55d6 group=bin mode=0444 owner=root path=usr/share/src/SFEenscript-1.6.6/SPECS/Solaris.inc pkg.content-hash=file:sha512t_256:677347b13832d7eb237f71d60c5f6b76775d916f2acd0965a2ded07b41091a32 pkg.content-hash=gzip:sha512t_256:39f254b45a801771ed5beebca46415ec6b507c9dbd5788027096fdb230343d84 pkg.csize=2367 pkg.size=6401 link path=usr/share/src/SFEenscript-1.6.6/SPECS/..main.spec target=SFEenscript.spec file 30820c148242fa4a60c9522cc95681a6099630fc chash=70ec874b143d7b491981b2373a3248b38d6d1627 group=bin mode=0444 owner=root path=usr/share/src/SFEenscript-1.6.6/SPECS/options.inc pkg.content-hash=file:sha512t_256:28db5c116dfc6ffb87adc5f326fcafff3acbcf06b769886b0d931db32921079e pkg.content-hash=gzip:sha512t_256:814098169f544c65ff547161c749ae21d4e5a08d126b7746ebd88dc13fe1a09b pkg.csize=1015 pkg.size=3673 file f67fa4303359b9a7265e13131a7301abdbc36137 chash=dc21b3ac67719736a47354f126516cccc4f937d3 group=bin mode=0444 owner=root path=usr/share/src/SFEenscript-1.6.6/SPECS/perl-depend.inc pkg.content-hash=file:sha512t_256:86ba8921070e1dee9a01890c21b75ee744df47d8fccdfb74666c921ba2706567 pkg.content-hash=gzip:sha512t_256:02d0972d61c9194ce256b81d417fc5c205fae62a0a3c6a6f801a07862ce58903 pkg.csize=336 pkg.size=555 file b07722b63a31dd848df0c79d3b77bae7c0c874b6 chash=334cff87ef9e7e81079b6397642935e7c1bc22b2 group=bin mode=0444 owner=root path=usr/share/src/SFEenscript-1.6.6/SPECS/arch64.inc pkg.content-hash=file:sha512t_256:2bcb93ff6913a494042b45ad83205bcfd27c6268d6d49353bdd169b09275c1f4 pkg.content-hash=gzip:sha512t_256:47d30c6a4ef02a9b42236a4791bc3bc9bd592fdf470d392eb18f2ff469b13858 pkg.csize=1588 pkg.size=4723 file ab4b7b32ff97d2fb4a068681a0254c2db1933fb8 chash=7196875fe92773c836390185c4e2fb55d155893a group=bin mode=0444 owner=root path=usr/share/src/SFEenscript-1.6.6/SPECS/packagenames.define-134.inc pkg.content-hash=file:sha512t_256:16dd3e0f336637032d4a8522f7e859493bfd274dcdfec744dad24241fd0f6156 pkg.content-hash=gzip:sha512t_256:04beb911345a1d6d7a782ca3372867aa20e715c12b7d7d4a1656a30ee902c020 pkg.csize=276 pkg.size=511 file fff7d29567cea0a1cc21b1686ce8a721156d6515 chash=9be2dd6b69f652b1ffe0d8d6a62afe3a60a81e9e group=bin mode=0444 owner=root path=usr/share/src/SFEenscript-1.6.6/SPECS/packagenames.define-133.inc pkg.content-hash=file:sha512t_256:292b67b28e88cae55e987ce380e1cba984457b366036170bf23a6809c1566c1b pkg.content-hash=gzip:sha512t_256:305b568d111e18941509dc39c86ee5dc61869f7c9611773b2f59b8d738c2c290 pkg.csize=56088 pkg.size=759414 set name=net.sourceforge.pkgbuild,version value=1.3.105 file aa71be9f51af13475dfdb8191c5582e049478692 chash=7742852c669e8b80899e04f76664ee5c4f357c30 group=bin mode=0444 owner=root path=usr/share/src/SFEenscript-1.6.6/SPECS/osdistrofeatures.inc pkg.content-hash=file:sha512t_256:95d688d9db55ba3bee5900b036fee8ef76270f44e1e90210559d90f9d010fdd3 pkg.content-hash=gzip:sha512t_256:7d3d6c033447b7ed1fd68744d1c3a27371c16a89e9ba72b18b1dbcdba0620bf7 pkg.csize=657 pkg.size=1364 set name=info.upstream-url value=http://www.gnu.org/s/enscript/ file c7a486a1416da865d79ac6bb319514ef15f3ef95 chash=dd92c521f386edac73f32b04f02154b41964060b group=bin mode=0444 owner=root path=usr/share/src/SFEenscript-1.6.6/SPECS/SFEenscript.spec pkg.content-hash=file:sha512t_256:1c306201c26ac4f8f582289aa01877b40311635fdf68ef73dd569919457e8f0e pkg.content-hash=gzip:sha512t_256:b9689a6835fe99a68ed6bbc7ddf853f66b418f2e42502319d87ae49b4744e4af pkg.csize=1434 pkg.size=2998 file 4e70d5e64e53d3cc3d62851f84ccdcc7fe25ce55 chash=615350d1df2c76401959d9cde5bd0ea80bb107ba group=bin mode=0444 owner=root path=usr/share/src/SFEenscript-1.6.6/SPECS/base.inc pkg.content-hash=file:sha512t_256:ccb4f5c376aae1553a5a8da20a93e123dbc2ffaf969328ecf6c4b72e3dc0ba5e pkg.content-hash=gzip:sha512t_256:99e1291260d710c813a00916cad72ebb1eff9462b6c0f95dfc942ee6e31861ad pkg.csize=2047 pkg.size=5435 dir group=bin mode=0555 owner=root path=share/src/SFEenscript-1.6.6/SOURCES set name=info.source-url value=http://ftp.gnu.org/gnu/enscript/enscript-1.6.6.tar.gz file 5808154840be87fcd941c02fe8f8d76211a4cf48 chash=7e11b68b745b1837b1e84eae133a79a03e2bb672 group=bin mode=0444 owner=root path=usr/share/src/SFEenscript-1.6.6/SPECS/packagenames.define.initial.inc pkg.content-hash=file:sha512t_256:fe8cf1e1890ac3e3e34a674ba0f3e3157613beeac08ac1ef6d176ef48108f35c pkg.content-hash=gzip:sha512t_256:5ccd0bed68a093574b920700bb15fde9428fd028251789bae1c7b0e87830d238 pkg.csize=2174 pkg.size=7512 set name=info.classification value="org.rpm:Applications/Graphics and Imaging" file 588bec448a474b538f87cc6ca6b6f076018b7e17 chash=708566e3f45eb44ddf215bbee7af8287d8d8cab1 group=bin mode=0444 owner=root path=usr/share/src/SFEenscript-1.6.6/SPECS/default-depend.inc pkg.content-hash=file:sha512t_256:b8f63cb07173318c5b4fd544580f118b8d5d4c122b1534e3162ae6a5b72cf4f5 pkg.content-hash=gzip:sha512t_256:800c7f990917eb16a9539789afd55b20807e96b3aea2c36406a683598ba60842 pkg.csize=341 pkg.size=561 file f653898047106c8de81616755175add486fe35dc chash=cec577e7c7248a0419b99ed693c18a0aa5fb0055 group=bin mode=0444 owner=root path=usr/share/src/SFEenscript-1.6.6/SPECS/osdistro.inc pkg.content-hash=file:sha512t_256:c6a7e90157a79e4815e025377479d979fd5299c6c31360585d0850f3e90ced08 pkg.content-hash=gzip:sha512t_256:9ff901593f80ab7ed6734eb5ab72546f3ceb4bd13faccc4ee36b40659db18273 pkg.csize=9288 pkg.size=34321 file 94f9e9fa5cd8fe8b0b3d584104db47a29a4084a7 chash=f53dabca928429f9ccdae0e91f9a15812bb9d205 group=bin mode=0444 owner=root path=usr/share/src/SFEenscript-1.6.6/SPECS/packagenames.define-specialcases-134.inc pkg.content-hash=file:sha512t_256:89e68e86c71c47e1301bae087e37faf9f8e5b75eb125a2f0b64fdf763f2b43b1 pkg.content-hash=gzip:sha512t_256:bda365d9ab7354be44b476a5615a5ad9294f1c806a6065350d5f1eb3e06ce02d pkg.csize=203 pkg.size=295 set name=info.upstream value="Tim Retout " set name=variant.arch value=i386 file 5c973eaca26dbc33e90e5502a2cdd9fa15d2361a chash=39b8401ac71d1c5168b49554774982f01f5c0739 group=bin mode=0444 owner=root path=usr/share/src/SFEenscript-1.6.6/SOURCES/..pkgbuild pkg.content-hash=file:sha512t_256:c61b67df583a666c31ab77dab8fba2e822e947843f0cdb86436b1fbecf7a7f1a pkg.content-hash=gzip:sha512t_256:a6ea196e4b3537c469e998ca9e8f087a074d42737e07baa9bb946f24c3aa3e88 pkg.csize=45 pkg.size=25