diff options
-rwxr-xr-x | create.sh | 2 | ||||
-rw-r--r-- | src/stage1/patches/gc.patch | 11 | ||||
-rw-r--r-- | src/stage1/patches/gobject-introspection-runtime.patch | 11 | ||||
-rw-r--r-- | src/stage1/patches/guile.patch | 13 | ||||
-rw-r--r-- | src/stage1/patches/inetutils.patch | 10 | ||||
-rw-r--r-- | src/stage1/patches/iputils.patch | 28 | ||||
-rw-r--r-- | src/stage1/patches/libldap.patch | 30 | ||||
-rw-r--r-- | src/stage1/patches/libpipeline.patch | 11 | ||||
-rw-r--r-- | src/stage1/patches/libsecret.patch | 21 | ||||
-rw-r--r-- | src/stage1/patches/logrotate.patch | 10 | ||||
-rw-r--r-- | src/stage1/patches/man-db.patch | 10 | ||||
-rw-r--r-- | src/stage1/patches/mkinitcpio-busybox.patch | 15 | ||||
-rw-r--r-- | src/stage1/patches/nano.patch | 11 | ||||
-rw-r--r-- | src/stage1/patches/psmisc.patch | 12 | ||||
-rw-r--r-- | src/stage1/patches/sysfsutils.patch | 13 | ||||
-rw-r--r-- | src/stage1/patches/vi.patch | 14 |
16 files changed, 0 insertions, 222 deletions
@@ -48,6 +48,4 @@ export _sysroot=$($_target-gcc --print-sysroot) # stage 1: cross-makepkg a base system ./src/stage1.sh -# cleanup -# rm -rf "$_builddir" echo "all done :)" diff --git a/src/stage1/patches/gc.patch b/src/stage1/patches/gc.patch deleted file mode 100644 index 56ba5ff..0000000 --- a/src/stage1/patches/gc.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/PKGBUILD 2018-02-21 19:36:19.324934269 +0100 -+++ b/PKGBUILD 2018-02-21 19:36:34.145999337 +0100 -@@ -19,7 +19,7 @@ prepare() { - - build() { - cd ${pkgname}-${pkgver} -- ./configure --prefix=/usr --enable-cplusplus --disable-static -+ ./configure --host=@TARGET@ --build=@BUILDHOST@ --prefix=/usr --enable-cplusplus --disable-static - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool - make - } diff --git a/src/stage1/patches/gobject-introspection-runtime.patch b/src/stage1/patches/gobject-introspection-runtime.patch deleted file mode 100644 index 7b0dae4..0000000 --- a/src/stage1/patches/gobject-introspection-runtime.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/PKGBUILD 2018-02-22 08:44:15.636283407 +0100 -+++ b/PKGBUILD 2018-02-22 08:45:01.928254941 +0100 -@@ -28,7 +28,7 @@ prepare() { - - build() { - cd $pkgbase -- ./configure --prefix=/usr --disable-static --enable-doctool --enable-gtk-doc -+ ./configure --host=@TARGET@ --build=@BUILDHOST@ --prefix=/usr --disable-static --disable-doctool --disable-gtk-doc - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool - make - } diff --git a/src/stage1/patches/guile.patch b/src/stage1/patches/guile.patch deleted file mode 100644 index 3b6a039..0000000 --- a/src/stage1/patches/guile.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- a/PKGBUILD 2018-02-21 19:43:16.351151414 +0100 -+++ b/PKGBUILD 2018-02-21 20:12:32.677790467 +0100 -@@ -21,6 +21,10 @@ sha256sums=('87ee07caef33c97ddc74bf3c29c - build() { - cd $pkgname-$pkgver - ./configure --prefix=/usr \ -+ --host=@TARGET@ --build=@BUILDHOST@ \ -+ --with-libltdl-prefix=/usr/@TARGET@/usr \ -+ --with-libgmp-prefix=/usr/riscv64-linux-gun/usr \ -+ --with-libunistring-prefix=/usr/@TARGET@/usr \ - --disable-static \ - --disable-error-on-warning - sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool diff --git a/src/stage1/patches/inetutils.patch b/src/stage1/patches/inetutils.patch deleted file mode 100644 index 6dbea56..0000000 --- a/src/stage1/patches/inetutils.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/PKGBUILD 2018-02-21 19:11:52.847881134 +0100 -+++ b/PKGBUILD 2018-02-21 19:12:06.357064054 +0100 -@@ -42,6 +42,7 @@ validpgpkeys=('4FBD67621082C4C502448E3B1 - build() { - cd ${pkgname}-${pkgver} - ./configure --prefix=/usr --libexec=/usr/bin \ -+ --host=@TARGET@ --build=@BUILDHOST@ \ - --localstatedir=/var --sysconfdir=/etc \ - --without-wrap --with-pam \ - --enable-ftp --enable-ftpd \ diff --git a/src/stage1/patches/iputils.patch b/src/stage1/patches/iputils.patch deleted file mode 100644 index c7a2f99..0000000 --- a/src/stage1/patches/iputils.patch +++ /dev/null @@ -1,28 +0,0 @@ ---- a/PKGBUILD 2018-02-21 19:19:53.058846708 +0100 -+++ b/PKGBUILD 2018-02-21 19:25:13.491197185 +0100 -@@ -28,10 +28,11 @@ sha1sums=('SKIP' - build() { - cd "${srcdir}/${pkgname}" - -+ CC=@TARGET@-gcc \ - make USE_NETTLE=no USE_GNUTLS=no CCOPTOPT="$CFLAGS" - # fix perl-sgmls - sed -i -e 's#sgmlspl#sgmlspl.pl#g' "${srcdir}/${pkgname}/doc/Makefile" -- make -C doc man -+ #make -C doc man - } - - package() { -@@ -41,9 +42,9 @@ package() { - - install -m755 arping clockdiff ping rarpd rdisc tftpd tracepath "${pkgdir}"/usr/bin/ - -- install -dm755 "${pkgdir}"/usr/share/man/man8 -- install -m644 doc/{arping,clockdiff,ping,rarpd,rdisc,tftpd,tracepath}.8 \ -- "${pkgdir}"/usr/share/man/man8/ -+ #install -dm755 "${pkgdir}"/usr/share/man/man8 -+ #install -m644 doc/{arping,clockdiff,ping,rarpd,rdisc,tftpd,tracepath}.8 \ -+ # "${pkgdir}"/usr/share/man/man8/ - - # FS#24768 - install -dm755 "${pkgdir}"/etc/xinetd.d/ diff --git a/src/stage1/patches/libldap.patch b/src/stage1/patches/libldap.patch deleted file mode 100644 index 35b9e2e..0000000 --- a/src/stage1/patches/libldap.patch +++ /dev/null @@ -1,30 +0,0 @@ ---- a/PKGBUILD 2018-02-22 12:10:53.277768521 +0100 -+++ b/PKGBUILD 2018-02-22 14:00:06.602114010 +0100 -@@ -26,6 +26,8 @@ sha1sums=('c98437385d3eaee80c9e2c09f3f0d - prepare() { - cd ${pkgbase}-${pkgver} - patch -p1 -i "${srcdir}"/openldap-ntlm.patch -+ curl "https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD" \ -+ > build/config.sub - sed -i 's|-m 644 $(LIBRARY)|-m 755 $(LIBRARY)|' libraries/{liblber,libldap,libldap_r}/Makefile.in - sed -i 's|#define LDAPI_SOCK LDAP_RUNDIR LDAP_DIRSEP "run" LDAP_DIRSEP "ldapi"|#define LDAPI_SOCK LDAP_DIRSEP "run" LDAP_DIRSEP "openldap" LDAP_DIRSEP "ldapi"|' include/ldap_defaults.h - sed -i 's|%LOCALSTATEDIR%/run|/run/openldap|' servers/slapd/slapd.{conf,ldif} -@@ -36,11 +38,16 @@ build() { - cd ${pkgbase}-${pkgver} - autoconf - ./configure --prefix=/usr --libexecdir=/usr/lib \ -+ --host=@TARGET@ --build=@BUILDHOST@ \ -+ CC=@TARGET@-gcc LD=@TARGET@-ld \ -+ --with-yielding_select=yes \ - --sysconfdir=/etc --localstatedir=/var/lib/openldap --sbindir=/usr/bin \ - --enable-dynamic --enable-syslog --enable-ipv6 --enable-local \ -- --enable-crypt --enable-spasswd --enable-modules \ -+ --enable-crypt --enable-spasswd --disable-modules \ - --enable-backends --disable-ndb --enable-overlays=mod \ -- --with-cyrus-sasl --with-threads -+ --with-cyrus-sasl --with-threads --disable-perl -+ sed -i 's@.*#undef URANDOM_DEVICE.*@#define URANDOM_DEVICE "/dev/urandom"@' include/portable.h -+ sed -i 's@.*#define NEED_MEMCMP.*@//&@' include/portable.h - make - - make -C contrib/slapd-modules/nssov OPT="$CFLAGS $CPPFLAGS" prefix=/usr libexecdir=/usr/lib sysconfdir=/etc/openldap diff --git a/src/stage1/patches/libpipeline.patch b/src/stage1/patches/libpipeline.patch deleted file mode 100644 index 15349da..0000000 --- a/src/stage1/patches/libpipeline.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/PKGBUILD 2018-02-14 21:18:20.122232163 +0100 -+++ b/PKGBUILD 2018-02-14 21:19:26.006380399 +0100 -@@ -16,7 +16,7 @@ validpgpkeys=('AC0A4FF12611B6FCCF01C1113 - - build() { - cd $pkgname-$pkgver -- ./configure --prefix=/usr -+ ./configure --host=@TARGET@ --build=@BUILDHOST@ --prefix=/usr - make - } - diff --git a/src/stage1/patches/libsecret.patch b/src/stage1/patches/libsecret.patch deleted file mode 100644 index 0361db5..0000000 --- a/src/stage1/patches/libsecret.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- a/PKGBUILD 2018-02-22 08:32:48.289759692 +0100 -+++ b/PKGBUILD 2018-02-22 08:42:21.269426289 +0100 -@@ -23,13 +23,16 @@ pkgver() { - - prepare() { - cd $pkgname -- NOCONFIGURE=1 ./autogen.sh -+ sed -i 's/intltool/#&/; s/gtkdocize/#&/' autogen.sh -+ sed -i '/docs/d' configure.ac -+ NOCONFIGURE=1 ./autogen.sh || true - } - - build() { - cd $pkgname - ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ -- --disable-static --enable-gtk-doc -+ --host=@TARGET@ --build=@BUILDHOST@ \ -+ --disable-static --disable-gtk-doc - make - } - diff --git a/src/stage1/patches/logrotate.patch b/src/stage1/patches/logrotate.patch deleted file mode 100644 index 431faf4..0000000 --- a/src/stage1/patches/logrotate.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/PKGBUILD 2018-02-20 18:34:42.820018345 +0100 -+++ b/PKGBUILD 2018-02-20 18:35:19.722404871 +0100 -@@ -22,6 +22,7 @@ build() { - cd "$srcdir/${pkgname}-${pkgver}" - - ./configure \ -+ --host=@TARGET@ --build=@BUILDHOST@ \ - --prefix=/usr \ - --sbindir=/usr/bin \ - --mandir=/usr/share/man \ diff --git a/src/stage1/patches/man-db.patch b/src/stage1/patches/man-db.patch deleted file mode 100644 index 3d1ca92..0000000 --- a/src/stage1/patches/man-db.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/PKGBUILD 2018-02-20 22:33:07.050415016 +0100 -+++ b/PKGBUILD 2018-02-20 22:33:35.982677664 +0100 -@@ -32,6 +32,7 @@ sha512sums=('82e75df32eb8575f47c3f36b5f2 - build() { - cd ${pkgname}-${pkgver} - ./configure --prefix=/usr \ -+ --host=@TARGET@ --build=@BUILDHOST@ \ - --sbindir=/usr/bin \ - --sysconfdir=/etc \ - --libexecdir=/usr/lib \ diff --git a/src/stage1/patches/mkinitcpio-busybox.patch b/src/stage1/patches/mkinitcpio-busybox.patch deleted file mode 100644 index 278ff14..0000000 --- a/src/stage1/patches/mkinitcpio-busybox.patch +++ /dev/null @@ -1,15 +0,0 @@ ---- a/PKGBUILD 2018-02-18 21:55:29.272656894 +0100 -+++ b/PKGBUILD 2018-02-18 21:57:21.582488355 +0100 -@@ -20,9 +20,11 @@ sha256sums=('98fe1d3c311156c597cd5cfa767 - prepare() { - cd "busybox-$pkgver" - -- local safeflags="-march=${CARCH/_/-} -mtune=generic -Os -pipe -fno-strict-aliasing" -+ local safeflags="-Os -pipe -fno-strict-aliasing" - - sed 's|^\(CONFIG_EXTRA_CFLAGS\)=.*|\1="'"$safeflags"'"|' "$srcdir/config" > .config -+ -+ echo 'CONFIG_CROSS_COMPILER_PREFIX=@TARGET@-' >> .config - } - - build() { diff --git a/src/stage1/patches/nano.patch b/src/stage1/patches/nano.patch deleted file mode 100644 index 843979e..0000000 --- a/src/stage1/patches/nano.patch +++ /dev/null @@ -1,11 +0,0 @@ ---- a/PKGBUILD 2018-02-20 13:28:10.998349715 +0100 -+++ b/PKGBUILD 2018-02-20 13:28:37.285531084 +0100 -@@ -21,7 +21,7 @@ validpgpkeys=('8DA6FE7BFA7A418AB3CB2354B - - build() { - cd ${pkgname}-${pkgver} -- ./configure --prefix=/usr \ -+ ./configure --host=@TARGET@ --build=@BUILDHOST@ --prefix=/usr \ - --sysconfdir=/etc \ - --enable-color \ - --enable-nanorc \ diff --git a/src/stage1/patches/psmisc.patch b/src/stage1/patches/psmisc.patch deleted file mode 100644 index 473073d..0000000 --- a/src/stage1/patches/psmisc.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- a/PKGBUILD 2018-02-18 22:21:13.025998005 +0100 -+++ b/PKGBUILD 2018-02-18 22:28:07.482583975 +0100 -@@ -15,7 +15,8 @@ sha256sums=('2e84d474cf75dfbe3ecdacfb797 - - build() { - cd ${pkgname}-${pkgver} -- ./configure --prefix=/usr -+ sed -i '/rpl_.*alloc/d' configure -+ ./configure --host=@TARGET@ --build=@BUILDHOST@ --prefix=/usr - make - } - diff --git a/src/stage1/patches/sysfsutils.patch b/src/stage1/patches/sysfsutils.patch deleted file mode 100644 index 35a8974..0000000 --- a/src/stage1/patches/sysfsutils.patch +++ /dev/null @@ -1,13 +0,0 @@ ---- a/PKGBUILD 2018-02-16 19:27:56.577550736 +0100 -+++ b/PKGBUILD 2018-02-16 19:29:47.035430721 +0100 -@@ -15,7 +15,9 @@ md5sums=('14e7dcd0436d2f49aa403f67e1ef7d - - build() { - cd "$pkgname-$pkgver" -- ./configure --prefix=/usr --mandir=/usr/share/man -+ curl "https://git.savannah.gnu.org/gitweb/?p=config.git;a=blob_plain;f=config.sub;hb=HEAD" \ -+ > config.sub -+ ./configure --host=@TARGET@ --build=@BUILDHOST@ --prefix=/usr --mandir=/usr/share/man - make - } - diff --git a/src/stage1/patches/vi.patch b/src/stage1/patches/vi.patch deleted file mode 100644 index be1159e..0000000 --- a/src/stage1/patches/vi.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- a/PKGBUILD 2018-02-18 17:18:22.070071582 +0100 -+++ b/PKGBUILD 2018-02-18 17:23:54.368871201 +0100 -@@ -37,8 +37,10 @@ prepare() { - build() { - cd ex-$pkgver - -+ sed -i 's/^STRIP/#&/' Makefile - make PREFIX=/usr LIBEXECDIR=/usr/lib/ex PRESERVEDIR=/var/lib/ex \ -- TERMLIB=ncurses FEATURES="-DCHDIR -DFASTTAG -DUCVISUAL -DMB -DBIT8" -+ TERMLIB=ncurses FEATURES="-DCHDIR -DFASTTAG -DUCVISUAL -DMB -DBIT8" \ -+ CC=@TARGET@-gcc - } - - package() { |