commit b32adac5167155a399962c58b937f2bbb4dc4bf3 Author: Tim Biermann <tbier@posteo.de> Date: Wed Jul 28 15:05:48 2021 +0200 lightdm: dropped port diff --git a/lightdm/.footprint b/lightdm/.footprint deleted file mode 100644 index 6e8163634..000000000 --- a/lightdm/.footprint +++ /dev/null @@ -1,71 +0,0 @@ -drwxr-xr-x root/root etc/ -drwxr-xr-x root/root etc/dbus-1/ -drwxr-xr-x root/root etc/dbus-1/system.d/ --rw-r--r-- root/root etc/dbus-1/system.d/org.freedesktop.DisplayManager.conf -drwxr-xr-x root/root etc/lightdm/ --rwxr-xr-x root/root etc/lightdm/Xsession --rw-r--r-- root/root etc/lightdm/keys.conf --rw-r--r-- root/root etc/lightdm/lightdm.conf --rw-r--r-- root/root etc/lightdm/users.conf -drwxr-xr-x root/root etc/pam.d/ --rw-r--r-- root/root etc/pam.d/lightdm --rw-r--r-- root/root etc/pam.d/lightdm-autologin --rw-r--r-- root/root etc/pam.d/lightdm-greeter -drwxr-xr-x root/root etc/rc.d/ --rwxr-xr-x root/root etc/rc.d/lightdm -drwxr-xr-x root/root usr/ -drwxr-xr-x root/root usr/bin/ --rwxr-xr-x root/root usr/bin/dm-tool --rwxr-xr-x root/root usr/bin/lightdm -drwxr-xr-x root/root usr/include/ -drwxr-xr-x root/root usr/include/lightdm-gobject-1/ --rw-r--r-- root/root usr/include/lightdm-gobject-1/lightdm.h -drwxr-xr-x root/root usr/include/lightdm-gobject-1/lightdm/ --rw-r--r-- root/root usr/include/lightdm-gobject-1/lightdm/greeter.h --rw-r--r-- root/root usr/include/lightdm-gobject-1/lightdm/language.h --rw-r--r-- root/root usr/include/lightdm-gobject-1/lightdm/layout.h --rw-r--r-- root/root usr/include/lightdm-gobject-1/lightdm/power.h --rw-r--r-- root/root usr/include/lightdm-gobject-1/lightdm/session.h --rw-r--r-- root/root usr/include/lightdm-gobject-1/lightdm/system.h --rw-r--r-- root/root usr/include/lightdm-gobject-1/lightdm/user.h -drwxr-xr-x root/root usr/lib/ -drwxr-xr-x root/root usr/lib/girepository-1.0/ --rw-r--r-- root/root usr/lib/girepository-1.0/LightDM-1.typelib --rwxr-xr-x root/root usr/lib/liblightdm-gobject-1.la -lrwxrwxrwx root/root usr/lib/liblightdm-gobject-1.so -> liblightdm-gobject-1.so.0.0.0 -lrwxrwxrwx root/root usr/lib/liblightdm-gobject-1.so.0 -> liblightdm-gobject-1.so.0.0.0 --rwxr-xr-x root/root usr/lib/liblightdm-gobject-1.so.0.0.0 -drwxr-xr-x root/root usr/lib/lightdm/ --rwxr-xr-x root/root usr/lib/lightdm/lightdm-guest-session -drwxr-xr-x root/root usr/lib/pkgconfig/ --rw-r--r-- root/root usr/lib/pkgconfig/liblightdm-gobject-1.pc -drwxr-xr-x root/root usr/share/ -drwxr-xr-x root/root usr/share/accountsservice/ -drwxr-xr-x root/root usr/share/accountsservice/interfaces/ -lrwxrwxrwx root/root usr/share/accountsservice/interfaces/org.freedesktop.DisplayManager.AccountsService.xml -> ../../dbus-1/interfaces/org.freedesktop.DisplayManager.AccountsService.xml -drwxr-xr-x root/root usr/share/bash-completion/ -drwxr-xr-x root/root usr/share/bash-completion/completions/ --rw-r--r-- root/root usr/share/bash-completion/completions/dm-tool --rw-r--r-- root/root usr/share/bash-completion/completions/lightdm -drwxr-xr-x root/root usr/share/dbus-1/ -drwxr-xr-x root/root usr/share/dbus-1/interfaces/ --rw-r--r-- root/root usr/share/dbus-1/interfaces/org.freedesktop.DisplayManager.AccountsService.xml -drwxr-xr-x root/root usr/share/gir-1.0/ --rw-r--r-- root/root usr/share/gir-1.0/LightDM-1.gir -drwxr-xr-x root/root usr/share/man/ -drwxr-xr-x root/root usr/share/man/man1/ --rw-r--r-- root/root usr/share/man/man1/dm-tool.1.gz --rw-r--r-- root/root usr/share/man/man1/lightdm.1.gz -drwxr-xr-x root/root usr/share/polkit-1/ -drwxr-xr-x root/root usr/share/polkit-1/actions/ --rw-r--r-- root/root usr/share/polkit-1/actions/org.freedesktop.DisplayManager.AccountsService.policy -drwxr-x--- root/root usr/share/polkit-1/rules.d/ --rw-r--r-- root/root usr/share/polkit-1/rules.d/lightdm.rules -drwxr-xr-x root/root var/ -drwxr-xr-x root/root var/cache/ -drwxr-xr-t root/root var/cache/lightdm/ -drwxr-xr-x root/root var/lib/ -drwxrwx--T lightdm/lightdm var/lib/lightdm-data/ -drwxrwx--T lightdm/lightdm var/lib/lightdm/ -drwxr-xr-x root/root var/log/ -drwx--x--x root/lightdm var/log/lightdm/ diff --git a/lightdm/.signature b/lightdm/.signature deleted file mode 100644 index 80a8a7d94..000000000 --- a/lightdm/.signature +++ /dev/null @@ -1,12 +0,0 @@ -untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF32yfEd/oy7UKsoyWXO3crUbiFr46iT9CSPMcgPaqgRlmt/O2GBvnuLK4kSuiqfFjtDx0v5geJ0riXDuj7ELW6QQ= -SHA256 (Pkgfile) = b663810a5eeb0a1ae1699e27b29e7490fbb46e8db8a38f0b317073c9b12ffe87 -SHA256 (.footprint) = b5dda6f9fd58b39b7da8508471581b3b29193dcf703514ee24ce6f804ba5d676 -SHA256 (lightdm-1.30.0.tar.xz) = a118779650a3a5b20f05d53c4f9e377b484fbc1810a6b0914a60840d9a581f95 -SHA256 (Xsession) = d30321a1b490500483b8ed7825fcff2c24a7c760ac627789ff517693888ec3c5 -SHA256 (lightdm-default-config.patch) = 6f6f1005956702a489530a62f14f2ae54fd25a672e95689e3e0be68ebb7a3b91 -SHA256 (lightdm.rules) = a89566307e1c81c24f037d854cbd472d2f94f8a4b759877a01563a332319f7d6 -SHA256 (lightdm.service) = 50846712939d6aad19d47dcb07851c9c62169c6ba82d2f7550f026b09f6153ee -SHA256 (lightdm.pam) = 4f76dc1a5be8b3396c6784a2dfb057f0d9da81b412fc746099849e055be4b9fa -SHA256 (lightdm-autologin.pam) = 97a29f13a9d5347d8fc73caae9d9049da89648d59f4b39b4e9d761027f4b5e94 -SHA256 (lightdm-greeter.pam) = 4284df8abdd1e1764cbab3f07ddd2258303f12e69bd392b3246b51a01dcf2e1e diff --git a/lightdm/Pkgfile b/lightdm/Pkgfile deleted file mode 100644 index 4b83f1e7a..000000000 --- a/lightdm/Pkgfile +++ /dev/null @@ -1,62 +0,0 @@ -# Description: Lightweight Desktop Manager prefered by Mate Desktop -# URL: https://freedesktop.org/wiki/Software/LightDM/ -# Maintainer: Tim Biermann, tbier at posteo dot de -# Depends on: intltool itstool libgcrypt libxklavier linux-pam util-linux xorg-libxi xorg-libxkbfile - -name=lightdm -version=1.30.0 -release=4 -source=( -https://github.com/CanonicalLtd/lightdm/releases/download/$version/$name-$ve... - Xsession lightdm-default-config.patch lightdm.rules lightdm.service - lightdm.pam lightdm-autologin.pam lightdm-greeter.pam) - -build() { - cd $name-$version - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --localstatedir=/var \ - --sbindir=/usr/bin \ - --libexecdir=/usr/lib/$name \ - --enable-liblightdm-qt5=no \ - --with-greeter-user=lightdm \ - --with-greeter-session=lightdm-mini-greeter \ - --disable-static \ - --disable-nls \ - --disable-gtk-doc \ - --disable-tests - make - make DESTDIR=$PKG install - - rm -rf $PKG/usr/etc/init - - # install Xsession wrapper to use with lightdm - install -m 755 $SRC/Xsession $PKG/etc/lightdm/Xsession - install -dm 755 $PKG/var/cache/lightdm - install -dm 770 $PKG/var/lib/lightdm{,-data} - install -dm 711 $PKG/var/log/lightdm - chmod +t $PKG/var/{cache/lightdm,lib/lightdm{,-data}} - chown 620:620 -R $PKG/var/lib/lightdm{,-data} - chgrp 620 $PKG/var/log/lightdm - - # adjust users.conf to accept userid<500 - sed -i 's/500/100/g' $PKG/etc/lightdm/users.conf - - # install PolKit rules - install -dm 750 -g root $PKG/usr/share/polkit-1/rules.d - install -m 644 $SRC/lightdm.rules $PKG/usr/share/polkit-1/rules.d/lightdm.rules - - # install rc.d service - install -dm 755 $PKG/etc/rc.d - install -m 755 ../lightdm.service $PKG/etc/rc.d/lightdm - - # remove junk - rm -fr $PKG/usr/share/{locale,gtk-doc,help} - rm -fr $PKG/etc/{init,apparmor.d,pam.d} - - # install PAM configurations - install -d $PKG/etc/pam.d - install -m644 $SRC/lightdm.pam $PKG/etc/pam.d/lightdm - install -m644 $SRC/lightdm-autologin.pam $PKG/etc/pam.d/lightdm-autologin - install -m644 $SRC/lightdm-greeter.pam $PKG/etc/pam.d/lightdm-greeter -} diff --git a/lightdm/README b/lightdm/README deleted file mode 100644 index 4c0a67ade..000000000 --- a/lightdm/README +++ /dev/null @@ -1,14 +0,0 @@ -It is recommended that you put "UPGRADE ^usr/etc/.*$ NO" -into your /etc/pkgadd.conf, else the config will be overwritten -during update! - -You need to install a greeter for lightdm, you can find -lightdm-mini-greeter in my REPO or you can use autologin for a -singleuser session with PAM. - -Update March 2019: accountsservice seems to harddepend on at least -elogind, I have deleted the dependency and I am thinking about -removing the port. If you have interest in taking it over, leave -me a message. -I am bumping the release because I am not sure if something could -break. diff --git a/lightdm/Xsession b/lightdm/Xsession deleted file mode 100644 index 4a2a25ea1..000000000 --- a/lightdm/Xsession +++ /dev/null @@ -1,64 +0,0 @@ -#!/bin/sh -# -# LightDM wrapper to run around X sessions. - -echo "Running X session wrapper" - -# Load profile -for file in "/etc/profile" "$HOME/.profile" "/etc/xprofile" "$HOME/.xprofile"; do - if [ -f "$file" ]; then - echo "Loading profile from $file"; - . "$file" - fi -done - -# Load resources -for file in "/etc/X11/Xresources" "$HOME/.Xresources"; do - if [ -f "$file" ]; then - echo "Loading resource: $file" - xrdb -merge "$file" - fi -done - -# Load keymaps -for file in "/etc/X11/Xkbmap" "$HOME/.Xkbmap"; do - if [ -f "$file" ]; then - echo "Loading keymap: $file" - setxkbmap `cat "$file"` - XKB_IN_USE=yes - fi -done - -# Load xmodmap if not using XKB -if [ -z "$XKB_IN_USE" ]; then - for file in "/etc/X11/Xmodmap" "$HOME/.Xmodmap"; do - if [ -f "$file" ]; then - echo "Loading modmap: $file" - xmodmap "$file" - fi - done -fi - -unset XKB_IN_USE - -# Run all system xinitrc shell scripts -xinitdir="/etc/X11/xinit/xinitrc.d" -if [ -d "$xinitdir" ]; then - for script in $xinitdir/*; do - echo "Loading xinit script $script" - if [ -x "$script" -a ! -d "$script" ]; then - . "$script" - fi - done -fi - -# Run user xsession shell script -script="$HOME/.xsession" -if [ -x "$script" -a ! -d "$script" ]; then - echo "Loading xsession script $script" - . "$script" -fi - -echo "X session wrapper complete, running session $@" - -exec $@ diff --git a/lightdm/lightdm-autologin.pam b/lightdm/lightdm-autologin.pam deleted file mode 100644 index d0f6fab00..000000000 --- a/lightdm/lightdm-autologin.pam +++ /dev/null @@ -1,13 +0,0 @@ -# -# /etc/rc.d/lightdm-autologin -# - -auth required pam_nologin.so -auth required pam_env.so -auth required pam_permit.so - -account required pam_unix.so - -password required pam_deny.so - -session required pam_unix.so diff --git a/lightdm/lightdm-default-config.patch b/lightdm/lightdm-default-config.patch deleted file mode 100644 index c1ab9fc39..000000000 --- a/lightdm/lightdm-default-config.patch +++ /dev/null @@ -1,40 +0,0 @@ -diff -rupN lightdm-1.16.7.orig/data/lightdm.conf lightdm-1.16.7/data/lightdm.conf ---- lightdm-1.16.7.orig/data/lightdm.conf 2016-02-07 10:44:47.229197400 +0100 -+++ lightdm-1.16.7/data/lightdm.conf 2016-02-07 10:47:36.011855600 +0100 -@@ -21,13 +21,13 @@ - #start-default-seat=true - #greeter-user=lightdm - #minimum-display-number=0 --#minimum-vt=7 -+#minimum-vt=7 # Setting this to a value < 7 implies security issues, see FS#46799 - #lock-memory=true - #user-authority-in-system-dir=false - #guest-account-script=guest-account - #logind-check-graphical=false - #log-directory=/var/log/lightdm --#run-directory=/var/run/lightdm -+run-directory=/run/lightdm - #cache-directory=/var/cache/lightdm - #sessions-directory=/usr/share/lightdm/sessions:/usr/share/xsessions:/usr/share/wayland-sessions - #remote-sessions-directory=/usr/share/lightdm/remote-sessions -@@ -110,7 +110,7 @@ - #allow-user-switching=true - #allow-guest=true - #guest-session= --#session-wrapper=lightdm-session -+session-wrapper=/etc/lightdm/Xsession - #greeter-wrapper= - #guest-wrapper= - #display-setup-script= -diff -rupN lightdm-1.16.7.orig/data/users.conf lightdm-1.16.7/data/users.conf ---- lightdm-1.16.7.orig/data/users.conf 2016-02-07 10:44:47.224423000 +0100 -+++ lightdm-1.16.7/data/users.conf 2016-02-07 10:44:53.660216200 +0100 -@@ -9,6 +9,6 @@ - # hidden-shells = Shells that indicate a user cannot login - # - [UserList] --minimum-uid=500 -+minimum-uid=100 - hidden-users=nobody nobody4 noaccess --hidden-shells=/bin/false /usr/sbin/nologin -+hidden-shells=/bin/false /usr/bin/nologin diff --git a/lightdm/lightdm-greeter.pam b/lightdm/lightdm-greeter.pam deleted file mode 100644 index 6bdf57c53..000000000 --- a/lightdm/lightdm-greeter.pam +++ /dev/null @@ -1,12 +0,0 @@ -# -# /etc/pam.d/lightdm-greeter - lightdm-greeter module configuration -# - -auth required pam_env.so -auth required pam_permit.so - -account required pam_permit.so - -password required pam_deny.so - -session required pam_unix.so diff --git a/lightdm/lightdm.pam b/lightdm/lightdm.pam deleted file mode 100644 index c7a652473..000000000 --- a/lightdm/lightdm.pam +++ /dev/null @@ -1,10 +0,0 @@ -# -# /etc/pam.d/lightdm - lightdm service module configuration -# -auth include common-auth - -account include common-account - -password include common-password - -session include common-session diff --git a/lightdm/lightdm.rules b/lightdm/lightdm.rules deleted file mode 100644 index eda155bf3..000000000 --- a/lightdm/lightdm.rules +++ /dev/null @@ -1,15 +0,0 @@ -polkit.addRule(function(action, subject) { - if (subject.user == "lightdm") { - polkit.log("action=" + action); - polkit.log("subject=" + subject); - if (action.id.indexOf("org.freedesktop.login1.") == 0) { - return polkit.Result.YES; - } - if (action.id.indexOf("org.freedesktop.consolekit.system.") == 0) { - return polkit.Result.YES; - } - if (action.id.indexOf("org.freedesktop.upower.") == 0) { - return polkit.Result.YES; - } - } -}); diff --git a/lightdm/lightdm.service b/lightdm/lightdm.service deleted file mode 100644 index 7747623b4..000000000 --- a/lightdm/lightdm.service +++ /dev/null @@ -1,36 +0,0 @@ -#!/bin/sh -# -# /etc/rc.d/lightdm: start/stop lightdm -# - -SSD=/sbin/start-stop-daemon -PROG=/usr/bin/lightdm -OPTS="--pid-file=/var/run/lightdm/lightdm.pid" -RUNDIR=/var/run/lightdm -PIDFILE=$RUNDIR/lightdm.pid - -case $1 in - start) - $SSD --start --pidfile=$PIDFILE --exec $PROG -- $OPTS - ;; -stop) - $SSD --stop --retry 10 --pidfile=$PIDFILE - ;; -restart) - $0 stop - $0 start - ;; -status) - $SSD --status --exec $PROG - case $? in - 0) echo "$PROG is running with pid $(pidof $PROG)" ;; - 1) echo "$PROG is not running but the pid file $PID exists" ;; - 3) echo "$PROG is not running" ;; - 4) echo "Unable to determine the program status" ;; - esac - ;; -*) - echo "usage: $0 [start|stop|restart|status]" - ;; -esac - diff --git a/lightdm/pre-install b/lightdm/pre-install deleted file mode 100755 index cf1de8371..000000000 --- a/lightdm/pre-install +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh -getent group lightdm > /dev/null 2>&1 || groupadd -g 620 lightdm -getent passwd lightdm > /dev/null 2>&1 || useradd -c 'Light Display Manager' -u 620 -g lightdm -d /var/lib/lightdm -s /sbin/nologin lightdm -passwd -l lightdm > /dev/null