summaryrefslogtreecommitdiff
path: root/pkgtools
AgeCommit message (Collapse)AuthorFilesLines
2005-02-05Another fix for python and ruby packages, this time for installed ones.wiz2-4/+12
Standardize the prefix so they can be compared with the packages more easily (pkg_chk is better at this anyway, but since I fixed the other cases already...). Welcome to 4.00!
2005-02-05Pull in documentation improvements and a minor change to allow buildingjlam4-17/+17
with WARNS=2 from src/usr.sbin/pkg_install. No functional change and no version bump.
2005-02-05Use "-P path" instead of "-P file" in the synopsis.simonb1-2/+2
2005-02-04Update to 3.99:wiz2-7/+20
Fix lintpkgsrc handling of python and ruby packages. Remove invalid-dewey test that broke more things than it helped. Add support for "pre" in version strings. Update comment about recognised strings.
2005-02-04regen.wiz1-33/+33
2005-02-04Sort option descriptions in man page.wiz1-38/+38
2005-02-04Update pkgtools/pkg_install to 20050204 (latest release from the HEADjlam10-43/+163
branch of src). Changes from version 20050106: Teach pkg_add(1) and pkg_delete(1) to pass PKG_METADATA_DIR and PKG_REFCOUNT_DBDIR in the environment when running the +* scripts. PKG_METADATA_DIR is the location of the +* files after the package is registered. PKG_REFCOUNT_DBDIR is the location of the reference counts database directory. If PKG_REFCOUNT_DBDIR is left unset, then it defaults the the location of the package database directory with ".refcount" appended to the path, e.g. /var/db/pkg.refcount. pkgviews users should explicitly set PKG_REFCOUNT_DBDIR in the shell environment to ensure that all packages will use the same refcount database. These changes allow the +INSTALL and +DEINSTALL script to keep state in +* files within ${PKG_METADATA_DIR}, and to store reference counts in ${PKG_REFCOUNT_DBDIR} to handle usage of resources outside of ${LOCALBASE}.
2005-02-04Pull in documentation/whitespace fixes and improvements from the HEADjlam10-51/+85
revision of src/usr.sbin/pkg_install as of 20050204. I ran: cd pkgsrc/pkg_install/files ./pkg_install2nbcompat . Then I ran "cvs diff" and looked for portability-related changes that were removed as a result of the import and resurrected them from the repository.
2005-02-04src2nbcompat uses \n backreferences in gensub, which isn't supported injlam1-2/+2
the NetBSD 2.0 awk, so make explicit that we're using gawk.
2005-02-03s/pax/pkg_install/ in the usage message.jlam1-2/+2
2005-02-01Make it work with pkg_install tools that do not searchwiz2-5/+5
the file system by default. Replace one pkg_info with ${PKG_INFO}. Welcome to 1.54! Okayed by abs@.
2005-01-31Only NetBSD, FreeBSD and DragonFly seem to have set/getprogname so includepeter1-3/+4
libnbcompat for all other OS's. This should address PR pkg/29152.
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-29Update pkg_chk to 1.53.abs3-156/+257
- Substitute default values for GREP, PKG_INFO, and SED at buildtime - Add -P dir, to set binary package dir - Remove the need for a copy of pkgsrc when using -b - List 'missing' packages at the end alog wwith Installed and Failed - Output various messages to stdout and to logfile (if active) - As ever, there are few problems that cannot be helped by adding another layer of abstraction
2005-01-28Fix Dt, and improve formatting.wiz1-38/+40
2005-01-27Make this a bit more portable:jschauma2-17/+26
- get rid of asprintf - use libnbcompat if necessary - while here, get rid of unused variable Bump date. ok peter@, tv@ Non-NetBSD platforms may need to test this and adjust following the IRIX example.
2005-01-25It's LINK.c and not COMPILE.c when you want to produced a linked binary.cube1-3/+3
Bump version.
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-25Add and enable pkg_alternatives.jmmv1-1/+2
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.
2005-01-22The "make update" target did not clean up after itself, which has causedjklos1-1/+2
problems when people run "make update" without checking to see if anything old was still around. "make update" now cleans after installing.
2005-01-21Make build on Interix, which has a slightly older <sys/queue.h>.tv2-7/+13
2005-01-18Enable on Interix.tv1-2/+2
2005-01-18Don't build catpages inside the package. Not every system has a nrofftv2-7/+4
shipped standard.
2005-01-18Add libiberty to make this build on Interix.tv2-11/+12
Don't build catpages inside the package. Not every system has a nroff shipped standard.
2005-01-14Add support for versions such as 2.0_STABLE.cube1-1/+5
XXX: actually, it would be nice if pkg_add didn't complain when adding a 2.0 package to a 2.0_STABLE system.
2005-01-14Update to 0.4.2: some documentation was included, so we can get rid of thejmmv4-24/+11
MESSAGE.
2005-01-13Follow style guidelines.jmmv1-13/+13
2005-01-13Add missing file to PLIST. Bump PKGREVISION to 1. Hi xtraeme@...jmmv2-2/+5
2005-01-11Sync with pkgsrc-wip, update to 0.4.1.xtraeme2-5/+11
Lots of changes and fixes, no-ftp-reconnect, MASTER_SORT support and friends.
2005-01-09use "date" | getline now instead of the gawk strftime() extension. Improvesdmcmahill1-3/+3
portability. Patch provided by Greg Woods in PR pkg/28899.
2005-01-07Fix typo: -c, not -C. From Ryo HAYASAKA in PR 28893.wiz1-3/+3
2005-01-07Sync changes with src/:agc4-13/+11
+ always echo the command which is about to be executed during a pkg_add or pkg_delete, not just when verbose mode is on. + extract files on ftp pkg_adds with the 'p' flag to tar, to preserve modes of entries in the binary package. (Addresses PR 28826 from Tyler Retzlaff) Bump version to 20050106
2005-01-06Don't "cp -p" for *source* files. Builds are usually done as an unprivilegedtv11-22/+22
user, so it's not nice to try to use an option that will try to chown if the repository isn't owned by the builder. (Some OS's do in fact cause an error when the chown in "cp -p" fails.)
2005-01-05The pgsql include files moved to LOCALBASE/include/postgresql a while ago.tv4-28/+24
Convert to using pgsql.buildlink3.mk so that it works with both 7.3 and 7.4 (and pkgviews too), and simplify build process a little.
2005-01-05Add and enable revbump.wiz1-1/+2
2005-01-05Initial import of revbump-0.1:wiz7-0/+518
Tools for bumping PKGREVISIONs and adapting BUILDLINK_RECOMMENDED versions to the latest version automatically. This tool is mostly intended for pkgsrc developers with commit access. Originally written by Julio M. Merino Vidal with some improvements by me. Comments for the package from Jeremy C. Reed -- thanks!
2004-12-30Bump version: depend on postgresql73 instead of non-existing postgresql.wiz1-4/+3
2004-12-29Small grammar fix.snj1-2/+2
2004-12-29Pull in portability changes from src, and bump version to 20041226:agc21-173/+182
Introduce a new abstraction in the C code, called MaxPathSize. All previous occurrences of MAXPATHLEN and FILENAME_MAX have been changed to use MaxPathSize instead. If MAXPATHLEN is not defined, then assume a default value of 1024 (this is primarily for use on the Hurd). The reason for this is that some older platforms define FILENAME_MAX to be 14, although MAXPATHLEN is 1024. On BSD-derived systems, FILENAME_MAX And MAXPATHLEN are both 1024. Bump pkg_install version to 20041226. These modifications have been tested so far on a NetBSD-current bulk build.
2004-12-28The default location of the pkgsrc-installed rc.d scripts is nowreed1-1/+2
under share/examples/rc.d. The variable name already was named RCD_SCRIPTS_EXAMPLEDIR. This is from ideas from Greg Woods and others. Also bumped PKGREVISION for all packages using RCD_SCRIPTS mechanism (as requested by wiz).
2004-12-28Added pkg_notify-0.3.xtraeme1-1/+2
2004-12-28Initial import of pkg_notify-0.3 from pkgsrc-wip, packaged/codedxtraeme5-0/+61
by Imil <imil@gcu.info>. pkg_notify notifies package maintainer when a new version of the software is available.
2004-12-27There is no -d option; remove it from the usage.wiz1-2/+1
Closes PR 28788 by Berndt Josef Wulf.
2004-12-15update config.{sub,guess} to fix build on newer platforms such asgrant2-235/+476
DragonFly. part of PR pkg/28579 from Todd Willey. thanks!
2004-12-12fix X tarball names, we no longer have xcontrib.tgz.grant2-4/+4
fixes PR pkg/28608 from Ulrich Heilmann.
2004-12-12update config.{sub,guess} for various bootstrap tools. fixes build ongrant6-519/+1122
newer platforms such as DragonFly. fixes PR pkg/28579 from Todd Willey.
2004-12-10Document the double "-u" option for updating dependant packages.erh3-7/+18
Bump the version to 20041210.