pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/wayland/swaylock
Module Name: pkgsrc
Committed By: kikadf
Date: Tue Apr 14 13:27:07 UTC 2026
Added Files:
pkgsrc/wayland/swaylock: DESCR Makefile PLIST distinfo
pkgsrc/wayland/swaylock/files: swaylock
Log Message:
swaylock: new package
A screen locking utility for Wayland compositors.
It is compatible with any Wayland compositors
which implements the ext-session-lock-v1 Wayland
protocol.
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/wayland/swaylock/DESCR \
pkgsrc/wayland/swaylock/Makefile pkgsrc/wayland/swaylock/PLIST \
pkgsrc/wayland/swaylock/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/wayland/swaylock/files/swaylock
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Added files:
Index: pkgsrc/wayland/swaylock/DESCR
diff -u /dev/null pkgsrc/wayland/swaylock/DESCR:1.1
--- /dev/null Tue Apr 14 13:27:07 2026
+++ pkgsrc/wayland/swaylock/DESCR Tue Apr 14 13:27:07 2026
@@ -0,0 +1,4 @@
+A screen locking utility for Wayland compositors.
+It is compatible with any Wayland compositors
+which implements the ext-session-lock-v1 Wayland
+protocol.
Index: pkgsrc/wayland/swaylock/Makefile
diff -u /dev/null pkgsrc/wayland/swaylock/Makefile:1.1
--- /dev/null Tue Apr 14 13:27:07 2026
+++ pkgsrc/wayland/swaylock/Makefile Tue Apr 14 13:27:07 2026
@@ -0,0 +1,56 @@
+# $NetBSD: Makefile,v 1.1 2026/04/14 13:27:07 kikadf Exp $
+
+DISTNAME= swaylock-1.8.5
+CATEGORIES= wayland
+MASTER_SITES= ${MASTER_SITE_GITHUB:=swaywm/}
+GITHUB_TAG= v${PKGVERSION_NOREV}
+
+MAINTAINER= kikadf.01%gmail.com@localhost
+HOMEPAGE= https://swaywm.org/
+COMMENT= Screen locker for Wayland compositors
+LICENSE= mit
+
+USE_TOOLS+= pkg-config
+
+SUBST_CLASSES+= nogit
+SUBST_STAGE.nogit= pre-configure
+SUBST_MESSAGE.nogit= Set version
+SUBST_FILES.nogit+= meson.build
+SUBST_SED.nogit+= -e 's/git =/\#git =/g'
+SUBST_SED.nogit+= -e 's/git.found()/false/g'
+
+INSTALLATION_DIRS+= share/examples/swaylock/pam.d
+BUILD_DEFS+= SYSCONFBASE
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "NetBSD"
+# needed to read shadow passwords
+DEPENDS+= pam-pwauth_suid-[0-9]*:../../security/pam-pwauth_suid
+
+SUBST_CLASSES+= pam
+SUBST_STAGE.pam= pre-configure
+SUBST_FILES.pam+= pam/swaylock
+SUBST_VARS.pam+= PREFIX
+
+post-extract:
+ ${CP} -f ${FILESDIR}/swaylock ${WRKSRC}/pam/swaylock
+
+.endif
+
+CONF_FILES+= ${PREFIX}/share/examples/swaylock/pam.d/swaylock \
+ ${SYSCONFBASE}/pam.d/swaylock
+
+post-install:
+ ${MV} ${DESTDIR}${PKG_SYSCONFDIR}/pam.d/swaylock \
+ ${DESTDIR}${PREFIX}/share/examples/swaylock/pam.d/
+
+.include "../../devel/meson/build.mk"
+.include "../../devel/wayland/buildlink3.mk"
+.include "../../devel/wayland-protocols/buildlink3.mk"
+.include "../../graphics/cairo/buildlink3.mk"
+.include "../../graphics/gdk-pixbuf2/buildlink3.mk"
+.include "../../textproc/scdoc/tool.mk"
+.include "../../x11/libxkbcommon/buildlink3.mk"
+.include "../../mk/pam.buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/wayland/swaylock/PLIST
diff -u /dev/null pkgsrc/wayland/swaylock/PLIST:1.1
--- /dev/null Tue Apr 14 13:27:07 2026
+++ pkgsrc/wayland/swaylock/PLIST Tue Apr 14 13:27:07 2026
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1 2026/04/14 13:27:07 kikadf Exp $
+bin/swaylock
+man/man1/swaylock.1
+share/bash-completion/completions/swaylock
+share/examples/swaylock/pam.d/swaylock
+share/fish/vendor_completions.d/swaylock.fish
+share/zsh/site-functions/_swaylock
+@pkgdir etc/pam.d
Index: pkgsrc/wayland/swaylock/distinfo
diff -u /dev/null pkgsrc/wayland/swaylock/distinfo:1.1
--- /dev/null Tue Apr 14 13:27:07 2026
+++ pkgsrc/wayland/swaylock/distinfo Tue Apr 14 13:27:07 2026
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1 2026/04/14 13:27:07 kikadf Exp $
+
+BLAKE2s (swaylock-1.8.5.tar.gz) = 171b673fb6990a417412b990af01b1029f760d0e82dff58c5a654f30e8de1b74
+SHA512 (swaylock-1.8.5.tar.gz) = efa0bd0839b4086e7519ce486452b5e9ac54d1cde5a10f4e3dff8165f94c3863102ce708c3ec1107f134f202929ca8744ca4c02394e2ab1da9a53fdfe48fc548
+Size (swaylock-1.8.5.tar.gz) = 34125 bytes
Index: pkgsrc/wayland/swaylock/files/swaylock
diff -u /dev/null pkgsrc/wayland/swaylock/files/swaylock:1.1
--- /dev/null Tue Apr 14 13:27:07 2026
+++ pkgsrc/wayland/swaylock/files/swaylock Tue Apr 14 13:27:07 2026
@@ -0,0 +1,2 @@
+# $NetBSD: swaylock,v 1.1 2026/04/14 13:27:07 kikadf Exp $
+auth required @PREFIX@/lib/security/pam_pwauth_suid.so
Home |
Main Index |
Thread Index |
Old Index