Initial commit
This commit is contained in:
@@ -0,0 +1,71 @@
|
||||
[build]
|
||||
type = "meson"
|
||||
|
||||
[build.flags]
|
||||
build_dir = "build"
|
||||
keep = [
|
||||
"etc/pam.d/*",
|
||||
"usr/share/pam/security/*",
|
||||
]
|
||||
post_install = [
|
||||
"mkdir -p $DESTDIR/etc/pam.d/",
|
||||
"cp $DEPOT_SPECDIR/other $DESTDIR/etc/pam.d/other",
|
||||
"cp $DEPOT_SPECDIR/system-password $DESTDIR/etc/pam.d/system-password",
|
||||
"cp $DEPOT_SPECDIR/system-session $DESTDIR/etc/pam.d/system-session",
|
||||
"cp $DEPOT_SPECDIR/system-auth $DESTDIR/etc/pam.d/system-auth",
|
||||
"cp $DEPOT_SPECDIR/system-account $DESTDIR/etc/pam.d/system-account",
|
||||
"rm -rfv $DESTDIR/usr/lib/systemd",
|
||||
]
|
||||
configure = [ "-Ddocs=disabled" ]
|
||||
build_32 = true
|
||||
post_install-lib32 = [ "rm -rfv $DESTDIR/etc" ]
|
||||
|
||||
[dependencies]
|
||||
build = [
|
||||
"meson",
|
||||
]
|
||||
runtime = [
|
||||
"glibc",
|
||||
"libxcrypt",
|
||||
]
|
||||
|
||||
[dependencies.lib32]
|
||||
runtime = [
|
||||
"lib32-glibc",
|
||||
"lib32-libxcrypt",
|
||||
]
|
||||
build = [
|
||||
"meson",
|
||||
]
|
||||
|
||||
[package]
|
||||
description = "Pluggable Authentication Modules used by the local system administrator to control how application programs authenticate users"
|
||||
homepage = "http://linux-pam.org"
|
||||
license = "BSD-3-Clause"
|
||||
name = "pam"
|
||||
version = "1.7.2"
|
||||
|
||||
[[source]]
|
||||
extract_dir = "$name-$version"
|
||||
sha256 = "3d86b6383fb5fd9eb9578d2cd47d92801191f4bf3f9bc61419bfefc8aa1e531a"
|
||||
url = "https://github.com/linux-pam/linux-pam/releases/download/v$version/Linux-PAM-$version.tar.xz"
|
||||
|
||||
[[manual_sources]]
|
||||
file = "other"
|
||||
sha256 = "skip"
|
||||
|
||||
[[manual_sources]]
|
||||
file = "system-password"
|
||||
sha256 = "skip"
|
||||
|
||||
[[manual_sources]]
|
||||
file = "system-session"
|
||||
sha256 = "skip"
|
||||
|
||||
[[manual_sources]]
|
||||
file = "system-auth"
|
||||
sha256 = "skip"
|
||||
|
||||
[[manual_sources]]
|
||||
file = "system-account"
|
||||
sha256 = "skip"
|
||||
Reference in New Issue
Block a user