SNAME="ipfire" # Short name
# If you update the version don't forget to update backupiso and add it to core update
VERSION="2.27" # Version number
-CORE="161" # Core Level (Filename)
+CORE="164" # Core Level (Filename)
SLOGAN="www.ipfire.org" # Software slogan
CONFIG_ROOT=/var/ipfire # Configuration rootdir
MAX_RETRIES=1 # prefetch/check loop
CFLAGS_ARCH="-m64 -mtune=generic -fstack-clash-protection -fcf-protection"
;;
- i586)
- BUILDTARGET="${build_arch}-pc-linux-gnu"
- CROSSTARGET="${build_arch}-cross-linux-gnu"
- BUILD_PLATFORM="x86"
- CFLAGS_ARCH="-march=i586 -mtune=generic -fomit-frame-pointer"
- ;;
-
aarch64)
BUILDTARGET="${build_arch}-unknown-linux-gnu"
CROSSTARGET="${build_arch}-cross-linux-gnu"
CROSSTARGET="${build_arch}-cross-linux-gnueabi"
BUILD_PLATFORM="arm"
CFLAGS_ARCH="-march=armv6zk+fp -mfpu=vfp -mfloat-abi=softfp -fomit-frame-pointer"
- #RUSTFLAGS="-Ccodegen-units=1"
;;
riscv64)
CFLAGS="-O2 -pipe -Wall -fexceptions -fPIC ${CFLAGS_ARCH}"
CXXFLAGS="${CFLAGS}"
+ RUSTFLAGS="-Copt-level=3 -Clink-arg=-Wl,-z,relro,-z,now -Ccodegen-units=1 --cap-lints=warn ${RUSTFLAGS_ARCH}"
+
# Determine parallelism
# We assume that each process consumes about
# 128MB of memory. Therefore we find out how
# XZ memory cannot be larger than 2GB on 32 bit systems
case "${build_arch}" in
- i*86|armv*)
+ armv*)
if [ ${xz_memory} -gt 2048 ]; then
xz_memory=2048
fi
x86_64)
echo "x86_64"
;;
- i?86)
- echo "i586"
- ;;
aarch64)
echo "aarch64"
# This is working.
;;
- # x86
- i586:i586|i586:i686|i586:x86_64)
- # These are working.
- ;;
- i586:*)
- error=true
- ;;
-
# ARM
arvm7hl:armv7hl|armv7hl:armv7l)
# These are working.
lfsmake2 gperf
lfsmake2 gzip
lfsmake2 hostname
- lfsmake2 jwhois
+ lfsmake2 whois
lfsmake2 kbd
lfsmake2 less
lfsmake2 pkg-config
lfsmake2 util-linux
lfsmake2 vim
lfsmake2 e2fsprogs
+ lfsmake2 jq
}
buildipfire() {
lfsmake2 aprutil
lfsmake2 unbound
lfsmake2 gnutls
+ lfsmake2 libuv
lfsmake2 bind
lfsmake2 dhcp
lfsmake2 dhcpcd
lfsmake2 sqlite
lfsmake2 libffi
lfsmake2 python3
+ lfsmake2 rust
+ lfsmake2 rust-dissimilar
+ lfsmake2 rust-cfg-if
+ lfsmake2 rust-libc
+ lfsmake2 rust-getrandom
+ lfsmake2 rust-typenum
+ lfsmake2 rust-version-check
+ lfsmake2 rust-generic-array
+ lfsmake2 rust-cipher
+ lfsmake2 rust-hex
+ lfsmake2 rust-unicode-xid
+ lfsmake2 rust-proc-macro2
+ lfsmake2 rust-quote
+ lfsmake2 rust-syn
+ lfsmake2 rust-home
+ lfsmake2 rust-lazy-static
+ lfsmake2 rust-memchr
+ lfsmake2 rust-aho-corasick
+ lfsmake2 rust-regex-syntax
+ lfsmake2 rust-regex
+ lfsmake2 rust-ucd-trie
+ lfsmake2 rust-pest
+ lfsmake2 rust-semver-parser
+ lfsmake2 rust-semver
+ lfsmake2 rust-same-file
+ lfsmake2 rust-walkdir
+ lfsmake2 rust-dirs
+ lfsmake2 rust-toolchain_find
+ lfsmake2 rust-serde
+ lfsmake2 rust-itoa
+ lfsmake2 rust-ryu
+ lfsmake2 rust-serde_json
+ lfsmake2 rust-synstructure
+ lfsmake2 rust-block-buffer
+ lfsmake2 rust-crypto-common
+ lfsmake2 rust-digest
+ lfsmake2 rust-ppv-lite86
+ lfsmake2 rust-rand_core
+ lfsmake2 rust-rand_core-0.4.2
+ lfsmake2 rust-rand_core-0.3.1
+ lfsmake2 rust-rand_chacha
+ lfsmake2 rust-rand_hc
+ lfsmake2 rust-rand
+ lfsmake2 rust-rdrand
+ lfsmake2 rust-rand-0.4
+ lfsmake2 rust-log
+ lfsmake2 rust-num_cpus
+ lfsmake2 rust-crossbeam-utils
+ lfsmake2 rust-autocfg
+ lfsmake2 rust-memoffset
+ lfsmake2 rust-scopeguard
+ lfsmake2 rust-crossbeam-epoch
+ lfsmake2 rust-crossbeam-deque
+ lfsmake2 rust-either
+ lfsmake2 rust-crossbeam-channel
+ lfsmake2 rust-rayon-core
+ lfsmake2 rust-rayon
+ lfsmake2 rust-remove_dir_all
+ lfsmake2 rust-tempdir
+ lfsmake2 rust-glob
+ lfsmake2 rust-once_cell
+ lfsmake2 rust-termcolor
+ lfsmake2 rust-toml
+ lfsmake2 rust-serde_derive
+ lfsmake2 rust-trybuild
+ lfsmake2 rust-unindent
lfsmake2 gdb
lfsmake2 grub
lfsmake2 efivar
lfsmake2 dosfstools
lfsmake2 exfatprogs
lfsmake2 reiserfsprogs
+ lfsmake2 liburcu
lfsmake2 xfsprogs
lfsmake2 sysfsutils
lfsmake2 fuse
lfsmake2 freefont
lfsmake2 pixman
lfsmake2 cairo
+ lfsmake2 harfbuzz
+ lfsmake2 fribidi
lfsmake2 pango
lfsmake2 rrdtool
lfsmake2 setup
lfsmake2 libdnet
- lfsmake2 rust
lfsmake2 jansson
lfsmake2 yaml
lfsmake2 libhtp
lfsmake2 frr
lfsmake2 dmidecode
lfsmake2 mcelog
- lfsmake2 util-macros
lfsmake2 libpciaccess
lfsmake2 libyajl
lfsmake2 libvirt
lfsmake2 libcdada
lfsmake2 pmacct
lfsmake2 squid-asnbl
+ lfsmake2 qemu-ga
}
buildinstaller() {
shift
exec "${BASEDIR}/tools/find-dependencies" "${BASEDIR}/build" "$@"
;;
+check-manualpages)
+ echo "Checking the manual pages for broken links..."
+
+ chmod 755 $BASEDIR/tools/check_manualpages.pl
+ if $BASEDIR/tools/check_manualpages.pl; then
+ print_status DONE
+ else
+ print_status FAIL
+ fi
+ ;;
*)
- echo "Usage: $0 {build|changelog|clean|gettoolchain|downloadsrc|shell|sync|toolchain|update-contributors|find-dependencies}"
+ echo "Usage: $0 [OPTIONS] {build|changelog|clean|gettoolchain|downloadsrc|shell|sync|toolchain|update-contributors|find-dependencies|check-manualpages}"
cat doc/make.sh-usage
;;
esac