Commit graph

6487 commits

Author SHA1 Message Date
joerg
462c1fc51c Drop trailing components like -RELEASE for FreeBSD like we do for
DragonFly. This fixes the version number of lsof as side effect.
2007-07-17 09:20:18 +00:00
joerg
6890115248 Change default value of CREATE_WRKDIR_SYMLINK to no. In combination with
WRKOBJDIR, the pkgsrc tree is now read-only. Brought up multiple times
on tech-pkg and no major objection.
2007-07-16 20:51:07 +00:00
heinz
e37c99a149 Updated list of sourceforge mirrors according to
http://sourceforge.net/project/mirror_picker.php.
2007-07-15 09:53:38 +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
obache
01b24d20c2 No need to pass "." as directory, it is default value. 2007-07-14 05:51:11 +00:00
obache
1fcc9dd138 Allow empty DIST_SUBDIR, need to fix PR 35494. 2007-07-14 05:45:35 +00:00
joerg
34d85224d6 Don't cd to PREFIX, it might not exist yet. bin-install doesn't do
that either.
2007-07-13 14:42:53 +00:00
jlam
83f1c3afae * Add a user-settable variable to tune the default verbosity of the
+INSTALL and +DEINSTALL scripts:

  PKGINSTALL_VERBOSE
	A list of scriptlets that will be verbose and output a message
	noting the actions taken.

	* "all" is a special value that implies all of the other items
	* "fonts" for +FONTS
	* "info-files" for +INFO_FILES

	Default value: "all" for PKG_DEVELOPERs, empty otherwise.

* Be "one-liner brief" when doing the default actions.  For example,
  the info files output now looks like:

	gmake-3.81: registering info file /usr/pkg/info/make.info

  We retain the current verbosity for the CHECK-* actions.
2007-07-12 19:41:46 +00:00
jlam
13ed6251eb No longer pass install_sh in the environment to GNU configure scripts.
We fix GNU configure script stupidity by directly replacing the stock
install-sh script provided by the software with the BSD install-compatible
sysutils/install-sh script.

A new package-settable variable comes to life:

INSTALL_SH_OVERRIDE is a list of files relative to WRKSRC which
	should be overridden by the install-sh script from
	sysutils/install-sh.  If not defined or set to "no", then
	no files are overridden.

	Possible values: no, defined, undefined.

	Default value: defined when GNU_CONFIGURE is defined, undefined
	otherwise.

Get rid of the install_sh tool, which is no longer needed.
2007-07-12 18:59:15 +00:00
wiz
eb11b9e771 Describe flac, add wavpack, remove wcalc-gtk1 (not used, it seems). 2007-07-07 07:43:44 +00:00
rillig
9cb998d6e2 Fixed typos from the last commit. Clarified how ACCEPTABLE_LICENSES can
be set in mk.conf.
2007-07-06 01:22:40 +00:00
gdt
3b14447c8b Revise and expand discussion of variables. Avoid the phrase "the user
accepting the license"; that sounds too close to a contract issue.
Pkgsrc's license framework is merely about not building a package with
a license not on the ok list by accident, and is not intended to have
any contractual effects.

Split comment about 'package user" into separate concepts of
installing binary packages and running programs in packages.

Add XXX about how DEFAULT_ACCEPTABLE_LICENSES relates to the initial
value of ACCEPTABLE_LICENSES.
2007-07-05 18:16:47 +00:00
jlam
4390d56940 Make it easier to build and install packages "unprivileged", where
the owner of all installed files is a non-root user.  This change
affects most packages that require special users or groups by making
them use the specified unprivileged user and group instead.

(1) Add two new variables PKG_GROUPS_VARS and PKG_USERS_VARS to
    unprivileged.mk.  These two variables are lists of other bmake
    variables that define package-specific users and groups.  Packages
    that have user-settable variables for users and groups, e.g. apache
    and APACHE_{USER,GROUP}, courier-mta and COURIER_{USER,GROUP},
    etc., should list these variables in PKG_USERS_VARS and PKG_GROUPS_VARS
    so that unprivileged.mk can know to set them to ${UNPRIVILEGED_USER}
    and ${UNPRIVILEGED_GROUP}.

