summaryrefslogtreecommitdiff
path: root/repo/system/pam
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
committerdavidovski <david@davidovski.xyz>2022-05-31 11:05:19 +0100
commit48ca75555522716f0f686dcae3dd6cf3d8ad714d (patch)
tree00c0f58550ba4661e87376f2f02c8001c69bae44 /repo/system/pam
parent871b2b573f01c1b3176a0f65458b3d281b41c437 (diff)
removed idea of repos
Diffstat (limited to 'repo/system/pam')
-rw-r--r--repo/system/pam/other.pamd11
-rw-r--r--repo/system/pam/pam.xibuild46
-rw-r--r--repo/system/pam/system-account.pamd1
-rw-r--r--repo/system/pam/system-auth.pamd2
-rw-r--r--repo/system/pam/system-password.pamd3
-rw-r--r--repo/system/pam/system-session.pamd3
6 files changed, 0 insertions, 66 deletions
diff --git a/repo/system/pam/other.pamd b/repo/system/pam/other.pamd
deleted file mode 100644
index 20bdb74..0000000
--- a/repo/system/pam/other.pamd
+++ /dev/null
@@ -1,11 +0,0 @@
-
-auth required pam_warn.so
-auth required pam_deny.so
-account required pam_warn.so
-account required pam_deny.so
-password required pam_warn.so
-password required pam_deny.so
-session required pam_warn.so
-session required pam_deny.so
-
-
diff --git a/repo/system/pam/pam.xibuild b/repo/system/pam/pam.xibuild
deleted file mode 100644
index 366ec3c..0000000
--- a/repo/system/pam/pam.xibuild
+++ /dev/null
@@ -1,46 +0,0 @@
-#!/bin/sh
-
-MAKEDEPS="make automake"
-DEPS="musl libxcrypt"
-
-PKG_VER=1.5.2
-SOURCE=https://github.com/linux-pam/linux-pam/releases/download/v$PKG_VER/Linux-PAM-$PKG_VER.tar.xz
-ADDITIONAL="
- system-auth.pamd
- system-account.pamd
- system-password.pamd
- system-session.pamd
- other.pamd
-"
-DESC="PAM (Pluggable Authentication Modules) library"
-
-prepare () {
- # prevent install of an uneeded systemd file
- sed -e /service_DATA/d \
- -i modules/pam_namespace/Makefile.am &&
- autoreconf
-
-}
-
-build () {
- ./configure --prefix=/usr \
- --sbindir=/usr/sbin \
- --sysconfdir=/etc \
- --libdir=/usr/lib \
- --enable-securedir=/usr/lib/security \
- --docdir=/usr/share/doc/Linux-PAM-$PKG_VER &&
- make
-}
-
-package () {
- make DESTDIR=$PKG_DEST install
- install -m755 -d $PKG_DEST/etc/pam.d
-
- cp system-account.pamd $PKG_DEST/etc/pam.d/system-account
- cp system-auth.pamd $PKG_DEST/etc/pam.d/system-auth
- cp system-password.pamd $PKG_DEST/etc/pam.d/system-password
- cp system-session.pamd $PKG_DEST/etc/pam.d/system-session
- cp other.pamd $PKG_DEST/etc/pam.d/other
- [ -d $PKG_DEST/usr/lib/systemd ] && rm -r $PKG_DEST/usr/lib/systemd
- return 0
-}
diff --git a/repo/system/pam/system-account.pamd b/repo/system/pam/system-account.pamd
deleted file mode 100644
index b36f26d..0000000
--- a/repo/system/pam/system-account.pamd
+++ /dev/null
@@ -1 +0,0 @@
-account required pam_unix.so
diff --git a/repo/system/pam/system-auth.pamd b/repo/system/pam/system-auth.pamd
deleted file mode 100644
index 5f85baf..0000000
--- a/repo/system/pam/system-auth.pamd
+++ /dev/null
@@ -1,2 +0,0 @@
-auth required pam_unix.so
-
diff --git a/repo/system/pam/system-password.pamd b/repo/system/pam/system-password.pamd
deleted file mode 100644
index 56d5122..0000000
--- a/repo/system/pam/system-password.pamd
+++ /dev/null
@@ -1,3 +0,0 @@
-# basic PAM configuration for Alpine.
-
-password required pam_unix.so nullok md5 sha512 shadow try_first_pass
diff --git a/repo/system/pam/system-session.pamd b/repo/system/pam/system-session.pamd
deleted file mode 100644
index 5e25d29..0000000
--- a/repo/system/pam/system-session.pamd
+++ /dev/null
@@ -1,3 +0,0 @@
-
-session required pam_unix.so
-