Commit Graph

873 Commits

Author SHA1 Message Date
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
Willy Sudiarto Raharjo
8bf4e6a23a
renames: Update more renames.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2022-03-18 18:07:09 +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
113337b012
Update queue sample.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2022-03-10 23:34:03 +07:00
Willy Sudiarto Raharjo
a481efb8f9
youtube-viewer.sqf.sample: Removed.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2022-03-10 23:33:43 +07:00
Willy Sudiarto Raharjo
394cf60d25
repos.d: Update Ponce's repo URL
https://github.blog/2021-09-01-improving-git-protocol-security-github/
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2022-01-12 10:52:03 +07:00
Willy Sudiarto Raharjo
d0cb031a22
sqg: remove all queues when using -a.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2021-12-28 11:45:46 +07:00
Willy Sudiarto Raharjo
d149c2a91a
NEWS: Update to sync with changelog.
Signed-off-by: Willy Sudiarto Raharjo <willysr@sbopkg.org>
2021-06-10 21:42:39 +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
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
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
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
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
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