(2) Modify packages to use PKG_GROUPS_VARS and PKG_USERS_VARS.
2007-07-04 20:54:31 +00:00
wiz
73da25f40a + be@latin for libwnck. 2007-07-03 19:40:43 +00:00
joerg
e24209d145 Add common handling for libresolv similiar to dlopen(3) wrapping.
For now, DragonFly and FreeBSD use the libc version, it is not reentrant,
but thread-safe. NetBSD 3.0+ and Darwin 8.0+ use libresolv from base
(the BIND9 resolver), all other fall back to net/bind9. Feel free to add
your favorite platform if it has a thread-safe resolver in base.

Modify mail/libspf-alf, mail/milter-greylist, mail/spamdyke and
net/nocol accordingly. Testing on !DragonFly and feedback from tron@
2007-07-03 13:54:45 +00:00
rillig
ee68283218 Added a first draft for the licenses framework. 2007-07-03 05:08:12 +00:00
adrianp
2fb736a53a s/PRIVILEGED_STAGE/PRIVILEGED_STAGES/g as it could refer to multiple
stages in the future.  Suggested by rillig@
2007-07-02 20:24:27 +00:00
joerg
7525aa54e2 Don't special case mtree as tool. 2007-07-02 14:56:10 +00:00
joerg
409b183fc0 Remove USE_MTREE support. Keep one copy (the NetBSD version) for
the purpose of print-PLIST in plist/common-dirs.mtree.

Discussed with wiz@, no objections on tech-pkg@.
2007-07-02 14:54:09 +00:00
joerg
f1e659c224 DragonFly is ELF-only. Fix indentation. 2007-07-02 14:06:22 +00:00
joerg
94be767784 Remove RSH definition. 2007-07-02 14:03:34 +00:00
joerg
3d2f7cdfcc SSH_RSHPATH has been unused for ages, remove. 2007-07-02 14:02:06 +00:00
adrianp
99287730ab Introduce PRIVILEGED_STAGE.
This can currently only be set to 'clean' which will result in a
priveleged 'make clean' operation in case any package builds result
in files under ${WRKSRC} that are owned by root.

This is useful for certain packages e.g. python (on NetBSD) and ezm3
and possibly more.
2007-07-01 00:06:40 +00:00
joerg
4c6eff78c5 Don't use open-ended dependencies for emacs20 and emacs21 to avoid
the wrong version from being picked up by pkg_add or bin-install.

OK uebayasi@
2007-06-30 05:13:24 +00:00
uebayasi
6dca21bcf0 I forgot it's freeze, revert the previous for safety.
But actually, the default didn't change because EMACS_TYPE is set to
emacs21 in pkgsrc/mk/defaults/mk.conf.

I will clean up all Emacs Lisp packages to be emacs22-capable, then change
the default.
2007-06-30 05:04:41 +00:00
uebayasi
7d167f62c4 Now the recommended GNU Emacs version (pkgsrc/editors/emacs) is Emacs 22.
Depend & install it if users don't set EMACS_TYPE explicitly.
2007-06-30 04:42:45 +00:00
joerg
a83b9335ce OpenBSD is "special" as it doesn't have bzip2. 2007-06-25 10:53:21 +00:00
uebayasi
965f24b7d2 leim for Emacs 22 is always installed with the base. Nothing additional is
needed.
2007-06-21 13:20:59 +00:00
markd
0efad1146f EMACS_ETCPREFIX is documented as being substituted in PLIST's.
Make it so.
2007-06-20 11:40:22 +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
joerg
0c29048a15 Create IDENT variable by default. 2007-06-19 17:01:31 +00:00
joerg
93bf771184 Add bzip2 as tool. All platforms that had code to deal with bzcat
also get bzip2, the rest falls back to archivers/bzip2.

