packaging: install PAM config for kde-workspace on FreeBSD

TODO: test the config on NetBSD

Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
Ivailo Monev 2021-06-01 18:51:37 +03:00
parent 7e05efa8bc
commit 921d243134
3 changed files with 8 additions and 4 deletions

View file

@ -19,10 +19,10 @@ USES = compiler:c++11-lang pkgconfig cmake desktop-file-utils xorg perl5 gettext
USE_XORG = x11 xrender xtst xdamage xext xfixes
USE_PERL5 = build
USE_GETTEXT_TOOLS = build run
RUN_DEPENDS = xfreerdp:net/freerdp
# zlib is not part of any package
# build and run depending on freerdp2 since the build system checks for its presence but in fact
# only the binaries are needed
RUN_DEPENDS = xfreerdp:net/freerdp
# zlib is not part of any package
# TODO: should depend on oss package?
LIB_DEPENDS = libKtCore.so:katana/katie libkdecore.so:katana/katanalibs \
libkonq.so:katana/katana-baseapps libplasmagenericshell.so:katana/katana-workspace \

View file

@ -23,9 +23,10 @@ USE_SAMBA = build run
USE_GL = gl glesv2 glu
SHEBANG_FILES = kdm/confproc.pl
USE_RC_SUBR = kdm
# TODO: /var/lib/kdm with owner kdm:kdm
USERS = kdm
GROUPS = kdm
# fortune is not part of any package
# fortune and pam are not part of any package
RUN_DEPENDS = ${LOCALBASE}/share/icons/ariya/index.theme:katana/ariya-icons \
${LOCALBASE}/share/icons/hicolor/index.theme:misc/hicolor-icon-theme \
gdb:devel/gdb xterm:x11/xterm \
@ -35,7 +36,6 @@ RUN_DEPENDS = ${LOCALBASE}/share/icons/ariya/index.theme:katana/ariya-icons \
iceauth:x11/iceauth socat:net/socat iso-codes>=0:misc/iso-codes mtools:emulators/mtools \
rar:archivers/rar unrar:archivers/unrar
# TODO: substitute for libusb?
# TODO: which PAM package to depend on?
LIB_DEPENDS = libKtCore.so:katana/katie libkdecore.so:katana/katanalibs \
libkonq.so:katana/katana-baseapps libstreams.so:katana/strigi \
libdbusmenu-katie.so:katana/libdbusmenu-katie \
@ -46,4 +46,7 @@ LIB_DEPENDS = libKtCore.so:katana/katie libkdecore.so:katana/katanalibs \
libgps.so:astro/gpsd libssh.so:security/libssh libjpeg.so:graphics/jpeg-turbo
CMAKE_ARGS = -Wno-dev
post-install:
${INSTALL_DATA} ${WRKSRC}/kde.pamd ${STAGEDIR}${PREFIX}/etc/pam.d/kde
.include <bsd.port.mk>

View file

@ -2844,4 +2844,5 @@ share/wallpapers/Elarun/contents/screenshot.png
share/wallpapers/Elarun/metadata.desktop
share/wallpapers/stripes.png
share/wallpapers/stripes.png.desktop
etc/pam.d/kde
@dir share/config/kdm/sessions