Commit graph

121 commits

Author SHA1 Message Date
Logan Rathbone
def77d0e95
sqg: Fix 'find' command to work with symlinked REPO_DIR
Merged #92

Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2024-07-02 23:46:22 +07:00
Willy Sudiarto Raharjo
ef0238efaf
Added support to sbosrcarch.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2024-05-21 07:33:00 +07:00
Willy Sudiarto Raharjo
720a874d60
sqg: Remove duplicate lines in custom queue.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2022-10-15 19:00:13 +07:00
Jeremy Hansen
e4eede9f7b
sqg: Fix sqg detection of which repo it should use
If the master or current repos are used and someone switches back to
a stable SBo version, sqg will not use the stable version without
deleting the other repo(s) since it simply checks for the .git folder
first. If it is found, it never attempts to switch to the repo set
for sbopkg.

This change adds detection for the "master" and "current" repos and
will ensure sqg uses the proper repo that is set in /etc/sbopkg.conf
or /root/.sbopkg.conf.

Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2022-03-16 18:57:14 +07:00
ArTourter
e53096c20c
add renamed packages in 15.0 repo
Signed-off-by: ArTourter <artourter@gmail.com>
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2022-03-12 10:22:25 +07:00
Willy Sudiarto Raharjo
775c93ef3a
sbopkg-0.38.2 is released.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2022-03-10 23:41:19 +07:00
Willy Sudiarto Raharjo
2a05734313
Update SBo size.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2022-03-10 23:25:46 +07:00
Willy Sudiarto Raharjo
d60a39c054
Update size of SBo repo (per June 10, 2021).
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2021-06-10 23:07:24 +07:00
Benjamin Trigona-Harany
2472fd1fdd
sbopkg: Checking for updates is now twice as fast.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2021-05-18 01:32:44 +07:00
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
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
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
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