summaryrefslogtreecommitdiff
path: root/src/stage1
diff options
context:
space:
mode:
authorAndreas Grapentin <andreas@grapentin.org>2018-02-16 19:24:41 +0100
committerAndreas Grapentin <andreas@grapentin.org>2018-02-16 19:24:41 +0100
commite70893e187aef6e1f678d0bf73b6a8d656356757 (patch)
treebb10c100b3e76efe6423320c770d1a93a276eb35 /src/stage1
parentde07fcd49911a89ee3691816ddcfc7ee8a8eb779 (diff)
now at sed
Diffstat (limited to 'src/stage1')
-rw-r--r--src/stage1/patches/argon2.patch18
-rw-r--r--src/stage1/patches/cracklib.patch19
2 files changed, 37 insertions, 0 deletions
diff --git a/src/stage1/patches/argon2.patch b/src/stage1/patches/argon2.patch
new file mode 100644
index 0000000..5de51c2
--- /dev/null
+++ b/src/stage1/patches/argon2.patch
@@ -0,0 +1,18 @@
+--- a/PKGBUILD 2018-02-16 15:09:16.555812586 +0100
++++ b/PKGBUILD 2018-02-16 15:11:31.917323092 +0100
+@@ -25,6 +25,7 @@ prepare() {
+ build() {
+ cd "$srcdir/phc-winner-$pkgname-$pkgver"
+
++ CC=@TARGET@-gcc AS=@TARGET@-as LD=@TARGET@-ld \
+ make OPTTARGET=none
+ }
+
+@@ -37,6 +38,7 @@ check() {
+ package() {
+ cd "$srcdir/phc-winner-$pkgname-$pkgver"
+
++ CC=@TARGET@-gcc AS=@TARGET@-as LD=@TARGET@-ld \
+ make OPTTARGET=none DESTDIR="$pkgdir" install
+
+ install -D -m0644 LICENSE "${pkgdir}/usr/share/licenses/argon2/LICENSE"
diff --git a/src/stage1/patches/cracklib.patch b/src/stage1/patches/cracklib.patch
new file mode 100644
index 0000000..4e15698
--- /dev/null
+++ b/src/stage1/patches/cracklib.patch
@@ -0,0 +1,19 @@
+--- a/PKGBUILD 2018-02-16 15:07:18.597829833 +0100
++++ b/PKGBUILD 2018-02-16 15:06:07.657038447 +0100
+@@ -15,7 +15,7 @@ md5sums=('c52f463585d85924b28cdc1e373ae0
+
+ build() {
+ cd $srcdir/$pkgname-$pkgver
+- ./configure --prefix=/usr --sbindir=/usr/bin --without-python
++ ./configure --host=@TARGET@ --prefix=/usr --sbindir=/usr/bin --without-python
+ make
+ }
+
+@@ -26,6 +26,7 @@ check() {
+
+ package() {
+ cd $srcdir/$pkgname-$pkgver
++ export LD_LIBRARY_PATH="@SYSROOT@/lib:$LD_LIBRARY_PATH"
+ make DESTDIR=$pkgdir install
+ # symlink cracklib-small #34778
+ mkdir -p $pkgdir/usr/share/dict