Commit graph

7352 commits

Author SHA1 Message Date
joerg
89be553c64 Fix copy&paste error resulting in duplicate .endif. 2009-03-22 18:10:27 +00:00
joerg
91ae4afc96 Rename MSGFMT_STRIP_MSGCTX to MSGFMT_STRIP_MSGCTXT to reflect what is
stripped. Allow the script to be used for pkgsrc msgfmt as well. Set
MSGFMT_STRIP_MSGCTXT automatically for msgfmt before 0.15.
2009-03-22 17:57:58 +00:00
joerg
39ad89fe70 MSGFMT_STRIP_* applies to both the native and the pkgsrc version, so
move the conditional block into the shared path.
2009-03-20 20:17:30 +00:00
joerg
a1a6399f39 Restore duplication check for _BLNK_PACKAGES that got lost with earlier
versions and was not fatal.
2009-03-20 20:10:15 +00:00
joerg
2d1ba244e9 Simply and speed up buildlink3.mk files and processing.
This changes the buildlink3.mk files to use an include guard for the
recursive include. The use of BUILDLINK_DEPTH, BUILDLINK_DEPENDS,
BUILDLINK_PACKAGES and BUILDLINK_ORDER is handled by a single new
variable BUILDLINK_TREE. Each buildlink3.mk file adds a pair of
enter/exit marker, which can be used to reconstruct the tree and
to determine first level includes. Avoiding := for large variables
(BUILDLINK_ORDER) speeds up parse time as += has linear complexity.
The include guard reduces system time by avoiding reading files over and
over again. For complex packages this reduces both %user and %sys time to
half of the former time.
2009-03-20 19:23:50 +00:00
joerg
7cb919b410 Skip vulnerability check for packages that set NO_PKGTOOLS_REQD_CHECK.
Set AUDIT_PACKAGES and friends correctly though. Fixes bootstrap on
platforms with pdksh.
2009-03-20 16:52:40 +00:00
joerg
490760d2f4 Only add dependency on the fetch program, if there is something to
fetch.
2009-03-20 16:23:48 +00:00
joerg
5f72a77f4a Refactor msgfmt.sh script to conditionally strip the msgid_plural for
old NetBSD versions and to strip msgctx if requested by the package.
This allows to replace the use of msgfmtstrip in various packages by
setting MSGFMT_STRIP_MSGCTX.
2009-03-20 16:13:02 +00:00
sno
6e4bd3d616 Add FreeBSD support
oked by tron@
2009-03-19 20:12:00 +00:00
rillig
b1bf3ebab8 Replaced _PKG_SILENT and _PKG_DEBUG with RUN. 2009-03-17 22:13:36 +00:00
rillig
6744d25ff3 Replaced _PKG_SILENT and _PKG_DEBUG with RUN. 2009-03-17 21:43:54 +00:00
rillig
68148ee242 Documented the public variables of this file. 2009-03-17 21:28:10 +00:00
tnn
d4a3178b42 revert previous 2009-03-17 17:58:49 +00:00
jmcneill
c146086c2a gamin isn't ready yet, so switch back to fam 2009-03-17 14:45:19 +00:00
joerg
37221332dd Move _SYS_VARS processing to a point where BUILDLINK_PACKAGES is
finalised.
2009-03-16 18:37:07 +00:00
tnn
a325778f62 Global FAM_DEFAULT is now acceptable, so no need to override it here. 2009-03-16 08:59:28 +00:00
jmcneill
59b2f48d13 Switch to gamin as the default FAM implementation. 2009-03-15 21:47:44 +00:00
joerg
e1659a7b56 Try to work around the mess called useradd on Linux. On Red Hat derived
distributions, useradd will create the home directory by default and
there is support for an option to disable that. Other Linux
distrubutions either lack the option in login.defs or the support for
-M. As workaround look for the option and if it is set, force -M.
Tested by Jens Rehsack. Addresses PR 40737.
2009-03-08 19:39:03 +00:00
tron
37539d5bc6 Describe "postfix-milter" and "sendmail-milter" options. 2009-03-08 15:57:13 +00:00
tron
dedef9d63a Fix cut and paste error. 2009-03-08 15:27:59 +00:00
joerg
3e9de36e25 make update might be called without having the package installed, so
check for the presence before trying to extract dependencies.
2009-03-07 19:36:31 +00:00
wiz
32e9d08dae Mention that kde4 option needs a pkgsrc-wip checkout. 2009-03-07 03:52:33 +00:00
tnn
b767667062 in fetch-list, skip packages that have INTERACTIVE_STAGE=fetch 2009-03-06 10:54:42 +00:00
joerg
5f28d6bebf Use pkg_info -r if present and fall back to pkg_delete for pkg_install
before 20090225. Intermediate versions get an explicit error.
The building of the recursive dependency was broken as the new
pkg_delete would stop without recursing and the target dependend on that
behavior. Reported by David Holland.
2009-03-05 23:07:15 +00:00
abs
5f554c32aa Initial definitions for FreeMiNT - also needs patches to pkgtools 2009-03-05 00:02:44 +00:00
joerg
c34aa7c321 Drop bogus per-architecture part of PACKAGES description. 2009-02-23 15:17:02 +00:00
adrianp
592a7fb689 +suhosin description 2009-02-22 23:41:12 +00:00
taca
67cdba1851 Add cjk and slp options. 2009-02-22 12:58:21 +00:00
joerg
de0beea014 Fix C&P error. Pointed out by OBATA Akio. 2009-02-17 10:42:45 +00:00
joerg
723fff56d9 Don't use :Q for the fetch argument lists. 2009-02-15 15:18:00 +00:00
asau
f3b9680094 Add MASTER_SITE_NETLIB to list Netlib and its mirrors.
Netlib is a collection of mathematical software, papers, and databases.
2009-02-15 14:31:52 +00:00
joerg
ddb0e17cb5 Don't use += to append to an empty variable. If PASSIVE_FTP is not
defined, it would still leave the variable with a non-empty value and
that would be passed down to the fetch command when running fetch-list.
2009-02-14 18:51:20 +00:00
joerg
8601a121bb package-install with DESTDIR should pass down -A as needed to get
automatic installed handling correct.
2009-02-13 11:30:07 +00:00
adrianp
4c7b488106 +jdbc-mysql{31,5} 2009-02-11 23:31:30 +00:00
joerg
2fcbca4813 Use pkg_admin for audit processing if pkg_install >= 20090201 is
installed.
2009-02-11 14:34:36 +00:00
jnemeth
8e2db99526 add db2 and tcpwrappers 2009-02-10 21:52:34 +00:00
joerg
1f5cd4138a Optionally request passive FTP for wget. 2009-02-10 19:25:09 +00:00
joerg
d02ad103b8 Change the way the fetch process is organised as proposed on tech-pkg:
- Introduce FETCH_USING, which specifies the mechanism to use; possible
  values are ftp, fetch, curl, wget, manual and custom.
