From 89d4761f19fdef03ddecb122b5a1cfe90dd9417c Mon Sep 17 00:00:00 2001 From: Stuart Winter Date: Mon, 18 Jan 2021 13:42:42 -0600 Subject: Add support for Slackware-AArch64 Signed-off-by: Robby Workman --- files/ChangeLog | 4 ++++ files/core-functions.sh | 5 +++++ files/mirrors-arm.sample | 30 ++++++++++++++++++++---------- files/slackpkg.conf.5 | 3 +++ files/slackpkg.conf.new | 9 +++++---- 5 files changed, 37 insertions(+), 14 deletions(-) (limited to 'files') diff --git a/files/ChangeLog b/files/ChangeLog index 31d3ccb..030728a 100644 --- a/files/ChangeLog +++ b/files/ChangeLog @@ -1,3 +1,7 @@ + +--------------- + - Added support for Slackware-AArch64 (Stuart Winter) + Tue Jan 5 05:13:50 UTC 2021 --------------- - 2.84.0_beta11 diff --git a/files/core-functions.sh b/files/core-functions.sh index f8be890..cadf1e7 100644 --- a/files/core-functions.sh +++ b/files/core-functions.sh @@ -132,6 +132,11 @@ function system_setup() { SLACKKEY=${SLACKKEY:-"Slackware ARM (Slackware ARM Linux Project) "} PKGMAIN=${PKGMAIN:-slackware} ;; + aarch64) + ARCH=aarch64 + SLACKKEY=${SLACKKEY:-"Slackware ARM (Slackware ARM Linux Project) "} + PKGMAIN=${PKGMAIN:-slackware} + ;; powerpc|ppc) ARCH=powerpc SLACKKEY=${SLACKKEY:-"Slackintosh-Project Sign "} diff --git a/files/mirrors-arm.sample b/files/mirrors-arm.sample index ee5bd81..7116069 100644 --- a/files/mirrors-arm.sample +++ b/files/mirrors-arm.sample @@ -54,27 +54,37 @@ #file://path/to/some/directory/ # #---------------------------------------------------------------- -# Slackware ARM x.x (for an assumed release of the hard float port) +# Slackware ARM 15.0: 32bit armv7, hardware floating point ABI. #---------------------------------------------------------------- -#ftp://slackware.uk/slackwarearm/slackwarearm-x.x/ -#ftp://ftp.halifax.rwth-aachen.de/slackwarearm/slackwarearm-x.x/ -#ftp://ftp.slackware.pl/pub/slackwarearm/slackwarearm-x.x/ -#ftp://mirrors.vbi.vt.edu/linux/slackwarearm/slackwarearm-x.x/ -#ftp://mirror.slackbuilds.org/pub/slackwarearm/slackwarearm-x.x/ -#ftp://slackware.absolutehosting.net/pub/slackwarearm/slackwarearm-x.x/ +#ftp://slackware.uk/slackwarearm/slackwarearm-15.0/ +#ftp://ftp.halifax.rwth-aachen.de/slackwarearm/slackwarearm-15.0/ +#ftp://ftp.slackware.pl/pub/slackwarearm/slackwarearm-15.0/ +#ftp://mirror.slackbuilds.org/pub/slackwarearm/slackwarearm-15.0/ +#ftp://slackware.absolutehosting.net/pub/slackwarearm/slackwarearm-15.0/ # -#ftp://ftp.arm.slackware.com/slackwarearm/slackwarearm-x.x/ +#ftp://ftp.arm.slackware.com/slackwarearm/slackwarearm-15.0/ # #---------------------------------------------------------------- -# Slackware ARM current +# Slackware ARM current: 32bit armv7, hardware floating point ABI. #---------------------------------------------------------------- #ftp://slackware.uk/slackwarearm/slackwarearm-current/ #ftp://ftp.halifax.rwth-aachen.de/slackwarearm/slackwarearm-current/ #ftp://ftp.slackware.pl/pub/slackwarearm/slackwarearm-current/ -#ftp://mirrors.vbi.vt.edu/linux/slackwarearm/slackwarearm-current/ #ftp://mirror.slackbuilds.org/pub/slackwarearm/slackwarearm-current/ #ftp://slackware.absolutehosting.net/pub/slackwarearm/slackwarearm-current/ # #ftp://ftp.arm.slackware.com/slackwarearm/slackwarearm-current/ +# +#---------------------------------------------------------------- +# Slackware AArch64 (ARM64) current: 64 bit armv8 +#---------------------------------------------------------------- +#ftp://slackware.uk/slackwarearm/slackwareaarch64-current/ +#ftp://ftp.halifax.rwth-aachen.de/slackwarearm/slackwareaarch64-current/ +#ftp://ftp.slackware.pl/pub/slackwarearm/slackwareaarch64-current/ +#ftp://mirror.slackbuilds.org/pub/slackwarearm/slackwareaarch64-current/ +#ftp://slackware.absolutehosting.net/pub/slackwarearm/slackwareaarch64-current/ +# +#ftp://ftp.arm.slackware.com/slackwarearm/slackwareaarch64-current/ +# diff --git a/files/slackpkg.conf.5 b/files/slackpkg.conf.5 index 10c9576..529bfba 100644 --- a/files/slackpkg.conf.5 +++ b/files/slackpkg.conf.5 @@ -38,6 +38,7 @@ value using "uname -m". The valid values are: .ds title MACHINE\t\tVALID ARCH VALUES .ds arm ARM\t\t\tarm +.ds aarch64 AArch64\t\taarch64 .ds x86 x86 (32bits)\ti386, i486, i586 and i686 .ds x86_64 x86 (64bits)\tx86_64 .ds ppc PowerPC\t\tpowerpc @@ -47,6 +48,8 @@ value using "uname -m". The valid values are: .br \*[arm] .br +\*[aarch64] +.br \*[x86] .br \*[x86_64] diff --git a/files/slackpkg.conf.new b/files/slackpkg.conf.new index d3a115c..0b3ab1b 100644 --- a/files/slackpkg.conf.new +++ b/files/slackpkg.conf.new @@ -28,16 +28,17 @@ # For configuration options that have only two states, possible values are # either "on" or "off" -# Remember, the only official Slackware ports are x86, s390, and arm, and -# slackpkg developers don't have s390 boxes for testing. If you are -# testing/using other architectures and have suggestions or patches, -# please let us know (email rworkman@slackware.com) +# Remember, the only official Slackware ports are x86, s390, arm, and aarch64, +# and slackpkg developers don't have s390 boxes for testing. If you are +# testing/using other architectures and have suggestions or patches, please +# let us know (email rworkman@slackware.com) # # Select the architecture of your system. Valid values are: # i#86 (where # is 3, 4, 5 or 6) # x86_64 # s390 # arm* (* can be v4, v5tejl, and other ARM versions) +# aarch64 # powerpc # # The line is commented because slackpkg will try to find your -- cgit v1.2.3