diff --git a/x11/sddm/Makefile b/x11/sddm/Makefile index f92440ea0d9a..ec409a86e6eb 100644 --- a/x11/sddm/Makefile +++ b/x11/sddm/Makefile @@ -1,60 +1,63 @@ PORTNAME= sddm PORTVERSION= 0.19.0 DISTVERSIONPREFIX= v -PORTREVISION= 6 +PORTREVISION= 7 CATEGORIES= x11 MAINTAINER= kde@FreeBSD.org COMMENT= QML based login manager # 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= dbus-run-session: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 qmake_build testlib_build USE_XORG= xcb CONFLICTS_INSTALL= lightdm CMAKE_ON= BUILD_MAN_PAGES CMAKE_ARGS= -DUID_MIN=1000 \ -DUID_MAX=65000 \ -DCMAKE_INSTALL_SYSCONFDIR:PATH=${LOCALBASE}/etc \ -DRST2MAN_EXECUTABLE=${LOCALBASE}/bin/rst2man.py-${PYTHON_VER} 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/#' \ ${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/pkg-plist b/x11/sddm/pkg-plist index 5c80fa37622a..af98960daa55 100644 --- a/x11/sddm/pkg-plist +++ b/x11/sddm/pkg-plist @@ -1,192 +1,192 @@ bin/sddm bin/sddm-greeter etc/dbus-1/system.d/org.freedesktop.DisplayManager.conf -etc/pam.d/sddm -etc/pam.d/sddm-autologin -etc/pam.d/sddm-greeter +@sample etc/pam.d/sddm.default etc/pam.d/sddm +@sample etc/pam.d/sddm-autologin.default etc/pam.d/sddm-autologin +@sample etc/pam.d/sddm-greeter.default etc/pam.d/sddm-greeter %%QT_QMLDIR%%/SddmComponents/Background.qml %%QT_QMLDIR%%/SddmComponents/Button.qml %%QT_QMLDIR%%/SddmComponents/Clock.qml %%QT_QMLDIR%%/SddmComponents/ComboBox.qml %%QT_QMLDIR%%/SddmComponents/ImageButton.qml %%QT_QMLDIR%%/SddmComponents/LayoutBox.qml %%QT_QMLDIR%%/SddmComponents/Menu.qml %%QT_QMLDIR%%/SddmComponents/PasswordBox.qml %%QT_QMLDIR%%/SddmComponents/PictureBox.qml %%QT_QMLDIR%%/SddmComponents/TextBox.qml %%QT_QMLDIR%%/SddmComponents/TextConstants.qml %%QT_QMLDIR%%/SddmComponents/qmldir %%QT_QMLDIR%%/SddmComponents/warning.png libexec/sddm-helper man/man1/sddm-greeter.1.gz man/man1/sddm.1.gz man/man5/sddm-state.conf.5.gz man/man5/sddm.conf.5.gz %%DATADIR%%/faces/.face.icon %%DATADIR%%/faces/root.face.icon %%DATADIR%%/flags/ae.png %%DATADIR%%/flags/am.png %%DATADIR%%/flags/ar.png %%DATADIR%%/flags/at.png %%DATADIR%%/flags/az.png %%DATADIR%%/flags/be.png %%DATADIR%%/flags/bg.png %%DATADIR%%/flags/bh.png %%DATADIR%%/flags/br.png %%DATADIR%%/flags/by.png %%DATADIR%%/flags/ca.png %%DATADIR%%/flags/ch.png %%DATADIR%%/flags/cu.png %%DATADIR%%/flags/cz.png %%DATADIR%%/flags/de.png %%DATADIR%%/flags/dj.png %%DATADIR%%/flags/dk.png %%DATADIR%%/flags/dz.png %%DATADIR%%/flags/ee.png %%DATADIR%%/flags/eg.png %%DATADIR%%/flags/es.png %%DATADIR%%/flags/eu.png %%DATADIR%%/flags/fi.png %%DATADIR%%/flags/fr.png %%DATADIR%%/flags/gb.png %%DATADIR%%/flags/ge.png %%DATADIR%%/flags/gr.png %%DATADIR%%/flags/hr.png %%DATADIR%%/flags/hu.png %%DATADIR%%/flags/il.png %%DATADIR%%/flags/in.png %%DATADIR%%/flags/iq.png %%DATADIR%%/flags/is.png %%DATADIR%%/flags/it.png %%DATADIR%%/flags/jo.png %%DATADIR%%/flags/jp.png %%DATADIR%%/flags/km.png %%DATADIR%%/flags/kr.png %%DATADIR%%/flags/kw.png %%DATADIR%%/flags/la.png %%DATADIR%%/flags/lb.png %%DATADIR%%/flags/lt.png %%DATADIR%%/flags/lv.png %%DATADIR%%/flags/ly.png %%DATADIR%%/flags/ma.png %%DATADIR%%/flags/mk.png %%DATADIR%%/flags/mn.png %%DATADIR%%/flags/mx.png %%DATADIR%%/flags/nl.png %%DATADIR%%/flags/no.png %%DATADIR%%/flags/om.png %%DATADIR%%/flags/pl.png %%DATADIR%%/flags/ps.png %%DATADIR%%/flags/pt.png %%DATADIR%%/flags/qa.png %%DATADIR%%/flags/qc.png %%DATADIR%%/flags/ro.png %%DATADIR%%/flags/ru.png %%DATADIR%%/flags/sa.png %%DATADIR%%/flags/sd.png %%DATADIR%%/flags/se.png %%DATADIR%%/flags/si.png %%DATADIR%%/flags/sk.png %%DATADIR%%/flags/so.png %%DATADIR%%/flags/sr.png %%DATADIR%%/flags/sy.png %%DATADIR%%/flags/th.png %%DATADIR%%/flags/tn.png %%DATADIR%%/flags/tr.png %%DATADIR%%/flags/ua.png %%DATADIR%%/flags/uk.png %%DATADIR%%/flags/un.png %%DATADIR%%/flags/us.png %%DATADIR%%/flags/uy.png %%DATADIR%%/flags/vn.png %%DATADIR%%/flags/ye.png %%DATADIR%%/flags/yu.png %%DATADIR%%/flags/zz.png %%DATADIR%%/scripts/Xsession %%DATADIR%%/scripts/Xsetup %%DATADIR%%/scripts/Xstop %%DATADIR%%/scripts/wayland-session %%DATADIR%%/scripts/xinit-session %%DATADIR%%/themes/elarun/Main.qml %%DATADIR%%/themes/elarun/README %%DATADIR%%/themes/elarun/angle-down.png %%DATADIR%%/themes/elarun/elarun.jpg %%DATADIR%%/themes/elarun/images/background.png %%DATADIR%%/themes/elarun/images/lock.png %%DATADIR%%/themes/elarun/images/login_active.png %%DATADIR%%/themes/elarun/images/login_normal.png %%DATADIR%%/themes/elarun/images/rectangle.png %%DATADIR%%/themes/elarun/images/rectangle_overlay.png %%DATADIR%%/themes/elarun/images/session_normal.png %%DATADIR%%/themes/elarun/images/system_hibernate.png %%DATADIR%%/themes/elarun/images/system_reboot.png %%DATADIR%%/themes/elarun/images/system_shutdown.png %%DATADIR%%/themes/elarun/images/system_suspend.png %%DATADIR%%/themes/elarun/images/system_switch_user.png %%DATADIR%%/themes/elarun/images/user_icon.png %%DATADIR%%/themes/elarun/metadata.desktop %%DATADIR%%/themes/elarun/theme.conf %%DATADIR%%/themes/maldives/LICENSE %%DATADIR%%/themes/maldives/Main.qml %%DATADIR%%/themes/maldives/README %%DATADIR%%/themes/maldives/angle-down.png %%DATADIR%%/themes/maldives/background.jpg %%DATADIR%%/themes/maldives/maldives.jpg %%DATADIR%%/themes/maldives/metadata.desktop %%DATADIR%%/themes/maldives/rectangle.png %%DATADIR%%/themes/maldives/theme.conf %%DATADIR%%/themes/maya/LICENSE %%DATADIR%%/themes/maya/Main.qml %%DATADIR%%/themes/maya/README %%DATADIR%%/themes/maya/components/SpButton.qml %%DATADIR%%/themes/maya/components/SpClock.qml %%DATADIR%%/themes/maya/fonts/OpenSans_CondLight.ttf %%DATADIR%%/themes/maya/images/ic_arrow_drop_down_white_24px.svg %%DATADIR%%/themes/maya/images/ic_power_settings_new_white_24px.svg %%DATADIR%%/themes/maya/images/ic_refresh_white_24px.svg %%DATADIR%%/themes/maya/images/ic_warning_white_24px.svg %%DATADIR%%/themes/maya/metadata.desktop %%DATADIR%%/themes/maya/screenshots/hi_IN.png %%DATADIR%%/themes/maya/theme.conf %%DATADIR%%/translations/ar.qm %%DATADIR%%/translations/bn.qm %%DATADIR%%/translations/ca.qm %%DATADIR%%/translations/cs.qm %%DATADIR%%/translations/da.qm %%DATADIR%%/translations/de.qm %%DATADIR%%/translations/es.qm %%DATADIR%%/translations/et.qm %%DATADIR%%/translations/eu.qm %%DATADIR%%/translations/fi.qm %%DATADIR%%/translations/fr.qm %%DATADIR%%/translations/he.qm %%DATADIR%%/translations/hi_IN.qm %%DATADIR%%/translations/hu.qm %%DATADIR%%/translations/ie.qm %%DATADIR%%/translations/is.qm %%DATADIR%%/translations/it.qm %%DATADIR%%/translations/ja.qm %%DATADIR%%/translations/kk.qm %%DATADIR%%/translations/ko.qm %%DATADIR%%/translations/lt.qm %%DATADIR%%/translations/lv.qm %%DATADIR%%/translations/nb.qm %%DATADIR%%/translations/nl.qm %%DATADIR%%/translations/nn.qm %%DATADIR%%/translations/oc.qm %%DATADIR%%/translations/pl.qm %%DATADIR%%/translations/pt_BR.qm %%DATADIR%%/translations/pt_PT.qm %%DATADIR%%/translations/ro.qm %%DATADIR%%/translations/ru.qm %%DATADIR%%/translations/sk.qm %%DATADIR%%/translations/sr.qm %%DATADIR%%/translations/sr@ijekavian.qm %%DATADIR%%/translations/sr@ijekavianlatin.qm %%DATADIR%%/translations/sr@latin.qm %%DATADIR%%/translations/sv.qm %%DATADIR%%/translations/tr.qm %%DATADIR%%/translations/uk.qm %%DATADIR%%/translations/zh_CN.qm %%DATADIR%%/translations/zh_TW.qm share/xsessions/xinitrc.desktop