summaryrefslogtreecommitdiff
path: root/data/openpam
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2018-08-15 11:10:57 -1000
committerSam Bingner <sam@bingner.com>2018-08-15 11:10:57 -1000
commit3c2e7cb049da35fff8715d510814dd55a1b5b697 (patch)
treeba8332459d128a86c4ff30914263717b0265b074 /data/openpam
parent1a78e13b7e37dca20f2d985a00010cc43d6a2a99 (diff)
Add debianutils, libfdk-aac, libgmp10, libidn2, libtasn1, libunistring, lz4, ncurses5-libs, and openpam to replace pam
Diffstat (limited to 'data/openpam')
-rw-r--r--data/openpam/OpenPAM-22.tar.gzbin0 -> 404714 bytes
-rw-r--r--data/openpam/_metadata/conflicts1
-rw-r--r--data/openpam/_metadata/depends1
-rw-r--r--data/openpam/_metadata/description1
-rw-r--r--data/openpam/_metadata/license41
-rw-r--r--data/openpam/_metadata/name1
-rwxr-xr-xdata/openpam/_metadata/preinst7
-rw-r--r--data/openpam/_metadata/priority1
-rw-r--r--data/openpam/_metadata/replaces1
-rw-r--r--data/openpam/_metadata/role1
-rw-r--r--data/openpam/_metadata/section1
-rw-r--r--data/openpam/_metadata/tags1
-rw-r--r--data/openpam/_metadata/version1
-rw-r--r--data/openpam/make.sh17
14 files changed, 75 insertions, 0 deletions
diff --git a/data/openpam/OpenPAM-22.tar.gz b/data/openpam/OpenPAM-22.tar.gz
new file mode 100644
index 000000000..7aeb00d13
--- /dev/null
+++ b/data/openpam/OpenPAM-22.tar.gz
Binary files differ
diff --git a/data/openpam/_metadata/conflicts b/data/openpam/_metadata/conflicts
new file mode 100644
index 000000000..dc83ed24f
--- /dev/null
+++ b/data/openpam/_metadata/conflicts
@@ -0,0 +1 @@
+pam
diff --git a/data/openpam/_metadata/depends b/data/openpam/_metadata/depends
new file mode 100644
index 000000000..2659dae3c
--- /dev/null
+++ b/data/openpam/_metadata/depends
@@ -0,0 +1 @@
+pam-modules
diff --git a/data/openpam/_metadata/description b/data/openpam/_metadata/description
new file mode 100644
index 000000000..dc932a230
--- /dev/null
+++ b/data/openpam/_metadata/description
@@ -0,0 +1 @@
+pluggable (comples) authentication modules
diff --git a/data/openpam/_metadata/license b/data/openpam/_metadata/license
new file mode 100644
index 000000000..2f27a2ee0
--- /dev/null
+++ b/data/openpam/_metadata/license
@@ -0,0 +1,41 @@
+Unless otherwise *explicitly* stated the following text describes the
+licensed conditions under which the contents of this Linux-PAM release
+may be distributed:
+
+-------------------------------------------------------------------------
+Redistribution and use in source and binary forms of Linux-PAM, with
+or without modification, are permitted provided that the following
+conditions are met:
+
+1. Redistributions of source code must retain any existing copyright
+ notice, and this entire permission notice in its entirety,
+ including the disclaimer of warranties.
+
+2. Redistributions in binary form must reproduce all prior and current
+ copyright notices, this list of conditions, and the following
+ disclaimer in the documentation and/or other materials provided
+ with the distribution.
+
+3. The name of any author may not be used to endorse or promote
+ products derived from this software without their specific prior
+ written permission.
+
+ALTERNATIVELY, this product may be distributed under the terms of the
+GNU General Public License, in which case the provisions of the GNU
+GPL are required INSTEAD OF the above restrictions. (This clause is
+necessary due to a potential conflict between the GNU GPL and the
+restrictions contained in a BSD-style copyright.)
+
+THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESS OR IMPLIED
+WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
+IN NO EVENT SHALL THE AUTHOR(S) BE LIABLE FOR ANY DIRECT, INDIRECT,
+INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
+BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS
+OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
+ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR
+TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE
+USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
+DAMAGE.
+-------------------------------------------------------------------------
+
diff --git a/data/openpam/_metadata/name b/data/openpam/_metadata/name
new file mode 100644
index 000000000..160c62122
--- /dev/null
+++ b/data/openpam/_metadata/name
@@ -0,0 +1 @@
+OpenPAM (Apple)
diff --git a/data/openpam/_metadata/preinst b/data/openpam/_metadata/preinst
new file mode 100755
index 000000000..498792bf9
--- /dev/null
+++ b/data/openpam/_metadata/preinst
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+if [[ $1 == install || $1 == upgrade ]]; then
+ /usr/libexec/cydia/move.sh /usr/lib/pam
+fi
+
+exit 0
diff --git a/data/openpam/_metadata/priority b/data/openpam/_metadata/priority
new file mode 100644
index 000000000..a6a7b9cd7
--- /dev/null
+++ b/data/openpam/_metadata/priority
@@ -0,0 +1 @@
+standard
diff --git a/data/openpam/_metadata/replaces b/data/openpam/_metadata/replaces
new file mode 100644
index 000000000..dc83ed24f
--- /dev/null
+++ b/data/openpam/_metadata/replaces
@@ -0,0 +1 @@
+pam
diff --git a/data/openpam/_metadata/role b/data/openpam/_metadata/role
new file mode 100644
index 000000000..52b4d7301
--- /dev/null
+++ b/data/openpam/_metadata/role
@@ -0,0 +1 @@
+hacker
diff --git a/data/openpam/_metadata/section b/data/openpam/_metadata/section
new file mode 100644
index 000000000..eb7a34ddd
--- /dev/null
+++ b/data/openpam/_metadata/section
@@ -0,0 +1 @@
+Administration
diff --git a/data/openpam/_metadata/tags b/data/openpam/_metadata/tags
new file mode 100644
index 000000000..a8928cec8
--- /dev/null
+++ b/data/openpam/_metadata/tags
@@ -0,0 +1 @@
+purpose::library
diff --git a/data/openpam/_metadata/version b/data/openpam/_metadata/version
new file mode 100644
index 000000000..2bd5a0a98
--- /dev/null
+++ b/data/openpam/_metadata/version
@@ -0,0 +1 @@
+22
diff --git a/data/openpam/make.sh b/data/openpam/make.sh
new file mode 100644
index 000000000..edbfaeac3
--- /dev/null
+++ b/data/openpam/make.sh
@@ -0,0 +1,17 @@
+pkg:setup
+
+pkg: mkdir -p /etc/pam.d
+for pam in pam.d/!(*.serverinstall); do
+ echo ${pam}
+ # XXX: fix pam_launchd
+ sed -re '/^#|.*pam_(deny|nologin|permit|rootok|securetty|unix|uwtmp|wheel).so/ ! s/^/#/; ' "${pam}" >"${PKG_DEST}/etc/${pam}"
+done
+
+cd openpam
+touch NEWS AUTHORS ChangeLog
+autoreconf -f -i
+pkg:configure --enable-fakeroot="${PKG_DEST}" --enable-read-both-confs --enable-sconfigdir=/etc/pam --enable-securedir=/usr/lib/pam --enable-giant-libpam --disable-libcrack ac_cv_c_bigendian=no
+
+CPATH=$(pwd):$CPATH
+make CC="${PKG_TARG}-gcc" AR="${PKG_TARG}-ar" LD="${PKG_TARG}-ld" RANLIB="${PKG_TARG}-ranlib"
+pkg:install