Commit graph

201 commits

Author SHA1 Message Date
obache
0d4dfe0488 emacs24 and emacs23nox is allowed for EMACS_TYPE. 2011-05-11 01:59:45 +00:00
spz
e17a6f70d6 fix up paths on ftp.NetBSD.org:
- reading through the null mounts is deprecated
- writing through the null mounts is not allowed (not possible)
2011-04-22 09:03:52 +00:00
obache
8ec4de210f Remove deprecated KTERM_USE_WALLPAPER. 2011-02-21 07:38:38 +00:00
spz
a781a1b538 stop majordomo from chowning /var/tmp to user majordom due to a superannuated
default in mk/defaults/mk.conf

remove the non-shared defaults and put in the setting that actually gets
used by more than one package (namely, MAJORDOMO_HOMEDIR)

don't make the majordom user own more than it actually needs to

make resend, archive, request-answer and medit honor the MAJORDOMO_CF
environment variable over the command line option, so that someone calling
these via the wrapper (which sets the environment variable) can't make
the majordom user execute random perl code by specifying it as config file.
Thanks to salo for finding this issue.
2011-01-29 17:16:32 +00:00
adam
0ecffcbca5 Removed PG_MB_ENCODING; not needed any more. 2010-12-25 08:51:41 +00:00
adam
a56ea99c57 Removed PGSQL_USE_HIER 2010-12-18 19:33:01 +00:00
chs
baed035a57 update comments about possible values of SUSE_PREFER. 2010-09-24 01:29:54 +00:00
wiz
d042d361da Fix typo in comment. 2010-08-24 20:44:22 +00:00
bad
89f715edf7 I'm fed up with having to waste time because PKG_DEVELOPER is "special" and
can't be disabled by setting it to "no" like the other variables.
Besides, flavor/pkg/metadata.mk has been expecting for a long time that "no"
is a valid value.

Make PKG_DEVELOPER DWIM.
2010-08-24 19:08:28 +00:00
dholland
4424b4c08b Begin cleanup of setgid game infrastructure.
* Introduce USE_GAMESGROUP, which causes the games user and group to
be made available.

 * Retain SETGIDGAME as an alias for USE_GAMESGROUP. Describe it as
deprecated.

 * Always define GAMES_USER, GAMES_GROUP, GAMEMODE, GAMEDIRMODE, and
GAMEDATAMODE, regardless of whether USE_GAMESGROUP is turned on or not.

 * Define these variables in defaults/mk.conf instead of separately in
