Commit graph

3300 commits

Author SHA1 Message Date
rillig
58e89bfad3 Properly check the return value of load_lines("PLIST.common"). 2007-11-14 16:03:07 +00:00
rillig
800c101860 Some shells, for example /bin/ksh on Solaris, don't like "else fi"
without any commands in between.
2007-11-14 12:38:18 +00:00
rillig
485e264ceb Provide more useful details in the error message for conflicting packages:
- The package that cannot be installed
- The pattern of the conflict
- The name of the installed (conflicting) package.
2007-11-13 19:53:11 +00:00
rillig
32b2e77b19 There are several error messages with the same words. To make finding
the cause easier, add more information to one of them.
2007-11-13 19:30:26 +00:00
martti
9afb20a137 Added commented-out LICENSE=something. 2007-11-11 11:35:48 +00:00
joerg
b97a055750 Don't use the build time version to find packages, we want to pick up
the newest version. Bump version to 20071109.
2007-11-08 23:24:56 +00:00
joerg
e725e20c42 Bump version or revision of all packages that have a runtime dependency
on gzip.
2007-11-08 19:39:42 +00:00
joerg
2021db9549 Supports DESTDIR. 2007-11-08 19:00:56 +00:00
rillig
c2c24d424f Mention that RUN does more error checking than _PKG_SILENT + _PKG_DEBUG. 2007-11-07 17:25:33 +00:00
rillig
c3d161ff5d In variable assignments in the shell you can sometimes leave out the
double quotes.
2007-11-07 17:01:24 +00:00
rillig
299c46b883 Filemasks and Pathmasks may very well contain special characters, so the
:Q operator should not be removed from them.
2007-11-07 16:47:27 +00:00
rillig
23d42df84f In shell commands, handle backticks inside double quotes. By the way,
double quotes inside backticks inside double quotes are error prone.
2007-11-07 16:42:56 +00:00
rillig
e50a5ca891 When checking a single *.mk file, determine the used variables. This
avoids many false positive warnings when checking files in the mk/
directory.
2007-11-07 16:19:01 +00:00
rillig
0522f0e913 Fixed the XXX from the last commit. PLIST conditionals are read in when
a package is checked and discarded for the directory and filename
checks.
2007-11-07 12:11:18 +00:00
rillig
168edd6650 Directories may be removed in a PLIST if there is a corresponding @exec
${MKDIR}.

In PLIST.common_end, directories that have been populated in
PLIST.common may also be removed.

XXX: The PLIST_SUBST macros that may expand to "@comment " are currently
not distinguished from pathname macros. This leads to some false
positive warnings.
2007-11-07 11:58:57 +00:00
rillig
0e0e1a73df Warn about removal of unrelated directories in the PLIST. 2007-11-07 11:09:07 +00:00
rillig
8247838eb8 The "short" names for tools may only be used in the predefined
{pre,do,post}-* targets, not in user-defined ones.
2007-11-06 14:22:03 +00:00
joerg
91812f0d5f Also add -E to usage(). From PR 37265. 2007-11-05 09:39:38 +00:00
rillig
b85607e796 The fifth field in a CVS/Entries file is the keyword mode. It doesn't
have to be always empty.
2007-11-04 12:17:10 +00:00
minskim
829766824a Teach bootstrap-mk-files about groff-1.19.2 on Darwin. 2007-11-04 08:08:52 +00:00
rillig
a99d7b98d6 Reverted the deprecation of USE_NCURSES.
XXX: To discuss: How is this variable different from PREFER_PKGSRC=ncurses?
Why do we need it at all? Why isn't it documented anywhere?
2007-11-03 14:49:43 +00:00
joerg
6a334feaf4 pkg_install does the right things with the files, so CHECK_PERMS is not
useful and creates cyclic dependencies if pkg_install is outdated.
From Peter Bex.
2007-11-03 14:49:00 +00:00
joerg
e7633a92f1 Tag pkg_install as 20071103. 2007-11-03 13:54:14 +00:00
rillig
755071e255 USE_NCURSES is deprecated. It has no effects anymore. 2007-11-03 11:48:53 +00:00
joerg
e47f81c12a Remove obsolete option r from usage() and man page. I can't even
remember what is was for. From Yakovetsky Vlad in PR 37265.
2007-11-02 16:03:37 +00:00
rillig
5ea2c37615 Added quotes around the filenames, as suggested by joerg@.
While here, removed an unnecessary variable.
2007-11-01 23:08:29 +00:00
rillig
23369be14a When rename(2) fails, it is useful to know some details about the
filenames that have been involved.

Do not use assert() for error checking.
2007-11-01 21:57:37 +00:00
rillig
3334e27105 "Safe" variables should not have the :Q operator, since it only makes
the code harder to read and does not have any effect anyway.
2007-10-31 19:24:52 +00:00
rillig
c31aa0c714 Do not print warnings about missing PLIST definitions for Perl modules
and other packages that set GENERATE_PLIST.
2007-10-31 12:24:48 +00:00
rillig
48bf740968 Added a function for checking bmake conditionals. 2007-10-31 12:20:07 +00:00
rillig
65662084d9 Second try to deprecate LICENCE. ACCEPTABLE_LICENCES continues to exist,
since the reasons for keeping two variables for one purpose seem to be
greater than the ones for simplicity. Don't ask _me_ why.
2007-10-31 12:15:09 +00:00
seb
2acd20e5db Update to version 1.30.
Approved by MAINTAINER, jmmv@.

Add option -N: with the expection of pkgtools/libkver (see manual
page about NETBSD_RELEASE) avoid installation of default packages as well as
INSTALL_PACKAGES and BUILD_PACKAGES during the creation of the chroot.

Note: This is useful for running pbulk in a sandbox created by
pkg_comp as binary packages , possibly very low in the build
dependencies tree like pkgtools/digest, won't be built by pkg_comp
while creating the sandbox hence pbulk won't have to rebuild nearly
all packages otherwise already up-to-date.

The maintainer notes that this seems like abusing pkg_comp to just
create sandboxes. And well... yes indeed!
2007-10-27 17:11:24 +00:00
grant
7f3230db8c bump PKGREVISION for archivers/pax fix (largefile support). 2007-10-27 11:19:34 +00:00
jlam
ae9b935fd0 * If PLIST_SRC is explicitly set to an empty value in a package Makefile,
then automatically generate a PLIST that says "${PKGNAME} has no files".

* If PLIST_SRC and GENERATE_PLIST are not set in a package Makefile,
  and no PLIST files exist, then fail during the package build with
  PKG_FAIL_REASON.

* Remove "intentionally empty" PLISTs again.

