Commit graph

798 commits

Author SHA1 Message Date
jschauma
68800f0751 Add some more protoypes in extern.h and check for setmode to shut up some
warnings.
2003-05-22 18:10:43 +00:00
abs
5bf9b87b42 Update pkgchk to 1.36:
When passed -f run fetch on all packages to be updated, not just
	the set suitable for 'make update'. Should fix PR 16785.
2003-05-22 16:38:58 +00:00
jmmv
f1446ddf2b Drop trailing whitespace. Ok'ed by wiz. 2003-05-06 17:40:18 +00:00
abs
ef29fc39eb Update pkgchk to 1.35:
Handle missing /etc/mk.conf - fixes PR pkg/21471 from Tomasz Luchowski
2003-05-06 13:14:36 +00:00
atatat
0b9baea4c8 Add a new -m option that prints sh script which invokes make for each
"interesting" package, where "interesting" is defined by the other
options given on the command line.

Rework the "rebuild", "delete", and "fetch" output modes to use a new
generic routine invoked with (the new) -m option.  Other new options
are:

 -a all packages (to make more packages becoming "interesting")
 -e adds an "existence check" to each of the lines of sh(1) style
    output (ala the current rebuild output)
 -r reverses the order in which the packages are listed
 -S package
    selects a subgraph of the installed package base
 -s print a simple list of packages instead of sh commands

Also: fix a dreadful bug in the group number assignment loop.  Groups
are now assigned more properly, meaning that wholely selected
subgraphs (via the new -S option) work.

Welcome to version 2.5.
2003-04-30 03:39:17 +00:00
atatat
8050c6cfff Add some code to the "stored database" to deal with counting packages
that have multiple versions (eg, apache or emacs), so that the number
of packages loaded when generating the database will match the number
loaded from the database afterwards.

Curiously, reorganizing the code a little makes the stored database
about 20-25% smaller.

Old stored databases are still completely supported.

Jump to version 3.53.
2003-04-30 03:16:06 +00:00
rh
2ff0c5692e Update createbuildlink to 2.6. Changes include:
- use of ${MAKE} instead of 'make' in the script so this works on
      non-NetBSD systems as well
    - s/NetBSD/pkgsrc/ in the manual page
2003-04-29 01:36:08 +00:00
grant
a6c6bcd860 work around the need for rpl_malloc (induced by config.h), since we
don't need a GNU compatible malloc() here.

a GNU compatible malloc() is still used in libnbcompat.a if it is
required.

fixes build on (at least) Tru64.
2003-04-27 16:42:29 +00:00
agc
73bf586192 Remove the package name from the COMMENT 2003-04-24 14:16:07 +00:00
seb
aa1f2cb228 Update to version 20030423 via patch from src/usr.sbin/pkg_install.
>Log Message:
>pkg_add fix:
>When doing quick pre-check if any conflicting dependencies are installed
>and a dependency is not found installed do not try to search for a wildcarded
>(-[0-9]* suffix) package if the dependency was already wildcarded.
>
>This prevent something like 'p5-Net-DNS-0.33' reported as an already
>installed version of 'p5-Net-[0-9]*' as a dependency.
>Before this fix 'p5-Net-[0-[0-9]*' would have been incorrectly searched for.
>
>Reviewed by hubertf@.
>
>Bump PKGTOOLS_VERSION to 20030423.
>
>
>To generate a diff of this commit:
>cvs rdiff -r1.81 -r1.82 src/usr.sbin/pkg_install/add/perform.c
>cvs rdiff -r1.26 -r1.27 src/usr.sbin/pkg_install/lib/version.h
2003-04-23 10:27:39 +00:00
rh
6b665bbfbd Update url2pkg to 1.23. In this version, the SourceForge magic now works
with or without the '?use_mirror=.*' suffix.
2003-04-23 09:18:29 +00:00
wiz
62ad41c8b8 3.52: Fix last in case the file exists (doh). 2003-04-22 10:18:22 +00:00
wiz
7b01d27417 3.51: Yell if .included files do not exist. 2003-04-22 08:26:57 +00:00
rh
2e7a3139d6 Update url2pkg to 1.22. Notable changes include:
- conversion of prdownloads.sourceforge.net URLs to
	  MASTER_SITE_SOURCEFORGE
	- pre-fill CATEGORIES from the directory name
	- educated guess about the HOMEPAGE