every platform/*.mk file. The definitions used to be the same for each
of these platforms anyway, except for some where they were randomly
missing or commented out for no clear reason, leading to broken game
packages.

 * Handle all these variables properly when unprivileged.

 * Update the comments/documentation for these variables.

 * Describe GAMEOWN and GAMEGRP as deprecated. These need to be
retained as aliases for GAMES_USER and GAMES_GROUP respectively for
supporting packages that use bsd.*.mk but should otherwise not be
used.

 * Add GAMEDATA_PERMS and GAMEDIR_PERMS using GAMEDATAMODE and
GAMEDIRMODE respectively.

 * Fix a bug I noticed that was improperly mixing the "games" group
and "games" user.

Things this does *not* do:

 - get rid of GAMES_USER, for which there should ultimately be no need.

 - move the declaration/documentation/default value of USE_GAMESGROUP
to a suitable place. (It is currently where SETGIDGAME was, which is
suboptimal.)

 - touch any of the games, all of which need updating with at least
s/SETGIDGAME/USE_GAMESGROUP/ and probably more.

 - update the guide to explain how to handle games properly.

Also, it would be nice if using GAMES_GROUP without setting
USE_GAMESGROUP=yes caused an error but as far as I know there isn't
any particularly good way to arrange this right now.

Note that these changes may alter the build/install behavior of broken
game packages, e.g. some may silently become setgid when they weren't
before or things like that. If you run into any of this file a PR.

While one might arguably bump the PKGREVISION of all games or other
packages using any of these variables as a precaution, that seems like
a bad idea. Instead, I think I will be bumping each game once it
itself has been fixed up to do everything the right way.
2010-07-08 04:57:36 +00:00
wiz
3984577869 Clean up some obsolete Java stuff. 2010-06-08 19:04:09 +00:00
sbd
bf8faffa8c Change CUPS_GROUP to lp
Add CUPS_SYSTEM_GROUPS.
2010-05-24 03:29:09 +00:00
sbd
ee0144a2d1 Remove LSOF_MORE_SECURE and LSOF_LESS_SECURE_SOCKETS variables and add
option descriptions for lsof-more-secure and lsof-less-secure-sockets.
2010-04-30 06:57:35 +00:00
wiz
4be96d40a3 Refer to pkg_admin in AUDIT_PACKAGES_FLAGS description. Remove
DOWNLOAD_VULNERABILITY_LIST_FLAGS description, the variable is not used
except in the old bulk build code, which has its own config file.
2010-03-18 10:49:32 +00:00
joerg
0d6fef1741 Start removal of PKG_SUFX as option by making selection of compression
format a separate new option (PKG_COMPRESSION).
2010-02-09 23:02:13 +00:00
tron
bbf44b1044 Add support for X.org bundled with Mac OS X Snow Leopard. 2009-09-13 13:28:46 +00:00
minskim
70fbfdbc6e Let EMACS_TYPE support editors/emacs and editors/emacs-nox11 as
emacs23 and emacs23nox, respectively; editors/emacs is the default
one.
2009-08-05 22:14:28 +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
tron
dedef9d63a Fix cut and paste error. 2009-03-08 15:27:59 +00:00
joerg
c34aa7c321 Drop bogus per-architecture part of PACKAGES description. 2009-02-23 15:17:02 +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
rillig
2116a707f4 Removed lots of unreachable mirrors. 2008-11-29 13:38:52 +00:00
tron
5c5c5972bf Improvements for the "mediatomb" package:
1.) Create a user and group "mediatomb" for running the server to restrict
    the files which can be accessed.
2.) Add a startup script to start the server automatically.

Bump package revision because of these fixes. Changes approved by
Alistair Crooks.
2008-11-03 18:58:53 +00:00
tron
b736e67170 Prefer "pixman" package from "pkgsrc" under Mac OS X Leopard. The builtin
version is already too old for the "cairo" package.
2008-10-17 13:05:05 +00:00
cube
403e256ff6 Merge cube-native-xorg, so that pkgsrc-current can be used with the native
X.Org found in NetBSD-current.

Thanks a lot to all who helped, especially Matthias Scheler who did
repeated tests on Mac OS X and older versions of NetBSD to make sure the
support for those platforms wouldn't be broken (or at least, not fatally,
as I would still expect a few hiccups here and there, because there is
only so much one can test in such limited time).

On the infrastructure side, this branch brings pkgconfig-builtin.mk, in
order to write very easily new builtin.mk files.  It can actually handle
more than just pkgconfig files, but it will provide a version if it finds
such a file.  x11.builtin.mk has also been made more useful and now all
existing (and future!) native-X11-related builtin.mk files should include
it.
2008-10-05 21:36:32 +00:00
joerg
4a202fc0c8 Add ftp as tool. On NetBSD and DragonFly, this will use the system
version of tnftp, otherwise it will use net/tnftp. Require ftp as
bootstrap dependency when the package has files to fetch.

The dependency is currently unconditional and FETCH_CMD is set to
TOOLS_PATH.ftp by default.
2008-05-22 20:11:55 +00:00
tnn
b4c16a4282 undocument USE_INET6 2008-05-22 15:51:35 +00:00
obache
c65cc35940 Introduce variable MECAB_CHARSET for default charset of MeCab.
close PR 38040.
2008-04-10 16:43:58 +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
joerg
1375bd1199 Remove remaining compat code for old pkg_install versions. 2008-03-15 16:27:42 +00:00
tnn
a970f2bc58 Provide a mechanism for enabling use of pkgtools/posix_headers. 2008-01-16 03:16:39 +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
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
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
seb
40ba22b280 Bump PKGREVISION to 4.
As proposed on pkgsrc-users@...

- Introduce NAGIOSDIR, defaults to VARBASE/spool/nagios, for log
and status files.

- Drop unused(?) 'nagadmin' user and group.

- Sync user and group handling with Nagios install
documentation/recommendations. Introduce the Nagios "external
command" group, NAGIOSCMD_GROUP, defaults to APACHE_GROUP. The
Nagios user should be manually added after package installation to
the NAGIOSCMD_GROUP group. Add this recommandation to the MESSAGE
file. Make the "external command directory", NAGIOSDIR/rw, owned
by NAGIOS_USER:NAGIOSCMD_GROUP.

- Use /var/run/nagios.lock as pidfile.

- Only install existing example configuration files.

- Put default values of NAGIOSDIR, NAGIOS_USER, NAGIOS_GROUP and
NAGIOSCMD_GROUP in mk/defaults/mk.conf and allow MAKECONF to
override them.

- Miscellaneous clean up and sync with the changes mentionned above.

- When deleting the package allow removal of directories shared
with other Nagios packages to fail.
2007-11-26 22:14:13 +00:00
uebayasi
ce502a864c Change the default EMACS_TYPE to emacs22. Suggested on tech-pkg, no objections
for one week.
2007-11-04 23:53:44 +00:00
obache
260d826ba3 Recent flash player is not compatible with netscape navigator/communicator
as reported in PR 29620 and compatible version have unresolved security issues.
Drop dependency on ns-flash and remove NS_NO_FLASH variable.

Bump PKGREVISION of navigator/communicator.
2007-10-27 13:35:26 +00:00
martti
bd986edbc7 Remove trailing spaces. 2007-10-09 19:19:08 +00:00
rillig
e32f6e30d6 Provided some reason for having PKGMANDIR and PKGINFODIR. And, by the
way, MANINSTALL isn't user-settable.
2007-10-09 14:31:31 +00:00
rillig
51806895cd The mentioned manpages are useless for understanding this file. 2007-09-30 11:23:08 +00:00
jlam
07dd3147c6 Convert packages that test and use USE_INET6 to use the options framework
and to support the "inet6" option instead.

Remaining usage of USE_INET6 was solely for the benefit of the scripts
that generate the README.html files.  Replace:

	BUILD_DEFS+=	USE_INET6
with
	BUILD_DEFS+=	IPV6_READY

and teach the README-generation tools to look for that instead.

This nukes USE_INET6 from pkgsrc proper.  We leave a tiny bit of code
to continue to support USE_INET6 for pkgsrc-wip until it has been nuked
from there as well.
2007-09-07 22:12:10 +00:00
joerg
e09f68cb6b Remove infrastructure side of Xorg 6.9 support. Begin to simplify
some of the cases of X11_TYPE usage -- it will stay with modular|native,
so don't bother with keeping the separation in the tool list.
2007-08-17 20:27:30 +00:00
jlam
9999f553d9 Drop EMACS_USE_POP, EMACS_USE_X and EMACS_USE_X_TOOLKIT from the
default variable settings.  These are now handled directly by the
editors/emacs20 package via the options framework.
2007-08-14 19:04:56 +00:00
joerg
29777c8ec5 Begin adding some of the basic, non-intrusive pieces of the
cross-compile support.

- NATIVE_MACHINE_GNU_ARCH, NATIVE_LOWER_ARCH, NATIVE_MACHINE_ARCH,
  NATIVE_MACHINE_PLATFORM and NATIVE_MACHINE_GNU_PLATFORM work
  like the counterpars without NATIVE_ prefix. Expansion of
  NATIVE_LOWER_ARCH and NATIVE_MACHINE_ARCH is enforced early,
  so that MACHINE_ARCH can be overriden in mk.conf to specify the
  target architecture.
- Provide a default of NO for USE_CROSS_COMPILE. This will be the
  main switch to activate cross-compiling and adding it now makes
  it possible to merge more of the patches for specific packages.
- Set --build and --host when cross-compiling, the former using the
  just added variable NATIVE_MACHINE_GNU_PLATFORM.

Supported-by: Google SoC 2007
Looks good: jlam@
2007-08-01 16:14:17 +00:00
adrianp
9b5c38d79d Add support for the upcoming pkg_install-20070714 which now includes
audit-packages.
2007-07-14 17:17:45 +00:00
joerg
3d2f7cdfcc SSH_RSHPATH has been unused for ages, remove. 2007-07-02 14:02:06 +00:00
jlam
1a6fb589c8 Move common definitions of UUCP_{GROUP,USER} from mail/courier-mta and
net/uucp to mk/defaults/mk.conf.
2007-06-19 21:29:09 +00:00
wiz
09ac7dcbaa Add defaults for mail/mailagent. 2007-03-01 18:03:02 +00:00
schmonz
503a481527 Define RELAY_CTRL_DIR, the directory for relay-ctrl's database. 2007-02-28 14:13:33 +00:00