Now, the easy way to say that a package installs no files is to just
add the following to the package Makefile:

	PLIST_SRC=	# empty
2007-10-25 22:00:39 +00:00
jlam
38c496d6c0 Re-add "intentionally empty" PLISTs for meta-packages and other packages
that directly manipulate empty PLISTs.

Modify plist/plist.mk so that if the PLIST files are missing and no
GENERATE_PLIST is defined, then the package fails to build.
2007-10-25 17:49:45 +00:00
jlam
56ba4d2690 Remove empty PLISTs from pkgsrc since revision 1.33 of plist/plist.mk
can handle packages having no PLIST files.
2007-10-25 16:54:26 +00:00
rillig
488acb7bba Reverted the deprecation of LICENCE and ACCEPTABLE_LICENCES, since there
is no consensus among the pkgsrc developers about them. Some want to
keep them (proper British spelling), others want to eliminate them
(redundancy).
2007-10-25 16:12:04 +00:00
rillig
0fd5c8dfaf It's not very useful to have empty PLIST files, so warn about it. This
may happen when a package has been newly created and the print-PLIST
target has not yet been run.
2007-10-25 16:08:48 +00:00
joerg
a82568cd03 Make language lawyers happy and rename report_recipient to plural. 2007-10-17 20:42:30 +00:00
rillig
e304c3352a LICENCE and ACCEPTABLE_LICENCES (British English) are deprecated. 2007-10-17 10:50:59 +00:00
rillig
f44cba8d1a I just removed the $bulklog directory once again, due to running
bin/bulkbuild when instead I wanted to resume the bulk build. To prevent
this frustration, added a warning and a five second waiting period.
2007-10-15 07:26:34 +00:00
rillig
9d0009f173 Fixed the problem with package name matching that Klaus Heinz discovered
in http://mail-index.netbsd.org/tech-pkg/2007/10/14/0004.html

The pattern "pkg_install" matched "pkg-install-20070828", but "pkg*all"
didn't. Now it does.
2007-10-14 23:24:24 +00:00
rillig
095814e759 Updated the URLs for ftp.NetBSD.org, so that they will work after the
upcoming clean-up.
2007-10-13 19:38:27 +00:00
rillig
f07791f522 Whew. pkglint didn't know FAIL_MSG at all. 2007-10-13 08:57:09 +00:00
rillig
4de0af6841 FAIL_MSG may be a hidden command. 2007-10-13 08:55:48 +00:00
rillig
d37d9f955a As pointed out in PR 37113, it is dangerous to set MAINTAINER
unconditionally in Makefile.common, so warn about it.
2007-10-12 20:16:01 +00:00
rillig
db967c35eb X11_TYPE=xorg is no longer supported. 2007-10-12 07:04:15 +00:00
rillig
4d0642f1f2 When installing the bootstrap kit from a directory, correctly handle the
case when ${prefix} already exists.
2007-10-10 09:04:21 +00:00
martti
bd986edbc7 Remove trailing spaces. 2007-10-09 19:19:08 +00:00
kano
abdb54b351 fix obsolete URLs for www.NetBSD.org
close PR pkg/37071
reviewd by xtraeme@
2007-10-07 12:59:11 +00:00
rillig
bdf7f596d0 + MISSING_FEATURES 2007-10-01 11:50:40 +00:00
rillig
b2af3dbd6f On Solaris, at least the catpages can be installed. By the way, mandoc
pages cannot be processed with nroff -man. Since we already have the
preformatted files in the FILESDIR, what was the point of regenerating
them?

PKGREVISION++
2007-10-01 09:54:32 +00:00
rillig
9045d939ae Marked _PKG_SILENT and _PKG_DEBUG as deprecated, added USE_FEATURES. 2007-10-01 07:51:09 +00:00
rillig
7bb29d5237 Honour the setting of MANINSTALL. 2007-09-29 13:39:22 +00:00
rillig
b59af9beee There is no master/slave mode anymore. 2007-09-29 13:24:32 +00:00
joerg
dfcb17cf7f - Be less aggressive when resizing the version field, just resize if
the old size is not enough. Fixes PR 37031.
- Disable dependency tracking in libarchive build. Supposed to address
  PR 36953.

Bump version to 20070927.
2007-09-27 13:30:27 +00:00
wiz
6873775564 GConf, not GConf2; bump version to 2.7. 2007-09-25 13:59:42 +00:00
rillig
ca6b5bf2c5 Reverted two of my recent changes.
See: http://mail-index.netbsd.org/pkgsrc-changes/2007/09/21/0046.html
2007-09-22 00:12:33 +00:00
joerg
e1263c0baa If dirfd is either a function or a macro, use it. If it doesn't exist,
but DIR contains dd_fd, define it as macro. Otherwise use -1 when
calling fts_safe_changedir in fts(3). Based on patch from Sean Boudreau.
2007-09-21 19:51:58 +00:00
joerg
f60512c785 Fully ANSIfy and use size_t and uint32_t in places where u_int was used
before. This fixes the build on QNX, where u_int is not exposed by the
current set of headers. Make the prototypes of the crypto functions
consistent.
2007-09-21 18:44:36 +00:00
joerg
7a57e890e0 Fix spelling of variable and add DESTDIR support. 2007-09-21 17:14:39 +00:00
rillig
468f3fe28a Removed code duplication by calling the client-clean script.
Before removing prefix, fix the permissions. Everything inside that
directory must be writable and all directories must be searchable.
NetBSD's chmod has an option -P which I would have liked to use, but
POSIX requires only -R to be implemented. Therefore, it is possible that
permissions of files outside the prefix are changed due to symlinks.

The client-clean program promises to clean $prefix, so fail if that is
not possible. A common cause for this is that some files inside have
their flags set (see chflags(1) on NetBSD).

When installing the bootstrap kit, the source may be either a regular
file (which is then assumed to be a tar archive) or a directory (which
is copied directly). The latter option is new and allows for easier
changes of files once the bulk build has started.
2007-09-21 13:42:54 +00:00
rillig
a51fc4af4a Only save PREFIX in a tar file if the package has reached the install
phase. This saves some disk space, and in most cases the contents of
PREFIX is not interesting before.

Added quotes around keep_wrkdir and keep_prefix because they were
missing in a previous version of the example configuration file.
2007-09-21 13:34:52 +00:00
rillig
de9db037a8 Thou shalt not nest double quotes in backticks, for the Solaris /bin/ksh
cannot handle it.
2007-09-21 09:08:08 +00:00
rillig
a3bbbc87b7 Finally fixed the bogus warnings in PHP extension packages concerning
the patch files.
2007-09-20 10:38:57 +00:00
rillig
bda3916463 Variables mentioned in SUBST_VARS.* are marked as used. An assertion in
that code had been proven wrong as is now gone.

PKG_USERS_VARS and PKG_GROUPS_VARS are added to BUILD_DEFS by the
infrastructure, so no warnings should be emitted for "unused" variables
in this case.

The comment for USE_LANGUAGE in combination with GNU_CONFIGURE is
considered to be intentional if it contains either of the words "c",
"empty" or "none".
2007-09-20 08:39:37 +00:00
abs
d9de31bed4 update pkg_chk to 1.87.
Make -k work with -l, so a missing package will still result in a list of
binary packages being displayed
2007-09-20 08:18:13 +00:00
joerg
79ba801833 Don't cache the allocated argv in a local static variable, just allocate
and free it.
2007-09-18 15:44:18 +00:00
joerg
5046845687 Remove EXPECT_DEBUG code and if(0)'ed call of setbuf. 2007-09-18 15:40:47 +00:00
joerg
7177f144cd Make allocation errors fatal. Better than leaking memory in the error
case.
2007-09-18 15:38:10 +00:00
adrianp
7c6a237bbe Add and document FETCH_PRE_ARGS, idea from David Sainty in PR #23899.
This allows such settings as the following in audit-packages.conf:
FETCH_PRE_ARGS="env ftp_proxy://ftp.myproxy.com"
Which will be set before FETCH_CMD is run.
2007-09-17 22:40:27 +00:00
joerg
b770135e28 Fix a major memory leak in Dewey that existed sine ~forever.
This was made a lot more critical with the changes to use the iteration
API, as that is running a lot more Dewey comparisions.

Thanks to adrianp and wiz for the reports.

Bump to 20070916.
2007-09-16 19:03:52 +00:00
joerg
66a0cbeee0 Don't use u_char when uint8_t are meant. Don't mess with __attribute__,
conditionally use it in the only place it is used. This should fix
problems on QNX reported by Sean Boudreau.
2007-09-14 08:12:29 +00:00
rillig
992bf38f02 All variables named by SUBST_VARS.* are marked as being used.
Quoting warnings are only printed when -Wquoting is enabled.
2007-09-11 22:01:18 +00:00
joerg
72c8bdc51b Bump to 20070911 for pkg_add -u fixes. 2007-09-11 14:55:52 +00:00
rillig
d091934e69 Replaced undefined behavior with an error message. We don't expect
absolute paths in the PLIST anyway.
2007-09-11 13:46:10 +00:00
rillig
6a27b7d10c Removed unused variable. 2007-09-11 13:39:05 +00:00
rillig
e3b68da0ff Applying sizeof() to a string parameter does not return the size of the
buffer, but the size of a pointer to a buffer. This makes pkg_add -u
work again. It failed before, trying to rename the +REQUIRED_BY file to
"/us" or "/va", depending on the value of PKGDBDIR.
2007-09-11 12:33:13 +00:00
rillig
6dc93e6b52 Cleaned up the TODO list from things I don't find worth implementing. 2007-09-10 07:38:46 +00:00
jlam
2761568ac2 Convert to use the features framework. 2007-09-08 21:57:57 +00:00
rillig
470ab0a92f Removed the warning about pkg_add or pkg_delete "not running as root"
completely. It only made the code more bloated, and a user trying to add
or delete packages would get lots of "Permission denied" warnings
anyway.
2007-09-08 09:58:14 +00:00
rillig
775b3e4acb Avoid EPERM errors from tar when installing packages as an unprivileged
user.
2007-09-08 09:45:22 +00:00
rillig
91c415b938 The WRKDIR and PREFIX can be saved in the log directory when a package
doesn't build properly. These options are off by default since they
require much disk space.
2007-09-07 15:51:53 +00:00
rillig
716ddb1f45 In unprivileged builds, the user running pkg_add and pkg_delete is
almost always an unprivileged user. So there's no point in printing a
warning in that case.
2007-09-07 15:45:14 +00:00
jlam
df7d10dbeb Convert all libnbcompat/buildlink3.mk references to inplace.mk. 2007-09-06 21:51:52 +00:00
jlam
7c7115cdda Drop libnbcompat/buildlink3.mk and force all packages that use
libnbcompat to use it "in place".  libnbcompat is just really special,
and is of almost no use to anything other than the pkgsrc bootstrap
process.
2007-09-06 21:29:26 +00:00
jlam
09587da60b Use only features available in nawk. 2007-09-06 21:19:42 +00:00
joerg
5c78e10908 If waitpid was interrupt for some reason, restart it. Error out on all
other negative return values or when errno != EINTR.
2007-09-06 21:16:12 +00:00
joerg
06fc161002 Fix build on QNX. From Sean Boudreau. 2007-09-06 21:08:08 +00:00
obache
a22621e7ed Ensure undef before typedef, to avoid error when a application detect missing
types by itself and define (ex, pkgtools/pkg_install).
2007-09-04 09:47:38 +00:00
rillig
bf6beaf8cb Fixed some internal pkglint errors. 2007-09-04 09:44:07 +00:00
rillig
fe7dfb9bf3 load_lines returns false on failure, not undef. 2007-09-04 09:34:20 +00:00
jlam
ac74037944 * When adding or checking a package using pkg_admin(1), give a more
meaningful warning if the file is a symlink whose target doesn't exist.
  The message has now been changed from:

    pkg_admin: netbsd32_compat30-extras: File `/usr/pkg/emul/netbsd32/usr/lib/libm387.so' is in +CONTENTS but not on filesystem!

  to:

    pkg_admin: Symlink `/usr/pkg/emul/netbsd32/usr/lib/libm387.so' exists and is in +CONTENTS but target does not exist!

* Pass values for --sysconfdir (and --prefix) to the configure script
  instead of passing them through CPPFLAGS.  Both SYSCONFDIR and PREFIX
  are only used by audit-packages, and the audit-packages Makefile
  already handles passing these values inherited from the configure
  script.  This avoids compiler warnings that, e.g. SYSCONFDIR has been
  redefined on the command line.

* Fix quoting for arguments to the configure script -- :Q instead of
  \"\".

Bump version to 20070828.  Reviewed by <joerg>.
2007-08-29 15:42:39 +00:00
dillo
dfb18cea5b Add FILE_NAME, the name of the binary package file.
Prompted by Jeremy, okayed by Joerg.
2007-08-29 14:15:50 +00:00
abs
d3d32b7cbe Update pkg_chk to 1.86:
- Fix '-l' to list dependencies needed at runtime by each package, as
      opposed to those at build time. Avoids issues such as 'jdk15' pulling
      in sun-jdk & sun-jre
