Commit Graph

106 Commits

Author SHA1 Message Date
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
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
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
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
fb9d86faf0
ChangeLog: Updated.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2018-06-07 21:00:15 +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
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
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
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
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
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
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
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
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
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
Willy Sudiarto Raharjo
9e78dcef1a
ChangeLog: Updated.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2017-04-08 06:36:04 +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
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
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
ae4f59c867
RELEASE: 0.38.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2016-09-01 20:58:28 +07:00
Willy Sudiarto Raharjo
7b3870b431
Update man pages.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2016-08-31 05:46:17 +07:00
B. Watson
89db46142a
sbopkg: Added option to download from third party source.
Thanks to B. Watson for the patch.

Fixed #12.

Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2016-08-31 05:21:06 +07:00
Willy Sudiarto Raharjo
27d215115d
sbopkg: Do not use wildcard.
As many package name now uses xx.yy format, it may failed
to detect the correct package name.

Thanks to Chris Abela.

Fix #19.

Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2016-08-30 20:25:50 +07:00
Willy Sudiarto Raharjo
d6a3d72e57
ChangeLog: Update month of release.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2016-07-02 07:37:50 +07:00
Willy Sudiarto Raharjo
94ccd4cacb
RELEASE: 0.38.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2016-07-02 00:17:54 +07:00
Willy Sudiarto Raharjo
016a699b43
Update SBo repo size.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2016-06-25 14:24:12 +07:00
Willy Sudiarto Raharjo
8f7a6ed6a7
Update email and modification date.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2016-06-20 01:18:35 +07:00
Willy Sudiarto Raharjo
3cca7fa982 Add support for Slackware 14.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2016-02-12 00:45:24 +07:00
Willy Sudiarto Raharjo
f817423b8b Update ChangeLog.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2016-02-12 00:38:38 +07:00
Willy Sudiarto Raharjo
212a8edb65 RELEASE: 0.37.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2015-10-27 10:06:15 +07:00
Willy Sudiarto Raharjo
61de56f743 ChangeLog: Updated.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2015-10-26 23:49:40 +07:00
Willy Sudiarto Raharjo
1753c1978a sbopkg.SlackBuild: Change Tag.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2015-10-26 07:49:14 +07:00
Willy Sudiarto Raharjo
9bfaea4e2b Revert "ChangeLog: Make note about _SBo -> _sbopkg tag changes."
This reverts commit 4c5db3aab9.
2015-10-25 23:59:17 +07:00
Willy Sudiarto Raharjo
4c5db3aab9 ChangeLog: Make note about _SBo -> _sbopkg tag changes.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2015-10-25 09:56:08 +07:00
Willy Sudiarto Raharjo
157dce9f90 sbopkg: Added --visit-items.
Close #10.

Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2015-10-25 09:08:34 +07:00
Willy Sudiarto Raharjo
4311011342 sbopkg.SlackBuild: Adjust to SBo template.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2015-10-25 09:07:53 +07:00
Willy Sudiarto Raharjo
371c46027b tools: Update SBo repo size.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
2015-06-15 21:41:31 +07:00