summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/debianutils/_metadata/description1
-rw-r--r--data/debianutils/_metadata/homepage1
l---------data/debianutils/_metadata/license1
-rw-r--r--data/debianutils/_metadata/name1
-rw-r--r--data/debianutils/_metadata/priority1
-rw-r--r--data/debianutils/_metadata/role (renamed from data/pam/_metadata/role)0
-rw-r--r--data/debianutils/_metadata/section1
-rw-r--r--data/debianutils/_metadata/tags1
-rw-r--r--data/debianutils/_metadata/version1
-rw-r--r--data/debianutils/control11
-rw-r--r--data/debianutils/debian-binary1
-rw-r--r--data/debianutils/debianutils_4.8.6.tar.xzbin0 -> 156532 bytes
-rw-r--r--data/debianutils/make.sh5
-rw-r--r--data/libfdk-aac/_metadata/description1
-rw-r--r--data/libfdk-aac/_metadata/name1
-rw-r--r--data/libfdk-aac/_metadata/priority1
-rw-r--r--data/libfdk-aac/_metadata/role1
-rw-r--r--data/libfdk-aac/_metadata/section1
-rw-r--r--data/libfdk-aac/_metadata/tags (renamed from data/pam/_metadata/tags)0
-rw-r--r--data/libfdk-aac/_metadata/version1
-rw-r--r--data/libfdk-aac/make.sh5
-rw-r--r--data/libfdk-aac/v0.1.6.tar.gzbin0 -> 1725692 bytes
-rw-r--r--data/libgmp10/_metadata/description1
-rw-r--r--data/libgmp10/_metadata/homepage1
l---------data/libgmp10/_metadata/license1
-rw-r--r--data/libgmp10/_metadata/name1
-rw-r--r--data/libgmp10/_metadata/priority1
-rw-r--r--data/libgmp10/_metadata/role1
-rw-r--r--data/libgmp10/_metadata/section1
-rw-r--r--data/libgmp10/_metadata/tags1
-rw-r--r--data/libgmp10/_metadata/version1
-rw-r--r--data/libgmp10/gmp-6.1.2.tar.xzbin0 -> 1946336 bytes
-rw-r--r--data/libgmp10/llvmasm.diff15
-rw-r--r--data/libgmp10/make.sh4
-rw-r--r--data/libidn2/_metadata/description1
-rw-r--r--data/libidn2/_metadata/homepage1
l---------data/libidn2/_metadata/license1
-rw-r--r--data/libidn2/_metadata/priority1
-rw-r--r--data/libidn2/_metadata/role1
-rw-r--r--data/libidn2/_metadata/section1
-rw-r--r--data/libidn2/_metadata/tags1
-rw-r--r--data/libidn2/_metadata/version1
-rw-r--r--data/libidn2/libidn2-2.0.5.tar.gzbin0 -> 2091929 bytes
-rw-r--r--data/libidn2/make.sh4
-rw-r--r--data/libtasn1/_metadata/description1
-rw-r--r--data/libtasn1/_metadata/homepage1
l---------data/libtasn1/_metadata/license1
-rw-r--r--data/libtasn1/_metadata/priority1
-rw-r--r--data/libtasn1/_metadata/role1
-rw-r--r--data/libtasn1/_metadata/section1
-rw-r--r--data/libtasn1/_metadata/tags1
-rw-r--r--data/libtasn1/_metadata/version1
-rw-r--r--data/libtasn1/libtasn1-4.13.tar.gzbin0 -> 1891703 bytes
-rw-r--r--data/libtasn1/make.sh4
-rw-r--r--data/libunistring/_metadata/description1
-rw-r--r--data/libunistring/_metadata/homepage1
l---------data/libunistring/_metadata/license1
-rw-r--r--data/libunistring/_metadata/priority1
-rw-r--r--data/libunistring/_metadata/role1
-rw-r--r--data/libunistring/_metadata/section1
-rw-r--r--data/libunistring/_metadata/tags1
-rw-r--r--data/libunistring/_metadata/version1
-rw-r--r--data/libunistring/libunistring-0.9.10.tar.xzbin0 -> 2051320 bytes
-rw-r--r--data/libunistring/make.sh4
-rw-r--r--data/lz4/_metadata/description1
-rw-r--r--data/lz4/_metadata/homepage1
l---------data/lz4/_metadata/license1
-rw-r--r--data/lz4/_metadata/name1
-rw-r--r--data/lz4/_metadata/priority1
-rw-r--r--data/lz4/_metadata/role1
-rw-r--r--data/lz4/_metadata/section1
-rw-r--r--data/lz4/_metadata/tags1
-rw-r--r--data/lz4/_metadata/version1
-rw-r--r--data/lz4/make.sh23
-rw-r--r--data/lz4/v1.7.5.tar.gzbin0 -> 208019 bytes
-rw-r--r--data/ncurses5-libs/_metadata/description1
-rw-r--r--data/ncurses5-libs/_metadata/license27
-rw-r--r--data/ncurses5-libs/_metadata/name1
-rw-r--r--data/ncurses5-libs/_metadata/priority1
-rw-r--r--data/ncurses5-libs/_metadata/role1
-rw-r--r--data/ncurses5-libs/_metadata/section1
-rw-r--r--data/ncurses5-libs/_metadata/tags1
-rw-r--r--data/ncurses5-libs/_metadata/version1
-rw-r--r--data/ncurses5-libs/clang.diff43
-rw-r--r--data/ncurses5-libs/configsub.diff751
-rw-r--r--data/ncurses5-libs/make.sh25
-rw-r--r--data/ncurses5-libs/ncurses-5.9.tar.gzbin0 -> 2826473 bytes
-rw-r--r--data/ncurses5-libs/xopen.diff18
-rw-r--r--data/openpam/OpenPAM-22.tar.gzbin0 -> 404714 bytes
-rw-r--r--data/openpam/_metadata/conflicts1
-rw-r--r--data/openpam/_metadata/depends (renamed from data/pam/_metadata/depends)0
-rw-r--r--data/openpam/_metadata/description (renamed from data/pam/_metadata/description)0
-rw-r--r--data/openpam/_metadata/license (renamed from data/pam/_metadata/license)0
-rw-r--r--data/openpam/_metadata/name1
-rwxr-xr-xdata/openpam/_metadata/preinst (renamed from data/pam/_metadata/preinst)0
-rw-r--r--data/openpam/_metadata/priority (renamed from data/pam/_metadata/priority)0
-rw-r--r--data/openpam/_metadata/replaces1
-rw-r--r--data/openpam/_metadata/role1
-rw-r--r--data/openpam/_metadata/section (renamed from data/pam/_metadata/section)0
-rw-r--r--data/openpam/_metadata/tags1
-rw-r--r--data/openpam/_metadata/version1
-rw-r--r--data/openpam/make.sh (renamed from data/pam/make.sh)17
l---------data/pam/_metadata/maintainer1
-rw-r--r--data/pam/_metadata/name1
-rw-r--r--data/pam/_metadata/version1
-rw-r--r--data/pam/ar.diff12
-rw-r--r--data/pam/cc.diff14
-rw-r--r--data/pam/lipo.diff21
-rw-r--r--data/pam/make.diff18
-rw-r--r--data/pam/pam-32.1.tar.gzbin459113 -> 0 bytes
-rw-r--r--data/pam/uname.diff12
111 files changed, 1012 insertions, 94 deletions
diff --git a/data/debianutils/_metadata/description b/data/debianutils/_metadata/description
new file mode 100644
index 000000000..67519a2e9
--- /dev/null
+++ b/data/debianutils/_metadata/description
@@ -0,0 +1 @@
+slower, but better, compression algorithm
diff --git a/data/debianutils/_metadata/homepage b/data/debianutils/_metadata/homepage
new file mode 100644
index 000000000..57f36586c
--- /dev/null
+++ b/data/debianutils/_metadata/homepage
@@ -0,0 +1 @@
+http://tukaani.org/lzma/
diff --git a/data/debianutils/_metadata/license b/data/debianutils/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/debianutils/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/debianutils/_metadata/name b/data/debianutils/_metadata/name
new file mode 100644
index 000000000..a3302a2f0
--- /dev/null
+++ b/data/debianutils/_metadata/name
@@ -0,0 +1 @@
+LZMA Utils
diff --git a/data/debianutils/_metadata/priority b/data/debianutils/_metadata/priority
new file mode 100644
index 000000000..fad9e164a
--- /dev/null
+++ b/data/debianutils/_metadata/priority
@@ -0,0 +1 @@
+required
diff --git a/data/pam/_metadata/role b/data/debianutils/_metadata/role
index 52b4d7301..52b4d7301 100644
--- a/data/pam/_metadata/role
+++ b/data/debianutils/_metadata/role
diff --git a/data/debianutils/_metadata/section b/data/debianutils/_metadata/section
new file mode 100644
index 000000000..19814b684
--- /dev/null
+++ b/data/debianutils/_metadata/section
@@ -0,0 +1 @@
+Utilities
diff --git a/data/debianutils/_metadata/tags b/data/debianutils/_metadata/tags
new file mode 100644
index 000000000..ad5d50831
--- /dev/null
+++ b/data/debianutils/_metadata/tags
@@ -0,0 +1 @@
+purpose::console
diff --git a/data/debianutils/_metadata/version b/data/debianutils/_metadata/version
new file mode 100644
index 000000000..7ea59483d
--- /dev/null
+++ b/data/debianutils/_metadata/version
@@ -0,0 +1 @@
+4.8.6
diff --git a/data/debianutils/control b/data/debianutils/control
new file mode 100644
index 000000000..5a3664967
--- /dev/null
+++ b/data/debianutils/control
@@ -0,0 +1,11 @@
+Package: debianutils
+Essential: yes
+Priority: required
+Section: Utilities
+Installed-Size: 40
+Maintainer: Jay Freeman (saurik) <saurik@saurik.com>
+Architecture: iphoneos-arm
+Version: 3.3.3ubuntu1-1p
+Pre-Depends: dpkg (>= 1.14.25-8)
+Description: pretty much just run-parts. yep? run-parts
+Name: Debian Utilities
diff --git a/data/debianutils/debian-binary b/data/debianutils/debian-binary
new file mode 100644
index 000000000..cd5ac039d
--- /dev/null
+++ b/data/debianutils/debian-binary
@@ -0,0 +1 @@
+2.0
diff --git a/data/debianutils/debianutils_4.8.6.tar.xz b/data/debianutils/debianutils_4.8.6.tar.xz
new file mode 100644
index 000000000..de06c81d4
--- /dev/null
+++ b/data/debianutils/debianutils_4.8.6.tar.xz
Binary files differ
diff --git a/data/debianutils/make.sh b/data/debianutils/make.sh
new file mode 100644
index 000000000..6f4e707c5
--- /dev/null
+++ b/data/debianutils/make.sh
@@ -0,0 +1,5 @@
+pkg:setup
+pkg:configure
+make
+pkg: mkdir -p /bin
+pkg: cp -a run-parts /bin
diff --git a/data/libfdk-aac/_metadata/description b/data/libfdk-aac/_metadata/description
new file mode 100644
index 000000000..507c31c9b
--- /dev/null
+++ b/data/libfdk-aac/_metadata/description
@@ -0,0 +1 @@
+ standalone library of the Fraunhofer FDK AAC code from Android
diff --git a/data/libfdk-aac/_metadata/name b/data/libfdk-aac/_metadata/name
new file mode 100644
index 000000000..71809bc54
--- /dev/null
+++ b/data/libfdk-aac/_metadata/name
@@ -0,0 +1 @@
+FDK-AAC
diff --git a/data/libfdk-aac/_metadata/priority b/data/libfdk-aac/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/libfdk-aac/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/libfdk-aac/_metadata/role b/data/libfdk-aac/_metadata/role
new file mode 100644
index 000000000..8d0320866
--- /dev/null
+++ b/data/libfdk-aac/_metadata/role
@@ -0,0 +1 @@
+developer
diff --git a/data/libfdk-aac/_metadata/section b/data/libfdk-aac/_metadata/section
new file mode 100644
index 000000000..593877746
--- /dev/null
+++ b/data/libfdk-aac/_metadata/section
@@ -0,0 +1 @@
+Multimedia
diff --git a/data/pam/_metadata/tags b/data/libfdk-aac/_metadata/tags
index a8928cec8..a8928cec8 100644
--- a/data/pam/_metadata/tags
+++ b/data/libfdk-aac/_metadata/tags
diff --git a/data/libfdk-aac/_metadata/version b/data/libfdk-aac/_metadata/version
new file mode 100644
index 000000000..c946ee616
--- /dev/null
+++ b/data/libfdk-aac/_metadata/version
@@ -0,0 +1 @@
+0.1.6
diff --git a/data/libfdk-aac/make.sh b/data/libfdk-aac/make.sh
new file mode 100644
index 000000000..66a4b2105
--- /dev/null
+++ b/data/libfdk-aac/make.sh
@@ -0,0 +1,5 @@
+pkg:setup
+./autogen.sh
+pkg:configure
+make
+pkg:install
diff --git a/data/libfdk-aac/v0.1.6.tar.gz b/data/libfdk-aac/v0.1.6.tar.gz
new file mode 100644
index 000000000..940a888ab
--- /dev/null
+++ b/data/libfdk-aac/v0.1.6.tar.gz
Binary files differ
diff --git a/data/libgmp10/_metadata/description b/data/libgmp10/_metadata/description
new file mode 100644
index 000000000..cdb1991c1
--- /dev/null
+++ b/data/libgmp10/_metadata/description
@@ -0,0 +1 @@
+GMP is a free library for arbitrary precision arithmetic, operating on signed integers, rational numbers, and floating-point numbers. There is no practical limit to the precision except the ones implied by the available memory in the machine GMP runs on. GMP has a rich set of functions, and the functions have a regular interface.
diff --git a/data/libgmp10/_metadata/homepage b/data/libgmp10/_metadata/homepage
new file mode 100644
index 000000000..c162f8d85
--- /dev/null
+++ b/data/libgmp10/_metadata/homepage
@@ -0,0 +1 @@
+https://gmplib.org/
diff --git a/data/libgmp10/_metadata/license b/data/libgmp10/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/libgmp10/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/libgmp10/_metadata/name b/data/libgmp10/_metadata/name
new file mode 100644
index 000000000..520d345a1
--- /dev/null
+++ b/data/libgmp10/_metadata/name
@@ -0,0 +1 @@
+GNU Multiple Precision Arithmetic Library
diff --git a/data/libgmp10/_metadata/priority b/data/libgmp10/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/libgmp10/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/libgmp10/_metadata/role b/data/libgmp10/_metadata/role
new file mode 100644
index 000000000..8d0320866
--- /dev/null
+++ b/data/libgmp10/_metadata/role
@@ -0,0 +1 @@
+developer
diff --git a/data/libgmp10/_metadata/section b/data/libgmp10/_metadata/section
new file mode 100644
index 000000000..4b487b7d5
--- /dev/null
+++ b/data/libgmp10/_metadata/section
@@ -0,0 +1 @@
+Security
diff --git a/data/libgmp10/_metadata/tags b/data/libgmp10/_metadata/tags
new file mode 100644
index 000000000..a8928cec8
--- /dev/null
+++ b/data/libgmp10/_metadata/tags
@@ -0,0 +1 @@
+purpose::library
diff --git a/data/libgmp10/_metadata/version b/data/libgmp10/_metadata/version
new file mode 100644
index 000000000..5e3254243
--- /dev/null
+++ b/data/libgmp10/_metadata/version
@@ -0,0 +1 @@
+6.1.2
diff --git a/data/libgmp10/gmp-6.1.2.tar.xz b/data/libgmp10/gmp-6.1.2.tar.xz
new file mode 100644
index 000000000..41988ae93
--- /dev/null
+++ b/data/libgmp10/gmp-6.1.2.tar.xz
Binary files differ
diff --git a/data/libgmp10/llvmasm.diff b/data/libgmp10/llvmasm.diff
new file mode 100644
index 000000000..3ad8e5ce9
--- /dev/null
+++ b/data/libgmp10/llvmasm.diff
@@ -0,0 +1,15 @@
+diff -ur gmp-6.1.2/mpn/arm64/invert_limb.asm gmp-6.1.2+iPhone/mpn/arm64/invert_limb.asm
+--- gmp-6.1.2/mpn/arm64/invert_limb.asm 2016-12-16 05:45:27.000000000 -1000
++++ gmp-6.1.2+iPhone/mpn/arm64/invert_limb.asm 2018-08-04 23:39:34.000000000 -1000
+@@ -41,9 +41,9 @@
+ ASM_START()
+ PROLOGUE(mpn_invert_limb)
+ lsr x2, x0, #54
+- adrp x1, approx_tab
++ adrp x1, approx_tab@PAGE
+ and x2, x2, #0x1fe
+- add x1, x1, :lo12:approx_tab
++ add x1, x1, approx_tab@PAGEOFF
+ ldrh w3, [x1,x2]
+ lsr x4, x0, #24
+ add x4, x4, #1
diff --git a/data/libgmp10/make.sh b/data/libgmp10/make.sh
new file mode 100644
index 000000000..42c34de6b
--- /dev/null
+++ b/data/libgmp10/make.sh
@@ -0,0 +1,4 @@
+pkg:setup
+pkg:configure --with-libgcrypt-prefix="$(PKG_DEST_ gcrypt)/usr"
+pkg:make -j8
+pkg:install
diff --git a/data/libidn2/_metadata/description b/data/libidn2/_metadata/description
new file mode 100644
index 000000000..ad0247f25
--- /dev/null
+++ b/data/libidn2/_metadata/description
@@ -0,0 +1 @@
+Libidn2 is an implementation of the IDNA2008 + TR46 specifications
diff --git a/data/libidn2/_metadata/homepage b/data/libidn2/_metadata/homepage
new file mode 100644
index 000000000..aefc14e03
--- /dev/null
+++ b/data/libidn2/_metadata/homepage
@@ -0,0 +1 @@
+https://www.gnu.org/software/libidn/#libidn2
diff --git a/data/libidn2/_metadata/license b/data/libidn2/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/libidn2/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/libidn2/_metadata/priority b/data/libidn2/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/libidn2/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/libidn2/_metadata/role b/data/libidn2/_metadata/role
new file mode 100644
index 000000000..8d0320866
--- /dev/null
+++ b/data/libidn2/_metadata/role
@@ -0,0 +1 @@
+developer
diff --git a/data/libidn2/_metadata/section b/data/libidn2/_metadata/section
new file mode 100644
index 000000000..4b487b7d5
--- /dev/null
+++ b/data/libidn2/_metadata/section
@@ -0,0 +1 @@
+Security
diff --git a/data/libidn2/_metadata/tags b/data/libidn2/_metadata/tags
new file mode 100644
index 000000000..a8928cec8
--- /dev/null
+++ b/data/libidn2/_metadata/tags
@@ -0,0 +1 @@
+purpose::library
diff --git a/data/libidn2/_metadata/version b/data/libidn2/_metadata/version
new file mode 100644
index 000000000..5e3254243
--- /dev/null
+++ b/data/libidn2/_metadata/version
@@ -0,0 +1 @@
+6.1.2
diff --git a/data/libidn2/libidn2-2.0.5.tar.gz b/data/libidn2/libidn2-2.0.5.tar.gz
new file mode 100644
index 000000000..06e2a9825
--- /dev/null
+++ b/data/libidn2/libidn2-2.0.5.tar.gz
Binary files differ
diff --git a/data/libidn2/make.sh b/data/libidn2/make.sh
new file mode 100644
index 000000000..8780dfc63
--- /dev/null
+++ b/data/libidn2/make.sh
@@ -0,0 +1,4 @@
+pkg:setup
+pkg:configure
+pkg:make -j8
+pkg:install
diff --git a/data/libtasn1/_metadata/description b/data/libtasn1/_metadata/description
new file mode 100644
index 000000000..003996f74
--- /dev/null
+++ b/data/libtasn1/_metadata/description
@@ -0,0 +1 @@
+Libtasn1 is the ASN.1 library used by GnuTLS, p11-kit and some other packages
diff --git a/data/libtasn1/_metadata/homepage b/data/libtasn1/_metadata/homepage
new file mode 100644
index 000000000..b97311e7c
--- /dev/null
+++ b/data/libtasn1/_metadata/homepage
@@ -0,0 +1 @@
+https://www.gnu.org/software/libtasn1
diff --git a/data/libtasn1/_metadata/license b/data/libtasn1/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/libtasn1/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/libtasn1/_metadata/priority b/data/libtasn1/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/libtasn1/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/libtasn1/_metadata/role b/data/libtasn1/_metadata/role
new file mode 100644
index 000000000..8d0320866
--- /dev/null
+++ b/data/libtasn1/_metadata/role
@@ -0,0 +1 @@
+developer
diff --git a/data/libtasn1/_metadata/section b/data/libtasn1/_metadata/section
new file mode 100644
index 000000000..4b487b7d5
--- /dev/null
+++ b/data/libtasn1/_metadata/section
@@ -0,0 +1 @@
+Security
diff --git a/data/libtasn1/_metadata/tags b/data/libtasn1/_metadata/tags
new file mode 100644
index 000000000..a8928cec8
--- /dev/null
+++ b/data/libtasn1/_metadata/tags
@@ -0,0 +1 @@
+purpose::library
diff --git a/data/libtasn1/_metadata/version b/data/libtasn1/_metadata/version
new file mode 100644
index 000000000..8c3a0151b
--- /dev/null
+++ b/data/libtasn1/_metadata/version
@@ -0,0 +1 @@
+4.13
diff --git a/data/libtasn1/libtasn1-4.13.tar.gz b/data/libtasn1/libtasn1-4.13.tar.gz
new file mode 100644
index 000000000..dbcfc7f8f
--- /dev/null
+++ b/data/libtasn1/libtasn1-4.13.tar.gz
Binary files differ
diff --git a/data/libtasn1/make.sh b/data/libtasn1/make.sh
new file mode 100644
index 000000000..8780dfc63
--- /dev/null
+++ b/data/libtasn1/make.sh
@@ -0,0 +1,4 @@
+pkg:setup
+pkg:configure
+pkg:make -j8
+pkg:install
diff --git a/data/libunistring/_metadata/description b/data/libunistring/_metadata/description
new file mode 100644
index 000000000..6de3a1a3d
--- /dev/null
+++ b/data/libunistring/_metadata/description
@@ -0,0 +1 @@
+Unicode string library for C
diff --git a/data/libunistring/_metadata/homepage b/data/libunistring/_metadata/homepage
new file mode 100644
index 000000000..82ca654f7
--- /dev/null
+++ b/data/libunistring/_metadata/homepage
@@ -0,0 +1 @@
+https://www.gnu.org/software/libunistring/
diff --git a/data/libunistring/_metadata/license b/data/libunistring/_metadata/license
new file mode 120000
index 000000000..141b2e41b
--- /dev/null
+++ b/data/libunistring/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/lgpl-3 \ No newline at end of file
diff --git a/data/libunistring/_metadata/priority b/data/libunistring/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/libunistring/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/libunistring/_metadata/role b/data/libunistring/_metadata/role
new file mode 100644
index 000000000..8d0320866
--- /dev/null
+++ b/data/libunistring/_metadata/role
@@ -0,0 +1 @@
+developer
diff --git a/data/libunistring/_metadata/section b/data/libunistring/_metadata/section
new file mode 100644
index 000000000..4b487b7d5
--- /dev/null
+++ b/data/libunistring/_metadata/section
@@ -0,0 +1 @@
+Security
diff --git a/data/libunistring/_metadata/tags b/data/libunistring/_metadata/tags
new file mode 100644
index 000000000..a8928cec8
--- /dev/null
+++ b/data/libunistring/_metadata/tags
@@ -0,0 +1 @@
+purpose::library
diff --git a/data/libunistring/_metadata/version b/data/libunistring/_metadata/version
new file mode 100644
index 000000000..56f315114
--- /dev/null
+++ b/data/libunistring/_metadata/version
@@ -0,0 +1 @@
+0.9.10
diff --git a/data/libunistring/libunistring-0.9.10.tar.xz b/data/libunistring/libunistring-0.9.10.tar.xz
new file mode 100644
index 000000000..67b55e18c
--- /dev/null
+++ b/data/libunistring/libunistring-0.9.10.tar.xz
Binary files differ
diff --git a/data/libunistring/make.sh b/data/libunistring/make.sh
new file mode 100644
index 000000000..8780dfc63
--- /dev/null
+++ b/data/libunistring/make.sh
@@ -0,0 +1,4 @@
+pkg:setup
+pkg:configure
+pkg:make -j8
+pkg:install
diff --git a/data/lz4/_metadata/description b/data/lz4/_metadata/description
new file mode 100644
index 000000000..547cd1b2b
--- /dev/null
+++ b/data/lz4/_metadata/description
@@ -0,0 +1 @@
+Extremely Fast Compression algorithm
diff --git a/data/lz4/_metadata/homepage b/data/lz4/_metadata/homepage
new file mode 100644
index 000000000..57f36586c
--- /dev/null
+++ b/data/lz4/_metadata/homepage
@@ -0,0 +1 @@
+http://tukaani.org/lzma/
diff --git a/data/lz4/_metadata/license b/data/lz4/_metadata/license
new file mode 120000
index 000000000..af4224931
--- /dev/null
+++ b/data/lz4/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-3 \ No newline at end of file
diff --git a/data/lz4/_metadata/name b/data/lz4/_metadata/name
new file mode 100644
index 000000000..fdcbaf78b
--- /dev/null
+++ b/data/lz4/_metadata/name
@@ -0,0 +1 @@
+LZ4
diff --git a/data/lz4/_metadata/priority b/data/lz4/_metadata/priority
new file mode 100644
index 000000000..ea5b3d7ee
--- /dev/null
+++ b/data/lz4/_metadata/priority
@@ -0,0 +1 @@
+important
diff --git a/data/lz4/_metadata/role b/data/lz4/_metadata/role
new file mode 100644
index 000000000..52b4d7301
--- /dev/null
+++ b/data/lz4/_metadata/role
@@ -0,0 +1 @@
+hacker
diff --git a/data/lz4/_metadata/section b/data/lz4/_metadata/section
new file mode 100644
index 000000000..888e3e192
--- /dev/null
+++ b/data/lz4/_metadata/section
@@ -0,0 +1 @@
+Archiving
diff --git a/data/lz4/_metadata/tags b/data/lz4/_metadata/tags
new file mode 100644
index 000000000..ad5d50831
--- /dev/null
+++ b/data/lz4/_metadata/tags
@@ -0,0 +1 @@
+purpose::console
diff --git a/data/lz4/_metadata/version b/data/lz4/_metadata/version
new file mode 100644
index 000000000..6a126f402
--- /dev/null
+++ b/data/lz4/_metadata/version
@@ -0,0 +1 @@
+1.7.5
diff --git a/data/lz4/make.sh b/data/lz4/make.sh
new file mode 100644
index 000000000..654c78332
--- /dev/null
+++ b/data/lz4/make.sh
@@ -0,0 +1,23 @@
+pkg:setup
+cd contrib/cmake_unofficial
+cat >iphoneos_toolchain.cmake <<EOF
+set(CMAKE_SYSTEM_NAME Darwin) # Tell CMake we're cross-compiling
+set(CMAKE_CROSSCOMPILING true)
+#include(CMakeForceCompiler)
+# Prefix detection only works with compiler id "GNU"
+# CMake will look for prefixed g++, cpp, ld, etc. automatically
+set(CMAKE_SYSTEM_PROCESSOR aarch64)
+set(triple ${PKG_TARG})
+set(CMAKE_FIND_ROOT_PATH $(echo ${PKG_PATH} | sed -e s/:/' '/g))
+set(CMAKE_LIBRARY_PATH $(echo ${LIBRARY_PATH} | sed -e s/:/' '/g))
+set(CMAKE_INCLUDE_PATH $(echo ${INCLUDE_PATH} | sed -e s/:/' '/g))
+set(CMAKE_C_COMPILER ${PKG_TARG}-gcc)
+set(CMAKE_CXX_COMPILER ${PKG_TARG}-g++)
+set(CMAKE_FIND_ROOT_PATH_MODE_PROGRAM NEVER)
+set(CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY)
+set(CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY)
+EOF
+
+cmake -j8 -DCMAKE_TOOLCHAIN_FILE=iphoneos_toolchain.cmake -DCMAKE_LOCALSTATEDIR="/private/var" -DCMAKE_INSTALL_NAME_DIR="/usr/lib" -DCMAKE_INSTALL_RPATH="/usr/" -DCMAKE_OSX_SYSROOT="${PKG_ROOT}" -DCMAKE_INSTALL_PREFIX="/usr/" -DCURRENT_VENDOR=debian -DUSE_NLS=0 -DWITH_DOC=0 .
+make
+pkg:install
diff --git a/data/lz4/v1.7.5.tar.gz b/data/lz4/v1.7.5.tar.gz
new file mode 100644
index 000000000..4890f714f
--- /dev/null
+++ b/data/lz4/v1.7.5.tar.gz
Binary files differ
diff --git a/data/ncurses5-libs/_metadata/description b/data/ncurses5-libs/_metadata/description
new file mode 100644
index 000000000..fd39fa09f
--- /dev/null
+++ b/data/ncurses5-libs/_metadata/description
@@ -0,0 +1 @@
+feature-complete terminal library
diff --git a/data/ncurses5-libs/_metadata/license b/data/ncurses5-libs/_metadata/license
new file mode 100644
index 000000000..f68feb873
--- /dev/null
+++ b/data/ncurses5-libs/_metadata/license
@@ -0,0 +1,27 @@
+-------------------------------------------------------------------------------
+-- Copyright (c) 1998-2004,2006 Free Software Foundation, Inc. --
+-- --
+-- Permission is hereby granted, free of charge, to any person obtaining a --
+-- copy of this software and associated documentation files (the --
+-- "Software"), to deal in the Software without restriction, including --
+-- without limitation the rights to use, copy, modify, merge, publish, --
+-- distribute, distribute with modifications, sublicense, and/or sell copies --
+-- of the Software, and to permit persons to whom the Software is furnished --
+-- to do so, subject to the following conditions: --
+-- --
+-- The above copyright notice and this permission notice shall be included --
+-- in all copies or substantial portions of the Software. --
+-- --
+-- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS --
+-- OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF --
+-- MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN --
+-- NO EVENT SHALL THE ABOVE COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, --
+-- DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR --
+-- OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE --
+-- USE OR OTHER DEALINGS IN THE SOFTWARE. --
+-- --
+-- Except as contained in this notice, the name(s) of the above copyright --
+-- holders shall not be used in advertising or otherwise to promote the --
+-- sale, use or other dealings in this Software without prior written --
+-- authorization. --
+-------------------------------------------------------------------------------
diff --git a/data/ncurses5-libs/_metadata/name b/data/ncurses5-libs/_metadata/name
new file mode 100644
index 000000000..a605b4508
--- /dev/null
+++ b/data/ncurses5-libs/_metadata/name
@@ -0,0 +1 @@
+New Curses
diff --git a/data/ncurses5-libs/_metadata/priority b/data/ncurses5-libs/_metadata/priority
new file mode 100644
index 000000000..fad9e164a
--- /dev/null
+++ b/data/ncurses5-libs/_metadata/priority
@@ -0,0 +1 @@
+required
diff --git a/data/ncurses5-libs/_metadata/role b/data/ncurses5-libs/_metadata/role
new file mode 100644
index 000000000..8d0320866
--- /dev/null
+++ b/data/ncurses5-libs/_metadata/role
@@ -0,0 +1 @@
+developer
diff --git a/data/ncurses5-libs/_metadata/section b/data/ncurses5-libs/_metadata/section
new file mode 100644
index 000000000..00b394251
--- /dev/null
+++ b/data/ncurses5-libs/_metadata/section
@@ -0,0 +1 @@
+System
diff --git a/data/ncurses5-libs/_metadata/tags b/data/ncurses5-libs/_metadata/tags
new file mode 100644
index 000000000..a8928cec8
--- /dev/null
+++ b/data/ncurses5-libs/_metadata/tags
@@ -0,0 +1 @@
+purpose::library
diff --git a/data/ncurses5-libs/_metadata/version b/data/ncurses5-libs/_metadata/version
new file mode 100644
index 000000000..95ee81a41
--- /dev/null
+++ b/data/ncurses5-libs/_metadata/version
@@ -0,0 +1 @@
+5.9
diff --git a/data/ncurses5-libs/clang.diff b/data/ncurses5-libs/clang.diff
new file mode 100644
index 000000000..407410221
--- /dev/null
+++ b/data/ncurses5-libs/clang.diff
@@ -0,0 +1,43 @@
+diff -ruNp ncurses-5.8.orig/c++/cursesf.h ncurses-5.8/c++/cursesf.h
+--- ncurses-5.8.orig/c++/cursesf.h 2005-08-13 21:08:24.000000000 +0300
++++ ncurses-5.8/c++/cursesf.h 2011-04-03 18:29:29.000000000 +0300
+@@ -681,7 +681,7 @@ public:
+ const T* p_UserData = STATIC_CAST(T*)(0),
+ bool with_frame=FALSE,
+ bool autoDelete_Fields=FALSE)
+- : NCursesForm (Fields, with_frame, autoDelete_Fields) {
++ : NCursesForm (&Fields, with_frame, autoDelete_Fields) {
+ if (form)
+ set_user (const_cast<void *>(p_UserData));
+ };
+@@ -694,7 +694,7 @@ public:
+ const T* p_UserData = STATIC_CAST(T*)(0),
+ bool with_frame=FALSE,
+ bool autoDelete_Fields=FALSE)
+- : NCursesForm (Fields, nlines, ncols, begin_y, begin_x,
++ : NCursesForm (&Fields, nlines, ncols, begin_y, begin_x,
+ with_frame, autoDelete_Fields) {
+ if (form)
+ set_user (const_cast<void *>(p_UserData));
+diff -ruNp ncurses-5.8.orig/c++/cursesm.h ncurses-5.8/c++/cursesm.h
+--- ncurses-5.8.orig/c++/cursesm.h 2005-08-13 21:10:36.000000000 +0300
++++ ncurses-5.8/c++/cursesm.h 2011-04-03 18:31:42.000000000 +0300
+@@ -639,7 +639,7 @@ public:
+ const T* p_UserData = STATIC_CAST(T*)(0),
+ bool with_frame=FALSE,
+ bool autoDelete_Items=FALSE)
+- : NCursesMenu (Items, with_frame, autoDelete_Items) {
++ : NCursesMenu (&Items, with_frame, autoDelete_Items) {
+ if (menu)
+ set_user (const_cast<void *>(p_UserData));
+ };
+@@ -651,7 +651,7 @@ public:
+ int begin_x = 0,
+ const T* p_UserData = STATIC_CAST(T*)(0),
+ bool with_frame=FALSE)
+- : NCursesMenu (Items, nlines, ncols, begin_y, begin_x, with_frame) {
++ : NCursesMenu (&Items, nlines, ncols, begin_y, begin_x, with_frame) {
+ if (menu)
+ set_user (const_cast<void *>(p_UserData));
+ };
+
diff --git a/data/ncurses5-libs/configsub.diff b/data/ncurses5-libs/configsub.diff
new file mode 100644
index 000000000..f3c03daa3
--- /dev/null
+++ b/data/ncurses5-libs/configsub.diff
@@ -0,0 +1,751 @@
+diff -ur ncurses-5.9/config.sub ncurses-5.9+iPhone/config.sub
+--- ncurses-5.9/config.sub 2010-09-10 12:25:58.000000000 -1000
++++ ncurses-5.9+iPhone/config.sub 2018-08-03 14:40:50.000000000 -1000
+@@ -1,38 +1,31 @@
+ #! /bin/sh
+ # Configuration validation subroutine script.
+-# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
+-# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010
+-# Free Software Foundation, Inc.
+-
+-timestamp='2010-09-11'
+-
+-# This file is (in principle) common to ALL GNU software.
+-# The presence of a machine in this file suggests that SOME GNU software
+-# can handle that machine. It does not imply ALL GNU software can.
+-#
+-# This file is free software; you can redistribute it and/or modify
+-# it under the terms of the GNU General Public License as published by
+-# the Free Software Foundation; either version 2 of the License, or
++# Copyright 1992-2017 Free Software Foundation, Inc.
++
++timestamp='2017-11-23'
++
++# This file is free software; you can redistribute it and/or modify it
++# under the terms of the GNU General Public License as published by
++# the Free Software Foundation; either version 3 of the License, or
+ # (at your option) any later version.
+ #
+-# This program is distributed in the hope that it will be useful,
+-# but WITHOUT ANY WARRANTY; without even the implied warranty of
+-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+-# GNU General Public License for more details.
++# This program is distributed in the hope that it will be useful, but
++# WITHOUT ANY WARRANTY; without even the implied warranty of
++# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
++# General Public License for more details.
+ #
+ # You should have received a copy of the GNU General Public License
+-# along with this program; if not, write to the Free Software
+-# Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA
+-# 02110-1301, USA.
++# along with this program; if not, see <https://www.gnu.org/licenses/>.
+ #
+ # As a special exception to the GNU General Public License, if you
+ # distribute this file as part of a program that contains a
+ # configuration script generated by Autoconf, you may include it under
+-# the same distribution terms that you use for the rest of that program.
++# the same distribution terms that you use for the rest of that
++# program. This Exception is an additional permission under section 7
++# of the GNU General Public License, version 3 ("GPLv3").
+
+
+-# Please send patches to <config-patches@gnu.org>. Submit a context
+-# diff and a properly formatted GNU ChangeLog entry.
++# Please send patches to <config-patches@gnu.org>.
+ #
+ # Configuration subroutine to validate and canonicalize a configuration type.
+ # Supply the specified configuration type as an argument.
+@@ -40,7 +33,7 @@
+ # Otherwise, we print the canonical config type on stdout and succeed.
+
+ # You can get the latest version of this script from:
+-# http://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD
++# https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub
+
+ # This file is supposed to be the same for all GNU packages
+ # and recognize all the CPU types, system types and aliases
+@@ -60,12 +53,11 @@
+ me=`echo "$0" | sed -e 's,.*/,,'`
+
+ usage="\
+-Usage: $0 [OPTION] CPU-MFR-OPSYS
+- $0 [OPTION] ALIAS
++Usage: $0 [OPTION] CPU-MFR-OPSYS or ALIAS
+
+ Canonicalize a configuration name.
+
+-Operation modes:
++Options:
+ -h, --help print this help, then exit
+ -t, --time-stamp print date of last modification, then exit
+ -v, --version print version number, then exit
+@@ -75,9 +67,7 @@
+ version="\
+ GNU config.sub ($timestamp)
+
+-Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000,
+-2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free
+-Software Foundation, Inc.
++Copyright 1992-2017 Free Software Foundation, Inc.
+
+ This is free software; see the source for copying conditions. There is NO
+ warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE."
+@@ -125,13 +115,17 @@
+ maybe_os=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\2/'`
+ case $maybe_os in
+ nto-qnx* | linux-gnu* | linux-android* | linux-dietlibc | linux-newlib* | \
+- linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
+- knetbsd*-gnu* | netbsd*-gnu* | \
+- kopensolaris*-gnu* | \
++ linux-musl* | linux-uclibc* | uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | \
++ knetbsd*-gnu* | netbsd*-gnu* | netbsd*-eabi* | \
++ kopensolaris*-gnu* | cloudabi*-eabi* | \
+ storm-chaos* | os2-emx* | rtmk-nova*)
+ os=-$maybe_os
+ basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
+ ;;
++ android-linux)
++ os=-linux-android
++ basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`-unknown
++ ;;
+ *)
+ basic_machine=`echo $1 | sed 's/-[^-]*$//'`
+ if [ $basic_machine != $1 ]
+@@ -154,7 +148,7 @@
+ -convergent* | -ncr* | -news | -32* | -3600* | -3100* | -hitachi* |\
+ -c[123]* | -convex* | -sun | -crds | -omron* | -dg | -ultra | -tti* | \
+ -harris | -dolphin | -highlevel | -gould | -cbm | -ns | -masscomp | \
+- -apple | -axis | -knuth | -cray | -microblaze)
++ -apple | -axis | -knuth | -cray | -microblaze*)
+ os=
+ basic_machine=$1
+ ;;
+@@ -175,10 +169,10 @@
+ os=-chorusos
+ basic_machine=$1
+ ;;
+- -chorusrdb)
+- os=-chorusrdb
++ -chorusrdb)
++ os=-chorusrdb
+ basic_machine=$1
+- ;;
++ ;;
+ -hiux*)
+ os=-hiuxwe2
+ ;;
+@@ -223,15 +217,18 @@
+ -isc*)
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-pc/'`
+ ;;
++ -lynx*178)
++ os=-lynxos178
++ ;;
++ -lynx*5)
++ os=-lynxos5
++ ;;
+ -lynx*)
+ os=-lynxos
+ ;;
+ -ptx*)
+ basic_machine=`echo $1 | sed -e 's/86-.*/86-sequent/'`
+ ;;
+- -windowsnt*)
+- os=`echo $os | sed -e 's/windowsnt/winnt/'`
+- ;;
+ -psos*)
+ os=-psos
+ ;;
+@@ -247,20 +244,29 @@
+ # Some are omitted here because they have special meanings below.
+ 1750a | 580 \
+ | a29k \
++ | aarch64 | aarch64_be \
+ | alpha | alphaev[4-8] | alphaev56 | alphaev6[78] | alphapca5[67] \
+ | alpha64 | alpha64ev[4-8] | alpha64ev56 | alpha64ev6[78] | alpha64pca5[67] \
+ | am33_2.0 \
+- | arc | arm | arm[bl]e | arme[lb] | armv[2345] | armv[345][lb] | avr | avr32 \
++ | arc | arceb \
++ | arm | arm[bl]e | arme[lb] | armv[2-8] | armv[3-8][lb] | armv7[arm] \
++ | avr | avr32 \
++ | ba \
++ | be32 | be64 \
+ | bfin \
+- | c4x | clipper \
++ | c4x | c8051 | clipper \
+ | d10v | d30v | dlx | dsp16xx \
+- | fido | fr30 | frv \
++ | e2k | epiphany \
++ | fido | fr30 | frv | ft32 \
+ | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
+- | i370 | i860 | i960 | ia64 \
++ | hexagon \
++ | i370 | i860 | i960 | ia16 | ia64 \
+ | ip2k | iq2000 \
++ | k1om \
++ | le32 | le64 \
+ | lm32 \
+ | m32c | m32r | m32rle | m68000 | m68k | m88k \
+- | maxq | mb | microblaze | mcore | mep | metag \
++ | maxq | mb | microblaze | microblazeel | mcore | mep | metag \
+ | mips | mipsbe | mipseb | mipsel | mipsle \
+ | mips16 \
+ | mips64 | mips64el \
+@@ -274,34 +280,40 @@
+ | mips64vr5900 | mips64vr5900el \
+ | mipsisa32 | mipsisa32el \
+ | mipsisa32r2 | mipsisa32r2el \
++ | mipsisa32r6 | mipsisa32r6el \
+ | mipsisa64 | mipsisa64el \
+ | mipsisa64r2 | mipsisa64r2el \
++ | mipsisa64r6 | mipsisa64r6el \
+ | mipsisa64sb1 | mipsisa64sb1el \
+ | mipsisa64sr71k | mipsisa64sr71kel \
++ | mipsr5900 | mipsr5900el \
+ | mipstx39 | mipstx39el \
+ | mn10200 | mn10300 \
+ | moxie \
+ | mt \
+ | msp430 \
+- | nds32 | nds32le | nds32be\
+- | nios | nios2 \
++ | nds32 | nds32le | nds32be \
++ | nios | nios2 | nios2eb | nios2el \
+ | ns16k | ns32k \
+- | or32 \
++ | open8 | or1k | or1knd | or32 \
+ | pdp10 | pdp11 | pj | pjl \
+- | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
++ | powerpc | powerpc64 | powerpc64le | powerpcle \
++ | pru \
+ | pyramid \
+- | rx \
++ | riscv32 | riscv64 \
++ | rl78 | rx \
+ | score \
+- | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
++ | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[234]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
+ | sh64 | sh64le \
+ | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
+ | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
+- | spu | strongarm \
+- | tahoe | thumb | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
++ | spu \
++ | tahoe | tic4x | tic54x | tic55x | tic6x | tic80 | tron \
+ | ubicom32 \
+- | v850 | v850e \
+- | we32k \
+- | x86 | xc16x | xscale | xscalee[bl] | xstormy16 | xtensa \
++ | v850 | v850e | v850e1 | v850e2 | v850es | v850e2v3 \
++ | visium \
++ | wasm32 \
++ | x86 | xc16x | xstormy16 | xtensa \
+ | z8k | z80)
+ basic_machine=$basic_machine-unknown
+ ;;
+@@ -314,8 +326,10 @@
+ c6x)
+ basic_machine=tic6x-unknown
+ ;;
+- m6811 | m68hc11 | m6812 | m68hc12 | picochip)
+- # Motorola 68HC11/12.
++ leon|leon[3-9])
++ basic_machine=sparc-$basic_machine
++ ;;
++ m6811 | m68hc11 | m6812 | m68hc12 | m68hcs12x | nvptx | picochip)
+ basic_machine=$basic_machine-unknown
+ os=-none
+ ;;
+@@ -325,12 +339,27 @@
+ basic_machine=mt-unknown
+ ;;
+
++ strongarm | thumb | xscale)
++ basic_machine=arm-unknown
++ ;;
++ xgate)
++ basic_machine=$basic_machine-unknown
++ os=-none
++ ;;
++ xscaleeb)
++ basic_machine=armeb-unknown
++ ;;
++
++ xscaleel)
++ basic_machine=armel-unknown
++ ;;
++
+ # We use `pc' rather than `unknown'
+ # because (1) that's what they normally are, and
+ # (2) the word "unknown" tends to confuse beginning users.
+ i*86 | x86_64)
+- basic_machine=$basic_machine-pc
+- ;;
++ basic_machine=$basic_machine-pc
++ ;;
+ # Object if more than one company name word.
+ *-*-*)
+ echo Invalid configuration \`$1\': machine \`$basic_machine\' not recognized 1>&2
+@@ -339,25 +368,32 @@
+ # Recognize the basic CPU types with company name.
+ 580-* \
+ | a29k-* \
++ | aarch64-* | aarch64_be-* \
+ | alpha-* | alphaev[4-8]-* | alphaev56-* | alphaev6[78]-* \
+ | alpha64-* | alpha64ev[4-8]-* | alpha64ev56-* | alpha64ev6[78]-* \
+- | alphapca5[67]-* | alpha64pca5[67]-* | arc-* \
++ | alphapca5[67]-* | alpha64pca5[67]-* | arc-* | arceb-* \
+ | arm-* | armbe-* | armle-* | armeb-* | armv*-* \
+ | avr-* | avr32-* \
++ | ba-* \
++ | be32-* | be64-* \
+ | bfin-* | bs2000-* \
+ | c[123]* | c30-* | [cjt]90-* | c4x-* \
+- | clipper-* | craynv-* | cydra-* \
++ | c8051-* | clipper-* | craynv-* | cydra-* \
+ | d10v-* | d30v-* | dlx-* \
+- | elxsi-* \
++ | e2k-* | elxsi-* \
+ | f30[01]-* | f700-* | fido-* | fr30-* | frv-* | fx80-* \
+ | h8300-* | h8500-* \
+ | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
+- | i*86-* | i860-* | i960-* | ia64-* \
++ | hexagon-* \
++ | i*86-* | i860-* | i960-* | ia16-* | ia64-* \
+ | ip2k-* | iq2000-* \
++ | k1om-* \
++ | le32-* | le64-* \
+ | lm32-* \
+ | m32c-* | m32r-* | m32rle-* \
+ | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
+- | m88110-* | m88k-* | maxq-* | mcore-* | metag-* | microblaze-* \
++ | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
++ | microblaze-* | microblazeel-* \
+ | mips-* | mipsbe-* | mipseb-* | mipsel-* | mipsle-* \
+ | mips16-* \
+ | mips64-* | mips64el-* \
+@@ -371,35 +407,45 @@
+ | mips64vr5900-* | mips64vr5900el-* \
+ | mipsisa32-* | mipsisa32el-* \
+ | mipsisa32r2-* | mipsisa32r2el-* \
++ | mipsisa32r6-* | mipsisa32r6el-* \
+ | mipsisa64-* | mipsisa64el-* \
+ | mipsisa64r2-* | mipsisa64r2el-* \
++ | mipsisa64r6-* | mipsisa64r6el-* \
+ | mipsisa64sb1-* | mipsisa64sb1el-* \
+ | mipsisa64sr71k-* | mipsisa64sr71kel-* \
++ | mipsr5900-* | mipsr5900el-* \
+ | mipstx39-* | mipstx39el-* \
+ | mmix-* \
+ | mt-* \
+ | msp430-* \
+ | nds32-* | nds32le-* | nds32be-* \
+- | nios-* | nios2-* \
++ | nios-* | nios2-* | nios2eb-* | nios2el-* \
+ | none-* | np1-* | ns16k-* | ns32k-* \
++ | open8-* \
++ | or1k*-* \
+ | orion-* \
+ | pdp10-* | pdp11-* | pj-* | pjl-* | pn-* | power-* \
+- | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
++ | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* \
++ | pru-* \
+ | pyramid-* \
+- | romp-* | rs6000-* | rx-* \
++ | riscv32-* | riscv64-* \
++ | rl78-* | romp-* | rs6000-* | rx-* \
+ | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
+ | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
+ | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
+ | sparclite-* \
+- | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | strongarm-* | sv1-* | sx?-* \
+- | tahoe-* | thumb-* \
++ | sparcv8-* | sparcv9-* | sparcv9b-* | sparcv9v-* | sv1-* | sx*-* \
++ | tahoe-* \
+ | tic30-* | tic4x-* | tic54x-* | tic55x-* | tic6x-* | tic80-* \
+- | tile-* | tilegx-* \
++ | tile*-* \
+ | tron-* \
+ | ubicom32-* \
+- | v850-* | v850e-* | vax-* \
++ | v850-* | v850e-* | v850e1-* | v850es-* | v850e2-* | v850e2v3-* \
++ | vax-* \
++ | visium-* \
++ | wasm32-* \
+ | we32k-* \
+- | x86-* | x86_64-* | xc16x-* | xps100-* | xscale-* | xscalee[bl]-* \
++ | x86-* | x86_64-* | xc16x-* | xps100-* \
+ | xstormy16-* | xtensa*-* \
+ | ymp-* \
+ | z8k-* | z80-*)
+@@ -474,6 +520,9 @@
+ basic_machine=i386-pc
+ os=-aros
+ ;;
++ asmjs)
++ basic_machine=asmjs-unknown
++ ;;
+ aux)
+ basic_machine=m68k-apple
+ os=-aux
+@@ -539,7 +588,7 @@
+ basic_machine=craynv-cray
+ os=-unicosmp
+ ;;
+- cr16)
++ cr16 | cr16-*)
+ basic_machine=cr16-unknown
+ os=-elf
+ ;;
+@@ -590,10 +639,18 @@
+ basic_machine=rs6000-bull
+ os=-bosx
+ ;;
+- dpx2* | dpx2*-bull)
++ dpx2*)
+ basic_machine=m68k-bull
+ os=-sysv3
+ ;;
++ e500v[12])
++ basic_machine=powerpc-unknown
++ os=$os"spe"
++ ;;
++ e500v[12]-*)
++ basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
++ os=$os"spe"
++ ;;
+ ebmon29k)
+ basic_machine=a29k-amd
+ os=-ebmon
+@@ -697,7 +754,6 @@
+ i370-ibm* | ibm*)
+ basic_machine=i370-ibm
+ ;;
+-# I'm not sure what "Sysv32" means. Should this be sysv3.2?
+ i*86v32)
+ basic_machine=`echo $1 | sed -e 's/86.*/86-pc/'`
+ os=-sysv32
+@@ -736,6 +792,9 @@
+ basic_machine=m68k-isi
+ os=-sysv
+ ;;
++ leon-*|leon[3-9]-*)
++ basic_machine=sparc-`echo $basic_machine | sed 's/-.*//'`
++ ;;
+ m68knommu)
+ basic_machine=m68k-unknown
+ os=-linux
+@@ -755,11 +814,15 @@
+ basic_machine=ns32k-utek
+ os=-sysv
+ ;;
+- microblaze)
++ microblaze*)
+ basic_machine=microblaze-xilinx
+ ;;
++ mingw64)
++ basic_machine=x86_64-pc
++ os=-mingw64
++ ;;
+ mingw32)
+- basic_machine=i386-pc
++ basic_machine=i686-pc
+ os=-mingw32
+ ;;
+ mingw32ce)
+@@ -787,6 +850,10 @@
+ basic_machine=powerpc-unknown
+ os=-morphos
+ ;;
++ moxiebox)
++ basic_machine=moxie-unknown
++ os=-moxiebox
++ ;;
+ msdos)
+ basic_machine=i386-pc
+ os=-msdos
+@@ -794,10 +861,18 @@
+ ms1-*)
+ basic_machine=`echo $basic_machine | sed -e 's/ms1-/mt-/'`
+ ;;
++ msys)
++ basic_machine=i686-pc
++ os=-msys
++ ;;
+ mvs)
+ basic_machine=i370-ibm
+ os=-mvs
+ ;;
++ nacl)
++ basic_machine=le32-unknown
++ os=-nacl
++ ;;
+ ncr3000)
+ basic_machine=i486-ncr
+ os=-sysv4
+@@ -826,7 +901,7 @@
+ basic_machine=v70-nec
+ os=-sysv
+ ;;
+- next | m*-next )
++ next | m*-next)
+ basic_machine=m68k-next
+ case $os in
+ -nextstep* )
+@@ -871,6 +946,9 @@
+ nsr-tandem)
+ basic_machine=nsr-tandem
+ ;;
++ nsx-tandem)
++ basic_machine=nsx-tandem
++ ;;
+ op50n-* | op60c-*)
+ basic_machine=hppa1.1-oki
+ os=-proelf
+@@ -950,11 +1028,12 @@
+ ;;
+ power) basic_machine=power-ibm
+ ;;
+- ppc) basic_machine=powerpc-unknown
++ ppc | ppcbe) basic_machine=powerpc-unknown
+ ;;
+- ppc-*) basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
++ ppc-* | ppcbe-*)
++ basic_machine=powerpc-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+- ppcle | powerpclittle | ppc-le | powerpc-little)
++ ppcle | powerpclittle)
+ basic_machine=powerpcle-unknown
+ ;;
+ ppcle-* | powerpclittle-*)
+@@ -964,7 +1043,7 @@
+ ;;
+ ppc64-*) basic_machine=powerpc64-`echo $basic_machine | sed 's/^[^-]*-//'`
+ ;;
+- ppc64le | powerpc64little | ppc64-le | powerpc64-little)
++ ppc64le | powerpc64little)
+ basic_machine=powerpc64le-unknown
+ ;;
+ ppc64le-* | powerpc64little-*)
+@@ -977,7 +1056,11 @@
+ basic_machine=i586-unknown
+ os=-pw32
+ ;;
+- rdos)
++ rdos | rdos64)
++ basic_machine=x86_64-pc
++ os=-rdos
++ ;;
++ rdos32)
+ basic_machine=i386-pc
+ os=-rdos
+ ;;
+@@ -1046,6 +1129,9 @@
+ basic_machine=i860-stratus
+ os=-sysv4
+ ;;
++ strongarm-* | thumb-*)
++ basic_machine=arm-`echo $basic_machine | sed 's/^[^-]*-//'`
++ ;;
+ sun2)
+ basic_machine=m68000-sun
+ ;;
+@@ -1102,13 +1188,8 @@
+ basic_machine=t90-cray
+ os=-unicos
+ ;;
+- # This must be matched before tile*.
+- tilegx*)
+- basic_machine=tilegx-unknown
+- os=-linux-gnu
+- ;;
+ tile*)
+- basic_machine=tile-unknown
++ basic_machine=$basic_machine-unknown
+ os=-linux-gnu
+ ;;
+ tx39)
+@@ -1163,6 +1244,9 @@
+ basic_machine=a29k-wrs
+ os=-vxworks
+ ;;
++ wasm32)
++ basic_machine=wasm32-unknown
++ ;;
+ w65*)
+ basic_machine=w65-wdc
+ os=-none
+@@ -1171,6 +1255,9 @@
+ basic_machine=hppa1.1-winbond
+ os=-proelf
+ ;;
++ x64)
++ basic_machine=x86_64-pc
++ ;;
+ xbox)
+ basic_machine=i686-pc
+ os=-mingw32
+@@ -1178,6 +1265,9 @@
+ xps | xps100)
+ basic_machine=xps100-honeywell
+ ;;
++ xscale-* | xscalee[bl]-*)
++ basic_machine=`echo $basic_machine | sed 's/^xscale/arm/'`
++ ;;
+ ymp)
+ basic_machine=ymp-cray
+ os=-unicos
+@@ -1275,8 +1365,8 @@
+ if [ x"$os" != x"" ]
+ then
+ case $os in
+- # First match some system type aliases
+- # that might get confused with valid system types.
++ # First match some system type aliases that might get confused
++ # with valid system types.
+ # -solaris* is a basic system type, with this one exception.
+ -auroraux)
+ os=-auroraux
+@@ -1296,36 +1386,37 @@
+ -gnu/linux*)
+ os=`echo $os | sed -e 's|gnu/linux|linux-gnu|'`
+ ;;
+- # First accept the basic system types.
++ # Now accept the basic system types.
+ # The portable systems comes first.
+- # Each alternative MUST END IN A *, to match a version number.
++ # Each alternative MUST end in a * to match a version number.
+ # -sysv* is not here because it comes later, after sysvr4.
+ -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
+ | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
+ | -hpux* | -unos* | -osf* | -luna* | -dgux* | -auroraux* | -solaris* \
+- | -sym* | -kopensolaris* \
++ | -sym* | -kopensolaris* | -plan9* \
+ | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
+- | -aos* | -aros* \
++ | -aos* | -aros* | -cloudabi* | -sortix* \
+ | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
+ | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
+ | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
+- | -openbsd* | -solidbsd* \
++ | -bitrig* | -openbsd* | -solidbsd* | -libertybsd* \
+ | -ekkobsd* | -kfreebsd* | -freebsd* | -riscix* | -lynxos* \
+ | -bosx* | -nextstep* | -cxux* | -aout* | -elf* | -oabi* \
+ | -ptx* | -coff* | -ecoff* | -winnt* | -domain* | -vsta* \
+ | -udi* | -eabi* | -lites* | -ieee* | -go32* | -aux* \
+- | -chorusos* | -chorusrdb* | -cegcc* \
+- | -cygwin* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
+- | -mingw32* | -linux-gnu* | -linux-android* \
+- | -linux-newlib* | -linux-uclibc* \
+- | -uxpv* | -beos* | -mpeix* | -udk* \
++ | -chorusos* | -chorusrdb* | -cegcc* | -glidix* \
++ | -cygwin* | -msys* | -pe* | -psos* | -moss* | -proelf* | -rtems* \
++ | -midipix* | -mingw32* | -mingw64* | -linux-gnu* | -linux-android* \
++ | -linux-newlib* | -linux-musl* | -linux-uclibc* \
++ | -uxpv* | -beos* | -mpeix* | -udk* | -moxiebox* \
+ | -interix* | -uwin* | -mks* | -rhapsody* | -darwin* | -opened* \
+ | -openstep* | -oskit* | -conix* | -pw32* | -nonstopux* \
+ | -storm-chaos* | -tops10* | -tenex* | -tops20* | -its* \
+ | -os2* | -vos* | -palmos* | -uclinux* | -nucleus* \
+ | -morphos* | -superux* | -rtmk* | -rtmk-nova* | -windiss* \
+ | -powermax* | -dnix* | -nx6 | -nx7 | -sei* | -dragonfly* \
+- | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es*)
++ | -skyos* | -haiku* | -rdos* | -toppers* | -drops* | -es* \
++ | -onefs* | -tirtos* | -phoenix* | -fuchsia* | -redox*)
+ # Remember, each alternative MUST END IN *, to match a version number.
+ ;;
+ -qnx*)
+@@ -1400,7 +1491,7 @@
+ -nova*)
+ os=-rtmk-nova
+ ;;
+- -ns2 )
++ -ns2)
+ os=-nextstep2
+ ;;
+ -nsk*)
+@@ -1449,17 +1540,29 @@
+ -aros*)
+ os=-aros
+ ;;
+- -kaos*)
+- os=-kaos
+- ;;
+ -zvmoe)
+ os=-zvmoe
+ ;;
+ -dicos*)
+ os=-dicos
+ ;;
++ -pikeos*)
++ # Until real need of OS specific support for
++ # particular features comes up, bare metal
++ # configurations are quite functional.
++ case $basic_machine in
++ arm*)
++ os=-eabi
++ ;;
++ *)
++ os=-elf
++ ;;
++ esac
++ ;;
+ -nacl*)
+ ;;
++ -ios)
++ ;;
+ -none)
+ ;;
+ *)
+@@ -1500,6 +1603,12 @@
+ c4x-* | tic4x-*)
+ os=-coff
+ ;;
++ c8051-*)
++ os=-elf
++ ;;
++ hexagon-*)
++ os=-elf
++ ;;
+ tic54x-*)
+ os=-coff
+ ;;
+@@ -1527,9 +1636,6 @@
+ ;;
+ m68000-sun)
+ os=-sunos3
+- # This also exists in the configure program, but was not the
+- # default.
+- # os=-sunos4
+ ;;
+ m68*-cisco)
+ os=-aout
+@@ -1552,6 +1658,9 @@
+ sparc-* | *-sun)
+ os=-sunos4.1.1
+ ;;
++ pru-*)
++ os=-elf
++ ;;
+ *-be)
+ os=-beos
+ ;;
+@@ -1597,7 +1706,7 @@
+ m88k-omron*)
+ os=-luna
+ ;;
+- *-next )
++ *-next)
+ os=-nextstep
+ ;;
+ *-sequent)
+@@ -1732,7 +1841,7 @@
+ exit
+
+ # Local variables:
+-# eval: (add-hook 'write-file-hooks 'time-stamp)
++# eval: (add-hook 'write-file-functions 'time-stamp)
+ # time-stamp-start: "timestamp='"
+ # time-stamp-format: "%:y-%02m-%02d"
+ # time-stamp-end: "'"
diff --git a/data/ncurses5-libs/make.sh b/data/ncurses5-libs/make.sh
new file mode 100644
index 000000000..f34b37b05
--- /dev/null
+++ b/data/ncurses5-libs/make.sh
@@ -0,0 +1,25 @@
+shopt -s extglob
+pkg:setup
+cd ..
+dir=$(echo *)
+mkdir bld-ncurses{,w}
+cd bld-ncurses
+flags='--with-shared --without-normal --without-debug --enable-sigwinch --disable-mixed-case --enable-termcap'
+PKG_CONF=../${dir}/configure PKG_MCPU=-marm pkg:configure ${flags}
+make -j8
+pkg: mkdir -p /usr/lib
+cd lib
+for lib in *.5.dylib; do
+ pkg: cp ${lib} /usr/lib/
+ pkg: ln -s ${lib} /usr/lib/$(basename ${lib} .5.dylib)5.dylib
+done
+cd ..
+cd ../bld-ncursesw
+PKG_CONF=../${dir}/configure PKG_MCPU=-marm pkg:configure ${flags} --disable-overwrite --enable-widec
+make -j8
+cd lib
+for lib in *.5.dylib; do
+ pkg: cp ${lib} /usr/lib
+ pkg: ln -s ${lib} /usr/lib/$(basename ${lib} .5.dylib)5.dylib
+done
+cd ..
diff --git a/data/ncurses5-libs/ncurses-5.9.tar.gz b/data/ncurses5-libs/ncurses-5.9.tar.gz
new file mode 100644
index 000000000..653fab08f
--- /dev/null
+++ b/data/ncurses5-libs/ncurses-5.9.tar.gz
Binary files differ
diff --git a/data/ncurses5-libs/xopen.diff b/data/ncurses5-libs/xopen.diff
new file mode 100644
index 000000000..3973389da
--- /dev/null
+++ b/data/ncurses5-libs/xopen.diff
@@ -0,0 +1,18 @@
+diff -ur ncurses-5.9/ncurses/Makefile.in ncurses-5.9+iPhone/ncurses/Makefile.in
+--- ncurses-5.9/ncurses/Makefile.in 2018-08-03 14:30:24.000000000 -1000
++++ ncurses-5.9+iPhone/ncurses/Makefile.in 2010-11-27 11:45:27.000000000 -1000
+@@ -219,12 +219,12 @@
+ make_keys$(BUILD_EXEEXT) : \
+ $(tinfo)/make_keys.c \
+ names.c
+- $(BUILD_CC) -o $@ $(BUILD_CCFLAGS) $(tinfo)/make_keys.c $(BUILD_LDFLAGS) $(BUILD_LIBS)
++ $(BUILD_CC) -o $@ $(BUILD_CCFLAGS) $(tinfo)/make_keys.c $(BUILD_LDFLAGS) $(BUILD_LIBS) $(CPPFLAGS)
+
+ make_hash$(BUILD_EXEEXT) : \
+ $(tinfo)/make_hash.c \
+ ../include/hashsize.h
+- $(BUILD_CC) -o $@ $(BUILD_CCFLAGS) $(tinfo)/make_hash.c $(BUILD_LDFLAGS) $(BUILD_LIBS)
++ $(BUILD_CC) -o $@ $(BUILD_CCFLAGS) $(tinfo)/make_hash.c $(BUILD_LDFLAGS) $(BUILD_LIBS) $(CPPFLAGS)
+
+ ./expanded.c : $(srcdir)/curses.priv.h $(serial)/MKexpanded.sh
+ sh -e $(serial)/MKexpanded.sh "$(CPP)" $(CPPFLAGS) > $@
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/pam/_metadata/depends b/data/openpam/_metadata/depends
index 2659dae3c..2659dae3c 100644
--- a/data/pam/_metadata/depends
+++ b/data/openpam/_metadata/depends
diff --git a/data/pam/_metadata/description b/data/openpam/_metadata/description
index dc932a230..dc932a230 100644
--- a/data/pam/_metadata/description
+++ b/data/openpam/_metadata/description
diff --git a/data/pam/_metadata/license b/data/openpam/_metadata/license
index 2f27a2ee0..2f27a2ee0 100644
--- a/data/pam/_metadata/license
+++ b/data/openpam/_metadata/license
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/pam/_metadata/preinst b/data/openpam/_metadata/preinst
index 498792bf9..498792bf9 100755
--- a/data/pam/_metadata/preinst
+++ b/data/openpam/_metadata/preinst
diff --git a/data/pam/_metadata/priority b/data/openpam/_metadata/priority
index a6a7b9cd7..a6a7b9cd7 100644
--- a/data/pam/_metadata/priority
+++ b/data/openpam/_metadata/priority
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/pam/_metadata/section b/data/openpam/_metadata/section
index eb7a34ddd..eb7a34ddd 100644
--- a/data/pam/_metadata/section
+++ b/data/openpam/_metadata/section
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/pam/make.sh b/data/openpam/make.sh
index 419822b8d..edbfaeac3 100644
--- a/data/pam/make.sh
+++ b/data/openpam/make.sh
@@ -7,22 +7,11 @@ for pam in pam.d/!(*.serverinstall); do
sed -re '/^#|.*pam_(deny|nologin|permit|rootok|securetty|unix|uwtmp|wheel).so/ ! s/^/#/; ' "${pam}" >"${PKG_DEST}/etc/${pam}"
done
-cd pam
-autoconf
+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
-
-pkg: mv /usr/lib/libpam.1.0.dylib /usr/lib/libpam.1.dylib
-pkg: ln -s libpam.1.dylib /usr/lib/libpam.1.0.dylib
-pkg: ln -s libpam.1.dylib /usr/lib/libpam.dylib
-
-pkg: ln -s libpam.1.dylib /usr/lib/libpam_misc.dylib
-pkg: ln -s libpam.1.dylib /usr/lib/libpam_misc.1.dylib
-
-pkg: ln -s libpam.1.dylib /usr/lib/libpamc.dylib
-pkg: ln -s libpam.1.dylib /usr/lib/libpamc.1.dylib
-
-pkg: cp -a libpam/include/pam/pam_modules.h /usr/include/pam
diff --git a/data/pam/_metadata/maintainer b/data/pam/_metadata/maintainer
deleted file mode 120000
index 573d7ebef..000000000
--- a/data/pam/_metadata/maintainer
+++ /dev/null
@@ -1 +0,0 @@
-../../../people/sbingner \ No newline at end of file
diff --git a/data/pam/_metadata/name b/data/pam/_metadata/name
deleted file mode 100644
index c21911ef1..000000000
--- a/data/pam/_metadata/name
+++ /dev/null
@@ -1 +0,0 @@
-PAM (Apple)
diff --git a/data/pam/_metadata/version b/data/pam/_metadata/version
deleted file mode 100644
index 3e5ca5321..000000000
--- a/data/pam/_metadata/version
+++ /dev/null
@@ -1 +0,0 @@
-32.1
diff --git a/data/pam/ar.diff b/data/pam/ar.diff
deleted file mode 100644
index 67d901ff4..000000000
--- a/data/pam/ar.diff
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ru pam-32.1/pam/modules/pammodutil/Makefile pam-32.1+iPhone/pam/modules/pammodutil/Makefile
---- pam-32.1/pam/modules/pammodutil/Makefile 2009-04-08 08:45:37.000000000 +0000
-+++ pam-32.1+iPhone/pam/modules/pammodutil/Makefile 2009-04-08 08:45:52.000000000 +0000
-@@ -37,7 +37,7 @@
- $(CC) $(CFLAGS) $(CPPFLAGS) $(TARGET_ARCH) -c $< -o $@
-
- $(LIBSTATIC): $(SLIBOBJECTS)
-- ar cr $@ $(SLIBOBJECTS)
-+ $(AR) cr $@ $(SLIBOBJECTS)
- $(RANLIB) $@
-
- install:
diff --git a/data/pam/cc.diff b/data/pam/cc.diff
deleted file mode 100644
index df873933a..000000000
--- a/data/pam/cc.diff
+++ /dev/null
@@ -1,14 +0,0 @@
-diff -ru pam-32.1/pam/configure.in pam-32.1+iPhone/pam/configure.in
---- pam-32.1/pam/configure.in 2006-07-11 03:24:07.000000000 +0000
-+++ pam-32.1+iPhone/pam/configure.in 2009-04-08 08:23:07.000000000 +0000
-@@ -356,8 +356,8 @@
- OS_CFLAGS="-no-cpp-precomp"
- DYNTYPE=dylib
- LD=ld
-- LD_D='cc -bundle $(CFLAGS)'
-- LD_L='cc -dynamiclib -compatibility_version $(MAJOR_REL).$(MINOR_REL) -current_version $(MAJOR_REL).$(MINOR_REL) $(CFLAGS) -all_load'
-+ LD_D='$(CC) -bundle $(CFLAGS)'
-+ LD_L='$(CC) -dynamiclib -compatibility_version $(MAJOR_REL).$(MINOR_REL) -current_version $(MAJOR_REL).$(MINOR_REL) $(CFLAGS) -all_load'
- RANLIB=ranlib
- STRIP=strip
- CC_STATIC="-Xlinker -export-dynamic"
diff --git a/data/pam/lipo.diff b/data/pam/lipo.diff
deleted file mode 100644
index 770ff50e9..000000000
--- a/data/pam/lipo.diff
+++ /dev/null
@@ -1,21 +0,0 @@
-diff -ru pam-32.1/ar.sh pam-32.1+iPhone/ar.sh
---- pam-32.1/ar.sh 2005-08-18 18:02:08.000000000 +0000
-+++ pam-32.1+iPhone/ar.sh 2009-04-08 08:33:50.000000000 +0000
-@@ -47,7 +47,7 @@
- local archdir="${dir}/${arch}";
- mkdir -p "${archdir}";
-
-- lipo -thin "${arch}" "${archive}" -o "${archdir}/${name}";
-+ "${PKG_TARG}-lipo" -thin "${arch}" "${archive}" -o "${archdir}/${name}";
-
- ( cd "${archdir}" && ar -xo "./${name}"; );
-
-@@ -62,7 +62,7 @@
-
- local ofile;
- for ofile in ${ofiles}; do
-- lipo -create $(find "${dir}" -name "${ofile}" -print) -o "${dir}/${ofile}";
-+ "${PKG_TARG}-lipo" -create $(find "${dir}" -name "${ofile}" -print) -o "${dir}/${ofile}";
- done
-
- ( cd "${dir}" && ar -cr "${name}" ${ofiles}; );
diff --git a/data/pam/make.diff b/data/pam/make.diff
deleted file mode 100644
index e8bec575c..000000000
--- a/data/pam/make.diff
+++ /dev/null
@@ -1,18 +0,0 @@
-diff -ru pam-32.1/pam/modules/Makefile pam-32.1+iPhone/pam/modules/Makefile
---- pam-32.1/pam/modules/Makefile 2002-03-28 08:43:24.000000000 +0000
-+++ pam-32.1+iPhone/pam/modules/Makefile 2009-04-08 08:37:42.000000000 +0000
-@@ -13,7 +13,7 @@
-
- all:
- @echo building the static modutil library
-- make -C pammodutil all
-+ $(MAKE) -C pammodutil all
- @echo modules sources available are:
- @ls -d $(MODDIRS) 2>/dev/null ; echo :--------
- @echo
-@@ -56,4 +56,4 @@
- $(MAKE) -C $$i clean ; \
- } fi ; \
- done
-- make -C pammodutil clean
-+ $(MAKE) -C pammodutil clean
diff --git a/data/pam/pam-32.1.tar.gz b/data/pam/pam-32.1.tar.gz
deleted file mode 100644
index ff5a68acc..000000000
--- a/data/pam/pam-32.1.tar.gz
+++ /dev/null
Binary files differ
diff --git a/data/pam/uname.diff b/data/pam/uname.diff
deleted file mode 100644
index 0b7482bb5..000000000
--- a/data/pam/uname.diff
+++ /dev/null
@@ -1,12 +0,0 @@
-diff -ru pam-32.1/pam/configure.in pam-32.1+iPhone/pam/configure.in
---- pam-32.1/pam/configure.in 2006-07-11 03:24:07.000000000 +0000
-+++ pam-32.1+iPhone/pam/configure.in 2009-04-08 08:28:52.000000000 +0000
-@@ -28,7 +28,7 @@
- dnl Useful info (believed to be portable)
- dnl
- LOCALSRCDIR=`/bin/pwd` ; AC_SUBST(LOCALSRCDIR)
--OS=`uname|sed -e 'y/ABCDEFGHIJKLMNOPQRSTUVWXYZ/abcdefghijklmnopqrstuvwxyz/'`
-+OS=darwin
- AC_SUBST(OS)
-
- dnl