I have been working on a package tool to deal with installing packages from Slackbuilds.org called fronty. There are a few scripts that are required to get everything set up:
There are some build scripts in $SCRIPTS but now that I have the dependencies sorted out (get_alldeps.sh does that) it may be possible to just use build_package.sh to install packages. However some packages have optional dependent packages and my scripts do not deal with them yet. That is on my todo list.
When creating a new build script the build template just needs PACKAGE changing on the 2nd and 3rd lines to the main name of the package being installed. The PROGS variable needs to be changed to all the packages that need to be installed. If a package has optional additional packages these can be added to PROGS= in the build script.
Some packages have prerequisites like postfix which needs sendmail removing as updates to sendmail can break the postfix config so there is a script for that. Some packages have a script to run afterwards such as jdk - the JAVA_HOME variable needs setting otherwise the next package to be installed that requires it will not be installed. The SlackBuild script will find an empty JAVA_HOME variable and will exit.
To install is quite easy, just extract the files and directories from the tgz. However I need to create an install script to make it easier. All it needs to do is ask where to put the sborepo directory, then it can add /etc/fronty/fronty.conf, changing $BASEDIR, source /etc/fronty/fronty.conf and add the sborepo directory and it's contents. There is one config file and a number of bash scripts. I have done my best to keep it all as simple as possible, although looking at the build scripts they ended up looking a bit more complex than I wanted but they work. As I went along I found exceptions so I had to add extra sections of code to take care of them. This oage is not complete yet, still a work in progress. If you have any questions, feel free to email me - fronty at my domain.
Feel free to try it and let me know what you think.
Fronty download is here. This consists of:
SLACKVER=$(cat /etc/slackware-version|cut -f2 -d" ")
The contents of this site, and communications between this site and its users, are protected by database right, copyright, confidentiality and the right not to be intercepted conferred by section 1(3) of the Regulation of Investigatory Powers Act 2000. The use of those contents and communications by Internet Service Providers or others to profile or classify users of this site for advertising or other purposes is strictly forbidden.
my bikes computery stuff cute animals Derion gardening geek stuff hoaxes howtos jokes jokes 2 menu code newsflashes Rocky Club Blog scenery security sport& fitness stories template text jokes useful links
Last edited 20190305-0153