Fronty - installer for SlackBuilds

I have been working on a package tool to deal with installing packages from I call it Fronty. It consists of a config file, a script to create a local copy of the Slackbuild files and 3 index files and a build template.

The build template just needs PACKAGE changing on the 2nd and 3rd lines to the main name of the main package being installed. The PROGS variable needs to be changed to all the packages that need to be installed.

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.

There is a script to update all current build scripts with the latest build template after it has been updated. This means it only takes a few seconds to update them. When there are 33 scripts to update it can take at least 15 minutes to do.

Feel free to try it and let me know what you think. I do have a todo list of further things to do such as an upgrade script. This can be run to upgrade any packages that have a newer version. There will be an exceptions file (/etc/fronty/fronty_blacklist) so any packages listed in it will not be automatically updated. This will be useful if there is an issue with a later version of a package.

Fronty download is here This consists of:

  1. /etc/fronty/fronty.conf
  2. /data/sborepo/
  3. /data/sborepo/14.2/scripts/build_template
  4. /data/sborepo/14.2/scripts/
  5. /data/sborepo/14.2/scripts/
  6. /data/sborepo/14.2/scripts/
  7. /data/sborepo/14.2/scripts/
  8. /data/sborepo/14.2/scripts/
  9. /data/sborepo/14.2/scripts/
  10. /data/sborepo/14.2/scripts/

SLACKVER=$(cat /etc/slackware-version|cut -f2 -d" ")
ARCH=$(uname -m)

SLACKVER - the installed version of Slackware
ARCH - the machine architecture of this machine - not used yet
BASEDIR - the base directory under which the others (CONFIG, SCRIPTS and SOURCE) will be located
CONFIG - this is where the Slackbuilds files for all packages will be downloaded, plus the category files and any options files
SCRIPTS -this is where the build scripts, build template, build script update script and other scripts are located.
SOURCE - this is where the source code is downloaded to.
MASTER - if set this will be the server that all downloads (SOURCE) are downloaded from first if available
LOGFILE - logfile where all messages are currently written to.


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 20170131@0010