Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-03-08 16:27:31 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-03-08 16:27:31 +0100
commitcec99062ad5e9d50de1d9c28cc1e2f8ad8e45247 (patch)
treefd630721a2b19698d96b8f95981fc5986cf2ebcb
parenta90e7b876de141471055dccba56f63828e7bf382 (diff)
built gpgme and sudo in stage3
-rwxr-xr-xbuild_stage3.sh19
-rw-r--r--i486-stage3/gpgme/DESCR17
2 files changed, 26 insertions, 10 deletions
diff --git a/build_stage3.sh b/build_stage3.sh
index aa9243d..d071eba 100755
--- a/build_stage3.sh
+++ b/build_stage3.sh
@@ -55,13 +55,12 @@ vi
which
xfsprogs
psmisc
+gpgme
+sudo
"
#~ <net-tools> <libmnl> <libnfnetlink> iptables iproute2
-#~ iptables: libpcap
-#~ libpcap: libnl libusbx dbus
-
# python executes and fails in testing. Why can't i switch off
# testing?
# 0:01:27 load avg: 1.07 [ 24/406] test_asynchat, test hangs forever!
@@ -108,7 +107,6 @@ psmisc
#~ linux build full with mkinitcpio and modules
-# systemd: libgcrypt libmicrohttpd libxslt python-lxml quota-tools gnu-efi-libs meson
#~ pacman-mirrorlist archlinux-keyring archlinux32-keyring pacman
#~ <kbd> procps-ng <bison> <shadow>
@@ -123,9 +121,6 @@ psmisc
# stage3 (from compute_dependencies.sh)
#~ ca-certificates-cacert: ca-certificates-utils
#~ cryptsetup: device-mapper libgcrypt popt libutil-linux json-c argon2
-#~ dbus: libsystemd expat
-#~ dhcpcd: glibc sh udev libsystemd
-
# ldns/unbound-cyrcle
#~ ldns: openssl dnssec-anchors
@@ -144,12 +139,17 @@ psmisc
#~ openresolv: systemd
#~ pcmciautils: systemd
#~ procps-ng: libsystemd
+#~ iptables: libpcap
+#~ libpcap: libnl libusbx dbus
+# systemd: libgcrypt libmicrohttpd libxslt python-lxml quota-tools gnu-efi-libs meson
+#~ dbus: libsystemd expat
+#~ dhcpcd: glibc sh udev libsystemd
#~ mkinitcpio: awk mkinitcpio-busybox kmod util-linux libarchive coreutils bash findutils grep filesystem gzip systemd
-#~ pacman: libarchive curl gpgme pacman-mirrorlist archlinux-keyring
-#~ sudo: libgcrypt pam libldap
+#~ pacman: libarchive curl pacman-mirrorlist archlinux-keyring
+# lvm2, devicemapper: systemd, thin-povisioning-tools
#~ thin-provisioning-tools: expat gcc-libs libaio boost
# boost: we can build a non-python version
@@ -162,7 +162,6 @@ psmisc
#~ base pcmciautils
#~ base systemd-sysvcompat
#~ base usbutils
-#~ base-devel sudo
#~ base-devel systemd
for p in $PACKAGES; do
diff --git a/i486-stage3/gpgme/DESCR b/i486-stage3/gpgme/DESCR
new file mode 100644
index 0000000..44d2f9b
--- /dev/null
+++ b/i486-stage3/gpgme/DESCR
@@ -0,0 +1,17 @@
+# we only build the library
+sed -i 's/pkgname=.*/pkgname=(gpgme)/' PKGBUILD
+
+# no python
+sed -i "/makedepends=/s/'python'//" PKGBUILD
+sed -i "/makedepends=/s/'python2'//" PKGBUILD
+
+# no Qt library
+sed -i "/makedepends=/s/'qt5-base'//" PKGBUILD
+
+# no bindings
+sed -i "/makedepends=/s/'swig'//" PKGBUILD
+
+# disable language bindings support and don't move around
+# things we do not build
+sed -i 's@./configure@./configure --enable-languages=no@' PKGBUILD
+sed -i '/# split qgpgme/,/^}/ {/# split qgpgme/n;/^}/!{s/\(.*\)/#\1/g}}' PKGBUILD