Questions about SlackBuilds
I installed SLiM and libdvdcss yesterday. The only problem is that when I search for the package using slackpkg search it returns nothing. How can I put my slackbuild installed packages to where the package updater will find them?
|
As far as I know slackpkg only search on the official slackware repository. You could try using slackpkg+ and setting up your own local repository. Or you can go on the command line and type:
ls /var/log/packages | grep "name of the package" |
I tried ls /var/log/packages | grep, and it returned SLim, which is what I wanted. If I wanted to update it easier, how would I go about it?
|
You would modify the SlackBuild for the new version, build the package and upgrade it with:
upgradepkg /path/to/package.tgz For more: http://www.slackbook.org/html/package-management.html |
I wrote a tool called asbt, which may help you..
http://slackbuilds.org/repository/14...t/?search=asbt A more powerful tool is sbopkg http://www.sbopkg.org/ |
If you don't care about being more update to date than the maintainer just follow the ChangeLog.
I do something similar to this: #Log the date you checked for updates. head -"$(grep -n '$dateoflastupdate' ChangeLog.txt)" | while read entry ; do sbname=`echo $entry | cut -d: -f1 | cut -d/ -f2` && if [ -n "$(ls /var/log/packages | grep $sbname)" ]; then echo $entry ;fi ;done It should produce all the info you need when considering an update. just wget the scripts. resolve sources, build and upgrade. *probably made an error since im on a phone and writing off the top of my head, nevertheless too tedius to double check.. You got the jist I hope :) |
Yup I think the grep -n out will use a : as a delimeter, pipe the grep to cut -d: -f1
No need for single quptes in that grep -n especially if you'll be setting a var, if you'll just copy and paste keep them. Also for that date of last update you need to use an existing sbo changelog date, log the current upon updates and use that :) |
|
Quote:
|
Quote:
|
All times are GMT -5. The time now is 04:52 AM. |