I've included below a diff of the changes to
src/util/distro-import/publish_ips to account for the changes in
2009.06 and to allow SUNWipkg* to be backpublished to earlier builds.
The dependencies are described at the moment exactly rather than
deriving them from the current versions of the other components (for
example, from the IPS gate). This is so we don't needlessly have to
back-publish those other components again.
For 2009.06, we plan to back-publish
SUNWipkg
SUNWipkg-gui
SUNWipkg-um
SUNWpython-mako
SUNWpython-ply
SUNWpython24-simplejson
to builds 86 and 101.
--- src/util/distro-import/publish_ips Fri Jan 23 11:31:31 2009
+++ - Tue May 12 10:25:54 2009
@@ -31,12 +31,26 @@
buildid=$(echo $1 | tr -d '[a-z]')
pkgname=$2
-PKG_ARCHIVE=../../../packages/$MACH
-CHERRYPY_VER=$(pkgparam -d $PKG_ARCHIVE SUNWpython-cherrypy VERSION)
-PYOPENSSL_VER=$(pkgparam -d $PKG_ARCHIVE SUNWpython-pyopenssl VERSION)
+PKG_ARCHIVE=${PKG_ARCHIVE:=../../../packages/$MACH}
+if [ -d $PKG_ARCHIVE/SUNWpython-cherrypy ]; then
+ CHERRYPY_VER=$(pkgparam -d $PKG_ARCHIVE SUNWpython-cherrypy VERSION)
+fi
+if [ -d $PKG_ARCHIVE/SUNWpython-mako ]; then
+ MAKO_VER=$(pkgparam -d $PKG_ARCHIVE SUNWpython-mako VERSION)
+fi
+if [ -d $PKG_ARCHIVE/SUNWpython-ply ]; then
+ PLY_VER=$(pkgparam -d $PKG_ARCHIVE SUNWpython-ply VERSION)
+fi
+if [ -d $PKG_ARCHIVE/SUNWpython-pyopenssl ]; then
+ PYOPENSSL_VER=$(pkgparam -d $PKG_ARCHIVE SUNWpython-pyopenssl VERSION)
+fi
if [[ $pkgname == "SUNWpython-cherrypy" ]]; then
pkgvers=$CHERRYPY_VER
+elif [[ $pkgname == "SUNWpython-mako" ]]; then
+ pkgvers=$MAKO_VER
+elif [[ $pkgname == "SUNWpython-ply" ]]; then
+ pkgvers=$PLY_VER
elif [[ $pkgname == "SUNWpython-pyopenssl" ]]; then
pkgvers=$PYOPENSSL_VER
else
@@ -58,11 +72,20 @@
# We don't add a dependency on SUNWopenssl for SUNWpython-pyopenssl, since
# SUNWopenssl is always installed
if [[ $pkgname == "SUNWipkg" ]]; then
- pkgsend add depend fmri=sunwpython-pyopen...@$pyopenssl_ver-0.$buildid
type=require
- pkgsend add depend fmri=sunwpython-cherr...@$cherrypy_ver type=require
+ pkgsend add depend [email protected].$buildid type=require
+ pkgsend add depend [email protected].$buildid type=require
+ pkgsend add depend [email protected].$buildid type=require
+ pkgsend add depend [email protected].$buildid type=require
+ pkgsend add depend [email protected].$buildid \
+ type=require
elif [[ $pkgname == "SUNWipkg-gui" ]]; then
pkgsend import $PKG_ARCHIVE/SUNWipkg-gui-data
pkgsend import $PKG_ARCHIVE/SUNWipkg-gui-l10n
+ pkgsend add depend [email protected].$buildid \
+ type=require
pkgsend add depend fmri=SUNWipkg-gui-l10n type=require
+ pkgsend add depend [email protected].$buildid type=require
+elif [[ $pkgname == "SUNWipkg-um" ]]; then
+ pkgsend add depend [email protected].$buildid type=require
fi
pkgsend close
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss