Commit graph

15 commits

Author SHA1 Message Date
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
jmcneill
ea4f69e5ff to netbsd-desktop 2009-03-18 13:30:45 +00:00
abs
19324eaea7 Ensure various directories and a file are created in /var so the package
can work - bump pkgrevision
2009-03-12 22:25:30 +00:00
joerg
bf590eb712 Always kill --as-needed, it is known to break Solaris as well and has
created various interesting issues on other platforms as well.
From PR 40016.
2009-03-05 14:17:46 +00:00
sketch
77f91ca050 The Solaris support in this package only works on OpenSolaris. Allow it to
build (although likely not work) on Solaris too.
2009-01-20 10:08:17 +00:00
jmcneill
31b608fb35 PR# pkg/40146: security/policykit fails to build on Linux 2008-12-21 13:57:29 +00:00
jmcneill
c6e16fabba PR# pkg/40230: "libvolume_id" doesn't build under Mac OS X
Fix PolicyKit build on OSX.
2008-12-20 19:44:00 +00:00
rillig
069677a7b2 gcc complains when an int is cast to a pointer of different size. To
avoid that warning, the ints are first cast to size_t, which is more
likely to match the size of a pointer. Unfortunately, the intptr_t and
uintptr_t types are marked optional in C99.
2008-12-15 15:06:43 +00:00
hasso
fb4dee82ac * Use PolicyKit.conf.NetBSD on DragonFly as well
* DESTDIR support
* Bump PKGREVISION
2008-11-26 08:22:24 +00:00
wiz
1f47f57008 Add missing build dependencies on libxslt and docbook-xsl, for creating
the man pages. No PKGREVISION bump because package didn't package.
2008-11-24 14:50:43 +00:00
jmcneill
617b5b4c10 From FreeBSD:
Fix a problem with PK's strndup() implementation assuming all strings
passed to it would be NUL-terminated.  This is known to fix crashes with
polkit-gnome-authorization and clock-applet.
2008-11-23 22:28:23 +00:00
hasso
50bd093c85 * Make it compile in DragonFly
* Fix permissions of suid/sgid binaries
* Bump PKGREVISION
2008-11-23 21:21:43 +00:00
jmcneill
7220d360cc On NetBSD, install a default policy that allows password-less authentication
for root, password authentication for users in group wheel, and deny access
to all others.
2008-11-23 02:00:48 +00:00
jmcneill
6cd59fc039 Add a MESSAGE explaining that procfs is required for policykit 2008-11-22 03:55:53 +00:00
jmcneill
33380d61b2 Import policykit version 0.9.
PolicyKit is an application-level toolkit for defining and handling the
policy that allows unprivileged processes to speak to privileged processes:
It is a framework for centralizing the decision making process with respect
to granting access to privileged operations for unprivileged applications.
PolicyKit is specifically targeting applications in rich desktop environments
on multi-user UNIX-like operating systems. It does not imply or rely on any
exotic kernel features.
2008-11-22 03:33:38 +00:00