Commit Graph

942 Commits

Author SHA1 Message Date
Willy Sudiarto Raharjo
a2651c1788
sbopkg: Fix file ownership changes
Close #54.

Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2019-03-16 20:29:09 +07:00
smallid
a102d63b53
Add better non-interactive/cron run support
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2019-03-15 21:26:43 +07:00
andy5995
b00019e28d
README:grammar, add "with", remove extra "be" [skip ci]
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2018-09-07 07:14:16 +07:00
joshuakwood@gmail.com
5a5df8dc0a
Add update ability for -current repo
Merge #51

Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2018-09-02 06:00:31 +07:00
Willy Sudiarto Raharjo
3297b4aa1d
sbopkg: Added logrotate support.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2018-08-20 07:16:59 +07:00
orbea
90a58646aa
sbopkg: Add optional sandbox support.
Fixed #49.

Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2018-08-14 05:55:05 +07:00
Willy Sudiarto Raharjo
e8a4142814
sbopkg: Update to new path for packages database location.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2018-07-03 19:35:46 +07:00
Matteo Bernardini
e43d08ec66
sbopkg: Fix path.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2018-06-26 05:14:44 +07:00
Willy Sudiarto Raharjo
fb9d86faf0
ChangeLog: Updated.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2018-06-07 21:00:15 +07:00
Willy Sudiarto Raharjo
35ceb9ce32
sqg: Check for invalid .info files before processing.
Fixed #46.

Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2018-06-07 20:55:42 +07:00
Yaroslav Shmelev
1bba4609d7
sbopkg: Show version when using -g in command line.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2018-05-28 06:39:45 +07:00
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