Commit graph

1516 commits

Author SHA1 Message Date
agc
1469a3a220 Add RMD160 digests. 2005-02-24 12:28:30 +00:00
wiz
ba6d630659 4.07: Use correct variable in workdir-cleanup warning. 2005-02-23 11:45:16 +00:00
wiz
f423e8ead4 Claim maintainership. 2005-02-21 23:16:34 +00:00
hubertf
9a981bcfbe Sign over maintainership to tech-pkg@ 2005-02-21 20:26:08 +00:00
grant
485637d8af sync with src:
initialise a variable before using it. pkg_info binpkg.tgz would pass
garbage on the command line to tar(1).
2005-02-21 01:21:39 +00:00
grant
daa5a43372 sync with src:
cast return value of min_free() to uint64_t.

fixes pkg_add <binarypkg> on Solaris 8.
2005-02-20 09:17:25 +00:00
grant
e52a4d26ee turn off shlib dependency checking for openwin, which can have X shared
libraries dependencies missing from a "normal" installation.
2005-02-20 07:48:48 +00:00
grant
c6169cc95b don't use the implied source in the `bits' rule, just specify the
source. appeases make(1) on Solaris.
2005-02-20 05:55:51 +00:00
rillig
7e439d29ee Included the location of the warning or error in the messages for
everything except Makefiles. (Makefiles which will follow soon.) This makes
most warnings more useful. Together with the last few changes, we are
now at version 4.06. Approved by wiz.
2005-02-17 23:31:07 +00:00
rillig
cee6b6068c Rewrote the readmakefile routine. Now pkglint runs faster, and the log
messages are formatted nicer. It produces more (reasonable) warnings,
but also some more false positives. Did not increase DISTNAME, as the
change is not yet big enough. Approved by wiz.
2005-02-16 07:12:37 +00:00
rillig
ee2cdf2792 Changed the message about sorting PLIST files from FATAL to WARNING.
Approved by wiz.
2005-02-16 00:21:17 +00:00
grant
5285b5ad9c redo previous in a slightly different way to appease NetBSD make(1). 2005-02-15 23:35:42 +00:00
peter
771f99b146 Add -M flag to search for packages by maintainer.
Reviewed by wiz.
2005-02-15 21:24:36 +00:00
rillig
7b8bcfe094 pkgtools/pkglint: Added checks for proper quoting of shell variables
($ vs. $$). Welcome to 4.05. Approved by wiz.
2005-02-15 21:07:01 +00:00
wiz
d47bf7c083 Revert previous, since it breaks compilation on 2.0 and -current.
See PR 29387.
2005-02-15 16:04:42 +00:00
grant
a0c0ad2340 honour LDFLAGS when linking the `bits' binary. 2005-02-15 08:55:55 +00:00
cube
a64b7f6bd5 Make file(1) happy about plist-clash.pl. Fixes PR#29366 by Akio OBATA.
Welcome to version 4.04.
2005-02-14 22:14:48 +00:00
uebayasi
b24eb99218 Redo previous; follow the new idiom of quoting variables ("\"${XYZ}"\")
which may be passed to command line, and may contain white spaces.
2005-02-14 02:30:39 +00:00
rillig
f6103d78ce Pkglint now checks that the file entries in PLIST files are correctly
sorted. Welcome to 4.03.
2005-02-12 21:34:47 +00:00
rillig
3d47b94c7f Added type checking for Makefile variables. The typechecking is
experimental and has been announced on tech-pkg to make the package
developers aware of it.
2005-02-12 11:27:14 +00:00
rillig
45aa5f5b03 Added type checking for Makefile variables. The typechecking is
experimental and has been announced on tech-pkg to make the package
developers aware of it.
2005-02-12 10:59:20 +00:00
uebayasi
0552777918 Quote command strings to be passed to configure script. 2005-02-12 04:45:48 +00:00
grant
17e5afb82c regen from man page update. pointed out by jlam@ - thanks! 2005-02-11 23:35:02 +00:00
rillig
3f3a61f888 Fixed bug in checkline_trailing_whitespace. No warnings were emitted
before. Stripped non-leading "." path components in the log messages.
Welcome to 4.01.
2005-02-11 17:01:29 +00:00
grant
fbcc961f58 pull in binary pkg handling changes from src:
rework pkg_info(8) operating on binary packages, deprecating the `-.'
argument as it is no longer required (but is retained as a no-op for
backward compatibility).