2007-08-27 15:28:54 +00:00
rillig
1e9fb5689a Only gcc understands those -W* flags for warnings. 2007-08-25 09:33:57 +00:00
joerg
9286e87ae0 Drop -RELEASE and similiar components of the OS version on FreeBSD as
well.
2007-08-24 15:25:08 +00:00
rillig
b289c83c80 Clean up the old log files when retrying to build a package. 2007-08-24 07:17:46 +00:00
rillig
8e4f54e5cc Added some comments to the configuration file, to help the uninitiated
reader.
2007-08-24 06:32:41 +00:00
wiz
4afb1ce7a3 regen. 2007-08-23 21:58:52 +00:00
wiz
065afff669 Replace reference to (obsolete) -M with tar(1). Bump date.
Requested by joerg.
2007-08-23 21:58:24 +00:00
heinz
9368c471eb Added support for installation to DESTDIR. 2007-08-23 20:40:56 +00:00
joerg
6f95ca1670 xorg-dirs is gone. Bump to 4.79. 2007-08-23 09:47:37 +00:00
adrianp
92d3b5842c Fix a bug in the processing of GPG in audit-packages.conf. This should fix
PR# 36773 opened by David A. Holland.
While we're here look for settings with no values in audit-packages.conf
and ignore them.
Tighten up processing of audit-packages.conf for the situation where
settings are specified multiple times. (report from joerg@).
2007-08-22 23:23:22 +00:00
joerg
731c214320 When looking for a package with a wildcard pattern, don't add the
suffix. find_best_matching_file does that already and doing it twice
is actually counterproductive. Bump to 20070821.
2007-08-21 07:11:42 +00:00
agc
3f175c6486 Add DESTDIR support
Make symbolic links to directories in the appropriate way
Change email addres sto match current preferences
2007-08-20 21:44:03 +00:00
agc
446a0e15d2 Add DESTDIR support 2007-08-20 21:42:26 +00:00
joerg
a9278bdbcb x11/xorg-libs/version.mk was removed, catch up. 2007-08-18 00:20:56 +00:00
gdt
785779a3cc Remove leading spaces from PKGNAME, to cope with an old bug. 2007-08-17 01:19:45 +00:00
joerg
1d9752887b close is a function, fix C&P errors. From Aleksey Cheusov.
Bump version, remove pkgrevision.
2007-08-16 13:02:05 +00:00
joerg
6eee19dc11 Work around broken default visibility in Linux (PR 36790).
Linux has sin_len either (PR 36791).
2007-08-16 12:50:34 +00:00
tnn
38c78edf17 Revbump sweep of all libevent consumers due to update to libevent-1.3d. 2007-08-16 09:27:03 +00:00
joerg
020f22df97 Don't hard-code tar as tar, but make it an option and use the tool
version correctly. Fixes issues on platforms where the first tar
in path doesn't support -z. Bump to pbulk-0.12.
2007-08-15 21:10:54 +00:00
joerg
515bcbf499 Shorten wording. 2007-08-15 20:55:28 +00:00
joerg
7d8b7c6596 Fix grammar. From salo@ 2007-08-15 20:52:02 +00:00
joerg
14b81a3089 Start abstracting pkgdb access by introducing pkgdb_pkg_file.
The function returns the path name of the given file for the package.
The memory needs to be freed by the caller.
2007-08-15 02:08:40 +00:00
joerg
66657d027d Make _pkgdb_getPKGDB_DIR return const char * and fix fallout. 2007-08-15 01:49:02 +00:00
joerg
8d30fc2491 Bail out if the PLIST contains no @name field. This check existed since
the initial revision in 2002, so assume it just works...
2007-08-15 01:21:46 +00:00
joerg
ab17300d32 Split off the part dealing with already installed packages into
a subfunction.

Bail out if the package name doesn't have a version name.
Bail out if the internal rename failed (it was an assert before).
Invert some of the branches to cut off three levels of indirection.
2007-08-15 01:16:27 +00:00
joerg
6a1fd2334f Add new option -m to pkg_add. This allows to override MACHINE_ARCH
for the purpose of installing a package and enables cross-compiled
pkgsrc to not use -f all the time.

Bump version to 20070815.
2007-08-14 22:47:51 +00:00
joerg
f8f97243e2 Fix indentation. 2007-08-14 13:15:58 +00:00
joerg
6a86f42a52 Merge tmppkg into main variable block and remove indentation. 2007-08-13 19:15:37 +00:00
joerg
0363bc546f Check explictly for argc == 0 to find out if options where specified.
Don't depend on NULL termination of argv, count instead.
Remove more traces of slave mode.
2007-08-13 19:13:13 +00:00
rillig
6aecf48699 Added mk/misc/category.mk, which contains the definitions that are only
useful for category Makefiles, as opposed to bsd.pkg.subdir.mk, which is
also relevant for the top-level directory. Adjusted the category Makefiles.
2007-08-13 08:12:41 +00:00
rillig
0505043778 Documented expect() and prepared pkglint for the upcoming introduction
of category.mk.
2007-08-13 08:08:44 +00:00
joerg
8ab021fab7 pkg_admin: when retrying with a wildcard pattern, use the computed
pattern and not the base name.
pkg_info: add -E option to return the best matching installed package.

Bump to 20070813.
2007-08-12 22:09:02 +00:00
joerg
386755f3cb Restore ignorance of entry types for lsbest and lsall for now.
The check for already installed packages depends on being able
to run them in PKGDB_DIR. This is clearly obnoxius, but leave it
for later.
2007-08-12 18:54:08 +00:00
joerg
567020fab0 Reference correct variable. 2007-08-12 17:51:36 +00:00
joerg
7df87b070e - Introduce find_best_matching_file and match_local_files. This replace
the functionality offered by findmatchingname and findbestmatching
  name. They optionally strip the suffix from the filename before
  matching it, instead of modifying the pattern directly.
  Drop the old functions.
- Fix a bug in pkg_order where the version strings where inverted
- Make pkg_admin lsbest and lsall use the new functions.
- Make ftpio use pkg_order directly.

Bump version to 20070812.
2007-08-12 16:47:17 +00:00
adrianp
5bc5a2248d * Use stdout for printing results of vulnerable/eol packages found.
Reported by Greg Troxel on tech-pkg@
* Add -q which operates the same as 'pkg_info -q' and only displays
  the package name of any vulnerable/eol packages found.
  Suggestion by joerg@
* man page updates for -q
* Document the required permissions for audit-packages and
  download-vulnerability-list in the man page.
