summaryrefslogtreecommitdiff
path: root/i486-stage2/pam/DESCR
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2018-02-23 16:05:32 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2018-02-23 16:05:32 +0100
commit02a07b1846dd61be1df300f345143e5462caa7ae (patch)
tree0988ef467bbf604e824e8456186b6ed1dee64611 /i486-stage2/pam/DESCR
parentc0d44acb92b16f7ead37642086e903540a148153 (diff)
downloadbootstrap32-02a07b1846dd61be1df300f345143e5462caa7ae.tar.xz
building up to libarchive
Diffstat (limited to 'i486-stage2/pam/DESCR')
-rw-r--r--i486-stage2/pam/DESCR21
1 files changed, 21 insertions, 0 deletions
diff --git a/i486-stage2/pam/DESCR b/i486-stage2/pam/DESCR
new file mode 100644
index 0000000..b2c19a2
--- /dev/null
+++ b/i486-stage2/pam/DESCR
@@ -0,0 +1,21 @@
+# disable NIS/YP
+sed -i 's@./configure@./configure --disable-nis@g' PKGBUILD
+
+# no w3m, docboox-xml/xsl
+# tons of tools needed to build documentation, we ommit the documentation right now
+sed -i "/makedepends=/s/'w3m'//" PKGBUILD
+sed -i "/makedepends=/s/'docbook-xml.*'//" PKGBUILD
+sed -i "/makedepends=/s/'docbook-xsl'//" PKGBUILD
+
+# unix_passwd.c:56:10: fatal error: rpcsvc/yp_prot.h: No such file or directory
+# #include <rpcsvc/yp_prot.h>
+# => pam-1.3.0-unix-passwd-no-yp.patch
+sed -i 's@source=(@source=(pam-1.3.0-unix-passwd-no-yp.patch @' PKGBUILD
+sed -i "s@md5sums=(@md5sums=('3f5edd685cdd2c0a2ca44bc6e75320d8' @" PKGBUILD
+sed -i '/patch -Np/ a \ patch -Np1 -i "${srcdir}/pam-1.3.0-unix-passwd-no-yp.patch"' PKGBUILD
+
+# disable docu rebuilding
+sed -i 's@./configure@./configure --disable-regenerate-docu@' PKGBUILD
+
+# no documentation built, so nothing to remove
+sed -i '2!N; /# FS #40749\n \+rm/ s/rm/#rm/g' PKGBUILD