the behaviour is now what is expected and intended:

        - when the pkg argument is path (absolute or relative) to a
          binary pkg, pkg_info operates on it.
        - when no pkg argument is given, or the argument is not a
          binary pkg path, pkg_info operates on the installed packages.

`pkg_info foo-1.0.tgz', `pkg_info /path/to/foo-1.0.tgz', etc. now work
correctly when foo-1.0.tgz is in the cwd.

bump PKGTOOLS_VERSION to 20050210.
2005-02-10 23:51:18 +00:00
jmmv
12c1cd1b60 Update to 1.3: show a more descriptive usage message, useful as a quick
reference.  Per tv@'s suggestion.
2005-02-10 10:18:03 +00:00
abs
76e611fa1f Update pkg_chk to 1.55
Update the final ${PKG_INFO} working on files to include -.
2005-02-09 09:50:26 +00:00
seb
8f19e8b6a5 Check for vprintf() in configure script. This fix the build on Solaris 10.
Regenerate config.h.in and configure files.
Thanks to gavan@ for the report and testing!

Bump PKGREVISION to 3.
2005-02-07 16:12:38 +00:00
wiz
214180afce Another fix for python and ruby packages, this time for installed ones.
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-05 15:39:44 +00:00
jlam
94d6c64d03 Pull in documentation improvements and a minor change to allow building
with WARNS=2 from src/usr.sbin/pkg_install.  No functional change and
no version bump.
2005-02-05 00:28:58 +00:00
simonb
60666b8ab8 Use "-P path" instead of "-P file" in the synopsis. 2005-02-05 00:26:41 +00:00
wiz
93e603a0c1 Update to 3.99:
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-04 15:46:58 +00:00
wiz
1ef60c593f regen. 2005-02-04 15:45:16 +00:00
wiz
8bddae333f Sort option descriptions in man page. 2005-02-04 15:44:50 +00:00
jlam
cb184155ea Update pkgtools/pkg_install to 20050204 (latest release from the HEAD
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-04 09:10:13 +00:00
jlam
92762b96b0 Pull in documentation/whitespace fixes and improvements from the HEAD
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-04 01:19:03 +00:00
jlam
6721ca445b src2nbcompat uses \n backreferences in gensub, which isn't supported in
the NetBSD 2.0 awk, so make explicit that we're using gawk.
2005-02-04 00:43:42 +00:00
jlam
e179abe26b s/pax/pkg_install/ in the usage message. 2005-02-03 23:53:23 +00:00
wiz
1c31e687fe Make it work with pkg_install tools that do not search
the file system by default. Replace one pkg_info with ${PKG_INFO}.
Welcome to 1.54!
Okayed by abs@.
2005-02-01 20:44:48 +00:00
peter
0566289df4 Only NetBSD, FreeBSD and DragonFly seem to have set/getprogname so include
libnbcompat for all other OS's.  This should address PR pkg/29152.
2005-01-31 14:58:31 +00:00
jmmv
2f6fe82ae2 Update to 1.2:
- 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-30 12:35:22 +00:00
abs
a6def97960 Update pkg_chk to 1.53.
- 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-29 15:36:30 +00:00
wiz
82c8ef9038 Fix Dt, and improve formatting. 2005-01-28 12:59:57 +00:00
jschauma
f683d8cb1e Make this a bit more portable:
- 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-27 20:42:23 +00:00
cube
e4e558b3bc It's LINK.c and not COMPILE.c when you want to produced a linked binary.
Bump version.
2005-01-25 23:39:30 +00:00
jmmv
95cf710e64 Explicitly use -g instead of relying on default behavior. 2005-01-25 16:48:22 +00:00
jmmv
525aed5185 Add the -g flag to explicitly select the "group mode" (previously known as
"package mode").  Use previous version bump for this change.
2005-01-25 16:47:20 +00:00
jmmv
3cfcc8be82 Update to 1.1:
- 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-25 16:27:37 +00:00
jmmv
a8d65113b1 Add and enable pkg_alternatives. 2005-01-25 13:05:21 +00:00
jmmv
5293f7ab59 Initial import of pkg_alternatives, version 1.0:
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-25 13:00:46 +00:00