2007-08-10 22:50:46 +00:00
joerg
3c81e91396 Remove comment about importing from NetBSD. 2007-08-10 22:42:13 +00:00
gdt
52887c8e10 Reword description of rebuild-tree, and point to pkg_delete -f as a
possible cause of inconsistencies. Remove comment about make replace,
since it does not, absent pkgsrc/mk bugs, result in incorrect
dependency records.
2007-08-10 22:39:13 +00:00
gdt
2c897a092e pkg_delete In the list of options, note -ff option to remove {\bf
preserved} packages, and caution the reader that it is dangerous.
Ride hours-earlier version bump.
2007-08-10 22:29:49 +00:00
joerg
ded9371ddc Not my day. If I write "return 0 when at least one match was found",
actually return 0...
2007-08-10 21:43:58 +00:00
joerg
0fa5f07e10 Add "rebuild-tree" command to pkg_admin. It recomputes the dependencies
and builds the +REQUIRED_BY files from that.

Bump to 20070810.
2007-08-10 21:18:31 +00:00
joerg
ea7045b735 Contrary to its comments, CheckForPkg is meant to print all matching
packages (see pkg_info -e). Restore this behaviour. Still print a
warning when the pkgdb can't be processed.

Reported by Daniel Horecki and pointed to the option by tnn@.
2007-08-10 15:37:51 +00:00
joerg
06cbbe0491 Don't use ld -x or ld -X. Bump version to 20070810.
Discussed with and tested by various people over the last two month.
This problem was exposed by pbulk.
2007-08-10 13:04:13 +00:00
wiz
00d71b8259 regen. 2007-08-10 01:12:02 +00:00
wiz
59bfde374f More indent for tagged lists; add key to FILES and add
descriptions there.
2007-08-10 01:11:05 +00:00
joerg
0009d030c3 Actually assign variable that tells the caller that we got a match. 2007-08-10 00:03:51 +00:00
joerg
a4790010d4 Make var_set and var_get arguments always use full path names. 2007-08-09 23:54:17 +00:00
joerg
14862bcfd4 Remove @option extract-in-place support for now (will be the default
later) and document @option preserve in pkg_add(1).
2007-08-09 23:32:59 +00:00
joerg
7a51a218c2 Change interface of is_automatic_installed and
mark_as_automatic_installed to take a package name and not a full path.
Add assertions to test for this.

Drop a few islinktodir checks.

Change pkg_info to use iterate_pkg_db instead of scanning the directory
by hand. As a side effect don't try to check for the pkgdb dir first,
let pkgdb_dump and iterate_pkg_db handle that.

Make pkgdb_dump return failure if it can't open the package db.
2007-08-09 23:18:30 +00:00
joerg
710504e20a Pass a number of strings around as const char *. 2007-08-09 23:06:42 +00:00
joerg
b847c0bf73 Fix segmentation fault when the package has no variables set and
no info file. Patch from Dieter Baron in pkg/36741.
Bump version to 20070809 for today's fixes.
2007-08-09 18:03:38 +00:00
joerg
9da2f994e0 Use the passed in string and Pkgdeps when calling strsep, fixing
processing of the build options. Reported by tron@ in PR 36754 and
Mark E. Perkins on pkgsrc-users.
2007-08-09 14:14:45 +00:00
joerg
1295367366 For user-destdir installation, we need to ues the REAL_ROOT_USER.
It doesn't hurt in the other cases, so do it consistently.
2007-08-09 14:12:35 +00:00
joerg
a50b83c42f Add DESTDIR support. 2007-08-09 13:29:02 +00:00
joerg
5d2cdcf3b6 When matching a non-pattern (aka a base name), assign the correct
variable. This fixes pkg_info -e and in turn pkg_tarup.
2007-08-09 12:53:35 +00:00
joerg
f9b953763b Replace note_whats_installed, add_to_list_fn and generally most
users of findbestmatchingname and findmatching name with more
descriptive and easier to use iterator functions. This functions
are a first step to abstract away pkgdb layout from most parts of
the code. It also helps to reduce side effects and point out potential
bugs in this code.

Fix a potential, but practically irrelevant buffer overflow.

No longer allow symbolic links directly in pkgdb to store the meta
data of individual packages outside. E.g. /var/db/pkg/atk-1.18.0
must be a directory and not point to it. This is not yet enforced in
all parts of the code, more changes will follow.

Bump version to 20070808.
2007-08-08 22:33:38 +00:00
wiz
a367b31fdf New sentence, new line; use more markup; fix a typo. 2007-08-08 22:00:40 +00:00
tnn
8629b7a0f5 Fix build on Solaris by including fcntl.h, needed for O_RDONLY definition. 2007-08-08 12:21:14 +00:00
tnn
f32a62ac9e pkg_rolling-replace-0.10:
- Abort if any of rebuild, unsafe_depends, unsafe_depends_strict are still
  set after "make replace".
- Following changes in pkgsrc, does not replace by default if the
  dependencies' ABI is still compatible.
- Add option -s that retains the old behaviour of always replacing.
- Add option -r for "replace only", this supresses creation of binary pkgs.
- The -n option has not been fully updated for these changes.
- versions 0.[7-9] were skipped to avoid any ambiguity from the 0.04 -> 0.5
  transition.
2007-08-08 11:28:04 +00:00
wiz
892e6014df Drop trailing whitespace. 2007-08-07 20:46:43 +00:00
lukem
a6b77a348a No need for PKGREVISION for tnftp-20070806. 2007-08-07 05:05:04 +00:00
tnn
ad86fdd1e5 Update to pkg_rolling-replace-0.6:
- Explicitly unset 'unsafe_depends' and 'rebuild' tags after replacing.
  Needed after changes in pkgsrc/mk/flavor/pkg/replace.mk, fixes PR 36738.
- Introduce ${PKG_ADMIN}, ${PKG_INFO}, ${PKG_CHK} variables instead of
  calling the tools directly by name.
2007-08-06 15:07:56 +00:00
tnn
7b610949fe Use full parameter lists in macros to avoid bogus replacements. 2007-08-05 22:06:11 +00:00
adrianp
0f8a3686bb s//etc/${PKG_SYSCONFDIR}/ 2007-08-05 17:21:50 +00:00
joerg
a40dec8f12 Correctly handle ordering NULL -- this greatly simplifies using it
in iteration functions. Fix a major thinko that prevented the actual
order rules from being used. Bump to 20070804.
2007-08-05 14:58:49 +00:00
joerg
e2a9c6ca63 Don't compare a function name against NULL, master_mode is meant here.
Thanks tnn@.

