Commit graph

269 commits

Author SHA1 Message Date
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
gdt
e8300a2db9 add MAKE_JOBS_SAFE=no 2007-07-02 19:21:14 +00:00
wiz
5d4498b5fc PKGREVISION bump for db4 shlib name change. 2007-06-08 12:24:59 +00:00
wiz
601583c320 Whitespace cleanup, courtesy of pkglint.
Patch provided by Sergey Svishchev in private mail.
2007-02-22 19:26:05 +00:00
joerg
044cff0902 Modular Xorg support. 2007-02-02 00:55:15 +00:00
joerg
a0cfb36ebb Modular Xorg support. 2007-02-02 00:34:13 +00:00
markd
d4a5713e6d Fix linkage of some support programs. Bump PKGREVISION. 2007-01-25 19:46:55 +00:00
epg
e4f20d343c devel/apr:
Update to 1.2.8 (formerly in devel/apr1), no longer build from the
    httpd distfile.

devel/rapidsvn:
devel/subversion-base:
parallel/ganglia-monitor-core:
security/hydra:
www/apache2:
    Use devel/apr0.

www/apache22:
    Use devel/apr and devel/apr-util.
2007-01-24 19:46:45 +00:00
joerg
422c673bbd Modular Xorg support. 2007-01-14 09:03:09 +00:00
dmcmahill
a7c8fd0ddf use ssh for X86SOL2 and DRAGONFLY for the rsh command to make these two
behave the same as all of the platforms.  Bump pkgrevision to take us to
pvm-3.4.5nb3.
2007-01-09 02:22:03 +00:00
rillig
be6182c0b7 Fixed PKGMANDIR and minor file permissions. 2007-01-07 12:02:43 +00:00
rillig
2829e658f2 Mechanically replaced man/* with ${PKGMANDIR}/* in the definition of
INSTALLATION_DIRS, as well as all occurrences of ${PREFIX}/man with
${PREFIX}/${PKGMANDIR}.

Fixes PR 35265, although I did not use the patch provided therein.
2007-01-07 09:13:46 +00:00
obache
d745dd4de7 Fix HOMEPAGE.
On August 25, 2006, MCS began revamping its web presence.
2006-12-22 13:24:16 +00:00
joerg
58c3144236 Mechanically replace all includes of buildlink3.mk of the following
packages with the modular Xorg equivalent. Those are falling back
to the old location by default, so this commmit doesn't change
dependencies.

graphics/xpm ==> x11/libXpm
fonts/Xft2 ==> x11/libXft
x11/Xfixes ==> x11/libXfixes
x11/xcursor ==> x11/libXcursor
x11/Xrender ==> x11/libXrender
x11/Xrandr ==> libXrandr
2006-12-15 20:32:52 +00:00
wiz
2acadb84af Fix build with gcc4, based on suggestions by Hans Rosenfeld on tech-pkg.
While here: remove some extra spaces and use PKGMANDIR.
2006-12-12 19:29:13 +00:00
markd
506b55b12d Note that the fetch stage is interactive. 2006-10-21 20:25:21 +00:00
markd
851f36eaef Update sge to 6.0.8.
Several years worth of bug fixes and features.
2006-10-19 11:51:27 +00:00
wiz
b6160330f7 Update MASTER_SITES and/or HOMEPAGE, from Sergey Svishchev. 2006-10-04 21:53:15 +00:00
ghen
141b61cbd1 clusterit uses GNU configure. 2006-08-28 07:47:55 +00:00
wiz
f0e9215d12 MASTER_SITES entry is now password protected, comment it out. 2006-08-23 18:47:27 +00:00
kristerw
45b86b6c25 Reomove BROKEN_IN for packages that built in the latest
NetBSD 3.0_STABLE/i386 bulk build.
2006-08-06 05:16:50 +00:00
rillig
99efcfdd7a Added PVM_SSH to BUILD_DEFS and removed the code that has been
duplicated from mk/defaults/mk.conf. Added "c" to USE_LANGUAGES, since
this package needs a C compiler, too. Bumped PKGREVISION.
2006-07-18 20:57:31 +00:00
jlam
c16221a4db Change the format of BUILDLINK_ORDER to contain depth information as well,
and add a new helper target and script, "show-buildlink3", that outputs
a listing of the buildlink3.mk files included as well as the depth at
which they are included.

For example, "make show-buildlink3" in fonts/Xft2 displays:

	zlib
	fontconfig
	    iconv
	    zlib
	    freetype2
	    expat
	freetype2
	Xrender
	    renderproto
2006-07-08 23:10:35 +00:00
jlam
9430e49307 Track information in a new variable BUILDLINK_ORDER that informs us
of the order in which buildlink3.mk files are (recursively) included
by a package Makefile.
2006-07-08 22:38:58 +00:00
jlam
3ba41e8b0c Drop use of INSTALL_SRC and DEINSTALL_SRC and instead set the proper
variables so that the default INSTALL/DEINSTALL scripts from the
pkginstall framework do the right thing.  Where possible, move some
post-install directions for package setup into MESSAGE files so that
they may be re-inspected by querying the installed package using
"pkg_info -D ...".
2006-07-05 06:53:12 +00:00
joerg
74c3215226 Include examples in PLIST. Bump revision. 2006-06-16 14:15:15 +00:00
joerg
e2f8ffeeca Also set _PVM_OPSYS for Solaris/x86. From Gilles Dauphin in PR 33730. 2006-06-15 15:32:35 +00:00
joerg
f9ae9acc6e Fix build with GNU make 3.81. Improve some Solaris/x86 flags.
From Gilles Dauphin in PR 33730.
2006-06-14 16:57:52 +00:00
joerg
075f6d5d1d Use config.* from pkgrsc.
Add DragonFly support.
Fix errno usage.
Force traditional cpp for Makefile generation.
2006-06-04 12:57:11 +00:00
rillig
82a2942aab USE_TOOLS+=gmake, since the package complained about a missing gmake in
a recent bulk build.
2006-05-21 13:04:10 +00:00
wiz
991dcdf978 Mark as BROKEN_IN pkgsrc-2006Q1 according to
ftp://ftp.NetBSD.org/pub/pkgsrc/misc/kristerw/pkgstat/i386-3.0/20060501.1050/broken.html
2006-05-18 20:29:58 +00:00
joerg
73bb80dd81 Also include protofix.h in PLIST. Bump revision. 2006-05-18 14:26:48 +00:00
joerg
5285bddaa9 First step into making mpi-ch fully work with CHECK_FILES.
Also annotate use of C++ and Fortran. Bump revision.
2006-05-16 22:01:18 +00:00
joerg
5c485413e2 - uses GNU_CONFIGURE, change overrides to handle all subdirectories.
- uses libtool
- add DragonFly support
- use pkgsrc expat and apr
- bump revision
2006-04-30 22:28:44 +00:00
jlam
802ce74fcb Modify packages that set PKG_USERS and PKG_GROUPS to follow the new
syntax as specified in pkgsrc/mk/install/bsd.pkginstall.mk:1.47.
2006-04-23 00:12:35 +00:00
wiz
02f8f7c52d Bump BUILDLINK_ABI_DEPENDS.png and PKGREVISION for png-1.2.9nb2 update. 2006-04-17 13:45:57 +00:00
rillig
bd2cff67a2 Fixed pkglint warnings. The documentation files are installed in
share/doc instead of share/doc/html. Bumped PKGREVISION.
2006-04-13 01:20:32 +00:00
rillig
96fc47c14f Aligned the last line of the buildlink3.mk files with the first line, so
that they look nicer.
2006-04-12 10:26:59 +00:00
reed
5abef9be14 Over 1200 files touched but no revisions bumped :)
RECOMMENDED is removed. It becomes ABI_DEPENDS.

BUILDLINK_RECOMMENDED.foo becomes BUILDLINK_ABI_DEPENDS.foo.

BUILDLINK_DEPENDS.foo becomes BUILDLINK_API_DEPENDS.foo.

BUILDLINK_DEPENDS does not change.

IGNORE_RECOMMENDED (which defaulted to "no") becomes USE_ABI_DEPENDS
which defaults to "yes".

Added to obsolete.mk checking for IGNORE_RECOMMENDED.

I did not manually go through and fix any aesthetic tab/spacing issues.

I have tested the above patch on DragonFly building and packaging
subversion and pkglint and their many dependencies.

I have also tested USE_ABI_DEPENDS=no on my NetBSD workstation (where I
have used IGNORE_RECOMMENDED for a long time). I have been an active user
of IGNORE_RECOMMENDED since it was available.

As suggested, I removed the documentation sentences suggesting bumping for
"security" issues.

As discussed on tech-pkg.

I will commit to revbump, pkglint, pkg_install, createbuildlink separately.

Note that if you use wip, it will fail!  I will commit to pkgsrc-wip
later (within day).
2006-04-06 06:21:32 +00:00
kristerw
32928b1928 Do not use ${INSTALL} to copy files into ${WRKSRC} -- this is wrong for
e.g. NetBSD 1.6 whose /usr/bin/install does not set -c by default.

${CP} is much better if you just want to copy a file...
2006-03-18 18:38:36 +00:00
jlam
daad0f3d6c Modify the pkginstall framework so that it manages all aspects of
INSTALL/DEINSTALL script creation within pkgsrc.

If an INSTALL or DEINSTALL script is found in the package directory,
it is automatically used as a template for the pkginstall-generated
scripts.  If instead, they should be used simply as the full scripts,
then the package Makefile should set INSTALL_SRC or DEINSTALL_SRC
explicitly, e.g.:

	INSTALL_SRC=	${PKGDIR}/INSTALL
	DEINSTALL_SRC=	# emtpy

As part of the restructuring of the pkginstall framework internals,
we now *always* generate temporary INSTALL or DEINSTALL scripts.  By
comparing these temporary scripts with minimal INSTALL/DEINSTALL
scripts formed from only the base templates, we determine whether or
not the INSTALL/DEINSTALL scripts are actually needed by the package
(see the generate-install-scripts target in bsd.pkginstall.mk).

In addition, more variables in the framework have been made private.
The *_EXTRA_TMPL variables have been renamed to *_TEMPLATE, which are
more sensible names given the very few exported variables in this
framework.  The only public variables relating to the templates are:

	INSTALL_SRC		INSTALL_TEMPLATE
	DEINSTALL_SRC		DEINSTALL_TEMPLATE
				HEADER_TEMPLATE

The packages in pkgsrc have been modified to reflect the changes in
the pkginstall framework.
2006-03-14 01:14:26 +00:00
joerg
b147230967 Add DragonFly support. 2006-03-14 01:10:49 +00:00
ghen
a527d84ce0 Convert all packages using REPLACE_INTERPRETER to the new variable names
without underscores (REPLACE.*.old, REPLACE.*.new, and REPLACE_FILES.*).

Also convert REPLACE.*.new= ${SH:Q} back to ${SH}, as it should not be quoted
here, if at all.

Ok with rillig.
2006-03-11 10:07:49 +00:00
jlam
9c8b5ede43 Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where no
developer is officially maintaining the package.

The rationale for changing this from "tech-pkg" to "pkgsrc-users" is
that it implies that any user can try to maintain the package (by
submitting patches to the mailing list).  Since the folks most likely
to care about the package are the folks that want to use it or are
already using it, this would leverage the energy of users who aren't
developers.
2006-03-04 21:28:51 +00:00
kristerw
fd10de3100 Regen so that the MacOS X patch program can apply it. 2006-03-03 18:57:25 +00:00
joerg
19baec23e4 Update two patches and regenerate the distinfo entries for the rest. 2006-02-16 20:43:41 +00:00
joerg
5911def816 Recursive revision bump / recommended bump for gettext ABI change. 2006-02-05 23:08:03 +00:00
garbled
2992fd8d30 Update ClusterIt to 2.4. Changes are mostly bugfixes, and a few minor
feature enhancements.
2006-02-01 19:26:47 +00:00
joerg
27c42e0d7e Add DragonFly support. Fix errno. 2006-01-27 16:34:36 +00:00
joerg
8515e1d83a Fix errno. 2006-01-02 22:51:45 +00:00