diff --git a/x11/sddm/Makefile b/x11/sddm/Makefile index f2563817f87c..dce6dd4b0339 100644 --- a/x11/sddm/Makefile +++ b/x11/sddm/Makefile @@ -1,69 +1,69 @@ PORTNAME= sddm PORTVERSION= 0.20.0 -PORTREVISION= 2 +PORTREVISION= 3 DISTVERSIONPREFIX= v CATEGORIES= x11 MAINTAINER= kde@FreeBSD.org COMMENT= QML based login manager WWW= https://github.com/sddm/sddm # The source code is GPLv2+, but the provided themes are: # - CC-BY 3.0 (default greeter theme, maldives) # - CC-BY 4.0 (maya) # - Apache20 (font included with maya) LICENSE= GPLv2+ CC-BY-3.0 CC-BY-4.0 APACHE20 LICENSE_COMB= multi LICENSE_FILE_GPLv2+ = ${WRKSRC}/LICENSE LICENSE_FILE_CC-BY-3.0= ${WRKSRC}/LICENSE.CC-BY-3.0 BUILD_DEPENDS= rst2man.py-${PYTHON_VER}:textproc/py-docutils@${PY_FLAVOR} RUN_DEPENDS= consolekit2>1.2.5:sysutils/consolekit2 \ dbus-launch:devel/dbus \ xauth:x11/xauth \ xmessage:x11/xmessage USES= cmake compiler:c++11-lang cpe kde:5 pkgconfig python:build qt:5 xorg CPE_VENDOR= ${PORTNAME}_project USE_GITHUB= yes USE_KDE= ecm:build USE_QT= core declarative dbus gui network \ buildtools:build linguisttools:build declarative-test:build \ qmake:build testlib:build USE_XORG= xau xcb CONFLICTS_INSTALL= lightdm CMAKE_ON= BUILD_MAN_PAGES CMAKE_ARGS= -DUID_MIN=1000 \ -DUID_MAX=65000 \ -DCMAKE_INSTALL_SYSCONFDIR:PATH=${LOCALBASE}/etc \ -DACCOUNTSSERVICE_DATA_DIR:PATH=/var/db/AccountsService \ -DRST2MAN_EXECUTABLE=${LOCALBASE}/bin/rst2man.py-${PYTHON_VER} \ -DSDDM_INITIAL_VT=7 USE_RC_SUBR= sddm SUB_FILES= xinitrc.desktop USERS= sddm GROUPS= sddm post-patch: @${REINPLACE_CMD} -e 's#/etc/X11#${LOCALBASE}/etc/X11#' \ -e 's#/usr/bin/#${LOCALBASE}/bin/#g' \ -e 's#/usr/share/#${LOCALBASE}/share/#' \ -e 's#%%LOCALBASE%%#${LOCALBASE}#g' \ ${WRKSRC}/data/scripts/Xsession \ ${WRKSRC}/src/common/Configuration.h post-install: # Install xsession.desktop to launch .xinitrc via sddm. ${MKDIR} ${STAGEDIR}${PREFIX}/share/xsessions ${INSTALL_DATA} ${WRKDIR}/xinitrc.desktop ${STAGEDIR}${PREFIX}/share/xsessions ${INSTALL_SCRIPT} ${FILESDIR}/xinit-session ${STAGEDIR}${PREFIX}/share/sddm/scripts ${REINPLACE_CMD} -e 's#@@LOCALBASE@@#${LOCALBASE}#' ${STAGEDIR}${PREFIX}/share/sddm/scripts/xinit-session ${MV} ${STAGEDIR}${PREFIX}/etc/pam.d/sddm ${STAGEDIR}${PREFIX}/etc/pam.d/sddm.default ${MV} ${STAGEDIR}${PREFIX}/etc/pam.d/sddm-autologin ${STAGEDIR}${PREFIX}/etc/pam.d/sddm-autologin.default ${MV} ${STAGEDIR}${PREFIX}/etc/pam.d/sddm-greeter ${STAGEDIR}${PREFIX}/etc/pam.d/sddm-greeter.default .include diff --git a/x11/sddm/files/patch-services_sddm-autologin.pam b/x11/sddm/files/patch-services_sddm-autologin-tally2.pam similarity index 81% rename from x11/sddm/files/patch-services_sddm-autologin.pam rename to x11/sddm/files/patch-services_sddm-autologin-tally2.pam index c479bb0d7080..190bf0cae87f 100644 --- a/x11/sddm/files/patch-services_sddm-autologin.pam +++ b/x11/sddm/files/patch-services_sddm-autologin-tally2.pam @@ -1,26 +1,26 @@ ---- services/sddm-autologin.pam.orig 2023-06-23 12:28:38 UTC -+++ services/sddm-autologin.pam +--- services/sddm-autologin-tally2.pam.orig 2023-06-23 12:28:38 UTC ++++ services/sddm-autologin-tally2.pam @@ -1,13 +1,12 @@ #%PAM-1.0 -auth required pam_env.so --auth required pam_faillock.so preauth +-auth required pam_tally2.so file=/var/log/tallylog onerr=succeed -auth required pam_shells.so -auth required pam_nologin.so auth required pam_permit.so --auth optional pam_gnome_keyring.so --auth optional pam_kwallet5.so -account include system-local-login -password include system-local-login -session include system-local-login --session optional pam_gnome_keyring.so auto_start --session optional pam_kwallet5.so auto_start +#auth optional pam_gnome_keyring.so +#auth optional pam_kwallet5.so + +account include login + +password required pam_deny.so + +session include login +#session optional pam_gnome_keyring.so auto_start +#session optional pam_kwallet5.so auto_start