Commit graph

3129 commits

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