Commit graph

963 commits

Author SHA1 Message Date
Willy Sudiarto Raharjo
cf15ea5c75
Update Changelog and credit to nobodino.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2021-03-13 09:55:20 +07:00
Willy Sudiarto Raharjo
91de1ff481
fix sbopkg.SlackBuild script.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2021-03-13 09:52:07 +07:00
Willy Sudiarto Raharjo
c372367c8f
Fix default architecture and version.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2021-01-18 00:40:22 +07:00
Willy Sudiarto Raharjo
1e53fc9717
Update copyright to 2021.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2021-01-18 00:37:37 +07:00
Willy Sudiarto Raharjo
64ffa57dab
Faster clone on SBo-git repository.
Fixed #67.

Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2020-10-07 00:22:27 +07:00
Willy Sudiarto Raharjo
c353ac712a
ChangeLog: Updated.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2020-05-21 09:33:55 +07:00
Willy Sudiarto Raharjo
e99aa09c00
sbopkg: Update dialog to accomodate more information.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2020-05-21 09:29:57 +07:00
Geremia
968ce2a2e1
Viewing Queue shows repo version after Updates has been run.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2020-05-21 08:59:38 +07:00
Willy Sudiarto Raharjo
f93839fb32
sbopkg: Make directory automatically.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2020-04-07 21:51:55 +07:00
Willy Sudiarto Raharjo
0f24793655
Use official _SBo tag for -current repository as well.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2020-03-22 17:20:20 +07:00
Willy Sudiarto Raharjo
5585e53e87
sqg: Use local configuration after system-wide configuration.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2020-03-22 15:45:42 +07:00
Willy Sudiarto Raharjo
c8a0ff695a
sqg: Update documentation
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2020-03-21 20:26:08 +07:00
Willy Sudiarto Raharjo
91d779d5e6
sqg: Use local configuration as priority.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2020-03-21 20:20:34 +07:00
Willy Sudiarto Raharjo
c766b3d1ab
sbopkg: Fix path location.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2020-03-01 01:24:07 +07:00
Willy Sudiarto Raharjo
f93148aad4 sbopkg: Update copyright to 2020.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2020-01-17 13:41:45 +07:00
Willy Sudiarto Raharjo
3fbbe4eb96
sbopkg: Better handling git repository during bad network connection.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2020-01-16 12:56:48 +07:00
Willy Sudiarto Raharjo
c702bb8aa0
sbopkg: Fix detection for local repository.
Fixed #57.

Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2019-12-26 12:16:28 +07:00
Willy Sudiarto Raharjo
c0dfa99f28
Update ChangeLog.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2019-11-10 16:48:08 +07:00
Willy Sudiarto Raharjo
c6d9cfbb23
sbopkg: Handle upper case MD5SUM.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2019-09-23 06:03:01 +07:00
Willy Sudiarto Raharjo
1445644e54
sqg: Update usage howto.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2019-08-04 08:40:11 +07:00
Willy Sudiarto Raharjo
a3d463f21b
Update copyright to 2019.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2019-04-27 21:31:57 +07:00
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