summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Bingner <sam@bingner.com>2019-12-02 12:56:34 -1000
committerSam Bingner <sam@bingner.com>2019-12-05 13:30:38 -1000
commit7d002e5a08a2600d803af432c1f9b91744cfe675 (patch)
tree2f2094a8eacd515ffee0c8d38d7bb92983230da1
parent01ee76738a7bfcd5bed46bdd4613cf63b4df3598 (diff)
Add libgcrypt20
-rw-r--r--data/_libgcrypt20/_metadata/conflicts1
-rw-r--r--data/_libgcrypt20/_metadata/description1
-rw-r--r--data/_libgcrypt20/_metadata/in.1200.000
-rw-r--r--data/_libgcrypt20/_metadata/in.1443.000
l---------data/_libgcrypt20/_metadata/libgpg-error.dep1
l---------data/_libgcrypt20/_metadata/license1
l---------data/_libgcrypt20/_metadata/maintainer1
-rw-r--r--data/_libgcrypt20/_metadata/name1
-rw-r--r--data/_libgcrypt20/_metadata/priority1
-rw-r--r--data/_libgcrypt20/_metadata/provides1
-rw-r--r--data/_libgcrypt20/_metadata/replaces1
-rw-r--r--data/_libgcrypt20/_metadata/role1
-rw-r--r--data/_libgcrypt20/_metadata/section1
-rw-r--r--data/_libgcrypt20/_metadata/tags1
-rw-r--r--data/_libgcrypt20/_metadata/version1
-rw-r--r--data/_libgcrypt20/asm.diff100
l---------data/_libgcrypt20/gcrypt1
-rw-r--r--data/_libgcrypt20/libgcrypt-1.8.3.tar.bz2bin0 -> 2989166 bytes
-rw-r--r--data/_libgcrypt20/make.sh4
-rw-r--r--data/libgcrypt20-dev/_metadata/conflicts1
-rw-r--r--data/libgcrypt20-dev/_metadata/description1
-rw-r--r--data/libgcrypt20-dev/_metadata/in.1200.000
-rw-r--r--data/libgcrypt20-dev/_metadata/in.1443.000
l---------data/libgcrypt20-dev/_metadata/libgpg-error.dep1
l---------data/libgcrypt20-dev/_metadata/license1
l---------data/libgcrypt20-dev/_metadata/maintainer1
-rw-r--r--data/libgcrypt20-dev/_metadata/priority1
-rw-r--r--data/libgcrypt20-dev/_metadata/role1
-rw-r--r--data/libgcrypt20-dev/_metadata/section1
-rw-r--r--data/libgcrypt20-dev/_metadata/tags1
l---------data/libgcrypt20-dev/_metadata/version1
-rw-r--r--data/libgcrypt20-dev/make.sh5
l---------data/libgcrypt20/_metadata/_libgcrypt20.dep1
-rw-r--r--data/libgcrypt20/_metadata/conflicts1
-rw-r--r--data/libgcrypt20/_metadata/description1
-rw-r--r--data/libgcrypt20/_metadata/in.1200.000
-rw-r--r--data/libgcrypt20/_metadata/in.1443.000
l---------data/libgcrypt20/_metadata/libgpg-error.dep1
l---------data/libgcrypt20/_metadata/license1
l---------data/libgcrypt20/_metadata/maintainer1
-rw-r--r--data/libgcrypt20/_metadata/priority1
-rw-r--r--data/libgcrypt20/_metadata/provides1
-rw-r--r--data/libgcrypt20/_metadata/replaces1
-rw-r--r--data/libgcrypt20/_metadata/role1
-rw-r--r--data/libgcrypt20/_metadata/section1
-rw-r--r--data/libgcrypt20/_metadata/tags1
l---------data/libgcrypt20/_metadata/version1
-rw-r--r--data/libgcrypt20/make.sh5
48 files changed, 151 insertions, 0 deletions
diff --git a/data/_libgcrypt20/_metadata/conflicts b/data/_libgcrypt20/_metadata/conflicts
new file mode 100644
index 000000000..2b058026d
--- /dev/null
+++ b/data/_libgcrypt20/_metadata/conflicts
@@ -0,0 +1 @@
+gcrypt, libgcrypt
diff --git a/data/_libgcrypt20/_metadata/description b/data/_libgcrypt20/_metadata/description
new file mode 100644
index 000000000..10381ea5e
--- /dev/null
+++ b/data/_libgcrypt20/_metadata/description
@@ -0,0 +1 @@
+LGPL cryptographic algorithm library
diff --git a/data/_libgcrypt20/_metadata/in.1200.00 b/data/_libgcrypt20/_metadata/in.1200.00
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/data/_libgcrypt20/_metadata/in.1200.00
diff --git a/data/_libgcrypt20/_metadata/in.1443.00 b/data/_libgcrypt20/_metadata/in.1443.00
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/data/_libgcrypt20/_metadata/in.1443.00
diff --git a/data/_libgcrypt20/_metadata/libgpg-error.dep b/data/_libgcrypt20/_metadata/libgpg-error.dep
new file mode 120000
index 000000000..b2a102581
--- /dev/null
+++ b/data/_libgcrypt20/_metadata/libgpg-error.dep
@@ -0,0 +1 @@
+../../libgpg-error \ No newline at end of file
diff --git a/data/_libgcrypt20/_metadata/license b/data/_libgcrypt20/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/_libgcrypt20/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/_libgcrypt20/_metadata/maintainer b/data/_libgcrypt20/_metadata/maintainer
new file mode 120000
index 000000000..573d7ebef
--- /dev/null
+++ b/data/_libgcrypt20/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/sbingner \ No newline at end of file
diff --git a/data/_libgcrypt20/_metadata/name b/data/_libgcrypt20/_metadata/name
new file mode 100644
index 000000000..ae5c8167e
--- /dev/null
+++ b/data/_libgcrypt20/_metadata/name
@@ -0,0 +1 @@
+GNU Cryptography
diff --git a/data/_libgcrypt20/_metadata/priority b/data/_libgcrypt20/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/_libgcrypt20/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/_libgcrypt20/_metadata/provides b/data/_libgcrypt20/_metadata/provides
new file mode 100644
index 000000000..2b058026d
--- /dev/null
+++ b/data/_libgcrypt20/_metadata/provides
@@ -0,0 +1 @@
+gcrypt, libgcrypt
diff --git a/data/_libgcrypt20/_metadata/replaces b/data/_libgcrypt20/_metadata/replaces
new file mode 100644
index 000000000..2b058026d
--- /dev/null
+++ b/data/_libgcrypt20/_metadata/replaces
@@ -0,0 +1 @@
+gcrypt, libgcrypt
diff --git a/data/_libgcrypt20/_metadata/role b/data/_libgcrypt20/_metadata/role
new file mode 100644
index 000000000..8d0320866
--- /dev/null
+++ b/data/_libgcrypt20/_metadata/role
@@ -0,0 +1 @@
+developer
diff --git a/data/_libgcrypt20/_metadata/section b/data/_libgcrypt20/_metadata/section
new file mode 100644
index 000000000..4b487b7d5
--- /dev/null
+++ b/data/_libgcrypt20/_metadata/section
@@ -0,0 +1 @@
+Security
diff --git a/data/_libgcrypt20/_metadata/tags b/data/_libgcrypt20/_metadata/tags
new file mode 100644
index 000000000..a8928cec8
--- /dev/null
+++ b/data/_libgcrypt20/_metadata/tags
@@ -0,0 +1 @@
+purpose::library
diff --git a/data/_libgcrypt20/_metadata/version b/data/_libgcrypt20/_metadata/version
new file mode 100644
index 000000000..a7ee35a3e
--- /dev/null
+++ b/data/_libgcrypt20/_metadata/version
@@ -0,0 +1 @@
+1.8.3
diff --git a/data/_libgcrypt20/asm.diff b/data/_libgcrypt20/asm.diff
new file mode 100644
index 000000000..4d2cbffba
--- /dev/null
+++ b/data/_libgcrypt20/asm.diff
@@ -0,0 +1,100 @@
+diff -ur libgcrypt-1.8.3/mpi/aarch64/mpih-add1.S libgcrypt-1.8.3+iPhone/mpi/aarch64/mpih-add1.S
+--- libgcrypt-1.8.3/mpi/aarch64/mpih-add1.S 2017-11-23 08:16:58.000000000 -1000
++++ libgcrypt-1.8.3+iPhone/mpi/aarch64/mpih-add1.S 2018-08-15 10:10:26.000000000 -1000
+@@ -33,9 +33,8 @@
+
+ .text
+
+-.globl _gcry_mpih_add_n
+-.type _gcry_mpih_add_n,%function
+-_gcry_mpih_add_n:
++.globl __gcry_mpih_add_n
++__gcry_mpih_add_n:
+ and x5, x3, #3;
+ adds xzr, xzr, xzr; /* clear carry flag */
+
+@@ -68,4 +67,3 @@
+ .Lend:
+ adc x0, xzr, xzr;
+ ret;
+-.size _gcry_mpih_add_n,.-_gcry_mpih_add_n;
+diff -ur libgcrypt-1.8.3/mpi/aarch64/mpih-mul1.S libgcrypt-1.8.3+iPhone/mpi/aarch64/mpih-mul1.S
+--- libgcrypt-1.8.3/mpi/aarch64/mpih-mul1.S 2017-11-23 08:16:58.000000000 -1000
++++ libgcrypt-1.8.3+iPhone/mpi/aarch64/mpih-mul1.S 2018-08-15 10:10:34.000000000 -1000
+@@ -33,9 +33,8 @@
+
+ .text
+
+-.globl _gcry_mpih_mul_1
+-.type _gcry_mpih_mul_1,%function
+-_gcry_mpih_mul_1:
++.globl __gcry_mpih_mul_1
++__gcry_mpih_mul_1:
+ and x5, x2, #3;
+ mov x4, xzr;
+
+@@ -93,4 +92,3 @@
+ .Lend:
+ mov x0, x4;
+ ret;
+-.size _gcry_mpih_mul_1,.-_gcry_mpih_mul_1;
+diff -ur libgcrypt-1.8.3/mpi/aarch64/mpih-mul2.S libgcrypt-1.8.3+iPhone/mpi/aarch64/mpih-mul2.S
+--- libgcrypt-1.8.3/mpi/aarch64/mpih-mul2.S 2017-11-23 08:16:58.000000000 -1000
++++ libgcrypt-1.8.3+iPhone/mpi/aarch64/mpih-mul2.S 2018-08-15 10:10:41.000000000 -1000
+@@ -33,9 +33,8 @@
+
+ .text
+
+-.globl _gcry_mpih_addmul_1
+-.type _gcry_mpih_addmul_1,%function
+-_gcry_mpih_addmul_1:
++.globl __gcry_mpih_addmul_1
++__gcry_mpih_addmul_1:
+ and x5, x2, #3;
+ mov x6, xzr;
+ mov x7, xzr;
+@@ -105,4 +104,3 @@
+ .Lend:
+ mov x0, x6;
+ ret;
+-.size _gcry_mpih_addmul_1,.-_gcry_mpih_addmul_1;
+diff -ur libgcrypt-1.8.3/mpi/aarch64/mpih-mul3.S libgcrypt-1.8.3+iPhone/mpi/aarch64/mpih-mul3.S
+--- libgcrypt-1.8.3/mpi/aarch64/mpih-mul3.S 2017-11-23 08:16:58.000000000 -1000
++++ libgcrypt-1.8.3+iPhone/mpi/aarch64/mpih-mul3.S 2018-08-15 10:10:49.000000000 -1000
+@@ -33,9 +33,8 @@
+
+ .text
+
+-.globl _gcry_mpih_submul_1
+-.type _gcry_mpih_submul_1,%function
+-_gcry_mpih_submul_1:
++.globl __gcry_mpih_submul_1
++__gcry_mpih_submul_1:
+ and x5, x2, #3;
+ mov x7, xzr;
+ cbz x5, .Large_loop;
+@@ -118,4 +117,3 @@
+ .Loop_end:
+ cinc x0, x7, cc;
+ ret;
+-.size _gcry_mpih_submul_1,.-_gcry_mpih_submul_1;
+diff -ur libgcrypt-1.8.3/mpi/aarch64/mpih-sub1.S libgcrypt-1.8.3+iPhone/mpi/aarch64/mpih-sub1.S
+--- libgcrypt-1.8.3/mpi/aarch64/mpih-sub1.S 2017-11-23 08:16:58.000000000 -1000
++++ libgcrypt-1.8.3+iPhone/mpi/aarch64/mpih-sub1.S 2018-08-15 10:10:52.000000000 -1000
+@@ -33,9 +33,8 @@
+
+ .text
+
+-.globl _gcry_mpih_sub_n
+-.type _gcry_mpih_sub_n,%function
+-_gcry_mpih_sub_n:
++.globl __gcry_mpih_sub_n
++__gcry_mpih_sub_n:
+ and x5, x3, #3;
+ subs xzr, xzr, xzr; /* prepare carry flag for sub */
+
+@@ -68,4 +67,3 @@
+ .Lend:
+ cset x0, cc;
+ ret;
+-.size _gcry_mpih_sub_n,.-_gcry_mpih_sub_n;
diff --git a/data/_libgcrypt20/gcrypt b/data/_libgcrypt20/gcrypt
new file mode 120000
index 000000000..0a21c7b07
--- /dev/null
+++ b/data/_libgcrypt20/gcrypt
@@ -0,0 +1 @@
+../../gcrypt \ No newline at end of file
diff --git a/data/_libgcrypt20/libgcrypt-1.8.3.tar.bz2 b/data/_libgcrypt20/libgcrypt-1.8.3.tar.bz2
new file mode 100644
index 000000000..469d97aac
--- /dev/null
+++ b/data/_libgcrypt20/libgcrypt-1.8.3.tar.bz2
Binary files differ
diff --git a/data/_libgcrypt20/make.sh b/data/_libgcrypt20/make.sh
new file mode 100644
index 000000000..b14bd2624
--- /dev/null
+++ b/data/_libgcrypt20/make.sh
@@ -0,0 +1,4 @@
+pkg:setup
+pkg:configure --with-gpg-error-prefix="$(PKG_DEST_ libgpg-error)/usr"
+make -j8
+pkg:install
diff --git a/data/libgcrypt20-dev/_metadata/conflicts b/data/libgcrypt20-dev/_metadata/conflicts
new file mode 100644
index 000000000..2b058026d
--- /dev/null
+++ b/data/libgcrypt20-dev/_metadata/conflicts
@@ -0,0 +1 @@
+gcrypt, libgcrypt
diff --git a/data/libgcrypt20-dev/_metadata/description b/data/libgcrypt20-dev/_metadata/description
new file mode 100644
index 000000000..d0e3fc6ee
--- /dev/null
+++ b/data/libgcrypt20-dev/_metadata/description
@@ -0,0 +1 @@
+LGPL Crypto library - development files
diff --git a/data/libgcrypt20-dev/_metadata/in.1200.00 b/data/libgcrypt20-dev/_metadata/in.1200.00
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/data/libgcrypt20-dev/_metadata/in.1200.00
diff --git a/data/libgcrypt20-dev/_metadata/in.1443.00 b/data/libgcrypt20-dev/_metadata/in.1443.00
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/data/libgcrypt20-dev/_metadata/in.1443.00
diff --git a/data/libgcrypt20-dev/_metadata/libgpg-error.dep b/data/libgcrypt20-dev/_metadata/libgpg-error.dep
new file mode 120000
index 000000000..b2a102581
--- /dev/null
+++ b/data/libgcrypt20-dev/_metadata/libgpg-error.dep
@@ -0,0 +1 @@
+../../libgpg-error \ No newline at end of file
diff --git a/data/libgcrypt20-dev/_metadata/license b/data/libgcrypt20-dev/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/libgcrypt20-dev/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/libgcrypt20-dev/_metadata/maintainer b/data/libgcrypt20-dev/_metadata/maintainer
new file mode 120000
index 000000000..573d7ebef
--- /dev/null
+++ b/data/libgcrypt20-dev/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/sbingner \ No newline at end of file
diff --git a/data/libgcrypt20-dev/_metadata/priority b/data/libgcrypt20-dev/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/libgcrypt20-dev/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/libgcrypt20-dev/_metadata/role b/data/libgcrypt20-dev/_metadata/role
new file mode 100644
index 000000000..8d0320866
--- /dev/null
+++ b/data/libgcrypt20-dev/_metadata/role
@@ -0,0 +1 @@
+developer
diff --git a/data/libgcrypt20-dev/_metadata/section b/data/libgcrypt20-dev/_metadata/section
new file mode 100644
index 000000000..4b487b7d5
--- /dev/null
+++ b/data/libgcrypt20-dev/_metadata/section
@@ -0,0 +1 @@
+Security
diff --git a/data/libgcrypt20-dev/_metadata/tags b/data/libgcrypt20-dev/_metadata/tags
new file mode 100644
index 000000000..a8928cec8
--- /dev/null
+++ b/data/libgcrypt20-dev/_metadata/tags
@@ -0,0 +1 @@
+purpose::library
diff --git a/data/libgcrypt20-dev/_metadata/version b/data/libgcrypt20-dev/_metadata/version
new file mode 120000
index 000000000..a29b6e9a0
--- /dev/null
+++ b/data/libgcrypt20-dev/_metadata/version
@@ -0,0 +1 @@
+../../_libgcrypt20/_metadata/version \ No newline at end of file
diff --git a/data/libgcrypt20-dev/make.sh b/data/libgcrypt20-dev/make.sh
new file mode 100644
index 000000000..4c4a0453d
--- /dev/null
+++ b/data/libgcrypt20-dev/make.sh
@@ -0,0 +1,5 @@
+pkg: mkdir -p /usr
+LIBNAME=${PKG_NAME%-dev}
+LIBNAME=${LIBNAME#lib}
+cp -a "$(PKG_DEST_ _lib${LIBNAME})"/usr/* "${PKG_DEST}"/usr/
+rm "${PKG_DEST}"/usr/lib/lib*.*.dylib
diff --git a/data/libgcrypt20/_metadata/_libgcrypt20.dep b/data/libgcrypt20/_metadata/_libgcrypt20.dep
new file mode 120000
index 000000000..b3f004540
--- /dev/null
+++ b/data/libgcrypt20/_metadata/_libgcrypt20.dep
@@ -0,0 +1 @@
+../../_libgcrypt20 \ No newline at end of file
diff --git a/data/libgcrypt20/_metadata/conflicts b/data/libgcrypt20/_metadata/conflicts
new file mode 100644
index 000000000..2b058026d
--- /dev/null
+++ b/data/libgcrypt20/_metadata/conflicts
@@ -0,0 +1 @@
+gcrypt, libgcrypt
diff --git a/data/libgcrypt20/_metadata/description b/data/libgcrypt20/_metadata/description
new file mode 100644
index 000000000..db217c329
--- /dev/null
+++ b/data/libgcrypt20/_metadata/description
@@ -0,0 +1 @@
+LGPL Crypto library - runtime library
diff --git a/data/libgcrypt20/_metadata/in.1200.00 b/data/libgcrypt20/_metadata/in.1200.00
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/data/libgcrypt20/_metadata/in.1200.00
diff --git a/data/libgcrypt20/_metadata/in.1443.00 b/data/libgcrypt20/_metadata/in.1443.00
new file mode 100644
index 000000000..e69de29bb
--- /dev/null
+++ b/data/libgcrypt20/_metadata/in.1443.00
diff --git a/data/libgcrypt20/_metadata/libgpg-error.dep b/data/libgcrypt20/_metadata/libgpg-error.dep
new file mode 120000
index 000000000..b2a102581
--- /dev/null
+++ b/data/libgcrypt20/_metadata/libgpg-error.dep
@@ -0,0 +1 @@
+../../libgpg-error \ No newline at end of file
diff --git a/data/libgcrypt20/_metadata/license b/data/libgcrypt20/_metadata/license
new file mode 120000
index 000000000..9c13a9a0f
--- /dev/null
+++ b/data/libgcrypt20/_metadata/license
@@ -0,0 +1 @@
+../../../licenses/gpl-2 \ No newline at end of file
diff --git a/data/libgcrypt20/_metadata/maintainer b/data/libgcrypt20/_metadata/maintainer
new file mode 120000
index 000000000..573d7ebef
--- /dev/null
+++ b/data/libgcrypt20/_metadata/maintainer
@@ -0,0 +1 @@
+../../../people/sbingner \ No newline at end of file
diff --git a/data/libgcrypt20/_metadata/priority b/data/libgcrypt20/_metadata/priority
new file mode 100644
index 000000000..134d9bc32
--- /dev/null
+++ b/data/libgcrypt20/_metadata/priority
@@ -0,0 +1 @@
+optional
diff --git a/data/libgcrypt20/_metadata/provides b/data/libgcrypt20/_metadata/provides
new file mode 100644
index 000000000..2b058026d
--- /dev/null
+++ b/data/libgcrypt20/_metadata/provides
@@ -0,0 +1 @@
+gcrypt, libgcrypt
diff --git a/data/libgcrypt20/_metadata/replaces b/data/libgcrypt20/_metadata/replaces
new file mode 100644
index 000000000..2b058026d
--- /dev/null
+++ b/data/libgcrypt20/_metadata/replaces
@@ -0,0 +1 @@
+gcrypt, libgcrypt
diff --git a/data/libgcrypt20/_metadata/role b/data/libgcrypt20/_metadata/role
new file mode 100644
index 000000000..8d0320866
--- /dev/null
+++ b/data/libgcrypt20/_metadata/role
@@ -0,0 +1 @@
+developer
diff --git a/data/libgcrypt20/_metadata/section b/data/libgcrypt20/_metadata/section
new file mode 100644
index 000000000..4b487b7d5
--- /dev/null
+++ b/data/libgcrypt20/_metadata/section
@@ -0,0 +1 @@
+Security
diff --git a/data/libgcrypt20/_metadata/tags b/data/libgcrypt20/_metadata/tags
new file mode 100644
index 000000000..a8928cec8
--- /dev/null
+++ b/data/libgcrypt20/_metadata/tags
@@ -0,0 +1 @@
+purpose::library
diff --git a/data/libgcrypt20/_metadata/version b/data/libgcrypt20/_metadata/version
new file mode 120000
index 000000000..a29b6e9a0
--- /dev/null
+++ b/data/libgcrypt20/_metadata/version
@@ -0,0 +1 @@
+../../_libgcrypt20/_metadata/version \ No newline at end of file
diff --git a/data/libgcrypt20/make.sh b/data/libgcrypt20/make.sh
new file mode 100644
index 000000000..a9e7bf319
--- /dev/null
+++ b/data/libgcrypt20/make.sh
@@ -0,0 +1,5 @@
+pkg: mkdir -p /usr/lib
+LIBNAME=${PKG_NAME%%[[:digit:]]*}
+LIBVER=${PKG_NAME#${LIBNAME}}
+LIBNAME=${LIBNAME#lib}
+cp -a "$(PKG_DEST_ _${PKG_NAME})"/usr/lib/lib${LIBNAME}.${LIBVER}.*dylib "${PKG_DEST}"/usr/lib