alpine: update to 2.22

This commit is contained in:
Leonid Pliushch 2020-01-30 20:19:17 +02:00
parent c5ed0d2e92
commit 91073bd6b3
2 changed files with 10 additions and 44 deletions

View File

@ -1,10 +1,9 @@
TERMUX_PKG_HOMEPAGE=https://repo.or.cz/alpine.git
TERMUX_PKG_DESCRIPTION="Fast, easy to use email client"
TERMUX_PKG_LICENSE="Apache-2.0"
TERMUX_PKG_VERSION=2.21.99999
TERMUX_PKG_REVISION=1
TERMUX_PKG_VERSION=2.22
TERMUX_PKG_SRCURL=https://fossies.org/linux/misc/alpine-$TERMUX_PKG_VERSION.tar.xz
TERMUX_PKG_SHA256=229de9f673430190055207f8980205186ed6f73873f1ae6e1467d9d78e0f9dec
TERMUX_PKG_SHA256=849567c1b6f71fde3aaa1c97cf0577b12a525d9e22c0ea47797c4bf1cd2bbfdb
TERMUX_PKG_DEPENDS="libcrypt, ncurses, openssl-tool"
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
--disable-debug

View File

@ -1,45 +1,12 @@
--- ../cache/alpine-2.20/imap/src/osdep/unix/Makefile 2015-01-12 05:12:25.505178442 +0000
+++ ./imap/src/osdep/unix/Makefile 2016-12-11 07:08:54.821695452 +0000
@@ -131,13 +131,8 @@
diff -uNr alpine-2.22/imap/src/osdep/unix/Makefile alpine-2.22.mod/imap/src/osdep/unix/Makefile
--- alpine-2.22/imap/src/osdep/unix/Makefile 2020-01-19 10:32:22.615427440 +0200
+++ alpine-2.22.mod/imap/src/osdep/unix/Makefile 2020-01-30 20:13:29.529329050 +0200
@@ -133,7 +133,7 @@
# Commands possibly overridden by the individual port
# Commands possibly overriden by the individual port
-
-ARRC=ar rc
ARRC=ar rc
-CC=cc
+CC?=cc
LN=ln -s
-RANLIB=ranlib
-
-
+AARC="ar rc"
# Standard distribution build parameters
RANLIB=ranlib
DEFAULTAUTHENTICATORS=ext md5 pla log
@@ -513,8 +508,10 @@
SPOOLDIR=/var/spool \
ACTIVEFILE=/var/lib/news/active \
RSHPATH=/usr/bin/rsh \
- BASECFLAGS="$(GCCCFLAGS)"
-
+ CC=$(TCC) \
+ BASECFLAGS="$(GCCCFLAGS)" \
+ RANLIB="$(TRANLIB)"
+
lyn: # LynxOS
$(BUILD) `$(CAT) SPECIALS` OS=$@ \
CRXTYPE=nfs \
@@ -869,8 +866,13 @@
all: $(ARCHIVE)
$(ARCHIVE): $(BINARIES)
- sh -c '$(RM) $(ARCHIVE) || true'
+ rm -rf client-a
+ { echo -n 'ar rc '; cat ARCHIVE; } >ARCHIVE.new
+ rm ARCHIVE
+ mv ARCHIVE.new ARCHIVE
+ chmod +x ARCHIVE
@$(CAT) ./ARCHIVE
+
@$(SH) ./ARCHIVE
.c.o: