Commit graph

7063 commits

Author SHA1 Message Date
obache
c65cc35940 Introduce variable MECAB_CHARSET for default charset of MeCab.
close PR 38040.
2008-04-10 16:43:58 +00:00
jlam
c29cfa0def Add better support for small conditional parts of PLISTs.
PLIST_VARS is the list of names corresponding to automatic variables
generated by plist.mk to simplify having conditionally-present entries
in the PLIST.  If "var" is listed in PLIST_VARS, then the automatic
variable is named PLIST.var.  If PLIST.var is defined, then in the PLIST
generation, the ${PLIST.var} symbol is replaced with the empty string,
or "@comment " otherwise.
2008-04-08 20:52:15 +00:00
joerg
056616878d Prefer package-destdir as default for update with USE_DESTDIR. 2008-04-07 13:31:15 +00:00
joerg
eed07ff045 Simplify logic as audit-packages and download-vulnerabilities always
comes from pkg_install now.
2008-04-07 13:18:25 +00:00
joerg
5dae2194ab Sync with reality: audit-packages does exist, the vulnerability file
itself might not.
2008-04-07 13:16:26 +00:00
adrianp
8e7149e8cb Remove old comment - this now does call audit-packages directly 2008-04-05 16:59:10 +00:00
joerg
6c98d7f7d5 Change default DEPENDS_TARGET to package-install if USE_DESTDIR != no.
Discussed with jlam.
2008-04-04 21:28:51 +00:00
tnn
b8203e8cef Detect and use native bzip2(1) tool. 2008-04-04 15:49:18 +00:00
joerg
caa9b2eebf Move handling of pkg_install version into flavor. Add an explicit
phase pkg_install-depends before bootstrap-depends that just tries to
install a new pkg_install if the current version is too old. Still
keep it as bootstrap dependency for the bulk build code.
For NetBSD, PKG_TOOLS_BIN has to be computed in shell code due to a make
bug.

OK: jlam@
2008-04-03 14:07:51 +00:00
jlam
5c253acc19 + Skip mounting X11 directories if --without-x is specified.
+ Add a "chroot" option, stolen from pkg_comp(8) that starts a root
  shell with a better environment setup.
2008-04-01 16:30:19 +00:00
jlam
e0dde0f751 Add missing ] 2008-04-01 16:06:35 +00:00
tron
c287a90599 Document "via-padlock" option. 2008-03-26 20:09:56 +00:00
wiz
99933ce85b Re-add support for mysql-4.1 (but not 4.0). 2008-03-26 13:23:34 +00:00
wiz
a35121ac8e Remove outdated/non-existing mysql mirror sites. 2008-03-26 06:43:14 +00:00
wiz
2b36e90cfd Remove support for mysql-4.1 and mysql-4.0. Noted by seb@. 2008-03-26 06:22:49 +00:00
wiz
29f1f19b31 Remove suse-9.1 emulation packages.
They are long outdated and not maintained upstream.

Update infrastructure for their removal.

Removal was announced on pkgsrc-users on March 13.
2008-03-25 13:45:36 +00:00
wiz
c012d1c35c Remove blackdown-j{dk,re}13 and sun-j{dk,re}13.
Both have security problems and are not maintained.

Update infrastructure for their removal.

Removal was announced on pkgsrc-users on March 13.
2008-03-25 13:41:44 +00:00
agc
4a96928ff3 Fix from David Holland for PR 38134 - fix a typo which was causing
problems which manifested in "make update" failing.
2008-03-20 20:02:29 +00:00
joerg
1375bd1199 Remove remaining compat code for old pkg_install versions. 2008-03-15 16:27:42 +00:00
joerg
f1c6df3ba5 Require newer pkg_install for make README.html as well. 2008-03-15 16:17:43 +00:00
joerg
d69e33e15f Remove support for separate audit-packages, PKGTOOLS_REQD has been
bumped in the mean time.
2008-03-15 16:12:27 +00:00
joerg
2a7055907f Make PostgreSQL 8.2 the default version. Bump all packages using it.
Remove PostgreSQL 8.0 as choice.
2008-03-13 17:38:48 +00:00
jlam
77ce6ccc01 Invent new variable EXTRACTOR that has the environment and path to the
extract script.  This can be used in a more natural way by custom
do-extract targets than EXTRACT_CMD.
2008-03-12 15:51:39 +00:00
jlam
f08acff9a0 Fix whitespace 2008-03-12 15:48:21 +00:00
tnn
a8cb923909 Revert previous, /bin/ksh appears to be even worse than /bin/sh.
(Need to consider installing a sane shell as part of bootstrap.)
2008-03-11 17:50:14 +00:00
joerg
a783161f5f Explicitly "" around $1, so that e.g. csh-like expansion of {} doesn't
happen.
2008-03-11 17:44:03 +00:00
tnn
672f077f7a Use /bin/ksh instead of /bin/sh on HPUX.
/bin/sh, the "POSIX.2 compliant" shell, is FUBAR:
$ echo {a,b}
a b
2008-03-11 17:01:07 +00:00
jlam
be38a2caa6 Improve the detection of the library that contains the built-in termcap.
Instead of just looking at the libraries, we check for the headers as
well, and if multiple implementations exist (usually because of symlinks
to shared libraries), then we order the search as:

	tinfo, curses, termcap, termlib, c
