Commit graph

6910 commits

Author SHA1 Message Date
joerg
c44cfe5404 Only force gmake for imake on Linux, if using native implementation. 2008-01-12 22:44:10 +00:00
joerg
f30bc9ac38 If LOWER_ARCH is x86_64 on Linux, force it for MACHINE_ARCH as well.
On a Core 2 Xeon, it breaks a lot of things otherwise as it ends up as
something like "Intel(R) Core(R)".
2008-01-12 14:40:21 +00:00
rillig
e874c5ae78 Explained the difference between an lvalue and an rvalue.
Documented the __STDC__ macro, especially Sun's implementation.
2008-01-10 02:34:09 +00:00
gdt
129f9827d2 Document notion that Free/Open licenses do not end in -license. 2008-01-09 14:38:05 +00:00
ghen
9ec634a248 Update list of PostgreSQL mirrors, from:
http://wwwmaster.postgresql.org/download/mirrors-ftp

Include http mirrors.
2008-01-09 12:57:05 +00:00
smb
ac7ceb0e35 Add option description for jpilot in claws-mail 2008-01-09 03:50:00 +00:00
heinz
84bc04d0a3 Fixed spelling. 2008-01-08 16:09:23 +00:00
smb
2e4ede884a Add options to liferea to permit selection of different rendering engines 2008-01-08 15:14:25 +00:00
rillig
279137b7ab C compilers also emit error messages that are worth being explain. 2008-01-06 19:13:31 +00:00
rillig
e6d2d54c02 Explained an error message from g++ that occurs quite often. 2008-01-06 18:03:16 +00:00
rillig
f185f4e34c Explicitly record the PKGNAME via the @name command. That way, it is
possible to create the package file using a temporary file first, and if
everything has succeeded, to rename it to the real name. This time, I
tested it creating various binary packages and installing them
afterwards, so I'm pretty sure it works now.
2008-01-05 22:06:20 +00:00
rillig
cf4165832c Upper-case keywords may also end with a colon. This is used in
mk/check/check-portability.mk.
2008-01-05 19:48:27 +00:00
rillig
f07e60916d Rewrote the help parser. You can get a list of all help topics by
running "bmake help topic=:index" now. This change is in preparation of
importing this help into the pkgsrc guide. There are still too many
false positives to be useful.
2008-01-05 17:55:48 +00:00
tron
864edbaeb5 Manually prefer "pkgsrc" versions of "Xft2" and "fontconfig" under
Mac OS X Leopard until the builtin detection in the "Xft2" package
works properly.
2008-01-05 17:21:46 +00:00
rillig
1194eb3d9e The @imake-man macro should not yet be used, since it is subject to
further changes.
2008-01-05 17:03:04 +00:00
rillig
4d3b9ab24d Instead of just recording whether a topic is relevant or not, collect
all applicable keywords (like variable names, make targets or explicit
keywords). This will help printing an index of all keywords.
2008-01-05 17:01:23 +00:00
heinz
79a03c3697 In the CHECK-PERMS case, moved test of exit code one line up, so the
removal of tmpdir does not overwrite the exit code to be tested.
2008-01-04 21:50:27 +00:00
rillig
7fca192e2e Replaced all references to pkglint with lintpkgsrc, which has its own
package since a few days.
2008-01-04 15:49:07 +00:00
rillig
c564dfd5db Reverted the change that tried to make binary packages more sane because
it had severe consequences: pkg_create gets lots of information from the
filename into which the package is written. The extension decides what
compression to apply, and the basename gets recorded as the @name. This
part needs more work.

Noticed by stoned@.
2008-01-04 14:22:06 +00:00
rillig
d3624fdf10 Made the .include directives simpler, since the directory of the
including file is always the first in the search path.
2008-01-04 01:46:24 +00:00
rillig
8df3cdc4f6 When creating the binary package, first create a temporary file, and if
everything went well, rename it to the real name. That way, it is less
likely that broken binary packages are created. It is a common
assumption that binary package files, if they exist, are usable.