OK jlam.
2007-06-19 17:01:12 +00:00
joerg
f4ecc6bd31 Add ident as tool and use /usr/bin/ident on those platforms I know to
have it. Fallback to devel/rcs otherwise.

Commited during freeze as it is a dependency of pbulk.
2007-06-19 14:21:18 +00:00
dmcmahill
93768ceffe On the sed expression used to extract $NetBSD$ and $Id$ tags, add
a "^" to the beginning to anchor the expression.  No change in the ouput
but on SunOS-5.9 it runs up to 90,000 times faster on some files (probably
much less of an improvement on some, maybe more improvement on others).
Committed during the freeze as bulk builds that call 'make debug' were
unusable.
2007-06-19 13:11:01 +00:00
joerg
bc4f17e592 Change DragonFly to use modular Xorg by default. Haven't heard much bad
from users of the binary packages, so assume it works well enough.
2007-06-18 08:14:54 +00:00
rillig
a43d0cbe68 Changed the plain "mkdir" into ${MKDIR}, like in all the other cases.
Apparently, the tools directory isn't in the PATH at the point where
this code is executed.

Fixes PR 35487.
2007-06-18 07:33:34 +00:00
dmcmahill
f620dcb213 Use a package option to control the --enable-single-profile option for
mozilla browsers.  This is now useful again to those of use who require
multiple profiles.
2007-06-16 01:14:47 +00:00
wiz
e57a27b67c Fix PR 34139 for bulk builds too.
Patch from Sergey Svishchev.
2007-06-15 22:28:53 +00:00
jlam
c616c5fb10 On second thought, maybe the rest of the world's software isn't as
well-audited as NetBSD's /usr/bin/su.  Change the default
SETUID_ROOT_PERMS to 4511 to raise the bar slightly on finding
vulnerabilities in setuid-root binaries.
2007-06-15 22:04:33 +00:00
joerg
e3fe1108f0 Add msgconv to the gettext tools. 2007-06-15 17:11:33 +00:00
rillig
3a6deb3539 The option --prepare only generates the bulk build database. 2007-06-15 15:52:22 +00:00
rillig
3c335872b8 Added transformations for -R, -fPIC, -kPIC, -KPIC and -g3. 2007-06-15 15:34:31 +00:00
jlam
ac27702398 Change the default setuid-root permissions from 4711 to 4555. This
strips off the write bit for root and gets rid of the unnecessary lack
of read permissions for "group" and "other".  Inspired by /usr/bin/su
on NetBSD.
2007-06-15 14:46:02 +00:00
jlam
bfa6395385 Document PKG_SYSCONFDIR_PERMS, which has existed for quite some time. 2007-06-15 14:14:36 +00:00
rillig
0f21e6fc1c When a recursive make is run, stdin must be preserved. Otherwise su(1)
cannot ask for a password and fails. Patch provided by OBATA Akio in
http://mail-index.netbsd.org/pkgsrc-users/2007/04/23/0001.html
2007-06-15 10:39:08 +00:00
rillig
61b4964a9b Added the keyword "parallel" to the description of MAKE_JOBS_SAFE. 2007-06-13 20:34:48 +00:00
joerg
78dc1b95c3 gettext-tools was split off with version 0.14.5 of gettext,
so use either a newer version of the former or an older version
of the latter.
2007-06-13 14:21:47 +00:00
obache
7ca7b65ff4 Define some variables for using FETCH_CMD=wget. 2007-06-12 09:54:52 +00:00
markd
7f1ee5089b update locations of emacs 21 and emacs 22 packages. 2007-06-11 14:01:58 +00:00
obache
a22e60a21b Add two mirror servers for sourceforge.jp:
* IIJ
 * GLOBALBASE PROJECT
2007-06-11 08:17:54 +00:00