mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-11-29 08:40:12 +01:00
2022-10-19 Fred Gleason <fredg@paravelsystems.com>
* Added an Ubuntu-specific pam(7) configuration. Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
@@ -23490,3 +23490,5 @@
|
||||
2022-10-13 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Added a 'RedHat Enterprise Linux 9' subsection to the
|
||||
'DISTRO-SPECIFIC NOTES' section of 'INSTALL'.
|
||||
2022-10-19 Fred Gleason <fredg@paravelsystems.com>
|
||||
* Added an Ubuntu-specific pam(7) configuration.
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
## Makefile.am
|
||||
##
|
||||
## (C) Copyright 2002-2021 Fred Gleason <fredg@paravelsystems.com>
|
||||
## (C) Copyright 2002-2022 Fred Gleason <fredg@paravelsystems.com>
|
||||
##
|
||||
## This program is free software; you can redistribute it and/or modify
|
||||
## it under the terms of the GNU General Public License version 2 as
|
||||
@@ -22,7 +22,7 @@ install-exec-am:
|
||||
mkdir -p $(DESTDIR)/$(sysconfdir)
|
||||
cp rd-bin.conf $(DESTDIR)/$(sysconfdir)/
|
||||
mkdir -p $(DESTDIR)/etc/pam.d
|
||||
cp rivendell.pam $(DESTDIR)/etc/pam.d/rivendell
|
||||
cp @RIVENDELL_PAM_FILE@ $(DESTDIR)/etc/pam.d/rivendell
|
||||
|
||||
uninstall:
|
||||
rm -f $(DESTDIR)/$(sysconfdir)/rd-bin.conf
|
||||
@@ -32,7 +32,8 @@ EXTRA_DIST = asound.conf-sample\
|
||||
logrotate-sample\
|
||||
rd-bin.conf.in\
|
||||
rd.conf-sample\
|
||||
rivendell.pam\
|
||||
rivendell-rhel.pam\
|
||||
rivendell-ubuntu.pam\
|
||||
rivendell-env.sh\
|
||||
rivendell-webapi.conf\
|
||||
syslog.conf-sample
|
||||
|
||||
8
conf/rivendell-ubuntu.pam
Normal file
8
conf/rivendell-ubuntu.pam
Normal file
@@ -0,0 +1,8 @@
|
||||
#
|
||||
# /etc/pam.d/rivendell - Ubuntu PAM plug-in for Rivendell
|
||||
#
|
||||
|
||||
@include common-auth
|
||||
@include common-account
|
||||
@include common-password
|
||||
@include common-session
|
||||
@@ -149,6 +149,7 @@ case "$ar_distro_id" in
|
||||
AC_SUBST(RDALSACONFIG_DESKTOP_FILE,"rivendell-rdalsaconfig-sudo.desktop")
|
||||
AC_SUBST(RDDBCONFIG_DESKTOP_FILE,"rivendell-rddbconfig-sudo.desktop")
|
||||
AC_SUBST(PYPAD_DEPS,"python3 python3-pycurl python3-requests python3-pyserial python3-mysql python3-urllib3")
|
||||
AC_SUBST(RIVENDELL_PAM_FILE,"rivendell-ubuntu.pam")
|
||||
;;
|
||||
|
||||
raspbian)
|
||||
@@ -166,6 +167,7 @@ case "$ar_distro_id" in
|
||||
AC_SUBST(RDALSACONFIG_DESKTOP_FILE,"rivendell-rdalsaconfig-sudo.desktop")
|
||||
AC_SUBST(RDDBCONFIG_DESKTOP_FILE,"rivendell-rddbconfig-sudo.desktop")
|
||||
AC_SUBST(PYPAD_DEPS,"python3 python3-pycurl python3-requests python3-pyserial python3-mysql python3-urllib3")
|
||||
AC_SUBST(RIVENDELL_PAM_FILE,"rivendell-ubuntu.pam")
|
||||
;;
|
||||
|
||||
ubuntu)
|
||||
@@ -183,6 +185,7 @@ case "$ar_distro_id" in
|
||||
AC_SUBST(RDALSACONFIG_DESKTOP_FILE,"rivendell-rdalsaconfig-sudo.desktop")
|
||||
AC_SUBST(RDDBCONFIG_DESKTOP_FILE,"rivendell-rddbconfig-sudo.desktop")
|
||||
AC_SUBST(PYPAD_DEPS,"python3 python3-pycurl python3-requests python3-pyserial python3-mysql python3-urllib3")
|
||||
AC_SUBST(RIVENDELL_PAM_FILE,"rivendell-ubuntu.pam")
|
||||
;;
|
||||
|
||||
centos|fedora|rhel|rocky)
|
||||
@@ -214,6 +217,7 @@ case "$ar_distro_id" in
|
||||
else
|
||||
AC_SUBST(PYPAD_DEPS,"python3 python3-pycurl python3-requests python3-pyserial python3-mysql python3-urllib3")
|
||||
fi
|
||||
AC_SUBST(RIVENDELL_PAM_FILE,"rivendell-rhel.pam")
|
||||
;;
|
||||
|
||||
*)
|
||||
@@ -229,6 +233,7 @@ case "$ar_distro_id" in
|
||||
AC_SUBST(RDALSACONFIG_DESKTOP_FILE,"rivendell-rdalsaconfig.desktop")
|
||||
AC_SUBST(RDDBCONFIG_DESKTOP_FILE,"rivendell-rddbconfig.desktop")
|
||||
AC_SUBST(PYPAD_DEPS,"python3 python3-pycurl python3-requests python3-pyserial python3-mysql python3-urllib3")
|
||||
AC_SUBST(RIVENDELL_PAM_FILE,"rivendell-rhel.pam")
|
||||
;;
|
||||
esac
|
||||
|
||||
|
||||
Reference in New Issue
Block a user