Commit Graph

981 Commits

Author SHA1 Message Date
chess.griffin
04fe3eb6d0 bring in several user-contributed queuefiles into /doc/queuefiles; modify README-queuefiles to note that these are just samples and to remove language regarding the queues directory on the sbopkg.org website (since such directory is now deprecated). 2010-05-18 01:34:30 +00:00
slakmagik
a3e8643dce Added another rename from the latest SBo update.
Thanks to Mauro for spotting this one.
2010-05-17 17:28:32 +00:00
slakmagik
045365fe36 Miscellaneous documentation changes; added a couple of renames 2010-05-17 02:17:25 +00:00
chess.griffin
bf1ed1fd82 slight tweaks to prior commit 2010-05-12 20:59:54 +00:00
chess.griffin
79adfa16a7 add an explanation to sbopkg.8 man page about why 'su -' is strongly encouraged instead of just 'su'; we can change this to 'now required' if we make other changes requiring 'su -' but I wanted to at least get some sort of explanation we can point to if folks have issues with 'su'. 2010-05-12 20:31:21 +00:00
chess.griffin
6d07401255 update man pages and config files in preparation for Slackware 13.1; minor grammatical edits and fixes 2010-05-12 00:43:35 +00:00
slakmagik
e12fea7b87 Fix issue 46 (and issue 44, hopefully this time for real).
"When in doubt use brute force." The timid line in r770 could result in rm
spitting errors. Thanks to Mauro for the right line. Corrected a typo while I
was at it.
2010-05-07 18:47:33 +00:00
slakmagik
1bda5605aa Fixed issue 45 (problem detecting packages with '+' in the name).
Converted an egrep in info_item() into a grep to avoid issues with '+' being a
metacharacter.

Also removed stale lines (since r631) from gen_search_package() and
string_search(). Also added a couple of credits to the ChangeLog.
2010-04-27 20:52:25 +00:00
slakmagik
904d98dd15 Modified "Build options" dialog. Misc minor fixes.
Changed the menu order of the "Build options" dialog to default to using
"Saved" options rather than "None" on the theory that, if a user has
saved options, he will more likely want to use them than not.

Removed a commented-out block and made an assignment more consistent.
Brought the add_item_to_queue() comments more in line with its code.
Changed the filename value of GSNFILE so it gets caught by cleanup().
Fixed a typo.
2010-04-20 18:32:45 +00:00
slakmagik
fe7e063134 Address issue 44 (^C download failure)
Addressed an issue where hitting ^C during the download of part of a queue
and restarting the queue could result in a download failure. Also added a
ChangeLog item for r768.
2010-04-12 01:51:57 +00:00
mauro.giachero
05fd7ee8e4 Add some more package renames.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2010-03-22 16:30:49 +00:00
chess.griffin
7ffa1520f3 address an apparent bash bug that would cause the 'obsolete sources' function to break; thanks for Mauro for coming up with the quick fix 2010-03-06 19:00:40 +00:00
chess.griffin
843617c0cb tag and release version 0.32.0 2010-03-05 22:00:38 +00:00
chess.griffin
c069e37cba fix both man page dates to date last edited 2010-03-05 21:23:14 +00:00
slakmagik
9e13a8ae0a Tweak ChangeLog-current.txt
Add a specific mention of the new MKDIR_PROMPT in the relevant item and
remove a non-user-visible item
2010-02-27 06:58:25 +00:00
chess.griffin
b57d837b93 remove a few FIXME and extra comments noted by slakmagik 2010-02-26 13:49:17 +00:00
chess.griffin
99515de9bd add ability to change ARCH in the options submenu 2010-02-26 13:45:34 +00:00
mauro.giachero
59ac74efb1 Fail gracefully when there's an error computing a pkg repo version.
Sometimes sbopkg can't determine the version of a package. For example,
the google-chrome script looks at the source archive to determine it, and
such archive can very well be unavailable.
This patch makes sbopkg intercept the error condition and notify it to
the user gracefully, while at the same time falling back to trusting the
version provided in the .info file.
Thanks to alkos333 for the bug report.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2010-02-26 11:07:30 +00:00
mauro.giachero
246d57fe2e queue_dir_lister() tweaks.
Small improvements:
- reduce the number of times the queue directory is scanned
- drop a wrong 'continue' in the error path
- allow having a QUEUEDIR that is a symlink to the actual directory
- improve file cleanup.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2010-02-26 11:07:16 +00:00
slakmagik
0b14ed1cd5 Close issue 39 by changing a regex in get_source() 2010-02-21 21:12:31 +00:00
chess.griffin
10dab0fcdd modify check_for_latest() function to use new sbopkg.org/* redirects; update ChangeLog-current.txt 2010-02-04 00:11:20 +00:00
slakmagik
fd99d8e952 Address issue 33 (sbopkg sometimes picks older pkg to install; not latest)
Change a 'head' to a 'tail' so that info_item() is less likely to pick an
older package to present for installation.
2010-02-03 05:10:33 +00:00
slakmagik
9614f088c4 Close issue 40 by making directory creation prompts optional
Add config file option MKDIR_PROMPT which, when set to NO, causes sbopkg to
skip prompting the user for directory creations.
2010-02-03 04:47:47 +00:00
chess.griffin
f38349a7c5 fix current-download 2010-02-03 04:04:28 +00:00
chess.griffin
3379f997f0 add current-download file to tools/ directory 2010-02-03 03:50:11 +00:00
chess.griffin
5e39bc23d9 add html versions of both man pages and also output of 'sbopkg -h' to tools/ directory for sbopkg.org website usage 2010-02-01 03:26:31 +00:00
chess.griffin
d5a6a216e1 update ChangeLog-current.txt 2010-02-01 03:17:21 +00:00
chess.griffin
dca1e797e0 update abiword.sqf 2010-02-01 03:13:37 +00:00
slakmagik
e75ec7e845 fix failure to remove sources in get_source_names() ( issue 34 )
This is a band-aid which explicitly enables all flash-player-plugin sources to
be removed by testing for its names. It also fixes more general issues with
some SRCNAMEs not containing the VERSION number and get_source_names()
sometimes emitting bare newlines in cases where it should emit nothing at all.

This patch also modifies a regex in remove_sources_for_app() and adds unrelated
comments to string_search().

Thanks to artourter for the report, Chess for review, and Mauro for review and
suggestions.
2010-01-29 18:38:05 +00:00
chess.griffin
3f348276aa update some copyright years; add three current-* files to tools/ directory in order to try and tweak some of the sbopkg.org code 2010-01-26 02:45:11 +00:00
mauro.giachero
def2d2542a Honor the user-chosen TAG.
Some people may want to use a custom TAG. sbopkg should use that instead
of the default one.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2010-01-18 13:05:40 +00:00
chess.griffin
c5cbc213a3 add a few renames; update ChangeLog-current.txt 2010-01-14 02:55:36 +00:00
chess.griffin
9980771175 add support for UNSUPPORTED/UNTESTED packages in the repo by offering the user the chance to continue anyway or skip; thanks to slakmagik and Mauro for comments during review 2009-12-09 04:27:13 +00:00
chess.griffin
c9e329a6f8 add Miro=miro to 50-default renames file 2009-11-23 04:04:48 +00:00
chess.griffin
e6b5182278 tag and release 0.31.0 2009-11-01 03:23:16 +00:00
chess.griffin
028971b50a commit a patch from Mauro that add an unset before an eval otherwise BUILD gets stuck once and not reset set which can show incorrect potential updates 2009-10-30 21:12:16 +00:00
chess.griffin
b6cfb9f55b commit a patch from Mauro that changes a variable name (BUILD) that was used to track the build package number as well as the set of packages were were building/installing from CLI; this latter instance now uses a different variable 2009-10-30 21:10:43 +00:00
slakmagik
bb0f5047e7 small tweak to coerce bash into accepting any octal-looking numbers we might
get in updates_compare_versions() as decimal - thanks to artourter for the
report (issue 31)
2009-10-21 02:37:11 +00:00
slakmagik
2ffee8a4a8 Add the description of the r735 changes to ChangeLog-current.txt, which I
forgot to do at r735.
2009-10-20 20:34:18 +00:00
mauro.giachero
d27fd4d394 Check for updates: show and queue all version changes.
sbopkg sometimes misinterprets version numbers, and some upgrade can
be classified as a downgrade which, by default, is not shown.
For example, 1.0.1 looks older than 1.0-rc2 to it.
Always show and queue apparent downgrades and "unclassified" version
changes as disabled queue items. This way users can fix sbopkg errors
(since there's no way sbopkg can always correctly guess correctly).

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-10-20 13:14:48 +00:00
mauro.giachero
0d1720bc33 Check for updates: don't duplicate queue items.
Adding the updated packages to the build queue could put in the
queue the same package more than once (if it was already present
in there).
Use parse_queue() instead of the bare append to avoid this.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-10-20 13:14:40 +00:00
mauro.giachero
446bf5e830 Fix executable man page (from r731)
That's what I get for using a vfat usb disk and not taking care of
file permissions.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-10-20 13:13:19 +00:00
slakmagik
5516dda60d minor cleanup - adds and modifies comments and whitespace, modifies an
assignment to PKG in get_source(); modifies process_queue() by checking return
values directly rather than via $? in a couple of places, changes an
assignment to BUILD, and removes an unused COUNTER, and parenthesizes a string
index in the '-b' flag code path
2009-10-17 08:19:21 +00:00
slakmagik
fd2257eb2e this is a band-aid which modifies get_source() to force links and explicitly
fall through a case; more directly, it sets a NO_DL_LOOP flag if sbopkg has
done a download so that it doesn't download in an infinite loop. It moves the
download command into a conditional which can break the loop. It also modifies
check_source() to unset the flag if sbopkg has done a successful download, so
it can do the next one. Finally, it modifies get_source_names() to only go
into the guessing code if we have done a download, don't have a source file,
and only need to guess on one source name - thanks to godling for noticing a
failure in downloading dictd and the infinite loop; thanks to Chess and Mauro
for review and suggestions.
2009-10-17 08:12:28 +00:00
chess.griffin
3108417eb5 add tint=tint2 to 50-default renames file 2009-10-12 16:17:13 +00:00
mauro.giachero
18d3f37956 Work around build issues with custom LC_COLLATE values.
Some users use a customized LC_COLLATE value, which is known to
be a source of script breakage.
This patch makes sure that LC_COLLATE is set to C (the default)
when building.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-10-12 13:30:04 +00:00
mauro.giachero
cad2731d34 Rework the options selection menu to avoid truncating the options.
Without this patch, the list of build options was placed on the
left side of a menu dialog entry. Since dialog entries cannot span
to multiple lines, very long option lists were (visually) truncated.
Rework the dialog to show the options in the menu text field, so
there's much more room for them.
Reported by Erik Hanson.

While at it, also make sure that there's no stale options.build
file lying around (which is a minor bugfix).

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-10-12 13:29:55 +00:00
mauro.giachero
226fa1d95e Add dialog and cli options to review all READMEs for queued packages.
This is meant to be useful for doing "final checks" on the active queue
before starting the build process.
Thanks to slakmagik for reviewing.

Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-10-12 13:29:47 +00:00
mauro.giachero
bfc67af5e7 Declare ALLOW_MULTI among global variables.
Signed-off-by: Mauro Giachero <mauro.giachero@gmail.com>
2009-10-12 13:29:37 +00:00
chess.griffin
9c775aa684 fix cosmetic bug where ARCH and BUILD were not displaying correctly in the updates list; thanks to Mauro and slakmagik for the actual working code for this fix 2009-10-08 14:45:27 +00:00