An example for a broken binary package is security/sudo-1.6.9p10, in
which sbin/visudo wasn't readable when creating the package as an
unprivileged user.
2008-01-03 23:21:48 +00:00
adrianp
8c8f2165fb * Rename AP var to AUDIT_PACKAGES as the former was a bit obscure
* Add DOWNLOAD_VULN_LIST var
* Get AUDIT_PACKAGES and DOWNLOAD_VULN_LIST to point to the right binaries
  taking into consideration OPSYS and pkg_install version
* Replace all references to audit-packages and download-vulnerability-list
  with AUDIT_PACKAGES and DOWNLOAD_VULN_LIST
2008-01-03 20:51:21 +00:00
obache
bfcf1f5783 Mirrors of SourceForgeJP seems changed, noticed by Zafer Aydogan in private mail.
+ jaist, iij
- keihanna, globalbase

Move round-robin host name to last, since it refers old mirros now.
2008-01-03 14:34:08 +00:00
obache
55d54e4005 Add more *ONW, *GRP and *MODE variables to BSD_MAKE_ENV for unprivileged build. 2008-01-01 14:20:20 +00:00
jlam
645f805678 Add support for NetBSD 4.0 compatibility through installing compat40
and netbsd32_compat40 packages.  The compat40 packages are currently
built by comparing the 4.0 release against the 20071230 version of
HEAD.

Commit approved by <agc>.
2007-12-31 20:06:37 +00:00
joerg
08016fa1fa EXTRACT_USING is always set, even when the necessary tools are not
depended on because it is not used. Work around it for now by checking
that the target is actually non-empty explicitly. This is still simpler
than the original code. After the branch, this will be reordered so that
it only gets set to non-default values when it will be used.
2007-12-30 13:37:18 +00:00
joerg
780c8a1afe Fix EXTRACT_USING=gtar and simplify the other cases. TOOLS_GTAR was never
defined and therefore no argument was passed to the extract script.
This broke at least scmgit-docs on DragonFly.
2007-12-29 20:08:16 +00:00
tron
b7960a15bf Simplify pattern for Mac OS X Leopard. 2007-12-28 15:36:29 +00:00
obache
6456ebb5c8 Change MOZILLA master sites difinitions, related to PR 37379.
There are three types Mozilla mirrors.
(http://www.mozilla.org/mirroring.html)
 * mozilla-current
        contains only the current version of Firefox and Thunderbird
 * mozilla-release
        contains Firefox, Thunderbird, and Sunbird releases
 * mozilla-all
        complete archive

Define following variables for mozilla master sites:
        MASTER_SITE_MOZILLA_ALL = mozilla-all
        MASTER_SITE_MOZILLA     = mozilla-release
and change some packages to use appropriate variable.

Update contents of MASTER_SITE_MOZILLA with master and primary mirrors
taken from http://www.mozilla.org/mirrors.html and add some sample definitions.
2007-12-22 07:22:04 +00:00
abs
dc2c1fec59 remember to close() the "ls -l " exprs, lest we run out of file descriptors 2007-12-20 18:51:18 +00:00
rillig
b7678466da Meta packages have user-destdir support and don't need any patches. 2007-12-19 12:32:06 +00:00
rillig
d877440c8b Added a variable META_PACKAGE that should be set to "yes" by
meta-packages. That way, the packages don't need to know the details of
how meta-packages are defined.
2007-12-19 11:56:19 +00:00
markd
4767fe7dc4 Doing USE_TOOLS+=cmake in the configure stage is too late so move it
to tools.  Also cmake wants cpack to exist in the same directory so
toolise it and make cmake and cpack imply each other.
2007-12-18 10:18:39 +00:00
tron
df740eb259 Make Apache 2.2.x the default as discussed on "tech-pkg" mailing list. 2007-12-17 22:09:58 +00:00
tron
0efe5a4def Fix cut and paste error in last change. 2007-12-16 12:36:28 +00:00
tron
a9c785eaa1 Mac OS X's Leopard "/bin/sh" doesn't support "echo -n" (apparently by
purpose because if it is invoked as "/bin/bash" it does). Use
"/bin/echo -n" instead.
2007-12-16 12:27:28 +00:00
obache
2a5240ee93 Removing '||' does not mean 'simpler' (hi rillig). 2007-12-16 02:51:24 +00:00
adrianp
b919017b3c audit-packages logic for its location depends on a variety of factors
including OS, pkg_install version and NetBSD version.  The following
should pick the correct version to run.
2007-12-16 01:49:08 +00:00
bjs
b86b1ef032 Add an nls option so that packages can make it optional. 2007-12-14 08:27:39 +00:00
rillig
74b91acea7 show-var is related to show-vars and show-subdir-var. 2007-12-13 11:57:34 +00:00
rillig
b79b4beba7 Made "bmake show-help topic=show-var" (and probably some others) work
again.
2007-12-13 11:48:38 +00:00
rillig
173c29312a Added information about the interface to this file, which can be queried
with "bmake show-all-pkginstall".
2007-12-13 11:10:42 +00:00
markd
98be5e390c Add support for kde4 (currently in wip) so that packages in wip can use
"USE_DIRS+= kde4-1.0"
2007-12-12 05:14:15 +00:00
markd
ec09af76f0 Add support for cmake as a tool (USE_TOOLS+=cmake) and for using it in
the configure stage of a build (by setting USE_CMAKE=yes).
2007-12-12 01:00:38 +00:00
heinz
c500777638 Updated list of sourceforge mirrors according to
http://sourceforge.net/project/mirror_picker.php and sourceforge.jp
2007-12-11 19:55:06 +00:00
rillig
4290fb40eb Added compatibility code for INSTALLATION_DIRS_FROM_PLIST. I had
intended that all the time, but didn't test enough. :(

Thanks to wiz for catching this one.
2007-12-10 22:49:19 +00:00
rillig
a2f9aae352 Added AUTO_MKDIRS as an alias for INSTALLATION_DIRS_FROM_PLIST. The
variable is much more comfortable than specifying all the directories in
INSTALLATION_DIRS that using such a long name for it feels like a
punishment. It also doesn't look nice in the package Makefiles, for
example:

old:
INSTALLATION_DIRS=	bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man8

new:
AUTO_MKDIRS=		yes

The variable INSTALLATION_DIRS_FROM_PLIST will be deprecated slowly.
2007-12-07 05:25:25 +00:00
rillig
2e6521f63c Print an understandable error message if the number of arguments for
CONF_FILES, CONF_FILES_PERMS, REQD_FILES, REQD_FILES_PERMS is wrong.

NB: The code doesn't read like "shift 5 || error_out" since NetBSD's
shell exits if a shift fails in this case, instead of just reporting an
error.

Fixes PR 37489.

I didn't fix the code in pkglint (which was suggested in the PR) since
it seems too complicated to me. There is no support for a
"MultipleShellWords" data type by now, and pkglint would have to know
that SETUID_ROOT_PERMS is of type "ThreeShellWords: Username, Groupname,
Filemode". That's too much work and doesn't look nicely.
2007-12-06 22:03:22 +00:00
tron
1f5e442207 Don't prefer "pkgsrc" versions of "MesaLib", "Xft2" etc. under
Mac OS X Leopard which ships with an uptodate version of X.org.
2007-12-05 21:38:06 +00:00
tron
66d2de41c9 Escape colons in preprocessor, compiler or linker flags while checking
their existances in other variables. This avoids parsing errors if
e.g. "BUILDLINK_LDFLAGS.<pkg>" contains a colon.
2007-12-05 21:36:43 +00:00