Commit graph

3069 commits

Author SHA1 Message Date
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