Commit graph

981 commits

Author SHA1 Message Date
Willy Sudiarto Raharjo
d49e2984c2
Update ChangeLog and THANKS.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2018-05-22 18:51:52 +07:00
Willy Sudiarto Raharjo
b2efe25260
sbopkg: Increase timeout.
Fix #43.

Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2018-05-22 18:13:42 +07:00
orbea
836c067774
Fix parsing errors with shellcheck.
Fixes shellcheck parsing errors by using safer quoting practices with
    eval.

    Line 217:
        for FILE in $SBOPKG_REPOS_D/*.repo; do
        ^-- SC1009: The mentioned syntax error was in this for loop.

    Line 219:
            while read LINE; do
            ^-- SC1073: Couldn't parse this while loop. Fix to allow more checks.
                             ^-- SC1061: Couldn't find 'done' for this 'do'.

    Line 221:
                eval TMPARRAY=( "$LINE" )
                              ^-- SC1036: '(' is invalid here. Did you forget to escape it?
                              ^-- SC1062: Expected 'done' matching previously mentioned 'do'.
                              ^-- SC1072: Expected 'done'. Fix any mentioned problems and try again.
                              ^-- SC1098: Quote/escape special characters when using eval, e.g. eval "a=(b)".

    Line 3054:
        for i in ${!MD5SUM[@]}; do
        ^-- SC1009: The mentioned syntax error was in this for loop.

    Line 3056:
            while :; do
            ^-- SC1073: Couldn't parse this while loop. Fix to allow more checks.
                     ^-- SC1061: Couldn't find 'done' for this 'do'.

    Line 3065:
                eval SRCNAME=( $(
                             ^-- SC1036: '(' is invalid here. Did you forget to escape it?
                             ^-- SC1062: Expected 'done' matching previously mentioned 'do'.
                             ^-- SC1072: Expected 'done'. Fix any mentioned problems and try again.
                             ^-- SC1098: Quote/escape special characters when using eval, e.g. eval "a=(b)".

Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2018-04-27 22:35:52 +07:00
arcctgx
c24c2dd5d6
sbopkg: Fix bug in updates_compare_versions()
The loop index $i was not protected with curly braces in eval statement
of variable LEFT. When i=10 that statement was not evaluated as $10, but
as $1 concatenated with the digit 0.

Corrected description of outputs of updates_compare_versions().

Fixed #41.

Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2018-04-26 07:56:13 +07:00
Willy Sudiarto Raharjo
b86719b883
sqg: Remove parallel detection.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2018-04-25 17:29:53 +07:00
Willy Sudiarto Raharjo
e5219788af
man: Add BLACKLISTFILE into sbopkg.conf.5 man page.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2018-01-17 15:42:41 +07:00
Willy Sudiarto Raharjo
d45c6a3b42 Update README.md to list blacklist feature.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2018-01-17 10:38:21 +07:00
Willy Sudiarto Raharjo
c213e40b37 Update SlackBuild script to accomodate blacklist.
Signed-off-by: Willy Sudiarto Raharjo <willysr@gmail.com>
2018-01-17 09:49:30 +07:00
Willy Sudiarto Raharjo
40979606a8
sbopkg: Fix for multiple blacklist.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2018-01-17 08:47:39 +07:00
Willy Sudiarto Raharjo
e61582cd97
Add explanation to blacklist file.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2018-01-14 17:45:55 +07:00
Willy Sudiarto Raharjo
e09556b01b
sbopkg: Add blacklist feature.
Fix #39.

Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2018-01-14 17:43:03 +07:00
Erich Ritz
371284cd89
sbopkg: Use correct SlackBuild file name to build package
During package creation, most SlackBuilds copy the .SlackBuild file to
/usr/doc/$PKG/.  Previously, sbopkg would cause the "original"
SlackBuild instead of the "local" SlackBuild with user edits to be
copied to the documentation directory.  Now, sbopkg backs up the
original SlackBuild to $PKGNAME.SlackBuild.original before building the
package.

Old behavior:
1. Original (upstream) SlackBuild is named $PKGNAME.SlackBuild.
2. User optionally defines custom SlackBuild in
   $PKGNAME.SlackBuild.sbopkg.
3. sbopkg asks user to use Original or Local SlackBuild, and copies
   $PKGNAME.SlackBuild or $PKGNAME.SlackBuild.sbopkg to
   $PKGNAME.SlackBuild.build, respectively.
4. sbopkg builds package (which includes copying SlackBuild to
   /usr/doc/).
5. sbopkg removes *.build files.

New behavior:
1. Original (upstream) SlackBuild is named $PKGNAME.SlackBuild.
2. User optionally defines custom SlackBuild in
   $PKGNAME.SlackBuild.sbopkg.
3. sbopkg asks user to use Original or Local SlackBuild, and copies
   $PKGNAME.SlackBuild or $PKGNAME.SlackBuild.sbopkg to
   $PKGNAME.SlackBuild.build, respectively.
4. sbopkg backs up original SlackBuild by moving $PKGNAME.SlackBuild
   to $PKGNAME.SlackBuild.original.
5. sbopkg copies $PKGNAME.SlackBuild.build to $PKGNAME.SlackBuild.
6. sbopkg builds package (which includes copying SlackBuild to
   /usr/doc/).
7. sbopkg restores original SlackBuild by moving
   $PKGNAME.SlackBuild.original to $PKGNAME.SlackBuild.
8. sbopkg removes *.build files.

Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2018-01-12 07:53:02 +07:00
Alan
bef8ffc58b
sqg: Fix wrong glob expansion while searching .info files
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2018-01-09 06:10:24 +07:00
Willy Sudiarto Raharjo
e5e43fdeaf
sbopkg: Update copyright to 2018.
Signed-off-by: Willy Sudiarto Raharjo <willysr@gmail.com>
2018-01-01 22:03:47 +07:00
Willy Sudiarto Raharjo
6615135fc9
TODO: This is fixed with -k option.
Signed-off-by: Willy Sudiarto Raharjo <willysr@gmail.com>
2017-12-25 19:29:09 +07:00
Willy Sudiarto Raharjo
b3ce0b69f5
sbopkg: Forgot to add to ChangeLog-current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2017-11-19 15:15:39 +07:00
Willy Sudiarto Raharjo
22ab9818af
sbopkg: Support next Slackware 15.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2017-11-19 14:51:47 +07:00
Willy Sudiarto Raharjo
a8ae4cd7f7
sqg: Restore progress dots.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2017-08-09 23:11:18 +07:00
Willy Sudiarto Raharjo
d2c0f9222a
sbopkg: No further checks if sources are empty.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2017-07-23 22:21:01 +07:00
Willy Sudiarto Raharjo
340de44b0d
man: Use variable instead of fixed number.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2017-06-25 16:05:18 +07:00
Willy Sudiarto Raharjo
684134dddb
sqg: Added manual page.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2017-06-25 15:58:26 +07:00
Willy Sudiarto Raharjo
8c8c557a1f
man: Update reference for slackwiki.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2017-06-25 14:51:04 +07:00
Willy Sudiarto Raharjo
429800da5d
sqg: Make sure we don't have double extension.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2017-06-24 02:44:50 +07:00
Willy Sudiarto Raharjo
72d8622675
Update 50-default.renames.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2017-06-24 02:34:03 +07:00
Willy Sudiarto Raharjo
d9c695e15a
Update queue samples.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2017-06-24 02:17:05 +07:00
Willy Sudiarto Raharjo
a5e6c77a92
TODO: Updated.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2017-06-24 02:10:30 +07:00
Willy Sudiarto Raharjo
8282fef0b5
man: Switch to variable instead of hard-coded VERSION and DATE.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2017-06-19 21:59:42 +07:00
Willy Sudiarto Raharjo
bf0a82be8d
sqg: Check existence for queue file(s).
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2017-06-19 18:26:53 +07:00
Willy Sudiarto Raharjo
ba15355444
Remove SKIP_EMPTY.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2017-06-19 18:16:01 +07:00
Marcel Saegebarth
23696b383b
Alternative custom queue file implementation
Signed-off-by: Marcel Saegebarth <marc@mos6581.de>
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2017-06-19 18:00:50 +07:00
Willy Sudiarto Raharjo
2b93790463
LICENSE: Added.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2017-06-18 09:35:46 +07:00
Willy Sudiarto Raharjo
e2d1bd11d0
README: Update text.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2017-06-18 09:34:05 +07:00
Willy Sudiarto Raharjo
fe264c391e
sqg: Set alternative output.
Fixed #13.

Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2017-06-18 08:44:34 +07:00
Willy Sudiarto Raharjo
afddeb52f6
sqg: Add support for -j <NUM>.
This speeds up the queue generation up to 50%.

Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2017-06-15 16:14:59 +07:00
Marcel Saegebarth
36bfb42170 sqg: Parallelize building for selected packages
Signed-off-by: Marcel Saegebarth <marcel.saegebarth@fairmas.com>
2017-06-15 16:12:10 +07:00
Willy Sudiarto Raharjo
3b900ef977
ChangeLog: Update to latest fix.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2017-05-15 22:43:08 +07:00
Matteo Bernardini
36970d5d9d
Fix 90-SBo-master.repo with the new SBo git url
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2017-05-15 20:21:15 +07:00
Willy Sudiarto Raharjo
9e78dcef1a
ChangeLog: Updated.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2017-04-08 06:36:04 +07:00
Willy Sudiarto Raharjo
d6f731e659
sbopkg: Use exit 1 when sync failed.
Fixed #29.

Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2017-04-08 06:33:28 +07:00
Willy Sudiarto Raharjo
6057d06d2b
sqg: Update message when no deps defined.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2017-03-31 21:07:26 +07:00
Marcel Saegebarth
679a09aea2
sqg: Added a simple filesystem cache.
Closed #27.

Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2017-03-11 00:34:49 +07:00
Willy Sudiarto Raharjo
93591f2036
ChangeLog: Update for PR #25 and #26.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2017-03-11 00:06:36 +07:00
Willy Sudiarto Raharjo
f20fe6aab2 Merge pull request #26 from swmarc/issue/8/sqg-apply-directory-structure-to-slackbuild
Moved sqg functions to /usr/libexec
Modified sbopkg.SlackBuild to use  /usr/libexec

closed #25 #26
2017-03-10 19:57:53 +07:00
Marcel Saegebarth
55a4979070 sqg: Added /usr/libexec to sbopkg.SlackBuild.
Signed-off-by: Marcel Saegebarth <marc@mos6581.de>
2017-03-10 13:45:08 +01:00
Marcel Saegebarth
6ef7b42ad5 Moved sqg functions to /usr/libexec.
Signed-off-by: Marcel Saegebarth <marc@mos6581.de>
2017-03-10 13:32:43 +01:00
Marcel Saegebarth
1eb39ee8eb
sqg: Parallelize building of all packages by option -j.
Parallelization requires GNU parallel to be installed.

Signed-off-by: Marcel Saegebarth <marc@mos6581.de>
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2017-01-02 20:34:46 +07:00
Willy Sudiarto Raharjo
e0aad3b78f Merge pull request #21 from sftp/bash-completion
bash-completion: complete -{i,b} when git (not rsync) used for repo
2016-10-01 18:56:21 +07:00
Sergey V
134a57b601 bash-completion: complete -{i,b} when git (not rsync) used for repo
When git is used for repo, no file SLACKBUILDS.TXT exists.
In this case complete -{i,b} by find package directories
in $REPO_ROOT/$REPO_NAME/ directory.
2016-09-25 17:26:40 +03:00
Willy Sudiarto Raharjo
4d0874712b
README.md: Update to https.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2016-09-01 22:25:01 +07:00
Willy Sudiarto Raharjo
ae4f59c867
RELEASE: 0.38.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2016-09-01 20:58:28 +07:00