2003-04-22 00:35:08 +00:00
rh
5bec9dd485 Update url2pkg to 1.21. Notable changes include:
- now sets USE_PKGLOCALEDIR if .mo or .gmo files are found
	- now recognizes GCONF schemas
	- no PKGCONFIG_OVERRIDE statements for -uninstalled .pc.in files
	- some minor code cleanup
2003-04-21 23:31:14 +00:00
grant
2f5a698630 sync with bootstrap:
make sure man pages get installed into a sane location if --mandir is
not specified.
2003-04-20 20:34:05 +00:00
rh
744a23620f Update pkglint to 3.50. This version does a (slightly) better job at
Makefile variable parsing and lets "VARNAME=" override "VARNAME?="
definitions.  This should also fix the current bogus warnings about
distinfo in the weekly pkgsrc output.
2003-04-19 03:05:15 +00:00
jmmv
8ccfe42eee Add a list of things to be done, most of them based on dmcmahill@ comments. 2003-04-17 14:21:11 +00:00
grant
77ab913949 sync with bootstrap and -current:
- pkg_admin getcwd() fix.
- pkg_delete checksum mismatch warning.
- crank PKGTOOLS_VERSION.
2003-04-17 14:00:55 +00:00
grant
1d4e7078a5 sync with bootstrap, remove an unnecessary cast which found its way in
here.
2003-04-17 13:50:54 +00:00
jmmv
43f4b7ee1d Initial import of dfdisk, version 1.0:
dfdisk is an utility that adds extra functionality to pkgsrc, allowing it
to fetch distfiles from multiple locations.  It currently supports the
following methods: CD-ROM and Network.  Others may be added in the future.
2003-04-17 11:17:15 +00:00
jmmv
6624fedab9 Initial import of dfdisk, version 1.0:
dfdisk is an utility that adds extra functionality to pkgsrc, allowing it
to fetch distfiles from multiple locations.  It currently supports the
following methods: CD-ROM and Network.  Others may be added in the future.
2003-04-17 11:15:14 +00:00
jmmv
e306cf3e05 Add and enable dfdisk. 2003-04-17 11:15:05 +00:00
jmmv
132bdeabf5 Initial import of dfdisk, version 1.0:
dfdisk is an utility that adds extra functionality to pkgsrc, allowing it
to fetch distfiles from multiple locations.  It currently supports the
following methods: CD-ROM and Network.  Others may be added in the future.
2003-04-17 11:10:41 +00:00
jmmv
e844cfbd48 Initial import of dfdisk, version 1.0:
dfdisk is an utility that adds extra functionality to pkgsrc, allowing it
to fetch distfiles from multiple locations.  It currently supports the
following methods: CD-ROM and Network.  Others may be added in the future.
2003-04-17 08:42:00 +00:00
wiz
79b9d8bc5a Drop a trailing space, and simplify some mdoc. 2003-04-16 09:50:01 +00:00
grant
c7a2b35431 sync with current:
darwin doesn't have uint64_t, use int64_t for now.
2003-04-11 21:27:43 +00:00
grant
372e4fe573 sync with -current:
improve a message.
2003-04-11 19:58:50 +00:00
grant
4c3363d8db catch up to bootstrap.
bump PKGTOOLS_VERSION to 20030411.
2003-04-11 14:40:35 +00:00
grant
0c37d26cfe only include db1 support if on NetBSD. fixes updating problem on Solaris. 2003-04-11 14:33:49 +00:00
grant
afdebcf9a4 make ${PAX} usage consistent:
- group 'zrw' and 'p' args, -s last
- use the && operator consistently
- strip unneeded parens
- some whitespace cleanup
2003-04-10 01:28:03 +00:00
seb
fdfeafd02f Update to version 0.108.
Newer diffutils' (>=2.8, as seen in pkgsrc and -current) diff had seen
the regexp syntax of its -I and -F options changed from Emacs syntax
to grep syntax. Hence fix pkgdiff's diff invocation so diffs on configure
scripts are kept to a minimum.
2003-04-09 15:01:18 +00:00
rh
d25619d624 Update createbuildlink to 2.5. This version now also recognises C++ header
files (.hh, .hp, .hpp, .H, .hxx, .h++) when joining includes.
2003-04-04 22:13:15 +00:00
grant
8aec634c95 remove deprecated NO_PATCH.
(perhaps I should update my pkglint?)
2003-04-03 12:55:21 +00:00
grant
8c72cb472c make sure LIST_EMPTY, LIST_FIRST and LIST_NEXT are defined (linux
doesn't have these in sys/queue.h).

noted by Jeremy C. Reed on tech-pkg.
2003-04-03 12:48:45 +00:00
grant
07dd26070b allow this to build outside pkgsrc, too. 2003-04-01 03:56:40 +00:00
grant
aebecdb123 tidy this up a bit, consistently use parens. 2003-04-01 03:48:52 +00:00
grant
d39aaeb43b add mtree (commented) 2003-03-31 08:56:00 +00:00
grant
01609239ae change around some #ifdefs, since Darwin has only some vis functions. 2003-03-31 08:52:58 +00:00
grant
04f45d9901 Initial import of mtree-20030331 into The NetBSD Packages Collection.
The mtree utility compares the file hierarchy rooted in the current
directory against a specification read from the standard input.
Messages are written to the standard output for any files whose
characteristics do not match the specification, or which are missing
from either the file hierarchy or the specification.
2003-03-31 08:51:06 +00:00
grant
94d3410739 run ranlib in the install target, to appease Darwin's linker. 2003-03-31 08:41:06 +00:00
grant
f80c24d98a improve description and comment, inspired by Jeremy C. Reed and Greg A.
Woods on tech-pkg.
2003-03-31 06:56:25 +00:00
grant
9c12af20e6 s/nb-types.h/nbtypes.h/ 2003-03-31 05:56:35 +00:00
grant
61555ea8fb add libnbcompat (commented, although it works on NetBSD, it is not
required).
2003-03-31 05:43:13 +00:00
grant
a17d644a29 test for fparseln in libutil. 2003-03-31 05:34:35 +00:00
grant
9b2e1cde61 clean up cruft from when this was called 'libpkgsrc', some whitespace
tweaks.
2003-03-31 05:07:52 +00:00
grant
706e3fa728 Initial import of libnbcompat-20030331, a portable NetBSD compatibility
library for use by the pkgsrc tools and other sources from NetBSD.
2003-03-31 05:02:17 +00:00
jschauma
43f0484488 Synch with main sources:
Changes by hubertf and seb; these changes tested on NetBSD, Linux and Irix.

Modified Files:
	src/usr.sbin/pkg_install/add: perform.c pkg_add.1

Log Message:
Implement remaining TODO item in pkg upgrade (pkg_add -u):
* Upgrade step 1/4: Check if the new version is ok with all pkgs
* (from +REQUIRED_BY) that require this pkg

Inspired by bsd.pkg.mk's upgrade(?) target.

Modified Files:
	src/usr.sbin/pkg_install/admin: main.c
	src/usr.sbin/pkg_install/info: main.c perform.c

Log Message:
Consistently check findmatchingname() return value for error condition.
Among other this fixes 'pkg_info -e whateverpkg' exit status when
/var/db/pkg is missing: it is now 1 and not 0.

Modified Files:
	src/usr.sbin/pkg_install/lib: version.h

Log Message:
Bump to "20030325" after today's changes from seb and me
2003-03-29 18:41:56 +00:00
jmmv
0916498c1b Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz. 2003-03-29 12:40:00 +00:00
jmmv
17bba8aa70 Update to 3.49: make sure WRKSRC is properly placed in the second section,
the one starting by DISTNAME (if present). Ok'ed by wiz.
2003-03-29 12:34:10 +00:00