summaryrefslogtreecommitdiff
path: root/pkgtools/pkg_alternatives
AgeCommit message (Collapse)AuthorFilesLines
2012-09-11"user-destdir" is default these daysasau1-2/+1
2012-06-13Update to 1.6, changes:jperkin3-29/+31
- Use the correct id(1) program. Fixes PR pkg/40691 - Avoid unprintable characters, some implementations of tr(1) have issues with them. Instead go for what hopefully will be a unique string, as well as making use of shell parameter substitution. Fixes PR pkg/42197 These changes combined make pkg_alternatives work correctly on Solaris.
2012-06-13Only do substitutions on files which need them, avoids warnings.jperkin1-2/+2
2010-02-19Use REAL_ROOT_USER. Bump version.joerg1-3/+3
2009-06-14Remove @dirrm entries from PLISTsjoerg1-3/+1
2009-04-09Remove redundant NO_CHECKSUM and EXTRACT_ONLY definitions.joerg1-3/+1
2008-06-13fix DESTDIR issueabs1-8/+9
2008-06-12Add DESTDIR support.joerg1-1/+2
2007-01-15Updated pkg_alternatives to 1.4.rillig2-5/+6
Changes since 1.3: - Added support for non-standard PKGMANDIR.
2006-09-20Fixed the path to the manual page. Adjusted CHECK_INTERPRETER_SKIP.rillig1-3/+5
2006-09-20It's pkg_alternatives(8), not (1).rillig1-2/+2
2006-04-22Removed the superfluous "quotes" and 'quotes' from variables that don'trillig1-2/+2
need them, for example RESTRICTED and SUBST_MESSAGE.*.
2006-03-14Modify the pkginstall framework so that it manages all aspects ofjlam1-3/+1
INSTALL/DEINSTALL script creation within pkgsrc. If an INSTALL or DEINSTALL script is found in the package directory, it is automatically used as a template for the pkginstall-generated scripts. If instead, they should be used simply as the full scripts, then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC explicitly, e.g.: INSTALL_SRC= ${PKGDIR}/INSTALL DEINSTALL_SRC= # emtpy As part of the restructuring of the pkginstall framework internals, we now *always* generate temporary INSTALL or DEINSTALL scripts. By comparing these temporary scripts with minimal INSTALL/DEINSTALL scripts formed from only the base templates, we determine whether or not the INSTALL/DEINSTALL scripts are actually needed by the package (see the generate-install-scripts target in bsd.pkginstall.mk). In addition, more variables in the framework have been made private. The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are more sensible names given the very few exported variables in this framework. The only public variables relating to the templates are: INSTALL_SRC INSTALL_TEMPLATE DEINSTALL_SRC DEINSTALL_TEMPLATE HEADER_TEMPLATE The packages in pkgsrc have been modified to reflect the changes in the pkginstall framework.
2005-12-29Remove USE_PKGINSTALL from pkgsrc now that mk/install/pkginstall.mkjlam1-2/+1
automatically detects whether we want the pkginstall machinery to be used by the package Makefile.
2005-08-20Use REQD_DIRS instead of MAKE_DIRS for directories under ${PREFIX} sojlam1-3/+4
that these directories will be conditionally removed (based on reference counts), regardless of the value of PKG_CONFIG. Bump the PKGREVISION for packages that were modified as a result.
2005-05-21SUBST_FILES.* must be relative to ${WRKSRC}.jlam1-2/+2
2005-04-11Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used.tv1-2/+1
2005-02-10Update to 1.3: show a more descriptive usage message, useful as a quickjmmv2-4/+20
reference. Per tv@'s suggestion.
2005-01-30Update to 1.2:jmmv5-9/+164
- Add support to explicitly select which wrappers are wanted on a system and which ones are not. This is done through a configuration file that defines a filter with a set of actions and regular expressions (example file included). - Add an examples section to the manual page with solutions for some FAQs.
2005-01-28Fix Dt, and improve formatting.wiz1-38/+40
2005-01-25Explicitly use -g instead of relying on default behavior.jmmv2-4/+4
2005-01-25Add the -g flag to explicitly select the "group mode" (previously known asjmmv2-15/+27
"package mode"). Use previous version bump for this change.
2005-01-25Update to 1.1:jmmv5-5/+70
- Add the destroy action, used to remove the alternatives database as well as any known wrappers. - Use the rebuild/destroy actions at install/deinstall time respectively so that this package can be installed at any time and pick up automatically available alternatives from PKG_DBDIR. Per suggestion from reed@ in tech-pkg@.
2005-01-25Initial import of pkg_alternatives, version 1.0:jmmv7-0/+1103
pkg_alternatives is a tool to manage the alternatives system provided by The NetBSD Packages Collection, also known as pkgsrc. It creates, configures and destroys generic wrappers used to run programs with similar interfaces. No objections in tech-pkg@. Agreed with jlam@, who has provided lots of design suggestions.