Wed May 16 15:40:32 2018 UTC ()
Keep pam disabled for now.


(youri)
diff -r1.39 -r1.40 pkgsrc/sysutils/consolekit/Makefile

cvs diff -r1.39 -r1.40 pkgsrc/sysutils/consolekit/Makefile (expand / switch to unified diff)

--- pkgsrc/sysutils/consolekit/Makefile 2018/05/16 14:49:26 1.39
+++ pkgsrc/sysutils/consolekit/Makefile 2018/05/16 15:40:32 1.40
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.39 2018/05/16 14:49:26 youri Exp $ 1# $NetBSD: Makefile,v 1.40 2018/05/16 15:40:32 youri Exp $
2 2
3CONSOLEKIT_VER= 1.2.1 3CONSOLEKIT_VER= 1.2.1
4DISTNAME= ConsoleKit2-${CONSOLEKIT_VER} 4DISTNAME= ConsoleKit2-${CONSOLEKIT_VER}
5PKGNAME= consolekit-${CONSOLEKIT_VER} 5PKGNAME= consolekit-${CONSOLEKIT_VER}
6CATEGORIES= sysutils 6CATEGORIES= sysutils
7GITHUB_RELEASE= ${CONSOLEKIT_VER} 7GITHUB_RELEASE= ${CONSOLEKIT_VER}
8GITHUB_PROJECT= ConsoleKit2 8GITHUB_PROJECT= ConsoleKit2
9MASTER_SITES= ${MASTER_SITE_GITHUB:=ConsoleKit2/} 9MASTER_SITES= ${MASTER_SITE_GITHUB:=ConsoleKit2/}
10EXTRACT_SUFX= .tar.bz2 10EXTRACT_SUFX= .tar.bz2
11 11
12MAINTAINER= youri@NetBSD.org 12MAINTAINER= youri@NetBSD.org
13HOMEPAGE= https://github.com/ConsoleKit2/ConsoleKit2/ 13HOMEPAGE= https://github.com/ConsoleKit2/ConsoleKit2/
14COMMENT= Framework for defining and tracking users, login sessions, and seats 14COMMENT= Framework for defining and tracking users, login sessions, and seats
@@ -36,28 +36,29 @@ CONF_FILES+= ${EGDIR}/ConsoleKit/seats.d @@ -36,28 +36,29 @@ CONF_FILES+= ${EGDIR}/ConsoleKit/seats.d
36 ${EGDIR}/dbus-1/system.d/ConsoleKit.conf \ 36 ${EGDIR}/dbus-1/system.d/ConsoleKit.conf \
37 ${PKG_SYSCONFBASE}/dbus-1/system.d/ConsoleKit.conf \ 37 ${PKG_SYSCONFBASE}/dbus-1/system.d/ConsoleKit.conf \
38 ${EGDIR}/logrotate.d/consolekit \ 38 ${EGDIR}/logrotate.d/consolekit \
39 ${PKG_SYSCONFBASE}/logrotate.d/consolekit \ 39 ${PKG_SYSCONFBASE}/logrotate.d/consolekit \
40 ${EGDIR}/X11/xinit/xinitrc.d/90-consolekit \ 40 ${EGDIR}/X11/xinit/xinitrc.d/90-consolekit \
41 ${PKG_SYSCONFBASE}/X11/xinit/xinitrc.d/90-consolekit 41 ${PKG_SYSCONFBASE}/X11/xinit/xinitrc.d/90-consolekit
42 42
43GNU_CONFIGURE= YES 43GNU_CONFIGURE= YES
44USE_TOOLS+= gmake intltool msgfmt perl pkg-config automake 44USE_TOOLS+= gmake intltool msgfmt perl pkg-config automake
45USE_LIBTOOL= YES 45USE_LIBTOOL= YES
46 46
47CONFIGURE_ARGS+=--sysconfdir=${PKG_SYSCONFBASE} \ 47CONFIGURE_ARGS+=--sysconfdir=${PKG_SYSCONFBASE} \
48 --localstatedir=${VARBASE} \ 48 --localstatedir=${VARBASE} \
49 --enable-pam-module \ 49 --disable-pam-module
50 --with-pam-module-dir=${PREFIX}/lib/security \ 50 #--enable-pam-module \
 51 #--with-pam-module-dir=${PREFIX}/lib/security \
51 52
52CONFIGURE_ARGS.SunOS+= --enable-rbac-shutdown=solaris.system.shutdown 53CONFIGURE_ARGS.SunOS+= --enable-rbac-shutdown=solaris.system.shutdown
53 54
54INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR} \ 55INSTALL_MAKE_FLAGS+= sysconfdir=${EGDIR} \
55 DBUS_SYS_DIR=${EGDIR}/dbus-1/system.d \ 56 DBUS_SYS_DIR=${EGDIR}/dbus-1/system.d \
56 XINITRC_DIR=${EGDIR}/X11/xinit/xinitrc.d 57 XINITRC_DIR=${EGDIR}/X11/xinit/xinitrc.d
57 58
58post-install: 59post-install:
59 ${MKDIR} ${DESTDIR}${RULESDIR} && \ 60 ${MKDIR} ${DESTDIR}${RULESDIR} && \
60 ${INSTALL_DATA} ${FILESDIR}/50-shutdown.rules \ 61 ${INSTALL_DATA} ${FILESDIR}/50-shutdown.rules \
61 ${DESTDIR}${RULESDIR}/50-shutdown.rules 62 ${DESTDIR}${RULESDIR}/50-shutdown.rules
62 63
63TOOL_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen 64TOOL_DEPENDS+= gdbus-codegen-[0-9]*:../../devel/gdbus-codegen