tnn
c89a3c6b68
Move my code to two-clause license.
2008-02-14 19:14:54 +00:00
rillig
3b57858299
Improved the wording of the explanation for empty PLISTs. Related to
...
PR 38022.
2008-02-14 00:27:19 +00:00
tnn
a348868a92
Add horisontal rulers.
2008-02-13 21:04:10 +00:00
reed
ee075cb7b6
Add to explanation for empty PLIST: not needed for meta packages.
2008-02-13 20:14:49 +00:00
rillig
74342b542b
Updated pkg_tarup to 1.7.1.
...
Changes since 1.7:
- bail out if the ROOT_USER doesn't exist.
- Made the package Makefile a little shorter.
2008-02-12 15:03:28 +00:00
joerg
153a030a7f
libnbcompat-20080212:
...
Add digest length defines for md5, rmd160 and sha1. Use
__BEGIN_DECLS/__END_DECLS. Drop _KERNEL conditionals.
2008-02-12 13:43:23 +00:00
rillig
cb491ea72a
INSTALLATION_DIRS_FROM_PLIST is deprecated. Use AUTO_MKDIRS instead.
2008-02-12 07:39:09 +00:00
tnn
aab417c507
Bump date for SunOS change.
2008-02-11 15:17:52 +00:00
tnn
017ce50be9
${CC} -E is a better default choice for CPP than "cpp".
...
Prevents many packages from failing with "c preprocessor fails sanity check."
2008-02-11 15:12:39 +00:00
joerg
1960164c7e
Always use the newly built pkg_create -- this makes updates easier.
2008-02-09 14:08:05 +00:00
rillig
4a2b7dfc86
Added a suggestion from Tobias Nygren.
2008-02-08 22:43:27 +00:00
joerg
e6206e80d6
Having to wonder for 5min why pkg_add would fail just to discover that
...
it couldn't exec the shell scripts due to mount -o noexec, make the
error message a bit more verbose.
2008-02-08 00:58:17 +00:00
joerg
e08e39667b
pkg_install-20080208:
...
Explicitly check in show_var that the buffer is non-NULL.
This can stops pkg_info -Q foo from segfaulting for explicitly
installed packages. Reported by Stoned Elipot.
2008-02-07 23:40:52 +00:00
joerg
e9ce48a411
Merge a fix from NetBSD's src/bin/pax by tls:
...
Teach set_ftime about symbolic links, because it has to know: on some
Linux systems, when we build as a tool we think we have lutimes but it
doesn't work on some filesystems at runtime. A bit ugly but effective
and without use of AC_TRY_RUN in the tool build. Tidier (than mine)
set_ftime reorganization from christos.
Bump version to 20080110.
2008-02-07 22:27:53 +00:00
tnn
7ad4bee3e9
Needs GNU nroff to format catpages.
...
(But for this case it would make life simpler for bulk builders if the
catpages were pregenerated.)
2008-02-07 13:41:26 +00:00
joerg
fc8fb1240a
pkg_tarup-1.7:
...
Produce the same output as USE_DESTDIR=yes. Most of all reduce magic.
Try to deal with pkgviews for completeness.
2008-02-06 22:39:43 +00:00
joerg
4f81810ae0
Include fcntl.h for Solaris. From Andri Piik in private mail.
2008-02-05 18:57:09 +00:00
rillig
fbf42c9d3e
Something more to do.
2008-02-05 02:10:38 +00:00
joerg
9866d214df
pen.c only uses statvfs.h and the necessary headers are included by
...
libnbcompat.h already. So don't include sys/param.h and sys/mount.h in
it and remove the configure test for sys/mount.h.
While here, remove some #if 0'd code from pen.c.
2008-02-04 14:28:27 +00:00
joerg
8ada92d5fc
pkg_install-20080204:
...
Try to remove all +* files from the pkgdb first. If the log directory is
not empty afterwards, be noisy, but try rm -rf on it for the force case.
2008-02-04 14:03:10 +00:00
tnn
082e811cfa
Enable compression (-z) in report_rsync_args.
...
Partially addresses PR pkg/37946.
2008-02-03 21:20:46 +00:00
heinz
3394442d47
Added support for installation to DESTDIR.
2008-02-02 17:36:40 +00:00
joerg
7bdc02c45c
pkg_install-20080202:
...
Convert pkg_info to use libarchive instead of tar for binary package
handling. As a side effect pkg_info on remote packages will use
one FTP instance per argument, but will try to fetch only the meta data.
This reduces time for pkg_info -X on a full binary repository from 36.9s
to 18.1s for the cache hot case (PKG_TMPDIR on tmpfs for the old
pkg_info). Thanks to tnn@ for testing.
2008-02-02 16:21:45 +00:00
joerg
ed48acb8ad
Explicitly check that meta data files are regular.
2008-02-02 15:47:52 +00:00
rillig
5d720e0cfd
+ PRIVILEGED_STAGES
2008-02-01 08:50:22 +00:00
rillig
522219d1cc
Needs REPLACE_PERL. PKGREVISION++
2008-01-31 18:59:37 +00:00
rillig
ade4f6f31a
Don't require white-space after ${RUN}, since it wasn't required for
...
${_PKG_SILENT}${_PKG_DEBUG} either.
2008-01-31 14:00:17 +00:00
rillig
9aaaa11b57
Directories that are practically empty are skipped.
2008-01-31 13:20:56 +00:00
joerg
8fee404627
Fix a limit check.
2008-01-30 21:52:09 +00:00
joerg
dca74e43dd
Add another check for the cross-compiling case.
2008-01-30 15:01:04 +00:00
hubertf
5c695ce274
Sign over my copyright to TNF.
2008-01-29 15:39:30 +00:00
tnn
4ed291d5f2
$${bulklog} -> ${bulklog}
2008-01-29 08:14:44 +00:00
dmcmahill
b97269911b
Update to cdpack-1.8. This change adds the cddist utility which may
...
be used for creating a cd/dvd set containing a distfile archive. No change
to the existing portions of the package.
2008-01-28 23:06:13 +00:00
dmcmahill
99ea1f0246
minor portability fix and minor bug fix (tested for the presence of the wrong file)
2008-01-28 23:03:48 +00:00
rillig
98ae096a66
Added Thomas' explanation for the "PKGREVISION must only be in Makefile"
...
error message.
2008-01-28 09:25:52 +00:00
rillig
7e187aa86c
pkglint can now automatically add the "used by" clauses to
...
Makefile.common when run with the --autofix option.
2008-01-28 01:18:13 +00:00
rillig
2692dd0290
When a file is included via .sinclude, it doesn't have to exist.
2008-01-28 00:53:21 +00:00
rillig
fa0050ec62
Removed extra #.
2008-01-28 00:35:59 +00:00
joerg
e09da90e38
pbulk-0.27:
...
When running the start script in master mode, already accept incoming
connections. This makes the start script more useful when using more
clients than the default listen back log.
2008-01-27 14:01:23 +00:00
joerg
e076545b94
pbulk-0.26:
...
Add first pile of patches for cross-compiling support.
This still depends on the packages being pre-installed to
the normal prefix, but otherwise works. Cross-compiling
needs pkg_install-20080126. While here, simplify configuration
and allow using one pkg_install installation for everything.
As a side effect remove the pkgdb limitation for NetBSD builds.
Add a message that tells users to check the configuration file
on updates.
2008-01-26 23:44:08 +00:00
joerg
258724b565
pkg_install-20080126: Make pkg_add pass down -I and -m when recursively
...
adding packages.
2008-01-26 23:30:24 +00:00
rillig
95ce0db1bf
When updating a package, the "(perhaps the packing list is incorrectly
...
specified?)" warning isn't correct, so don't print this assumption at
all.
2008-01-26 09:23:31 +00:00
joerg
d8d13db647
Explain unprivileged_user.
2008-01-26 03:14:18 +00:00
joerg
e562ac2e2f
pbulk-0.25:
...
Add bulkbuild-rebuild which can be used to build packages individually.
It assumes that all dependencies are built and the results of the scan
phase exists. That means it can be used after a bulk build to try to
rebuild a failing package. Fixes PR 37407.
2008-01-26 01:57:00 +00:00
joerg
d84d1ca637
pbulk-0.24:
...
When all jobs are processed in master mode, close the listen socket
and shutdown(2) all peers. Give them a second to close(2) the
connection themselve, so that the port remains usable on the master.
This is the standard compliant fix for PR 37002.
2008-01-26 00:34:57 +00:00
rillig
9449794a9c
Some commands like "mktexlsr" and "texconfig" must not be called from
...
package Makefiles.
2008-01-25 17:59:24 +00:00
tnn
34692a4cfc
Fixed a problem in pkg-build, bump rev.
2008-01-21 13:11:56 +00:00
tnn
44711aada0
Fix a hardcoded path (probably a mistake in rev 1.8)
2008-01-21 12:37:46 +00:00
joerg
235f1bf734
No revision bump for pkgsrc native tools, update version.
2008-01-18 15:46:22 +00:00
rillig
a83158c015
PKGREVISION++ for the invalid definition of shell functions.
2008-01-18 11:38:17 +00:00
rillig
06c878c3b1
Fixed the definition of shell functions, as reported in PR 37795.
...
See also:
http://www.opengroup.org/onlinepubs/000095399/utilities/xcu_chap02.html#tag_02_09_05
http://www.opengroup.org/onlinepubs/000095399/utilities/xcu_chap02.html#tag_02_09_04
2008-01-18 11:36:18 +00:00
tnn
c722fc0905
pkg_chk-1.88: add mktemp to the list of substituted commands.
2008-01-18 07:50:03 +00:00
joerg
5eda607514
pbulk-0.21:
...
Don't try to remove a non-existing file if no package had an error
during the build.
2008-01-17 19:25:33 +00:00
joerg
a166fd74ea
pbulk-0.20:
...
- run checksum stage of a build with the privileged user, as DISTDIR
might not be writeable
- create the actual package as privileged user as well
- pre-create work.log when using user-destdir
- in pre-build, only wait if the meta subdirectory exists. bulklog itself
can often be a mount point.
2008-01-17 17:47:09 +00:00
joerg
4498fe021c
pbulk-0.19:
...
- add support for building using DESTDIR.
2008-01-16 14:20:08 +00:00
tnn
e21f12791a
Bump date because of several HPUX & OSF1 fixes.
2008-01-16 11:41:15 +00:00
tnn
e0adffbdde
Supports installation to DESTDIR.
2008-01-16 03:32:59 +00:00
tnn
0f5043a902
Fix CPP detection
2008-01-16 03:05:57 +00:00
joerg
dd293c5fa6
Use %lu + casts instead of depending on size_t's %z. Some Operating
...
Systems like Solaris don't implement %z.
2008-01-15 22:14:30 +00:00
joerg
a4b00a08e7
pbulk 0.18:
...
- If not running on NetBSD or not using /usr/bin/make, set the default
of pbulk's make to ${prefix}/bin/bmake.
- Make path to neato an option and don't install it on demand.
- Fix a bug in the master mode that should fix the strange faults seen
with native libevent on NetBSD.
- Add option to skip checksum computation. Don't upload a checksum file
if that option is active.
2008-01-15 21:43:31 +00:00
tnn
4b8fb48be4
Retire support for builtin X11 on HP-UX. The builtin libs are simply
...
too broken. (Missing dynamic Xaw libs, header issues and so on ...)
I'll make X11_TYPE=modular the default on HP-UX instead.
2008-01-14 08:27:31 +00:00
tnn
7f888fd6b0
Make CPP definition compiler-agnostic
2008-01-14 05:55:30 +00:00
tnn
03c313fb85
fix typo
2008-01-14 05:14:59 +00:00
tnn
4c52ae5bee
We always have install-sh on HPUX
2008-01-14 05:08:52 +00:00
tnn
c45631dd04
First cut at some HPUX specific overrides. No version bump of the package
...
yet since this will be work in progress for a couple of days ...
2008-01-14 05:00:43 +00:00
rillig
2ef4aec279
Fixed typos.
2008-01-13 22:31:25 +00:00
gdt
1dfd5850bd
Add patch from Brook Milligan to avoid treating warnings about
...
non-deletable packages as dependencies. Bump version to 0.14.
Example problematic output (perhaps should also be fixed in
pkg_install):
Information for pkg_install-20070810:
*** PACKAGE MAY NOT BE DELETED ***
Built using:
checkperms-1.7
*** PACKAGE MAY NOT BE DELETED ***
2008-01-11 13:29:37 +00:00
rillig
34e8a5cf5d
Greg wants me to check for unused license files.
2008-01-10 03:48:34 +00:00
rillig
ae2d8788af
Check misspelled macro names, for example __NetBSD_Version instead of
...
__NetBSD_Version__. Inspired by emulators/wine/patches/patch-ac 1.37.
2008-01-10 03:33:46 +00:00
heinz
12aae4e3b5
The package needs a C compiler.
2008-01-08 20:03:54 +00:00
adrianp
44c6e6e2dd
Add 'audit-packages -F <file>' to process a list of packages/patterns
...
from a file.
Update and sort options in the man page
2008-01-07 22:27:59 +00:00
rillig
53c3ee0e89
+ REPLACE_LOCALEDIR_PATTERNS
2008-01-06 19:26:01 +00:00
rillig
d989bc8536
+ BUILD_MAKE_CMD
2008-01-06 18:37:21 +00:00
rillig
567c07ece4
Deactivated the "NOTE: you can write "tool" instead of "${TOOL}", as
...
suggested by darcy@.
2008-01-06 14:55:00 +00:00
rillig
5287c0d6e2
When a variable is compared to a string in an .if or .elif directive,
...
check that the string fits to the variable type.
Currently, the generated warnings are mainly for X11_TYPE, for which
"xorg" is not a valid value. (hi joerg!)
2008-01-06 01:02:14 +00:00
rillig
d332897390
Improved an explanation for an error message, since the previous version
...
didn't really explain anything.
2008-01-05 22:13:20 +00:00
rillig
50295b3994
Improved the wording of the "Makefiles must not be included" error message.
2008-01-05 21:54:50 +00:00
rillig
775bba2f32
Don't give a warning for incomplete RCS tags in patch files, as they
...
probably will not do any harm.
2008-01-05 18:41:02 +00:00
rillig
90e88a8d2d
Reactivated the code to warn about missing comments in patches. It seems
...
that the time has come that we can no longer find out what a patch does,
unless we document it. The CVS history is not of great help in many
cases, patches get moved in the repository and so on.
To not scare casual pkglint users, these warnings are only shown if
pkglint is run with the -Wstyle or -Wall option.
2008-01-05 18:04:06 +00:00
tron
860c51a3a0
Require at least version 0.35 for the benefit of system with native X.org.
2008-01-05 16:22:15 +00:00
tron
1c75254c0e
Update "x11-links" package to version 0.35:
...
- Add suport for "inputproto", "randrproto" and "xineramaproto".
2008-01-05 16:08:52 +00:00
rillig
f1aafc9c0a
In the check for variable ordering in package Makefiles, MASTER_SITES is
...
not required to appear, since META_PACKAGEs don't need to define it.
2008-01-05 11:13:37 +00:00
rillig
f77793c396
Added code to analyze the conditions in .if and .elif directives. This
...
will soon be extended to checking for spelling mistakes in PKG_OPTIONS
handling.
2008-01-04 16:12:03 +00:00
rillig
8c3c6df190
Whenever a Makefile.common is included by another file, that file should
...
be mentioned in the Makefile.common.
2008-01-04 16:03:55 +00:00
rillig
4071dbc4be
Updated pkglint to 4.82.
...
Changes since 4.81:
- Moved lintpkgsrc to its own package.
- Less internal errors when parsing shell code.
- White-space checks in PLIST.
2008-01-04 15:59:47 +00:00
rillig
5299226d71
If a command line argument is used, it should be mentioned by exactly
...
this name (pkg-name) and not some related description, to make searching
easy.
2008-01-04 14:24:38 +00:00
rillig
906ad29157
Prepared pkglint for the upcoming cleanup of the .include directives in
...
mk/*.
2008-01-04 01:43:56 +00:00
rillig
eeebd3ec03
When calling open(2), don't try to get an error message from libarchive,
...
since it won't know anything about it. (hi joerg!)
2008-01-03 22:31:20 +00:00
rillig
10ac5aa6c4
+ lintpkgsrc
2008-01-03 21:05:34 +00:00
rillig
e770357f67
Imported lintpkgsrc.
...
lintpkgsrc checks various things on the complete pkgsrc tree.
2008-01-03 17:43:15 +00:00
rillig
447576b03c
Added a way to determine the PKGPATH when checking a package.
2008-01-03 16:16:22 +00:00
rillig
f09c8701b9
If one of the NO_*_ON_* variables contains something other that
...
${RESTRICTED}, print the variable name in the warning message.
While here, added an explanation for the warning.
2008-01-01 20:44:29 +00:00
rillig
811346657e
All characters in PLIST files are relevant, so make trailing white-space
...
an error. Who would ever want to install files whose name ends in
white-space?
2008-01-01 13:44:11 +00:00
minskim
24f56460bb
Do not skip the configure phase. This package needs it to configure
...
libnbcompat. Pointed by Mark Wicks in PR 37609.
2007-12-27 23:19:06 +00:00
joerg
a0e4ad1e20
Prepare for update of NetBSD and pkgsrc-2007Q4 by tagging current state
...
as 20071224. Changes include:
- better diagnostic for conflicting packages
- explicitly check already installed packages for conflicts with
to-be-installed package
- document pkg_admin rebuild-tree in usage
- man page fixes
- forcefully remove pkgdb entries (needed for user-usage in some cases)
2007-12-23 23:58:27 +00:00
rillig
adf53f5a0d
Prevent internal errors when one-letter variables are used. The warning
...
to disambiguate them is still printed.
PR: 37593
2007-12-22 22:27:17 +00:00
rillig
2c5b005b55
Updated pkglint to 4.81.
...
Changes since 4.80:
- Stricter CVS Id check
- REQD_FILES_PERMS, META_PACKAGE, PKGSRC_COMPILER
- Warning if info pages are installed into share/info.
2007-12-22 11:21:47 +00:00
rillig
664171769f
GNU info pages should not be installed into share/info.
2007-12-22 11:15:52 +00:00
rillig
6e0168c5df
+ REDQ_FILES_PERMS
2007-12-21 12:36:59 +00:00
rillig
e035f2d2e6
Updated the list of pkgsrc compilers (+hp, +pcc).
2007-12-21 12:31:20 +00:00
rillig
1081c0d265
Improved the wording of an explanation, to avoid confusion.
2007-12-19 12:34:08 +00:00
rillig
e59cd5c03e
- Added support for the new META_PACKAGE variable.
...
- Warn about duplicate entries in PLISTs.
2007-12-19 12:04:34 +00:00
rillig
545e51df61
The +CONTENTS file is checked for conflicts, not +REQUIRED_BY.
2007-12-19 02:22:54 +00:00
tron
523298223d
Another day, another update (and probably not the last one):
...
Update the "x11-links" package to version 0.34:
- Add suport for "libICE", "libSM", "libXext", libXinerama", "libXrandr",
"libXrender", "libXt" and "xcursor"
- Improve support for "Xfixes".
2007-12-17 18:20:19 +00:00
rillig
5a54dec7a9
Documented struct package_conflict and added a note about the
...
inefficiency when reading all the +REQUIRED_BY files.
2007-12-17 09:42:03 +00:00
tron
e53552d815
Update "x11-links" package to version 0.33:
...
- Improve handling of "libXmu" on systems with native X.org.
2007-12-16 19:05:52 +00:00
tron
6ec9146c39
Fix build on pre-Leopard Mac OS X systems.
2007-12-16 12:43:50 +00:00
tron
cb8742689f
Mac OS X Leopard doesn't "InstallFlags" in "darwin.cf". We therefore don't
...
need to (and cannot) apply a patch to prevent that. This package builds
under Leopard now.
2007-12-16 12:29:17 +00:00
tron
f90fb49d2b
Update "x11-links" package to version 0.32:
...
- Update X.org support to support systems with modular X.org in the
base distribution.
- Add support Mac OS X Leopard.
2007-12-15 17:53:39 +00:00
joerg
026ceb86b5
Force dependency on libevent from pkgsrc on NetBSD, the native version
...
is broken. This shows e.g. as querying the status can trigger a signal
10. Bump version.
2007-12-15 11:06:12 +00:00
rillig
cb61e59737
Made the CVS Id check stricter, to catch many mistakes in pkgsrc-wip.
2007-12-13 15:56:49 +00:00
tnn
0d152f7013
document 'rebuild-tree' in usage()
2007-12-10 10:34:42 +00:00
rillig
771ec66978
Updated pkglint to 4.80.
...
Important changes since 4.79:
- Fixed some internal errors.
- Adjusted pkglint to changes in the pkgsrc infrastructure: SUBST_VARS.*,
PKG_USERS_VARS, PKG_GROUPS_VARS.
- Improved the parser for shell code.
- Cleaned up the handling of the :Q operator, so that pkglint warns about
it places where it is not required.
- ${RUN} has deprecated ${_PKG_SILENT}${_PKG_DEBUG}.
2007-12-07 11:47:52 +00:00
rillig
aa9a155e1a
+ AUTO_MKDIRS
2007-12-07 11:28:17 +00:00
joerg
88572b8312
Skip empty lines in the limited list. Bump to 1.16.
2007-12-05 21:33:58 +00:00
tnn
2e9b188782
pkg_rolling-replace-0.12:
...
Replace the nested shell loops in depgraph_installed() with some awk
that only needs to invoke pkg_info once. This gives a ~20x speedup.
Previously, if many packages were installed, depgraph generation took a
considerable amount of time; in the order of 30 seconds even on moderately
fast hardware.
2007-12-02 02:11:05 +00:00
rillig
085721094b
In error messages, it is important to be as specific as possible, to
...
help the user understand the problem.
2007-11-30 17:31:38 +00:00
rillig
aed144c8fe
Catch some common mistakes in dependency patterns.
2007-11-30 14:19:20 +00:00
rillig
872ab1f25d
style
2007-11-30 00:39:39 +00:00
rillig
bae1429f34
Do not install a package if some of the installed packages would
...
conflict with it. This fixes PR 37451.
2007-11-30 00:30:39 +00:00
rillig
bb376f4684
Remove the package metadata even if it is read-only, without prompting
...
the user.
2007-11-29 22:50:05 +00:00
rillig
7c9d37db1d
(typo:) When checking PLIST.common_end and loading PLIST.common,
...
actually load that file.
2007-11-29 21:05:29 +00:00
mishka
7b9053b306
Check for deprecated mkisofs flags. Fix found and bump pkgrevision.
2007-11-28 16:18:01 +00:00
rillig
532c6fad52
Added some comments that explain the data structures.
2007-11-28 11:34:20 +00:00
rillig
e46725b9b6
Fixed code duplication. When canonicalizing package names, also do it
...
for PHP.
2007-11-22 09:36:38 +00:00
rillig
3a2dd48968
Removed USE_TOOLS+=perl:run, since Perl is not used as a tool, only as a
...
dependency which is included automatically by the various Perl modules.
I wonder why the PERL5 variable is still defined without perl being in
USE_TOOLS.
2007-11-20 21:46:20 +00:00
rillig
13a034c937
At some place, it should be documented why libnbcompat is _not_
...
installed as a shared library but rebuilt for every package that needs a
certain feature. That place is either here or in files/README.
2007-11-20 18:55:25 +00:00
rillig
8f2787ea9e
Inform the user when configuring libnbcompat. While here, fixed some
...
quoting issues. (They never caused anything to fail, but who knows what
will happen in the future?)
2007-11-20 18:15:23 +00:00
rillig
4d0c26aa79
Even on non-BSD systems, the "-R all" option should disable printing of
...
the "time" attribute. Noticed by Malcolm Herbert on tech-pkg.
2007-11-19 08:41:25 +00:00
rillig
0a6bd0ea38
Don't install corrupted catpages on Solaris and AIX. PKGREVISION++
...
Cleaned up the Makefile.
2007-11-17 16:00:20 +00:00
rillig
f015bfbd08
The type of BUILTIN_FIND_GREP.* had been wrong. It's not List of
...
ShellWord, but a simple String. This has led to some confusion in
db1.builtin.mk.
2007-11-16 08:11:16 +00:00
wiz
ccf4f0a7e4
Add two missing .Ek.
2007-11-14 22:57:07 +00:00
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