2008-03-11 15:39:16 +00:00
joerg
053f4aa0ea Replace "pkg_admin -S lsbest" usage with pkg_info -E. The base stripping
in bsd.buildlink3.mk was broken with pkg_install-20080309 was it
returned a relative path. It would have failed before e.g. with symbolic
links in the path. pkg_info -E is simpler and was added exactly for this
purpose. Fixes PR 38213 and PR 38211.
2008-03-10 20:05:59 +00:00
adrianp
11e1d05e96 +ar(3) support for dkim-milter 2008-03-09 13:55:14 +00:00
joerg
630dcf7283 Enable USE_CHECK_SHLIBS_ELF by default on DragonFly and NetBSD. 2008-03-09 13:47:08 +00:00
joerg
f23c5a7e89 Add PKGVERSION_NOREV to complemenet PKGNAME_NOREV. 2008-03-08 14:28:05 +00:00
jlam
f9cbf56250 TERMCAP_TYPE isn't really a variable that you can set, so add it to
BUILD_DEFS_EFFECTS instead of BUILD_DEFS.
2008-03-05 17:38:58 +00:00
jlam
3a9a5fdff8 + Fix error in previous commit -- too much of the termcap buildlink
code was moved to the builtin.mk file.  The buildlink3.mk file should
  contain the bits that always apply to all packages that include it.
  The builtin.mk file should include the bits that only apply if
  "termcap" is listed in ${BUILDLINK_PACKAGES} (this isn't the case
  if we use curses to replace termcap).  As such, redistribute the
  code as follows:

    + Move the parts that remove -l options for terminal libraries we
      don't support, as well as for transforming "-ltermcap" into the
      appropriate libraries, from the builtin.mk back into the
      buildlink3.mk.

    + Leave the parts the remove -lcurses and -lncurses in the
      builtin.mk.  We can remove the ${TERMCAP_TYPE} == "curses" check
      since that part of the file is protected by CHECK_BUILTIN.termcap,
      so it should only be triggered if "termcap" is in BUILDLINK_PACKAGES,
      which only happens if ${TERMCAP_TYPE} isn't "curses".
2008-03-05 16:23:52 +00:00
jlam
5d2fb1d62c + Only remove -lcurses and -lncurses in BUILDLINK_TRANSFORM if the
package does not use either curses or ncurses.  We determine this
  by inspecting BUILDLINK_PACKAGES and looking for "curses" and
  "ncurses".

+ Because the above logic uses BUILDLINK_PACKAGES, the code must be
  moved from termcap.buildlink3.mk into termcap.builtin.mk where it
  is safe to inspect BUILDLINK_PACKAGES.
2008-03-05 07:10:26 +00:00
jlam
cfc5bf4458 If the TERMCAP_TYPE isn't "curses", then also remove "-lncurses" from
the command line so we don't find any system ncurses library.

XXX This currently causes problems with packages using both termcap
XXX (usually via readline) and curses.  This will be fixed in time.
2008-03-05 03:58:20 +00:00
adam
2f7d2aaf29 Added postgresql83 2008-03-04 12:50:25 +00:00
jlam
4e56d99aca Automatically add ${GAMES_USER} and ${GAMES_GROUP} to PKG_USERS and
PKG_GROUPS when SETGIDGAMES == yes.
2008-03-04 06:51:41 +00:00
jlam
26a6bb9ac4 + Conditionally add GAMES_USER and GAMES_GROUP to the platform *.mk
files.  These variables are currently usable if ${SETGIDGAME} == yes.
  These variables should be used when describing ownership of files
  and directories to the pkginstall framework, e.g.

	SPECIAL_PERMS=	bin/foogame ${GAMES_USER} ${GAMES_GROUP} 2555

+ Rename SETGID_GAME_PERMS to SETGID_GAMES_PERMS because the default
  group name is "games".

+ Define SETGID_GAMES_PERMS in terms of GAMES_USER and GAMES_GROUP so
  that these names are protected from the normal flow of unprivileged.mk.
  This fixes the +INSTALL scripts in "user-destdir" packages to
  correctly refer to the games:games instead of the user:group of the
  user that built the packages.
2008-03-04 06:45:33 +00:00
jlam
810c83eb14 Use ${GAMEMODE} and not hardcoded 2755. 2008-03-04 05:55:42 +00:00
jlam
80ac108053 Add SETGID_GAME_PERMS convenience definition that defaults to owner=game,
group=game, mode=0775.
2008-03-04 05:11:18 +00:00
bjs
8dca1a0b74 Add libssh2 option for security/libssh2. 2008-03-02 14:14:23 +00:00
wiz
39603de18e Describe lcms option. 2008-03-02 09:39:28 +00:00
jlam
9b49134ee1 + Teach buildlink3.mk to cause GNU configure script to not find any other
terminal library other than the one we specify.

+ Also look for "termlib" as some systems have that.  Note that we need to
  make the library search more sophisticated to work correctly on more
  exotic platforms.
2008-03-02 07:05:28 +00:00
obache
0b08f22259 Add gnome, kde and qt option. 2008-03-02 01:48:51 +00:00
obache
985a424f79 Add EMACS_LISPPREFIX handling to PRINT_PLIST_AWK. 2008-03-01 05:11:10 +00:00
jlam
9d8755394f Rename termlib.* to termcap.* to better document exactly what packages
are trying to use (the termcap t*() API).
2008-02-29 22:41:13 +00:00
jlam
1a25985362 Ensure that BUILDLINK_PREFIX.curses is always defined. 2008-02-29 16:29:04 +00:00
jlam
a58db16bf7 Ensure the BUILDLINK_PREFIX.termlib is always defined. 2008-02-29 16:28:51 +00:00
tnn
24f697ae48 Make chrpath(1) a tool. Intended scope is fixing up some Linux emulation
packages without having to do the LD_LIBRARY_PATH dance.
2008-02-29 00:23:09 +00:00