1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216
|
KVM_ISO_URL = https://muug.ca/mirror/fedora/linux/releases/32/Server/x86_64/iso/Fedora-Server-dvd-x86_64-32-1.6.iso
KVM_ISO_URL = https://ftp.nluug.nl/pub/os/Linux/distr/fedora/linux/releases/32/Server/x86_64/iso/Fedora-Server-dvd-x86_64-32-1.6.iso
KVM_KICKSTART_FILE = testing/libvirt/$(KVM_GUEST_OS).ks
# LIE! bit older version to be more complaint with older hosts
KVM_OS_VARIANT ?= fedora30
KVM_PACKAGE_INSTALL = dnf install -y
KVM_PACKAGE_UPGRADE = dnf upgrade -y
KVM_DEBUGINFO_INSTALL = dnf install --enablerepo=*-debuginfo -y
KVM_INSTALL_RPM_LIST = 'rpm -aq > /var/tmp/rpm-qa-fedora-updates.log'
#
# NSS
#
# If necessary, force the NSS version or RPMs: version 3.40 dumped
# core while loading the NSS DB; version 3.59, 3.60 all dumped core
# while computing appendix-b keymat.
#
# KVM_NSS_RPMDIR = /source/nss/
# KVM_NSS_PACKAGE_VERSION = -3.36.0-1.0.fc28.x86_64
# KVM_NSS_PACKAGES = $(addprefix /source/rpm,$(addsuffix -3.36.0-1.0.fc28.x86_64.rpm,$(NSS_PACKAGE_NAMES)))
KVM_NSS_RPMDIR ?=
KVM_NSS_VERSION ?=
KVM_NSS_DEBUGINFO_NAMES ?= \
nss-debugsource \
nss-debuginfo \
nss-softokn-debuginfo \
nss-softokn-freebl-debuginfo \
nss-util-debuginfo \
$(NULL)
KVM_NSS_DEBUGINFO ?= \
$(addprefix $(KVM_NSS_RPMDIR), $(addsuffix $(KVM_NSS_VERSION), $(KVM_NSS_DEBUGINFO_NAMES)))
KVM_NSS_PACKAGE_NAMES ?= \
nss \
nss-devel \
nss-softokn \
nss-softokn-devel \
nss-softokn-freebl \
nss-softokn-freebl-devel \
nss-sysinit \
nss-tools \
nss-util \
nss-util-devel \
$(NULL)
KVM_NSS_PACKAGES ?= \
$(addprefix $(KVM_NSS_RPMDIR), $(addsuffix $(KVM_NSS_VERSION), $(KVM_NSS_PACKAGE_NAMES)))
#
# KERNEL:
#
# The kernel packages can only be installed. To stop a new version
# being installed set this to empty. XL2TPD sucks in the latest
# kernel so is included in the list.
#
# KVM_KERNEL_RPMDIR ?= /source/kernel
# KVM_KERNEL_ARCH ? = x86_64
# KVM_KERNEL_VERSION ?= 5.8.0-0.rc1.1.fc33.$(KERNEL_ARCH).rpm
KVM_KERNEL_RPMDIR ?=
KVM_KERNEL_VERSION ?=
KVM_KERNEL_PACKAGE_NAMES ?= \
kernel \
kernel-core \
kernel-devel \
kernel-headers \
kernel-modules \
kernel-modules-extra \
$(NULL)
KVM_KERNEL_PACKAGES ?= \
$(addprefix $(KVM_KERNEL_RPMDIR), $(addsuffix $(KVM_KERNEL_VERSION), $(KVM_KERNEL_PACKAGE_NAMES))) \
xl2tpd
# kernel-debuginfo-$(RPM_KERNEL_VERSION)
# kernel-debuginfo-common-$(KERNEL_ARCH)-$(RPM_KERNEL_VERSION)
#
# STRONGSWAN
#
# Strongswan is brokenly dependent on libgcrypt.
#
# Because it calls gcry_check_version(GCRYPT_VERSION) (where
# GCRYPT_VERSION is defined in gcrypt.h) it must be installed with a
# version of libgcrypt >= the version it was built against. Good luck
# trying to describe that using RPM's .spec file (%buildrequires
# libgcrypt-devel isn't sufficient).
# KVM_STRONGSWAN_PACKAGES = \
# https://nohats.ca/ftp/strongswan/strongswan-5.8.4-2.fc30.x86_64.rpm \
# libgcrypt
KVM_STRONGSWAN_PACKAGES = strongswan libgcrypt
KVM_INSTALL_PACKAGES ?= \
$(KVM_KERNEL_PACKAGES) \
$(KVM_UPGRADE_PACKAGES)
KVM_UPGRADE_PACKAGES ?= \
ElectricFence \
audit-libs-devel \
bind-utils \
bind-dnssec-utils \
bison \
conntrack-tools \
crypto-policies-scripts \
curl-devel \
elfutils-libelf-devel \
fipscheck-devel \
flex \
fping \
gcc \
gdb \
git \
glibc-devel \
gnutls-utils \
hping3 \
htop \
iftop \
ike-scan \
iproute \
iptables \
iputils \
ldns \
ldns-devel \
libcap-ng-devel \
libfaketime \
libevent-devel \
libseccomp-devel \
libselinux-devel \
linux-firmware \
lsof \
make \
mtr \
nc \
net-tools \
nsd \
nspr \
nspr-devel \
$(KVM_NSS_PACKAGES) \
ocspd \
openldap-devel \
p11-kit-trust \
pam-devel \
patch \
perf \
policycoreutils-python-utils \
psmisc \
python3-pyOpenSSL \
python3-pexpect \
rpm-build \
rsync \
screen \
strace \
systemd-devel \
tar \
tcpdump \
telnet \
unbound \
unbound-devel \
unbound-libs \
valgrind \
vim-enhanced \
wget \
wireshark-cli \
xmlto \
$(KVM_STRONGSWAN_PACKAGES) \
KVM_DEBUGINFO = \
ElectricFence-debuginfo \
audit-libs-debuginfo \
conntrack-tools-debuginfo \
cyrus-sasl-lib-debuginfo \
glibc-debuginfo \
keyutils-libs-debuginfo \
krb5-libs-debuginfo \
ldns-debuginfo \
libbrotli-debuginfo \
libcap-ng-debuginfo \
libcom_err-debuginfo \
libcurl-debuginfo \
libevent-debuginfo \
libffi-debuginfo \
libgcc-debuginfo \
libgcrypt-debuginfo \
libgpg-error-debuginfo \
libidn-debuginfo \
libidn2-debuginfo \
libnghttp2-debuginfo \
libpsl-debuginfo \
libseccomp-debuginfo \
libselinux-debuginfo \
libssh-debuginfo \
libssh2-debuginfo \
libtasn1-debuginfo \
libunistring-debuginfo \
libxcrypt-debuginfo \
lz4-libs-debuginfo \
nspr-debuginfo \
$(KVM_NSS_DEBUGINFO) \
ocspd-debuginfo \
openldap-debuginfo \
openssl-libs-debuginfo \
p11-kit-debuginfo \
p11-kit-trust-debuginfo \
pam-debuginfo \
pcre-debuginfo \
pcre2-debuginfo \
sqlite-libs-debuginfo \
systemd-libs-debuginfo \
unbound-libs-debuginfo \
xz-libs-debuginfo \
zlib-debuginfo \
$(NULL)
|