- Depend on the correct tool/program if not using manual or custom.
- For manual, just use /usr/bin/false to bail out if a distfile is
  missing.
- For custom, FETCH_CMD and related variables are used as before.
- Default value is ftp.
2009-02-10 18:55:54 +00:00
wiz
f4d4d06ea1 Break out of fetch loop if cd to _DISTDIR fails.
From Anon Ymous.
2009-02-08 23:16:08 +00:00
joerg
4be66048ad Fix circular dependency detection for the case of non-leading circles.
For the dependency chain A->B->B the old code created:
_PKGSRC_DEPS=", B-1.0, A-1.0", which obviously can't match the PKGNAME
of B.
Skip the _flavor-bootstrap-depends processing if PKG_FAIL_REASON is
already set and move the check for circular dependencies right after the
block that defines PKGNAME and friends.
2009-02-06 15:27:00 +00:00
joerg
7b786c8fbd Drop tools/bootstrap.mk. It was mostly reundant as the bootstrap
components are correctly registered as dependencies. Move the remaining
two exceptions into the corresponding platform files.

XXX Both the strip and mkdir-sh are currently not registered
2009-02-05 19:03:29 +00:00
joerg
648c6c6e64 Don't skip the pax dependency. It has been registered as part of the
bootstrap for a long time. As it is no longer a bootstrap part, the
dependency is required.
2009-02-05 18:44:43 +00:00
adam
91d7dfcb90 Added svg option 2009-02-03 07:33:37 +00:00
joerg
6daf419fa5 Create users with -M. On Linux this gives the same behavior as NetBSD's
useradd without -M, e.g. allows creation of users without home
directory. Tested on RHEL4. From Jens Rehsack.
2009-02-02 19:54:22 +00:00
joerg
95f48dd452 Use system tbl if it exists. From Jens Rehsack. 2009-02-02 11:14:11 +00:00
shattered
7cbd658324 sysutils/memtestplus options were renamed a year ago (memtesplus-iso -> iso,
memtesplus-serialconsole -> serialconsole).  Document them.

OK by wiz@.
2009-01-29 17:34:29 +00:00
jmcneill
0a4dae9c26 Document the 'avahi' option. 2009-01-25 12:18:01 +00:00
obache
63e0edcb05 Update DLOPEN_REQUIRE_PTHREADS pattern again.
Even on NetBSD>=5, need to link pthread if using pthread_create()/join().
2009-01-23 14:21:38 +00:00
obache
b501344547 Mention to m17nlib, prime, uim-fep and xim options. 2009-01-23 13:52:58 +00:00
obache
b5f9ee16a8 Fixes DLOPEN_REQUIRE_PTHREADS patterns.
NetBSD-3 was lost by previous commit,
and NetBSD-5_BETA does not require pthread.
(TODO: 4.99.*...)
2009-01-23 13:07:25 +00:00