SlackBuild Package Manager

I’m looking for some beta testers for a SlackBuild package manager I’ve been working on called SINP.

SINP can be used just to search the repository on slackbuilds.org, or it can go ahead and download both the SlackBuild tarball along with the source code, run the downloaded SlackBuild and install the resulting package using pkgtools.

I’d love to hear any feature requests or suggestions you might have.

Basic usage is `sinp $PRGNAM`. That will run through all the steps of searching, downloading, packaging, and installing the package created from the SlackBuild.

To display the help just run `sinp -h`

The only other thing I think that needs explaining is the SBoSearch feature. This works as if you used the search box on slackbuilds.org, and is the only search function that allows you to use keywords. The other search functions match part of the slackbuild tarball file name.

Currently SINP only accepts 1 argument, so if you want to search using more than one word ( like “window manager”) you will need to put them in quotes.

The project is hosted on sourceforge. You can download it at http://sourceforge.net/projects/sinp

Advertisements
This entry was posted in Enhance Slackware, SlackBuilds, Slackware. Bookmark the permalink.

4 Responses to SlackBuild Package Manager

  1. Ismael says:

    Alien BOB has a similar script at http://alienbase.nl/slackware/sbo.sh , he seems to be using http://www.slackbuilds.org/ports/ as the repository, so you could add HTTP repositories support to your script.

    Among the features I can think of which could improve is the ability to get a file with the list of packages to download/install (thinking in automated SBo-ization of a fresh slackware install).

    And what about displaying the contents of the README before downlading the source (and let the user press a key to continue or maybe just sleep 5-10 seconds with a message telling to press Ctrl-C to abort?)

    Just a few thoughts. Nice script. Really like the -S option.

    Have a nice day.

  2. dosnlinux says:

    Glad you like it ๐Ÿ™‚
    You have an interesting idea with the file idea. Maybe something like `sinp -i filesToInstall.txt`? I was planning something similar to this when multiple arguments are supported (around 0.2) you should be able to install more than 1 package at a time. For example `sinp depA depB prog` will first build/install depA, then depB, and finally prog.
    I like the README idea too.
    Thanks for the feedback!

  3. Fast_Rizwaan says:

    bash-3.1# ./sinp gphoto2
    Results for gphoto2:

    0 results found
    No SlackBuild to download
    bash-3.1# ./sinp -S gphoto2
    Results for gphoto2:

    graphics/gphoto2.tar.gz
    graphics/gtkam.tar.gz
    libraries/libexif-gtk.tar.gz
    libraries/libgphoto2.tar.gz

    4 results found
    Can’t download: more than 1 match found

    sinp gphoto2 or “sinp digikam” doesn’t work but “sinp -S digikam” shows the sources available..

    is it a bug?

  4. dosnlinux says:

    Yes, this is a bug. Thanks for posting. ๐Ÿ™‚

    I had to remove the default searching meathod, and never got around to replacing it. I’ll try to have a fix out by the end of the week.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s