[Slackbuilds-users] Sbopkg 0.30.0alpha1 released for testing
Chess Griffin
chess at chessgriffin.com
Thu Jun 25 16:12:49 UTC 2009
Here is the first alpha release of sbopkg version 0.30.0! I would like
to start off by thanking my two co-developers, Mauro Giachero and
slakmagik. Without their code contributions, suggestions, and advice,
this utility would be nowhere near as functional. Any bugs are
undoubtedly mine. :-)
This new version of sbopkg has lots of great cleanups, security
improvements, and new features. Here is just a short list of some of
the items in the ChangeLog:
* Move sbopkg to /usr/sbin; update sbopkg.SlackBuild and sspm to reflect
/usr/sbin.
* Remove code related to user-mode support; sbopkg must now be run as
root in all cases; add single check at start of script to make sure we
are root.
* Apply a major code cleanup that touches just about every part of sbopkg.
This cleanup makes the code more readable, manageable, and less bug-prone.
Several bugs were fixed as part of this cleanup, and the cleanup will ease
further development and debugging efforts.
* Implement configurable repository support by introducing a new
/etc/sbopkg/repos.d directory where separate repositories files can be
maintained and also by adding support for git-based repositories. The
Slamd64Builds repository is now listed, to the joy of all the Slamd64
users out there. Add a new document README-repos.d that explains how
these repository files work.
* Move sbopkg-renames to new /etc/sbopkg/renames.d/50-default to manage
multiple renames files. Thanks to Robby Workman for the suggestion. Add
new document README-renames.d that explains how this works.
* Add support for new *.txz, *.tlz, and *.tbz Slackware package extensions.
* Require build queuefiles have a '.sqf' file extension.
* Cleanup several of the functions related to editing the .info and
SlackBuild files to remove code duplication; also cleanup and fix issues
associated with the two primary search functions, and improve file cleanup
for these search-related functions.
* Create a ChangeLog.txt for git repos on the fly.
* Remove usage of ARCH in preparation for Slackware64 support.
* Change queuefile format. No longer will the queuefile format be 'APP
VERSION ON/OFF' but instead will simply be one 'APP' per line. If a user
wants an APP to be deselected in the dialog menus, simply put a '-' in
front of it, e.g. '-APP'. This should make creating, using, and sharing
queuefiles much easier and more intuitive.
* Add ability to load more than one queuefile at a time when building
from command line interface.
* Add several new functions related to checking GPG-signed tarballs, such as
those that SlackBuilds.org provides. Sbopkg will now automatically check
these tarballs when building or installing a package. Additionally, there
are two new menu items in info_item that allow the user to check the GPG
signature or re-extract the GPG-signed tarball.
* Add ability to dump all installed packages into a build queue. This is an
alphabetical list, so shuffling/reordering of the queue will be necessary
in order to list the dependencies correctly, but at least this will give
users a head start on setting up a large build queue.
* Add several new functions related to checking GPG-signed tarballs, such as
those that SlackBuilds.org provides. Sbopkg will now automatically check
these tarballs when building or installing a package. Additionally, there
are two new menu items in info_item that allow the user to check the GPG
signature or re-extract the GPG-signed tarball.
* Add ability to have recursive queuefiles, so one queuefile named
"foo.sqf" may have an entry "@bar" in which case as the foo.sqf
queuefile is parsed, it will recursively go down into the 'bar.sqf'
queuefile as well. The '@' symbol is used in front of an entry in a
queuefile to denote another queuefile.
* Remove the old "$APP $VERSION$BUILD $ONOFF" format for the temporary queue
and instead make all queue formats "$APP" only. This simplifies some code
and results in a small speed increase.
* Add ability to pass build options in a queuefile when separated by a pipe
character, i.e. app | FOO=yes BAR=no
* Add a 'diff' entry to the script customization menu.
* Add in 'uname -m' test for x86_64 and if true, set ARCH to x86_64.
A complete ChangeLog-current.txt can be found here:
http://code.google.com/p/sbopkg/source/browse/trunk/ChangeLog-current.txt
The result of this work is that both the sbopkg.conf and the directory
layout for the local rsync copy of the SBo tree has changed fairly
significantly. It might be possible to copy your current SBo tree from
the old default of /home/sbo/12.2 (for example) to the new default of
/var/lib/sbopkg/SBo/12.2 but it might just be easier to let sbopkg make
the new directories and perform a fresh rsync. Please make a backup of
your local rsync copy and sbopkg.conf if you have made any changes to
them.
I definitely encourage folks to try out creating and using the improved
queuefiles, and we have included some samples in the doc/ directory once
sbopkg-0.30.0alpha1 is installed. Others are located at
http://www.sbopkg.org/queues. I plan to host user-contributed
queuefiles that people may want to post to the ML or send in via email.
The queufiles now support 'recursive' queues, where one queuefile can
'include' another.
As you can see from the ChangeLog, sbopkg now has preliminary support
for Slamd64 and the builds.slamd64.com repository. This is support is,
itself, 'alpha' level. I hope that Slamd64 users will try out this new
feature and report back.
I HIGHLY recommend that everyone testing out this alpha read the new
sbopkg.conf file and the corresponding man page sbopkg.conf(5) -- as
well as the main sbopkg(8) man page -- to understand the changes to this
file. Also, please be sure to look at the documentation in the doc/
directory. There are documents in there that explain how the queuefiles
work and how the new /etc/sbopkg/renames.d and /etc/sbopkg/repos.d
directories function. There are a LOT of changes as compared to sbopkg
0.27.x. BTW, the documentation says that Slackware 13.0 is the default
SBO version in sbopkg but that was just a change to the docs made in
preparation for 13.0. The default SBo version is still 12.2 in this
alpha release but it will be changed at some point during this
development stage to 13.0 -- probably when Slackware reaches RC status.
Please join the sbopkg mailing list
(http://sbopkg.org/mailman/listinfo/sbopkg-users) and report issues
there. It helps us keep track of things. Or, file a report with the
Issues Tracker on the sbopkg Google Code page
(http://code.google.com/p/sbopkg).
Here are direct links to a package and source tarball of
sbopkg-0.30.0alpha1:
Package:
http://sbopkg.googlecode.com/files/sbopkg-0.30.0alpha1-noarch-1_cng.tgz
Tarball:
http://sbopkg.googlecode.com/files/sbopkg-0.30.0alpha1.tar.gz
Since the old sbopkg ran in /usr/bin and the new sbopkg is in /usr/sbin,
I recommend first doing a 'removepkg' and then 'installpkg.'
We are very excited about the changes and improvments to sbopkg and hope
that you will find them helpful and useful. We look forward to your
testing and feedback. This new version of sbopkg has been working fine
on my Slackware -current systems (32bit and 64bit) but YMMV, caveat
emptor, and all that. :-)
On behalf of Mauro and slakmagik, enjoy!
--
Chess Griffin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://lists.slackbuilds.org/pipermail/slackbuilds-users/attachments/20090625/724e3ccb/attachment.sig>
More information about the SlackBuilds-users
mailing list