Reverse the test for extracting the bootstrap kit as the old version
hits set -e error handling.

Bump to pbulk-1.11.
2007-08-05 14:15:55 +00:00
tnn
a3b45d16a1 Do SUBST handling in post-patch instead of pre-configure. This makes
substitution (and any substitution warnings) run before the build starts,
rather than after building libnbcompat. The reason for this is that
libnbcompat is _built_ in the pre-configure stage when in inplace mode.
2007-08-05 12:30:10 +00:00
tnn
b21160e197 Tru64 doesn't have strtoll, but alpha is a pure LP64 platform so we can
just define it to strtol and most consumers of strtoll should be happy.
2007-08-05 11:20:47 +00:00
tnn
917db2d03b Add quotes around sed scripts. 2007-08-05 11:10:11 +00:00
tnn
49bc4064e5 Add some useful comments. 2007-08-05 09:37:19 +00:00
tnn
15823f5d6b No sin_len on digital unix derivatives. (xxx: time for a configure test?) 2007-08-05 09:03:09 +00:00
joerg
b5e9c6cd26 Detect grp.h. Regen. 2007-08-05 01:27:55 +00:00
joerg
f24ae1bb8a Try hard to get 64bit offsets in all modules, fixing misunderstandings
between libarchive and pkg_create e.g. on HP-UX.

Add my copyright to build.c, it is almost completely rewritten.
2007-08-04 12:32:01 +00:00
tnn
5b5761f0b7 Bump version to 20070803 after fixing a crash when generating Tiger hashes 2007-08-03 21:42:04 +00:00
tnn
155170f318 Allocate enough storage space to hold a tiger hash. Corrects a
segfault caused by writing past the end of the buffer.
XXX how do I bump the version of this package?
2007-08-03 17:10:07 +00:00
joerg
73ba3ef5c6 Fix bootstrap issues reported by tnn@ 2007-08-03 15:44:18 +00:00
joerg
46e6de189b The forced disabling of zlib and bzip2 was meant for testing only,
remove it. *blink*
2007-08-03 15:12:43 +00:00
joerg
fb85dba2b4 Bump date for last change. 2007-08-03 13:55:29 +00:00
joerg
199aa00ff5 - only build pkg_admin, pkg_create and pkg_info for --enable-bootstrap
- for pkg_create, split-off the package creation from the plist
  processing. package creation is disabled for --enable-bootstrap
- change package creation to use libarchive
- add two options (-u and -g) to override file system ownership
- pkg_create now creates files in the tarball with correct owner/group
  based on -u/-g or @owner/@group
- add a function to compute the +CONTENTS file in memory

Bump version to 20070802.
Review of a slightly older version by jlam@
2007-08-03 13:15:58 +00:00
tnn
e04e9eecc3 pkg_rolling-replace-0.5:
Redirecting output to /dev/stderr is not portable and will create a
regular file "stderr" if the device does not exist. Instead use the
portable 1>&2 redirection syntax. PKGREVISION was at nb9; get rid of it
and bump minor version number.
2007-08-03 00:55:08 +00:00
wiz
440dab353e regen. 2007-08-02 23:34:08 +00:00
wiz
e22d5fa05f Bump date for fixed paths. 2007-08-02 23:34:00 +00:00
wiz
f9b0a454db Update some paths on ftp.NetBSD.org.
Addresses PR 36721.
2007-08-02 23:30:20 +00:00
joerg
5122a367fd Include inttypes.h if it exists. Fixes issues on OSF/1 as reported
by tnn@.
2007-08-02 13:54:34 +00:00
tron
ef97254c92 Include "bsd.prefs.mk" to avoid error messages from e.g. "pkg_chk".
Fix suggested by Joerg Sonnenberger.
2007-08-02 07:22:31 +00:00
taca
42ca54029b Include <stdint.h> if HAVE_STDINT_H is defined, not HAVE_INTTYPES_H.
Fix build problem on SunOS 5.8.
2007-08-01 23:58:15 +00:00
tnn
c075ccd194 Near full rewrite of posix_headers:
- Implement a simple framework for automated header testing and generation
  using the c preprocessor.
- Make it installable on all platforms. On most platforms it will not install
  any files however.
- Bump revision to 0.5.

The changes should make it easier to add Interix support to this package.
Note that the package is still far from complete; for example the replacement
stdint.h does not yet provide fallback definitions for int_*t and friends
but relies on inttypes.h to provide them, which turns out to work for HPUX.
2007-08-01 21:33:40 +00:00
joerg
f699d716e9 Allow libnbcompat to be used in cross-compiled packages.
Supported-by: Google SoC 2007.
2007-08-01 18:16:38 +00:00
joerg
402a1d0078 Disable CHECK_PERMS here as it is needed for groff onsome platforms. 2007-07-31 14:40:45 +00:00
joerg
f1cd925f5b -Wall is a non-standard flag, don't use it in a bootstrap package.
Bombed out on by xlC.
2007-07-31 13:32:04 +00:00
joerg
0e17f71497 Don't use u_{char,short,int,long} as they are non-standard.
Bump version to 20070731.
2007-07-31 13:17:33 +00:00
joerg
c54865f2f5 Remove a now unused extern declaration. 2007-07-30 10:33:07 +00:00
joerg
ee5d571224 Remove first obstactle in pkg_add for switching to libarchive:
MASTER/SLAVE mode is gone now.

Bump version to 20070730.
2007-07-30 08:09:14 +00:00
joerg
d3a02b798c Don't build a list for a single item, but change the pkg_perform
interface to hand it down directly.
2007-07-30 07:25:10 +00:00
joerg
ba250884a3 Push pkg_perform prototype into the individual packages. 2007-07-30 07:16:21 +00:00
rillig
523896247e + REPLACE_KSH 2007-07-29 18:41:08 +00:00
seb
e40571f70c Specify PKG_DBDIR to pkg_admin and pkg_info via their -K argument
instead of environment. This allows mk/flavor/pkg/resolve-dependencies
to execute '${PKG_ADMIN}': you can encounter this problem
on platforms in need of pkgtools/pkg_install because their native
pkg_* tools are older than PKGTOOLS_REQD, id est NetBSD 2.x and earlier.

