Commit Graph

96 Commits

Author SHA1 Message Date
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
Willy Sudiarto Raharjo
ce26b73dbf tools: Update reference to github.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
2015-06-15 21:40:01 +07:00
Willy Sudiarto Raharjo
93a84d9d47 Restore all reference to sbopkg.
The domain name sbopkg.org will still be used.
Development will shift to github.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackware-id.org>
2015-06-12 23:42:47 +07:00
Willy Sudiarto Raharjo
25d01727ef Update all references to github.
Signed-off-by: Willy Sudiarto Raharjo <willysr@gmail.com>
2015-06-11 23:32:54 +07:00
chess.griffin
ca4e066d57 tag and release 0.37.0 2013-12-09 15:18:45 +00:00
slakmagik
0ac0bd7ad1 tag and release 0.36.0 2012-10-04 03:16:56 +00:00
slakmagik
f2b37e202e bump configs/docs for 14.0/0.36.0 2012-10-04 03:12:22 +00:00
slakmagik
bec7c5a477 tag and release 0.35.0 2011-04-28 03:01:06 +00:00
slakmagik
5bfd6c777b bump configs/docs for 13.37/0.35.0 2011-04-28 02:55:13 +00:00
slakmagik
76e6c5ddb1 make README symlinks; modify build-related files
A cluster of changes related to creating symlinks in the
  /etc/{renames,repos}.d directories that point to the corresponding
  README in sbopkg's docdir and then generally updating most
  build-related files and getting it all documented.

  * 50-default: renamed to 50-default.renames

  * NEWS: note symlink docs and rename issues

  * README-renames: update to reflect new default filename and the fact
    that the files must end in '.renames'.

  * sbopkg.conf.5, sbopkg.8: update to reflect the new renames stuff
    (and the earlier repo file/dir-related changes I forgot to document
    there).

  * sbopkg: get_new_name(), get_old_name(): have grep only look through
    *.renames files and not, say, symlinks to READMEs.

  * doinst.sh: bring into alignment with the current SBo template.

  * tools/sbopkg.SlackBuild: make links from README-repos and
    README-renames to READMEs in the corresponding /etc/sbopkg/*.d
    directories.

  * tools/slack-desc: bring into alignment with the current SBo
    template.

  * tools/sspm: update address, add printe() and use it.
2011-03-10 04:17:52 +00:00
slakmagik
68c8b94414 rename sbopkg.conf.new; tweak SlackBuild
If we keep the Id keyword in sbopkg's config file, users having their
'sbopkg.conf' Id'ed as 'sbopkg.conf.new' can cause confusion, as seen on
LQ. So call it 'sbopkg.conf' in revision control and append '.new' when
creating the package.
2011-03-10 04:17:43 +00:00