Update to 0.4.5. Add comments to patches.
==============
Version 0.4.4
==============
* systemd fixes (Lennart Poettering)
==============
Version 0.4.3
==============
* Revert VT_WAITEVENT usage, since it is racy (Lennart Poettering)
* systemd fixes (Lennart Poettering)
==============
Version 0.4.2
==============
* Ensure we only care for seat files ending in .seat (William Jon McCann)
* Various Solaris improvements (Halton Huo)
* Make build silent (Ray Strode)
* Don't take bus name until ready (Ray Strode)
* systemd hookup (Lennart Poettering)
* add --since option to ck-history (William Jon McCann)
* Reduce number of threads on Linux (Kan-Ru Chen)
* Other fixes (Anders Kaseor, Frederic Crozat, Matthias Clasen, Michael Biebl, William Jon McCann)
==============
Version 0.4.1
==============
* Fix a crasher (William Jon McCann)
* fix a small memory leak (Matthias Clasen)
* update email address (William Jon McCann)
==============
Version 0.4.0
==============
* Starting with this release we will not do session.d/ 'session_active_changed' callouts anymore. (Lennart Poettering)
* get rid of session.d's session_active_changed callout (Lennart Poettering)
* close file descriptors before exit func (Halton Huo)
* log the kernel release and boot arguments at start time (William Jon McCann)
* show display in host field if the host isn't set (William Jon McCann)
* print the uptime for the reboot items in the report (William Jon McCann)
* fix logic for finding session remove events (William Jon McCann)
* fix a few small leaks (William Jon McCann)
* Add seat.d/ callout directory and guarantee we dump the database before call
* database: write the console database to disk before signalling via dbus (Len
* Enforce that the env array has the right size (Lennart Poettering)
* when printing size_t use %z format string (Lennart Poettering)
* make CK database world readable (Lennart Poettering)
* get rid of ck_seat_set_active_session() prototype since no such function exi
* Move ck_session_run_programs() from ck-run-programs.h to ck-session.h (Lenna
* post release version bump (Ray Strode)
==============
Version 0.3.1
==============
* port to PolicyKit 1.0 (Matthias Clasen)
* D-Bus policy updates (Colin Walters, Martin Pitt, Vincent Untz, William Jon McCann)
* better diagnostic information for unimplemented backends (Daniel Macks)
* file monitoring fixes (James Westby)
* get VT from X display if no controlling tty is available (Ray Strode)
* add "nox11" option to PAM module (Martin Pitt)
* parse log entries with no body correctly (William Jon McCann)
* fix zero-sized struct/unions (William Jon McCann)
* solaris build fixes (Halton Huo)
* parse gecos field for real name (William Jon McCann)
* leak fixes (James Westby, Steve Langasek)
* compile warning fixes (Matthias Clasen)
* fix doc xml validation errors (William Jon McCann)
* fix doc generation when srcdir != builddir (Ray Strode)
* add example upstart events for logging (William Jon McCann, Ray Strode)
* fix ChangeLog generation script to work with git-log moved to libexecdir (Ray Strode)
2014-08-17 17:59:07 +02:00
|
|
|
# $NetBSD: Makefile,v 1.25 2014/08/17 15:59:07 wiz Exp $
|
2008-11-22 04:32:22 +01:00
|
|
|
|
Update to 0.4.5. Add comments to patches.
==============
Version 0.4.4
==============
* systemd fixes (Lennart Poettering)
==============
Version 0.4.3
==============
* Revert VT_WAITEVENT usage, since it is racy (Lennart Poettering)
* systemd fixes (Lennart Poettering)
==============
Version 0.4.2
==============
* Ensure we only care for seat files ending in .seat (William Jon McCann)
* Various Solaris improvements (Halton Huo)
* Make build silent (Ray Strode)
* Don't take bus name until ready (Ray Strode)
* systemd hookup (Lennart Poettering)
* add --since option to ck-history (William Jon McCann)
* Reduce number of threads on Linux (Kan-Ru Chen)
* Other fixes (Anders Kaseor, Frederic Crozat, Matthias Clasen, Michael Biebl, William Jon McCann)
==============
Version 0.4.1
==============
* Fix a crasher (William Jon McCann)
* fix a small memory leak (Matthias Clasen)
* update email address (William Jon McCann)
==============
Version 0.4.0
==============
* Starting with this release we will not do session.d/ 'session_active_changed' callouts anymore. (Lennart Poettering)
* get rid of session.d's session_active_changed callout (Lennart Poettering)
* close file descriptors before exit func (Halton Huo)
* log the kernel release and boot arguments at start time (William Jon McCann)
* show display in host field if the host isn't set (William Jon McCann)
* print the uptime for the reboot items in the report (William Jon McCann)
* fix logic for finding session remove events (William Jon McCann)
* fix a few small leaks (William Jon McCann)
* Add seat.d/ callout directory and guarantee we dump the database before call
* database: write the console database to disk before signalling via dbus (Len
* Enforce that the env array has the right size (Lennart Poettering)
* when printing size_t use %z format string (Lennart Poettering)
* make CK database world readable (Lennart Poettering)
* get rid of ck_seat_set_active_session() prototype since no such function exi
* Move ck_session_run_programs() from ck-run-programs.h to ck-session.h (Lenna
* post release version bump (Ray Strode)
==============
Version 0.3.1
==============
* port to PolicyKit 1.0 (Matthias Clasen)
* D-Bus policy updates (Colin Walters, Martin Pitt, Vincent Untz, William Jon McCann)
* better diagnostic information for unimplemented backends (Daniel Macks)
* file monitoring fixes (James Westby)
* get VT from X display if no controlling tty is available (Ray Strode)
* add "nox11" option to PAM module (Martin Pitt)
* parse log entries with no body correctly (William Jon McCann)
* fix zero-sized struct/unions (William Jon McCann)
* solaris build fixes (Halton Huo)
* parse gecos field for real name (William Jon McCann)
* leak fixes (James Westby, Steve Langasek)
* compile warning fixes (Matthias Clasen)
* fix doc xml validation errors (William Jon McCann)
* fix doc generation when srcdir != builddir (Ray Strode)
* add example upstart events for logging (William Jon McCann, Ray Strode)
* fix ChangeLog generation script to work with git-log moved to libexecdir (Ray Strode)
2014-08-17 17:59:07 +02:00
|
|
|
CONSOLEKIT_VER= 0.4.5
|
2008-11-22 04:32:22 +01:00
|
|
|
DISTNAME= ConsoleKit-${CONSOLEKIT_VER}
|
|
|
|
PKGNAME= consolekit-${CONSOLEKIT_VER}
|
|
|
|
CATEGORIES= sysutils
|
2010-12-26 21:53:14 +01:00
|
|
|
MASTER_SITES= http://www.freedesktop.org/software/ConsoleKit/dist/
|
2008-11-22 04:32:22 +01:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
|
|
|
|
2014-08-06 14:21:02 +02:00
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
2008-11-22 04:32:22 +01:00
|
|
|
HOMEPAGE= http://www.freedesktop.org/wiki/Software/ConsoleKit
|
|
|
|
COMMENT= Framework for defining and tracking users, login sessions, and seats
|
2010-01-24 18:11:17 +01:00
|
|
|
LICENSE= gnu-gpl-v2
|
2008-11-22 04:32:22 +01:00
|
|
|
|
|
|
|
PKG_SYSCONFSUBDIR= ConsoleKit
|
|
|
|
|
|
|
|
EGDIR= ${PREFIX}/share/examples/consolekit
|
|
|
|
CONF_FILES+= ${EGDIR}/00-primary.seat ${PKG_SYSCONFDIR}/seats.d/00-primary.seat
|
|
|
|
CONF_FILES+= ${EGDIR}/ConsoleKit.conf ${PKG_SYSCONFBASE}/dbus-1/system.d/ConsoleKit.conf
|
|
|
|
|
|
|
|
MAKE_DIRS= ${PKG_SYSCONFDIR}/seats.d
|
|
|
|
|
|
|
|
BUILD_DEFS+= VARBASE
|
|
|
|
BUILD_DEFS+= PKG_SYSCONFBASE
|
|
|
|
|
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
USE_PKGLOCALEDIR= YES
|
|
|
|
USE_TOOLS+= gmake intltool msgfmt perl pkg-config
|
|
|
|
USE_TOOLS+= autoconf automake autoreconf
|
|
|
|
USE_LIBTOOL= YES
|
|
|
|
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE:Q}
|
|
|
|
CONFIGURE_ARGS+= --localstatedir=${VARBASE}
|
|
|
|
|
2008-11-22 20:33:05 +01:00
|
|
|
# TODO
|
|
|
|
#CONFIGURE_ARGS+= --enable-pam-module
|
|
|
|
#.include "../../mk/pam.buildlink3.mk"
|
|
|
|
|
2008-11-22 04:32:22 +01:00
|
|
|
post-extract:
|
2008-12-26 21:05:56 +01:00
|
|
|
${CP} ${FILESDIR}/ck-sysdeps-netbsd.c ${WRKSRC}/src/
|
2014-05-05 23:19:40 +02:00
|
|
|
${CP} ${FILESDIR}/ck-sysdeps-openbsd.c ${WRKSRC}/src/
|
2008-11-22 04:32:22 +01:00
|
|
|
|
|
|
|
pre-configure:
|
2011-09-14 19:40:57 +02:00
|
|
|
cd ${WRKSRC} && autoreconf -vi ${AUTORECONF_ARGS}
|
2008-11-22 04:32:22 +01:00
|
|
|
|
2008-12-26 21:05:56 +01:00
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "FreeBSD" || ${OPSYS} == "DragonFly"
|
|
|
|
post-install:
|
Update to 0.4.5. Add comments to patches.
==============
Version 0.4.4
==============
* systemd fixes (Lennart Poettering)
==============
Version 0.4.3
==============
* Revert VT_WAITEVENT usage, since it is racy (Lennart Poettering)
* systemd fixes (Lennart Poettering)
==============
Version 0.4.2
==============
* Ensure we only care for seat files ending in .seat (William Jon McCann)
* Various Solaris improvements (Halton Huo)
* Make build silent (Ray Strode)
* Don't take bus name until ready (Ray Strode)
* systemd hookup (Lennart Poettering)
* add --since option to ck-history (William Jon McCann)
* Reduce number of threads on Linux (Kan-Ru Chen)
* Other fixes (Anders Kaseor, Frederic Crozat, Matthias Clasen, Michael Biebl, William Jon McCann)
==============
Version 0.4.1
==============
* Fix a crasher (William Jon McCann)
* fix a small memory leak (Matthias Clasen)
* update email address (William Jon McCann)
==============
Version 0.4.0
==============
* Starting with this release we will not do session.d/ 'session_active_changed' callouts anymore. (Lennart Poettering)
* get rid of session.d's session_active_changed callout (Lennart Poettering)
* close file descriptors before exit func (Halton Huo)
* log the kernel release and boot arguments at start time (William Jon McCann)
* show display in host field if the host isn't set (William Jon McCann)
* print the uptime for the reboot items in the report (William Jon McCann)
* fix logic for finding session remove events (William Jon McCann)
* fix a few small leaks (William Jon McCann)
* Add seat.d/ callout directory and guarantee we dump the database before call
* database: write the console database to disk before signalling via dbus (Len
* Enforce that the env array has the right size (Lennart Poettering)
* when printing size_t use %z format string (Lennart Poettering)
* make CK database world readable (Lennart Poettering)
* get rid of ck_seat_set_active_session() prototype since no such function exi
* Move ck_session_run_programs() from ck-run-programs.h to ck-session.h (Lenna
* post release version bump (Ray Strode)
==============
Version 0.3.1
==============
* port to PolicyKit 1.0 (Matthias Clasen)
* D-Bus policy updates (Colin Walters, Martin Pitt, Vincent Untz, William Jon McCann)
* better diagnostic information for unimplemented backends (Daniel Macks)
* file monitoring fixes (James Westby)
* get VT from X display if no controlling tty is available (Ray Strode)
* add "nox11" option to PAM module (Martin Pitt)
* parse log entries with no body correctly (William Jon McCann)
* fix zero-sized struct/unions (William Jon McCann)
* solaris build fixes (Halton Huo)
* parse gecos field for real name (William Jon McCann)
* leak fixes (James Westby, Steve Langasek)
* compile warning fixes (Matthias Clasen)
* fix doc xml validation errors (William Jon McCann)
* fix doc generation when srcdir != builddir (Ray Strode)
* add example upstart events for logging (William Jon McCann, Ray Strode)
* fix ChangeLog generation script to work with git-log moved to libexecdir (Ray Strode)
2014-08-17 17:59:07 +02:00
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/ck-get-x11-display-device.FreeBSD \
|
2008-12-26 21:05:56 +01:00
|
|
|
${DESTDIR}${PREFIX}/libexec/ck-get-x11-display-device
|
Update to 0.4.5. Add comments to patches.
==============
Version 0.4.4
==============
* systemd fixes (Lennart Poettering)
==============
Version 0.4.3
==============
* Revert VT_WAITEVENT usage, since it is racy (Lennart Poettering)
* systemd fixes (Lennart Poettering)
==============
Version 0.4.2
==============
* Ensure we only care for seat files ending in .seat (William Jon McCann)
* Various Solaris improvements (Halton Huo)
* Make build silent (Ray Strode)
* Don't take bus name until ready (Ray Strode)
* systemd hookup (Lennart Poettering)
* add --since option to ck-history (William Jon McCann)
* Reduce number of threads on Linux (Kan-Ru Chen)
* Other fixes (Anders Kaseor, Frederic Crozat, Matthias Clasen, Michael Biebl, William Jon McCann)
==============
Version 0.4.1
==============
* Fix a crasher (William Jon McCann)
* fix a small memory leak (Matthias Clasen)
* update email address (William Jon McCann)
==============
Version 0.4.0
==============
* Starting with this release we will not do session.d/ 'session_active_changed' callouts anymore. (Lennart Poettering)
* get rid of session.d's session_active_changed callout (Lennart Poettering)
* close file descriptors before exit func (Halton Huo)
* log the kernel release and boot arguments at start time (William Jon McCann)
* show display in host field if the host isn't set (William Jon McCann)
* print the uptime for the reboot items in the report (William Jon McCann)
* fix logic for finding session remove events (William Jon McCann)
* fix a few small leaks (William Jon McCann)
* Add seat.d/ callout directory and guarantee we dump the database before call
* database: write the console database to disk before signalling via dbus (Len
* Enforce that the env array has the right size (Lennart Poettering)
* when printing size_t use %z format string (Lennart Poettering)
* make CK database world readable (Lennart Poettering)
* get rid of ck_seat_set_active_session() prototype since no such function exi
* Move ck_session_run_programs() from ck-run-programs.h to ck-session.h (Lenna
* post release version bump (Ray Strode)
==============
Version 0.3.1
==============
* port to PolicyKit 1.0 (Matthias Clasen)
* D-Bus policy updates (Colin Walters, Martin Pitt, Vincent Untz, William Jon McCann)
* better diagnostic information for unimplemented backends (Daniel Macks)
* file monitoring fixes (James Westby)
* get VT from X display if no controlling tty is available (Ray Strode)
* add "nox11" option to PAM module (Martin Pitt)
* parse log entries with no body correctly (William Jon McCann)
* fix zero-sized struct/unions (William Jon McCann)
* solaris build fixes (Halton Huo)
* parse gecos field for real name (William Jon McCann)
* leak fixes (James Westby, Steve Langasek)
* compile warning fixes (Matthias Clasen)
* fix doc xml validation errors (William Jon McCann)
* fix doc generation when srcdir != builddir (Ray Strode)
* add example upstart events for logging (William Jon McCann, Ray Strode)
* fix ChangeLog generation script to work with git-log moved to libexecdir (Ray Strode)
2014-08-17 17:59:07 +02:00
|
|
|
${INSTALL_SCRIPT} ${FILESDIR}/ck-get-x11-server-pid.FreeBSD \
|
2008-12-26 21:05:56 +01:00
|
|
|
${DESTDIR}${PREFIX}/libexec/ck-get-x11-server-pid
|
|
|
|
.endif
|
|
|
|
|
2011-09-14 19:42:08 +02:00
|
|
|
.if ${OPSYS} == "SunOS"
|
|
|
|
CONFIGURE_ARGS+= --enable-rbac-shutdown=solaris.system.shutdown
|
|
|
|
.endif
|
|
|
|
|
2008-12-10 12:43:20 +01:00
|
|
|
.include "../../devel/zlib/buildlink3.mk"
|
2008-11-22 04:32:22 +01:00
|
|
|
.include "../../security/policykit/buildlink3.mk"
|
|
|
|
.include "../../sysutils/dbus/buildlink3.mk"
|
|
|
|
.include "../../sysutils/dbus-glib/buildlink3.mk"
|
2008-11-25 14:40:05 +01:00
|
|
|
.include "../../x11/libX11/buildlink3.mk"
|
2008-11-22 04:32:22 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|