wok-next rev 21340

Up ipxe (1.20.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 21 08:52:35 2020 +0100 (2020-01-21)
parents f4dbd0e89f83
children 5a9ef22d0d9b
files ipxe/receipt
line diff
     1.1 --- a/ipxe/receipt	Sat Dec 21 09:20:11 2019 +0000
     1.2 +++ b/ipxe/receipt	Tue Jan 21 08:52:35 2020 +0100
     1.3 @@ -1,8 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="ipxe"
     1.7 -VERSION="20180708"
     1.8 -COMMIT="d2063b7"
     1.9 +VERSION="1.20.1"
    1.10  CATEGORY="system-tools"
    1.11  SHORT_DESC="Open source network boot firmware"
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13 @@ -10,7 +9,7 @@
    1.14  WEB_SITE="http://ipxe.org/"
    1.15  
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WGET_URL="$GITHUB/ipxe/ipxe/tarball/$COMMIT"
    1.18 +WGET_URL="https://github.com/ipxe/ipxe/archive/v$VERSION.tar.gz"
    1.19  
    1.20  COOKOPTS="force-arch" # different ipxe, .pxe ?
    1.21  
    1.22 @@ -20,8 +19,7 @@
    1.23  compile_rules() {
    1.24  	cd $src/src
    1.25  
    1.26 -	# Fix https://git.ipxe.org/ipxe.git/commit/163f8acba0fbb6e3c44aec5286d3d076e1f44f22
    1.27 -	sed -i 's/.*.section ".pages".*/.if64 ;\n&/;$a.endif' \
    1.28 +	sed -i 's|\(SIZEOF_LOW_4GB\) / \(SIZEOF_2MB_PAGE\)|1<<(\1_LOG2-\2_LOG2)|' \
    1.29  		arch/x86/transitions/librm.S
    1.30  
    1.31  	#sed -i 's/^ASFLAGS.*/& -adhlns=$(<:.S=.lst)/' Makefile
    1.32 @@ -31,8 +29,14 @@
    1.33  		s|//\(#define.*CONSOLE_SERIAL\)|\1|' config/console.h
    1.34  	sed -i '
    1.35  		s|//\(#define.*IMAGE_PNG\)|\1|;
    1.36 +		s|.*\(NET_PROTO_IPV6\)|#define \1|;
    1.37 +		s|undef	\(DOWNLOAD_PROTO_HTTPS\)|define	\1|;
    1.38 +		s|.*\(VLAN_CMD\)|#define \1|;
    1.39 +		s|.*\(CERT_CMD\)|#define \1|;
    1.40  		s|//\(#define.*CONSOLE_CMD\)|\1|;
    1.41  		s|//\(#define.*REBOOT_CMD\)|\1|' config/general.h
    1.42 +	sed -i "s|\(TAG_LINE \"\)|\1${VERSION#*-} -- |" config/branding.h
    1.43 +	sed -i 's|//\(#define.*CPUID_SETTINGS\)|\1|' config/settings.h
    1.44  #	cp $stuff/lkrnprefix.S arch/i386/prefix
    1.45  
    1.46  	# refer to http://ipxe.org/appnote/buildtargets