From 2d1e6ccf85be3ef826d68f5773e54116124e752c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Thu, 10 Sep 2020 22:56:15 +0700 Subject: [PATCH] New package: pam_wrapper-1.1.3 --- common/shlibs | 1 + srcpkgs/pam_wrapper/template | 24 ++++++++++++++++++++++++ srcpkgs/python3-pypamtest | 1 + 3 files changed, 26 insertions(+) create mode 100644 srcpkgs/pam_wrapper/template create mode 120000 srcpkgs/python3-pypamtest diff --git a/common/shlibs b/common/shlibs index 04c50017e31..5bd95138da0 100644 --- a/common/shlibs +++ b/common/shlibs @@ -4045,3 +4045,4 @@ libtdb-wrap-samba4.so samba-libs-4.13.3_1 libutil-cmdline-samba4.so samba-libs-4.13.2_1 libwinbind-client-samba4.so samba-libs-4.13.2_1 libsixel.so.1 libsixel-1.8.6_1 +libpamtest.so.0 pam_wrapper-1.1.3_1 diff --git a/srcpkgs/pam_wrapper/template b/srcpkgs/pam_wrapper/template new file mode 100644 index 00000000000..ff5d9df688e --- /dev/null +++ b/srcpkgs/pam_wrapper/template @@ -0,0 +1,24 @@ +# Template file for 'pam_wrapper' +pkgname=pam_wrapper +version=1.1.3 +revision=1 +build_style=cmake +configure_args="-DCMAKE_BUILD_TYPE=None -DUNIT_TESTING=ON" +hostmakedepends="cmake python3" +makedepends="python3-devel pam-devel cmocka-devel" +short_desc="Tool to test PAM applications and modules" +maintainer="Đoàn Trần Công Danh " +license="GPL-3.0-or-later" +homepage="https://cwrap.org/pam_wrapper.html" +distfiles="https://www.samba.org/ftp/cwrap/pam_wrapper-${version}.tar.gz" +checksum=4feedd788c6fa36516f6d6060482cd86455998d72849eb5f539de48915bdc5f3 +lib32disabled=yes + +python3-pypamtest_package() { + lib32disabled=yes + short_desc+=" - Python 3 bindings" + depends="${sourcepkg}>=${version}_${revision} python3" + pkg_install() { + vmove usr/lib/python* + } +} diff --git a/srcpkgs/python3-pypamtest b/srcpkgs/python3-pypamtest new file mode 120000 index 00000000000..3ea00f9d1ad --- /dev/null +++ b/srcpkgs/python3-pypamtest @@ -0,0 +1 @@ +pam_wrapper \ No newline at end of file