aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* Change to the proper directory level for tarstatelessAaron W. Swenson2017-04-181-1/+1
|
* Add gitignore and makefileAaron W. Swenson2017-04-122-0/+13
|
* Remove redundant do_unset() callAaron W. Swenson2017-02-061-5/+2
| | | | do_set() calls do_unset(). No need to call it before do_set().
* Remove useless reset actionAaron W. Swenson2017-02-061-14/+2
| | | | | The reset action is usless as do_set calls do_unset if active_slot is something other than (none).
* Eliminate some noiseAaron W. Swenson2017-02-061-4/+2
| | | | Removed unnecessary echo about generating new links.
* Huge ChangesAaron W. Swenson2017-02-041-133/+129
| | | | | | | | | | | | | | | No longer use an environment file. All links are in locations that are searched by default by man and pkgconfig. Remove several files outright in /etc/eselect/postgresql as they’re unnecessary. Added linking for man pages and pkgconfig files. Rename ${SLOT} to ${slot} as it isn’t a global variable. Now compatible with the upcoming slot scheme where there is no dot. (Release 10.0 is just 10.)
* Add pkg-config supportAaron W. Swenson2016-10-301-34/+25
| | | | Among some other cleanups, add pkg-config support.
* Fix typoAaron W. Swenson2016-08-081-1/+1
| | | | Whoa, can’t believe I let that go for so long.
* Remove TODO Refactor out finderAaron W. Swenson2016-08-081-2/+0
| | | | It’s been moved.
* Rename global variables to something sensibleAaron W. Swenson2016-08-081-51/+51
| | | | Decoding those 1 character prefixes is exhausting!
* Refactor update to clean out old files and directories that are no longer used.Aaron W. Swenson2016-08-081-53/+65
|
* Remove most/all active.links creation pointsAaron W. Swenson2016-05-211-32/+68
| | | | | | | | Refactor do_set so that it doesn't create active.links* files. Will need to refactor unlinker and move its content into do_update. do_unset now does a lot more work to look for and remove symlinks managed by this module.
* Use pg_config to get version numbersAaron W. Swenson2016-05-201-13/+23
| | | | | | | | | | | | Now that the ebuilds are unified, we don't really need a bunch of files laying around containing version number and which ebuild is providing it. And, pg_config can give us the version number anyway. Sure, we miss out on revision numbers, but people really shouldn't be using this tool to get that detailed. So, given that, rework the do_list.
* Stateless: No longer rely on an 'active' fileAaron W. Swenson2016-05-181-12/+12
| | | | | | | | | | | | | Working towards a stateless module, no need to keep track of links or active slot in a collection of files. /usr/share/postgresql is symbolic link generated by this module. So, we're able to determine which real directory it's pointing to, which will be /usr/share/postgresql-SLOT. A bit of sed magic gets just the slot portion off the end. Et voila! We no longer need to store the active slot in a file. If /usr/share/postgresql doesn't exist, then we haven't set a slot.
* We are removing symbolic links, not files.Aaron W. Swenson2016-05-181-2/+2
|
* Bump $VERSION to 1.2.1Aaron W. Swenson2013-11-211-1/+1
|
* pg_config_ext.h symlinkAaron W. Swenson2013-11-211-0/+5
| | | | Have a new header to create a symlink for. Fixes bug 486674.
* Bump version number.Aaron W. Swenson2013-07-271-1/+1
|
* Add support for x32.Aaron W. Swenson2013-07-271-0/+3
|
* Refine get_slots() LogicAaron W. Swenson2013-07-131-1/+12
| | | | get_slots() shouldn't return false positives now.
* Correct variable typoAaron W. Swenson2013-06-131-1/+1
| | | | | | Fix bug 471866 [1]. Thank you Ben Kohler for reporting and submitting the patch. 1.) https://bugs.gentoo.org/show_bug.cgi?id=471866
* Update copyright.Aaron W. Swenson2013-02-081-1/+1
|
* Use relative paths instead of absolute paths. Fix bug 321114.Aaron W. Swenson2013-01-201-12/+25
|
* Removed SVN_DATE.Aaron W. Swenson2012-02-221-2/+1
|
* Missed a trailing slash.Aaron W. Swenson2011-04-261-1/+1
|
* Put double quotes back around '-name' to be consistent with the rest of theAaron W. Swenson2011-04-261-5/+5
| | | | | module. Add trailing slash to source path just to be safe.
* Replaced '-xtype' with '-type' and added '-L' to the 'find' command.Aaron W. Swenson2011-04-241-4/+4
|
* Better comment as to why 'set -f' is there.Aaron W. Swenson2011-04-221-0/+3
|
* Comment hintAaron W. Swenson2011-04-221-1/+2
|
* Fixes bug 364257Aaron W. Swenson2011-04-221-2/+7
|
* This time with the proper regex.Aaron W. Swenson2011-04-211-1/+1
|
* '-printf' is GNU extension of the find utility. Additionally, the regex that wasAaron W. Swenson2011-04-211-4/+4
| | | | passed was an Emacs regex, which is also a GNU extension of the find utility.
* Fixed MAN page search paths.Aaron W. Swenson2011-04-181-3/+3
|
* Specific to the module.Aaron W. Swenson2011-04-031-16/+12
|
* Links all lib* files and symlinks in /usr/lib(64)?/postgresql${SLOT}/lib(64)?Aaron W. Swenson2011-04-021-8/+10
| | | | | | | | | Unset now calls do_update() as per bug #360467. do_update() simply calls do_set() rather than do_reset() to avoid loops, and a reset wasn't really necessary anyway. Added '-mindepth 1' to 'find' in linker() so that only the contents are returned and not the directory itself. Fixed comments regarding linker().
* Fixed path so that it looks for something that'll actually exist.Aaron W. Swenson2011-04-011-2/+2
|
* Fixed bitness test so that a false positive doesn't happen.Aaron W. Swenson2011-04-011-3/+3
| | | | Remove another set of quotes within [[ ]].
* Path quoting complete, and remove the path quoting inside [[ ]].Aaron W. Swenson2011-04-011-21/+23
| | | | [[ ]] used instead of [ ] everywhere.
* Variable quoting for paths.Aaron W. Swenson2011-03-311-51/+51
|
* Bit harder to trick get_slots().Aaron W. Swenson2011-03-291-1/+3
|
* Switched from 'ls' to 'find'. Addressed issues fromAaron W. Swenson2011-03-291-50/+74
| | | | http://archives.gentoo.org/gentoo-dev/msg_5825580bbfa5b8b2f6dab9faa880ddd3.xml
* Cleaned up output and localized variables.Aaron W. Swenson2011-03-271-20/+27
|
* Changed behavior of update(). It'll now both pick and set the default as beingAaron W. Swenson2011-03-251-4/+0
| | | | | active automatically. When a default is set already, it merely does a reset and refreshes all of the links.
* Localize variables.Aaron W. Swenson2011-03-221-3/+3
|
* Fixing lib references. ${EROOT}/usr/lib(64)?/postgresql-${SLOT}/lib(64)?/Aaron W. Swenson2011-03-211-6/+6
|
* Initial commit of the 1.0 series of postgresql.eselect. A module that managesAaron W. Swenson2011-03-191-0/+296
| | | | symbolic links on a user's machine to libraries and binaries.
* Initial commit. README describes repository layout.Aaron W. Swenson2011-03-191-0/+22