* [gentoo-commits] eselect r584 - in tags: . release-1.1.1 release-1.1.1/libs release-1.1.1/man release-1.1.1/modules
@ 2009-06-06 14:09 Ulrich Mueller (ulm)
0 siblings, 0 replies; only message in thread
From: Ulrich Mueller (ulm) @ 2009-06-06 14:09 UTC (permalink / raw
To: gentoo-commits
Author: ulm
Date: 2009-06-06 14:09:29 +0000 (Sat, 06 Jun 2009)
New Revision: 584
Added:
tags/release-1.1.1/
tags/release-1.1.1/ChangeLog
tags/release-1.1.1/NEWS
tags/release-1.1.1/configure.ac
tags/release-1.1.1/libs/package-manager.bash.in
tags/release-1.1.1/man/package-manager.eselect.5
tags/release-1.1.1/man/rc.eselect.5
tags/release-1.1.1/modules/env.eselect
tags/release-1.1.1/modules/kernel.eselect
tags/release-1.1.1/modules/opengl.eselect
tags/release-1.1.1/modules/package-manager.eselect
tags/release-1.1.1/modules/rc.eselect
Removed:
tags/release-1.1.1/ChangeLog
tags/release-1.1.1/NEWS
tags/release-1.1.1/configure.ac
tags/release-1.1.1/libs/package-manager.bash.in
tags/release-1.1.1/man/rc.eselect.5
tags/release-1.1.1/modules/env.eselect
tags/release-1.1.1/modules/kernel.eselect
tags/release-1.1.1/modules/opengl.eselect
tags/release-1.1.1/modules/rc.eselect
Log:
Tagged 1.1.1 release.
Copied: tags/release-1.1.1 (from rev 574, trunk)
Deleted: tags/release-1.1.1/ChangeLog
===================================================================
--- trunk/ChangeLog 2009-06-04 10:33:55 UTC (rev 574)
+++ tags/release-1.1.1/ChangeLog 2009-06-06 14:09:29 UTC (rev 584)
@@ -1,1467 +0,0 @@
-2009-06-04 Ulrich Mueller <ulm@gentoo.org>
-
- * libs/package-manager.bash.in (package_manager): Test if selected
- package manager exists, and fall back to Portage if not. Rename
- variable ESELECT_PACKAGE_MANAGER to more generic PACKAGE_MANAGER.
-
- * libs/editor-variable.bash.in (EDITOR_LIST); Allow alternative
- "name:/path/to/binary" syntax for items.
- (find_targets, do_list, do_set, do_update): Update accordingly.
-
-2009-05-27 Ulrich Mueller <ulm@gentoo.org>
-
- * configure.ac: Update version to 1.1.
- * Tagged 1.1 release.
-
- * man/rc.eselect.5: Fix formatting for "show" action.
-
- * libs/default.eselect.in (do_usage): Show usage message only:
- our output may be parsed, e.g. by the bash-completion module.
-
-2009-05-23 Ulrich Mueller <ulm@gentoo.org>
-
- * libs/package-manager.bash.in (package_manager): Avoid hyphen in
- function identifier.
-
- * misc/eselect.bashcomp (_eselect): Remove --no-colour option;
- it is not needed since output is to a pipe. Use only POSIX basic
- regular expressions for sed. Add completion for "set", "enable",
- and "disable" subactions.
-
-2009-05-21 Ulrich Mueller <ulm@gentoo.org>
-
- * configure.ac: Update version to 1.1_rc3.
- * Tagged 1.1_rc3 release candidate.
-
-2009-05-19 Ulrich Mueller <ulm@gentoo.org>
-
- * modules/news-tng.eselect (do_read): Output a message if there
- are no news items to read.
-
- * bin/eselect.in: Don't hardcode /bin/bash; use configured path
- instead, as requested by Fabian Groffen <grobian@gentoo.org>.
- * bin/Makefile.am (dosed): Also substitute BASH. Use at signs
- throughout, instead of percent signs.
- * libs/config.bash.in, libs/core.bash.in, libs/default.eselect.in:
- * libs/editor-variable.bash.in, libs/manip.bash.in:
- * libs/multilib.bash.in, libs/output.bash.in:
- * libs/package-manager.bash.in, libs/path-manipulation.bash.in:
- * libs/tests.bash.in: Remove unnecessary shebang lines.
- * libs/Makefile.am (eselectlibs_DATA): Don't set executable bit
- for installed libs; therefore rename eselectlibs_SCRIPTS.
- (CLEANFILES): Update accordingly.
-
- * configure.ac: Update version to 1.1_rc2.
- * Tagged 1.1_rc2 release candidate.
-
- * libs/package-manager.bash.in (run_paludis): Renamed from paludis
- to prevent infinite loop. Fixes bug 270406.
- (envvar, best_version, has_version, get_repositories)
- (get_repo_news_dir): Use run_paludis instead of paludis.
-
- * README: Use consistent indentation for all source files.
-
-2009-05-18 Ulrich Mueller <ulm@gentoo.org>
-
- * configure.ac: Update version to 1.1_rc1.
- * Tagged 1.1_rc1 release candidate.
-
-2009-05-16 Ulrich Mueller <ulm@gentoo.org>
-
- * modules/kernel.eselect: Fix quoting, simplify syntax for array
- arguments, declare local variables, and other stylistic tweaks.
-
- * modules/ruby.eselect: Remove outdated ruby module, as discussed
- with Alex Legler <a3li@gentoo.org>. Current version is maintained
- at <git://git.overlays.gentoo.org/proj/ruby-scripts.git>.
-
-2009-05-15 Ulrich Mueller <ulm@gentoo.org>
-
- * libs/package-manager.bash.in (envvar, best_version, has_version)
- (get_repositories, get_repo_news_dir): Directly call package
- manager commands with their arguments; no need to hide them in an
- extra layer of trivial functions.
- (get_news_dir_name): Deprecate, since it provides no additional
- functionality. Use get_repo_news_dir instead.
- (portageq): Function moved here from portage.bash.in.
- (paludis): New function, paludis wrapper with redirected stderr.
- (inherit): Don't inherit portage and paludis libs.
- * libs/paludis.bash.in, libs/portage.bash.in: Remove, after having
- verified that these libraries are not used by any module: neither
- internal nor in external app-admin/eselect-* packages.
- * libs/Makefile.am (eselectlibs_SCRIPTS, EXTRA_DIST): Update.
-
- * libs/Makefile.am (dosed): Also substitute prefix, datadir and
- sysconfdir.
-
- * libs/skel.bash.in (find_implems, is_active, switch_implem)
- (iface_do_show, do_add): Use @sysconfdir@ instead of /etc.
- (do_list, do_show): Use @prefix@ instead of /usr.
- (inherit): The portage lib is not used, so don't inherit it.
-
- * libs/package-manager.bash.in (arch): Add case patterns for
- ppc-macos. Taken from patch in Prefix overlay.
-
-2009-05-11 Ulrich Mueller <ulm@gentoo.org>
-
- * modules/emacs.eselect, modules/ctags.eselect:
- * man/emacs.eselect.5, man/ctags.eselect.5: Sync the emacs and
- ctags modules from the Emacs SVN repository (r1275), corresponding
- to the eselect-emacs-1.10 release.
-
-2009-05-05 Ulrich Mueller <ulm@gentoo.org>
-
- * modules/news-tng.eselect (do_list): Display fallback values if
- title or date of a news item are not available.
- (do_read): Display an error message if the return status of
- read_item was bad.
-
- * modules/editor.eselect:
- * modules/visual.eselect (EDITOR_LIST): Add some alternatives.
-
- * libs/output.bash.in (init_columns): New function, determine
- width of terminal and set COLUMNS variable.
- (get_column_width): Remove.
- (write_kv_list_entry): Get screen width from COLUMNS variable.
- * bin/eselect.in: Call init_columns during initialisation.
- This way, stty must be called only once, and not for each row when
- outputting a table.
-
-2009-05-01 Ulrich Mueller <ulm@gentoo.org>
-
- * doc/developer-guide.txt: Update documentation.
-
-2009-04-30 Ulrich Mueller <ulm@gentoo.org>
-
- * modules/news-tng.eselect (find_items): Use space-separated list
- for "repos", instead of an array.
- (do_read): Also show "Translator" header lines.
-
- * modules/mailer.eselect:
- * man/mailer.eselect.5: The mailer module is no longer supported
- by MTA packages and therefore not functional, see bug 220473.
- Remove the module and its man page.
- * modules/Makefile.am (safe_scripts):
- * man/Makefile.am (man_MANS): Update Makefiles accordingly.
-
-2009-04-28 Ulrich Mueller <ulm@gentoo.org>
-
- * modules/mailer.eselect (do_list): Highlight selected target,
- patch by Karl Hakimian <t4y68ds02@sneakemail.com> in 220473.
-
- * configure.ac: Fix test for greadlink.
-
- * configure.ac: Add --with-pm option for configuring the preferred
- package manager. Supply a default path for portageq.
- * libs/Makefile.am (dosed): Substitute PACKAGE_MANAGER.
- * libs/package-manager.bash.in (package-manager): Return package
- manager chosen at configure time. Overriding is possible by
- environment variable ESELECT_PACKAGE_MANAGER.
-
-2009-04-27 Ulrich Mueller <ulm@gentoo.org>
-
- * modules/opengl.eselect (check_version): Don't call portageq
- directly, use generic has_version function instead.
-
- * libs/package-manager.bash.in (get_repositories): In the Portage
- case, use "portageq get_repos".
- (get_repo_news_dir): Use "portageq get_repo_path".
- (best_version): Default to / if ROOT is empty, otherwise portageq
- doesn't work. Actually use Portage's and Paludis's "best_version"
- commands, not "has_version". Rename to agree with the ebuild
- helper; this shouldn't be a problem since the function was not
- working before.
- (has_version): Default to / if ROOT is empty. Remove redundant
- return statements.
-
- * libs/portage.bash.in (portageq): Expand "$@" not $*.
- (portage_get_repo_name, portage_get_repository): No longer needed.
-
-2009-04-25 Ulrich Mueller <ulm@gentoo.org>
-
- * man/binutils.eselect.5:
- * man/blas.eselect.5:
- * man/cblas.eselect.5:
- * man/lapack.eselect.5:
- * man/mailer.eselect.5:
- * man/opengl.eselect.5:
- * man/profile.eselect.5: Use man macros.
-
- * modules/news-tng.eselect: Yet another module for reading GLEP 42
- news items. Rewritten from scratch.
- * man/news-tng.eselect.5: New man page.
- * modules/Makefile.am (safe_scripts):
- * man/Makefile.am (man_MANS): Update.
-
- * libs/package-manager.bash.in (get_repo_news_dir): New function.
- (get_news_dir_name): Call get_repo_news_dir.
-
- * libs/Makefile.am (dosed): Remove Paludis substitution, it is
- unused since the change of 2008-01-28.
-
-2009-04-23 Ulrich Mueller <ulm@gentoo.org>
-
- * libs/package-manager.bash.in (package-manager):
- Rename ESELECT_PACKAGE_MANAGER_CACHE to ESELECT_PACKAGE_MANAGER
- and don't export it. Prefer Portage over Paludis.
-
- * libs/output.bash.in (get_column_width): Default to a width of
- 80 characters, not 79.
-
- * modules/modules.eselect (do_list): Assign the name of the module
- to ESELECT_MODULE_NAME, bug 220116.
-
- * modules/env.eselect (describe_update_parameters):
- Add "noldconfig" parameter.
-
- * man/eselect.1: Update, "list-modules" is now "modules list".
-
- * man/rc.eselect.5: Document latest changes in "show" action.
-
- * man/eselect.1:
- * man/bashcomp.eselect.5:
- * man/env.eselect.5:
- * man/kernel.eselect.5:
- * man/rc.eselect.5: Fix usage of bold and italic text. Fix title.
- Use man macros instead of low-level roff formatting.
-
-2009-04-21 Ulrich Mueller <ulm@gentoo.org>
-
- * libs/core.bash.in (do_action): Call "shift" twice instead of
- "shift 2" since there may be only one parameter.
-
- * libs/path-manipulation.bash.in (basename, dirname)
- (canonicalise): Quote arguments to make functions whitespace safe.
-
- * modules/modules.eselect (do_list, do_has): Fix quoting.
-
- * modules/compiler.eselect.in: Remove dead module.
-
- * modules/rc.eselect (do_show): Add --all option. No need for an
- extra subshell; do_action already calls us from one.
- (describe_show_options): Document it.
-
-2009-04-20 Ulrich Mueller <ulm@gentoo.org>
-
- * libs/tests.bash.in (has): Quote $@ in order to expand positional
- parameters correctly.
-
- * modules/rc.eselect (source_rc_functions, get_runlevel):
- New functions for OpenRC (and baselayout-1) support.
- (RC_SVCDIR, rc_svcdir): Removed.
- (do_show): Function completely rewritten; use the common API
- of baselayout-1 and OpenRC. Thanks to Sebastian Günther
- <samson@guenther-roetgen.de> in bug 180966.
- (describe_show, describe_show_parameters, describe_show_options):
- Document optional "runlevel" parameter of do_show().
-
- * libs/editor-variable.bash.in:
- * modules/editor.eselect:
- * modules/visual.eselect:
- * modules/pager.eselect: New modules and library, managing the
- EDITOR, VISUAL and PAGER environment variables; bug 190216.
- * man/editor.eselect.5:
- * man/visual.eselect.5:
- * man/pager.eselect.5: New man pages.
- * libs/Makefile.am (eselectlibs_SCRIPTS, EXTRA_DIST):
- * modules/Makefile.am (safe_scripts):
- * man/Makefile.am (man_MANS): Add the new files.
-
-2009-04-19 Thomas Anderson <gentoofan23@gentoo.org>
-
- * modules/opengl.eselect: Fix removal of symlinks when the symlink is
- broken. Thanks to Maximilian Grothusmann in bug #228547. Fixes: #228547
-
-2009-04-18 Ulrich Mueller <ulm@gentoo.org>
-
- * modules/rc.eselect (do_delete): Don't die if the script is no
- longer in /etc/init.d/. Fixes bug 156866.
- (describe_add_parameters, describe_delete_parameters): Suppress
- newlines.
-
- * AUTHORS: Add fauli and myself for the ctags and emacs modules.
-
- * bin/eselect.in: Remove all alias definitions. Unset functions
- and variables that are known to cause trouble. Fixes bug 155814.
-
-2009-04-17 Ulrich Mueller <ulm@gentoo.org>
-
- * libs/core.bash.in (die): Eliminate pgrep call; just kill the
- main process and exit.
-
- * bin/eselect.in (ec_do_list-modules): Use do_action for calling
- the module, not eselect. Quote "$@".
- (ESELECT_KNOWN_OPTIONS): Treat 'help' and 'version' options as if
- they were actions. Fixes bug 153890.
- (trap): Redirect exit message to stderr.
-
- * modules/modules.eselect: Don't inherit 'output' and 'tests',
- since they are already inherited by the main script, and for
- consistency with other modules.
- (describe_add, describe_add_parameters, do_add): Commented out.
-
- * libs/output.bash.in (colours): New function, initialise colour
- escape sequences. Don't initialise them in global scope any more.
- * bin/eselect.in: Call 'colours' if stdout is a tty, otherwise
- call 'nocolours'.
-
- * modules/env.eselect (is_envfile): Define POSIXLY_CORRECT for
- 'file' in order to dereference symbolic links. Bug 240402.
-
-2009-04-16 Ulrich Mueller <ulm@gentoo.org>
-
- * libs/output.bash.in (write_kv_list_entry): Fix logic for
- insertion of spaces between words, bug 260464.
-
- * libs/config.bash.in (store_config): Split config file content
- on newlines only, not on all whitespace. Fixes bug 219864.
-
- * misc/eselect.bashcomp (_eselect): Suppress 'Killed' message.
- Don't match regexps on escape sequences. Fixes bug 218557.
-
- * libs/core.bash.in (die): Suppress error messages from pgrep
- and kill, bugs 174354 and 264734.
-
-2009-04-15 Ulrich Mueller <ulm@gentoo.org>
-
- * modules/rc.eselect (do_add): Don't symlink into ROOT. Patch by
- Matthijs Kooijman in bug 204937.
-
- * libs/output.bash.in (get_column_width): Don't call stty if
- standard output is not a terminal. Bug 198461.
-
-2009-04-14 Ulrich Mueller <ulm@gentoo.org>
-
- * libs/output.bash.in (write_list_start): Add quotes to prevent
- globbing, fixes bug 232874.
-
- * bin/eselect.in (ESELECT_DATA_PATH): Remove trailing slant,
- fixes bug 203114.
-
-2009-04-13 Ulrich Mueller <ulm@gentoo.org>
-
- * libs/output.bash.in (COLOUR_NORMAL, COLOUR_BOLD, COLOUR_HI)
- (COLOUR_WARN, COLOUR_ERROR, COLOUR_LIST_HEADER)
- (COLOUR_LIST_LEFT, COLOUR_LIST_RIGHT): Initialise with tput,
- in a terminal independent way, bug 198461.
-
- * bin/eselect.in: Disable colour output if stdout is not a tty,
- bug 198461.
-
-2009-04-08 Jeremy Olexa <darkside@gentoo.org>
-
- * modules/profile.eselect (do_show, do_list):
- Make 'eselect profile show' show the relative path. Patch by
- Thomas Bellman in bug 248487.
-
- * modules/profile.eselect (set_symlink): Allow parent profiles
- to be selectable, patch by Thomas Bellman in bug 248470.
-
-2008-06-01 Ulrich Mueller <ulm@gentoo.org>
-
- * man/binutils.eselect.5: Fix typo, bug 172636.
-
- * man/eselect.1: Fix man section, bug 172636.
-
-2008-03-24 Ulrich Mueller <ulm@gentoo.org>
-
- * modules/emacs.eselect, modules/ctags.eselect:
- * man/emacs.eselect.5, man/ctags.eselect.5: Import the emacs and
- ctags modules from the Emacs SVN repository (r1030), corresponding
- to the eselect-emacs-1.3 release.
-
-2008-01-28 Piotr Jaroszyński <peper@gentoo.org>
-
- * configure.ac, libs/paludis.bash.in: Check for paludis binary at
- runtime.
-
-2007-12-02 Piotr Jaroszyński <peper@gentoo.org>
-
- * NEWS: Merge NEWS from branch-1.0.x and add trunk section with
- current changes.
-
-2007-12-01 Piotr Jaroszyński <peper@gentoo.org>
-
- * NEWS: Add missing news entry for 1.0.10.
-
-2007-11-30 Piotr Jaroszyński <peper@gentoo.org>
-
- * libs/config.bash.in, modules/env.eselect, modules/esd.eselect,
- +modules/timidity.eselect, NEWS: Merge various changes from 1.0.x
- branch.
-
-2007-11-27 Piotr Jaroszyński <peper@gentoo.org>
-
- * libs/package-manager.bash.in, libs/paludis.bash.in,
- libs/portage.bash.in: Add stuff to be used by new eselect-news.
-
-2007-10-27 Jeremy Huddleston <eradicator@gentoo.org>
-
- * modules/opengl.eselect: Cleaned out old cruft which supported the
- 2004.3 amd64 profile. Improved support for cleaning up after
- switching away from newer nvidia drivers.
-
-2007-09-21 Donnie Berkholz <dberkholz@gentoo.org>
-
- * libs/skel.bash.in: (#189942) Allow resetting to the current
- implementation, so changes to the symlink map can propagate.
-
-2007-03-08 Mike Kelly <pioto@gentoo.org>
-
- * man/Makefile.am: Really really really fix parallel install.
-
-2007-02-28 Mike Kelly <pioto@gentoo.org>
-
- * bin/Makefile.am, man/Makefile.am: Undo the most recent "fix".
-
-2007-02-28 Mike Kelly <pioto@gentoo.org>
-
- * modules/vi.eselect: Clean up vi.eselect a bit.
-
-2007-02-27 Danny van Dyk <kugelfang@gentoo.org>
-
- * bin/Makefile.am, man/Makefile.am: Fix symlink creation for real now.
- * modules/env.eselect: Fix parsing of *_SEPARATED.
-
-2007-01-29 Mike Kelly <pioto@gentoo.org>
-
- * bin/Makefile.am, man/Makefile.am: Fix symlink creation.
-
- + Fixes: #163915
-
-2007-01-15 Mike Kelly <pioto@gentoo.org>
-
- * bin/Makefile.am: Really fix parallel install. From r353 in
- branches/branch-1.0.x/
-
- + Fixes: #162008
-
-2006-11-24 Diego Pettenò <flameeyes@gentoo.org>
-
- * modules/esd.eselect: Add the esound selection module, that I
- forgot to add before.
-
-2006-11-17 Kevin F. Quinn <kevquinn@gentoo.org>
-
- * modules/oodict.eselect: Allow more than one dictionary file for
- a language to be entered into OOo's dictionary list.
- * modules/myspell.eselect: As for oodict.eselect; also add a
- command "default" for setting system-wide default dictionary.
-
-2006-11-13 Mike Kelly <pioto@gentoo.org>
-
- * configure.ac, libs/Makefile.am, Makefile.am, modules/Makefile.am:
- Fix distcheck.
-
-2006-10-28 Danny van Dyk <kugelfang@gentoo.org>
-
- * bin/eselect.in: Add a new envvar for the default modules path.
- * libs/core.bash.in: Make inherit() remember the libs it already
- processed and don't source them again.
- * modules/modules.eselect: Clean up a bit. Change add action to not
- check for root.
-
-2006-10-28 Mike Kelly <pioto@gentoo.org>
-
- * modules/Makefile.am: Add modules.eselect to Makefile.am.
-
-2006-10-28 Mike Kelly <pioto@gentoo.org>
-
- * modules/modules.eselect: Add a new module, for listing, querying,
- and installing eselect modules.
-
-2006-10-26 Timothy Redaelli <drizzt@gentoo.org>
-
- * modules/whois.eselect: Make a missing man page just cause a
- warning (to work with folks who use FEATURES=noman,
- etc). (modifications taken from vi.eselect)
-
-2006-10-26 Mike Kelly <pioto@gentoo.org>
-
- * modules/vi.eselect: Make a missing man page just cause a warning (to
- work with folks who use FEATURES=noman, etc).
-
-2006-10-24 Danny van Dyk <kugelfang@gentoo.org>
-
- * libs/core.bash.in: Fix bug #152662. Thanks to Roy Marples
- <uberlord@gentoo.org> for finding and Mike Kelly <pioto@gentoo.org>
- for reporting it.
- * modules/env.eselect: Fix bug #152318. Thanks to Jason Stubbs
- <jstubbs@gentoo.org> for report and patch.
-
-2006-10-23 Timothy Redaelli <drizzt@gentoo.org>
-
- * modules/whois.eselect: Added whois module.
-
-2006-10-22 Danny van Dyk <kugelfang@gentoo.org>
-
- * configure.ac: Changed version to 1.1.0. (development branch)
- * libs/config.bash.in: Fix quotation in load_config().
-
-2006-10-22 Mike Kelly <pioto@gentoo.org>
-
- * modules/vi.eselect: Clean up and add proper support for non-gzip- or
- bzip2-compressed man pages.
-
-2006-10-21 Danny van Dyk <kugelfang@gentoo.org>
-
- * modules/env.eselect: Clean up and fix bug #151701.
- * libs/paludis.bash.in, libs/package-manager.bash.in: Fix some bugs
- and general cleanup. Complete package manager abstraction.
- * doc/developer-guide.txt: Update developer documentation to reflect
- API changes.
-
-2006-10-17 Mike Kelly <pioto@gentoo.org>
-
- * modules/vi.eselect: Make sure that the return value of
- remove_symlinks() is meaningful.
-
-2006-10-09 Joshua Nichols <nichoj@gentoo.org>
-
- * modules/java.eselect: Removed obsolete module, in favor of
- java-vm.eselect.
-
-2006-10-09 Donnie Berkholz <dberkholz@gentoo.org>
-
- * modules/opengl.eselect: Fix when ROOT != /.
-
-2006-10-03 Danny van Dyk <kugelfang@gentoo.org>
-
- * modules/binutils.eselect: Finally fixed bug #149627.
- * libs/paludis.bash.in: Fixed typo.
- * configure.ac: Changed version to 1.0.6.
- * libs/core.bash.in: Tweaked die function to have a nicer output.
- * Tagged 1.0.6 release.
-
-2006-10-02 Mike Kelly <pioto@gentoo.org>
-
- * modules/vi.eselect: Apply fix from bug #147857.
-
-2006-01-10 Danny van Dyk <kugelfang@gentoo.org>
-
- * modules/binutils.eselect: Fixed bug #149627. Thanks to
- Charlie Shepherd for finding this.
-
-2006-09-22 Danny van Dyk <kugelfang@gentoo.org>
-
- * modules/profiles.eselect: Fixed bug #148534 by inheriting
- package-manager. Thanks to Mike Kelly <pioto@gentoo.org>.
-
-2006-09-20 Danny van Dyk <kugelfang@gentoo.org>
-
- * libs/config.bash.in: Fixed whitespaces and bug #147930.
- * libs/core.bash.in: Enhanced die function to SIGKILL eselect if
- SIGTERM failed.
-
-2006-09-19 Mike Kelly <pioto@gentoo.org>
-
- * modules/vi.eselect: Add support for vile, xvile, and elvis.
- * modules/Makefile.am: Remove the vi.eselect module, so it isn't
- distributed with the main eselect code.
-
-2006-09-17 Danny van Dyk <kugelfang@gentoo.org>
-
- * man/rc.eselect.5: Fixed bug #144882.
-
-2006-08-30 Danny van Dyk <kugelfang@gentoo.org>
-
- * libs/output.bash.in: Fix bug #140633 by adding missing quoting in
- write_{kv,numbered}_list_entry.
- * modules/rc.eselect: Add 'reload' action as requested in bug #144152.
-
-2006-08-26 Danny van Dyk <kugelfang@gentoo.org>
-
- * Tagged 1.0.5 release.
-
-2006-08-21 Danny van Dyk <kugelfang@gentoo.org>
-
- * modules/compiler.eselect.in: Fix previous accidental commit of local
- changes. Reverted to r271.
-
-2006-08-17 Donnie Berkholz <dberkholz@gentoo.org>
-
- * libs/skel.bash.in: Small usability tweak -- change printed
- references from "libdir" to "library directory."
-
-2006-08-17 Donnie Berkholz <dberkholz@gentoo.org>
-
- * libs/skel.bash.in: Ensure that there are implementations available
- in a given libdir before executing code that assumes so. Reported
- by Danny van Dyk. Add some comments in this area too, since the code
- can take a little time to parse.
- * ChangeLog: Change a couple references to my old nick.
-
-2006-08-06 Kevin F. Quinn <kevquinn@gentoo.org>
-
- * modules/oodict.eselect: Modify to install all dictionaries files for
- a language where the language has more than one - bug #139669
-
-2006-08-04 Kevin F. Quinn <kevquinn@gentoo.org>
-
- * modules/myspell.eselect: Initial version of combined myspell
- eselect module, to support all applications that have their own
- directory for myspell dictionaries via symlinks to the shared
- installation area. Bug #139422
- Set properties, cleaned up help text.
-
-2006-08-04 Danny van Dyk <kugelfang@gentoo.org>
-
- * modules/kernel.eselect: Fix Bug #141106: list action doesn't
- highlight currently the currently selected sources.
-
-2006-08-03 Danny van Dyk <kugelfang@gentoo.org>
-
- * Tagged 1.0.4 release.
-
-2006-08-02 Danny van Dyk <kugelfang@gentoo.org>
-
- * libs/paludis.bash.in, libs/package-manager.bash.in: Remove
- paludis-repo(). Fix paludis-envvar(). Finish envvar() unction.
- * configure.ac: Set version to 1.0.4.
- * modules/config.eselect, modules/binutils.eselect: Convert to
- envvar().
- * autogen.bash: Fix autogen.bash to be able to use autoconf-2.60.
-
-2006-07-16 Danny van Dyk <kugelfang@gentoo.org>
-
- * libs/paludis.bash.in, libs/package-manager.bash.in: Convert to
- envvar() call. envvar() now needs a package qualifier as first
- parameter.
- * autogen.bash: New autogen tool to correctly use autoconf-2.60.
-
-2006-07-15 Donnie Berkholz <dberkholz@gentoo.org>
-
- * libs/skel.bash.in: Fix check for whether implementations are
- available before attempting to switch to them. This fixes
- switching based on name rather than number.
-
-2006-07-07 Kevin F. Quinn <kevquinn@gentoo.org>
-
- * modules/tbirddict.eselect: Fixed default thunderbird;
- directory; bug #139422 - thanks Rodolphe Rocca
-
-2006-07-07 Kevin F. Quinn <kevquinn@gentoo.org>
-
- * modules/tbirddict.eselect: new module to support dictionary
- installation for Mozilla Thunderbird; bug #139422
-
-2006-07-06 Kevin F. Quinn <kevquinn@gentoo.org>
-
- * modules/oodict.eselect: support --libdir option to
- support multilib, in particular 32-bit binary builds
- used on amd64; bug #139228
-
-2006-07-06 Danny van Dyk <kugelfang@gentoo.org>
-
- * modules/opengl.eselect: Updated ebuild version number.
-
-2006-07-03 Danny van Dyk <kugelfang@gentoo.org>
-
- * Tagged 1.0.3 release.
-
-2006-07-01 Danny van Dyk <kugelfang@gentoo.org>
-
- * libs/portage.bash.in, libs/paludis.bash.in,
- libs/package-manager.bash.in, libs/Makefile.am, configure.ac: Added
- support for other package managers than portage. Public functions are
- part of package-manager.bash. paludis.bash and portage.bash provide
- private backend functions.
-
- * modules/profile.eselect: Marked as portage-only module.
-
- * modules/opengl.eselect, modules/binutils.eselect: Change from
- inherit portage to inherit package-manager.
-
- * modules/rc.eselect: Fix bug in list_runlevels(). Respect setting of
- ${svcdir} in /etc/rc.conf. Add support to show() runlevels other than
- the current.
-
-2006-06-21 Kevin F. Quinn <kevquinn@gentoo.org>
-
- * modules/oodict.eselect: Fix update action (variable name typo), and
- handle missing OOo dictionary.lst properly.
-
-2006-06-19 Kevin F. Quinn <kevquinn@gentoo.org>
-
- * modules/oodict.eselect: Align description with other modules.
-
-2006-06-18 Donnie Berkholz <dberkholz@gentoo.org>
-
- * libs/skel.bash.in, libs/Makefile.am, doc/developer-guide.txt:
- Add a new skel.bash library for easy implementation of the simpler
- cases of switching, and document it.
-
- * modules/blas.eselect, modules/cblas.eselect, modules/lapack.eselect,
- man/blas.eselect.5, man/cblas.eselect.5, man/lapack.eselect.5:
- Use the skel.bash library to create new eselect modules for blas,
- cblas and lapack. Update documentation to reflect this.
-
- * modules/Makefile.am, man/Makefile.am:
- The new blas/cblas/lapack modules will be installed as standalone
- packages, so remove them from Makefile.am files.
-
-2006-06-13 Kevin F. Quinn <kevquinn@gentoo.org>
-
- * modules/oodict.eselect: Clean up output when dictionaries are
- installed outside of myspell ebuilds. See bug #135520 comment 4.
-
-2006-06-11 Danny van Dyk <kugelfang@gentoo.org>
-
- * modules/env.eselect: Fixed handling of files in /etc/env.d/ which
- are untruly detected as non-plain-text by file utility (see bug
- #130098). Fixed generation of /etc/profile.csh (see bug #136111).
- Thanks to Patrick MacLean <chutzpah@gentoo.org> for both fixes.
-
-2006-06-10 Jeremy Huddleston <eradicator@gentoo.org>
-
- * modules/opengl.eselect: Added env update, added inherit config
- * modules/compiler.eselect.in: Added env update
-
-2006-06-03 Kevin F. Quinn <kevquinn@gentoo.org>
-
- * modules/oodict.eselect: Tidy up info messages, clean up handling of
- nothing-installed and configured cases.
-
-2006-05-31 Kevin F. Quinn <kevquinn@gentoo.org>
-
- * modules/oodict.eselect: New module for managing dictionaries with
- OpenOffice.org. See bug #132247.
-
-2006-04-14 Danny van Dyk <kugelfang@gentoo.org>
-
- * libs/config.bash: Fixed creation of empty configfile.
- * modules/kernel.eselect: Applied enhancement patch by Diego Petteno
- <flameeyes@gentoo.org>. kernel.eselect can now be called using 'uname
- -r' as an argument. See bug #128703.
- * Tagged 1.0.2 release.
-
-2006-04-03 Danny van Dyk <kugelfang@gentoo.org>
-
- * modules/env.eselect: Don't die if ${ROOT}/etc/profile.env does not
- exist.
-
-2006-04-01 Danny van Dyk <kugelfang@gentoo.org>
-
- * Tagged 1.0.1 release.
- * configure.ac: Fixed substitution of CANONICALISE.
- * modules/env.eselect: Fixed calls to canonicalise().
- * modules/kernel.eselect: Fixed output of show action.
-
-2006-03-31 Danny van Dyk <kugelfang@gentoo.org>
-
- * configure.ac: Fixed some BSD issues in regard to CANONICALISE.
- Thanks to Diego Petteno <flameeyes@gentoo.org> for the patch.
-
-2006-03-30 Danny van Dyk <kugelfang@gentoo.org>
-
- * modules/binutils.eselect: Cleaned up the Coding Style a bit.
- * libs/path-manipulation.bash.in, doc/developer-guide.txt,
- configure.ac: Added support for the canonicalise function, a wrapper
- to either GNU readlink or realpath.
- * modules/binutils.eselect, modules/blas.eselect,
- modules/config.eselect, modules/env.eselect, modules/kernel.eselect,
- modules/lapack.eselect, modules/mailer.eselect,
- modules/oracle.eselect, modules/profile.eselect, modules/rc.eselect,
- modules/ruby.eselect, modules/vi.eselect: Converted to use
- canonicalise() instead of readlink -f. This ensure portability of
- eselect to *BSD.
-
-2006-03-25 Tobias Scherbaum <dertobi123@gentoo.org>
-
- * modules/oracle.eselect: Added oracle module. Not adding to
- Makefile.am as it's not going to be installed with the base package.
-
-2006-03-09 Danny van Dyk <kugelfang@gentoo.org>
-
- * modules/binutils.eselect, man/binutils.eselect.5: Added show action.
- * configure.ac: Updated version to 1.0.1 for pending release.
-
-2006-03-08 Danny van Dyk <kugelfang@gentoo.org>
-
- * modules/env.eselect: Fixed a typo (chmod g+r instead of chmod a+r).
- * modules/blas.eselect, modules/lapack.eselect: Added option
- descriptions for action 'set'.
- * modules/env.eselect: Added FreeBSD patch written by Diego Petteno.
- * man/binutils.eselect.5, man/blas.eselect.5, man/env.eselect.5,
- lapack.eselect.5, man/rc.eselect.5: Synchronized the manpages with the
- current state of the repository.
-
-2006-03-04 Danny van Dyk <kugelfang@gentoo.org>
-
- * modules/rc.eselect: Fixed a bug in the is_script() function.
- With this change the 'show' action works again.
- * modules/kernel.eselect: Fixed trailing slashes in the 'show' action.
-
-2006-03-01 Danny van Dyk <kugelfang@gentoo.org>
-
- * modules/env.eselect: Fixed bug #124472. env.eselect now uses a
- temporary file, honours a symlinked profile.env and fixes
- permissions on the final profile.env.
-
-2006-02-09 Ciaran McCreesh <ciaranm@gentoo.org>
-
- * Tagged 1.0 release.
- * libs/core.bash.in: Fix die filenames, thanks to Donnie Berkholz.
-
-2005-12-18 Danny van Dyk <kugelfang@gentoo.org>
-
- * modules/env.eselect: Fixed bug #114778: restrict load_config()
- to textfiles with proper contents.
- * libs/multilib.bash.in: Fixed bug #114274: don't rely on a hardcoded
- table of libdirs but scan ld.so.conf for them instead.
- * modules/blas.eselect, modules/lapack.eselect: Fixed bug #115548:
- make commands list, show and set scan if scan hasn't been previously
- run.
-
-2005-12-17 Ciaran McCreesh <ciaranm@gentoo.org>
-
- * modules/output.bash.in: Fix nocolour, Gentoo bug #115677.
-
-2005-12-06 Danny van Dyk <kugelfang@gentoo.org>
-
- * modules/rc.eselect: Fixed Bug in is_script() to detect symlinked
- init scripts like net.ethX -> net.eth0 properly.
-
-2005-11-17 Aaron Walker <ka0ttic@gentoo.org>
-
- * docs/developer-guide.txt: Fix title underline length since the
- length of the title changed (add_config => append_config).
-
-2005-11-16 Danny van Dyk <kugelfang@gentoo.org>
-
- * libs/config.bash.in, docs/developer-guide.txt: Changed add_config()
- to append_config(). Function now doesn't append data if it occurs
- already in the value.
- * libs/multilib.bash.in: Removed lib from list of amd64 libdirs.
- * modules/blas.eselect, modules/lapack.eselect: Added support for
- MKL72. Some cleanup of Bugs and untidy work.
-
-2005-11-01 Ciaran McCreesh <ciaranm@gentoo.org>
-
- * bin/eselect.in: Add read- and -reader symlink module name decoding
- voodoo options.
-
-2005-10-30 Aaron Walker <ka0ttic@gentoo.org>
-
- * libs/output.bash.in: Updated write_kv_list_entry with several bug
- fixes: now handles args with leading whitespace appropriately, doesn't
- append a ' ' onto the end of lines, displays the value on the next
- line if key is too long.
-
-2005-10-29 Thomas Matthijs <axxo@gentoo.org>
-
- * modules/java.eselect: Don't assume uid 0 has super powers,
- * modules/java.eselect: Added simple java module, for configuring
- system and user vm.
-
-2005-10-19 Jeremy Huddleston <eradicator@gentoo.org>
-
- * modules/opengl.eselect: Added missing inherit config
-
-2005-10-19 Aaron Walker <ka0ttic@gentoo.org>
-
- * libs/output.bash.in: Use ${#indent} instead of a literal '28'.
-
- * Tagged 1.0_rc1 release.
- * libs/output.bash.in: Modified write_kv_list_entry to properly wrap
- lines that are longer than the current terminal width.
- * man/bashcomp.eselect.5: Added --global as a possible option for the
- 'list' action.
- * modules/env.eselect: Added describe_update_options and
- describe_update_parameters.
-
-2005-10-18 Aaron Walker <ka0ttic@gentoo.org>
-
- * modules/rc.eselect: Added missing space after the '1' in
- "[[ ${#@} -gt 1]]" which caused an unexpected EOF in do_restart().
- * configure.ac, Makefile.am, doc/Makefile.am: Added check for rst2html
- and don't assume it is installed as 'rst2html.py' as most other
- distro's/OS's install it without the .py extension. Also, don't
- bail if portageq isn't found as eselect is supposed to be usable even
- on non-Gentoo systems.
- * libs/output.bash.in, doc/developer-guide.txt: Added
- write_warning_msg function. Similar to write_error_msg but uses "!!!
- Warning" and ${COLOUR_WARN}.
- * libs/portage.bash.in: Have arch() use new write_warning_msg to print
- a warning and return 1 if it cannot determine the arch instead of
- die()'ing as the caller may want to do something anyways and exit
- successfully ("eselect profile set --force" for example). Also fixed
- errant 'i' in '[[ -z ${ROOT}i ]]' and also fixed indenting.
- * modules/profile.eselect: Check the return value of arch() and
- find_targets() and bail if necessary.
-
-2005-10-17 Aaron Walker <ka0ttic@gentoo.org>
-
- * configure.ac: Update version to 1.0_rc1 for pending release.
- * Makefile.am, man/Makefile.am, bin/Makefile.am: move 'symlinks'
- variable declaration to top-level Makefile.am so both man/Makefile.am
- and bin/Makefile.am can use it to generate symlinks (ie foo-config ->
- eselect and foo.eselect.5 -> foo-config.1).
- * modules/profile.eselect: Updated find_targets function to accept an
- optional argument, portdir, so that if specified it doesn't need to
- invoke portageq. This prevents portageq from being invoked twice when
- the 'set' action is executed.
- * modules/kernel.eselect, modules/binutils.eselect,
- modules/mailer.eselect: Add describe_set_options and
- describe_set_parameters.
- * modules/bashcomp.eselect: Add describe_list_options since it also
- accepts --global.
- * man/kernel.eselect.5: Added manual page for kernel.eselect.
- * man/profile.eselect.5: Fixed a typo.
- * modules/rc.eselect: Bail on actions that require parameters when the
- user doesn't specify them. Also added describe_action_options and
- describe_action_parameters for each action that requires a parameter.
- Also fixed vim ft s/ebuild/eselect/.
- * bin/eselect.in: Bail if user specifies an invalid global option
- instead of just ignoring it.
-
-2005-10-16 Jeremy Huddleston <eradicator@gentoo.org>
-
- * modules/compiler.eselect.in: Added describe_*_{parameters,options}
-
-2005-10-16 Ciaran McCreesh <ciaranm@gentoo.org>
-
- * modules/vi.eselect: Tidy up.
-
-2005-10-16 Jeremy Huddleston <eradicator@gentoo.org>
-
- * modules/opengl.eselect: Added describe_set_{parameters,options}
-
-2005-10-16 Ciaran McCreesh <ciaranm@gentoo.org>
-
- * doc/developer-guide.txt: Documentation for options and parameters.
- * modules/bashcomp.eselect, modules/profile.eselect,
- modules/cow.eselect: Implement actions and parameters.
- * libs/default.eselect.in: Add describe_action_options and
- describe_action_parameters support for default help action.
- * libs/output.bash.in: Add -p option to write_ things.
- * autogen.sh -> autogen.bash, doc/release-guide.txt, Makefile.am: Make
- autogen work on systems with weirder autotools setups.
-
-2005-10-16 Danny van Dyk <kugelfang@gentoo.org>
-
- * modules/rc.eselect: Fixed Bug #106540.
-
-2005-10-06 Jeremy Huddleston <eradicator@gentoo.org>
-
- * modules/compiler.eselect.in: Ignore symlinks in the binpath. Fixed
- a bug where selecting a non-native compiler removed the native
- binaries. Use bin_prefix to determine reference file for timestamp
- which is needed for the alternate targets of multilib crosscompilers.
-
-2005-10-05 Aaron Walker <ka0ttic@gentoo.org>
-
- * modules/profile.eselect: Add a --force option to 'set' sub-command
- so that users can force a profile set even if the profile is not
- recognized as valid.
- * man/profile.eselect.5: Document --force.
-
-2005-10-05 Jeremy Huddleston <eradicator@gentoo.org>
-
- * modules/compiler.eselect.in: Support .s in CTARGET. Made logic
- smarter when determining reference file for timestamp for crossdev.
- Fixed a bug in migrate using spec instead of specs. Fixed a bug in
- get_bins on crosscompilers.
-
-2005-10-01 Jeremy Huddleston <eradicator@gentoo.org>
-
- * modules/compiler.eselect.in: Added getval action to query configs
- and give backwards support for -X, -L, and -B in gcc-config.
-
-2005-09-30 Jeremy Huddleston <eradicator@gentoo.org>
-
- * modules/compiler.eselect.in: Added migrate action to migrate from
- 1.x configs.
-
-2005-09-24 Jeremy Huddleston <eradicator@gentoo.org>
-
- * modules/compiler.eselect.in: Added show and unset actions.
-
-2005-09-16 Jeremy Huddleston <eradicator@gentoo.org>
-
- * modules/compiler.eselect.in: Some cleanup and added update action.
-
-2005-09-13 Jeremy Huddleston <eradicator@gentoo.org>
-
- * modules/opengl.eselect: fixed ACTION->action
-
-2005-09-11 Aaron Walker <ka0ttic@gentoo.org>
-
- * libs/multilib.bash.in: Don't use absolute paths to executables!
-
-2005-09-11 Danny van Dyk <kugelfang@gentoo.org>
-
- * modules/ruby.eselect: Added ruby module, written by Michael Kohl
- <citizen428@gentoo.org>.
-
-2005-09-10 Danny van Dyk <kugelfang@gentoo.org>
-
- * bin/eselect.in: Fixed Bug in usage of has(). Thanks to Sven Wegener
- <swegener@gentoo.org> for spotting this.
- * man/opengl.eselect: Added manpage for opengl module.
- * libs/portage.bash.in, libs/Makefile.am,
- configure.ac, modules/binutils.eselect, modules/config.eselect,
- modules/opengl.eselect, modules/profile.eselect: Added portage
- library, moved profile.eselect:get_arch() to portage.bash:arch().
- * doc/developer-guide.txt: Changed documentation according to API
- changes (inherit / core.bash-split).
-
-2005-09-05 Jeremy Huddleston <eradicator@gentoo.org>
-
- * modules/opengl.eselect: Cleaned up code to conform to eselect
- coding style. Make better use of the eselect API. Fixed a bug with
- --impl-headers. Many thanks to Danny van Dyk <kugelfang@gentoo.org>.
-
-2005-09-05 Danny van Dyk <kugelfang@gentoo.org>
-
- * libs/core.bash.in: Added inherit() function that allows dynamic
- and individual sourcing of libraries for each module.
- * bin/eselect.in: Removed sourcing of all available libraries and set
- up default libraries to inherit.
- * libs/core.bash.in, libs/path-manipulation.bash.in, libs/Makefile.in:
- Moved basename() and dirname() to a new separate library.
- * libs/core.bash.in, libs/test.bash.in: moved has() and is_function()
- to tests library.
- * modules/binutils.eselect, modules/blas.eselect, modules/env.eselect,
- modules/lapack.eselect, modules/opengl.eselect: Added necessary
- inherit lines.
-
-2005-09-04 Danny van Dyk <kugelfang@gentoo.org>
-
- * modules/blas.eselect: Fixed a bug about setting implementation to
- reference in case we had an active C implementation already. Storing
- configuration will now be handled after the setup_*() step.
- * modules/lapack.eselect: Storing configuration will now be handled
- after the setup_*() step.
- * modules/rc.eselect: Fixed a 'file not found' bug on bogus
- baselayouts thanks to Mike Doty <kingtaco@gentoo.org>.
-
-2005-08-31 Danny van Dyk <kugelfang@gentoo.org>
-
- * modules/kernel.eselect: Fixed bug #104354. kernel.eselect now looks
- only for linux-kernel directories w/o listing source directories of
- additional drivers.
-
-2005-08-23 Jeremy Huddleston <eradicator@gentoo.org>
-
- * modules/compiler.eselect.in: Added eselect module for the
- forthcoming compiler-config-2.0 (formerly gcc-config). It is alpha
- code and currently only supports set and list actions.
-
-2005-08-23 Jeremy Huddleston <eradicator@gentoo.org>
-
- * modules/opengl.eselect: Fixed a bug in creating symlinks to header
- files.
-
-2005-08-17 Jeremy Huddleston <eradicator@gentoo.org>
-
- * modules/opengl.eselect: Added opengl module. Not adding to
- Makefile.am as it's not going to be installed with the base package.
-
-2005-08-08 Aaron Walker <ka0ttic@gentoo.org>
-
- * man/bashcomp.eselect.5: Add missing description of --global flag.
-
-2005-07-25 Danny van Dyk <kugelfang@gentoo.org>
-
- * modules/Makefile.am: Moved binutils.eselect out of dodgy-scripts.
- * modules/binutils.eselect: Removed outdated comments.
- * Tagged 0.9.6 release.
- * NEWS: Added 0.9.6 release news.
- * configure.ac: Updated version number.
- * man/Makefile.am, man/binutils.eselect.5: Added manpage for binutils
- module.
- * modules/binutils.eselect, modules/env.eselect: Check for sane
- parameters and root access.
-
-2005-07-23 Danny van Dyk <kugelfang@gentoo.org>
-
- * libs/config.bash.in: Fixed a condition in store_config as it needs at
- least 2 parameters, not 3.
- * modules/env.eselect: Removed check on storing empty vars. Added
- support for updating ld.so.cache. Added a mtime database for all items
- of LDPATH. Fixed last bugs that kept it in dodgy-scripts.
- * modules/Makefile.am: Removed env.eselect from dodgy-scripts.
- * man/env.eselect.5, man/Makefile.am: Added a manpage for env.eselect.
- * modules/binutils.eselect: Uses env.eselect now instead of env-update.
- Fixed condition for environment updates.
-
-2005-07-19 Danny van Dyk <kugelfang@gentoo.org>
-
- * libs/core.bash.in: Fixed order of parameters.
- * modules/blas.eselect, modules/env.eselect, modules/lapack.eselect:
- Fixed all calls to has() due to change of parameter order.
- * modules/env.eselect: Tidied code up, add prelink.conf code. These
- file are now sanely created: /etc/profile.env, /etc/ld.so.conf,
- /etc/prelink.conf.
- * module/env.eselect: Removed LDPATH from inclusion into profile.env.
-
-2005-07-16 Danny van Dyk <kugelfang@gentoo.org>
-
- * modules/env.eselect: Fixed a 'first element of array'-type bug.
- ld.so.conf creation is now fully functional.
-
-2005-07-12 Danny van Dyk <kugelfang@gentoo.org>
-
- * modules/env.eselect, modules/Makefile.am: Added initial env module.
-
-2005-07-03 Aaron Walker <ka0ttic@gentoo.org>
-
- * libs/core.bash.in: Added dirname/basename wrapper functions which use
- bash instead of launching their external counterparts.
- * modules/bashcomp.eselect: Use basename instead of ${var##*/}
- constructs.
-
-2005-06-19 Danny van Dyk <kugelfang@gentoo.org>
-
- * libs/output.bash.in: Watch out for escaped spaces and concatenate
- items accordingly. Fixes BUG #95886.
- * modules/binutils.eselect: Removed the echo before each ln call to
- enable it. Fixed the order of is_active() and loading of VERSION and
- TARGET. Added a check on whether the selected profile exists in
- /etc/env.d/binutils/.
-
-2005-06-18 Aaron Walker <ka0ttic@gentoo.org>
-
- * Tagged 0.9.5 release.
- * acinclude.m4: Added ES_PROG_GNU_SED macro for checking the path to
- GNU sed. This allows eselect to work on platforms where GNU sed is
- "gsed" not "sed".
- * configure.ac: Update version; added call to our new ES_PROG_GNU_SED
- macro.
- * libs/core.bash.in: Added 'sed() { @SED@ $* ; }' so that everything
- else transparently uses GNU sed.
- * libs/output.bash.in: Fixed typo in write_kv_list_entry() that caused
- misaligned value text.
- * bin/eselect.in: Added missing 'shift' when unrecognized global
- options are encountered. Otherwise an infinite loop occurs if a user
- specifies one. Also added ec_do_list-options() and updated
- ec_do_help() to call it.
- * bin/Makefile.am: Add bashcomp-config to symlinks list.
- * doc/developer-guide.txt: Fixed headers so that it'll compile.
- * modules/bashcomp.eselect: Fixed bug if do_list is passed an argument
- besides --global.
- * man/eselect.1: updated usage info with global options. Added OPTIONS
- section where global options will be described.
- * README, man/profile.eselect.5: Fixed minor typo.
- * man/Makefile.am, man/bashcomp.eselect.5: Added manual page for
- bashcomp.eselect.
- * misc/eselect.bashcomp: Parse 'eselect help' instead of 'eselect
- list-modules' so that we can pick up supported global options and add
- them to possible completions. This means we *never* will have to edit
- this file when we add new global options.
- * Makefile.am: Added html target to generate HTML for TODO and README
- in addition to those in doc/.
- * modules/blas.eselect, modules/lapack.eselect: Don't hardcode the
- path to readlink. Also, fixed a few libblas -> libcblas typo's on
- Kugelfang's behalf.
-
-2005-06-17 Danny van Dyk <kugelfang@gentoo.org>
-
- * libs/output.bash.in: Moved back to use COLOUR_* envvars instead of a
- function, as the latters slows down eselect. Also,
- write_kv_list_entry() and write_numbered_list_entry() now use space().
- * bin/eselect.in: Introduced new var which holds all known global
- options. The global option parser now checks for those.
-
-2005-06-16 Aaron Walker <ka0ttic@gentoo.org>
-
- * misc/eselect.bashcomp: Updated to take global options into
- consideration.
- * bin/eselect.in: recognize the us'ian --no-color in addition to
- --no-colour.
- * libs/output.bash.in: fixed bug in nocolour handling that caused
- literal interpretation of '*' in $(highlight '*') thus causing the
- contents of the ${PWD} to be displayed instead.
- * doc/release-guide.txt: Removed the now irrelevant section on
- doing the release on berlios.
-
-2005-06-15 Shyam Mani <fox2mike@gentoo.org>
- * doc/developer-guide.txt: Removed redundant sections and fixed up a
- bit of RST. This will be the version that initial GuideXML will sync
- with.
-
-2005-06-15 Aaron Walker <ka0ttic@gentoo.org>
-
- * modules/bashcomp.eselect: Rewrote most of the module. Removed
- do_show() since do_list now correctly identifies currently enabled
- completions. Also do_enable/do_disable now work with list numbers as
- they should.
-
-2005-06-13 Aaron Walker <ka0ttic@gentoo.org>
-
- * doc/release-guide.txt: Updated to mention updating configure.ac
- version number.
-
-2005-06-13 Danny van Dyk <kugelfang@gentoo.org>
-
- * Tagged 0.9.4 release.
-
-2005-06-13 Shyam Mani <fox2mike@gentoo.org>
- * doc/overview.txt: Removed, since it is obsolete.
- * doc/user-guide.txt: Updated with info which was in overview.
-
-2005-06-12 Danny van Dyk <kugelfang@gentoo.org>
-
- * modules/rc.eselect: Fix hardcoded path to ln.
- * libs/config.bash.in: Restructured functions to take a filename as
- first argument.
- * modules/blas.eselect,modules/lapack.eselect: Fixed modules to
- respect new syntax of *_config functions.
- * doc/developer-guide.txt: Documented new behaviour of *_config
- functions.
- * modules/blas.eselect,modules/lapack.eselect,modules/profiles.eselect:
- The list action now marks active options with a highlighted *.
- * modules/binutils.eselect: Added initial and unfunctional version of
- binutils.eselect.
-
-2005-06-08 Danny van Dyk <kugelfang@gentoo.org>
-
- * bin/eselect.in: Added handling of global options in main code.
- * libs/core.bash.in: Removed COLOUR_* vars.
- * libs/output.bash.in: Added function colours() which replaces all
- ${COLOURS_*} uses and respects the --no-colour option.
- * docs/developer-guide.txt,docs/user-guide.txt: Added reference to
- global options and --no-colour.
-
-2005-06-07 Danny van Dyk <kugelfang@gentoo.org>
-
- * Renamed to 'eselect'.
- * Moved to Gentoo infrastructure.
-
-2005-05-26 Danny van Dyk <kugelfang@gentoo.org>
-
- * modules/rc.eselect: Added actions start, stop, restart and pause.
-
-2005-05-16 Ciaran McCreesh <ciaranm@gentoo.org>
-
- * bin/Makefile.am: Install symlinks for kernel-config, profile-config,
- rc-config
- * libs/output.bash.in: Make highlighting work with bash-2.
-
- * Tag 0.9.3 release.
- * doc/overview.txt, doc/Makefile.am: Add an 'overview' document.
- * configure.ac, modules/Makefile.am: Add --enable-dodgy-modules to
- install incomplete / experimental things (config, cow, vi).
-
-2005-05-16 Tom Martin <slarti@gentoo.org>
-
- * modules/mailer.eselect: Handle no available targets. Mark the
- currently active profile when doing list.
-
-2005-05-15 Aaron Walker <ka0ttic@gentoo.org>
-
- * man/Makefile.am: Add missing manual page.
-
-2005-05-15 Ciaran McCreesh <ciaranm@gentoo.org>
-
- * modules/config.eselect, modules/cow.eselect,
- modules/mailer.eselect, modules/lapack.eselect,
- modules/bashcomp.eselect, modules/vi.eselect,
- modules/kernel.eselect, modules/profile.eselect,
- modules/blas.eselect, modules/rc.eselect: Switch vim modelines to
- use eselect rather than ebuild as the filetype.
- * modules/kernel.eselect: Handle no available targets. Mark the
- currently active kernel symlink when doing list.
- * libs/core.bash.in: Don't allow eval, since it's evil and leads to
- horridly broken code.
-
-2005-05-14 Aaron Walker <ka0ttic@gentoo.org>
-
- * libs/core.bash.in: Updated do_action() to display the correct usage
- message depending on how eselect was invoked.
-
-2005-05-14 Ciaran McCreesh <ciaranm@gentoo.org>
-
- * modules/mailer.eselect, modules/vi.eselect,
- modules/kernel.eselect, modules/profile.eselect: Switch to use
- is_number.
- * modules/mailer.eselect: Make 'set by number' work.
-
-2005-05-14 Elfyn McBratney <beu@gentoo.org>
-
- * bin/eselect.in: Support both -update and -updater suffixes.
-
-2005-05-14 Danny van Dyk <kugelfang@gentoo.org>
-
- * modules/rc.eselect: Do not show files ending in '~'. Added to the
- Makefile.am, too.
-
-2005-05-12 Danny van Dyk <kugelfang@gentoo.org>
-
- * modules/mailer.eselect, modules/blas.eselect,
- modules/lapack.eselect: Use SVN_DATE.
- * module/rc.eselect: Added module rc.
- * man/rc.eselect.5: Added manpage for module rc.
- * modules/blas.eselect: Add preliminary support for "threaded-ATLAS".
-
-2005-05-10 Aaron Walker <ka0ttic@gentoo.org>
-
- * modules/profile.eselect, modules/bashcomp.eselect: Use SVN_DATE.
-
-2005-05-10 Ciaran McCreesh <ciaranm@gentoo.org>
-
- * autogen.sh: Make config dir if it's not there already.
- * man/eselect.1: Include note about full docs.
- * doc/developer-guide.txt: Document manip functions.
- * modules/config.eselect, modules/cow.eselect, modules/vi.eselect,
- modules/kernel.eselect: Update to use SVN date as the version number.
- * libs/manip.bash.in, libs/Makefile.am, bin/eselect.in: Add manip
- library for text manipulation functions. svn_date_to_version will
- convert an SVN date string into a nice VERSION number.
-
-2005-05-09 Aaron Walker <ka0ttic@gentoo.org>
-
- * misc/eselect.bashcomp: Parse list-modules/usage instead of relying
- on the assumption that the default action will give us what we want.
-
-2005-05-09 Ciaran McCreesh <ciaranm@gentoo.org>
-
- * configure.in -> configure.ac, autogen.sh: Switch to automake 1.9.
- * TODO: Add TODO file. Future changes to this file won't go in to this
- ChangeLog.
- * AUTHORS, README: Move authors into the AUTHORS file.
- * INSTALL: Add INSTALL file as per GNU rules.
- * doc/developer-guide.txt: Update with new functions.
- * doc/release-guide.txt: Add in an RST version of Aaron's "how to do
- releases" document.
-
- * Merge from branches/ciaranm/config:
- * bin/eselect.in: Better prefix/suffix support. Now recognises
- prefixes config-, update-, manage- and suffixes -config, -update,
- -tool, -manager.
- * libs/output.bash.in, libs/core.bash.in: Add highlight_warning
- function.
- * bin/eselect.in, libs/tests.bash.in, libs/Makefile.am: Add tests
- library. Currently one function, is_number.
- * libs/default.eselect.in: Allow show_extra_help_text as part of
- the default help action. Show extra usage message if appropriate.
- * modules/config.eselect, modules/Makefile.am: Add initial version of
- the config plugin. Not production ready.
-
-2005-05-08 Aaron Walker <ka0ttic@gentoo.org>
-
- * Makefile.am: no foreign.
-
- * Tag 0.9.2 release.
- * configure.in: Update version (0.9.2).
- * modules/profile.eselect: Re-fix profile module since the
- profile-symlink -> profile move reverted the changes.
- * modules/bashcomp.eselect: do_show should return 0.
- * bin/eselect.in, bin/Makefile.am: Use %VERSION%.
-
-2005-05-08 Ciaran McCreesh <ciaranm@gentoo.org>
-
- * libs/output.bash.in, libs/core.bash.in: Add in somewhat experimental
- text highlighting functionality.
- * doc/developer-guide.txt: Document highlight function.
-
-2005-05-08 Danny van Dyk <kugelfang@gentoo.org>
-
- * modules/blas.eselect: update -> scan transition complete.
- * modules/lapack.eselect: update -> scan. Fixed directory settings
- for lapack-atlas and lapack-reference.
-
-2005-05-08 Tom Martin <slarti@gentoo.org>
-
- * modules/mailer.eselect: Fix find_targets. If the glob didn't
- match, it was interpreted as a literal string. Fix a stupid typo
- (findi_targets -> find_targets).
-
-2005-05-07 Ciaran McCreesh <ciaranm@gentoo.org>
-
- * Tag for release 0.9.1
- * configure.in: Version is now 0.9.1.
- * doc/user-guide.txt, doc-developer.txt: Clarify update and scan
- action definitions, update formatting and wording.
-
-2005-05-07 Danny van Dyk <kugelfang@gentoo.org>
-
- * doc/user-guide.txt: Added a first draft of the user docs.
-
-2005-05-07 Ciaran McCreesh <ciaranm@gentoo.org>
-
- * doc/developer-guide.txt: Fix formatting, typos. Add a bit more about
- how eselect works.
- * doc/Makefile.am: Make this much more generic.
- * misc/Makefile.am: Add Makefile.in to maintainer-clean targets.
-
-2005-05-07 Tom Martin <slarti@gentoo.org>
-
- * man/mailer.eselect.5: Add a man page for mailer.eselect.
- * modules/mailer.eselect: Add a check_dirs() function for
- sanity checking /etc/mail/.
-
-2005-05-07 Danny van Dyk <kugelfang@gentoo.org>
-
- * man/profile.eselect.5: Fixed typos.
- * doc/developer-guide.txt: Added descriptions for the multilib.bash
- and config.bash functions.
-
-2005-05-07 Ciaran McCreesh <ciaranm@gentoo.org>
-
- * doc/: Add initial developer docs.
- * libs/core.bash.in: Fix bug in has so that it is consistent with
- portage syntax.
- * modules/blas.eselect, modules/lapack.eselect: Update to new has
- syntax.
-
-2005-05-07 Aaron Walker <ka0ttic@gentoo.org>
-
- * modules/profile-symlink.eselect: Fix sed to use current
- profiles.desc format. Also, ensure that explicitly specified profiles
- are actually valid for the host arch.
- * man/Makefile.am: Add missing manual pages.
- * man/profile.eselect.5: Add missing '.br'.
- * configure.in, Makefile.am, doc/Makefile.am: Added Makefile.am for
- doc/ with html target.
-
-2005-05-07 Danny van Dyk <kugelfang@gentoo.org>
-
- * libs/output.bash.in: Added function 'space'.
- * libs/default.eselect.in: Fixed do_usage to filter 'action'.
- * man/blas.eselect: Added missing Section 'ACTION: SET'.
- * man/lapack.eselect: Added a manpage for the lapack module.
- * man/profile.eselect: Added a manpage for profile.
- * modules/blas.eselect: Finalized this module.
- * modules/lapack.eselect: Added lapack module.
-
-2005-04-25 Tom Martin <slarti@gentoo.org>
-
- * modules/mailer.eselect: Added mailwrapper module.
-
-2005-04-11 Aaron Walker <ka0ttic@gentoo.org>
-
- * man/Makefile.am: forgot to add $(man_MANS) to EXTRA_DIST.
- * modules/profile.eselect: Added make.profile module.
- * modules/bashcomp.eselect: Fixed do_list to ignore *~.
- * misc/Makefile.am: Added Makefile.am.
- * misc/eselect.bashcomp: Added eselect command-line completion.
-
-2005-04-10 Aaron Walker <ka0ttic@gentoo.org>
-
- * man/Makefile.am: Added Makefile.am.
-
-2005-04-07 Danny van Dyk <kugelfang@gentoo.org>
-
- * modules/blas.eselect: Added package information to outputs.
- * man/blas.eselect.1: Added a manpage for the blas module.
-
-2005-04-04 Danny van Dyk <kugelfang@gentoo.org>
-
- * man/eselect.1: Added a rudimental manpage.
-
-2005-03-24 Danny van Dyk <kugelfang@gentoo.org>
-
- * libs/config.bash.in: Fixed store_config(), added add_config().
- * libs/core.bash.in: Added function has().
- * libs/multilib.bash.in: Added multilib library.
- * modules/blas.eselect: Added blas module.
-
-2005-02-22 Aaron Walker <ka0ttic@gentoo.org>
-
- * modules/bashcomp.eselect: Added bashcomp module.
-
-2005-02-22 Ciaran McCreesh <ciaranm@gentoo.org>
-
- * ChangeLog: Start keeping a ChangeLog. GNU format.
Copied: tags/release-1.1.1/ChangeLog (from rev 583, trunk/ChangeLog)
===================================================================
--- tags/release-1.1.1/ChangeLog (rev 0)
+++ tags/release-1.1.1/ChangeLog 2009-06-06 14:09:29 UTC (rev 584)
@@ -0,0 +1,1492 @@
+2009-06-06 Ulrich Mueller <ulm@gentoo.org>
+
+ * configure.ac: Update version to 1.1.1.
+ * Tagged 1.1.1 release.
+
+ * modules/kernel.eselect (sort_kernel_versions): New function.
+ (find_targets): Sort kernel versions properly. Fixes bug 207889.
+
+2009-06-05 Ulrich Mueller <ulm@gentoo.org>
+
+ * modules/rc.eselect (is_script): Symlinks are implicitly
+ resolved, so no need to canonicalise.
+ (do_start, do_stop, do_pause, do_reload, do_restart)
+ (run_runscript): Move output message to calling functions.
+ (do_list): Output colours also if only one runlevel is shown.
+ (find_unused_scripts, show_script_status): New functions.
+ (do_show): Add "--unused" option to show status of scripts that
+ are not assigned to any runlevel; bug 271208.
+ (describe_show_options): Document new option.
+ * man/rc.eselect.5: Document new option for "show" action.
+
+2009-06-04 Ulrich Mueller <ulm@gentoo.org>
+
+ * modules/package-manager.eselect: New module, managing the
+ PACKAGE_MANAGER environment variable.
+ * man/package-manager.eselect.5: New man page.
+
+ * libs/package-manager.bash.in (package_manager): Test if selected
+ package manager exists, and fall back to Portage if not. Rename
+ variable ESELECT_PACKAGE_MANAGER to more generic PACKAGE_MANAGER.
+
+ * libs/editor-variable.bash.in (EDITOR_LIST); Allow alternative
+ "name:/path/to/binary" syntax for items.
+ (find_targets, do_list, do_set, do_update): Update accordingly.
+
+2009-05-27 Ulrich Mueller <ulm@gentoo.org>
+
+ * configure.ac: Update version to 1.1.
+ * Tagged 1.1 release.
+
+ * man/rc.eselect.5: Fix formatting for "show" action.
+
+ * libs/default.eselect.in (do_usage): Show usage message only:
+ our output may be parsed, e.g. by the bash-completion module.
+
+2009-05-23 Ulrich Mueller <ulm@gentoo.org>
+
+ * libs/package-manager.bash.in (package_manager): Avoid hyphen in
+ function identifier.
+
+ * misc/eselect.bashcomp (_eselect): Remove --no-colour option;
+ it is not needed since output is to a pipe. Use only POSIX basic
+ regular expressions for sed. Add completion for "set", "enable",
+ and "disable" subactions.
+
+2009-05-21 Ulrich Mueller <ulm@gentoo.org>
+
+ * configure.ac: Update version to 1.1_rc3.
+ * Tagged 1.1_rc3 release candidate.
+
+2009-05-19 Ulrich Mueller <ulm@gentoo.org>
+
+ * modules/news-tng.eselect (do_read): Output a message if there
+ are no news items to read.
+
+ * bin/eselect.in: Don't hardcode /bin/bash; use configured path
+ instead, as requested by Fabian Groffen <grobian@gentoo.org>.
+ * bin/Makefile.am (dosed): Also substitute BASH. Use at signs
+ throughout, instead of percent signs.
+ * libs/config.bash.in, libs/core.bash.in, libs/default.eselect.in:
+ * libs/editor-variable.bash.in, libs/manip.bash.in:
+ * libs/multilib.bash.in, libs/output.bash.in:
+ * libs/package-manager.bash.in, libs/path-manipulation.bash.in:
+ * libs/tests.bash.in: Remove unnecessary shebang lines.
+ * libs/Makefile.am (eselectlibs_DATA): Don't set executable bit
+ for installed libs; therefore rename eselectlibs_SCRIPTS.
+ (CLEANFILES): Update accordingly.
+
+ * configure.ac: Update version to 1.1_rc2.
+ * Tagged 1.1_rc2 release candidate.
+
+ * libs/package-manager.bash.in (run_paludis): Renamed from paludis
+ to prevent infinite loop. Fixes bug 270406.
+ (envvar, best_version, has_version, get_repositories)
+ (get_repo_news_dir): Use run_paludis instead of paludis.
+
+ * README: Use consistent indentation for all source files.
+
+2009-05-18 Ulrich Mueller <ulm@gentoo.org>
+
+ * configure.ac: Update version to 1.1_rc1.
+ * Tagged 1.1_rc1 release candidate.
+
+2009-05-16 Ulrich Mueller <ulm@gentoo.org>
+
+ * modules/kernel.eselect: Fix quoting, simplify syntax for array
+ arguments, declare local variables, and other stylistic tweaks.
+
+ * modules/ruby.eselect: Remove outdated ruby module, as discussed
+ with Alex Legler <a3li@gentoo.org>. Current version is maintained
+ at <git://git.overlays.gentoo.org/proj/ruby-scripts.git>.
+
+2009-05-15 Ulrich Mueller <ulm@gentoo.org>
+
+ * libs/package-manager.bash.in (envvar, best_version, has_version)
+ (get_repositories, get_repo_news_dir): Directly call package
+ manager commands with their arguments; no need to hide them in an
+ extra layer of trivial functions.
+ (get_news_dir_name): Deprecate, since it provides no additional
+ functionality. Use get_repo_news_dir instead.
+ (portageq): Function moved here from portage.bash.in.
+ (paludis): New function, paludis wrapper with redirected stderr.
+ (inherit): Don't inherit portage and paludis libs.
+ * libs/paludis.bash.in, libs/portage.bash.in: Remove, after having
+ verified that these libraries are not used by any module: neither
+ internal nor in external app-admin/eselect-* packages.
+ * libs/Makefile.am (eselectlibs_SCRIPTS, EXTRA_DIST): Update.
+
+ * libs/Makefile.am (dosed): Also substitute prefix, datadir and
+ sysconfdir.
+
+ * libs/skel.bash.in (find_implems, is_active, switch_implem)
+ (iface_do_show, do_add): Use @sysconfdir@ instead of /etc.
+ (do_list, do_show): Use @prefix@ instead of /usr.
+ (inherit): The portage lib is not used, so don't inherit it.
+
+ * libs/package-manager.bash.in (arch): Add case patterns for
+ ppc-macos. Taken from patch in Prefix overlay.
+
+2009-05-11 Ulrich Mueller <ulm@gentoo.org>
+
+ * modules/emacs.eselect, modules/ctags.eselect:
+ * man/emacs.eselect.5, man/ctags.eselect.5: Sync the emacs and
+ ctags modules from the Emacs SVN repository (r1275), corresponding
+ to the eselect-emacs-1.10 release.
+
+2009-05-05 Ulrich Mueller <ulm@gentoo.org>
+
+ * modules/news-tng.eselect (do_list): Display fallback values if
+ title or date of a news item are not available.
+ (do_read): Display an error message if the return status of
+ read_item was bad.
+
+ * modules/editor.eselect:
+ * modules/visual.eselect (EDITOR_LIST): Add some alternatives.
+
+ * libs/output.bash.in (init_columns): New function, determine
+ width of terminal and set COLUMNS variable.
+ (get_column_width): Remove.
+ (write_kv_list_entry): Get screen width from COLUMNS variable.
+ * bin/eselect.in: Call init_columns during initialisation.
+ This way, stty must be called only once, and not for each row when
+ outputting a table.
+
+2009-05-01 Ulrich Mueller <ulm@gentoo.org>
+
+ * doc/developer-guide.txt: Update documentation.
+
+2009-04-30 Ulrich Mueller <ulm@gentoo.org>
+
+ * modules/news-tng.eselect (find_items): Use space-separated list
+ for "repos", instead of an array.
+ (do_read): Also show "Translator" header lines.
+
+ * modules/mailer.eselect:
+ * man/mailer.eselect.5: The mailer module is no longer supported
+ by MTA packages and therefore not functional, see bug 220473.
+ Remove the module and its man page.
+ * modules/Makefile.am (safe_scripts):
+ * man/Makefile.am (man_MANS): Update Makefiles accordingly.
+
+2009-04-28 Ulrich Mueller <ulm@gentoo.org>
+
+ * modules/mailer.eselect (do_list): Highlight selected target,
+ patch by Karl Hakimian <t4y68ds02@sneakemail.com> in 220473.
+
+ * configure.ac: Fix test for greadlink.
+
+ * configure.ac: Add --with-pm option for configuring the preferred
+ package manager. Supply a default path for portageq.
+ * libs/Makefile.am (dosed): Substitute PACKAGE_MANAGER.
+ * libs/package-manager.bash.in (package-manager): Return package
+ manager chosen at configure time. Overriding is possible by
+ environment variable ESELECT_PACKAGE_MANAGER.
+
+2009-04-27 Ulrich Mueller <ulm@gentoo.org>
+
+ * modules/opengl.eselect (check_version): Don't call portageq
+ directly, use generic has_version function instead.
+
+ * libs/package-manager.bash.in (get_repositories): In the Portage
+ case, use "portageq get_repos".
+ (get_repo_news_dir): Use "portageq get_repo_path".
+ (best_version): Default to / if ROOT is empty, otherwise portageq
+ doesn't work. Actually use Portage's and Paludis's "best_version"
+ commands, not "has_version". Rename to agree with the ebuild
+ helper; this shouldn't be a problem since the function was not
+ working before.
+ (has_version): Default to / if ROOT is empty. Remove redundant
+ return statements.
+
+ * libs/portage.bash.in (portageq): Expand "$@" not $*.
+ (portage_get_repo_name, portage_get_repository): No longer needed.
+
+2009-04-25 Ulrich Mueller <ulm@gentoo.org>
+
+ * man/binutils.eselect.5:
+ * man/blas.eselect.5:
+ * man/cblas.eselect.5:
+ * man/lapack.eselect.5:
+ * man/mailer.eselect.5:
+ * man/opengl.eselect.5:
+ * man/profile.eselect.5: Use man macros.
+
+ * modules/news-tng.eselect: Yet another module for reading GLEP 42
+ news items. Rewritten from scratch.
+ * man/news-tng.eselect.5: New man page.
+ * modules/Makefile.am (safe_scripts):
+ * man/Makefile.am (man_MANS): Update.
+
+ * libs/package-manager.bash.in (get_repo_news_dir): New function.
+ (get_news_dir_name): Call get_repo_news_dir.
+
+ * libs/Makefile.am (dosed): Remove Paludis substitution, it is
+ unused since the change of 2008-01-28.
+
+2009-04-23 Ulrich Mueller <ulm@gentoo.org>
+
+ * libs/package-manager.bash.in (package-manager):
+ Rename ESELECT_PACKAGE_MANAGER_CACHE to ESELECT_PACKAGE_MANAGER
+ and don't export it. Prefer Portage over Paludis.
+
+ * libs/output.bash.in (get_column_width): Default to a width of
+ 80 characters, not 79.
+
+ * modules/modules.eselect (do_list): Assign the name of the module
+ to ESELECT_MODULE_NAME, bug 220116.
+
+ * modules/env.eselect (describe_update_parameters):
+ Add "noldconfig" parameter.
+
+ * man/eselect.1: Update, "list-modules" is now "modules list".
+
+ * man/rc.eselect.5: Document latest changes in "show" action.
+
+ * man/eselect.1:
+ * man/bashcomp.eselect.5:
+ * man/env.eselect.5:
+ * man/kernel.eselect.5:
+ * man/rc.eselect.5: Fix usage of bold and italic text. Fix title.
+ Use man macros instead of low-level roff formatting.
+
+2009-04-21 Ulrich Mueller <ulm@gentoo.org>
+
+ * libs/core.bash.in (do_action): Call "shift" twice instead of
+ "shift 2" since there may be only one parameter.
+
+ * libs/path-manipulation.bash.in (basename, dirname)
+ (canonicalise): Quote arguments to make functions whitespace safe.
+
+ * modules/modules.eselect (do_list, do_has): Fix quoting.
+
+ * modules/compiler.eselect.in: Remove dead module.
+
+ * modules/rc.eselect (do_show): Add --all option. No need for an
+ extra subshell; do_action already calls us from one.
+ (describe_show_options): Document it.
+
+2009-04-20 Ulrich Mueller <ulm@gentoo.org>
+
+ * libs/tests.bash.in (has): Quote $@ in order to expand positional
+ parameters correctly.
+
+ * modules/rc.eselect (source_rc_functions, get_runlevel):
+ New functions for OpenRC (and baselayout-1) support.
+ (RC_SVCDIR, rc_svcdir): Removed.
+ (do_show): Function completely rewritten; use the common API
+ of baselayout-1 and OpenRC. Thanks to Sebastian Günther
+ <samson@guenther-roetgen.de> in bug 180966.
+ (describe_show, describe_show_parameters, describe_show_options):
+ Document optional "runlevel" parameter of do_show().
+
+ * libs/editor-variable.bash.in:
+ * modules/editor.eselect:
+ * modules/visual.eselect:
+ * modules/pager.eselect: New modules and library, managing the
+ EDITOR, VISUAL and PAGER environment variables; bug 190216.
+ * man/editor.eselect.5:
+ * man/visual.eselect.5:
+ * man/pager.eselect.5: New man pages.
+ * libs/Makefile.am (eselectlibs_SCRIPTS, EXTRA_DIST):
+ * modules/Makefile.am (safe_scripts):
+ * man/Makefile.am (man_MANS): Add the new files.
+
+2009-04-19 Thomas Anderson <gentoofan23@gentoo.org>
+
+ * modules/opengl.eselect: Fix removal of symlinks when the symlink is
+ broken. Thanks to Maximilian Grothusmann in bug #228547. Fixes: #228547
+
+2009-04-18 Ulrich Mueller <ulm@gentoo.org>
+
+ * modules/rc.eselect (do_delete): Don't die if the script is no
+ longer in /etc/init.d/. Fixes bug 156866.
+ (describe_add_parameters, describe_delete_parameters): Suppress
+ newlines.
+
+ * AUTHORS: Add fauli and myself for the ctags and emacs modules.
+
+ * bin/eselect.in: Remove all alias definitions. Unset functions
+ and variables that are known to cause trouble. Fixes bug 155814.
+
+2009-04-17 Ulrich Mueller <ulm@gentoo.org>
+
+ * libs/core.bash.in (die): Eliminate pgrep call; just kill the
+ main process and exit.
+
+ * bin/eselect.in (ec_do_list-modules): Use do_action for calling
+ the module, not eselect. Quote "$@".
+ (ESELECT_KNOWN_OPTIONS): Treat 'help' and 'version' options as if
+ they were actions. Fixes bug 153890.
+ (trap): Redirect exit message to stderr.
+
+ * modules/modules.eselect: Don't inherit 'output' and 'tests',
+ since they are already inherited by the main script, and for
+ consistency with other modules.
+ (describe_add, describe_add_parameters, do_add): Commented out.
+
+ * libs/output.bash.in (colours): New function, initialise colour
+ escape sequences. Don't initialise them in global scope any more.
+ * bin/eselect.in: Call 'colours' if stdout is a tty, otherwise
+ call 'nocolours'.
+
+ * modules/env.eselect (is_envfile): Define POSIXLY_CORRECT for
+ 'file' in order to dereference symbolic links. Bug 240402.
+
+2009-04-16 Ulrich Mueller <ulm@gentoo.org>
+
+ * libs/output.bash.in (write_kv_list_entry): Fix logic for
+ insertion of spaces between words, bug 260464.
+
+ * libs/config.bash.in (store_config): Split config file content
+ on newlines only, not on all whitespace. Fixes bug 219864.
+
+ * misc/eselect.bashcomp (_eselect): Suppress 'Killed' message.
+ Don't match regexps on escape sequences. Fixes bug 218557.
+
+ * libs/core.bash.in (die): Suppress error messages from pgrep
+ and kill, bugs 174354 and 264734.
+
+2009-04-15 Ulrich Mueller <ulm@gentoo.org>
+
+ * modules/rc.eselect (do_add): Don't symlink into ROOT. Patch by
+ Matthijs Kooijman in bug 204937.
+
+ * libs/output.bash.in (get_column_width): Don't call stty if
+ standard output is not a terminal. Bug 198461.
+
+2009-04-14 Ulrich Mueller <ulm@gentoo.org>
+
+ * libs/output.bash.in (write_list_start): Add quotes to prevent
+ globbing, fixes bug 232874.
+
+ * bin/eselect.in (ESELECT_DATA_PATH): Remove trailing slant,
+ fixes bug 203114.
+
+2009-04-13 Ulrich Mueller <ulm@gentoo.org>
+
+ * libs/output.bash.in (COLOUR_NORMAL, COLOUR_BOLD, COLOUR_HI)
+ (COLOUR_WARN, COLOUR_ERROR, COLOUR_LIST_HEADER)
+ (COLOUR_LIST_LEFT, COLOUR_LIST_RIGHT): Initialise with tput,
+ in a terminal independent way, bug 198461.
+
+ * bin/eselect.in: Disable colour output if stdout is not a tty,
+ bug 198461.
+
+2009-04-08 Jeremy Olexa <darkside@gentoo.org>
+
+ * modules/profile.eselect (do_show, do_list):
+ Make 'eselect profile show' show the relative path. Patch by
+ Thomas Bellman in bug 248487.
+
+ * modules/profile.eselect (set_symlink): Allow parent profiles
+ to be selectable, patch by Thomas Bellman in bug 248470.
+
+2008-06-01 Ulrich Mueller <ulm@gentoo.org>
+
+ * man/binutils.eselect.5: Fix typo, bug 172636.
+
+ * man/eselect.1: Fix man section, bug 172636.
+
+2008-03-24 Ulrich Mueller <ulm@gentoo.org>
+
+ * modules/emacs.eselect, modules/ctags.eselect:
+ * man/emacs.eselect.5, man/ctags.eselect.5: Import the emacs and
+ ctags modules from the Emacs SVN repository (r1030), corresponding
+ to the eselect-emacs-1.3 release.
+
+2008-01-28 Piotr Jaroszyński <peper@gentoo.org>
+
+ * configure.ac, libs/paludis.bash.in: Check for paludis binary at
+ runtime.
+
+2007-12-02 Piotr Jaroszyński <peper@gentoo.org>
+
+ * NEWS: Merge NEWS from branch-1.0.x and add trunk section with
+ current changes.
+
+2007-12-01 Piotr Jaroszyński <peper@gentoo.org>
+
+ * NEWS: Add missing news entry for 1.0.10.
+
+2007-11-30 Piotr Jaroszyński <peper@gentoo.org>
+
+ * libs/config.bash.in, modules/env.eselect, modules/esd.eselect,
+ +modules/timidity.eselect, NEWS: Merge various changes from 1.0.x
+ branch.
+
+2007-11-27 Piotr Jaroszyński <peper@gentoo.org>
+
+ * libs/package-manager.bash.in, libs/paludis.bash.in,
+ libs/portage.bash.in: Add stuff to be used by new eselect-news.
+
+2007-10-27 Jeremy Huddleston <eradicator@gentoo.org>
+
+ * modules/opengl.eselect: Cleaned out old cruft which supported the
+ 2004.3 amd64 profile. Improved support for cleaning up after
+ switching away from newer nvidia drivers.
+
+2007-09-21 Donnie Berkholz <dberkholz@gentoo.org>
+
+ * libs/skel.bash.in: (#189942) Allow resetting to the current
+ implementation, so changes to the symlink map can propagate.
+
+2007-03-08 Mike Kelly <pioto@gentoo.org>
+
+ * man/Makefile.am: Really really really fix parallel install.
+
+2007-02-28 Mike Kelly <pioto@gentoo.org>
+
+ * bin/Makefile.am, man/Makefile.am: Undo the most recent "fix".
+
+2007-02-28 Mike Kelly <pioto@gentoo.org>
+
+ * modules/vi.eselect: Clean up vi.eselect a bit.
+
+2007-02-27 Danny van Dyk <kugelfang@gentoo.org>
+
+ * bin/Makefile.am, man/Makefile.am: Fix symlink creation for real now.
+ * modules/env.eselect: Fix parsing of *_SEPARATED.
+
+2007-01-29 Mike Kelly <pioto@gentoo.org>
+
+ * bin/Makefile.am, man/Makefile.am: Fix symlink creation.
+
+ + Fixes: #163915
+
+2007-01-15 Mike Kelly <pioto@gentoo.org>
+
+ * bin/Makefile.am: Really fix parallel install. From r353 in
+ branches/branch-1.0.x/
+
+ + Fixes: #162008
+
+2006-11-24 Diego Pettenò <flameeyes@gentoo.org>
+
+ * modules/esd.eselect: Add the esound selection module, that I
+ forgot to add before.
+
+2006-11-17 Kevin F. Quinn <kevquinn@gentoo.org>
+
+ * modules/oodict.eselect: Allow more than one dictionary file for
+ a language to be entered into OOo's dictionary list.
+ * modules/myspell.eselect: As for oodict.eselect; also add a
+ command "default" for setting system-wide default dictionary.
+
+2006-11-13 Mike Kelly <pioto@gentoo.org>
+
+ * configure.ac, libs/Makefile.am, Makefile.am, modules/Makefile.am:
+ Fix distcheck.
+
+2006-10-28 Danny van Dyk <kugelfang@gentoo.org>
+
+ * bin/eselect.in: Add a new envvar for the default modules path.
+ * libs/core.bash.in: Make inherit() remember the libs it already
+ processed and don't source them again.
+ * modules/modules.eselect: Clean up a bit. Change add action to not
+ check for root.
+
+2006-10-28 Mike Kelly <pioto@gentoo.org>
+
+ * modules/Makefile.am: Add modules.eselect to Makefile.am.
+
+2006-10-28 Mike Kelly <pioto@gentoo.org>
+
+ * modules/modules.eselect: Add a new module, for listing, querying,
+ and installing eselect modules.
+
+2006-10-26 Timothy Redaelli <drizzt@gentoo.org>
+
+ * modules/whois.eselect: Make a missing man page just cause a
+ warning (to work with folks who use FEATURES=noman,
+ etc). (modifications taken from vi.eselect)
+
+2006-10-26 Mike Kelly <pioto@gentoo.org>
+
+ * modules/vi.eselect: Make a missing man page just cause a warning (to
+ work with folks who use FEATURES=noman, etc).
+
+2006-10-24 Danny van Dyk <kugelfang@gentoo.org>
+
+ * libs/core.bash.in: Fix bug #152662. Thanks to Roy Marples
+ <uberlord@gentoo.org> for finding and Mike Kelly <pioto@gentoo.org>
+ for reporting it.
+ * modules/env.eselect: Fix bug #152318. Thanks to Jason Stubbs
+ <jstubbs@gentoo.org> for report and patch.
+
+2006-10-23 Timothy Redaelli <drizzt@gentoo.org>
+
+ * modules/whois.eselect: Added whois module.
+
+2006-10-22 Danny van Dyk <kugelfang@gentoo.org>
+
+ * configure.ac: Changed version to 1.1.0. (development branch)
+ * libs/config.bash.in: Fix quotation in load_config().
+
+2006-10-22 Mike Kelly <pioto@gentoo.org>
+
+ * modules/vi.eselect: Clean up and add proper support for non-gzip- or
+ bzip2-compressed man pages.
+
+2006-10-21 Danny van Dyk <kugelfang@gentoo.org>
+
+ * modules/env.eselect: Clean up and fix bug #151701.
+ * libs/paludis.bash.in, libs/package-manager.bash.in: Fix some bugs
+ and general cleanup. Complete package manager abstraction.
+ * doc/developer-guide.txt: Update developer documentation to reflect
+ API changes.
+
+2006-10-17 Mike Kelly <pioto@gentoo.org>
+
+ * modules/vi.eselect: Make sure that the return value of
+ remove_symlinks() is meaningful.
+
+2006-10-09 Joshua Nichols <nichoj@gentoo.org>
+
+ * modules/java.eselect: Removed obsolete module, in favor of
+ java-vm.eselect.
+
+2006-10-09 Donnie Berkholz <dberkholz@gentoo.org>
+
+ * modules/opengl.eselect: Fix when ROOT != /.
+
+2006-10-03 Danny van Dyk <kugelfang@gentoo.org>
+
+ * modules/binutils.eselect: Finally fixed bug #149627.
+ * libs/paludis.bash.in: Fixed typo.
+ * configure.ac: Changed version to 1.0.6.
+ * libs/core.bash.in: Tweaked die function to have a nicer output.
+ * Tagged 1.0.6 release.
+
+2006-10-02 Mike Kelly <pioto@gentoo.org>
+
+ * modules/vi.eselect: Apply fix from bug #147857.
+
+2006-01-10 Danny van Dyk <kugelfang@gentoo.org>
+
+ * modules/binutils.eselect: Fixed bug #149627. Thanks to
+ Charlie Shepherd for finding this.
+
+2006-09-22 Danny van Dyk <kugelfang@gentoo.org>
+
+ * modules/profiles.eselect: Fixed bug #148534 by inheriting
+ package-manager. Thanks to Mike Kelly <pioto@gentoo.org>.
+
+2006-09-20 Danny van Dyk <kugelfang@gentoo.org>
+
+ * libs/config.bash.in: Fixed whitespaces and bug #147930.
+ * libs/core.bash.in: Enhanced die function to SIGKILL eselect if
+ SIGTERM failed.
+
+2006-09-19 Mike Kelly <pioto@gentoo.org>
+
+ * modules/vi.eselect: Add support for vile, xvile, and elvis.
+ * modules/Makefile.am: Remove the vi.eselect module, so it isn't
+ distributed with the main eselect code.
+
+2006-09-17 Danny van Dyk <kugelfang@gentoo.org>
+
+ * man/rc.eselect.5: Fixed bug #144882.
+
+2006-08-30 Danny van Dyk <kugelfang@gentoo.org>
+
+ * libs/output.bash.in: Fix bug #140633 by adding missing quoting in
+ write_{kv,numbered}_list_entry.
+ * modules/rc.eselect: Add 'reload' action as requested in bug #144152.
+
+2006-08-26 Danny van Dyk <kugelfang@gentoo.org>
+
+ * Tagged 1.0.5 release.
+
+2006-08-21 Danny van Dyk <kugelfang@gentoo.org>
+
+ * modules/compiler.eselect.in: Fix previous accidental commit of local
+ changes. Reverted to r271.
+
+2006-08-17 Donnie Berkholz <dberkholz@gentoo.org>
+
+ * libs/skel.bash.in: Small usability tweak -- change printed
+ references from "libdir" to "library directory."
+
+2006-08-17 Donnie Berkholz <dberkholz@gentoo.org>
+
+ * libs/skel.bash.in: Ensure that there are implementations available
+ in a given libdir before executing code that assumes so. Reported
+ by Danny van Dyk. Add some comments in this area too, since the code
+ can take a little time to parse.
+ * ChangeLog: Change a couple references to my old nick.
+
+2006-08-06 Kevin F. Quinn <kevquinn@gentoo.org>
+
+ * modules/oodict.eselect: Modify to install all dictionaries files for
+ a language where the language has more than one - bug #139669
+
+2006-08-04 Kevin F. Quinn <kevquinn@gentoo.org>
+
+ * modules/myspell.eselect: Initial version of combined myspell
+ eselect module, to support all applications that have their own
+ directory for myspell dictionaries via symlinks to the shared
+ installation area. Bug #139422
+ Set properties, cleaned up help text.
+
+2006-08-04 Danny van Dyk <kugelfang@gentoo.org>
+
+ * modules/kernel.eselect: Fix Bug #141106: list action doesn't
+ highlight currently the currently selected sources.
+
+2006-08-03 Danny van Dyk <kugelfang@gentoo.org>
+
+ * Tagged 1.0.4 release.
+
+2006-08-02 Danny van Dyk <kugelfang@gentoo.org>
+
+ * libs/paludis.bash.in, libs/package-manager.bash.in: Remove
+ paludis-repo(). Fix paludis-envvar(). Finish envvar() unction.
+ * configure.ac: Set version to 1.0.4.
+ * modules/config.eselect, modules/binutils.eselect: Convert to
+ envvar().
+ * autogen.bash: Fix autogen.bash to be able to use autoconf-2.60.
+
+2006-07-16 Danny van Dyk <kugelfang@gentoo.org>
+
+ * libs/paludis.bash.in, libs/package-manager.bash.in: Convert to
+ envvar() call. envvar() now needs a package qualifier as first
+ parameter.
+ * autogen.bash: New autogen tool to correctly use autoconf-2.60.
+
+2006-07-15 Donnie Berkholz <dberkholz@gentoo.org>
+
+ * libs/skel.bash.in: Fix check for whether implementations are
+ available before attempting to switch to them. This fixes
+ switching based on name rather than number.
+
+2006-07-07 Kevin F. Quinn <kevquinn@gentoo.org>
+
+ * modules/tbirddict.eselect: Fixed default thunderbird;
+ directory; bug #139422 - thanks Rodolphe Rocca
+
+2006-07-07 Kevin F. Quinn <kevquinn@gentoo.org>
+
+ * modules/tbirddict.eselect: new module to support dictionary
+ installation for Mozilla Thunderbird; bug #139422
+
+2006-07-06 Kevin F. Quinn <kevquinn@gentoo.org>
+
+ * modules/oodict.eselect: support --libdir option to
+ support multilib, in particular 32-bit binary builds
+ used on amd64; bug #139228
+
+2006-07-06 Danny van Dyk <kugelfang@gentoo.org>
+
+ * modules/opengl.eselect: Updated ebuild version number.
+
+2006-07-03 Danny van Dyk <kugelfang@gentoo.org>
+
+ * Tagged 1.0.3 release.
+
+2006-07-01 Danny van Dyk <kugelfang@gentoo.org>
+
+ * libs/portage.bash.in, libs/paludis.bash.in,
+ libs/package-manager.bash.in, libs/Makefile.am, configure.ac: Added
+ support for other package managers than portage. Public functions are
+ part of package-manager.bash. paludis.bash and portage.bash provide
+ private backend functions.
+
+ * modules/profile.eselect: Marked as portage-only module.
+
+ * modules/opengl.eselect, modules/binutils.eselect: Change from
+ inherit portage to inherit package-manager.
+
+ * modules/rc.eselect: Fix bug in list_runlevels(). Respect setting of
+ ${svcdir} in /etc/rc.conf. Add support to show() runlevels other than
+ the current.
+
+2006-06-21 Kevin F. Quinn <kevquinn@gentoo.org>
+
+ * modules/oodict.eselect: Fix update action (variable name typo), and
+ handle missing OOo dictionary.lst properly.
+
+2006-06-19 Kevin F. Quinn <kevquinn@gentoo.org>
+
+ * modules/oodict.eselect: Align description with other modules.
+
+2006-06-18 Donnie Berkholz <dberkholz@gentoo.org>
+
+ * libs/skel.bash.in, libs/Makefile.am, doc/developer-guide.txt:
+ Add a new skel.bash library for easy implementation of the simpler
+ cases of switching, and document it.
+
+ * modules/blas.eselect, modules/cblas.eselect, modules/lapack.eselect,
+ man/blas.eselect.5, man/cblas.eselect.5, man/lapack.eselect.5:
+ Use the skel.bash library to create new eselect modules for blas,
+ cblas and lapack. Update documentation to reflect this.
+
+ * modules/Makefile.am, man/Makefile.am:
+ The new blas/cblas/lapack modules will be installed as standalone
+ packages, so remove them from Makefile.am files.
+
+2006-06-13 Kevin F. Quinn <kevquinn@gentoo.org>
+
+ * modules/oodict.eselect: Clean up output when dictionaries are
+ installed outside of myspell ebuilds. See bug #135520 comment 4.
+
+2006-06-11 Danny van Dyk <kugelfang@gentoo.org>
+
+ * modules/env.eselect: Fixed handling of files in /etc/env.d/ which
+ are untruly detected as non-plain-text by file utility (see bug
+ #130098). Fixed generation of /etc/profile.csh (see bug #136111).
+ Thanks to Patrick MacLean <chutzpah@gentoo.org> for both fixes.
+
+2006-06-10 Jeremy Huddleston <eradicator@gentoo.org>
+
+ * modules/opengl.eselect: Added env update, added inherit config
+ * modules/compiler.eselect.in: Added env update
+
+2006-06-03 Kevin F. Quinn <kevquinn@gentoo.org>
+
+ * modules/oodict.eselect: Tidy up info messages, clean up handling of
+ nothing-installed and configured cases.
+
+2006-05-31 Kevin F. Quinn <kevquinn@gentoo.org>
+
+ * modules/oodict.eselect: New module for managing dictionaries with
+ OpenOffice.org. See bug #132247.
+
+2006-04-14 Danny van Dyk <kugelfang@gentoo.org>
+
+ * libs/config.bash: Fixed creation of empty configfile.
+ * modules/kernel.eselect: Applied enhancement patch by Diego Petteno
+ <flameeyes@gentoo.org>. kernel.eselect can now be called using 'uname
+ -r' as an argument. See bug #128703.
+ * Tagged 1.0.2 release.
+
+2006-04-03 Danny van Dyk <kugelfang@gentoo.org>
+
+ * modules/env.eselect: Don't die if ${ROOT}/etc/profile.env does not
+ exist.
+
+2006-04-01 Danny van Dyk <kugelfang@gentoo.org>
+
+ * Tagged 1.0.1 release.
+ * configure.ac: Fixed substitution of CANONICALISE.
+ * modules/env.eselect: Fixed calls to canonicalise().
+ * modules/kernel.eselect: Fixed output of show action.
+
+2006-03-31 Danny van Dyk <kugelfang@gentoo.org>
+
+ * configure.ac: Fixed some BSD issues in regard to CANONICALISE.
+ Thanks to Diego Petteno <flameeyes@gentoo.org> for the patch.
+
+2006-03-30 Danny van Dyk <kugelfang@gentoo.org>
+
+ * modules/binutils.eselect: Cleaned up the Coding Style a bit.
+ * libs/path-manipulation.bash.in, doc/developer-guide.txt,
+ configure.ac: Added support for the canonicalise function, a wrapper
+ to either GNU readlink or realpath.
+ * modules/binutils.eselect, modules/blas.eselect,
+ modules/config.eselect, modules/env.eselect, modules/kernel.eselect,
+ modules/lapack.eselect, modules/mailer.eselect,
+ modules/oracle.eselect, modules/profile.eselect, modules/rc.eselect,
+ modules/ruby.eselect, modules/vi.eselect: Converted to use
+ canonicalise() instead of readlink -f. This ensure portability of
+ eselect to *BSD.
+
+2006-03-25 Tobias Scherbaum <dertobi123@gentoo.org>
+
+ * modules/oracle.eselect: Added oracle module. Not adding to
+ Makefile.am as it's not going to be installed with the base package.
+
+2006-03-09 Danny van Dyk <kugelfang@gentoo.org>
+
+ * modules/binutils.eselect, man/binutils.eselect.5: Added show action.
+ * configure.ac: Updated version to 1.0.1 for pending release.
+
+2006-03-08 Danny van Dyk <kugelfang@gentoo.org>
+
+ * modules/env.eselect: Fixed a typo (chmod g+r instead of chmod a+r).
+ * modules/blas.eselect, modules/lapack.eselect: Added option
+ descriptions for action 'set'.
+ * modules/env.eselect: Added FreeBSD patch written by Diego Petteno.
+ * man/binutils.eselect.5, man/blas.eselect.5, man/env.eselect.5,
+ lapack.eselect.5, man/rc.eselect.5: Synchronized the manpages with the
+ current state of the repository.
+
+2006-03-04 Danny van Dyk <kugelfang@gentoo.org>
+
+ * modules/rc.eselect: Fixed a bug in the is_script() function.
+ With this change the 'show' action works again.
+ * modules/kernel.eselect: Fixed trailing slashes in the 'show' action.
+
+2006-03-01 Danny van Dyk <kugelfang@gentoo.org>
+
+ * modules/env.eselect: Fixed bug #124472. env.eselect now uses a
+ temporary file, honours a symlinked profile.env and fixes
+ permissions on the final profile.env.
+
+2006-02-09 Ciaran McCreesh <ciaranm@gentoo.org>
+
+ * Tagged 1.0 release.
+ * libs/core.bash.in: Fix die filenames, thanks to Donnie Berkholz.
+
+2005-12-18 Danny van Dyk <kugelfang@gentoo.org>
+
+ * modules/env.eselect: Fixed bug #114778: restrict load_config()
+ to textfiles with proper contents.
+ * libs/multilib.bash.in: Fixed bug #114274: don't rely on a hardcoded
+ table of libdirs but scan ld.so.conf for them instead.
+ * modules/blas.eselect, modules/lapack.eselect: Fixed bug #115548:
+ make commands list, show and set scan if scan hasn't been previously
+ run.
+
+2005-12-17 Ciaran McCreesh <ciaranm@gentoo.org>
+
+ * modules/output.bash.in: Fix nocolour, Gentoo bug #115677.
+
+2005-12-06 Danny van Dyk <kugelfang@gentoo.org>
+
+ * modules/rc.eselect: Fixed Bug in is_script() to detect symlinked
+ init scripts like net.ethX -> net.eth0 properly.
+
+2005-11-17 Aaron Walker <ka0ttic@gentoo.org>
+
+ * docs/developer-guide.txt: Fix title underline length since the
+ length of the title changed (add_config => append_config).
+
+2005-11-16 Danny van Dyk <kugelfang@gentoo.org>
+
+ * libs/config.bash.in, docs/developer-guide.txt: Changed add_config()
+ to append_config(). Function now doesn't append data if it occurs
+ already in the value.
+ * libs/multilib.bash.in: Removed lib from list of amd64 libdirs.
+ * modules/blas.eselect, modules/lapack.eselect: Added support for
+ MKL72. Some cleanup of Bugs and untidy work.
+
+2005-11-01 Ciaran McCreesh <ciaranm@gentoo.org>
+
+ * bin/eselect.in: Add read- and -reader symlink module name decoding
+ voodoo options.
+
+2005-10-30 Aaron Walker <ka0ttic@gentoo.org>
+
+ * libs/output.bash.in: Updated write_kv_list_entry with several bug
+ fixes: now handles args with leading whitespace appropriately, doesn't
+ append a ' ' onto the end of lines, displays the value on the next
+ line if key is too long.
+
+2005-10-29 Thomas Matthijs <axxo@gentoo.org>
+
+ * modules/java.eselect: Don't assume uid 0 has super powers,
+ * modules/java.eselect: Added simple java module, for configuring
+ system and user vm.
+
+2005-10-19 Jeremy Huddleston <eradicator@gentoo.org>
+
+ * modules/opengl.eselect: Added missing inherit config
+
+2005-10-19 Aaron Walker <ka0ttic@gentoo.org>
+
+ * libs/output.bash.in: Use ${#indent} instead of a literal '28'.
+
+ * Tagged 1.0_rc1 release.
+ * libs/output.bash.in: Modified write_kv_list_entry to properly wrap
+ lines that are longer than the current terminal width.
+ * man/bashcomp.eselect.5: Added --global as a possible option for the
+ 'list' action.
+ * modules/env.eselect: Added describe_update_options and
+ describe_update_parameters.
+
+2005-10-18 Aaron Walker <ka0ttic@gentoo.org>
+
+ * modules/rc.eselect: Added missing space after the '1' in
+ "[[ ${#@} -gt 1]]" which caused an unexpected EOF in do_restart().
+ * configure.ac, Makefile.am, doc/Makefile.am: Added check for rst2html
+ and don't assume it is installed as 'rst2html.py' as most other
+ distro's/OS's install it without the .py extension. Also, don't
+ bail if portageq isn't found as eselect is supposed to be usable even
+ on non-Gentoo systems.
+ * libs/output.bash.in, doc/developer-guide.txt: Added
+ write_warning_msg function. Similar to write_error_msg but uses "!!!
+ Warning" and ${COLOUR_WARN}.
+ * libs/portage.bash.in: Have arch() use new write_warning_msg to print
+ a warning and return 1 if it cannot determine the arch instead of
+ die()'ing as the caller may want to do something anyways and exit
+ successfully ("eselect profile set --force" for example). Also fixed
+ errant 'i' in '[[ -z ${ROOT}i ]]' and also fixed indenting.
+ * modules/profile.eselect: Check the return value of arch() and
+ find_targets() and bail if necessary.
+
+2005-10-17 Aaron Walker <ka0ttic@gentoo.org>
+
+ * configure.ac: Update version to 1.0_rc1 for pending release.
+ * Makefile.am, man/Makefile.am, bin/Makefile.am: move 'symlinks'
+ variable declaration to top-level Makefile.am so both man/Makefile.am
+ and bin/Makefile.am can use it to generate symlinks (ie foo-config ->
+ eselect and foo.eselect.5 -> foo-config.1).
+ * modules/profile.eselect: Updated find_targets function to accept an
+ optional argument, portdir, so that if specified it doesn't need to
+ invoke portageq. This prevents portageq from being invoked twice when
+ the 'set' action is executed.
+ * modules/kernel.eselect, modules/binutils.eselect,
+ modules/mailer.eselect: Add describe_set_options and
+ describe_set_parameters.
+ * modules/bashcomp.eselect: Add describe_list_options since it also
+ accepts --global.
+ * man/kernel.eselect.5: Added manual page for kernel.eselect.
+ * man/profile.eselect.5: Fixed a typo.
+ * modules/rc.eselect: Bail on actions that require parameters when the
+ user doesn't specify them. Also added describe_action_options and
+ describe_action_parameters for each action that requires a parameter.
+ Also fixed vim ft s/ebuild/eselect/.
+ * bin/eselect.in: Bail if user specifies an invalid global option
+ instead of just ignoring it.
+
+2005-10-16 Jeremy Huddleston <eradicator@gentoo.org>
+
+ * modules/compiler.eselect.in: Added describe_*_{parameters,options}
+
+2005-10-16 Ciaran McCreesh <ciaranm@gentoo.org>
+
+ * modules/vi.eselect: Tidy up.
+
+2005-10-16 Jeremy Huddleston <eradicator@gentoo.org>
+
+ * modules/opengl.eselect: Added describe_set_{parameters,options}
+
+2005-10-16 Ciaran McCreesh <ciaranm@gentoo.org>
+
+ * doc/developer-guide.txt: Documentation for options and parameters.
+ * modules/bashcomp.eselect, modules/profile.eselect,
+ modules/cow.eselect: Implement actions and parameters.
+ * libs/default.eselect.in: Add describe_action_options and
+ describe_action_parameters support for default help action.
+ * libs/output.bash.in: Add -p option to write_ things.
+ * autogen.sh -> autogen.bash, doc/release-guide.txt, Makefile.am: Make
+ autogen work on systems with weirder autotools setups.
+
+2005-10-16 Danny van Dyk <kugelfang@gentoo.org>
+
+ * modules/rc.eselect: Fixed Bug #106540.
+
+2005-10-06 Jeremy Huddleston <eradicator@gentoo.org>
+
+ * modules/compiler.eselect.in: Ignore symlinks in the binpath. Fixed
+ a bug where selecting a non-native compiler removed the native
+ binaries. Use bin_prefix to determine reference file for timestamp
+ which is needed for the alternate targets of multilib crosscompilers.
+
+2005-10-05 Aaron Walker <ka0ttic@gentoo.org>
+
+ * modules/profile.eselect: Add a --force option to 'set' sub-command
+ so that users can force a profile set even if the profile is not
+ recognized as valid.
+ * man/profile.eselect.5: Document --force.
+
+2005-10-05 Jeremy Huddleston <eradicator@gentoo.org>
+
+ * modules/compiler.eselect.in: Support .s in CTARGET. Made logic
+ smarter when determining reference file for timestamp for crossdev.
+ Fixed a bug in migrate using spec instead of specs. Fixed a bug in
+ get_bins on crosscompilers.
+
+2005-10-01 Jeremy Huddleston <eradicator@gentoo.org>
+
+ * modules/compiler.eselect.in: Added getval action to query configs
+ and give backwards support for -X, -L, and -B in gcc-config.
+
+2005-09-30 Jeremy Huddleston <eradicator@gentoo.org>
+
+ * modules/compiler.eselect.in: Added migrate action to migrate from
+ 1.x configs.
+
+2005-09-24 Jeremy Huddleston <eradicator@gentoo.org>
+
+ * modules/compiler.eselect.in: Added show and unset actions.
+
+2005-09-16 Jeremy Huddleston <eradicator@gentoo.org>
+
+ * modules/compiler.eselect.in: Some cleanup and added update action.
+
+2005-09-13 Jeremy Huddleston <eradicator@gentoo.org>
+
+ * modules/opengl.eselect: fixed ACTION->action
+
+2005-09-11 Aaron Walker <ka0ttic@gentoo.org>
+
+ * libs/multilib.bash.in: Don't use absolute paths to executables!
+
+2005-09-11 Danny van Dyk <kugelfang@gentoo.org>
+
+ * modules/ruby.eselect: Added ruby module, written by Michael Kohl
+ <citizen428@gentoo.org>.
+
+2005-09-10 Danny van Dyk <kugelfang@gentoo.org>
+
+ * bin/eselect.in: Fixed Bug in usage of has(). Thanks to Sven Wegener
+ <swegener@gentoo.org> for spotting this.
+ * man/opengl.eselect: Added manpage for opengl module.
+ * libs/portage.bash.in, libs/Makefile.am,
+ configure.ac, modules/binutils.eselect, modules/config.eselect,
+ modules/opengl.eselect, modules/profile.eselect: Added portage
+ library, moved profile.eselect:get_arch() to portage.bash:arch().
+ * doc/developer-guide.txt: Changed documentation according to API
+ changes (inherit / core.bash-split).
+
+2005-09-05 Jeremy Huddleston <eradicator@gentoo.org>
+
+ * modules/opengl.eselect: Cleaned up code to conform to eselect
+ coding style. Make better use of the eselect API. Fixed a bug with
+ --impl-headers. Many thanks to Danny van Dyk <kugelfang@gentoo.org>.
+
+2005-09-05 Danny van Dyk <kugelfang@gentoo.org>
+
+ * libs/core.bash.in: Added inherit() function that allows dynamic
+ and individual sourcing of libraries for each module.
+ * bin/eselect.in: Removed sourcing of all available libraries and set
+ up default libraries to inherit.
+ * libs/core.bash.in, libs/path-manipulation.bash.in, libs/Makefile.in:
+ Moved basename() and dirname() to a new separate library.
+ * libs/core.bash.in, libs/test.bash.in: moved has() and is_function()
+ to tests library.
+ * modules/binutils.eselect, modules/blas.eselect, modules/env.eselect,
+ modules/lapack.eselect, modules/opengl.eselect: Added necessary
+ inherit lines.
+
+2005-09-04 Danny van Dyk <kugelfang@gentoo.org>
+
+ * modules/blas.eselect: Fixed a bug about setting implementation to
+ reference in case we had an active C implementation already. Storing
+ configuration will now be handled after the setup_*() step.
+ * modules/lapack.eselect: Storing configuration will now be handled
+ after the setup_*() step.
+ * modules/rc.eselect: Fixed a 'file not found' bug on bogus
+ baselayouts thanks to Mike Doty <kingtaco@gentoo.org>.
+
+2005-08-31 Danny van Dyk <kugelfang@gentoo.org>
+
+ * modules/kernel.eselect: Fixed bug #104354. kernel.eselect now looks
+ only for linux-kernel directories w/o listing source directories of
+ additional drivers.
+
+2005-08-23 Jeremy Huddleston <eradicator@gentoo.org>
+
+ * modules/compiler.eselect.in: Added eselect module for the
+ forthcoming compiler-config-2.0 (formerly gcc-config). It is alpha
+ code and currently only supports set and list actions.
+
+2005-08-23 Jeremy Huddleston <eradicator@gentoo.org>
+
+ * modules/opengl.eselect: Fixed a bug in creating symlinks to header
+ files.
+
+2005-08-17 Jeremy Huddleston <eradicator@gentoo.org>
+
+ * modules/opengl.eselect: Added opengl module. Not adding to
+ Makefile.am as it's not going to be installed with the base package.
+
+2005-08-08 Aaron Walker <ka0ttic@gentoo.org>
+
+ * man/bashcomp.eselect.5: Add missing description of --global flag.
+
+2005-07-25 Danny van Dyk <kugelfang@gentoo.org>
+
+ * modules/Makefile.am: Moved binutils.eselect out of dodgy-scripts.
+ * modules/binutils.eselect: Removed outdated comments.
+ * Tagged 0.9.6 release.
+ * NEWS: Added 0.9.6 release news.
+ * configure.ac: Updated version number.
+ * man/Makefile.am, man/binutils.eselect.5: Added manpage for binutils
+ module.
+ * modules/binutils.eselect, modules/env.eselect: Check for sane
+ parameters and root access.
+
+2005-07-23 Danny van Dyk <kugelfang@gentoo.org>
+
+ * libs/config.bash.in: Fixed a condition in store_config as it needs at
+ least 2 parameters, not 3.
+ * modules/env.eselect: Removed check on storing empty vars. Added
+ support for updating ld.so.cache. Added a mtime database for all items
+ of LDPATH. Fixed last bugs that kept it in dodgy-scripts.
+ * modules/Makefile.am: Removed env.eselect from dodgy-scripts.
+ * man/env.eselect.5, man/Makefile.am: Added a manpage for env.eselect.
+ * modules/binutils.eselect: Uses env.eselect now instead of env-update.
+ Fixed condition for environment updates.
+
+2005-07-19 Danny van Dyk <kugelfang@gentoo.org>
+
+ * libs/core.bash.in: Fixed order of parameters.
+ * modules/blas.eselect, modules/env.eselect, modules/lapack.eselect:
+ Fixed all calls to has() due to change of parameter order.
+ * modules/env.eselect: Tidied code up, add prelink.conf code. These
+ file are now sanely created: /etc/profile.env, /etc/ld.so.conf,
+ /etc/prelink.conf.
+ * module/env.eselect: Removed LDPATH from inclusion into profile.env.
+
+2005-07-16 Danny van Dyk <kugelfang@gentoo.org>
+
+ * modules/env.eselect: Fixed a 'first element of array'-type bug.
+ ld.so.conf creation is now fully functional.
+
+2005-07-12 Danny van Dyk <kugelfang@gentoo.org>
+
+ * modules/env.eselect, modules/Makefile.am: Added initial env module.
+
+2005-07-03 Aaron Walker <ka0ttic@gentoo.org>
+
+ * libs/core.bash.in: Added dirname/basename wrapper functions which use
+ bash instead of launching their external counterparts.
+ * modules/bashcomp.eselect: Use basename instead of ${var##*/}
+ constructs.
+
+2005-06-19 Danny van Dyk <kugelfang@gentoo.org>
+
+ * libs/output.bash.in: Watch out for escaped spaces and concatenate
+ items accordingly. Fixes BUG #95886.
+ * modules/binutils.eselect: Removed the echo before each ln call to
+ enable it. Fixed the order of is_active() and loading of VERSION and
+ TARGET. Added a check on whether the selected profile exists in
+ /etc/env.d/binutils/.
+
+2005-06-18 Aaron Walker <ka0ttic@gentoo.org>
+
+ * Tagged 0.9.5 release.
+ * acinclude.m4: Added ES_PROG_GNU_SED macro for checking the path to
+ GNU sed. This allows eselect to work on platforms where GNU sed is
+ "gsed" not "sed".
+ * configure.ac: Update version; added call to our new ES_PROG_GNU_SED
+ macro.
+ * libs/core.bash.in: Added 'sed() { @SED@ $* ; }' so that everything
+ else transparently uses GNU sed.
+ * libs/output.bash.in: Fixed typo in write_kv_list_entry() that caused
+ misaligned value text.
+ * bin/eselect.in: Added missing 'shift' when unrecognized global
+ options are encountered. Otherwise an infinite loop occurs if a user
+ specifies one. Also added ec_do_list-options() and updated
+ ec_do_help() to call it.
+ * bin/Makefile.am: Add bashcomp-config to symlinks list.
+ * doc/developer-guide.txt: Fixed headers so that it'll compile.
+ * modules/bashcomp.eselect: Fixed bug if do_list is passed an argument
+ besides --global.
+ * man/eselect.1: updated usage info with global options. Added OPTIONS
+ section where global options will be described.
+ * README, man/profile.eselect.5: Fixed minor typo.
+ * man/Makefile.am, man/bashcomp.eselect.5: Added manual page for
+ bashcomp.eselect.
+ * misc/eselect.bashcomp: Parse 'eselect help' instead of 'eselect
+ list-modules' so that we can pick up supported global options and add
+ them to possible completions. This means we *never* will have to edit
+ this file when we add new global options.
+ * Makefile.am: Added html target to generate HTML for TODO and README
+ in addition to those in doc/.
+ * modules/blas.eselect, modules/lapack.eselect: Don't hardcode the
+ path to readlink. Also, fixed a few libblas -> libcblas typo's on
+ Kugelfang's behalf.
+
+2005-06-17 Danny van Dyk <kugelfang@gentoo.org>
+
+ * libs/output.bash.in: Moved back to use COLOUR_* envvars instead of a
+ function, as the latters slows down eselect. Also,
+ write_kv_list_entry() and write_numbered_list_entry() now use space().
+ * bin/eselect.in: Introduced new var which holds all known global
+ options. The global option parser now checks for those.
+
+2005-06-16 Aaron Walker <ka0ttic@gentoo.org>
+
+ * misc/eselect.bashcomp: Updated to take global options into
+ consideration.
+ * bin/eselect.in: recognize the us'ian --no-color in addition to
+ --no-colour.
+ * libs/output.bash.in: fixed bug in nocolour handling that caused
+ literal interpretation of '*' in $(highlight '*') thus causing the
+ contents of the ${PWD} to be displayed instead.
+ * doc/release-guide.txt: Removed the now irrelevant section on
+ doing the release on berlios.
+
+2005-06-15 Shyam Mani <fox2mike@gentoo.org>
+ * doc/developer-guide.txt: Removed redundant sections and fixed up a
+ bit of RST. This will be the version that initial GuideXML will sync
+ with.
+
+2005-06-15 Aaron Walker <ka0ttic@gentoo.org>
+
+ * modules/bashcomp.eselect: Rewrote most of the module. Removed
+ do_show() since do_list now correctly identifies currently enabled
+ completions. Also do_enable/do_disable now work with list numbers as
+ they should.
+
+2005-06-13 Aaron Walker <ka0ttic@gentoo.org>
+
+ * doc/release-guide.txt: Updated to mention updating configure.ac
+ version number.
+
+2005-06-13 Danny van Dyk <kugelfang@gentoo.org>
+
+ * Tagged 0.9.4 release.
+
+2005-06-13 Shyam Mani <fox2mike@gentoo.org>
+ * doc/overview.txt: Removed, since it is obsolete.
+ * doc/user-guide.txt: Updated with info which was in overview.
+
+2005-06-12 Danny van Dyk <kugelfang@gentoo.org>
+
+ * modules/rc.eselect: Fix hardcoded path to ln.
+ * libs/config.bash.in: Restructured functions to take a filename as
+ first argument.
+ * modules/blas.eselect,modules/lapack.eselect: Fixed modules to
+ respect new syntax of *_config functions.
+ * doc/developer-guide.txt: Documented new behaviour of *_config
+ functions.
+ * modules/blas.eselect,modules/lapack.eselect,modules/profiles.eselect:
+ The list action now marks active options with a highlighted *.
+ * modules/binutils.eselect: Added initial and unfunctional version of
+ binutils.eselect.
+
+2005-06-08 Danny van Dyk <kugelfang@gentoo.org>
+
+ * bin/eselect.in: Added handling of global options in main code.
+ * libs/core.bash.in: Removed COLOUR_* vars.
+ * libs/output.bash.in: Added function colours() which replaces all
+ ${COLOURS_*} uses and respects the --no-colour option.
+ * docs/developer-guide.txt,docs/user-guide.txt: Added reference to
+ global options and --no-colour.
+
+2005-06-07 Danny van Dyk <kugelfang@gentoo.org>
+
+ * Renamed to 'eselect'.
+ * Moved to Gentoo infrastructure.
+
+2005-05-26 Danny van Dyk <kugelfang@gentoo.org>
+
+ * modules/rc.eselect: Added actions start, stop, restart and pause.
+
+2005-05-16 Ciaran McCreesh <ciaranm@gentoo.org>
+
+ * bin/Makefile.am: Install symlinks for kernel-config, profile-config,
+ rc-config
+ * libs/output.bash.in: Make highlighting work with bash-2.
+
+ * Tag 0.9.3 release.
+ * doc/overview.txt, doc/Makefile.am: Add an 'overview' document.
+ * configure.ac, modules/Makefile.am: Add --enable-dodgy-modules to
+ install incomplete / experimental things (config, cow, vi).
+
+2005-05-16 Tom Martin <slarti@gentoo.org>
+
+ * modules/mailer.eselect: Handle no available targets. Mark the
+ currently active profile when doing list.
+
+2005-05-15 Aaron Walker <ka0ttic@gentoo.org>
+
+ * man/Makefile.am: Add missing manual page.
+
+2005-05-15 Ciaran McCreesh <ciaranm@gentoo.org>
+
+ * modules/config.eselect, modules/cow.eselect,
+ modules/mailer.eselect, modules/lapack.eselect,
+ modules/bashcomp.eselect, modules/vi.eselect,
+ modules/kernel.eselect, modules/profile.eselect,
+ modules/blas.eselect, modules/rc.eselect: Switch vim modelines to
+ use eselect rather than ebuild as the filetype.
+ * modules/kernel.eselect: Handle no available targets. Mark the
+ currently active kernel symlink when doing list.
+ * libs/core.bash.in: Don't allow eval, since it's evil and leads to
+ horridly broken code.
+
+2005-05-14 Aaron Walker <ka0ttic@gentoo.org>
+
+ * libs/core.bash.in: Updated do_action() to display the correct usage
+ message depending on how eselect was invoked.
+
+2005-05-14 Ciaran McCreesh <ciaranm@gentoo.org>
+
+ * modules/mailer.eselect, modules/vi.eselect,
+ modules/kernel.eselect, modules/profile.eselect: Switch to use
+ is_number.
+ * modules/mailer.eselect: Make 'set by number' work.
+
+2005-05-14 Elfyn McBratney <beu@gentoo.org>
+
+ * bin/eselect.in: Support both -update and -updater suffixes.
+
+2005-05-14 Danny van Dyk <kugelfang@gentoo.org>
+
+ * modules/rc.eselect: Do not show files ending in '~'. Added to the
+ Makefile.am, too.
+
+2005-05-12 Danny van Dyk <kugelfang@gentoo.org>
+
+ * modules/mailer.eselect, modules/blas.eselect,
+ modules/lapack.eselect: Use SVN_DATE.
+ * module/rc.eselect: Added module rc.
+ * man/rc.eselect.5: Added manpage for module rc.
+ * modules/blas.eselect: Add preliminary support for "threaded-ATLAS".
+
+2005-05-10 Aaron Walker <ka0ttic@gentoo.org>
+
+ * modules/profile.eselect, modules/bashcomp.eselect: Use SVN_DATE.
+
+2005-05-10 Ciaran McCreesh <ciaranm@gentoo.org>
+
+ * autogen.sh: Make config dir if it's not there already.
+ * man/eselect.1: Include note about full docs.
+ * doc/developer-guide.txt: Document manip functions.
+ * modules/config.eselect, modules/cow.eselect, modules/vi.eselect,
+ modules/kernel.eselect: Update to use SVN date as the version number.
+ * libs/manip.bash.in, libs/Makefile.am, bin/eselect.in: Add manip
+ library for text manipulation functions. svn_date_to_version will
+ convert an SVN date string into a nice VERSION number.
+
+2005-05-09 Aaron Walker <ka0ttic@gentoo.org>
+
+ * misc/eselect.bashcomp: Parse list-modules/usage instead of relying
+ on the assumption that the default action will give us what we want.
+
+2005-05-09 Ciaran McCreesh <ciaranm@gentoo.org>
+
+ * configure.in -> configure.ac, autogen.sh: Switch to automake 1.9.
+ * TODO: Add TODO file. Future changes to this file won't go in to this
+ ChangeLog.
+ * AUTHORS, README: Move authors into the AUTHORS file.
+ * INSTALL: Add INSTALL file as per GNU rules.
+ * doc/developer-guide.txt: Update with new functions.
+ * doc/release-guide.txt: Add in an RST version of Aaron's "how to do
+ releases" document.
+
+ * Merge from branches/ciaranm/config:
+ * bin/eselect.in: Better prefix/suffix support. Now recognises
+ prefixes config-, update-, manage- and suffixes -config, -update,
+ -tool, -manager.
+ * libs/output.bash.in, libs/core.bash.in: Add highlight_warning
+ function.
+ * bin/eselect.in, libs/tests.bash.in, libs/Makefile.am: Add tests
+ library. Currently one function, is_number.
+ * libs/default.eselect.in: Allow show_extra_help_text as part of
+ the default help action. Show extra usage message if appropriate.
+ * modules/config.eselect, modules/Makefile.am: Add initial version of
+ the config plugin. Not production ready.
+
+2005-05-08 Aaron Walker <ka0ttic@gentoo.org>
+
+ * Makefile.am: no foreign.
+
+ * Tag 0.9.2 release.
+ * configure.in: Update version (0.9.2).
+ * modules/profile.eselect: Re-fix profile module since the
+ profile-symlink -> profile move reverted the changes.
+ * modules/bashcomp.eselect: do_show should return 0.
+ * bin/eselect.in, bin/Makefile.am: Use %VERSION%.
+
+2005-05-08 Ciaran McCreesh <ciaranm@gentoo.org>
+
+ * libs/output.bash.in, libs/core.bash.in: Add in somewhat experimental
+ text highlighting functionality.
+ * doc/developer-guide.txt: Document highlight function.
+
+2005-05-08 Danny van Dyk <kugelfang@gentoo.org>
+
+ * modules/blas.eselect: update -> scan transition complete.
+ * modules/lapack.eselect: update -> scan. Fixed directory settings
+ for lapack-atlas and lapack-reference.
+
+2005-05-08 Tom Martin <slarti@gentoo.org>
+
+ * modules/mailer.eselect: Fix find_targets. If the glob didn't
+ match, it was interpreted as a literal string. Fix a stupid typo
+ (findi_targets -> find_targets).
+
+2005-05-07 Ciaran McCreesh <ciaranm@gentoo.org>
+
+ * Tag for release 0.9.1
+ * configure.in: Version is now 0.9.1.
+ * doc/user-guide.txt, doc-developer.txt: Clarify update and scan
+ action definitions, update formatting and wording.
+
+2005-05-07 Danny van Dyk <kugelfang@gentoo.org>
+
+ * doc/user-guide.txt: Added a first draft of the user docs.
+
+2005-05-07 Ciaran McCreesh <ciaranm@gentoo.org>
+
+ * doc/developer-guide.txt: Fix formatting, typos. Add a bit more about
+ how eselect works.
+ * doc/Makefile.am: Make this much more generic.
+ * misc/Makefile.am: Add Makefile.in to maintainer-clean targets.
+
+2005-05-07 Tom Martin <slarti@gentoo.org>
+
+ * man/mailer.eselect.5: Add a man page for mailer.eselect.
+ * modules/mailer.eselect: Add a check_dirs() function for
+ sanity checking /etc/mail/.
+
+2005-05-07 Danny van Dyk <kugelfang@gentoo.org>
+
+ * man/profile.eselect.5: Fixed typos.
+ * doc/developer-guide.txt: Added descriptions for the multilib.bash
+ and config.bash functions.
+
+2005-05-07 Ciaran McCreesh <ciaranm@gentoo.org>
+
+ * doc/: Add initial developer docs.
+ * libs/core.bash.in: Fix bug in has so that it is consistent with
+ portage syntax.
+ * modules/blas.eselect, modules/lapack.eselect: Update to new has
+ syntax.
+
+2005-05-07 Aaron Walker <ka0ttic@gentoo.org>
+
+ * modules/profile-symlink.eselect: Fix sed to use current
+ profiles.desc format. Also, ensure that explicitly specified profiles
+ are actually valid for the host arch.
+ * man/Makefile.am: Add missing manual pages.
+ * man/profile.eselect.5: Add missing '.br'.
+ * configure.in, Makefile.am, doc/Makefile.am: Added Makefile.am for
+ doc/ with html target.
+
+2005-05-07 Danny van Dyk <kugelfang@gentoo.org>
+
+ * libs/output.bash.in: Added function 'space'.
+ * libs/default.eselect.in: Fixed do_usage to filter 'action'.
+ * man/blas.eselect: Added missing Section 'ACTION: SET'.
+ * man/lapack.eselect: Added a manpage for the lapack module.
+ * man/profile.eselect: Added a manpage for profile.
+ * modules/blas.eselect: Finalized this module.
+ * modules/lapack.eselect: Added lapack module.
+
+2005-04-25 Tom Martin <slarti@gentoo.org>
+
+ * modules/mailer.eselect: Added mailwrapper module.
+
+2005-04-11 Aaron Walker <ka0ttic@gentoo.org>
+
+ * man/Makefile.am: forgot to add $(man_MANS) to EXTRA_DIST.
+ * modules/profile.eselect: Added make.profile module.
+ * modules/bashcomp.eselect: Fixed do_list to ignore *~.
+ * misc/Makefile.am: Added Makefile.am.
+ * misc/eselect.bashcomp: Added eselect command-line completion.
+
+2005-04-10 Aaron Walker <ka0ttic@gentoo.org>
+
+ * man/Makefile.am: Added Makefile.am.
+
+2005-04-07 Danny van Dyk <kugelfang@gentoo.org>
+
+ * modules/blas.eselect: Added package information to outputs.
+ * man/blas.eselect.1: Added a manpage for the blas module.
+
+2005-04-04 Danny van Dyk <kugelfang@gentoo.org>
+
+ * man/eselect.1: Added a rudimental manpage.
+
+2005-03-24 Danny van Dyk <kugelfang@gentoo.org>
+
+ * libs/config.bash.in: Fixed store_config(), added add_config().
+ * libs/core.bash.in: Added function has().
+ * libs/multilib.bash.in: Added multilib library.
+ * modules/blas.eselect: Added blas module.
+
+2005-02-22 Aaron Walker <ka0ttic@gentoo.org>
+
+ * modules/bashcomp.eselect: Added bashcomp module.
+
+2005-02-22 Ciaran McCreesh <ciaranm@gentoo.org>
+
+ * ChangeLog: Start keeping a ChangeLog. GNU format.
Deleted: tags/release-1.1.1/NEWS
===================================================================
--- trunk/NEWS 2009-06-04 10:33:55 UTC (rev 574)
+++ tags/release-1.1.1/NEWS 2009-06-06 14:09:29 UTC (rev 584)
@@ -1,236 +0,0 @@
-This file contains a summary of changes in released versions. Please read the
-ChangeLog file for a more detailed listing of changes/bug fixes.
-
-1.1:
- Bug fixes:
- - Fixed bug #155814: Clear aliases and shell functions.
- - Fixed bug #156866: Handle missing scripts in rc module.
-
- New features:
- - Add a new module, for listing and querying eselect modules (bug #148578).
- - Treat 'help' and 'version' options as if they were actions (bug #153890).
- - The rc module now also supports OpenRC (bug #180966).
- - Modules for the EDITOR, VISUAL, and PAGER environment variables
- (bug #190216).
- - Module news-tng.eselect for reading Gentoo ('GLEP 42') news.
- - Remove mailer module since it's not functional (bug #220473).
- - New --with-pm configure option for default package manager.
- - Better bash completion.
-
-1.0.12:
- Bug fixes:
- - Fixed bug #172636: Man pages issues.
- - Fixed bug #198461: Disable coloured output and setting of terminal width
- if stdout is not a tty. Don't hardcode escape sequences for colours.
- - Fixed bug #203114: Remove trailing slant from ESELECT_DATA_PATH.
- - Fixed bug #204937: Honour ROOT in rc module.
- - Fixed bug #218557: Suppress 'Killed' message in bash-completion module.
- - Fixed bug #219864: Issue with whitespace in values of config variables.
- - Fixed bug #232874: Disable filename expansion for highlighted text.
- - Fixed bug #240402: Dereference symbolic links for env files.
- - Fixed bug #248470: Fix selection of parent profiles in 'eselect profile'.
- - Fixed bug #248487: Make 'eselect profile show' show the relative path.
- - Fixed bug #260464: Bad whitespace in key/value list output.
- - Fixed bug #264734: Suppress pgrep error message.
- - Fix quotation in load_config().
- - Fix paludis command.
-
-1.0.11:
- Bug fixes:
- - Allow resetting to the current implementation, so changes to the symlink
- map can propagate (bug #189942).
-
- New features:
- - Add stuff to be used by new package manager independent eselect-news.
-
-1.0.10:
- Bug fixes:
- - Fix load_config to ignore influence of environment variables.
-
- New features:
- - Add noldconfig option.
-
-1.0.9:
- Bug fixes:
- - Really make the makefiles parallel-safe.
- - Fixed bug #163915: eselect doesn't fully honour DESTDIR
- - Fix parsing of *_SEPARATED in env.eselect
-
-1.0.8:
- Bug fixes:
- - Fixed bug #162008: make install isn't parallel-safe.
-
-1.0.7:
- Bug fixes:
- - Fixed bug in modules/opengl.eselect: Fix when ROOT != /.
- - Fixed bug #151701: Generate {SPACE,COLON}_SEPARATED vars in update.
- - Fixed bug #152318: Fix env.eselect for envvar values containing '='.
- - Fixed bug #152662: Fixed new die() function on *BSD.
- - Updated developer documentation.
-
- Removed modules:
- - java.eselect is now superseded by java-{vm,nsplugin}.eselect.
-
-1.0.6:
- Bug fixes:
- - Fixed bug #144152: Added reload action to rc module.
- - Fixed bug #140633: Fixed quoting in libs/output.bash.in
- - Fixed bug #144882: Corrected copy'n'paste errors
- - Fixed bug #147930: Die on un-sourceable files when handling config files.
- - Fixed bug #148534: inherit package-manager in profiles module.
- - Fixed bug #149627: Die on stray binutils targets.
- - Fixed bug #147857: Don't install vi module as part of eselect.
-
- New Features:
- - Enhance die function to work in deep subshells.
-
-1.0.5:
- Bug fixes:
- - Fixed bug in libs/skel.bash.in regarding set action with numerical
- parameters.
- - Fixed bug #141106.
-
-1.0.4:
- Bug fixes:
- - Fixed list bug in libs/skel.bash.in.
-
- New Features:
- - eselect is now independent of the used package-manager.
-
-1.0.3:
- Bug fixes:
- - Fix env.eselect by white-listing allowed mime-types for files in
- /etc/env.d/.
- - Fix env.eselect to create proper /etc/profile.csh.
-
- New features:
- - blas.eselect and lapack.eselect have been rewritten, cblas.eselect has
- been split out of blas.eselect. All three modules now use skel.bash
- library.
- - rc.eselect now supports a non-default service directory.
- - Add oodict.eselect as a separately-shipped module.
- - kernel.eselect now understands target $(uname -r).
-
-1.0.2:
- Bug fixes:
- - Fix env.eselect to not bail on missing /etc/profile.env.
-
- New features:
- - kernel.eselect now understands 'set $(uname -r)'.
-
-1.0.1:
- Bug fixes:
- - Fix creation of /etc/profile.env in env.eselect.
- - Fix portability problems on *BSD in env.eselect.
- - Synchronized man pages with modules.
-
- New features:
- - binutils.eselect now features a show action.
- - Added arch-independent function to canonicalise paths.
- - eselect now supports *BSD.
-
-1.0:
- Bug fixes:
- - Make no-color behave.
- - Fixed die filename reporting.
- - Restrict load_config to textfiles with proper contents.
- - Scan ld.so.conf rather than hardcoding libdirs.
- - Fix blas, lapack to work even if scan hasn't been called.
-
-1.0_rc2:
- Bug fixes:
- - Fixed location of config files for blas.eselect and lapack.eselect.
- - Fixed behaviour of append_config to not add duplicate items.
-
- New features:
- - blas.eselect and lapack.eselect now fully support MKL72 (yet to be
- committed to portage tree).
-
-1.0_rc1:
- Bug fixes:
- - Added missing description of --global flag in the bashcomp module's
- manual page (bug #101898).
- - kernel module's 'list' action now only lists kernels and not everything
- in /usr/src (bug #104354).
- - Fixed unexpected EOF error when calling the rc module's 'restart'
- action (bug #106540).
- - Fixed a 'file not found' bug in the rc module when encountering bogus
- baselayouts (thanks to Mike Doty <kingtaco@gentoo.org>).
- - Fixed bug in usage of has() library function in main eselect script
- (thanks to Sven Wegener <swegener@gentoo.org>).
- - Fixed unportable uses of absolute paths to binaries.
- - Exit with an error if the user doesn't provide parameters to the various
- rc module actions (start, stop, restart, etc).
- - Our autogen script now works on non-linux boxes.
- - Added symlinks for the manual pages of the modules we already provide
- symlinks for.
- - Added missing manual page for kernel module.
-
- New features:
- - inherit() support that allows dynamic and individual sourcing of
- libraries for each module.
- - Added support for modules to be able to describe the options/parameters
- they accept via describe_ACTION_options() and
- describe_ACTION_parameters(). These descriptions now show up in the
- help/usage output for the respective module.
- - profile module's 'set' action now accepts a --force flag for forcing the
- setting of a profile.
- - smart line wrapping for lines longer than the current terminal width.
-
-0.9.6:
- Bug Fixes:
- - Fixed crippled output of items that contain spaces in write_list
- functions.
- - Fixed store_config() to also store empty values.
-
- New Features:
- - Moved both binutils and env module out of dodgy-scripts.
- - Added env module to replace env-update.
- - Added dirname()/basename() function in pure bash to reduce number of
- calls to external binaries.
-
-0.9.5:
- Bug Fixes:
- - Fixed nocolour handling that caused literal interpretation of '*' thus
- causing the contents of ${PWD} to be displayed instead.
- - Now recognizes the us'ian --no-color in addition to --no-colour.
- - Reverted the colours implementation to the previously used one as all
- the 'colours' calls in a sub-shell made displaying things quite slow.
- - Removed hardcoded paths to binaries that were present in certain modules.
- - Added GNU sed checks so we use the proper path thus allowing it to work
- on systems whose GNU sed is 'gsed'.
- - bashcomp module now properly supports using corresponding numbers
- (from list action) when running enable/disable action.
- - eselect bash-completion now recognizes (and completes on) global options.
-
-0.9.4:
- Bug Fixes:
- - fixed call to lapack config file in blas module.
-
- New Features:
- - added a testing version of binutils.eselect.
- - added (start|stop|restart) subactions to rc module.
- - implemented global options handling generally and a --no-colour
- option specifically.
- - all modules mark currently active options with a * in list subaction.
-
-0.9.3:
- Bug Fixes:
- - mailer and kernel modules: handle no targets better, show current
- selection when doing a list.
- - usage message should now always be correct.
- - support for many more symlink prefixes and suffixes.
-
- New Features:
- - more documentation.
- - rc module as a replacement for rc-config and rc-status.
-
-0.9.2:
- Bug Fixes:
- - blas/lapack modules now use 'scan' subcommand over 'update'.
- - profile module now works with current profiles.desc format.
- - mailer module now works (previously broken due to typo and
- missing test in find_targets glob loop).
- - bashcomp module's show sub-command no longer returns 1.
-
-/* vim: set sw=4 et sts=4 tw=80 spell spelllang=en : */
Copied: tags/release-1.1.1/NEWS (from rev 583, trunk/NEWS)
===================================================================
--- tags/release-1.1.1/NEWS (rev 0)
+++ tags/release-1.1.1/NEWS 2009-06-06 14:09:29 UTC (rev 584)
@@ -0,0 +1,246 @@
+This file contains a summary of changes in released versions. Please read the
+ChangeLog file for a more detailed listing of changes/bug fixes.
+
+1.1.1:
+ Bug fixes:
+ - Fixed bug #207889: The kernel module now sorts versions properly.
+
+ New features:
+ - Add a test if the selected package manager is valid.
+ - Extended syntax in editor-variable library.
+ - The rc module can show the status of scripts that are not assigned to any
+ runlevel (bug #271208).
+
+1.1:
+ Bug fixes:
+ - Fixed bug #155814: Clear aliases and shell functions.
+ - Fixed bug #156866: Handle missing scripts in rc module.
+
+ New features:
+ - Add a new module, for listing and querying eselect modules (bug #148578).
+ - Treat 'help' and 'version' options as if they were actions (bug #153890).
+ - The rc module now also supports OpenRC (bug #180966).
+ - Modules for the EDITOR, VISUAL, and PAGER environment variables
+ (bug #190216).
+ - Module news-tng.eselect for reading Gentoo ('GLEP 42') news.
+ - Remove mailer module since it's not functional (bug #220473).
+ - New --with-pm configure option for default package manager.
+ - Better bash completion.
+
+1.0.12:
+ Bug fixes:
+ - Fixed bug #172636: Man pages issues.
+ - Fixed bug #198461: Disable coloured output and setting of terminal width
+ if stdout is not a tty. Don't hardcode escape sequences for colours.
+ - Fixed bug #203114: Remove trailing slant from ESELECT_DATA_PATH.
+ - Fixed bug #204937: Honour ROOT in rc module.
+ - Fixed bug #218557: Suppress 'Killed' message in bash-completion module.
+ - Fixed bug #219864: Issue with whitespace in values of config variables.
+ - Fixed bug #232874: Disable filename expansion for highlighted text.
+ - Fixed bug #240402: Dereference symbolic links for env files.
+ - Fixed bug #248470: Fix selection of parent profiles in 'eselect profile'.
+ - Fixed bug #248487: Make 'eselect profile show' show the relative path.
+ - Fixed bug #260464: Bad whitespace in key/value list output.
+ - Fixed bug #264734: Suppress pgrep error message.
+ - Fix quotation in load_config().
+ - Fix paludis command.
+
+1.0.11:
+ Bug fixes:
+ - Allow resetting to the current implementation, so changes to the symlink
+ map can propagate (bug #189942).
+
+ New features:
+ - Add stuff to be used by new package manager independent eselect-news.
+
+1.0.10:
+ Bug fixes:
+ - Fix load_config to ignore influence of environment variables.
+
+ New features:
+ - Add noldconfig option.
+
+1.0.9:
+ Bug fixes:
+ - Really make the makefiles parallel-safe.
+ - Fixed bug #163915: eselect doesn't fully honour DESTDIR
+ - Fix parsing of *_SEPARATED in env.eselect
+
+1.0.8:
+ Bug fixes:
+ - Fixed bug #162008: make install isn't parallel-safe.
+
+1.0.7:
+ Bug fixes:
+ - Fixed bug in modules/opengl.eselect: Fix when ROOT != /.
+ - Fixed bug #151701: Generate {SPACE,COLON}_SEPARATED vars in update.
+ - Fixed bug #152318: Fix env.eselect for envvar values containing '='.
+ - Fixed bug #152662: Fixed new die() function on *BSD.
+ - Updated developer documentation.
+
+ Removed modules:
+ - java.eselect is now superseded by java-{vm,nsplugin}.eselect.
+
+1.0.6:
+ Bug fixes:
+ - Fixed bug #144152: Added reload action to rc module.
+ - Fixed bug #140633: Fixed quoting in libs/output.bash.in
+ - Fixed bug #144882: Corrected copy'n'paste errors
+ - Fixed bug #147930: Die on un-sourceable files when handling config files.
+ - Fixed bug #148534: inherit package-manager in profiles module.
+ - Fixed bug #149627: Die on stray binutils targets.
+ - Fixed bug #147857: Don't install vi module as part of eselect.
+
+ New Features:
+ - Enhance die function to work in deep subshells.
+
+1.0.5:
+ Bug fixes:
+ - Fixed bug in libs/skel.bash.in regarding set action with numerical
+ parameters.
+ - Fixed bug #141106.
+
+1.0.4:
+ Bug fixes:
+ - Fixed list bug in libs/skel.bash.in.
+
+ New Features:
+ - eselect is now independent of the used package-manager.
+
+1.0.3:
+ Bug fixes:
+ - Fix env.eselect by white-listing allowed mime-types for files in
+ /etc/env.d/.
+ - Fix env.eselect to create proper /etc/profile.csh.
+
+ New features:
+ - blas.eselect and lapack.eselect have been rewritten, cblas.eselect has
+ been split out of blas.eselect. All three modules now use skel.bash
+ library.
+ - rc.eselect now supports a non-default service directory.
+ - Add oodict.eselect as a separately-shipped module.
+ - kernel.eselect now understands target $(uname -r).
+
+1.0.2:
+ Bug fixes:
+ - Fix env.eselect to not bail on missing /etc/profile.env.
+
+ New features:
+ - kernel.eselect now understands 'set $(uname -r)'.
+
+1.0.1:
+ Bug fixes:
+ - Fix creation of /etc/profile.env in env.eselect.
+ - Fix portability problems on *BSD in env.eselect.
+ - Synchronized man pages with modules.
+
+ New features:
+ - binutils.eselect now features a show action.
+ - Added arch-independent function to canonicalise paths.
+ - eselect now supports *BSD.
+
+1.0:
+ Bug fixes:
+ - Make no-color behave.
+ - Fixed die filename reporting.
+ - Restrict load_config to textfiles with proper contents.
+ - Scan ld.so.conf rather than hardcoding libdirs.
+ - Fix blas, lapack to work even if scan hasn't been called.
+
+1.0_rc2:
+ Bug fixes:
+ - Fixed location of config files for blas.eselect and lapack.eselect.
+ - Fixed behaviour of append_config to not add duplicate items.
+
+ New features:
+ - blas.eselect and lapack.eselect now fully support MKL72 (yet to be
+ committed to portage tree).
+
+1.0_rc1:
+ Bug fixes:
+ - Added missing description of --global flag in the bashcomp module's
+ manual page (bug #101898).
+ - kernel module's 'list' action now only lists kernels and not everything
+ in /usr/src (bug #104354).
+ - Fixed unexpected EOF error when calling the rc module's 'restart'
+ action (bug #106540).
+ - Fixed a 'file not found' bug in the rc module when encountering bogus
+ baselayouts (thanks to Mike Doty <kingtaco@gentoo.org>).
+ - Fixed bug in usage of has() library function in main eselect script
+ (thanks to Sven Wegener <swegener@gentoo.org>).
+ - Fixed unportable uses of absolute paths to binaries.
+ - Exit with an error if the user doesn't provide parameters to the various
+ rc module actions (start, stop, restart, etc).
+ - Our autogen script now works on non-linux boxes.
+ - Added symlinks for the manual pages of the modules we already provide
+ symlinks for.
+ - Added missing manual page for kernel module.
+
+ New features:
+ - inherit() support that allows dynamic and individual sourcing of
+ libraries for each module.
+ - Added support for modules to be able to describe the options/parameters
+ they accept via describe_ACTION_options() and
+ describe_ACTION_parameters(). These descriptions now show up in the
+ help/usage output for the respective module.
+ - profile module's 'set' action now accepts a --force flag for forcing the
+ setting of a profile.
+ - smart line wrapping for lines longer than the current terminal width.
+
+0.9.6:
+ Bug Fixes:
+ - Fixed crippled output of items that contain spaces in write_list
+ functions.
+ - Fixed store_config() to also store empty values.
+
+ New Features:
+ - Moved both binutils and env module out of dodgy-scripts.
+ - Added env module to replace env-update.
+ - Added dirname()/basename() function in pure bash to reduce number of
+ calls to external binaries.
+
+0.9.5:
+ Bug Fixes:
+ - Fixed nocolour handling that caused literal interpretation of '*' thus
+ causing the contents of ${PWD} to be displayed instead.
+ - Now recognizes the us'ian --no-color in addition to --no-colour.
+ - Reverted the colours implementation to the previously used one as all
+ the 'colours' calls in a sub-shell made displaying things quite slow.
+ - Removed hardcoded paths to binaries that were present in certain modules.
+ - Added GNU sed checks so we use the proper path thus allowing it to work
+ on systems whose GNU sed is 'gsed'.
+ - bashcomp module now properly supports using corresponding numbers
+ (from list action) when running enable/disable action.
+ - eselect bash-completion now recognizes (and completes on) global options.
+
+0.9.4:
+ Bug Fixes:
+ - fixed call to lapack config file in blas module.
+
+ New Features:
+ - added a testing version of binutils.eselect.
+ - added (start|stop|restart) subactions to rc module.
+ - implemented global options handling generally and a --no-colour
+ option specifically.
+ - all modules mark currently active options with a * in list subaction.
+
+0.9.3:
+ Bug Fixes:
+ - mailer and kernel modules: handle no targets better, show current
+ selection when doing a list.
+ - usage message should now always be correct.
+ - support for many more symlink prefixes and suffixes.
+
+ New Features:
+ - more documentation.
+ - rc module as a replacement for rc-config and rc-status.
+
+0.9.2:
+ Bug Fixes:
+ - blas/lapack modules now use 'scan' subcommand over 'update'.
+ - profile module now works with current profiles.desc format.
+ - mailer module now works (previously broken due to typo and
+ missing test in find_targets glob loop).
+ - bashcomp module's show sub-command no longer returns 1.
+
+/* vim: set sw=4 et sts=4 tw=80 spell spelllang=en : */
Deleted: tags/release-1.1.1/configure.ac
===================================================================
--- trunk/configure.ac 2009-06-04 10:33:55 UTC (rev 574)
+++ tags/release-1.1.1/configure.ac 2009-06-06 14:09:29 UTC (rev 584)
@@ -1,87 +0,0 @@
-AC_INIT(eselect, 1.1, eselect@gentoo.org, eselect)
-AC_PREREQ(2.59)
-AC_CONFIG_SRCDIR(bin/eselect.in)
-AC_CONFIG_AUX_DIR(config)
-AM_INIT_AUTOMAKE(1.9)
-
-test x$prefix = "xNONE" && prefix="$ac_default_prefix"
-test x$datadir = "xNONE" && datadir="$ac_default_datadir"
-test x$sysconfdir = "xNONE" && sysconfdir="$ac_default_sysconfdir"
-
-# BASH may already be set in the shell, if the admin then changes the
-# the /bin/sh symlink to a non-bash shell, all hell will break lose.
-# thanks to James Rowe for the heads up.
-unset BASH
-AC_PATH_PROGS(BASH, bash)
-if test x$BASH = "x" ; then
- AC_MSG_ERROR([bash is required])
-fi
-
-ES_PROG_GNU_SED
-if test x$SED = "x" ; then
- AC_MSG_ERROR([GNU sed is required])
-fi
-
-AC_PATH_PROG(PORTAGEQ, portageq, /usr/bin/portageq)
-
-AC_PATH_PROG(READLINK, greadlink)
-if test x$READLINK = "x" ; then
- AC_CHECK_PROG(READLINK, readlink -f ., yes, no, [$PATH])
- if test x$READLINK = "xyes" ; then
- AC_PATH_PROG(READLINK, readlink)
- fi
-
- CANONICALISE_TEST=`$READLINK -f . > /dev/null 2>&1`
- if ! test x$? = "x0" ; then
- unset READLINK
- fi
-
- if test x$READLINK = "x" ; then
- AC_PATH_PROG(REALPATH, realpath)
- if test x$REALPATH = "x" ; then
- AC_MSG_ERROR([Either GNU readlink or realpath is required])
- fi
- fi
-fi
-if test x$READLINK != "x"; then
- CANONICALISE="$READLINK -f"
-else
- CANONICALISE="$REALPATH"
-fi
-AC_SUBST(CANONICALISE)
-
-# Gentoo uses rst2html.py but most other
-# distro's/OS's install it w/o the .py extension
-AC_PATH_PROG(RST2HTML, rst2html)
-if test x$RST2HTML = "x" ; then
- AC_PATH_PROG(RST2HTML, rst2html.py)
-fi
-
-AC_MSG_CHECKING([what package manager we shall use])
-AC_ARG_WITH(pm, [AS_HELP_STRING([--with-pm=PM], [use package manager PM])],
- [], [withval=portage])
-AS_CASE([x$withval], xportage,, xpaludis,,
- [AC_MSG_ERROR([package manager "$withval" not known])])
-AC_SUBST(PACKAGE_MANAGER, [$withval])
-AC_MSG_RESULT([$PACKAGE_MANAGER])
-
-AC_MSG_CHECKING([whether dodgy modules should be installed])
-AC_ARG_ENABLE(dodgy_modules,
- [AS_HELP_STRING([--enable-dodgy-modules],
- [enable experimental and incomplete modules])]
- if test x$enableval = "xyes" ; then
- DODGY_MODULES="yes"
- else
- DODGY_MODULES="no"
- fi)
-AC_SUBST(DODGY_MODULES)
-AC_MSG_RESULT(${DODGY_MODULES:-nope})
-AM_CONDITIONAL([DODGY_MODULES], test "x$DODGY_MODULES" = "xyes")
-
-AC_OUTPUT(Makefile
- doc/Makefile
- man/Makefile
- misc/Makefile
- bin/Makefile
- libs/Makefile
- modules/Makefile)
Copied: tags/release-1.1.1/configure.ac (from rev 583, trunk/configure.ac)
===================================================================
--- tags/release-1.1.1/configure.ac (rev 0)
+++ tags/release-1.1.1/configure.ac 2009-06-06 14:09:29 UTC (rev 584)
@@ -0,0 +1,87 @@
+AC_INIT(eselect, 1.1.1, eselect@gentoo.org, eselect)
+AC_PREREQ(2.59)
+AC_CONFIG_SRCDIR(bin/eselect.in)
+AC_CONFIG_AUX_DIR(config)
+AM_INIT_AUTOMAKE(1.9)
+
+test x$prefix = "xNONE" && prefix="$ac_default_prefix"
+test x$datadir = "xNONE" && datadir="$ac_default_datadir"
+test x$sysconfdir = "xNONE" && sysconfdir="$ac_default_sysconfdir"
+
+# BASH may already be set in the shell, if the admin then changes the
+# the /bin/sh symlink to a non-bash shell, all hell will break lose.
+# thanks to James Rowe for the heads up.
+unset BASH
+AC_PATH_PROGS(BASH, bash)
+if test x$BASH = "x" ; then
+ AC_MSG_ERROR([bash is required])
+fi
+
+ES_PROG_GNU_SED
+if test x$SED = "x" ; then
+ AC_MSG_ERROR([GNU sed is required])
+fi
+
+AC_PATH_PROG(PORTAGEQ, portageq, /usr/bin/portageq)
+
+AC_PATH_PROG(READLINK, greadlink)
+if test x$READLINK = "x" ; then
+ AC_CHECK_PROG(READLINK, readlink -f ., yes, no, [$PATH])
+ if test x$READLINK = "xyes" ; then
+ AC_PATH_PROG(READLINK, readlink)
+ fi
+
+ CANONICALISE_TEST=`$READLINK -f . > /dev/null 2>&1`
+ if ! test x$? = "x0" ; then
+ unset READLINK
+ fi
+
+ if test x$READLINK = "x" ; then
+ AC_PATH_PROG(REALPATH, realpath)
+ if test x$REALPATH = "x" ; then
+ AC_MSG_ERROR([Either GNU readlink or realpath is required])
+ fi
+ fi
+fi
+if test x$READLINK != "x"; then
+ CANONICALISE="$READLINK -f"
+else
+ CANONICALISE="$REALPATH"
+fi
+AC_SUBST(CANONICALISE)
+
+# Gentoo uses rst2html.py but most other
+# distro's/OS's install it w/o the .py extension
+AC_PATH_PROG(RST2HTML, rst2html)
+if test x$RST2HTML = "x" ; then
+ AC_PATH_PROG(RST2HTML, rst2html.py)
+fi
+
+AC_MSG_CHECKING([what package manager we shall use])
+AC_ARG_WITH(pm, [AS_HELP_STRING([--with-pm=PM], [use package manager PM])],
+ [], [withval=portage])
+AS_CASE([x$withval], xportage,, xpaludis,,
+ [AC_MSG_ERROR([package manager "$withval" not known])])
+AC_SUBST(PACKAGE_MANAGER, [$withval])
+AC_MSG_RESULT([$PACKAGE_MANAGER])
+
+AC_MSG_CHECKING([whether dodgy modules should be installed])
+AC_ARG_ENABLE(dodgy_modules,
+ [AS_HELP_STRING([--enable-dodgy-modules],
+ [enable experimental and incomplete modules])]
+ if test x$enableval = "xyes" ; then
+ DODGY_MODULES="yes"
+ else
+ DODGY_MODULES="no"
+ fi)
+AC_SUBST(DODGY_MODULES)
+AC_MSG_RESULT(${DODGY_MODULES:-nope})
+AM_CONDITIONAL([DODGY_MODULES], test "x$DODGY_MODULES" = "xyes")
+
+AC_OUTPUT(Makefile
+ doc/Makefile
+ man/Makefile
+ misc/Makefile
+ bin/Makefile
+ libs/Makefile
+ modules/Makefile)
Deleted: tags/release-1.1.1/libs/package-manager.bash.in
===================================================================
--- trunk/libs/package-manager.bash.in 2009-06-04 10:33:55 UTC (rev 574)
+++ tags/release-1.1.1/libs/package-manager.bash.in 2009-06-06 14:09:29 UTC (rev 584)
@@ -1,159 +0,0 @@
-# Copyright (c) 2005-2009 Gentoo Foundation -*-eselect-*-
-# $Id$
-# This file is part of the 'eselect' tools framework.
-#
-# eselect is free software: you can redistribute it and/or modify it under the
-# terms of the GNU General Public License as published by the Free Software
-# Foundation, either version 2 of the License, or (at your option) any later
-# version.
-#
-# eselect is distributed in the hope that it will be useful, but WITHOUT ANY
-# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
-# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License along with
-# eselect. If not, see <http://www.gnu.org/licenses/>.
-
-# package_manager PRIVATE
-# Return the package manager we're going to use.
-package_manager() {
- local pm
- case ${PACKAGE_MANAGER:-@PACKAGE_MANAGER@} in
- portage|Portage)
- pm=portage ;;
- paludis|Paludis)
- set -- ${PALUDIS_COMMAND:-paludis}
- type "$1" &>/dev/null && pm=paludis ;;
- esac
- echo "${pm:-portage}"
-}
-
-# portageq
-# Run portageq with safe filename as set by configure. Redirect stderr
-portageq() {
- @PORTAGEQ@ "$@" 2>/dev/null
-}
-
-# run_paludis PRIVATE
-# Run PALUDIS_COMMAND (defaults to "paludis"). Redirect stderr
-run_paludis() {
- ${PALUDIS_COMMAND:-paludis} "$@" 2>/dev/null
-}
-
-# arch
-# Return the architecture we're running on...
-arch() {
- local ret=$(envvar sys-devel/gcc ARCH) suffix
-
- # $arch will be null if there's no current make.profile symlink
- # we cannot get a list of valid profiles without it.
- if [[ -z ${ret} ]] ; then
-
- if [[ -n ${ROOT} && ${ROOT} != "/" ]] ; then
- write_warning_msg "Failed to determine \${ARCH}. Is your make.profile symlink valid?"
- return 1
- fi
-
- ret=$(uname -m)
- case ${ret} in
- alpha|ia64|ppc) ;;
- i?86) ret=x86 ;;
- mips*) ret=mips ;;
- sparc*) ret=sparc ;;
- x86_64) ret=amd64 ;;
- "Power Macintosh") ret=ppc ;;
- *) write_warning_msg \
- "Unknown architecture. Please submit a bug including the output of 'uname -m'"
- return 1
- ;;
- esac
-
- case $(uname -s) in
- Linux) ;;
- FreeBSD) suffix="-fbsd" ;;
- NetBSD) suffix="-nbsd" ;;
- OpenBSD) suffix="-obsd" ;;
- DragonFly) suffix="-dfly" ;;
- Darwin) suffix="-macos" ;;
- *) write_warning_msg \
- "Unknown OS. Please submit a bug including the output of 'uname -s'"
- return 1
- ;;
- esac
- fi
-
- echo ${ret}${suffix}
-}
-
-# envvar
-# Return the contents of environment variable $2 as seen by package manager
-# for package $1.
-envvar() {
- [[ $# -eq 2 ]] || die "envvar expects exactly 2 arguments"
- local manager=$(package_manager)
- case ${manager} in
- # portage does not support per-package envvar lookup
- portage) portageq envvar "$2" ;;
- paludis) run_paludis --environment-variable "$1" "$2" ;;
- *) die "Unknown package manager: \"${manager}\"" ;;
- esac
-}
-
-# best_version
-# Return true if package $1 is available in ${ROOT}
-best_version() {
- [[ $# -eq 1 ]] || die "best_version expects exactly one argument"
- local manager=$(package_manager)
- case ${manager} in
- portage) portageq best_version "${ROOT:-/}" "$1" ;;
- paludis) run_paludis --best-version "$1" ;;
- *) die "Unknown package manager: \"${manager}\"" ;;
- esac
-}
-
-# has_version
-# Return true if package $1 is available in ${ROOT}
-has_version() {
- [[ $# -eq 1 ]] || die "has_version expects exactly one argument"
- local manager=$(package_manager)
- case ${manager} in
- portage) portageq has_version "${ROOT:-/}" "$1" ;;
- paludis) run_paludis --has-version "$1" ;;
- *) die "Unknown package manager: \"${manager}\"" ;;
- esac
-}
-
-# get_repositories
-# return list of repositories known to the package manager
-get_repositories() {
- local manager=$(package_manager)
- case ${manager} in
- portage) portageq get_repos "${ROOT:-/}" ;;
- paludis) run_paludis --list-repositories | cut -d' ' -f 2 ;;
- *) die "Unknown package manager: \"${manager}\"" ;;
- esac
-}
-
-# get_repo_news_dir
-# return the directory where to find GLEP 42 news items for repository $1
-get_repo_news_dir() {
- [[ $# -eq 1 ]] || die "get_repo_news_dir expects exactly one argument"
- local repo=$1
- local manager=$(package_manager)
- case ${manager} in
- portage)
- echo "$(portageq get_repo_path \
- "${ROOT:-/}" "${repo}")/metadata/news" ;;
- paludis) run_paludis --configuration-variable ${repo} newsdir ;;
- *) die "Unknown package manager: \"${manager}\"" ;;
- esac
-}
-
-# get_news_dir_name DEPRECATED
-get_news_dir_name() {
- [[ $# -eq 1 ]] || die "get_news_dir_name expects exactly one argument"
- local name=${1%::*} repo=${1##*::}
- echo "$(get_repo_news_dir "${repo}")/${name}"
-}
-
-# vim: set ft=eselect :
Copied: tags/release-1.1.1/libs/package-manager.bash.in (from rev 582, trunk/libs/package-manager.bash.in)
===================================================================
--- tags/release-1.1.1/libs/package-manager.bash.in (rev 0)
+++ tags/release-1.1.1/libs/package-manager.bash.in 2009-06-06 14:09:29 UTC (rev 584)
@@ -0,0 +1,159 @@
+# Copyright (c) 2005-2009 Gentoo Foundation -*-eselect-*-
+# $Id$
+# This file is part of the 'eselect' tools framework.
+#
+# eselect is free software: you can redistribute it and/or modify it under the
+# terms of the GNU General Public License as published by the Free Software
+# Foundation, either version 2 of the License, or (at your option) any later
+# version.
+#
+# eselect is distributed in the hope that it will be useful, but WITHOUT ANY
+# WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
+# A PARTICULAR PURPOSE. See the GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License along with
+# eselect. If not, see <http://www.gnu.org/licenses/>.
+
+# package_manager PRIVATE
+# Return the package manager we're going to use.
+package_manager() {
+ local pm
+ case ${PACKAGE_MANAGER:-@PACKAGE_MANAGER@} in
+ portage)
+ pm=portage ;;
+ paludis)
+ set -- ${PALUDIS_COMMAND:-paludis}
+ type "$1" &>/dev/null && pm=paludis ;;
+ esac
+ echo "${pm:-portage}"
+}
+
+# portageq
+# Run portageq with safe filename as set by configure. Redirect stderr
+portageq() {
+ @PORTAGEQ@ "$@" 2>/dev/null
+}
+
+# run_paludis PRIVATE
+# Run PALUDIS_COMMAND (defaults to "paludis"). Redirect stderr
+run_paludis() {
+ ${PALUDIS_COMMAND:-paludis} "$@" 2>/dev/null
+}
+
+# arch
+# Return the architecture we're running on...
+arch() {
+ local ret=$(envvar sys-devel/gcc ARCH) suffix
+
+ # $arch will be null if there's no current make.profile symlink
+ # we cannot get a list of valid profiles without it.
+ if [[ -z ${ret} ]] ; then
+
+ if [[ -n ${ROOT} && ${ROOT} != "/" ]] ; then
+ write_warning_msg "Failed to determine \${ARCH}. Is your make.profile symlink valid?"
+ return 1
+ fi
+
+ ret=$(uname -m)
+ case ${ret} in
+ alpha|ia64|ppc) ;;
+ i?86) ret=x86 ;;
+ mips*) ret=mips ;;
+ sparc*) ret=sparc ;;
+ x86_64) ret=amd64 ;;
+ "Power Macintosh") ret=ppc ;;
+ *) write_warning_msg \
+ "Unknown architecture. Please submit a bug including the output of 'uname -m'"
+ return 1
+ ;;
+ esac
+
+ case $(uname -s) in
+ Linux) ;;
+ FreeBSD) suffix="-fbsd" ;;
+ NetBSD) suffix="-nbsd" ;;
+ OpenBSD) suffix="-obsd" ;;
+ DragonFly) suffix="-dfly" ;;
+ Darwin) suffix="-macos" ;;
+ *) write_warning_msg \
+ "Unknown OS. Please submit a bug including the output of 'uname -s'"
+ return 1
+ ;;
+ esac
+ fi
+
+ echo ${ret}${suffix}
+}
+
+# envvar
+# Return the contents of environment variable $2 as seen by package manager
+# for package $1.
+envvar() {
+ [[ $# -eq 2 ]] || die "envvar expects exactly 2 arguments"
+ local manager=$(package_manager)
+ case ${manager} in
+ # portage does not support per-package envvar lookup
+ portage) portageq envvar "$2" ;;
+ paludis) run_paludis --environment-variable "$1" "$2" ;;
+ *) die "Unknown package manager: \"${manager}\"" ;;
+ esac
+}
+
+# best_version
+# Return true if package $1 is available in ${ROOT}
+best_version() {
+ [[ $# -eq 1 ]] || die "best_version expects exactly one argument"
+ local manager=$(package_manager)
+ case ${manager} in
+ portage) portageq best_version "${ROOT:-/}" "$1" ;;
+ paludis) run_paludis --best-version "$1" ;;
+ *) die "Unknown package manager: \"${manager}\"" ;;
+ esac
+}
+
+# has_version
+# Return true if package $1 is available in ${ROOT}
+has_version() {
+ [[ $# -eq 1 ]] || die "has_version expects exactly one argument"
+ local manager=$(package_manager)
+ case ${manager} in
+ portage) portageq has_version "${ROOT:-/}" "$1" ;;
+ paludis) run_paludis --has-version "$1" ;;
+ *) die "Unknown package manager: \"${manager}\"" ;;
+ esac
+}
+
+# get_repositories
+# return list of repositories known to the package manager
+get_repositories() {
+ local manager=$(package_manager)
+ case ${manager} in
+ portage) portageq get_repos "${ROOT:-/}" ;;
+ paludis) run_paludis --list-repositories | cut -d' ' -f 2 ;;
+ *) die "Unknown package manager: \"${manager}\"" ;;
+ esac
+}
+
+# get_repo_news_dir
+# return the directory where to find GLEP 42 news items for repository $1
+get_repo_news_dir() {
+ [[ $# -eq 1 ]] || die "get_repo_news_dir expects exactly one argument"
+ local repo=$1
+ local manager=$(package_manager)
+ case ${manager} in
+ portage)
+ echo "$(portageq get_repo_path \
+ "${ROOT:-/}" "${repo}")/metadata/news" ;;
+ paludis) run_paludis --configuration-variable ${repo} newsdir ;;
+ *) die "Unknown package manager: \"${manager}\"" ;;
+ esac
+}
+
+# get_news_dir_name DEPRECATED
+get_news_dir_name() {
+ [[ $# -eq 1 ]] || die "get_news_dir_name expects exactly one argument"
+ local name=${1%::*} repo=${1##*::}
+ echo "$(get_repo_news_dir "${repo}")/${name}"
+}
+
+# vim: set ft=eselect :
Copied: tags/release-1.1.1/man/package-manager.eselect.5 (from rev 577, trunk/man/package-manager.eselect.5)
===================================================================
--- tags/release-1.1.1/man/package-manager.eselect.5 (rev 0)
+++ tags/release-1.1.1/man/package-manager.eselect.5 2009-06-06 14:09:29 UTC (rev 584)
@@ -0,0 +1,81 @@
+.\" Copyright 2009 Gentoo Foundation
+.\" Distributed under the terms of the GNU General Public License v2
+.\" $Id$
+.\"
+.TH package-manager.eselect 5 "June 2009" "Gentoo Linux" eselect
+.SH NAME
+package-manager.eselect \- The PACKAGE_MANAGER management module for
+Gentoo's eselect
+.SH SYNOPSIS
+.B eselect package-manager
+.RB [ help | usage | version ]
+.br
+.B eselect package-manager list
+.br
+.B eselect package-manager set
+.I target
+.br
+.B eselect package-manager show
+.br
+.B eselect package-manager update
+.SH DESCRIPTION
+.B eselect
+is Gentoo's configuration and management tool. It features modules
+that care for the individual administrative tasks.
+.SH ACTION: LIST
+.B eselect package-manager list
+.br
+List available targets for the
+.I PACKAGE_MANAGER
+variable.
+
+# eselect package-manager list
+.br
+Available targets for the PACKAGE_MANAGER variable:
+.br
+ [1] portage
+ [2] pkgcore
+.SH ACTION: SET
+.B eselect package-manager set
+.I target
+.br
+Set the
+.I PACKAGE-MANAGER
+variable in the system profile.
+.I target
+can be either an identification number given by
+.B eselect package-manager list
+or the corresponding package manager's name.
+
+# eselect package-manager set pkgcore
+.br
+Setting PACKAGE_MANAGER to pkgcore ...
+.SH ACTION: SHOW
+.B eselect package-manager show
+.br
+Show the value of the
+.I PACKAGE_MANAGER
+variable in the system profile.
+
+# eselect package-manager show
+.br
+PACKAGE_MANAGER variable in profile:
+.br
+ pkgcore
+.SH ACTION: UPDATE
+.B eselect package-manager update
+.br
+Update the
+.I PACKAGE_MANAGER
+variable if it is unset or invalid.
+.SH FILES
+.TP
+.B /etc/env.d/50package-manager
+Configuration file where the variable is stored.
+.SH AUTHOR
+Ulrich Mueller <ulm@gentoo.org>
+.SH SEE ALSO
+.BR eselect (1),
+.BR environ (7)
+.SH REVISION
+$Id$
Deleted: tags/release-1.1.1/man/rc.eselect.5
===================================================================
--- trunk/man/rc.eselect.5 2009-06-04 10:33:55 UTC (rev 574)
+++ tags/release-1.1.1/man/rc.eselect.5 2009-06-06 14:09:29 UTC (rev 584)
@@ -1,262 +0,0 @@
-.\" Copyright 2005-2009 Gentoo Foundation
-.\" Distributed under the terms of the GNU General Public License v2
-.\" $Id$
-.\"
-.TH rc.eselect 5 "May 2009" "Gentoo Linux" eselect
-.SH NAME
-rc.eselect \- Runlevel configuration module
-.SH SYNOPSIS
-.B eselect rc
-.RB [ help | usage | version ]
-.br
-.B eselect rc add
-.I script
-.RI [ runlevel ...]
-.br
-.B eselect rc delete
-.I script
-.RI [ runlevel ...]
-.br
-.B eselect rc list
-.RI [ runlevel ]
-.br
-.B eselect rc pause
-.I script
-.RI [ script ...]
-.br
-.B eselect rc restart
-.I script
-.RI [ script ...]
-.br
-.B eselect rc show
-.RI [ runlevel ...]
-.br
-.B eselect rc start
-.I script
-.RI [ script ...]
-.br
-.B eselect rc stop
-.I script
-.RI [ script ...]
-.SH DESCRIPTION
-.B eselect
-is Gentoo's configuration and management tool. It features modules
-that care for the individual administrative tasks.
-.SH ACTION: ADD
-.B eselect rc add
-.I script
-.RI [ runlevel ...]
-.br
-Add
-.I script
-to given
-.IR runlevels .
-If no
-.I runlevel
-is given, this action will add
-.I script
-to the
-.B default
-runlevel.
-
-# eselect rc add local default nonetwork notexisting
-.br
-Adding local to following runlevels
- default [done]
- nonetwork [skipped]
- notexisting [invalid]
-
-The result\-tags are as following
-.TP
-.B [done]
-.I script
-successfully added to
-.IR runlevel .
-.TP
-.B [failed]
-.I script
-could not be added to
-.IR runlevel .
-.TP
-.B [skipped]
-.I script
-already part of
-.IR runlevel .
-.TP
-.B [invalid]
-.I runlevel
-is not existing.
-.SH ACTION: DELETE
-.B eselect rc delete
-.I script
-.RI [ runlevel ...]
-.br
-Delete
-.I script
-from given
-.IR runlevels .
-If no
-.I runlevel
-is given, this action will delete
-.I script
-from the
-.B default
-runlevel.
-
-# eselect rc delete local nonetwork notexisting
-.br
-Deleting local from following runlevels
- nonetwork [done]
- notexisting [invalid]
-
-The result\-tags are as following
-.TP
-.B [done]
-.I script
-successfully deleted from
-.I runlevel
-.TP
-.B [failed]
-.I script
-could not be deleted from
-.IR runlevel .
-.TP
-.B [skipped]
-.I script
-not part of
-.IR runlevel .
-.TP
-.B [invalid]
-.I runlevel
-is not existing.
-.SH ACTION: LIST
-.B eselect rc list
-.RI [ runlevel ]
-.br
-Display an ordered list of init scripts that belong to
-.IR runlevel .
-In case that no
-.I runlevel
-is given, this action will list all scripts from /etc/init.d/.
-
-# eselect rc list default
-.br
-Init scripts to be started by runlevel default
- cupsd
- local
- metalog
- net.eth0
- netmount
- powernowd
- sshd
- vixie\-cron
- xdm
- xfs
-.SH ACTION: PAUSE
-.B eselect rc pause
-.I script
-.RI [ script ...]
-.br
-Pause the given set of init scripts.
-
-# eselect rc pause net.eth0
-.br
- * Stopping eth0
- * Bringing down eth0
- * Shutting down eth0 ...
-.SH ACTION: RESTART
-.B eselect rc restart
-.I script
-.RI [ script ...]
-.br
-Restart the given set of init scripts.
-
-# eselect rc restart sshd
-.br
-Restarting init script
- * ERROR: "local" has not yet been started.
- * Stopping sshd ... [ ok ]
-.SH ACTION: SHOW
-.B eselect rc show
-.RI [ runlevel ...]
-.br
-Show init scripts that belong to
-.I runlevel
-and list them together with their status. If no
-.I runlevel
-is given, list the scripts from the current runlevel.
-With option
-.B --all
-the scripts of all runlevels are shown.
-
-# eselect rc show
-.br
-Status of init scripts in runlevel "default"
- cupsd [started]
- local [started]
- metalog [started]
- net.eth0 [started]
- netmount [started]
- powernowd [started]
- sshd [stopped]
- vixie\-cron [started]
- xdm [started]
-
-The status flags are as following
-.TP
-.B [started]
-.I script
-has been successfully run.
-.TP
-.B [stopped]
-.I script
-has manually been stopped.
-.TP
-.B [starting]
-.I script
-is starting.
-.TP
-.B [stopping]
-.I script
-stop has been ordered, but it has not ceased yet.
-.TP
-.B [inactive]
-.I script
-has started, but is inactive.
-.TP
-.B [unknown]
-.I script
-is part of
-.IR runlevel ,
-but its status is not known.
-.SH ACTION: START
-.B eselect rc start
-.I script
-.RI [ script ...]
-.br
-Starts the given set of init scripts manually, regardless of the
-current runlevel.
-
-# eselect rc start local sshd
-.br
-Restarting init script
- * Starting local ... [ ok ]
- * WARNING: "sshd" has already been started.
-.SH ACTION: STOP
-.B eselect rc restart
-.I script
-.RI [ script ...]
-.br
-Restarts the given set of init scripts.
-
-# eselect rc restart sshd
-.br
-Restarting init script
- * ERROR: "local" has not yet been started.
- * Stopping sshd ... [ ok ]
-.SH AUTHOR
-Danny van Dyk <kugelfang@gentoo.org>
-.SH SEE ALSO
-.BR eselect (1)
-.SH REVISION
-$Id$
Copied: tags/release-1.1.1/man/rc.eselect.5 (from rev 578, trunk/man/rc.eselect.5)
===================================================================
--- tags/release-1.1.1/man/rc.eselect.5 (rev 0)
+++ tags/release-1.1.1/man/rc.eselect.5 2009-06-06 14:09:29 UTC (rev 584)
@@ -0,0 +1,265 @@
+.\" Copyright 2005-2009 Gentoo Foundation
+.\" Distributed under the terms of the GNU General Public License v2
+.\" $Id$
+.\"
+.TH rc.eselect 5 "June 2009" "Gentoo Linux" eselect
+.SH NAME
+rc.eselect \- Runlevel configuration module
+.SH SYNOPSIS
+.B eselect rc
+.RB [ help | usage | version ]
+.br
+.B eselect rc add
+.I script
+.RI [ runlevel ...]
+.br
+.B eselect rc delete
+.I script
+.RI [ runlevel ...]
+.br
+.B eselect rc list
+.RI [ runlevel ]
+.br
+.B eselect rc pause
+.I script
+.RI [ script ...]
+.br
+.B eselect rc restart
+.I script
+.RI [ script ...]
+.br
+.B eselect rc show
+.RI [ runlevel ...]
+.br
+.B eselect rc start
+.I script
+.RI [ script ...]
+.br
+.B eselect rc stop
+.I script
+.RI [ script ...]
+.SH DESCRIPTION
+.B eselect
+is Gentoo's configuration and management tool. It features modules
+that care for the individual administrative tasks.
+.SH ACTION: ADD
+.B eselect rc add
+.I script
+.RI [ runlevel ...]
+.br
+Add
+.I script
+to given
+.IR runlevels .
+If no
+.I runlevel
+is given, this action will add
+.I script
+to the
+.B default
+runlevel.
+
+# eselect rc add local default nonetwork notexisting
+.br
+Adding local to following runlevels
+ default [done]
+ nonetwork [skipped]
+ notexisting [invalid]
+
+The result\-tags are as following
+.TP
+.B [done]
+.I script
+successfully added to
+.IR runlevel .
+.TP
+.B [failed]
+.I script
+could not be added to
+.IR runlevel .
+.TP
+.B [skipped]
+.I script
+already part of
+.IR runlevel .
+.TP
+.B [invalid]
+.I runlevel
+is not existing.
+.SH ACTION: DELETE
+.B eselect rc delete
+.I script
+.RI [ runlevel ...]
+.br
+Delete
+.I script
+from given
+.IR runlevels .
+If no
+.I runlevel
+is given, this action will delete
+.I script
+from the
+.B default
+runlevel.
+
+# eselect rc delete local nonetwork notexisting
+.br
+Deleting local from following runlevels
+ nonetwork [done]
+ notexisting [invalid]
+
+The result\-tags are as following
+.TP
+.B [done]
+.I script
+successfully deleted from
+.I runlevel
+.TP
+.B [failed]
+.I script
+could not be deleted from
+.IR runlevel .
+.TP
+.B [skipped]
+.I script
+not part of
+.IR runlevel .
+.TP
+.B [invalid]
+.I runlevel
+is not existing.
+.SH ACTION: LIST
+.B eselect rc list
+.RI [ runlevel ]
+.br
+Display an ordered list of init scripts that belong to
+.IR runlevel .
+In case that no
+.I runlevel
+is given, this action will list all scripts from /etc/init.d/.
+
+# eselect rc list default
+.br
+Init scripts to be started by runlevel default
+ cupsd
+ local
+ metalog
+ net.eth0
+ netmount
+ powernowd
+ sshd
+ vixie\-cron
+ xdm
+ xfs
+.SH ACTION: PAUSE
+.B eselect rc pause
+.I script
+.RI [ script ...]
+.br
+Pause the given set of init scripts.
+
+# eselect rc pause net.eth0
+.br
+ * Stopping eth0
+ * Bringing down eth0
+ * Shutting down eth0 ...
+.SH ACTION: RESTART
+.B eselect rc restart
+.I script
+.RI [ script ...]
+.br
+Restart the given set of init scripts.
+
+# eselect rc restart sshd
+.br
+Restarting init script
+ * ERROR: "local" has not yet been started.
+ * Stopping sshd ... [ ok ]
+.SH ACTION: SHOW
+.B eselect rc show
+.RI [ runlevel ...]
+.br
+Show init scripts that belong to
+.I runlevel
+and list them together with their status. If no
+.I runlevel
+is given, list the scripts from the current runlevel.
+With options
+.B --all
+or
+.B --unused
+the scripts of all runlevels or the scripts not assigned to any
+runlevel are shown, respectively.
+
+# eselect rc show
+.br
+Status of init scripts in runlevel "default"
+ cupsd [started]
+ local [started]
+ metalog [started]
+ net.eth0 [started]
+ netmount [started]
+ powernowd [started]
+ sshd [stopped]
+ vixie\-cron [started]
+ xdm [started]
+
+The status flags are as following
+.TP
+.B [started]
+.I script
+has been successfully run.
+.TP
+.B [stopped]
+.I script
+has manually been stopped.
+.TP
+.B [starting]
+.I script
+is starting.
+.TP
+.B [stopping]
+.I script
+stop has been ordered, but it has not ceased yet.
+.TP
+.B [inactive]
+.I script
+has started, but is inactive.
+.TP
+.B [unknown]
+.I script
+is part of
+.IR runlevel ,
+but its status is not known.
+.SH ACTION: START
+.B eselect rc start
+.I script
+.RI [ script ...]
+.br
+Starts the given set of init scripts manually, regardless of the
+current runlevel.
+
+# eselect rc start local sshd
+.br
+Restarting init script
+ * Starting local ... [ ok ]
+ * WARNING: "sshd" has already been started.
+.SH ACTION: STOP
+.B eselect rc restart
+.I script
+.RI [ script ...]
+.br
+Restarts the given set of init scripts.
+
+# eselect rc restart sshd
+.br
+Restarting init script
+ * ERROR: "local" has not yet been started.
+ * Stopping sshd ... [ ok ]
+.SH AUTHOR
+Danny van Dyk <kugelfang@gentoo.org>
+.SH SEE ALSO
+.BR eselect (1)
+.SH REVISION
+$Id$
Deleted: tags/release-1.1.1/modules/env.eselect
===================================================================
--- trunk/modules/env.eselect 2009-06-04 10:33:55 UTC (rev 574)
+++ tags/release-1.1.1/modules/env.eselect 2009-06-06 14:09:29 UTC (rev 584)
@@ -1,311 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit config multilib
-
-DESCRIPTION="Manage environment variables set in /etc/env.d/"
-MAINTAINER="eselect@gentoo.org"
-SVN_DATE='$Date$'
-VERSION=$(svn_date_to_version "${SVN_DATE}" )
-
-# Classes of env-vars
-SPACE_CLASS="CONFIG_PROTECT
- CONFIG_PROTECT_MASK"
-PATH_CLASS="ADA_INCLUDE_PATH
- ADA_OBJECT_PATH
- CLASSPATH
- INFODIR
- INFOPATH
- KDEDIRS
- LDPATH
- MANPATH
- PATH
- PKG_CONFIG_PATH
- PRELINK_PATH
- PRELINK_PATH_MASK
- PYTHONPATH
- ROOTPATH"
-
-# Recognized file formats:
-MIME_WHITELIST="text/plain text/x-makefile"
-
-# Configuration files
-ENVPROFILE="${ROOT}/etc/profile.env"
-LDCONFIG="${ROOT}/etc/ld.so.conf"
-PRELINK="${ROOT}/etc/prelink.conf"
-LDMTIMEDB="${ROOT}/var/lib/eselect/env/ld-mtimedb"
-
-# Keep all stored LDPATHS
-ESELECT_LDPATH=( )
-
-# is_envd_file()
-# Return successfuly when file can be sourced.
-is_envfile() {
- local mime envfile=${1}
-
- # Make sure it is a file and no backup file
- [[ -f ${envfile} ]] || return 1
- [[ -n ${envfile##*~} ]] || return 1
- [[ ${envfile##*.} != bak ]] || return 1
-
- mime=$(POSIXLY_CORRECT=1 file -i ${envfile} \
- | cut -d ' ' -f 2 | sed -e 's/;$//')
- if ! has ${mime} ${MIME_WHITELIST} ; then
- echo "Skipping non-text file ${envfile}."
- return 1
- fi
-
- return 0
-}
-
-# update_envvar_classes()
-# Update the contents of *_CLASS based on env,d files.
-update_envvar_classes() {
- local -a envfiles
- local value
- envfiles=( ${ROOT}/etc/env.d/* )
-
- for envfile in ${envfiles[@]} ; do
- is_envfile ${envfile} || continue
-
- value=$(load_config ${envfile} COLON_SEPARATED)
- for x in ${value} ; do
- has ${x} ${PATH_CLASS} && continue
- PATH_CLASS="${PATH_CLASS} ${x}"
- done
-
- value=$(load_config ${envfile} SPACE_SEPARATED)
- for x in ${value} ; do
- has ${x} ${SPACE_CLASS} && continue
- SPACE_CLASS="${SPACE_CLASS} ${x}"
- done
- done
-}
-
-# create_profile_env()
-# Create profile.env file
-create_profile_env() {
- local -a envfiles
- local vars store items tmpprofile
- envfiles=( ${ROOT}/etc/env.d/* )
-
- # Blank the file first!
- tmpprofile="$(mktemp ${ROOT}/tmp/profile.XXXXXX)"
- [[ $? = 0 ]] || die "Couldn't create temporary file!"
-
- # Gather ye classes while ye may!
- update_envvar_classes
-
- # Parse all files in env.d
- for envfile in ${envfiles[@]} ; do
- is_envfile ${envfile} || continue
-
- # Which vars are to be loaded?
- # TODO: Change to bash magic?
- vars=$(sed \
- -e '/^#/d' -e '/^\s*$/d' -e '/^.*=/s/^\([^=]*\)=.*/\1/' \
- ${envfile})
- [[ -z ${vars} ]] && continue
- for var in ${vars} ; do
- # Colon separated?...
- if has ${var} ${PATH_CLASS} ; then
- store=$(load_config ${tmpprofile} ${var})
- if [[ -z ${store} ]] ; then
- store=$(load_config ${envfile} ${var})
- else
- items="$(load_config ${envfile} ${var})"
- items=( ${items//:/ } )
- for item in ${items[@]} ; do
- has ${item} ${store//:/ } && continue
- store="${store}:${item}"
- done
- fi
- store_config ${tmpprofile} ${var} "${store#:}"
- continue
- fi
- # Space separated!...
- if has ${var} ${SPACE_CLASS} ; then
- store=( $(load_config ${tmpprofile} ${var}) )
- if [[ -z ${store[@]} ]] ; then
- store=( $(load_config ${envfile} ${var}) )
- else
- items=( $(load_config ${envfile} ${var}) )
- for item in ${items[@]} ; do
- has ${item} ${store[@]} && continue
- store=( ${store[@]} ${item} )
- done
- fi
- store_config ${tmpprofile} ${var} "${store[@]}"
- continue
- fi
- # Ok, just a non-cummultative var.
- store_config \
- ${tmpprofile} \
- ${var} \
- "$(load_config ${envfile} ${var})"
- done
-
- has LDPATH ${vars} || continue
- # Store LDPATH for later processing
- items=$(load_config ${envfile} LDPATH)
- items=( ${items//:/ } )
- for item in ${items[@]} ; do
- has ${item} ${LDPATH[@]} && continue
- ESELECT_LDPATH=( ${ESELECT_LDPATH[@]} ${item} )
- done
- done
-
- # Move new file onto old one
- ENVPROFILE=$(canonicalise ${ENVPROFILE})
- chmod a+r ${tmpprofile}
- mv ${tmpprofile} ${ENVPROFILE} \
- || die "Couldn't move ${tmpprofile} to ${ENVPROFILE}!\n
- Original profile.env remains unchanged."
-}
-
-# create_ld_so_conf()
-# Create ld.so.conf file based upon gathered LDPATHs
-create_ld_so_conf() {
- [[ -z ${ESELECT_LDPATH[@]} ]] && die -q 'No LDPATHs found in ${ROOT}/etc/env.d/*'
-
- local str
- str="# ld.so.conf autogenerated by eselect\n"
- str="${str}# Make all changes to /etc/env.d files\n"
- for x in ${ESELECT_LDPATH[@]} ; do
- str="${str}${x}\n"
- done
- echo -e "${str}" > $(canonicalise ${LDCONFIG})
-}
-
-# create_prelink_conf()
-# Create prelink.conf file based upon existing profile.env
-create_prelink_conf() {
- [[ -z ${ESELECT_LDPATH[@]} ]] && die -q 'No LDPATHs found in ${ROOT}/etc/env.d/*'
- local str
- str="# prelink.conf autogenerated by eselect\n"
- str="${str}# Make all changes to /etc/env.d files\n"
- # Add default items
- for x in /bin /sbin /usr/bin /usr/sbin ; do
- str="${str}-l ${x}\n"
- done
- for x in $(list_libdirs) ; do
- [[ -e ${ROOT}/${x} ]] && str="${str}-l /${x}\n"
- [[ -e ${ROOT}/usr/${x} ]] && str="${str}-l /usr/${x}\n"
- done
- prelink_mask=$(load_config ${ENVPROFILE} PRELINK_PATH_MASK)
- prelink_mask=( ${prelink_mask//:/ } )
- prelink="$(load_config ${ENVPROFILE} PATH)"
- prelink="${prelink} $(load_config ${ENVPROFILE} PRELINK_PATH)"
- prelink=( ${prelink//:/ } ${ESELECT_LDPATH[@]} )
- for x in ${prelink[@]} ; do
- has ${x} ${prelink_mask} && continue
- [[ -z ${x##*/} ]] || x="${x}/"
- str="${str}-h ${x}\n"
- done
- for x in ${prelink_mask[@]} ; do
- str="${str}-b ${x}\n"
- done
- echo -e "${str}" > $(canonicalise ${PRELINK})
-}
-
-# need_links()
-# Returns true if any item of ${LDPATH} has been modified.
-need_links() {
- local ret=1
- for x in ${ESELECT_LDPATH[@]} ; do
- y=${x//\//_}
- y=${y//-/_}
- y=${y//./_}
- y=${y//+/_}
- oldmtime=$(load_config ${LDMTIMEDB} "mtime${y}")
- newmtime=$(stat -c %Y ${x} 2> /dev/null)
- if [[ ${oldmtime} != ${newmtime} ]] ; then
- ret=0
- store_config ${LDMTIMEDB} "mtime${y}" ${newmtime}
- fi
- done
- return ${ret}
-}
-
-# update_ldcache()
-# Update ld.so.cache using ldconfig
-update_ldcache() {
- case $(uname -s) in
- FreeBSD | DragonFly)
- echo "Regenerating ${ROOT}/var/run/ld-elf.so.hints..."
- (
- cd /
- ldconfig -elf -i -f "${ROOT:-/}var/run/ld-elf.so.hints" \
- "${ROOT:-/}etc/ld.so.conf"
- )
- ;;
- *)
- echo "Regenerating ${ROOT}/etc/ld.so.cache..."
- (
- cd /
- ldconfig ${1} -r ${ROOT:-/}
- )
- ;;
- esac
-}
-
-### update action
-
-describe_update() {
- echo "Collect environment variables from all scripts in /etc/env.d/"
-}
-
-describe_update_parameters() {
- echo "<makelinks> <noldconfig>"
-}
-
-describe_update_options() {
- echo "makelinks : Specify \"makelinks\" to force updating of links"
- echo "noldconfig : Do not alter the ld.so cache or configuration."
-}
-
-do_update() {
- local makelinks ldconfig=1
- while [[ ${#@} -gt 0 ]] ; do
- case ${1} in
- makelinks)
- makelinks="-X"
- ;;
- noldconfig)
- ldconfig=0
- ;;
- *)
- die -q "Unknown option '${1}'"
- ;;
- esac
- shift
- done
-
- if [[ -e ${ROOT}/etc/profile.env ]] ; then
- [[ -w ${ROOT}/etc/profile.env ]] \
- || die -q "You need to be root!"
- else
- touch ${ROOT}/etc/profile.env
- fi
-
- # Create configuration files
- create_profile_env
- if [[ ${ldconfig} == 1 ]] ; then
- create_ld_so_conf
- [[ -e ${ROOT}/usr/sbin/prelink ]] && create_prelink_conf
- need_links && makelinks="-X"
- update_ldcache ${makelinks}
- fi
-
- # fix up ${ENVPROFILE}
- cp ${ENVPROFILE} ${ENVPROFILE/.env/.csh}
- sed -i \
- -e "s/^\(.*\)=\"\(.*\)\"/export \1='\2'/" \
- $(canonicalise ${ENVPROFILE})
- sed -i \
- -e "s/^\(.*\)=\"\(.*\)\"/setenv \1 '\2'/" \
- $(canonicalise ${ENVPROFILE/.env/.csh})
-}
-
-# vim: ft=eselect
Copied: tags/release-1.1.1/modules/env.eselect (from rev 575, trunk/modules/env.eselect)
===================================================================
--- tags/release-1.1.1/modules/env.eselect (rev 0)
+++ tags/release-1.1.1/modules/env.eselect 2009-06-06 14:09:29 UTC (rev 584)
@@ -0,0 +1,311 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit config multilib
+
+DESCRIPTION="Manage environment variables set in /etc/env.d/"
+MAINTAINER="eselect@gentoo.org"
+SVN_DATE='$Date$'
+VERSION=$(svn_date_to_version "${SVN_DATE}" )
+
+# Classes of env-vars
+SPACE_CLASS="CONFIG_PROTECT
+ CONFIG_PROTECT_MASK"
+PATH_CLASS="ADA_INCLUDE_PATH
+ ADA_OBJECT_PATH
+ CLASSPATH
+ INFODIR
+ INFOPATH
+ KDEDIRS
+ LDPATH
+ MANPATH
+ PATH
+ PKG_CONFIG_PATH
+ PRELINK_PATH
+ PRELINK_PATH_MASK
+ PYTHONPATH
+ ROOTPATH"
+
+# Recognized file formats:
+MIME_WHITELIST="text/plain text/x-makefile"
+
+# Configuration files
+ENVPROFILE="${ROOT}/etc/profile.env"
+LDCONFIG="${ROOT}/etc/ld.so.conf"
+PRELINK="${ROOT}/etc/prelink.conf"
+LDMTIMEDB="${ROOT}/var/lib/eselect/env/ld-mtimedb"
+
+# Keep all stored LDPATHS
+ESELECT_LDPATH=( )
+
+# is_envd_file()
+# Return successfuly when file can be sourced.
+is_envfile() {
+ local mime envfile=${1}
+
+ # Make sure it is a file and no backup file
+ [[ -f ${envfile} ]] || return 1
+ [[ -n ${envfile##*~} ]] || return 1
+ [[ ${envfile##*.} != bak ]] || return 1
+
+ mime=$(POSIXLY_CORRECT=1 file -i ${envfile} \
+ | cut -d ' ' -f 2 | sed -e 's/;$//')
+ if ! has ${mime} ${MIME_WHITELIST} ; then
+ echo "Skipping non-text file ${envfile}."
+ return 1
+ fi
+
+ return 0
+}
+
+# update_envvar_classes()
+# Update the contents of *_CLASS based on env,d files.
+update_envvar_classes() {
+ local -a envfiles
+ local value
+ envfiles=( ${ROOT}/etc/env.d/* )
+
+ for envfile in ${envfiles[@]} ; do
+ is_envfile ${envfile} || continue
+
+ value=$(load_config ${envfile} COLON_SEPARATED)
+ for x in ${value} ; do
+ has ${x} ${PATH_CLASS} && continue
+ PATH_CLASS="${PATH_CLASS} ${x}"
+ done
+
+ value=$(load_config ${envfile} SPACE_SEPARATED)
+ for x in ${value} ; do
+ has ${x} ${SPACE_CLASS} && continue
+ SPACE_CLASS="${SPACE_CLASS} ${x}"
+ done
+ done
+}
+
+# create_profile_env()
+# Create profile.env file
+create_profile_env() {
+ local -a envfiles
+ local vars store items tmpprofile
+ envfiles=( ${ROOT}/etc/env.d/* )
+
+ # Blank the file first!
+ tmpprofile="$(mktemp ${ROOT}/tmp/profile.XXXXXX)"
+ [[ $? = 0 ]] || die "Couldn't create temporary file!"
+
+ # Gather ye classes while ye may!
+ update_envvar_classes
+
+ # Parse all files in env.d
+ for envfile in ${envfiles[@]} ; do
+ is_envfile ${envfile} || continue
+
+ # Which vars are to be loaded?
+ # TODO: Change to bash magic?
+ vars=$(sed \
+ -e '/^#/d' -e '/^\s*$/d' -e '/^.*=/s/^\([^=]*\)=.*/\1/' \
+ ${envfile})
+ [[ -z ${vars} ]] && continue
+ for var in ${vars} ; do
+ # Colon separated?...
+ if has ${var} ${PATH_CLASS} ; then
+ store=$(load_config ${tmpprofile} ${var})
+ if [[ -z ${store} ]] ; then
+ store=$(load_config ${envfile} ${var})
+ else
+ items="$(load_config ${envfile} ${var})"
+ items=( ${items//:/ } )
+ for item in ${items[@]} ; do
+ has ${item} ${store//:/ } && continue
+ store="${store}:${item}"
+ done
+ fi
+ store_config ${tmpprofile} ${var} "${store#:}"
+ continue
+ fi
+ # Space separated!...
+ if has ${var} ${SPACE_CLASS} ; then
+ store=( $(load_config ${tmpprofile} ${var}) )
+ if [[ -z ${store[@]} ]] ; then
+ store=( $(load_config ${envfile} ${var}) )
+ else
+ items=( $(load_config ${envfile} ${var}) )
+ for item in ${items[@]} ; do
+ has ${item} ${store[@]} && continue
+ store=( ${store[@]} ${item} )
+ done
+ fi
+ store_config ${tmpprofile} ${var} "${store[@]}"
+ continue
+ fi
+ # Ok, just a non-cummultative var.
+ store_config \
+ ${tmpprofile} \
+ ${var} \
+ "$(load_config ${envfile} ${var})"
+ done
+
+ has LDPATH ${vars} || continue
+ # Store LDPATH for later processing
+ items=$(load_config ${envfile} LDPATH)
+ items=( ${items//:/ } )
+ for item in ${items[@]} ; do
+ has ${item} ${LDPATH[@]} && continue
+ ESELECT_LDPATH=( ${ESELECT_LDPATH[@]} ${item} )
+ done
+ done
+
+ # Move new file onto old one
+ ENVPROFILE=$(canonicalise ${ENVPROFILE})
+ chmod a+r ${tmpprofile}
+ mv ${tmpprofile} ${ENVPROFILE} \
+ || die "Couldn't move ${tmpprofile} to ${ENVPROFILE}!\n
+ Original profile.env remains unchanged."
+}
+
+# create_ld_so_conf()
+# Create ld.so.conf file based upon gathered LDPATHs
+create_ld_so_conf() {
+ [[ -z ${ESELECT_LDPATH[@]} ]] && die -q 'No LDPATHs found in ${ROOT}/etc/env.d/*'
+
+ local str
+ str="# ld.so.conf autogenerated by eselect\n"
+ str="${str}# Make all changes to /etc/env.d files\n"
+ for x in ${ESELECT_LDPATH[@]} ; do
+ str="${str}${x}\n"
+ done
+ echo -e "${str}" > $(canonicalise ${LDCONFIG})
+}
+
+# create_prelink_conf()
+# Create prelink.conf file based upon existing profile.env
+create_prelink_conf() {
+ [[ -z ${ESELECT_LDPATH[@]} ]] && die -q 'No LDPATHs found in ${ROOT}/etc/env.d/*'
+ local str
+ str="# prelink.conf autogenerated by eselect\n"
+ str="${str}# Make all changes to /etc/env.d files\n"
+ # Add default items
+ for x in /bin /sbin /usr/bin /usr/sbin ; do
+ str="${str}-l ${x}\n"
+ done
+ for x in $(list_libdirs) ; do
+ [[ -e ${ROOT}/${x} ]] && str="${str}-l /${x}\n"
+ [[ -e ${ROOT}/usr/${x} ]] && str="${str}-l /usr/${x}\n"
+ done
+ prelink_mask=$(load_config ${ENVPROFILE} PRELINK_PATH_MASK)
+ prelink_mask=( ${prelink_mask//:/ } )
+ prelink="$(load_config ${ENVPROFILE} PATH)"
+ prelink="${prelink} $(load_config ${ENVPROFILE} PRELINK_PATH)"
+ prelink=( ${prelink//:/ } ${ESELECT_LDPATH[@]} )
+ for x in ${prelink[@]} ; do
+ has ${x} ${prelink_mask} && continue
+ [[ -z ${x##*/} ]] || x="${x}/"
+ str="${str}-h ${x}\n"
+ done
+ for x in ${prelink_mask[@]} ; do
+ str="${str}-b ${x}\n"
+ done
+ echo -e "${str}" > $(canonicalise ${PRELINK})
+}
+
+# need_links()
+# Returns true if any item of ${LDPATH} has been modified.
+need_links() {
+ local ret=1
+ for x in ${ESELECT_LDPATH[@]} ; do
+ y=${x//\//_}
+ y=${y//-/_}
+ y=${y//./_}
+ y=${y//+/_}
+ oldmtime=$(load_config ${LDMTIMEDB} "mtime${y}")
+ newmtime=$(stat -c %Y ${x} 2> /dev/null)
+ if [[ ${oldmtime} != ${newmtime} ]] ; then
+ ret=0
+ store_config ${LDMTIMEDB} "mtime${y}" ${newmtime}
+ fi
+ done
+ return ${ret}
+}
+
+# update_ldcache()
+# Update ld.so.cache using ldconfig
+update_ldcache() {
+ case $(uname -s) in
+ FreeBSD | DragonFly)
+ echo "Regenerating ${ROOT}/var/run/ld-elf.so.hints..."
+ (
+ cd /
+ ldconfig -elf -i -f "${ROOT:-/}var/run/ld-elf.so.hints" \
+ "${ROOT:-/}etc/ld.so.conf"
+ )
+ ;;
+ *)
+ echo "Regenerating ${ROOT}/etc/ld.so.cache..."
+ (
+ cd /
+ ldconfig ${1} -r ${ROOT:-/}
+ )
+ ;;
+ esac
+}
+
+### update action
+
+describe_update() {
+ echo "Collect environment variables from all scripts in /etc/env.d/"
+}
+
+describe_update_parameters() {
+ echo "<makelinks> <noldconfig>"
+}
+
+describe_update_options() {
+ echo "makelinks : Specify \"makelinks\" to force updating of links"
+ echo "noldconfig : Do not alter the ld.so cache or configuration."
+}
+
+do_update() {
+ local makelinks ldconfig=1
+ while [[ ${#@} -gt 0 ]] ; do
+ case ${1} in
+ makelinks)
+ makelinks="-X"
+ ;;
+ noldconfig)
+ ldconfig=0
+ ;;
+ *)
+ die -q "Unknown option '${1}'"
+ ;;
+ esac
+ shift
+ done
+
+ if [[ -e ${ROOT}/etc/profile.env ]] ; then
+ [[ -w ${ROOT}/etc/profile.env ]] \
+ || die -q "You need to be root!"
+ else
+ touch ${ROOT}/etc/profile.env
+ fi
+
+ # Create configuration files
+ create_profile_env
+ if [[ ${ldconfig} == 1 ]] ; then
+ create_ld_so_conf
+ [[ -e ${ROOT}/usr/sbin/prelink ]] && create_prelink_conf
+ need_links && makelinks="-X"
+ update_ldcache ${makelinks}
+ fi
+
+ # fix up ${ENVPROFILE}
+ cp ${ENVPROFILE} ${ENVPROFILE/.env/.csh}
+ sed -i \
+ -e "s/^\(.*\)=\"\(.*\)\"/export \1='\2'/" \
+ $(canonicalise ${ENVPROFILE})
+ sed -i \
+ -e "s/^\(.*\)=\"\(.*\)\"/setenv \1 '\2'/" \
+ $(canonicalise ${ENVPROFILE/.env/.csh})
+}
+
+# vim: ft=eselect
Deleted: tags/release-1.1.1/modules/kernel.eselect
===================================================================
--- trunk/modules/kernel.eselect 2009-06-04 10:33:55 UTC (rev 574)
+++ tags/release-1.1.1/modules/kernel.eselect 2009-06-06 14:09:29 UTC (rev 584)
@@ -1,112 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-DESCRIPTION="Manage the /usr/src/linux symlink"
-MAINTAINER="eselect@gentoo.org"
-SVN_DATE='$Date$'
-VERSION=$(svn_date_to_version "${SVN_DATE}")
-
-# find a list of kernel symlink targets
-find_targets() {
- local f
- for f in "${ROOT}"/usr/src/linux-[[:digit:]]* ; do
- [[ -d ${f} ]] && basename "${f}"
- done
-}
-
-# try to remove the kernel symlink
-remove_symlink() {
- rm "${ROOT}/usr/src/linux"
-}
-
-# set the kernel symlink
-set_symlink() {
- local target=${1}
- if is_number "${target}" ; then
- local targets=( $(find_targets) )
- target=${targets[target - 1]}
- fi
- if [[ -z ${target} ]] ; then
- die -q "Target \"${1}\" doesn't appear to be valid!"
- elif [[ -d ${ROOT}/usr/src/${target} ]] ; then
- ln -s "${target}" "${ROOT}/usr/src/linux"
- elif [[ -d ${ROOT}/usr/src/linux-${target} ]] ; then
- ln -s "linux-${target}" "${ROOT}/usr/src/linux"
- else
- die -q "Target \"$1\" doesn't appear to be valid!"
- fi
-}
-
-### show action ###
-
-describe_show() {
- echo "Show the current kernel symlink"
-}
-
-do_show() {
- write_list_start "Current kernel symlink:"
- if [[ -L ${ROOT}/usr/src/linux ]] ; then
- local kernel=$(canonicalise "${ROOT}/usr/src/linux")
- write_kv_list_entry "${kernel%/}" ""
- else
- write_kv_list_entry "(unset)" ""
- fi
-}
-
-### list action ###
-
-describe_list() {
- echo "List available kernel symlink targets"
-}
-
-do_list() {
- local targets=( $(find_targets) )
- write_list_start "Available kernel symlink targets:"
- if [[ -n ${targets[@]} ]] ; then
- local i
- for (( i = 0; i < ${#targets[@]}; i++ )) ; do
- [[ ${targets[i]} = \
- $(basename "$(canonicalise "${ROOT}/usr/src/linux")") ]] \
- && targets[i]="${targets[${i}]} $(highlight '*')"
- done
- write_numbered_list "${targets[@]}"
- else
- write_kv_list_entry "(none found)" ""
- fi
-}
-
-### set action ###
-
-describe_set() {
- echo "Set a new kernel symlink target"
-}
-
-describe_set_parameters() {
- echo "<target>"
-}
-
-describe_set_options() {
- echo "target : Target name or number (from 'list' action)"
-}
-
-do_set() {
- if [[ -z ${1} ]] ; then
- # no parameter
- die -q "You didn't tell me what to set the symlink to"
- elif [[ -L ${ROOT}/usr/src/linux ]] ; then
- # existing symlink
- if ! remove_symlink ; then
- die -q "Couldn't remove existing symlink"
- elif ! set_symlink "${1}" ; then
- die -q "Couldn't set a new symlink"
- fi
- elif [[ -e ${ROOT}/usr/src/linux ]] ; then
- # we have something strange
- die -q "${ROOT}/usr/src/linux exists but is not a symlink"
- else
- set_symlink "${1}" || die -q "Couldn't set a new symlink"
- fi
-}
-
-# vim: set ft=eselect :
Copied: tags/release-1.1.1/modules/kernel.eselect (from rev 581, trunk/modules/kernel.eselect)
===================================================================
--- tags/release-1.1.1/modules/kernel.eselect (rev 0)
+++ tags/release-1.1.1/modules/kernel.eselect 2009-06-06 14:09:29 UTC (rev 584)
@@ -0,0 +1,132 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+DESCRIPTION="Manage the /usr/src/linux symlink"
+MAINTAINER="eselect@gentoo.org"
+SVN_DATE='$Date$'
+VERSION=$(svn_date_to_version "${SVN_DATE}")
+
+# sort function for kernel versions, to be used in a pipe
+sort_kernel_versions() {
+ local vsort="sort --version-sort"
+ # Test if our sort supports the --version-sort option
+ # (it should since the kernel module is Linux specific)
+ ${vsort} </dev/null &>/dev/null || vsort=sort
+
+ # We sort kernel versions as follows:
+ # 1. Run sed to prepend the version string by the numeric version
+ # and an additional rank indicator that is 0 for release candidates
+ # or 1 otherwise. After this step we have, for example:
+ # 2.6.29 1 linux-2.6.29
+ # 2.6.29 0 linux-2.6.29-rc8
+ # 2. sort --version-sort
+ # 3. Run sed again to remove the prepended keys from step 1.
+ sed -e 's/^\(linux-\)\?\([[:digit:].]\+\)[-_]rc/\2 0 &/' \
+ -e 't;s/^\(linux-\)\?\([[:digit:].]\+\)/\2 1 &/' \
+ | LC_ALL=C ${vsort} | sed 's/.* //'
+}
+
+# find a list of kernel symlink targets
+find_targets() {
+ local f
+ for f in "${ROOT}"/usr/src/linux-[[:digit:]]* ; do
+ [[ -d ${f} ]] && basename "${f}"
+ done | sort_kernel_versions
+}
+
+# try to remove the kernel symlink
+remove_symlink() {
+ rm "${ROOT}/usr/src/linux"
+}
+
+# set the kernel symlink
+set_symlink() {
+ local target=${1}
+ if is_number "${target}" ; then
+ local targets=( $(find_targets) )
+ target=${targets[target - 1]}
+ fi
+ if [[ -z ${target} ]] ; then
+ die -q "Target \"${1}\" doesn't appear to be valid!"
+ elif [[ -d ${ROOT}/usr/src/${target} ]] ; then
+ ln -s "${target}" "${ROOT}/usr/src/linux"
+ elif [[ -d ${ROOT}/usr/src/linux-${target} ]] ; then
+ ln -s "linux-${target}" "${ROOT}/usr/src/linux"
+ else
+ die -q "Target \"$1\" doesn't appear to be valid!"
+ fi
+}
+
+### show action ###
+
+describe_show() {
+ echo "Show the current kernel symlink"
+}
+
+do_show() {
+ write_list_start "Current kernel symlink:"
+ if [[ -L ${ROOT}/usr/src/linux ]] ; then
+ local kernel=$(canonicalise "${ROOT}/usr/src/linux")
+ write_kv_list_entry "${kernel%/}" ""
+ else
+ write_kv_list_entry "(unset)" ""
+ fi
+}
+
+### list action ###
+
+describe_list() {
+ echo "List available kernel symlink targets"
+}
+
+do_list() {
+ local targets=( $(find_targets) )
+ write_list_start "Available kernel symlink targets:"
+ if [[ ${#targets[@]} -gt 0 ]] ; then
+ local i
+ for (( i = 0; i < ${#targets[@]}; i++ )) ; do
+ [[ ${targets[i]} = \
+ $(basename "$(canonicalise "${ROOT}/usr/src/linux")") ]] \
+ && targets[i]="${targets[${i}]} $(highlight '*')"
+ done
+ write_numbered_list "${targets[@]}"
+ else
+ write_kv_list_entry "(none found)" ""
+ fi
+}
+
+### set action ###
+
+describe_set() {
+ echo "Set a new kernel symlink target"
+}
+
+describe_set_parameters() {
+ echo "<target>"
+}
+
+describe_set_options() {
+ echo "target : Target name or number (from 'list' action)"
+}
+
+do_set() {
+ if [[ -z ${1} ]] ; then
+ # no parameter
+ die -q "You didn't tell me what to set the symlink to"
+ elif [[ -L ${ROOT}/usr/src/linux ]] ; then
+ # existing symlink
+ if ! remove_symlink ; then
+ die -q "Couldn't remove existing symlink"
+ elif ! set_symlink "${1}" ; then
+ die -q "Couldn't set a new symlink"
+ fi
+ elif [[ -e ${ROOT}/usr/src/linux ]] ; then
+ # we have something strange
+ die -q "${ROOT}/usr/src/linux exists but is not a symlink"
+ else
+ set_symlink "${1}" || die -q "Couldn't set a new symlink"
+ fi
+}
+
+# vim: set ft=eselect :
Deleted: tags/release-1.1.1/modules/opengl.eselect
===================================================================
--- trunk/modules/opengl.eselect 2009-06-04 10:33:55 UTC (rev 574)
+++ tags/release-1.1.1/modules/opengl.eselect 2009-06-06 14:09:29 UTC (rev 584)
@@ -1,351 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-# Author: Martin Schlemmer <azarah@gentoo.org>
-# Further modifications by Donnie Berkholz <dberkholz@gentoo.org>
-# Further modifications based off submissions to bug #54984 <cyfred@gentoo.org>
-# Further modifications by Jeremy Huddleston <eradicator@gentoo.org>
-# Made into eselect module by Jeremy Huddleston <eradicator@gentoo.org>
-
-inherit multilib package-manager config
-
-# Eselect data
-DESCRIPTION="Manage the OpenGL implementation used by your system"
-MAINTAINER="x11-drivers@gentoo.org"
-SVN_DATE='$Date$'
-VERSION=$(svn_date_to_version "${SVN_DATE}" )
-EBUILD_VERSION="1.0.6"
-
-# Our data
-ENV_FILE="${ROOT}/etc/env.d/03opengl"
-PREFIX="${ROOT}/usr"
-DST_PREFIX="${ROOT}/usr"
-USE_PROFILE_HEADERS="no"
-
-check_version() {
- if has_version 'x11-base/xorg-x11'; then
- if ! has_version '>=x11-base/xorg-x11-6.8.0-r4'; then
- die -q "This version requires >=x11-base/xorg-x11-6.8.0-r4"
- fi
- fi
-}
-
-get_current_implementation() {
- local ret
- local ldpath=$(load_config "${ENV_FILE}" LDPATH)
- local opengl_profile=$(load_config "${ENV_FILE}" OPENGL_PROFILE)
-
- if [[ -n ${opengl_profile} ]] ; then
- ret="${opengl_profile}"
- elif [[ -n ${ldpath} ]] ; then
- ret="${ldpath%%:*}"
- ret="${ret##*opengl/}"
- ret="${ret%/lib*}"
- fi
-
- echo ${ret}
-}
-
-get_implementations() {
- local ret dir
- for x in $(list_libdirs) ; do
- [[ ${ROOT} != / ]] && x=${x//${ROOT}}
- for dir in "${PREFIX}/${x}"/opengl/* ; do
- [[ -d ${dir} && $(basename "${dir}") != "global" ]] || continue
- has $(basename "${dir}") ${ret} && continue
- ret=${ret:+${ret} }$(basename "${dir}")
- done
- done
-
- echo ${ret}
-}
-
-setup_lib_symlinks() {
- local profile_libdir=${1}
- local libdir=${2}
- local file
- local rootfile
-
- mkdir -p "${libdir}" || die "Failed to create ${libdir}"
-
- pushd "${libdir}" &> /dev/null
- # First remove old symlinks
- for file in libGL{,core}.{a,so,la} ; do
- rm -f "${file}" || die -q "Failed to delete ${file}"
- done
-
- # Note that we don't do .so*, just .so on purpose. The
- # loader knows to look in the profile dir, and the
- # linked just needs the .so
- for file in ${profile_libdir}/libGL{,core}.{so,a,la}; do
- if [[ ${ROOT} != / ]] ; then
- rootfile="${file//${ROOT}}"
- else
- rootfile="${file}"
- fi
- [[ -f ${file} ]] || continue
- if [[ -f $(basename "${file}") ]] ; then
- rm -f "$(basename "${file}")" || die -q "Failed to delete ${libdir}/$(basename "${file}")"
- fi
-
- # Fix libtool archives (#48297)
- if [[ ${file%.la} != ${file} ]] ; then
- sed "s:${profile_libdir}:${libdir}:g" "${file}" > "$(basename "${file}")" || die -q "Failed to create ${libdir}/$(basename "${file}")"
- else
- ln -s "${rootfile}" || die -q "Failed to create ${libdir}/$(basename "${file}")"
- fi
- done
- popd &> /dev/null
-}
-
-set_new_implementation() {
- local gl_implem=${1}
- local avail_implems=$(get_implementations)
-
- check_version
-
- # Set a sane umask... bug #83115
- umask 022
-
- if ! has ${gl_implem} ${avail_implems}; then
- die -q "Invalid profile selected."
- fi
-
- echo -n "Switching to ${gl_implem} OpenGL interface..."
- if [[ -f ${ENV_FILE} ]] ; then
- rm -f "${ENV_FILE}" || die -q "Failed to remove ${ENV_FILE}"
- fi
-
- local libdir
- for libdir in $(list_libdirs); do
- [[ ${ROOT} != / ]] && libdir=${libdir//${ROOT}}
-
- # First make sure we have an opengl directory and this is a real lib dir, not a symlink
- [[ -d ${PREFIX}/${libdir}/opengl && ! -h ${PREFIX}/${libdir} ]] || continue
-
- # Fallback on xorg-x11 if we don't have this implementation for this libdir.
- local gl_local
- if [[ ! -d ${PREFIX}/${libdir}/opengl/"${gl_implem}" ]] ; then
- gl_local="xorg-x11"
- else
- gl_local="${gl_implem}"
- fi
-
- setup_lib_symlinks "${PREFIX}/${libdir}/opengl/${gl_local}/lib" "${DST_PREFIX}/${libdir}"
-
- if [[ -e ${PREFIX}/${libdir}/opengl/${gl_local}/lib/tls ]] ; then
- setup_lib_symlinks "${PREFIX}/${libdir}/opengl/${gl_local}/lib/tls" "${DST_PREFIX}/${libdir}/tls"
- fi
-
- local moduledir
- if [[ -e ${DST_PREFIX}/${libdir}/xorg/modules ]] ; then
- moduledir="xorg/modules"
- else
- moduledir="modules"
- fi
-
- if [[ -e ${PREFIX}/${libdir}/opengl/${gl_local}/extensions ]] ; then
- mkdir -p "${DST_PREFIX}/${libdir}/${moduledir}/extensions" || die "Failed to create ${DST_PREFIX}/${libdir}/${moduledir}/extensions"
- pushd "${DST_PREFIX}/${libdir}/${moduledir}/extensions" &> /dev/null
- # First remove old symlinks
- for file in lib{wfb,glx}.{a,so,la}; do
- rm -f "${file}" || die -q "Failed to delete ${DST_PREFIX}/${libdir}/${moduledir}/extensions/${file}"
- done
-
- for file in ${PREFIX}/${libdir}/opengl/${gl_local}/extensions/*.{so,a,la}; do
- [[ -f ${file} ]] || continue
- if [[ -f $(basename "${file}") ]] ; then
- rm -f "$(basename "${file}")" || die -q "Failed to delete ${DST_PREFIX}/${libdir}/${moduledir}/extensions/$(basename "${file}")"
- fi
-
- # Fix libtool archives (#48297)
- if [[ ${file%.la} != ${file} ]] ; then
- sed "s:${PREFIX}/[^/]*/opengl/[^/]*/lib:${DST_PREFIX}/${libdir}:g" "${file}" > "$(basename "${file}")" || die -q "Failed to create ${DST_PREFIX}/${libdir}/${moduledir}/extensions/$(basename "${file}")"
- else
- ln -s "${file}" || die -q "Failed to create ${libdir}/$(basename "${file}")"
- fi
- done
- popd &> /dev/null
- fi
-
- # Setup the includes
- mkdir -p "${DST_PREFIX}/include/GL" || die "Failed to create ${DST_PREFIX}/include/GL"
- pushd "${DST_PREFIX}/include/GL" &> /dev/null
- for file in gl.h glx.h glxtokens.h glext.h glxext.h glxmd.h glxproto.h; do
- # IMPORTANT
- # It is preferable currently to use the standard glext.h file
- # however if an OpenGL provider must use a self produced glext.h
- # then it should be installed to ${gl_implem}/include and the user
- # can add the --impl-headers option to select it.
-
- if [[ "${USE_PROFILE_HEADERS}" == "yes" ]] ; then
- # Check the profile first.
- if [[ -e ${PREFIX}/${libdir}/opengl/${gl_implem}/include/${file} ]] ; then
- if [[ -f ${file} || ( -L ${file} && ! -e ${file} ) ]] ; then
- rm -f "${file}" || die -q "Failed to delete ${DST_PREFIX}/include/GL/$(basename "${file}")"
- fi
-
- ln -s ${PREFIX}/${libdir}/opengl/${gl_implem}/include/${file} || die -q "Failed to create ${DST_PREFIX}/include/GL/$(basename "${file}")"
- continue
- fi
- fi
-
- if [[ -e ${PREFIX}/${libdir}/opengl/global/include/${file} ]] ; then
- if [[ -f ${file} || ( -L ${file} && ! -e ${file} ) ]] ; then
- rm -f "${file}" || die -q "Failed to delete ${DST_PREFIX}/include/GL/$(basename "${file}")"
- fi
-
- ln -s ${PREFIX}/${libdir}/opengl/global/include/${file} || die -q "Failed to create ${DST_PREFIX}/include/GL/$(basename "${file}")"
- elif [[ -e ${PREFIX}/${libdir}/opengl/${gl_implem}/include/${file} ]] ; then
- if [[ -f ${file} || ( -L ${file} && ! -e ${file} ) ]] ; then
- rm -f "${file}" || die -q "Failed to delete ${DST_PREFIX}/include/GL/$(basename "${file}")"
- fi
-
- ln -s ${PREFIX}/${libdir}/opengl/${gl_implem}/include/${file} || die -q "Failed to create ${DST_PREFIX}/include/GL/$(basename "${file}")"
- elif [[ -e ${PREFIX}/${libdir}/opengl/xorg-x11/include/${file} ]] ; then
- if [[ -f ${file} || ( -L ${file} && ! -e ${file} ) ]] ; then
- rm -f "${file}" || die -q "Failed to delete ${DST_PREFIX}/include/GL/$(basename "${file}")"
- fi
-
- ln -s ${PREFIX}/${libdir}/opengl/xorg-x11/include/${file} || die -q "Failed to create ${DST_PREFIX}/include/GL/$(basename "${file}")"
- fi
- done
- popd &> /dev/null
-
- # Setup the $LDPATH
- ldpath="${ldpath:+${ldpath}:}${PREFIX}/${libdir}/opengl/${gl_local}/lib"
-
- done
-
- store_config ${ENV_FILE} LDPATH "${ldpath}"
- store_config ${ENV_FILE} OPENGL_PROFILE "${gl_implem}"
-
- do_action env update &> /dev/null
-
- echo " done"
-}
-
-### show action ###
-describe_show() {
- echo "Print the current OpenGL implementation."
-}
-
-do_show() {
- local current=$(get_current_implementation)
- if [[ -n ${current} ]] ; then
- echo ${current}
- return 0
- else
- echo "(none)"
- return 2
- fi
-}
-
-### list action ###
-describe_list() {
- echo "List the available OpenGL implementations."
-}
-
-do_list() {
- targets=( $(get_implementations) )
- write_list_start "Available OpenGL implementations:"
- if [[ -n ${targets[@]} ]] ; then
- local i
- for (( i = 0 ; i < ${#targets[@]} ; i = i + 1 )) ; do
- [[ ${targets[${i}]} == $(get_current_implementation) ]] \
- && targets[${i}]="${targets[${i}]} $(highlight '*' )"
- done
- write_numbered_list "${targets[@]}"
- else
- write_kv_list_entry "(none found)" ""
- fi
-}
-
-### set action ###
-describe_set() {
- echo "Select the OpenGL implementation."
-}
-
-describe_set_parameters() {
- echo "<target>"
-}
-
-describe_set_options() {
- echo "<target> : The profile to activate"
- echo "--use-old : If an implementation is already set, use that one instead"
- echo "--prefix=<val> : Set the source prefix (default: /usr)"
- echo "--dst-prefix=<val> : Set the destination prefix (default: /usr)"
- echo "--impl-headers : Override global headers with ones provided by this profile"
-# write_list_start "Extra options for 'set' action:"
-# write_kv_list_entry "<target>" "The profile to activate."
-# write_kv_list_entry "--use-old" "If an implementation is already set, use that one."
-# write_kv_list_entry "--prefix=<val>" "Set the source prefix (default: /usr)"
-# write_kv_list_entry "--dst-prefix=<val>" "Set the destination prefix (default: /usr)"
-# write_kv_list_entry "--impl-headers" "Use headers provided by this implementation to"
-# write_kv_list_entry "" "override golbal ones provided by opengl-update."
-# write_kv_list_entry "" "This was default in <opengl-update-2.2"
-}
-
-do_set() {
- local action="error"
- local current=$(get_current_implementation)
- local available=$(get_implementations)
- local new
-
- while [[ ${#@} -gt 0 ]] ; do
- local opt=${1}
- shift
- case ${opt} in
- --use-old)
- if [[ -n ${current} ]] && has ${current} ${available}; then
- action="old-implementation"
- fi
- ;;
- --prefix=*)
- PREFIX=${ROOT}${opt#*=}
- available=$(get_implementations)
- ;;
- --dst-prefix=*)
- DST_PREFIX=${ROOT}${opt#*=}
- ;;
- --impl-headers)
- USE_PROFILE_HEADERS="yes"
- ;;
- *)
- if [[ ${action} != "old-implementation" ]] ; then
- action="set-implementation"
- fi
-
- if is_number ${opt} ; then
- targets=( $(get_implementations) )
- new=${targets[$(( ${opt} - 1 ))]}
- if [[ -z ${new} ]] ; then
- die -q "Unrecognized option: ${opt}"
- fi
- elif has ${opt} ${available}; then
- new="${opt}"
- else
- die -q "Unrecognized option: ${opt}"
- fi
- ;;
- esac
- done
-
- case ${action} in
- old-implementation)
- set_new_implementation ${current}
- return $?
- ;;
- set-implementation)
- if [[ -n ${new} ]] ; then
- set_new_implementation ${new}
- return $?
- else
- die -q "Please specify an implementation to set"
- fi
- ;;
- *)
- die -q "Invalid usage of set action."
- ;;
- esac
-}
Copied: tags/release-1.1.1/modules/opengl.eselect (from rev 575, trunk/modules/opengl.eselect)
===================================================================
--- tags/release-1.1.1/modules/opengl.eselect (rev 0)
+++ tags/release-1.1.1/modules/opengl.eselect 2009-06-06 14:09:29 UTC (rev 584)
@@ -0,0 +1,351 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+# Author: Martin Schlemmer <azarah@gentoo.org>
+# Further modifications by Donnie Berkholz <dberkholz@gentoo.org>
+# Further modifications based off submissions to bug #54984 <cyfred@gentoo.org>
+# Further modifications by Jeremy Huddleston <eradicator@gentoo.org>
+# Made into eselect module by Jeremy Huddleston <eradicator@gentoo.org>
+
+inherit multilib package-manager config
+
+# Eselect data
+DESCRIPTION="Manage the OpenGL implementation used by your system"
+MAINTAINER="x11-drivers@gentoo.org"
+SVN_DATE='$Date$'
+VERSION=$(svn_date_to_version "${SVN_DATE}" )
+EBUILD_VERSION="1.0.6"
+
+# Our data
+ENV_FILE="${ROOT}/etc/env.d/03opengl"
+PREFIX="${ROOT}/usr"
+DST_PREFIX="${ROOT}/usr"
+USE_PROFILE_HEADERS="no"
+
+check_version() {
+ if has_version 'x11-base/xorg-x11'; then
+ if ! has_version '>=x11-base/xorg-x11-6.8.0-r4'; then
+ die -q "This version requires >=x11-base/xorg-x11-6.8.0-r4"
+ fi
+ fi
+}
+
+get_current_implementation() {
+ local ret
+ local ldpath=$(load_config "${ENV_FILE}" LDPATH)
+ local opengl_profile=$(load_config "${ENV_FILE}" OPENGL_PROFILE)
+
+ if [[ -n ${opengl_profile} ]] ; then
+ ret="${opengl_profile}"
+ elif [[ -n ${ldpath} ]] ; then
+ ret="${ldpath%%:*}"
+ ret="${ret##*opengl/}"
+ ret="${ret%/lib*}"
+ fi
+
+ echo ${ret}
+}
+
+get_implementations() {
+ local ret dir
+ for x in $(list_libdirs) ; do
+ [[ ${ROOT} != / ]] && x=${x//${ROOT}}
+ for dir in "${PREFIX}/${x}"/opengl/* ; do
+ [[ -d ${dir} && $(basename "${dir}") != "global" ]] || continue
+ has $(basename "${dir}") ${ret} && continue
+ ret=${ret:+${ret} }$(basename "${dir}")
+ done
+ done
+
+ echo ${ret}
+}
+
+setup_lib_symlinks() {
+ local profile_libdir=${1}
+ local libdir=${2}
+ local file
+ local rootfile
+
+ mkdir -p "${libdir}" || die "Failed to create ${libdir}"
+
+ pushd "${libdir}" &> /dev/null
+ # First remove old symlinks
+ for file in libGL{,core}.{a,so,la} ; do
+ rm -f "${file}" || die -q "Failed to delete ${file}"
+ done
+
+ # Note that we don't do .so*, just .so on purpose. The
+ # loader knows to look in the profile dir, and the
+ # linked just needs the .so
+ for file in ${profile_libdir}/libGL{,core}.{so,a,la}; do
+ if [[ ${ROOT} != / ]] ; then
+ rootfile="${file//${ROOT}}"
+ else
+ rootfile="${file}"
+ fi
+ [[ -f ${file} ]] || continue
+ if [[ -f $(basename "${file}") ]] ; then
+ rm -f "$(basename "${file}")" || die -q "Failed to delete ${libdir}/$(basename "${file}")"
+ fi
+
+ # Fix libtool archives (#48297)
+ if [[ ${file%.la} != ${file} ]] ; then
+ sed "s:${profile_libdir}:${libdir}:g" "${file}" > "$(basename "${file}")" || die -q "Failed to create ${libdir}/$(basename "${file}")"
+ else
+ ln -s "${rootfile}" || die -q "Failed to create ${libdir}/$(basename "${file}")"
+ fi
+ done
+ popd &> /dev/null
+}
+
+set_new_implementation() {
+ local gl_implem=${1}
+ local avail_implems=$(get_implementations)
+
+ check_version
+
+ # Set a sane umask... bug #83115
+ umask 022
+
+ if ! has ${gl_implem} ${avail_implems}; then
+ die -q "Invalid profile selected."
+ fi
+
+ echo -n "Switching to ${gl_implem} OpenGL interface..."
+ if [[ -f ${ENV_FILE} ]] ; then
+ rm -f "${ENV_FILE}" || die -q "Failed to remove ${ENV_FILE}"
+ fi
+
+ local libdir
+ for libdir in $(list_libdirs); do
+ [[ ${ROOT} != / ]] && libdir=${libdir//${ROOT}}
+
+ # First make sure we have an opengl directory and this is a real lib dir, not a symlink
+ [[ -d ${PREFIX}/${libdir}/opengl && ! -h ${PREFIX}/${libdir} ]] || continue
+
+ # Fallback on xorg-x11 if we don't have this implementation for this libdir.
+ local gl_local
+ if [[ ! -d ${PREFIX}/${libdir}/opengl/"${gl_implem}" ]] ; then
+ gl_local="xorg-x11"
+ else
+ gl_local="${gl_implem}"
+ fi
+
+ setup_lib_symlinks "${PREFIX}/${libdir}/opengl/${gl_local}/lib" "${DST_PREFIX}/${libdir}"
+
+ if [[ -e ${PREFIX}/${libdir}/opengl/${gl_local}/lib/tls ]] ; then
+ setup_lib_symlinks "${PREFIX}/${libdir}/opengl/${gl_local}/lib/tls" "${DST_PREFIX}/${libdir}/tls"
+ fi
+
+ local moduledir
+ if [[ -e ${DST_PREFIX}/${libdir}/xorg/modules ]] ; then
+ moduledir="xorg/modules"
+ else
+ moduledir="modules"
+ fi
+
+ if [[ -e ${PREFIX}/${libdir}/opengl/${gl_local}/extensions ]] ; then
+ mkdir -p "${DST_PREFIX}/${libdir}/${moduledir}/extensions" || die "Failed to create ${DST_PREFIX}/${libdir}/${moduledir}/extensions"
+ pushd "${DST_PREFIX}/${libdir}/${moduledir}/extensions" &> /dev/null
+ # First remove old symlinks
+ for file in lib{wfb,glx}.{a,so,la}; do
+ rm -f "${file}" || die -q "Failed to delete ${DST_PREFIX}/${libdir}/${moduledir}/extensions/${file}"
+ done
+
+ for file in ${PREFIX}/${libdir}/opengl/${gl_local}/extensions/*.{so,a,la}; do
+ [[ -f ${file} ]] || continue
+ if [[ -f $(basename "${file}") ]] ; then
+ rm -f "$(basename "${file}")" || die -q "Failed to delete ${DST_PREFIX}/${libdir}/${moduledir}/extensions/$(basename "${file}")"
+ fi
+
+ # Fix libtool archives (#48297)
+ if [[ ${file%.la} != ${file} ]] ; then
+ sed "s:${PREFIX}/[^/]*/opengl/[^/]*/lib:${DST_PREFIX}/${libdir}:g" "${file}" > "$(basename "${file}")" || die -q "Failed to create ${DST_PREFIX}/${libdir}/${moduledir}/extensions/$(basename "${file}")"
+ else
+ ln -s "${file}" || die -q "Failed to create ${libdir}/$(basename "${file}")"
+ fi
+ done
+ popd &> /dev/null
+ fi
+
+ # Setup the includes
+ mkdir -p "${DST_PREFIX}/include/GL" || die "Failed to create ${DST_PREFIX}/include/GL"
+ pushd "${DST_PREFIX}/include/GL" &> /dev/null
+ for file in gl.h glx.h glxtokens.h glext.h glxext.h glxmd.h glxproto.h; do
+ # IMPORTANT
+ # It is preferable currently to use the standard glext.h file
+ # however if an OpenGL provider must use a self produced glext.h
+ # then it should be installed to ${gl_implem}/include and the user
+ # can add the --impl-headers option to select it.
+
+ if [[ "${USE_PROFILE_HEADERS}" == "yes" ]] ; then
+ # Check the profile first.
+ if [[ -e ${PREFIX}/${libdir}/opengl/${gl_implem}/include/${file} ]] ; then
+ if [[ -f ${file} || ( -L ${file} && ! -e ${file} ) ]] ; then
+ rm -f "${file}" || die -q "Failed to delete ${DST_PREFIX}/include/GL/$(basename "${file}")"
+ fi
+
+ ln -s ${PREFIX}/${libdir}/opengl/${gl_implem}/include/${file} || die -q "Failed to create ${DST_PREFIX}/include/GL/$(basename "${file}")"
+ continue
+ fi
+ fi
+
+ if [[ -e ${PREFIX}/${libdir}/opengl/global/include/${file} ]] ; then
+ if [[ -f ${file} || ( -L ${file} && ! -e ${file} ) ]] ; then
+ rm -f "${file}" || die -q "Failed to delete ${DST_PREFIX}/include/GL/$(basename "${file}")"
+ fi
+
+ ln -s ${PREFIX}/${libdir}/opengl/global/include/${file} || die -q "Failed to create ${DST_PREFIX}/include/GL/$(basename "${file}")"
+ elif [[ -e ${PREFIX}/${libdir}/opengl/${gl_implem}/include/${file} ]] ; then
+ if [[ -f ${file} || ( -L ${file} && ! -e ${file} ) ]] ; then
+ rm -f "${file}" || die -q "Failed to delete ${DST_PREFIX}/include/GL/$(basename "${file}")"
+ fi
+
+ ln -s ${PREFIX}/${libdir}/opengl/${gl_implem}/include/${file} || die -q "Failed to create ${DST_PREFIX}/include/GL/$(basename "${file}")"
+ elif [[ -e ${PREFIX}/${libdir}/opengl/xorg-x11/include/${file} ]] ; then
+ if [[ -f ${file} || ( -L ${file} && ! -e ${file} ) ]] ; then
+ rm -f "${file}" || die -q "Failed to delete ${DST_PREFIX}/include/GL/$(basename "${file}")"
+ fi
+
+ ln -s ${PREFIX}/${libdir}/opengl/xorg-x11/include/${file} || die -q "Failed to create ${DST_PREFIX}/include/GL/$(basename "${file}")"
+ fi
+ done
+ popd &> /dev/null
+
+ # Setup the $LDPATH
+ ldpath="${ldpath:+${ldpath}:}${PREFIX}/${libdir}/opengl/${gl_local}/lib"
+
+ done
+
+ store_config ${ENV_FILE} LDPATH "${ldpath}"
+ store_config ${ENV_FILE} OPENGL_PROFILE "${gl_implem}"
+
+ do_action env update &> /dev/null
+
+ echo " done"
+}
+
+### show action ###
+describe_show() {
+ echo "Print the current OpenGL implementation."
+}
+
+do_show() {
+ local current=$(get_current_implementation)
+ if [[ -n ${current} ]] ; then
+ echo ${current}
+ return 0
+ else
+ echo "(none)"
+ return 2
+ fi
+}
+
+### list action ###
+describe_list() {
+ echo "List the available OpenGL implementations."
+}
+
+do_list() {
+ targets=( $(get_implementations) )
+ write_list_start "Available OpenGL implementations:"
+ if [[ -n ${targets[@]} ]] ; then
+ local i
+ for (( i = 0 ; i < ${#targets[@]} ; i = i + 1 )) ; do
+ [[ ${targets[${i}]} == $(get_current_implementation) ]] \
+ && targets[${i}]="${targets[${i}]} $(highlight '*' )"
+ done
+ write_numbered_list "${targets[@]}"
+ else
+ write_kv_list_entry "(none found)" ""
+ fi
+}
+
+### set action ###
+describe_set() {
+ echo "Select the OpenGL implementation."
+}
+
+describe_set_parameters() {
+ echo "<target>"
+}
+
+describe_set_options() {
+ echo "<target> : The profile to activate"
+ echo "--use-old : If an implementation is already set, use that one instead"
+ echo "--prefix=<val> : Set the source prefix (default: /usr)"
+ echo "--dst-prefix=<val> : Set the destination prefix (default: /usr)"
+ echo "--impl-headers : Override global headers with ones provided by this profile"
+# write_list_start "Extra options for 'set' action:"
+# write_kv_list_entry "<target>" "The profile to activate."
+# write_kv_list_entry "--use-old" "If an implementation is already set, use that one."
+# write_kv_list_entry "--prefix=<val>" "Set the source prefix (default: /usr)"
+# write_kv_list_entry "--dst-prefix=<val>" "Set the destination prefix (default: /usr)"
+# write_kv_list_entry "--impl-headers" "Use headers provided by this implementation to"
+# write_kv_list_entry "" "override golbal ones provided by opengl-update."
+# write_kv_list_entry "" "This was default in <opengl-update-2.2"
+}
+
+do_set() {
+ local action="error"
+ local current=$(get_current_implementation)
+ local available=$(get_implementations)
+ local new
+
+ while [[ ${#@} -gt 0 ]] ; do
+ local opt=${1}
+ shift
+ case ${opt} in
+ --use-old)
+ if [[ -n ${current} ]] && has ${current} ${available}; then
+ action="old-implementation"
+ fi
+ ;;
+ --prefix=*)
+ PREFIX=${ROOT}${opt#*=}
+ available=$(get_implementations)
+ ;;
+ --dst-prefix=*)
+ DST_PREFIX=${ROOT}${opt#*=}
+ ;;
+ --impl-headers)
+ USE_PROFILE_HEADERS="yes"
+ ;;
+ *)
+ if [[ ${action} != "old-implementation" ]] ; then
+ action="set-implementation"
+ fi
+
+ if is_number ${opt} ; then
+ targets=( $(get_implementations) )
+ new=${targets[$(( ${opt} - 1 ))]}
+ if [[ -z ${new} ]] ; then
+ die -q "Unrecognized option: ${opt}"
+ fi
+ elif has ${opt} ${available}; then
+ new="${opt}"
+ else
+ die -q "Unrecognized option: ${opt}"
+ fi
+ ;;
+ esac
+ done
+
+ case ${action} in
+ old-implementation)
+ set_new_implementation ${current}
+ return $?
+ ;;
+ set-implementation)
+ if [[ -n ${new} ]] ; then
+ set_new_implementation ${new}
+ return $?
+ else
+ die -q "Please specify an implementation to set"
+ fi
+ ;;
+ *)
+ die -q "Invalid usage of set action."
+ ;;
+ esac
+}
Copied: tags/release-1.1.1/modules/package-manager.eselect (from rev 577, trunk/modules/package-manager.eselect)
===================================================================
--- tags/release-1.1.1/modules/package-manager.eselect (rev 0)
+++ tags/release-1.1.1/modules/package-manager.eselect 2009-06-06 14:09:29 UTC (rev 584)
@@ -0,0 +1,16 @@
+# Copyright 2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EDITOR_VAR="PACKAGE_MANAGER"
+EDITOR_ENVFILE="/etc/env.d/50package-manager"
+EDITOR_LIST="portage:/usr/bin/emerge
+ paludis:/usr/bin/paludis
+ pkgcore:/usr/bin/pmerge"
+
+inherit editor-variable
+
+DESCRIPTION="Manage the ${EDITOR_VAR} environment variable"
+MAINTAINER="ulm@gentoo.org"
+SVN_DATE='$Date$'
+VERSION=$(svn_date_to_version "${SVN_DATE}")
Deleted: tags/release-1.1.1/modules/rc.eselect
===================================================================
--- trunk/modules/rc.eselect 2009-06-04 10:33:55 UTC (rev 574)
+++ tags/release-1.1.1/modules/rc.eselect 2009-06-06 14:09:29 UTC (rev 584)
@@ -1,370 +0,0 @@
-# Copyright 1999-2009 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-inherit config
-
-DESCRIPTION="Manage /etc/init.d scripts in runlevels"
-MAINTAINER="eselect@gentoo.org"
-SVN_DATE='$Date$'
-VERSION=$(svn_date_to_version "${SVN_DATE}")
-
-# source_rc_functions PRIVATE
-# API for OpenRC or baselayout-1
-source_rc_functions() {
- [[ ${RC_GOT_FUNCTIONS} = yes ]] && return
- source /etc/init.d/functions.sh || die "Failed to source functions.sh"
- # baselayout-1 compatibility
- if [[ -e ${svclib}/sh/rc-services.sh ]]; then
- source "${svclib}/sh/rc-services.sh" \
- || die "Failed to source rc-services.sh"
- fi
-}
-
-# get_runlevel PRIVATE
-# determine the current runlevel
-# this is only functional if source_rc_functions has been called before
-get_runlevel() {
- if type rc_runlevel &>/dev/null; then
- rc_runlevel || die "rc_runlevel failed"
- elif [[ -n ${SOFTLEVEL} ]]; then
- echo "${SOFTLEVEL}"
- else
- die "Cannot determine runlevel"
- fi
-}
-
-# list_runlevels PRIVATE
-# list runlevels for file $1
-list_runlevels() {
- [[ ${#@} -eq 1 ]] || return
- local x runlevels
- for x in ${ROOT}/etc/runlevels/* ; do
- [[ -d ${x} ]] || continue
- [[ -L ${ROOT}/etc/runlevels/${x##*/}/${1} ]] \
- && runlevels=(${runlevels[@]} "${x##*/}")
- done
- echo -ne "${runlevels[@]}"
-}
-
-# is_script PRIVATE
-# check if file $1 is a valid init script
-is_script() {
- local file=${1}
- [[ -n ${file} ]] \
- || return 1
- ( [[ -L ${file} ]] \
- && [[ ! -e $(canonicalise -f ${file}) ]] ) \
- && return 1
- [[ -e ${file} ]] \
- && [[ ${file%%.sh} == ${file} ]] \
- && [[ ${file%%\~} == ${file} ]] \
- && [[ -n `grep "^#\!/sbin/runscript" ${file}` ]]
-}
-
-# find_scripts PRIVATE
-# browse directory $1 for init scripts and return a list
-find_scripts() {
- local ret
- for file in ${1}/* ; do
- is_script ${file} \
- && ret=(${ret[@]} "${file##*/}")
- done
- echo -ne ${ret[@]}
-}
-
-# run_runscript PRIVATE
-# run RC_RUNSCRIPT with script $2- and command $1
-run_runscript() {
- local command=${1}
- shift
- write_list_start "${1}"
- shift
- for script in ${@} ; do
- is_script ${ROOT}/etc/init.d/${script} \
- && /sbin/runscript ${ROOT}/etc/init.d/${script} ${command}
- done
-}
-
-### add action
-
-describe_add() {
- echo "Add script to existing runlevel(s)"
-}
-
-describe_add_parameters() {
- echo "<script> <runlevels>"
-}
-
-describe_add_options() {
- echo "script : Init script (from 'list' action)"
- echo "runlevels : Runlevels to add to (defaults to 'default')"
-}
-
-do_add() {
- [[ ${#@} -gt 0 ]] \
- || die -q "Please specify the init script to be added!"
- local script=${1##*/}
- [[ -e ${ROOT}/etc/init.d/${script} ]] \
- || die -q "Please specify a valid init script!"
- shift 1
- local runlevels=${@:-default}
- write_list_start "Adding $(highlight ${script}) to following runlevels"
- for runlevel in ${runlevels} ; do
- if [[ ! -d ${ROOT}/etc/runlevels/${runlevel} ]] ; then
- write_kv_list_entry ${runlevel} "[invalid]"
- continue
- else
- if [[ -L ${ROOT}/etc/runlevels/${runlevel}/${script} ]] ; then
- write_kv_list_entry ${runlevel} "[skipped]"
- else
- ln -sf \
- /etc/init.d/${script} \
- ${ROOT}/etc/runlevels/${runlevel}/${script} \
- && write_kv_list_entry ${runlevel} "[done]" \
- || write_kv_list_entry ${runlevel} "[failed]"
- fi
- fi
- done
-}
-
-### delete action
-
-describe_delete() {
- echo "Delete script from existing runlevel(s)"
-}
-
-describe_delete_parameters() {
- echo "<script> <runlevels>"
-}
-
-describe_delete_options() {
- echo "script : Init script (from 'list' action)"
- echo "runlevels : Runlevels to delete from (defaults to 'default')"
-}
-
-do_delete() {
- [[ ${#@} -gt 0 ]] \
- || die -q "Please specify the init script to be deleted!"
- local script=${1##*/}
- shift 1
- [[ -e ${ROOT}/etc/init.d/${script} ]] || write_warning_msg \
- "Init script not found in /etc/init.d/. Continuing anyway."
- local runlevels=${@:-default}
- write_list_start "Deleting $(highlight ${script}) from following runlevels"
- for runlevel in ${runlevels} ; do
- if [[ ! -d ${ROOT}/etc/runlevels/${runlevel} ]] ; then
- write_kv_list_entry ${runlevel} "[invalid]"
- continue
- else
- if [[ -L ${ROOT}/etc/runlevels/${runlevel}/${script} ]] ; then
- rm ${ROOT}/etc/runlevels/${runlevel}/${script} \
- && write_kv_list_entry ${runlevel} "[done]" \
- || write_kv_list_entry ${runlevel} "[failed]"
- else
- write_kv_list_entry ${runlevel} "[skipped]"
- fi
- fi
- done
-}
-
-### list action
-
-describe_list() {
- echo "List all available init scripts"
-}
-
-describe_list_parameters() {
- echo "<runlevel>"
-}
-
-describe_list_options() {
- echo "runlevel : Runlevel to list (defaults to all)"
-}
-
-do_list() {
- local dir file item
- if [[ -n ${1} ]] && [[ -d ${ROOT}/etc/runlevels/${1} ]] ; then
- dir=${ROOT}/etc/runlevels/${1}
- write_list_start "Init scripts to be started by runlevel $(highlight ${1})"
- elif [[ -z ${1} ]] ; then
- dir=${ROOT}/etc/init.d
- write_list_start "Available init scripts"
- else
- die -q "${1} is no valid runlevel!"
- fi
-
- for file in $(find_scripts ${dir}) ; do
- [[ ${dir##*/} = init.d ]] \
- && write_kv_list_entry ${file} "$(list_runlevels ${file})" \
- || echo " ${file}"
-# && echo " ${file} $(space $((20 - ${#file}))) | $(list_runlevels ${file})" \
-# || echo " ${file}"
- done
-}
-
-### show action
-
-describe_show() {
- echo "Show init script status"
-}
-
-describe_show_parameters() {
- echo "<runlevels>"
-}
-
-describe_show_options() {
- echo "runlevels : Runlevels to list (defaults to current runlevel)"
- echo "--all : List all runlevels"
-}
-
-do_show() {
- local runlevel status n x
-
- # core.bash redefines eval; unset it because OpenRC's
- # functions.sh needs the bash builtin
- unset -f eval
- source_rc_functions
-
- if [[ $# -eq 0 ]]; then
- set -- "$(get_runlevel)"
- elif [[ ${1##--} = all ]]; then
- for x in "${ROOT}"/etc/runlevels/*; do
- [[ -d "${x}" ]] && runlevels=("${runlevels[@]}" "${x##*/}")
- done
- set -- "${runlevels[@]}"
- fi
-
- for runlevel in "$@"; do
- [[ -n ${runlevel} && -d ${ROOT}/etc/runlevels/${runlevel} ]] \
- || die -q "\"${runlevel}\" is no valid runlevel"
-
- write_list_start \
- "Status of init scripts in runlevel \"${runlevel}\""
- n=0
- for script in $(find_scripts "${ROOT}/etc/runlevels/${runlevel}"); do
- status=unknown
- for x in stopping starting inactive started stopped; do
- if service_${x} ${script}; then
- status=${x}
- break
- fi
- done
- case ${status} in
- stopped)
- write_kv_list_entry ${script} [${x}]
- ;;
- started)
- write_kv_list_entry ${script} "$(highlight [${x}])"
- ;;
- *)
- write_kv_list_entry ${script} "$(highlight_warning [${x}])"
- ;;
- esac
- ((n++))
- done
- [[ ${n} -eq 0 ]] && write_kv_list_entry "(none found)" ""
- done
-}
-
-### start action
-
-describe_start() {
- echo "Start given set of init scripts manually"
-}
-
-describe_start_parameters() {
- echo "<scripts>"
-}
-
-describe_start_options() {
- echo "scripts : Init scripts to start"
-}
-
-do_start() {
- [[ ${#@} -gt 0 ]] \
- || die -q "Please specify the init script to be started!"
- run_runscript start "Starting init script$([[ ${#@} -gt 1 ]] && echo -ne 's')" ${@}
-}
-
-### stop action
-
-describe_stop() {
- echo "Stop given set of init scripts manually"
-}
-
-describe_stop_parameters() {
- echo "<scripts>"
-}
-
-describe_stop_options() {
- echo "scripts : Init scripts to stop"
-}
-
-do_stop() {
- [[ ${#@} -gt 0 ]] \
- || die -q "Please specify the init script to be stopped!"
- run_runscript stop "Stopping init script$([[ ${#@} -gt 1 ]] && echo -ne 's')" ${@}
-}
-
-### pause action
-
-describe_pause() {
- echo "Pauses given set of init scripts manually"
-}
-
-describe_pause_parameters() {
- echo "<scripts>"
-}
-
-describe_pause_options() {
- echo "scripts : Init scripts to pause"
-}
-
-do_pause() {
- [[ ${#@} -gt 0 ]] \
- || die -q "Please specify the init script to be paused!"
- run_runscript pause "Pausing init script$([[ ${#@} -gt 1 ]] && echo -ne 's')" ${@}
-}
-
-### reload action
-
-describe_reload() {
- echo "Reload given set of init scripts"
-}
-
-describe_reload_parameters() {
- echo "<scripts>"
-}
-
-describe_reload_options() {
- echo "scripts : Init scripts to reload"
-}
-
-do_reload() {
- [[ ${#@} -gt 0 ]] \
- || die -q "Please specify the init script to be reloaded!"
- run_runscript reload "Reloading init script$([[ ${#@} -gt 1 ]] && echo -ne 's')" ${@}
-}
-
-### restart action
-
-describe_restart() {
- echo "Restart given set of init scripts"
-}
-
-describe_restart_parameters() {
- echo "<scripts>"
-}
-
-describe_restart_options() {
- echo "scripts : Init scripts to restart"
-}
-
-do_restart() {
- [[ ${#@} -gt 0 ]] \
- || die -q "Please specify the init script to be restarted!"
- run_runscript restart "Restarting init script$([[ ${#@} -gt 1 ]] && echo -ne 's')" ${@}
-}
-
-# vim: set ft=eselect :
Copied: tags/release-1.1.1/modules/rc.eselect (from rev 578, trunk/modules/rc.eselect)
===================================================================
--- tags/release-1.1.1/modules/rc.eselect (rev 0)
+++ tags/release-1.1.1/modules/rc.eselect 2009-06-06 14:09:29 UTC (rev 584)
@@ -0,0 +1,402 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+inherit config
+
+DESCRIPTION="Manage /etc/init.d scripts in runlevels"
+MAINTAINER="eselect@gentoo.org"
+SVN_DATE='$Date$'
+VERSION=$(svn_date_to_version "${SVN_DATE}")
+
+# source_rc_functions PRIVATE
+# API for OpenRC or baselayout-1
+source_rc_functions() {
+ [[ ${RC_GOT_FUNCTIONS} = yes ]] && return
+ source /etc/init.d/functions.sh || die "Failed to source functions.sh"
+ # baselayout-1 compatibility
+ if [[ -e ${svclib}/sh/rc-services.sh ]]; then
+ source "${svclib}/sh/rc-services.sh" \
+ || die "Failed to source rc-services.sh"
+ fi
+}
+
+# get_runlevel PRIVATE
+# determine the current runlevel
+# this is only functional if source_rc_functions has been called before
+get_runlevel() {
+ if type rc_runlevel &>/dev/null; then
+ rc_runlevel || die "rc_runlevel failed"
+ elif [[ -n ${SOFTLEVEL} ]]; then
+ echo "${SOFTLEVEL}"
+ else
+ die "Cannot determine runlevel"
+ fi
+}
+
+# list_runlevels PRIVATE
+# list runlevels for file $1
+list_runlevels() {
+ [[ $# -eq 1 ]] || return
+ local x runlevels
+ for x in ${ROOT}/etc/runlevels/* ; do
+ [[ -d ${x} && -L ${x}/${1} ]] \
+ && runlevels=(${runlevels[@]} "${x##*/}")
+ done
+ echo -ne "${runlevels[@]}"
+}
+
+# is_script PRIVATE
+# check if file $1 is a valid init script
+is_script() {
+ local file=${1}
+ [[ -n ${file} \
+ && ${file%%.sh} = ${file} \
+ && ${file%%\~} = ${file} \
+ && -e ${file} ]] \
+ && grep "^#\!/sbin/runscript" "${file}" &>/dev/null
+}
+
+# find_scripts PRIVATE
+# browse directory $1 for init scripts and return a list
+find_scripts() {
+ for file in ${1}/* ; do
+ is_script ${file} && echo "${file##*/}"
+ done
+}
+
+# find_unused_scripts PRIVATE
+# find scripts in /etc/init.d not belonging to any runlevel
+find_unused_scripts() {
+ local file x
+ for file in $(find_scripts "${ROOT}/etc/init.d"); do
+ for x in "${ROOT}"/etc/runlevels/*; do
+ [[ -d ${x} && -L ${x}/${file} ]] && continue 2
+ done
+ echo "${file##*/}"
+ done
+}
+
+# show_script_status PRIVATE
+# output list entry for script $1 and show its status
+show_script_status() {
+ local script=${1} status=unknown x
+
+ for x in stopping starting inactive started stopped; do
+ if service_${x} ${script}; then
+ status=${x}
+ break
+ fi
+ done
+ case ${status} in
+ stopped)
+ write_kv_list_entry ${script} [${x}]
+ ;;
+ started)
+ write_kv_list_entry ${script} "$(highlight [${x}])"
+ ;;
+ *)
+ write_kv_list_entry ${script} "$(highlight_warning [${x}])"
+ ;;
+ esac
+}
+
+# run_runscript PRIVATE
+# run RC_RUNSCRIPT with script $2- and command $1
+run_runscript() {
+ local command=${1}
+ shift
+ for script in "$@"; do
+ is_script "${ROOT}/etc/init.d/${script}" \
+ && /sbin/runscript "${ROOT}/etc/init.d/${script}" "${command}"
+ done
+}
+
+### add action
+
+describe_add() {
+ echo "Add script to existing runlevel(s)"
+}
+
+describe_add_parameters() {
+ echo "<script> <runlevels>"
+}
+
+describe_add_options() {
+ echo "script : Init script (from 'list' action)"
+ echo "runlevels : Runlevels to add to (defaults to 'default')"
+}
+
+do_add() {
+ [[ $# -gt 0 ]] \
+ || die -q "Please specify the init script to be added!"
+ local script=${1##*/}
+ [[ -e ${ROOT}/etc/init.d/${script} ]] \
+ || die -q "Please specify a valid init script!"
+ shift 1
+ local runlevels=${@:-default}
+ write_list_start "Adding $(highlight ${script}) to following runlevels"
+ for runlevel in ${runlevels} ; do
+ if [[ ! -d ${ROOT}/etc/runlevels/${runlevel} ]] ; then
+ write_kv_list_entry ${runlevel} "[invalid]"
+ continue
+ else
+ if [[ -L ${ROOT}/etc/runlevels/${runlevel}/${script} ]] ; then
+ write_kv_list_entry ${runlevel} "[skipped]"
+ else
+ ln -sf \
+ /etc/init.d/${script} \
+ ${ROOT}/etc/runlevels/${runlevel}/${script} \
+ && write_kv_list_entry ${runlevel} "[done]" \
+ || write_kv_list_entry ${runlevel} "[failed]"
+ fi
+ fi
+ done
+}
+
+### delete action
+
+describe_delete() {
+ echo "Delete script from existing runlevel(s)"
+}
+
+describe_delete_parameters() {
+ echo "<script> <runlevels>"
+}
+
+describe_delete_options() {
+ echo "script : Init script (from 'list' action)"
+ echo "runlevels : Runlevels to delete from (defaults to 'default')"
+}
+
+do_delete() {
+ [[ $# -gt 0 ]] \
+ || die -q "Please specify the init script to be deleted!"
+ local script=${1##*/}
+ shift 1
+ [[ -e ${ROOT}/etc/init.d/${script} ]] || write_warning_msg \
+ "Init script not found in /etc/init.d/. Continuing anyway."
+ local runlevels=${@:-default}
+ write_list_start "Deleting $(highlight ${script}) from following runlevels"
+ for runlevel in ${runlevels} ; do
+ if [[ ! -d ${ROOT}/etc/runlevels/${runlevel} ]] ; then
+ write_kv_list_entry ${runlevel} "[invalid]"
+ continue
+ else
+ if [[ -L ${ROOT}/etc/runlevels/${runlevel}/${script} ]] ; then
+ rm ${ROOT}/etc/runlevels/${runlevel}/${script} \
+ && write_kv_list_entry ${runlevel} "[done]" \
+ || write_kv_list_entry ${runlevel} "[failed]"
+ else
+ write_kv_list_entry ${runlevel} "[skipped]"
+ fi
+ fi
+ done
+}
+
+### list action
+
+describe_list() {
+ echo "List all available init scripts"
+}
+
+describe_list_parameters() {
+ echo "<runlevel>"
+}
+
+describe_list_options() {
+ echo "runlevel : Runlevel to list (defaults to all)"
+}
+
+do_list() {
+ local dir file item
+ if [[ -n ${1} ]] && [[ -d ${ROOT}/etc/runlevels/${1} ]] ; then
+ dir=${ROOT}/etc/runlevels/${1}
+ write_list_start "Init scripts to be started by runlevel $(highlight ${1})"
+ elif [[ -z ${1} ]] ; then
+ dir=${ROOT}/etc/init.d
+ write_list_start "Available init scripts"
+ else
+ die -q "${1} is no valid runlevel!"
+ fi
+
+ for file in $(find_scripts "${dir}") ; do
+ write_kv_list_entry "${file}" \
+ $([[ ${dir##*/} = init.d ]] && list_runlevels "${file}")
+ done
+}
+
+### show action
+
+describe_show() {
+ echo "Show init script status"
+}
+
+describe_show_parameters() {
+ echo "<runlevels>"
+}
+
+describe_show_options() {
+ echo "runlevels : Runlevels to list (defaults to current runlevel)"
+ echo "--all : List all runlevels"
+ echo "--unused : Show scripts not assigned to any runlevel"
+}
+
+do_show() {
+ local runlevel all unused n x
+
+ # core.bash redefines eval; unset it because OpenRC's
+ # functions.sh needs the bash builtin
+ unset -f eval
+ source_rc_functions
+
+ if [[ $# -eq 0 ]]; then
+ set -- "$(get_runlevel)"
+ else
+ while [[ $# -gt 0 ]]; do
+ case ${1##--} in
+ all) all=1 ;;
+ unused) unused=1 ;;
+ *) break ;;
+ esac
+ shift
+ done
+ if [[ -n ${all} ]]; then
+ local runlevels=()
+ for x in "${ROOT}"/etc/runlevels/*; do
+ [[ -d "${x}" ]] && runlevels=("${runlevels[@]}" "${x##*/}")
+ done
+ set -- "${runlevels[@]}"
+ fi
+ fi
+
+ for runlevel in "$@"; do
+ [[ -n ${runlevel} && -d ${ROOT}/etc/runlevels/${runlevel} ]] \
+ || die -q "\"${runlevel}\" is no valid runlevel"
+
+ write_list_start "Status of init scripts in runlevel \"${runlevel}\""
+ n=0
+ for script in $(find_scripts "${ROOT}/etc/runlevels/${runlevel}"); do
+ show_script_status ${script}
+ ((n++))
+ done
+ [[ ${n} -eq 0 ]] && write_kv_list_entry "(none found)" ""
+ done
+
+ if [[ -n ${unused} ]]; then
+ write_list_start "Status of init scripts not assigned to any runlevel"
+ n=0
+ for script in $(find_unused_scripts); do
+ show_script_status ${script}
+ ((n++))
+ done
+ [[ ${n} -eq 0 ]] && write_kv_list_entry "(none found)" ""
+ fi
+}
+
+### start action
+
+describe_start() {
+ echo "Start given set of init scripts manually"
+}
+
+describe_start_parameters() {
+ echo "<scripts>"
+}
+
+describe_start_options() {
+ echo "scripts : Init scripts to start"
+}
+
+do_start() {
+ [[ $# -gt 0 ]] \
+ || die -q "Please specify the init script to be started!"
+ write_list_start "Starting init script$([[ $# -gt 1 ]] && echo -n 's')"
+ run_runscript start "$@"
+}
+
+### stop action
+
+describe_stop() {
+ echo "Stop given set of init scripts manually"
+}
+
+describe_stop_parameters() {
+ echo "<scripts>"
+}
+
+describe_stop_options() {
+ echo "scripts : Init scripts to stop"
+}
+
+do_stop() {
+ [[ $# -gt 0 ]] \
+ || die -q "Please specify the init script to be stopped!"
+ write_list_start "Stopping init script$([[ $# -gt 1 ]] && echo -n 's')"
+ run_runscript stop "$@"
+}
+
+### pause action
+
+describe_pause() {
+ echo "Pauses given set of init scripts manually"
+}
+
+describe_pause_parameters() {
+ echo "<scripts>"
+}
+
+describe_pause_options() {
+ echo "scripts : Init scripts to pause"
+}
+
+do_pause() {
+ [[ $# -gt 0 ]] \
+ || die -q "Please specify the init script to be paused!"
+ write_list_start "Pausing init script$([[ $# -gt 1 ]] && echo -n 's')"
+ run_runscript pause "$@"
+}
+
+### reload action
+
+describe_reload() {
+ echo "Reload given set of init scripts"
+}
+
+describe_reload_parameters() {
+ echo "<scripts>"
+}
+
+describe_reload_options() {
+ echo "scripts : Init scripts to reload"
+}
+
+do_reload() {
+ [[ $# -gt 0 ]] \
+ || die -q "Please specify the init script to be reloaded!"
+ write_list_start "Reloading init script$([[ $# -gt 1 ]] && echo -n 's')"
+ run_runscript reload "$@"
+}
+
+### restart action
+
+describe_restart() {
+ echo "Restart given set of init scripts"
+}
+
+describe_restart_parameters() {
+ echo "<scripts>"
+}
+
+describe_restart_options() {
+ echo "scripts : Init scripts to restart"
+}
+
+do_restart() {
+ [[ $# -gt 0 ]] \
+ || die -q "Please specify the init script to be restarted!"
+ write_list_start "Restarting init script$([[ $# -gt 1 ]] && echo -n 's')"
+ run_runscript restart "$@"
+}
+
+# vim: set ft=eselect :
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2009-06-06 14:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-06 14:09 [gentoo-commits] eselect r584 - in tags: . release-1.1.1 release-1.1.1/libs release-1.1.1/man release-1.1.1/modules Ulrich Mueller (ulm)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox