Commit graph

6931 commits

Author SHA1 Message Date
obache
2d70679191 Mirror site of sourceforge.jp, keihanna and globalbase come back. 2008-01-21 02:15:45 +00:00
rillig
f6a6d83987 Explained the evolution of mount(2) in NetBSD and how to deal with it. 2008-01-19 23:00:49 +00:00
rillig
9eea97260c Renamed some *.mk files to *.help, since they only contain comments. 2008-01-19 22:41:47 +00:00
rillig
99d04d6d77 Added a file where difficulties using specific C functions can be
documented. The first one is mremap(), since its prototype differs
between Linux and NetBSD.
2008-01-19 22:37:47 +00:00
tnn
581cb17df9 remove lang/scsl-* related bits. 2008-01-19 05:04:00 +00:00
obache
f662b3ce15 Default value of EMACS_TYPE is now emacs22.
Noticed by ISIHARA Takanori in PR 37754.
2008-01-18 13:50:44 +00:00
rillig
884f21f398 If the package doesn't provide a SUBST_MESSAGE, generate a default one.
This way, file modifications cannot go unnoticed and at least appear in
the build logs. While here, fixed an ambiguity in the description of
SUBST_MESSAGE.
2008-01-18 11:26:11 +00:00
rillig
212334d5a8 Don't rely on file(1) to distinguish text files from binary files. This
has proven too unreliable in the past. For example, some Makefile.in
files were classified as "Quake I or II world or extension", just
because they happen to start with the letters "PACK". This method was
also subject to subtle differences in the locale.

The new method counts the number of NUL bytes in the file. It does not
depend on the locale settings. The -c option of wc(1) counts bytes, not
characters, and tr(1), which may interpret multibyte sequences, is
protected by LC_ALL. It should also work with the historical
implementations of tr(1) that could not handle NUL bytes and discarded
them, since this is exactly the intention.

See also:
* http://mail-index.netbsd.org/tech-pkg/2006/07/05/0000.html
* PR 37793
2008-01-18 11:16:08 +00:00
rillig
494c8050fe Replaced _PKG_SILENT and _PKG_DEBUG with RUN. 2008-01-18 10:41:05 +00:00
joerg
daa4ab9470 Make the default rpath for USE_CHECK_SHLIBS_ELF a platform variable.
Define the values for NetBSD and DragonFly.
2008-01-16 14:03:31 +00:00
tnn
a970f2bc58 Provide a mechanism for enabling use of pkgtools/posix_headers. 2008-01-16 03:16:39 +00:00
tnn
3923838b90 Delete comment about bmake not accepting .SHELL, that PR was fixed long
ago ...
XXX: I would enable /bin/ksh as bmake's default shell but it fails on
one of the bmake unit tests. Will need to figure out why ...
Maybe some day we can provide a posixly correct shell as part
of the bootstrap process.
2008-01-16 03:09:48 +00:00
joerg
813288f511 pkg_install 20070802 is good enough, don't be overly aggressive. 2008-01-16 01:01:26 +00:00
tnn
2741fbbdb4 Default to modular X.org on HPUX, since native X11 is old/broken and
X11 headers are not bundled with the operating system.
2008-01-15 22:37:49 +00:00
joerg
4291045502 Print _USE_DESTDIR as USE_DESTDIR from pbulk-index. 2008-01-15 22:04:57 +00:00
tnn
ddfd411544 Always tell the C++ compiler that we want support for ANSI C++ features
like namespace std enabled.
2008-01-15 10:08:18 +00:00
tnn
17f6f25e3a Make setenv(3) a libnbcompat-provided feature. 2008-01-14 23:06:26 +00:00
ghen
0de998b38d Document "postfix-stress" option. 2008-01-14 13:30:03 +00:00
tnn
51ea1914a1 remove makedepend hack 2008-01-14 08:03:47 +00:00
tnn
660c2052df Don't provide a redundant CPP definition 2008-01-14 05:50:38 +00:00
adrianp
045f83863c Bump PKGTOOLS_REQD to 20071224 so everyone still has the functionality
that used to be in security/audit-packages.
2008-01-13 20:23:18 +00:00
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