Ok'ed joerg@.
2007-07-29 17:39:31 +00:00
adrianp
5ca9237032 Remove redundant SUBST_* from package Makefile
OK'ed joerg@
2007-07-29 14:06:44 +00:00
rillig
474bbf93e4 Added REPLACE_PYTHON to fix a warning reported by gdt. 2007-07-29 01:32:47 +00:00
wiz
581b49d91c Fix two typos, and improve wording. 2007-07-28 07:26:26 +00:00
joerg
315daaa372 As reported by tnn@, the old approach to find the byte order
doesn't work on HP-UX/Itanium. Use the standard approach using
AC_C_BIGENDIAN. Tested by myself on i386, he@ on SPARC and tnn@ on
HP-UX.
2007-07-27 17:08:27 +00:00
tnn
c712efac2d No need to use the -p flag to cp(1) here. 2007-07-27 14:20:20 +00:00
joerg
07eedea6c2 Split bootstrap into two phases:
- phase one builds the essential tools in the bare minimal version
  needed by the infrastructure to run "make install".
- phase two runs "make install" for all the bootstrap packages.

Set WRKOBJDIR for the second phase, we never want to leave garbage
around.

This increases the time for running bootstrap, but gives more
deterministic results. It also means that e.g. configuration files
in pkg_install can be handled normally. It is a prerequirement to
sanely allow pkg_install some more extended work like building
its own libarchive without having to worry too much about limitations
on some platforms.

This fixes the expansion of @gzcat@ in the download-vulnerability-list
script.

Tested by tnn@ on Interix and myself on DragonFly.
2007-07-27 10:43:24 +00:00
joerg
20911999c4 Some people actually watch the pbulk-build client output, so add
a newline after each message. Bump to pbulk-0.10.
2007-07-27 09:59:36 +00:00
abs
d46b3dd8b6 Update pkglint to 4.78:
- lintpkgsrc.pl - less brokenly parse the contents of make conditionals
  like "if empty(FOO)". Specifically handle the case where FOO
  contains a :M modifier or a variable expansion.
  Fixes 'lintpkgsrc -r' incorrectly deleting ruby18-base-1.8.6nb1 each time
  Mmm... lintpkgsrc.pl needs to die
2007-07-26 17:07:59 +00:00
joerg
1b8a4975f6 Thinking again, include bsd.prefs.mk *first* and override CHECK_PERMS
afterwards, the user might have set it.
2007-07-26 12:24:52 +00:00
joerg
2745164118 Skip the permission check for libkver as well to avoid cyclic
dependencies.
2007-07-26 12:24:08 +00:00
joerg
17c965dcc3 After the obsoletion on March, remove the support for require scripts.
Also remove the documentation of the mtree parts as it is not supported.
2007-07-26 11:30:55 +00:00
joerg
43de2f8a8b As discussed in PR 36662, the include of nbcompat.h takes care of
the need to include sys/cdefs.h. Do include err.h if it exists
or we are not building for pkgsrc, otherwise use nbcompat/err.h.
2007-07-26 11:27:58 +00:00
joerg
057de8d82c pkgsrc_base_dir is now without leading /, compensate. GC it in the HTML
report script. Bump to pbulk-0.9.
2007-07-25 15:12:53 +00:00
joerg
64c41eca87 Mostly deorbit mtree support:
- pkg_create bails out with -m
- pkg_add ignores mtree specs in packages and prints a warning.
  It does not remove the file like before.
- remove now obsolete documentation.

pkg_info still prints the information and pkg_admin ignores the files.
Make the dependency on the tools a runtime dependency.
Take maintainership of pkg_install and bump version to 20070725.
2007-07-25 15:01:45 +00:00
joerg
a25b67ca2e Remove an additional ) and correct the assignment of a variable.
Bump to 0.8.
2007-07-25 11:07:28 +00:00
adrianp
2637bfc26b Check we can write to ${PKGVULNDIR} before attempting a download.
Reported by wiz@
2007-07-24 18:57:02 +00:00
adrianp
ae1629c33a Include nbcompat.h to sort out err.h
Add a conditional include for cdefs.h
This resolves the remainder of the issues in PR #36662
Thanks to Stuart Shelton for testing and feedback.
2007-07-23 12:29:32 +00:00
tnn
954b179cfd Move variable declaration to top of function body to make this build with
older versions of gcc. From Anonymous on IRC.
2007-07-22 13:22:21 +00:00
tnn
0466c89ba4 Wrap inclusion of inttypes.h in #ifdef HAVE_INTTYPES_H 2007-07-21 15:44:02 +00:00
tnn
0cf99d1015 Uses ntohl(), so include <arpa/inet.h> 2007-07-21 15:36:36 +00:00
tnn
d600ba1e7f Add workaround for broken 'struct sigaction' on Interix. 2007-07-21 15:29:50 +00:00
tnn
495f8a912e Add workaround for broken 'struct sigaction' on Interix. 2007-07-21 15:12:06 +00:00
tnn
bde72979d7 Interix doesn't have sockaddr_in.sin_len. 2007-07-21 14:45:12 +00:00
tnn
310e0cf3e1 Another version bump due to added configure check for uintptr_t 2007-07-21 14:39:25 +00:00
tnn
dc991988c1 * configure.ac: Add AC_TYPE_UINTPTR_T, needed by sha2.c.
Fixes build on Interix. Suggested by joerg@
* configure, config.h.in: regen
2007-07-21 13:57:33 +00:00
adrianp
39b2b8ef53 Add missed file in last update 2007-07-21 10:21:38 +00:00
adrianp
74d71ced16 Misc man page fixes
Update to autoconf 2.61
Add checks for AC_TYPE_UINT{8,16,32,64}_T
Add checks for stdint.h
Change how config file notification works
If no IGNORE_URLS directive is found then just say that
Check that pkg-vulnerabilities exists before we try any operations on it
Use st_ctime as opposed to st_ctimespec.tv_sec as the former is SUSv3
This update should fix PR #36655 and go part way to fixing PR #36662

Thanks to tnn@ and joerg@ for suggested fixes and Yakovetsky Vladimir and
 Stuart Shelton for testing and patches.
2007-07-21 10:21:04 +00:00
joerg
5fc8c04e5a Split pattern related functions from lib/str.c off into lib/opattern.c.
Rename pmatch to pkg_match and add new function pkg_order that
implements the order logic used by pkg_add internally.

Change the interface of findmatchingname's callback to take the pattern
used for the matching as first argument. The new pkg_order function
takes it and it doesn't hurt in other cases. Adjust callers and
corresponding callbacks accordingly.

Remove an unused matchfn typedef in dewey.c.

Bump to 20070720. OK jlam@
2007-07-20 22:22:52 +00:00
joerg
e00c79e3eb Always call setprogname for platforms that don't have __progname.
Don't depend on date to implement %s or even %F and %R or support -r,
compute dates as one comment and split. This works even with the very
special HP-UX date. Requested and tested by tnn@

