ports/contrib (3.5): xscreensaver: converted to use PAM
commit 33fe9b6fd006415a3be06b5903d41a2f62843268 Author: Matt Housh <jaeger@crux.ninja> Date: Sun Feb 3 00:49:45 2019 -0600 xscreensaver: converted to use PAM diff --git a/xscreensaver/.footprint b/xscreensaver/.footprint index f62499c1..fc8dcca0 100644 --- a/xscreensaver/.footprint +++ b/xscreensaver/.footprint @@ -2,6 +2,8 @@ drwxr-xr-x root/root etc/ drwxr-xr-x root/root etc/X11/ drwxr-xr-x root/root etc/X11/app-defaults/ -rw-r--r-- root/root etc/X11/app-defaults/XScreenSaver +drwxr-xr-x root/root etc/pam.d/ +-rw-r--r-- root/root etc/pam.d/xscreensaver drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/bin/ -rwsr-xr-x root/root usr/bin/xscreensaver diff --git a/xscreensaver/.signature b/xscreensaver/.signature index 54979a7a..5cae47fb 100644 --- a/xscreensaver/.signature +++ b/xscreensaver/.signature @@ -1,5 +1,6 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF37Y6n2rxs5YAC/GA01Z/zlnyd2p8VHOnhCqDXU4XB+ata7SZufy9YKp3g37B4WpAhBxWQzUul5YmutyrmomK6go= -SHA256 (Pkgfile) = 4a185852e1e3441260b9d1558b836fc5a52e4db8a3896f315ebf287000855778 -SHA256 (.footprint) = a5a1a7b5eb5db324054f3d8744bb59be6c3e438ec0f021b0d4817cdf9a5c730e +RWSagIOpLGJF30mJ8Oxy2Xv29Q7e58DWD3hKJ8cyNnhOAinAELNgT40EU0LqrXvWCTKuBHzD4ZmQtcIDiXMxb+ykgLNbE6uPhgw= +SHA256 (Pkgfile) = e451b03172e9403adeb3cb8bb36f65cb6870b02fb48ae2007138f96ca91bd753 +SHA256 (.footprint) = ece2d865016963cce97e128c51578c04742184df2b201c8431603f13e4649a87 SHA256 (xscreensaver-5.39.tar.gz) = 48ce1880f18b5321182be0c033aeceb5ec5628a1505b9d1ff69dbf06093c2426 +SHA256 (xscreensaver.pam) = bf8bfc428530824f4de3582481b21bad8c6d095ffbf91aa7173dda3e158604e1 diff --git a/xscreensaver/Pkgfile b/xscreensaver/Pkgfile index ccfd1e99..e46b4036 100644 --- a/xscreensaver/Pkgfile +++ b/xscreensaver/Pkgfile @@ -1,13 +1,13 @@ # Description: A screen saver and locker daemon for xorg. # URL: http://www.jwz.org/xscreensaver/ # Maintainer: Danny Rawlins, crux at romster dot me -# Packager: Jay Dolan, jdolan at jdolan dot dyndns dot org -# Depends on: bc fortune giflib glu libglade util-linux xorg-libxmu +# Depends on: bc fortune giflib glu libglade util-linux xorg-libxmu linux-pam name=xscreensaver version=5.39 -release=1 -source=(https://www.jwz.org/$name/$name-$version.tar.gz) +release=2 +source=(https://www.jwz.org/$name/$name-$version.tar.gz \ + $name.pam) build() { cd $name-$version @@ -37,4 +37,8 @@ build() { make install_prefix=$PKG install rm $PKG/usr/share/xscreensaver/config/README install -d $PKG/usr/share/wallpapers + + # PAM service file + install -D -m 0644 $SRC/$name.pam \ + $PKG/etc/pam.d/$name } diff --git a/xscreensaver/xscreensaver.pam b/xscreensaver/xscreensaver.pam new file mode 100644 index 00000000..c2d911c3 --- /dev/null +++ b/xscreensaver/xscreensaver.pam @@ -0,0 +1,7 @@ +# +# /etc/pam.d/xscreensaver - xscreensaver service module configuration +# + +auth include common-auth + +account include common-account
participants (1)
-
crux@crux.nu