diff options
Diffstat (limited to 'sboconfig')
-rwxr-xr-x | sboconfig | 22 |
1 files changed, 19 insertions, 3 deletions
@@ -39,6 +39,8 @@ Config options (defaults shown): NOCLEAN: if TRUE, do NOT clean up after building by default. -d|--distclean FALSE: DISTCLEAN: if TRUE, DO clean distfiles by default after building. + -f|--fallback-archive ftp://slackware.uk/sbosrcarch: + FALLBACK_ARCHIVE: Fallback URL to download package source's. FALSE to disable. -j|--jobs FALSE: JOBS: numeric -j setting to feed to make for multicore systems. -g|--gpg-key D3076BC3E783EE747F09B8B70368EF579C7BA3B6: @@ -60,9 +62,21 @@ EOF my %options; -GetOptions(\%options, 'help|h', 'version|v', 'list|l', 'noclean|c=s', - 'distclean|d=s', 'jobs|j=s', 'pkg-dir|p=s', 'sbo-home|s=s', - 'local-overrides|o=s', 'slackware-version|V=s', 'repo|r=s', 'gpg-key|g=s'); +GetOptions(\%options, + 'help|h', + 'version|v', + 'list|l', + 'noclean|c=s', + 'fallback-archive|f=s', + 'distclean|d=s', + 'jobs|j=s', + 'pkg-dir|p=s', + 'sbo-home|s=s', + 'local-overrides|o=s', + 'slackware-version|V=s', + 'repo|r=s', + 'gpg-key|g=s', +); if ($options{help}) { show_usage(); exit 0 } if ($options{version}) { show_version(); exit 0 } @@ -70,6 +84,7 @@ if ($options{version}) { show_version(); exit 0 } my %valid_confs = ( noclean => 'NOCLEAN', distclean => 'DISTCLEAN', + 'fallback-archive' => 'FALLBACK_ARCHIVE', jobs => 'JOBS', 'gpg-key' => 'GPG_KEY', 'pkg-dir' => 'PKG_DIR', @@ -82,6 +97,7 @@ my %valid_confs = ( my %params = ( NOCLEAN => 'c|--noclean', DISTCLEAN => 'd|--distclean', + FALLBACK_ARCHIVE => 'f|--fallback-archive', JOBS => 'j|--jobs', GPG_KEY => 'g|--gpg-key', PKG_DIR => 'p|--pkg-dir', |