Bump to pbulk-0.7.
2007-07-20 19:39:33 +00:00
tnn
f698f7ba2b Bump version due to changes in asprintf, snprintf and vsnprintf. 2007-07-20 00:32:01 +00:00
tnn
a4439a21a6 * configure.ac: Test for a standards-conformant vsnprintf. If it is found
to be broken, fall back to the one provided by libnbcompat.
* configure:    regen
* config.h.in:  regen
2007-07-20 00:21:02 +00:00
tnn
943cff783d Handle trailing NUL correctly. 2007-07-20 00:11:25 +00:00
tnn
4d407c5bcb Fix logic error in buffer handling (Hi Joerg!) 2007-07-20 00:10:06 +00:00
tnn
587152daa8 Replace "poor man's printf" implementation of (v)snprintf with an
imlementation using vfprintf. The advantage is that format strings behave
like other *printf functions on the host, the drawback is that it is slower.
2007-07-19 22:06:43 +00:00
wiz
fdfa17436f New sentence, new line. Sort options. 2007-07-18 23:33:19 +00:00
joerg
9b00c3e863 Fix SHA256/SHA512 to work on strict alignment platforms. This was
exposed by the C version of audit-packages and report in PR pkg/36662.
2007-07-18 14:09:55 +00:00
tnn
f5e2487470 Link libnbcompat before libevent (which may link to libc), so that
libnbcompat is guaranteed to appear before libc. Avoids various weak
aliasing problems with getopt on HPUX. Ok joerg@
2007-07-17 18:11:37 +00:00
tnn
d1718215ba HPUX's sockaddr_in doesn't have a sin_len member, so don't initialise it. 2007-07-17 12:09:29 +00:00
joerg
4c2322c0eb Add two variables to specify the prefix of the report mail's subject
and the recipient. Bump to pbulk-0.6.
2007-07-16 20:35:04 +00:00
joerg
68254bb9e4 bulkdir was an old configuration variable and replaced with bulklog
in the example config. Catch up in the scripts as well.
Create the log directory first for limited bulk builds.

Bump to pbulk-0.5.
2007-07-16 19:25:25 +00:00
joerg
1e9a4230a4 Change download-vulnerability-list.sh to use exec_prefix in the
sense of pkg_tools_prefix and prefix in the sense of LOCALBASE.
This allows individual overriding for NetBSD.

Add the forgotten part to allow DESTDIR builds and the pkgsrc.7 man
page.
2007-07-16 13:23:02 +00:00
joerg
bc4117d57f Retire helper scripts for merge from src, this is now the authoritive
version.
2007-07-16 11:40:10 +00:00
joerg
9df3e415c9 Merge remaining small changes from NetBSD, most of all the pkgsrc.7 man
page. Fix build on !NetBSD. Rebuild man pages with nroff -mandoc on
NetBSD current for consistency. Make it DESTDIR safe. Remove the note
that src/usr.sbin/pkg_install is the authoritive version, it won't be
any longer.
2007-07-16 09:57:56 +00:00
joerg
289ba68704 Merge r1.37 from NetBSD:
PR/36274: Jukka Salmi: pkg_add(8) -t option broken, template passed in
is treated as a directory. While there simplify and shorten the code...
2007-07-16 09:54:55 +00:00
rillig
5c72bdd8d3 Added support for SUBST_VARS.*. 2007-07-15 22:13:46 +00:00
rillig
d8eced8cbe Added PKG_GROUPS_VARS, PKG_SYSCONFDIR_PERMS, PKG_USERS_VARS and
SETUID_ROOT_PERMS.
2007-07-15 22:11:03 +00:00
joerg
ca03bfb945 Merge 1.75 of lib/ftpio.c from NetBSD:
When fixing vsftpd, other FTP server were broken as they return
different error codes for unmatching glob patterns. Basically ignore the
error code and just try the other pattern. chdir errors are still
considered fatal.

Bump version to 20070715.
2007-07-14 22:57:15 +00:00
adrianp
8f09fd52a9 Bump pkg_install 2007-07-14 20:19:48 +00:00
adrianp
16b215dd7e Update to pkg_install-20070714
Merge of audit-packages with various improvements:
* Version 20070714
	Initial release of re-write in C
	Add support for notfication of eol packages (-e)
	Multiple levels of verbosity (e.g. -v -v)
	Specify a custom config file to use (-c)
	Query running config values (-Q)
	Default to download .gz compress pkg-vulnerabilities file
	Support for .bz2 compress pkg-vulnerabilities file
	Verify signature on downloaded files (-s)

Thanks to tron@, jschauma@, agc@, joerg@ and pkgsrc-security@ for feedback
and testing.
2007-07-14 20:17:06 +00:00
agc
45c75f52c6 Some bug fixes following feedback from Aleksey Cheusov.
Check that some directories exist before trying to use them.

Calculate the architecture, overridable on the command line.
2007-07-14 14:51:19 +00:00
joerg
18bfea6740 Workaround too aggressive RCS ID find, so that +BUILD_VERSION and
ident agree.
2007-07-12 15:35:43 +00:00
joerg
80fbcad274 Avoid embedding $NetBSD\$ and similiar constructs in-tree files.
The strings would be picked up for +BUILD_VERSION and create mismatches
when using ident on the same files.
2007-07-10 15:27:57 +00:00
joerg
eb66d11868 Remove PKG_TOOLS_PREFIX handling for mtree, pax, pkg_install and
tnftp. Modifying files and possibly removing them from the base system
is doing more harm than use. Bump revision or version of each
package.
2007-07-10 15:19:17 +00:00
joerg
9118800e95 Update patchsum. 2007-07-09 15:21:03 +00:00
joerg
05b6e204ce Follow update of digest Makefile, bits is no longer. 2007-07-09 15:19:15 +00:00
minskim
30720001b0 Include stdint.h to use integer types such as uint32_t. 2007-07-08 05:09:09 +00:00
wiz
2ba0c80af0 Fix a typo. Improve heading for top ten. 2007-07-07 13:54:36 +00:00
joerg
b1a42ef8c2 Make pkgtools/digest cross-compilation ready and actually improve
portability somewhat:
- consistently use POSIX uint{8,16,32,64}_t throughout the code.
- asssume for now that the compiler supports ULL as suffix
- use AC_TYPE_UINT{8,16,32,64}_T instead of bits.c to compute
  possible replacement types.

Bump to 20070703. Tested by Thorsten Glaser on Interix and tnn@ on
Solaris.
2007-07-03 18:54:02 +00:00
joerg
10e3eaa283 Override CHECK_PERMS for checkperms and its dependency digest.
This allows making it a real dependency for bulk builds.
2007-07-03 14:04:17 +00:00