Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
32 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#%PAM-1.0 | ||
auth include system-auth | ||
account include system-auth | ||
session include system-auth |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# Template file for 'pleaser' | ||
pkgname=please | ||
_binary=please | ||
version=0.4.1 | ||
revision=1 | ||
wrksrc="${_binary}-v${version}" | ||
build_style=cargo | ||
makedepends="pam-devel" | ||
short_desc="Polite and easy to configure regex-first sudo alternative " | ||
maintainer="Ed Neville <ed@s5h.net>" | ||
license="GPL-3.0-or-later" | ||
homepage="https://www.usenix.org.uk/content/please.html" | ||
distfiles="https://gitlab.com/edneville/${_binary}/-/archive/v${version}/${_binary}-v${version}.tar.gz" | ||
checksum=0c81449d57a6bbbf1577d6474349f845e9a8c7a074b27fd1a4ef119ccd4f3c64 | ||
|
||
pre_build() { | ||
export CC_${RUST_BUILD//-/_}="${BUILD_CC}" | ||
} | ||
|
||
post_install() { | ||
local manpage | ||
vdoc README.md | ||
vman man/please.ini.5 | ||
vman man/please.1 | ||
vinstall ${FILESDIR}/please.pam 644 etc/pam.d please | ||
vinstall ${FILESDIR}/please.pam 644 etc/pam.d pleaseedit | ||
chmod 4755 $DESTDIR/usr/bin/please $DESTDIR/usr/bin/pleaseedit | ||
} |