diff --git a/.github/workflows/check-license-map.yml b/.github/workflows/check-license-map.yml index 380ba80588..f309af79b2 100644 --- a/.github/workflows/check-license-map.yml +++ b/.github/workflows/check-license-map.yml @@ -36,6 +36,14 @@ jobs: - name: Get Python dependencies run: python3 -m pip install python-rpm-spec + - name: Copy Azure Linux rpm + run: | + echo ########## + echo "Copy Azure Linux rpm" + echo ########## + toolkit/scripts/toolchain/toolchain_update_git_submodule.sh + shell: bash + - name: Run license map checking script run: | python3 ./toolkit/scripts/license_map.py \ diff --git a/.github/workflows/check-manifests.yml b/.github/workflows/check-manifests.yml index 4dd0beb027..cb7fc10e24 100644 --- a/.github/workflows/check-manifests.yml +++ b/.github/workflows/check-manifests.yml @@ -25,6 +25,14 @@ jobs: with: persist-credentials: false + - name: Copy Azure Linux rpm + run: | + echo ########## + echo "Copy Azure Linux rpm" + echo ########## + toolkit/scripts/toolchain/toolchain_update_git_submodule.sh + shell: bash + # This PR runner uses an older Ubuntu with rpm version 4.17, which doesn't understand some newer macros like %bcond - name: Define missing rpm macros run: | diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000000..c858a4a529 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "azurelinux"] + path = azurelinux + url = https://github.com/microsoft/azurelinux diff --git a/LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md b/LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md index ca9c1b70d3..450002bfb0 100644 --- a/LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md +++ b/LICENSES-AND-NOTICES/SPECS/LICENSES-MAP.md @@ -14,7 +14,7 @@ The Edge Microvisor Toolkit SPEC files originated from a variety of sources with | Microsoft | [Microsoft MIT License](https://github.com/microsoft/azurelinux/blob/3.0/LICENSES-AND-NOTICES/LICENSE.md) | alsa-lib
application-gateway-kubernetes-ingress
asc
azcopy
azl-otel-collector
azure-iot-sdk-c
azure-nvme-utils
azure-storage-cpp
azurelinux-image-tools
azurelinux-sysinfo
bazel
bmon
bpftrace
ccache
cert-manager
cf-cli
check-restart
clamav
cloud-hypervisor
cmake-fedora
containerd2
coredns
dasel
debugedit
dejavu-fonts
distroless-packages
docker-buildx
docker-cli
docker-compose
doxygen
dtc
edk2-hvloader-signed
elfutils
elixir
espeak-ng
espeakup
flannel
fluent-bit
freefont
gflags
gh
go-md2man
grpc
grub2-efi-binary-signed
GSL
gstreamer1
gtk-update-icon-cache
helm
intel-pf-bb-config
ivykis
jsonbuilder
jx
kata-containers-cc
kata-packages-uvm
keda
keras
kernel-64k-signed
kernel-hwe-signed
kernel-mshv-signed
kernel-rt
kernel-signed
kernel-uki
kernel-uki-signed
kpatch
kube-vip-cloud-provider
kubernetes
libacvp
libconfini
libconfuse
libgdiplus
libmaxminddb
libmetalink
libsafec
libutempter
libuv
libvirt
libxml++
linuxptp
lld
lsb-release
ltp
lttng-consume
mm-common
moby-containerd-cc
moby-engine
msgpack
ncompress
networkd-dispatcher
nlohmann-json
nmap
ntopng
opentelemetry-cpp
packer
pcaudiolib
pcre2
perl-Test-Warnings
perl-Text-Template
pigz
prebuilt-ca-certificates
prebuilt-ca-certificates-base
prometheus-adapter
python-cachetools
python-cherrypy
python-cstruct
python-execnet
python-google-pasta
python-libclang
python-libevdev
python-logutils
python-ml-dtypes
python-namex
python-nocasedict
python-omegaconf
python-opt-einsum
python-optree
python-pecan
python-pip
python-pyrpm
python-remoto
python-repoze-lru
python-routes
python-rsa
python-setuptools
python-sphinxcontrib-websupport
python-tensorboard
python-tensorboard-plugin-wit
python-yamlloader
R
rabbitmq-server
rocksdb
rubygem-addressable
rubygem-asciidoctor
rubygem-bindata
rubygem-concurrent-ruby
rubygem-connection_pool
rubygem-cool.io
rubygem-deep_merge
rubygem-digest-crc
rubygem-elastic-transport
rubygem-elasticsearch
rubygem-elasticsearch-api
rubygem-eventmachine
rubygem-excon
rubygem-faraday
rubygem-faraday-em_http
rubygem-faraday-em_synchrony
rubygem-faraday-excon
rubygem-faraday-httpclient
rubygem-faraday-multipart
rubygem-faraday-net_http
rubygem-faraday-net_http_persistent
rubygem-faraday-rack
rubygem-faraday-retry
rubygem-ffi
rubygem-fiber-local
rubygem-hirb
rubygem-hocon
rubygem-hoe
rubygem-http_parser
rubygem-httpclient
rubygem-io-event
rubygem-jmespath
rubygem-ltsv
rubygem-mini_portile2
rubygem-minitest
rubygem-mocha
rubygem-msgpack
rubygem-multi_json
rubygem-multipart-post
rubygem-net-http-persistent
rubygem-nio4r
rubygem-nokogiri
rubygem-oj
rubygem-parallel
rubygem-power_assert
rubygem-prometheus-client
rubygem-protocol-hpack
rubygem-protocol-http
rubygem-protocol-http1
rubygem-protocol-http2
rubygem-public_suffix
rubygem-puppet-resource_api
rubygem-rdiscount
rubygem-rdkafka
rubygem-rexml
rubygem-ruby-kafka
rubygem-ruby-progressbar
rubygem-rubyzip
rubygem-semantic_puppet
rubygem-serverengine
rubygem-sigdump
rubygem-strptime
rubygem-systemd-journal
rubygem-test-unit
rubygem-thor
rubygem-timers
rubygem-tzinfo
rubygem-tzinfo-data
rubygem-webhdfs
rubygem-webrick
rubygem-yajl-ruby
rubygem-zip-zip
runc
sdbus-cpp
sgx-backwards-compatibility
shim
skopeo
span-lite
sriov-network-device-plugin
SymCrypt
SymCrypt-OpenSSL
systemd-boot-signed
tardev-snapshotter
tensorflow
tinyxml2
toml11
tracelogging
umoci
usrsctp
vala
valkey
vnstat
xterm
zstd | | Netplan source | [GPLv3](https://github.com/canonical/netplan/blob/main/COPYING) | netplan | | Numad source | [LGPLv2 License](https://www.gnu.org/licenses/old-licenses/lgpl-2.1.txt) | numad | -| NVIDIA | [ASL 2.0 License and spec specific licenses](http://www.apache.org/licenses/LICENSE-2.0) | fwctl-signed
ibarr
ibsim
iser-signed
isert-signed
knem-modules-signed
libnvidia-container
mlnx-ethtool
mlnx-iproute2
mlnx-nfsrdma-signed
mlnx-tools
mlx-steering-dump
multiperf
nvidia-container-toolkit
ofed-docs
ofed-scripts
perftest
rshim
sockperf
xpmem-modules-signed | +| NVIDIA | [ASL 2.0 License and spec specific licenses](http://www.apache.org/licenses/LICENSE-2.0) | fwctl-signed
ibarr
ibsim
iser-signed
isert-signed
knem-modules-signed
libnvidia-container
mlnx-nfsrdma-signed
mlx-steering-dump
multiperf
nvidia-container-toolkit
ofed-docs
ofed-scripts
perftest
rshim
sockperf
xpmem-modules-signed | | NVIDIA (BSD) | [BSD](https://github.com/Mellanox/sockperf/blob/sockperf_v2/copying) | | | OpenEuler | [BSD-3 License](https://github.com/pytorch/pytorch/blob/master/LICENSE) | pytorch | | OpenMamba | [Openmamba GPLv2 License](https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt) | bash-completion | diff --git a/LICENSES-AND-NOTICES/SPECS/data/licenses.json b/LICENSES-AND-NOTICES/SPECS/data/licenses.json index 3a46babf0d..3a5a3f7ac7 100644 --- a/LICENSES-AND-NOTICES/SPECS/data/licenses.json +++ b/LICENSES-AND-NOTICES/SPECS/data/licenses.json @@ -2561,10 +2561,7 @@ "isert-signed", "knem-modules-signed", "libnvidia-container", - "mlnx-ethtool", - "mlnx-iproute2", "mlnx-nfsrdma-signed", - "mlnx-tools", "mlx-steering-dump", "multiperf", "nvidia-container-toolkit", diff --git a/SPECS/.gitignore b/SPECS/.gitignore new file mode 100644 index 0000000000..5a61f69401 --- /dev/null +++ b/SPECS/.gitignore @@ -0,0 +1,1393 @@ +CUnit +Cython +GSL +IP2Location +ModemManager +OpenIPMI +PyYAML +R +SymCrypt +SymCrypt-OpenSSL +abseil-cpp +acl +acpica-tools +adwaita-icon-theme +afflib +aide +alsa-utils +annobin +ansible +ant +ant-junit +antlr +apache-commons-cli +apache-commons-lang3 +apache-commons-logging +apr +apr-util +archivemount +asciidoc +aspell +at +at-spi2-atk +at-spi2-core +atf +atftp +atinject +atk +atop +attr +audit +augeas +authbind +authd +authselect +autoconf +autoconf-archive +autoconf213 +autofs +autogen +automake +avahi +azure-iot-sdk-c +azure-nvme-utils +azure-storage-cpp +azurelinux-image-tools +babel +babeltrace2 +bash +bash-completion +bazel +bc +bcc +bind +binutils +bison +blktrace +bluez +bmake +bmon +boost +bpftrace +brotli +btrfs-progs +bubblewrap +byacc +byaccj +bzip2 +c-ares +cairo +cal10n +catch +ccache +cdrkit +ceph +cereal +check +check-restart +checkpolicy +checksec +chkconfig +chrony +chrpath +cifs-utils +ck +clamav +clang +cloud-hypervisor +cloud-utils-growpart +cmake +cmocka +collectd +colm +color-filesystem +colord +compiler-rt +conda +conmon +conntrack-tools +coredns +coreutils +cpio +cpprest +cppunit +cpufrequtils +cpulimit +cracklib +crash +crash-gcore-command +createrepo_c +cri-tools +cryptsetup +ctags +cups +curl +cyrus-sasl +cyrus-sasl-bootstrap +dasel +dbus +dbus-glib +dbus-python +dconf +debootstrap +debugedit +dejagnu +dejavu-fonts +desktop-file-utils +device-mapper-multipath +dhcpcd +dialog +dietlibc +diffutils +ding-libs +distribution-gpg-keys +dkms +dmidecode +dnf +dnf-plugins-core +dnf5 +dnsmasq +docbook-dtd-xml +docbook-dtds +docbook-style-xsl +docbook5-schemas +docker-buildx +dos2unix +doxygen +dpdk +dstat +dtc +duktape +dwarves +dwz +e2fsprogs +ebtables +ed +efivar +egl-wayland +eglexternalplatform +elixir +emacs +enchant2 +environment-modules +erlang +erofs-utils +espeak-ng +espeakup +execstack +expat +expect +expected +extra-cmake-modules +fakeroot +fcgi +fdupes +file +filesystem +fillup +findutils +fio +firewalld +flannel +flatbuffers +flex +flux +fmt +fontawesome-fonts +fontawesome4-fonts +fontconfig +fontpackages +fping +freefont +freeglut +freeipmi +freetype +fribidi +frr +fsverity-utils +fuse +fuse-zip +fuse3 +gawk +gbenchmark +gc +gcovr +gd +gdb +gdbm +gdk-pixbuf2 +geos +gettext +gflags +gfs2-utils +giflib +git +glib +glib-networking +glibmm +glslang +glusterfs +gmp +gnome-common +gnu-efi +gnupg2 +gnuplot +gnutls +google-guice +google-roboto-slab-fonts +gperf +gperftools +gpgme +gptfdisk +graphviz +grep +groff +grpc +grubby +gsettings-desktop-schemas +gsm +gtest +gtk-doc +gtk-update-icon-cache +gtk2 +gtk3 +guava +guile +gzip +hamcrest +haproxy +hardening-check +harfbuzz +haveged +hdf5 +hdparm +heimdal +help2man +hexedit +hicolor-icon-theme +hivex +hostname +htop +http-parser +httpd +hunspell +hunspell-en +hwdata +hwloc +hyperscan +hyperv-daemons +i2c-tools +iana-etc +ibarr +ibsim +icoutils +icu +im-chooser +imsettings +infinipath-psm +influxdb +inih +iniparser +initramfs +initscripts +inotify-tools +intel-ipsec-mb +intel-pf-bb-config +intltool +iotop +iperf3 +ipmitool +ipset +iptables +iptraf-ng +iputils +ipvsadm +ipxe +irqbalance +iscsi-initiator-utils +isns-utils +itstool +ivykis +iw +jakarta-servlet +jansson +jasper +java-cup +javapackages-bootstrap +javapackages-tools +javassist +jemalloc +jflex +jna +jq +json-c +json-glib +jsonbuilder +jsr-305 +junit +jurand +kata-containers +kata-containers-cc +kata-packages-uvm +kbd +kde-settings +keepalived +keras +kernel-64k +kernel-hwe +kernel-hwe-headers +kernel-srpm-macros +kernel-uvm +kexec-tools +keyutils +kf +kf-kconfig +kf-kcoreaddons +kf-ki18n +kf-kwidgetsaddons +kmod +kpatch +kpmcore +krb5 +ksh +kubernetes +kubevirt +kyua +lapack +lato-fonts +lcms2 +ldns +less +leveldb +libICE +libSM +libX11 +libXau +libXaw +libXcomposite +libXcursor +libXdamage +libXdmcp +libXext +libXfixes +libXfont2 +libXft +libXi +libXinerama +libXmu +libXpm +libXrandr +libXrender +libXres +libXt +libXtst +libXv +libXxf86vm +libacvp +libaec +libaio +libarchive +libarrow +libassuan +libatasmart +libatomic_ops +libburn +libcacard +libcap +libcap-ng +libcgroup +libcomps +libconfig +libconfini +libconfuse +libcontainers-common +libcxx +libdaemon +libdb +libdecor +libdnet +libdnf +libdwarf +libecap +libedit +libei +libell +libepoxy +libestr +libev +libevdev +libevent +libexif +libfabric +libfastjson +libffi +libfontenc +libgcrypt +libgdiplus +libgit2 +libglvnd +libgpg-error +libgssglue +libgudev +libguestfs +libgusb +libgxim +libhugetlbfs +libical +libidn2 +libinput +libiscsi +libisoburn +libisofs +libjpeg-turbo +libkcapi +libksba +libldm +liblogging +liblognorm +liblzf +libmamba +libmaxminddb +libmbim +libmd +libmemcached-awesome +libmetalink +libmicrohttpd +libmnl +libmodulemd +libmpc +libmspack +libndp +libnetfilter_conntrack +libnetfilter_cthelper +libnetfilter_cttimeout +libnetfilter_log +libnetfilter_queue +libnfnetlink +libnfs +libnftnl +libnl3 +libnotify +libnsl2 +libnvidia-container +libnvme +libpcap +libpciaccess +libpipeline +libpng +libpsl +libpsm2 +libpwquality +libqmi +librdkafka +librelp +librepo +libreswan +librsvg2 +librsync +libsafec +libseccomp +libselinux +libsemanage +libsepol +libserf +libsigc++30 +libslirp +libsmi +libsndfile +libsodium +libsolv +libsoup +libssh +libssh2 +libstoragemgmt +libtalloc +libtar +libtasn1 +libtdb +libtiff +libtirpc +libtool +libtpms +libtracecmd +libtraceevent +libtracefs +libunistring +libunwind +liburing +libusb +libuser +libuv +libvirt-dbus +libvirt-glib +libvirt-java +libvirt-python +libvoikko +libwacom +libwebp +libxcb +libxcvt +libxfce4util +libxkbcommon +libxkbfile +libxml++ +libxml2 +libxshmfence +libxslt +libyaml +libyang +libzip +lld +lldb +lldpad +lldpd +llvm +lm-sensors +lmdb +log4cpp +logrotate +lsb-release +lshw +lsof +lsscsi +ltp +ltrace +lttng-consume +lttng-tools +lttng-ust +lua +lua-rpm-macros +luajit +lujavrite +lutok +lvm2 +lynx +lz4 +lzo +lzop +m2crypto +m4 +mac-robber +mailcap +make +malaga +malaga-suomi-voikko +man-db +man-pages +mandoc +mariadb +maven +maven-compiler-plugin +maven-jar-plugin +maven-resolver +maven-resources-plugin +maven-surefire +maven-wagon +mc +mcpp +mcstrans +mdadm +mdevctl +memcached +mercurial +mesa-libGLU +mlnx-ethtool +mlnx-iproute2 +mlnx-tools +mlocate +mlx-steering-dump +mm-common +mokutil +mpfr +msgpack +msr-tools +mstflint +mtdev +mtools +mtr +multiperf +munge +mysql +nano +nasm +nbd +nbdkit +ncompress +ncurses +ndctl +net-snmp +net-tools +netavark +netplan +nettle +networkd-dispatcher +newt +nfs-utils +nfs4-acl-tools +nftables +nghttp2 +nginx +ninja-build +nlohmann-json +nlopt +nmap +nodejs +npth +nspr +nss +nss-altfiles +nss-mdns +nss_nis +nss_wrapper +ntfs-3g +ntfs-3g-system-compression +ntopng +ntp +numactl +numad +numpy +nvidia-container-toolkit +nvme-cli +nvml +oath-toolkit +objectweb-asm +ocaml +ocaml-alcotest +ocaml-astring +ocaml-augeas +ocaml-base +ocaml-bigarray-compat +ocaml-bisect-ppx +ocaml-camlp-streams +ocaml-camomile +ocaml-cinaps +ocaml-cmdliner +ocaml-compiler-libs-janestreet +ocaml-cppo +ocaml-csexp +ocaml-ctypes +ocaml-dune +ocaml-findlib +ocaml-fmt +ocaml-gettext +ocaml-integers +ocaml-luv +ocaml-lwt +ocaml-mmap +ocaml-num +ocaml-ocamlbuild +ocaml-ocplib-endian +ocaml-ounit +ocaml-parsexp +ocaml-pp +ocaml-ppx-derivers +ocaml-ppx-here +ocaml-ppx-let +ocaml-ppxlib +ocaml-re +ocaml-react +ocaml-result +ocaml-seq +ocaml-sexplib +ocaml-sexplib0 +ocaml-srpm-macros +ocaml-stdio +ocaml-stdlib-random +ocaml-topkg +ocaml-uutf +ofed-docs +ofed-scripts +oniguruma +open-vm-tools +opencsd +openldap +openmpi +opensc +openscap +opensm +opensp +openssl +openssl-pkcs11 +opentelemetry-cpp +openvswitch +orangefs +ostree +p11-kit +p7zip +pam +pam_krb5 +pam_wrapper +pango +parted +patch +patchelf +patchutils +patterns-ceph-containers +pcaudiolib +pciutils +pcre2 +pcsc-lite +pcsc-lite-ccid +perftest +perl +perl-Algorithm-C3 +perl-App-cpanminus +perl-Archive-Zip +perl-B-COW +perl-B-Hooks-OP-Check +perl-Bit-Vector +perl-Bytes-Random-Secure +perl-CGI +perl-CPAN-Changes +perl-CPAN-DistnameInfo +perl-CPAN-Meta-Check +perl-Canary-Stability +perl-Capture-Tiny +perl-Carp-Clan +perl-Class-ISA +perl-Class-Method-Modifiers +perl-Class-XSAccessor +perl-Clone +perl-Compress-Bzip2 +perl-Crypt-Random-Seed +perl-Crypt-SSLeay +perl-DBD-SQLite +perl-DBI +perl-DBIx-Simple +perl-Data-Dump +perl-Data-OptList +perl-Date-Calc +perl-Devel-Caller +perl-Devel-CheckBin +perl-Devel-CheckLib +perl-Devel-Cycle +perl-Devel-GlobalDestruction +perl-Devel-GlobalDestruction-XS +perl-Devel-Hide +perl-Devel-LexAlias +perl-Devel-Refcount +perl-Devel-StackTrace +perl-Devel-Symdump +perl-Digest-HMAC +perl-Digest-SHA1 +perl-Encode-Locale +perl-Expect +perl-Exporter-Tiny +perl-ExtUtils-Depends +perl-Fedora-VSP +perl-File-HomeDir +perl-File-Listing +perl-File-Which +perl-File-pushd +perl-HTML-Parser +perl-HTML-Tagset +perl-HTTP-Cookies +perl-HTTP-Daemon +perl-HTTP-Date +perl-HTTP-Message +perl-HTTP-Negotiate +perl-IO-HTML +perl-IO-Socket-SSL +perl-IO-String +perl-IO-Tty +perl-IO-stringy +perl-Import-Into +perl-JSON +perl-JSON-Any +perl-JSON-XS +perl-LWP-MediaTypes +perl-List-MoreUtils +perl-Match-Simple +perl-Math-Random-ISAAC +perl-Mock-Config +perl-Module-Build +perl-Module-CPANfile +perl-Module-Implementation +perl-Module-Install +perl-Module-Install-AuthorTests +perl-Module-Install-Repository +perl-Module-Runtime +perl-Module-ScanDeps +perl-Moo +perl-NTLM +perl-Net-HTTP +perl-Net-SSLeay +perl-NetAddr-IP +perl-Object-Accessor +perl-Package-Generator +perl-PadWalker +perl-Params-Util +perl-Parse-PMFile +perl-Path-Class +perl-Perl-Destruct-Level +perl-Pod-Coverage +perl-Pod-Parser +perl-Role-Tiny +perl-SUPER +perl-String-ShellQuote +perl-Sub-Exporter +perl-Sub-Exporter-Progressive +perl-Sub-Identify +perl-Sub-Infix +perl-Sub-Install +perl-Sub-Name +perl-Sub-Quote +perl-Sys-Virt +perl-Test-Deep +perl-Test-Fatal +perl-Test-Harness +perl-Test-LeakTrace +perl-Test-Memory-Cycle +perl-Test-Needs +perl-Test-NoWarnings +perl-Test-Output +perl-Test-Pod +perl-Test-Pod-Coverage +perl-Test-Requires +perl-Test-Taint +perl-Test-Warnings +perl-Test-Without-Module +perl-Text-Template +perl-TimeDate +perl-Try-Tiny +perl-Type-Tiny +perl-Types-Serialiser +perl-URI +perl-WWW-Curl +perl-WWW-RobotRules +perl-XML-LibXML +perl-XML-NamespaceSupport +perl-XML-Parser +perl-XML-SAX +perl-XML-SAX-Base +perl-XML-XPath +perl-YAML +perl-YAML-Tiny +perl-bareword-filehandles +perl-common-sense +perl-generators +perl-indirect +perl-libintl-perl +perl-libwww-perl +perl-local-lib +perl-multidimensional +perl-strictures +pgbouncer +php +php-pear +php-pecl-apcu +php-pecl-zip +picosat +pigz +pinentry +pixman +pkgconf +plexus-cipher +plexus-classworlds +plexus-containers +plexus-interpolation +plexus-sec-dispatcher +plexus-utils +pmix +poetry +policycoreutils +polkit +polkit-qt-1 +popt +postfix +postgresql +priv_wrapper +procps-ng +protobuf +protobuf-c +psmisc +pssh +pth +pugixml +pwgen +pyOpenSSL +pyasn1-modules +pybind11 +pycairo +pyelftools +pyflakes +pygobject3 +pyparsing +pyproject-rpm-macros +pytest +python-absl-py +python-appdirs +python-archspec +python-asn1crypto +python-astunparse +python-async-generator +python-atomicwrites +python-attrs +python-backoff +python-bcrypt +python-blinker +python-boltons +python-cached_property +python-cachetools +python-certifi +python-cffi +python-chardet +python-charset-normalizer +python-cherrypy +python-click +python-conda-libmamba-solver +python-conda-package-handling +python-conda-package-streaming +python-configobj +python-constantly +python-coverage +python-cpuinfo +python-cryptography +python-cstruct +python-cytoolz +python-daemon +python-dateutil +python-decorator +python-defusedxml +python-distlib +python-distro +python-docopt +python-docutils +python-ecdsa +python-editables +python-ethtool +python-evdev +python-execnet +python-fastjsonschema +python-fields +python-filelock +python-flit +python-flit-core +python-frozendict +python-gast +python-gevent +python-google-auth +python-google-auth-oauthlib +python-google-pasta +python-greenlet +python-h5py +python-hatch-fancy-pypi-readme +python-hatch-vcs +python-hatchling +python-html5lib +python-hyperlink +python-hypothesis +python-idna +python-imagesize +python-importlib-metadata +python-incremental +python-iniconfig +python-iniparse +python-ipaddr +python-jinja2 +python-jmespath +python-jsonpatch +python-jsonpointer +python-jsonschema +python-junit_xml +python-junitxml +python-jwt +python-kubernetes +python-lark +python-libclang +python-libevdev +python-linux-procfs +python-lockfile +python-logutils +python-looseversion +python-lxml +python-mako +python-markdown +python-markdown-it-py +python-markupsafe +python-mdurl +python-menuinst +python-mistune +python-ml-dtypes +python-mock +python-more-itertools +python-mpmath +python-msgpack +python-namex +python-netaddr +python-netifaces +python-networkx +python-nocasedict +python-nocaselist +python-nose2 +python-ntplib +python-oauthlib +python-omegaconf +python-openpyxl +python-opt-einsum +python-optree +python-packaging +python-pam +python-pathspec +python-pbr +python-pecan +python-pefile +python-pexpect +python-pip +python-pkgconfig +python-platformdirs +python-pluggy +python-ply +python-poetry-core +python-prettytable +python-process-tests +python-prometheus_client +python-psutil +python-psycopg2 +python-ptyprocess +python-py +python-pyasn1 +python-pycodestyle +python-pycosat +python-pycparser +python-pycurl +python-pygments +python-pynacl +python-pyproject-metadata +python-pyroute2 +python-pyrpm +python-pytest-benchmark +python-pytest-cov +python-pytest-expect +python-pytest-flakes +python-pytest-forked +python-pytest-mock +python-pytest-xdist +python-pyudev +python-pywbem +python-remoto +python-repoze-lru +python-requests +python-requests-oauthlib +python-resolvelib +python-responses +python-retrying +python-rich +python-routes +python-rpm-generators +python-rsa +python-ruamel-yaml +python-ruamel-yaml-clib +python-schedutils +python-setuptools +python-setuptools_scm +python-simplejson +python-six +python-snowballstemmer +python-sortedcontainers +python-sphinx +python-sphinx-theme-alabaster +python-sphinx-theme-py3doc-enhanced +python-sphinx_rtd_theme +python-sphinxcontrib-applehelp +python-sphinxcontrib-devhelp +python-sphinxcontrib-htmlhelp +python-sphinxcontrib-jsmath +python-sphinxcontrib-qthelp +python-sphinxcontrib-serializinghtml +python-sphinxcontrib-websupport +python-sqlalchemy +python-templated-dictionary +python-tensorboard +python-tensorboard-plugin-wit +python-termcolor +python-tidy +python-tomli +python-toolz +python-tox-current-env +python-tqdm +python-trove-classifiers +python-twisted +python-typing-extensions +python-urllib3 +python-vcversioner +python-versioneer +python-virt-firmware +python-virtualenv +python-wcwidth +python-webob +python-websocket-client +python-werkzeug +python-wheel +python-wrapt +python-xlrd +python-xlsxwriter +python-yamlloader +python-zipp +python-zope-event +python-zope-interface +python-zstandard +python-zstd +python3 +python3-pytest-asyncio +pytorch +pytz +qdox +qt-rpm-macros +qtbase +qtdeclarative +qtsvg +qttools +quota +rabbitmq-server +radvd +ragel +rapidjson +re2 +readline +reproc +rest +rlwrap +rng-tools +rocksdb +rpcbind +rpcsvc-proto +rpm-mpi-hooks +rrdtool +rshim +rsync +rt-setup +rt-tests +rtctl +rtl-sdr +ruby +rubygem-addressable +rubygem-asciidoctor +rubygem-bindata +rubygem-concurrent-ruby +rubygem-connection_pool +rubygem-cool.io +rubygem-digest-crc +rubygem-elastic-transport +rubygem-elasticsearch +rubygem-elasticsearch-api +rubygem-excon +rubygem-faraday +rubygem-faraday-em_http +rubygem-faraday-em_synchrony +rubygem-faraday-excon +rubygem-faraday-httpclient +rubygem-faraday-multipart +rubygem-faraday-net_http +rubygem-faraday-net_http_persistent +rubygem-faraday-rack +rubygem-faraday-retry +rubygem-ffi +rubygem-fiber-local +rubygem-hirb +rubygem-hoe +rubygem-hpricot +rubygem-http_parser +rubygem-httpclient +rubygem-introspection +rubygem-io-event +rubygem-jmespath +rubygem-ltsv +rubygem-metaclass +rubygem-mini_portile2 +rubygem-minitest +rubygem-mocha +rubygem-msgpack +rubygem-multi_json +rubygem-multipart-post +rubygem-mustache +rubygem-net-http-persistent +rubygem-nio4r +rubygem-nokogiri +rubygem-oj +rubygem-parallel +rubygem-power_assert +rubygem-prometheus-client +rubygem-protocol-hpack +rubygem-protocol-http +rubygem-protocol-http1 +rubygem-protocol-http2 +rubygem-public_suffix +rubygem-rake +rubygem-rake-compiler +rubygem-rdiscount +rubygem-rdkafka +rubygem-rexml +rubygem-ronn +rubygem-rspec +rubygem-ruby-kafka +rubygem-ruby-progressbar +rubygem-rubyzip +rubygem-semantic_puppet +rubygem-serverengine +rubygem-sigdump +rubygem-strptime +rubygem-systemd-journal +rubygem-test-unit +rubygem-timers +rubygem-tzinfo +rubygem-tzinfo-data +rubygem-webhdfs +rubygem-webrick +rubygem-yajl-ruby +rubygem-zip-zip +rust +sanlock +scons +scrub +sdbus-cpp +seabios +secilc +sed +setools +sg3_utils +sgabios +sgml-common +sgx-backwards-compatibility +shared-mime-info +sharutils +shim +shim-unsigned-aarch64 +shim-unsigned-x64 +simdjson +sisu +slang +sleuthkit +slf4j +smartmontools +snappy +socat +socket_wrapper +sockperf +softhsm +sos +span-lite +spdlog +sqlite +squashfs-tools +squid +sscg +sshpass +strongswan +stunnel +subunit +subversion +sudo +swig +swtpm +symlinks +sympy +sysbench +sysfsutils +syslinux +syslog-ng +sysstat +systemtap +tar +tboot +tcl +tcpdump +tcsh +tensorflow +texinfo +tidy +time +tini +tinycdb +tinyxml2 +tmux +tokyocabinet +toml11 +tpm2-abrmd +tpm2-pkcs11 +tpm2-pytss +tpm2-tools +tpm2-tss +trace-cmd +tracelogging +traceroute +tree +ttembed +tuna +tuned +tzdata +uclibc-ng +ucx +uid_wrapper +unbound +unixODBC +unzip +usbredir +usbutils +userspace-rcu +usrsctp +utf8proc +util-linux +uuid +vala +valgrind +valkey +vim +virglrenderer +virt-what +virtiofsd +vnstat +vsftpd +vulkan-headers +vulkan-loader +websocketpp +wget +which +wireguard-tools +wireless-regdb +words +wpa_supplicant +xcb-proto +xcb-util +xcb-util-image +xcb-util-keysyms +xcb-util-renderutil +xcursor-themes +xerces-c +xfsprogs +xinetd +xkeyboard-config +xml-commons-apis +xml-commons-resolver +xmlsec1 +xmlstarlet +xmlto +xmltoman +xmvn +xorg-x11-apps +xorg-x11-font-utils +xorg-x11-proto-devel +xorg-x11-server-Xwayland +xorg-x11-server-utils +xorg-x11-util-macros +xorg-x11-xauth +xorg-x11-xbitmaps +xorg-x11-xinit +xorg-x11-xkb-utils +xorg-x11-xtrans-devel +xxhash +xz +yajl +yaml-cpp +yasm +yp-tools +ypbind +zchunk +zerofree +zeromq +zfs-fuse +zip +zipper +zlib +zsh +zstd diff --git a/SPECS/CUnit/CUnit.signatures.json b/SPECS/CUnit/CUnit.signatures.json deleted file mode 100644 index 682e4d2d56..0000000000 --- a/SPECS/CUnit/CUnit.signatures.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "Signatures": { - "CUnit-2.1.3.tar.bz2": "f5b29137f845bb08b77ec60584fdb728b4e58f1023e6f249a464efa49a40f214" - } -} diff --git a/SPECS/CUnit/CUnit.spec b/SPECS/CUnit/CUnit.spec deleted file mode 100644 index 42cda97f47..0000000000 --- a/SPECS/CUnit/CUnit.spec +++ /dev/null @@ -1,197 +0,0 @@ -%global tarver 2.1-3 - -Name: CUnit -Version: 2.1.3 -Release: 23%{?dist} -Summary: Unit testing framework for C -Vendor: Microsoft Corporation -Distribution: Azure Linux -License: LGPLv2+ -URL: http://cunit.sourceforge.net/ -#Source0: https://downloads.sourceforge.net/cunit/%{name}-%{tarver}.tar.bz2 -Source0: %{name}-%{version}.tar.bz2 - -BuildRequires: automake -BuildRequires: libtool - -%description -CUnit is a lightweight system for writing, administering, -and running unit tests in C. It provides C programmers a basic -testing functionality with a flexible variety of user interfaces. - -%package devel -Summary: Header files and libraries for CUnit development -Requires: %{name}%{?_isa} = %{version}-%{release} - -%description devel -The %{name}-devel package contains the header files -and libraries for use with CUnit package. - -%prep -%setup -q -n %{name}-%{tarver} -find -name *.c -exec chmod -x {} \; - -%build -autoreconf -f -i -%configure --disable-static -make %{?_smp_mflags} - -%install -make install DESTDIR=%{buildroot} -rm -f `find %{buildroot} -name *.la` - -# work around bad docdir= in doc/Makefile* -mkdir -p %{buildroot}%{_docdir}/%{name} -mv %{buildroot}%{_prefix}/doc/%{name} %{buildroot}%{_docdir}/%{name}/html - -# add some doc files into the buildroot manually (#1001276) -for f in AUTHORS ChangeLog COPYING NEWS README TODO VERSION ; do - install -p -m0644 -D $f %{buildroot}%{_docdir}/%{name}/${f} -done - -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig - -%files -%license %{_defaultdocdir}/%{name}/COPYING -%{_datadir}/%{name}/ -%{_libdir}/libcunit.so.* -%dir %{_docdir}/%{name} -%{_docdir}/%{name}/AUTHORS -%{_docdir}/%{name}/ChangeLog -%{_docdir}/%{name}/NEWS -%{_docdir}/%{name}/README -%{_docdir}/%{name}/TODO -%{_docdir}/%{name}/VERSION - -%files devel -%{_docdir}/%{name}/html/ -%{_includedir}/%{name}/ -%{_libdir}/libcunit.so -%{_libdir}/pkgconfig/cunit.pc -%{_mandir}/man3/CUnit.3* - -%changelog -* Fri Aug 21 2020 Thomas Crain - 2.1.3-23 -- Initial CBL-Mariner import from Fedora 33 (license: MIT) -- License verified - -* Mon Jul 27 2020 Fedora Release Engineering - 2.1.3-22 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Tue Jan 28 2020 Fedora Release Engineering - 2.1.3-21 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild - -* Wed Jul 24 2019 Fedora Release Engineering - 2.1.3-20 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Thu Jan 31 2019 Fedora Release Engineering - 2.1.3-19 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Thu Jul 12 2018 Fedora Release Engineering - 2.1.3-18 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Wed Feb 07 2018 Fedora Release Engineering - 2.1.3-17 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Wed Aug 02 2017 Fedora Release Engineering - 2.1.3-16 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 2.1.3-15 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Fri Feb 10 2017 Fedora Release Engineering - 2.1.3-14 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Wed Feb 03 2016 Fedora Release Engineering - 2.1.3-13 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Tue Jun 16 2015 Fedora Release Engineering - 2.1.3-12 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Fri Aug 15 2014 Fedora Release Engineering - 2.1.3-11 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Fri Jun 06 2014 Fedora Release Engineering - 2.1.3-10 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Sun Jun 1 2014 Michael Schwendt - 2.1.3-9 -- Fix HTML documentation installation location. -- Replace CUnit-2.1-3-src.tar.bz2 tarball, which really - is 2.1-2 in disguise according to configure.in, with 2.1-3 as - published on 2014-04-24. -- BR libtool -- Run autoreconf instead of autoconf. -- Drop --enable-curses because without BuildRequires ncurses-devel it - would disable itself automatically (and if it were enabled, test programs - would need to link with ncurses explicitly). - -* Sun Sep 29 2013 Michael Schwendt - 2.1.3-8 -- Add %%_isa to -devel base package dependency. -- Headers get installed by "make install", copying them from the HTML - doc headers dir is not necessary. -- Configure build with --disable-static. -- Drop unneeded spec stuff (buildroot def, removal, clean, pkgconfig dep). -- Using %%defattr is not needed anymore. -- Deduplicate documentation files in unversioned docdir (#1001276). - -* Tue Sep 10 2013 Shakthi Kannan - 2.1.3-7 -- Fix build with unversioned docdir (#1001276) - -* Fri Aug 02 2013 Fedora Release Engineering - 2.1.3-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Fri Jun 21 2013 Shakthi Kannan - 2.1.3-5 -- Use header files from doc folder as well -- Enable curses - -* Sat Apr 20 2013 Shakthi Kannan - 2.1.3-4 -- Use autoconf for ARM - -* Wed Feb 13 2013 Fedora Release Engineering - 2.1.3-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild - -* Wed Jul 18 2012 Fedora Release Engineering - 2.1.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Wed May 2 2012 Shakthi Kannan 2.1.3-1 -- Updated to 2.1.3 sources re-run with autoreconf. - -* Thu Jan 12 2012 Fedora Release Engineering - 2.1.2-8 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Mon Feb 07 2011 Fedora Release Engineering - 2.1.2-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Sat Jan 29 2011 Shakthi Kannan 2.1.2-6 -- Changed Group to System Environment/Libraries. -- Remove executable permission from C files. -- Created two separate patches for Makefile and manpage fixes. -- Removed passing datarootdir from configure. - -* Thu Jan 20 2011 Shakthi Kannan 2.1.2-5 -- Renamed Source0 to use Fedora sourceforge.net naming guidelines. -- Removed exit call in library patch. -- Use A.B.C version number. - -* Thu Jan 20 2011 Shakthi Kannan 2.1_2-4 -- Updated to license LGPLv2+. -- Changed to use BuildRoot. -- Added comments for inclusion of patches. -- Removed inconsistent macro usage. -- Moved man page, HTML documentation to devel package. -- Added AUTHORS, COPYING, README, TODO to doc in base package. -- Used * in man, library inclusion. - -* Sun Dec 26 2010 Shakthi Kannan 2.1_2-3 -- Created patch to fix man page warnings and datarootdir settings. -- Added patch to remove exit calls in library. - -* Wed Dec 15 2010 Shakthi Kannan 2.1_2-2 -- Moved libcunit.so.* to main package. -- Added post, postun ldconfig. -- Added smp flags for make build. -- Changed datarootdir to datadir. - -* Tue Dec 14 2010 Shakthi Kannan 2.1_2-1 -- First CUnit package. diff --git a/SPECS/Cython/Cython.signatures.json b/SPECS/Cython/Cython.signatures.json deleted file mode 100644 index bce6f50490..0000000000 --- a/SPECS/Cython/Cython.signatures.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "Signatures": { - "Cython-3.0.5.tar.gz": "39318348db488a2f24e7c84e08bdc82f2624853c0fea8b475ea0b70b27176492" - } -} diff --git a/SPECS/Cython/Cython.spec b/SPECS/Cython/Cython.spec deleted file mode 100644 index e429855435..0000000000 --- a/SPECS/Cython/Cython.spec +++ /dev/null @@ -1,420 +0,0 @@ -%global _description \ -Cython is an optimising static compiler for both the Python programming language and the extended Cython programming language (based on Pyrex). It makes writing C extensions for Python as easy as Python itself. -Summary: Language for writing Python extension modules -Name: Cython -Version: 3.0.5 -Release: 2%{?dist} -License: Apache-2.0 -Vendor: Microsoft Corporation -Distribution: Azure Linux -URL: https://www.cython.org -Source0: https://github.com/cython/cython/releases/download/%{version}/%{name}-%{version}.tar.gz -Patch0: fix_testcycache.patch -BuildRequires: gcc -BuildRequires: python3-devel -BuildRequires: python3-setuptools -%if 0%{?with_check} -BuildRequires: python3-pip -%endif - -%description %{_description} - -%package -n python3-%{name} -%{?python_provide:%python_provide python3-%{name}} -Summary: C extensions for Python 3 -Requires: python3 -Provides: %{name} = %{version}-%{release} -Provides: %{name}%{?_isa} = %{version}-%{release} - -%description -n python3-%{name} -%{_description} - -%prep -%autosetup -p1 - -%build -%py3_build - -%install -%py3_install -rm -rf %{buildroot}%{python3_sitelib}/setuptools/tests - -%check -pip3 install -r test-requirements-312.txt -# Skip the file based tests, since they typically take over 5 hours to run. -%python3 runtests.py -vv --no-file - -%files -n python3-%{name} -%license LICENSE.txt COPYING.txt -%doc *.txt Demos docs Tools -%{_bindir}/cython -%{_bindir}/cygdb -%{_bindir}/cythonize -%{python3_sitearch}/%{name}-*.egg-info/ -%{python3_sitearch}/%{name}/ -%{python3_sitearch}/pyximport/ -%{python3_sitearch}/cython.py -%{python3_sitearch}/__pycache__/cython.* - -%changelog -* Thu Mar 21 2024 Andrew Phelps - 3.0.5-2 -- Switch to test-requirements-312.txt -- Skip long-running file based tests -- Add patch to fix TestPyCache test - -* Fri Nov 10 2023 Andrew Phelps - 3.0.5-1 -- Upgrade to version 3.0.5 - -* Mon Feb 13 2023 Olivia Crain - 0.29.33-1 -- Update to latest upstream patch version to fix failing package tests -- Use release tarball instead of git snapshot of release commit -- Use SPDX license expression in license tag - -* Fri Nov 04 2022 Osama Esmail - 0.29.32-1 -- Update version to 0.29.32 - -* Mon Jan 24 2022 Thomas Crain - 0.29.26-1 -- Update version to 0.29.26 -- Add check section - -* Thu Jan 06 2022 Suresh Babu Chalamalasetty - 0.29.24-1 -- Update version to 0.29.24 - -* Fri Dec 03 2021 Thomas Crain - 0.29.13-7 -- Add upstream patch to enable generating code for Python >= 3.8 -- License verified - -* Fri Aug 21 2020 Thomas Crain - 0.29.13-6 -- Initial CBL-Mariner import from Fedora 31 (license: MIT). - -* Thu Oct 03 2019 Miro Hrončok - 0.29.13-5 -- Rebuilt for Python 3.8.0rc1 (#1748018) - -* Thu Aug 15 2019 Miro Hrončok - 0.29.13-4 -- Rebuilt for Python 3.8 - -* Thu Aug 15 2019 Miro Hrončok - 0.29.13-3 -- Bootstrap for Python 3.8 - -* Thu Aug 01 2019 Gwyn Ciesla 0.29.13-2 -- Rebuild with new numpy. - -* Sat Jul 27 11:58:51 CEST 2019 Igor Gnatenko - 0.29.13-1 -- Update to 0.29.13 - -* Wed Jul 24 2019 Fedora Release Engineering - 0.29.12-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild - -* Mon Jul 22 2019 Petr Viktorin - 0.29.12-2 -- Remove non-essential Python 2 test dependencies - -* Thu Jul 11 2019 Miro Hrončok - 0.29.12-1 -- Update to 0.29.12 (#1727580) - -* Mon Jul 01 2019 Miro Hrončok - 0.29.11-1 -- Update to 0.29.11 (#1725361) - -* Sun Jun 02 2019 Charalampos Stratakis - 0.29.10-1 -- Update to 0.29.10 (#1716146) - -* Thu May 30 2019 Miro Hrončok - 0.29.9-1 -- Update to 0.29.9 (#1714365) - -* Mon May 13 07:10:35 CEST 2019 Igor Gnatenko - 0.29.7-1 -- Update to 0.29.7 - -* Wed Feb 27 2019 Miro Hrončok - 0.29.6-1 -- Update to 0.29.6 (#1683661) - -* Fri Feb 08 2019 Miro Hrončok - 0.29.5-1 -- Update to 0.29.5 (#1667643) - -* Thu Jan 31 2019 Fedora Release Engineering - 0.29.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild - -* Sat Jan 19 2019 Miro Hrončok - 0.29.3-1 -- Update to 0.29.3 (#1667643) - -* Tue Jan 08 2019 Alex Cobb - 0.29.1-2 -- Added emacs-cython-mode subpackage - -* Mon Dec 10 2018 Igor Gnatenko - 0.29.1-1 -- Update to 0.29.1 - -* Mon Dec 10 2018 Igor Gnatenko - 0.29-1 -- Update to 0.29 - -* Wed Oct 03 2018 Igor Gnatenko - 0.29~rc2-1 -- Update to 0.29~rc2 - -* Sat Aug 11 2018 Igor Gnatenko - 0.28.5-1 -- Update to 0.28.5 - -* Sun Aug 05 2018 Miro Hrončok - 0.28.4-3 -- Only have one /usr/bin/cython - -* Sun Jul 15 2018 Igor Gnatenko - 0.28.4-1 -- Update to 0.28.4 - -* Thu Jul 12 2018 Fedora Release Engineering - 0.28.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild - -* Fri Jun 15 2018 Miro Hrončok - 0.28.1-2 -- Rebuilt for Python 3.7 - -* Mon Mar 19 2018 Igor Gnatenko - 0.28.1-1 -- Update to 0.28.1 - -* Wed Feb 07 2018 Fedora Release Engineering - 0.27.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild - -* Mon Nov 06 2017 Igor Gnatenko - 0.27.3-1 -- Update to 0.27.3 - -* Mon Oct 02 2017 Igor Gnatenko - 0.27.1-1 -- Update to 0.27.1 - -* Wed Aug 02 2017 Fedora Release Engineering - 0.25.2-7 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild - -* Wed Jul 26 2017 Fedora Release Engineering - 0.25.2-6 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild - -* Wed May 03 2017 Igor Gnatenko - 0.25.2-5 -- Fix license - -* Fri Feb 10 2017 Fedora Release Engineering - 0.25.2-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild - -* Thu Dec 22 2016 Igor Gnatenko - 0.25.2-3 -- Backport couple of patches - -* Mon Dec 12 2016 Charalampos Stratakis - 0.25.2-2 -- Rebuild for Python 3.6 - -* Sat Dec 10 2016 Igor Gnatenko - 0.25.2-1 -- Update to 0.25.2 - -* Sat Aug 27 2016 Igor Gnatenko - 0.24.1-8 -- Fix provides (RHBZ #1370879) - -* Thu Aug 25 2016 Igor Gnatenko - 0.24.1-7 -- Run test suite - -* Thu Aug 25 2016 Igor Gnatenko - 0.24.1-6 -- Provide old names - -* Thu Aug 25 2016 Igor Gnatenko - 0.24.1-5 -- Use %%python_provide - -* Tue Aug 23 2016 Igor Gnatenko - 0.24.1-4 -- Update to 0.24.1 - -* Tue Jul 19 2016 Fedora Release Engineering - 0.23.4-4 -- https://fedoraproject.org/wiki/Changes/Automatic_Provides_for_Python_RPM_Packages - -* Wed Feb 03 2016 Fedora Release Engineering - 0.23.4-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild - -* Wed Jan 13 2016 Orion Poplawski - 0.23.4-1 -- Update to 0.23.4 -- Ship cythonize3 -- Modernize and cleanup spec -- Run tests, one python3 test fails with 3.5 - -* Tue Oct 13 2015 Robert Kuska - 0.23-2 -- Rebuilt for Python3.5 rebuild - -* Wed Aug 12 2015 Neal Becker - 0.23-2 -- Update to 0.23 - -* Tue Jun 16 2015 Fedora Release Engineering - 0.22-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild - -* Fri Feb 13 2015 nbecker - 0.22-1 -- oops, that should be 0.22 not 0.22.1 - -* Fri Feb 13 2015 nbecker - 0.22.1-1 -- Update to 0.22 - -* Sat Nov 22 2014 nbecker - 0.21.1-1 -- Update to 0.21.1 (br #1164297) - -* Mon Sep 15 2014 nbecker - 0.21-5 -- Add /bin/cythonize - -* Mon Sep 15 2014 nbecker - 0.21-1 -- Update to 0.21 - -* Fri Aug 15 2014 Fedora Release Engineering - 0.20.1-5 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild - -* Fri Jun 06 2014 Fedora Release Engineering - 0.20.1-4 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild - -* Wed May 28 2014 Thomas Spura - 0.20.1-3 -- Rebuilt for https://fedoraproject.org/wiki/Changes/Python_3.4 - -* Fri May 9 2014 Orion Poplawski - 0.20.1-2 -- Rebuild for Python 3.4 - -* Fri May 9 2014 Orion Poplawski - 0.20.1-1 -- Update to 0.20.1 - -* Mon Jan 20 2014 nbecker - 0.20-1 -- Update to 0.20 - -* Thu Oct 17 2013 nbecker - 0.19.2-2 -- Fix BR 1019498 - -* Sun Oct 13 2013 nbecker - 0.19-2 -- Update to 0.19.2 - -* Fri Aug 02 2013 Fedora Release Engineering - 0.19-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild - -* Fri Apr 19 2013 nbecker - 0.19-1 -- Update to 0.19 - -* Tue Jan 29 2013 Neal Becker - 0.18-1 -- update to 0.18 - -* Sat Dec 15 2012 Neal Becker - 0.17.3-1 -- Update to 0.17.3 - -* Wed Nov 21 2012 Neal Becker - 0.17.2-1 -- update to 0.17.2 - -* Wed Sep 26 2012 Neal Becker - 0.17.1-1 -- Update to 0.17.1 - -* Mon Sep 3 2012 Neal Becker - 0.17-1 -- Update to 0.17 - -* Tue Aug 28 2012 Neal Becker - 0.17-3.b3 -- Turn on check (temporarily) -- Add br numpy from check - -* Tue Aug 28 2012 Neal Becker - 0.17-1.b3 -- Test 0.17b3 - -* Fri Aug 24 2012 David Malcolm - 0.16-3 -- generalize egg-info logic to support RHEL (rhbz#851528) - -* Wed Jul 18 2012 Fedora Release Engineering - 0.16-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_18_Mass_Rebuild - -* Fri Apr 27 2012 Neal Becker - 0.16-1 -- Update to 0.16 - -* Thu Jan 12 2012 Fedora Release Engineering - 0.15.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_17_Mass_Rebuild - -* Tue Sep 20 2011 Neal Becker - 0.15.1-1 -- Update to 0.15.1 - -* Sat Aug 6 2011 Neal Becker - 0.15-1 -- Update to 0.15 - -* Mon Feb 07 2011 Fedora Release Engineering - 0.14.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_15_Mass_Rebuild - -* Sat Feb 5 2011 Neal Becker - 0.14.1-1 -- Update to 0.14.1 - -* Wed Dec 15 2010 Neal Becker - 0.14-2 -- Add cygdb - -* Wed Dec 15 2010 Neal Becker - 0.14-1 -- Update to 0.14 - -* Wed Aug 25 2010 Neal Becker - 0.13-1 -- Update to 0.13 - -* Wed Jul 21 2010 David Malcolm - 0.12.1-5 -- Rebuilt for https://fedoraproject.org/wiki/Features/Python_2.7/MassRebuild - -* Fri Feb 5 2010 Neal Becker - 0.12.1-4 -- Disable check for now as it fails on PPC - -* Tue Feb 2 2010 Neal Becker - 0.12.1-2 -- typo -- stupid rpm comments - -* Mon Nov 23 2009 Neal Becker - 0.12-1.rc1 -- Make that 0.12 - -* Mon Nov 23 2009 Neal Becker - 0.12.1-1.rc1 -- Update to 0.12.1 - -* Sun Sep 27 2009 Neal Becker - 0.11.3-1.rc1 -- Update to 0.11.3rc1 -- Update to 0.11.3 - -* Fri Jul 24 2009 Fedora Release Engineering - 0.11.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_12_Mass_Rebuild - -* Wed May 20 2009 Neal Becker - 0.11.2-1 -- Update to 0.11.2 - -* Thu Apr 16 2009 Neal Becker - 0.11.1-1 -- Update to 0.11.1 - -* Sat Mar 14 2009 Neal Becker - 0.11-2 -- Missed cython.py* - -* Sat Mar 14 2009 Neal Becker - 0.11-1 -- Update to 0.11 -- Exclude numpy from tests so we don't have to BR it - -* Mon Feb 23 2009 Fedora Release Engineering - 0.10.3-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild - -* Wed Dec 17 2008 Neal Becker - 0.10.3-1 -- Update to 0.10.3 - -* Thu Dec 04 2008 Ignacio Vazquez-Abrams - 0.10.2-2 -- Rebuild for Python 2.6 - -* Mon Dec 1 2008 Neal Becker - 0.10.2-1 -- Update to 0.10.2 - -* Sat Nov 29 2008 Ignacio Vazquez-Abrams - 0.10.1-2 -- Rebuild for Python 2.6 - -* Wed Nov 19 2008 Neal Becker - 0.10.1-1 -- Update to 0.10.1 - -* Sun Nov 9 2008 Neal Becker - 0.10-3 -- Fix typo - -* Sun Nov 9 2008 Neal Becker - 0.10-1 -- Update to 0.10 - -* Fri Jun 13 2008 Neal Becker - 0.9.8-2 -- Install into python_sitearch -- Add %%check - -* Fri Jun 13 2008 Neal Becker - 0.9.8-1 -- Update to 0.9.8 - -* Mon Apr 14 2008 José Matos - 0.9.6.13.1-3 -- Remove remaining --record. -- Add more documentation (Doc and Tools). -- Add correct entry for egg-info (F9+). - -* Mon Apr 14 2008 Neal Becker - 0.9.6.13.1-2 -- Change License to Python -- Install About.html -- Fix mixed spaces/tabs -- Don't use --record - -* Tue Apr 8 2008 Neal Becker - 0.9.6.13.1-1 -- Update to 0.9.6.13.1 - -* Mon Apr 7 2008 Neal Becker - 0.9.6.13-1 -- Update to 0.9.6.13 -- Add docs - -* Tue Feb 26 2008 Neal Becker - 0.9.6.12-1 -- Initial version diff --git a/SPECS/Cython/fix_testcycache.patch b/SPECS/Cython/fix_testcycache.patch deleted file mode 100644 index f3dd8bb3ab..0000000000 --- a/SPECS/Cython/fix_testcycache.patch +++ /dev/null @@ -1,23 +0,0 @@ -https://github.com/cython/cython/pull/5945/files - -diff -ruN a/Cython/Build/Tests/TestCyCache.py b/Cython/Build/Tests/TestCyCache.py ---- a/Cython/Build/Tests/TestCyCache.py 2024-03-22 16:33:42.785995661 +0000 -+++ b/Cython/Build/Tests/TestCyCache.py 2024-03-22 16:41:00.218527876 +0000 -@@ -3,6 +3,7 @@ - import gzip - import os - import tempfile -+from contextlib import closing - - import Cython.Build.Dependencies - import Cython.Utils -@@ -70,7 +71,8 @@ - f.write('pass') - self.fresh_cythonize(a_pyx, cache=self.cache_dir) - a_cache = os.path.join(self.cache_dir, os.listdir(self.cache_dir)[0]) -- gzip.GzipFile(a_cache, 'wb').write('fake stuff'.encode('ascii')) -+ with closing(gzip.GzipFile(a_cache, 'wb')) as gzipfile: -+ gzipfile.write('fake stuff'.encode('ascii')) - os.unlink(a_c) - self.fresh_cythonize(a_pyx, cache=self.cache_dir) - with open(a_c) as f: diff --git a/SPECS/GSL/GSL.signatures.json b/SPECS/GSL/GSL.signatures.json deleted file mode 100644 index a46497470d..0000000000 --- a/SPECS/GSL/GSL.signatures.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "Signatures": { - "GSL-4.0.0.tar.gz": "f0e32cb10654fea91ad56bde89170d78cfbf4363ee0b01d8f097de2ba49f6ce9" - } -} diff --git a/SPECS/GSL/GSL.spec b/SPECS/GSL/GSL.spec deleted file mode 100644 index 63c1d007eb..0000000000 --- a/SPECS/GSL/GSL.spec +++ /dev/null @@ -1,65 +0,0 @@ -Summary: GSL: Guidelines Support Library -Name: GSL -Version: 4.0.0 -Release: 1%{?dist} -License: MIT -Group: Applications/File -URL: https://github.com/Microsoft/GSL -Vendor: Microsoft Corporation -Distribution: Azure Linux -#Source0: https://github.com/microsoft/%{name}/archive/v%{version}.tar.gz -Source0: %{name}-%{version}.tar.gz -BuildRequires: cmake -BuildRequires: build-essential - - -%description -The Guidelines Support Library (GSL) contains functions and types that are suggested -for use by the C++ Core Guidelines maintained by the Standard C++ Foundation. -This repo contains Microsoft's implementation of GSL. - -The library includes types like span, string_span, owner<> and others. - -The entire implementation is provided inline in the headers under the gsl directory. -The implementation generally assumes a platform that implements C++14 support. -There are specific workarounds to support MSVC 2015. - -%global debug_package %{nil} - -%prep -%setup - -%build -mkdir -p cmake -cd cmake -cmake -DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} -DGSL_TEST=OFF .. -cmake --build . - -%install -cd cmake -make DESTDIR=%{buildroot} install -rm -rf %{buildroot}/usr/cmake - -%files -%defattr(-, root, root, -) -%license LICENSE -%dir %{_includedir}/gsl -%{_includedir}/gsl/* -%{_datadir}/cmake/Microsoft.GSL/* - -%changelog -* Wed Feb 23 2022 Minghe Ren - 4.0.0-1 -- Update to version 4.0.0 - -* Thu Dec 16 2021 Pawel Winogrodzki - 2.0.0-4 -- Removing the explicit %%clean stage. - -* Sat May 09 2020 Nick Samson - 2.0.0-3 -- Added %%license line automatically - -* Thu Apr 09 2020 Joe Schmitt 2.0.0-2 -- Update Source0 with valid URL. -- Remove sha1 macro. -- License verified. -* Thu Dec 5 2019 Emre Girgin 2.0.0-1 -- Original version for CBL-Mariner. diff --git a/SPECS/IP2Location/IP2Location.signatures.json b/SPECS/IP2Location/IP2Location.signatures.json deleted file mode 100644 index 8db07e4258..0000000000 --- a/SPECS/IP2Location/IP2Location.signatures.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "Signatures": { - "IP2Location-8.6.1.tar.gz": "c4825bdf7d5753ab83c323ae85f7801d2308046fbdfcd2761c16c856765165b4" - } -} diff --git a/SPECS/IP2Location/IP2Location.spec b/SPECS/IP2Location/IP2Location.spec deleted file mode 100644 index 49be5a9fc3..0000000000 --- a/SPECS/IP2Location/IP2Location.spec +++ /dev/null @@ -1,246 +0,0 @@ -%define soname 3 -Summary: Tools for mapping IP address to geolocation information -Name: IP2Location -Version: 8.6.1 -Release: 1%{?dist} -License: MIT -Vendor: Microsoft Corporation -Distribution: Azure Linux -URL: https://www.ip2location.com/ -Source0: https://github.com/chrislim2888/IP2Location-C-Library/archive/%{version}/%{name}-%{version}.tar.gz -BuildRequires: autoconf -BuildRequires: automake -BuildRequires: gcc -BuildRequires: libtool -BuildRequires: make -BuildRequires: perl-generators -BuildRequires: perl(Math::BigInt) -Obsoletes: libip2location < %{version} -Provides: libip2location = %{version} -Requires: %{name}-libs%{_isa} = %{version}-%{release} - - -%description -ip2location command enables the user to get the country, region, city, -coordinates, ZIP code, time zone, ISP, domain name, connection type, -area code, weather info, mobile carrier, elevation and usage type from any IP -address or hostname. This library has been optimized for speed and memory -utilization. The library contains API to query all IP2Location LITE and -commercial binary databases. - -Users can download the latest LITE database from IP2Location web site using e.g. -the included downloader. - -%package libs -Summary: C library for mapping IP address to geolocation information - -%description libs -IP2Location C library enables the user to get the country, region, city, -coordinates, ZIP code, time zone, ISP, domain name, connection type, -area code, weather info, mobile carrier, elevation, usage type, address -type and category from any IP address or hostname. -This library has been optimized for speed and memory utilization. The library -contains API to query all IP2Location LITE and commercial binary databases. - -%package devel -Summary: Development files for the IP2Location library -Requires: %{name}%{_isa} = %{version}-%{release} -Obsoletes: libip2location-devel < %{version} -Provides: libip2location-devel = %{version} - -%description devel -IP2Location C library enables the user to get the country, region, city, -coordinates, ZIP code, time zone, ISP, domain name, connection type, -area code, weather info, mobile carrier, elevation, usage type, address -type and category from any IP address or hostname. -This library has been optimized for speed and memory utilization. The library -contains API to query all IP2Location LITE and commercial binary databases. - -This package contains the development files for the IP2Location library. - -%package data-sample -Summary: Sample data files for the IP2Location library -Requires: %{name} = %{version}-%{release} -Obsoletes: ip2location-country < %{version} -Provides: ip2location-country = %{version} - -%description data-sample -IP2Location C library enables the user to get the country, region, city, -coordinates, ZIP code, time zone, ISP, domain name, connection type, -area code, weather info, mobile carrier, elevation, usage type, address -type and category from any IP address or hostname. -This library has been optimized for speed and memory utilization. The library -contains API to query all IP2Location LITE and commercial binary databases. - -This package contains the sample data files for testing the library. - -Latest lite databases can be downloaded from - https://lite.ip2location.com - -Further sample databases can be downloaded from - https://www.ip2location.com/development-libraries/ip2location/c - -%prep -%autosetup -p1 -n IP2Location-C-Library-%{version} - -# remove a warning option which break configure on older gcc versions -# (at least gcc version 4.1.2 20080704) -perl -pi -e 's/-Wno-unused-result//' configure.ac - -%build -autoreconf -fiv - -%configure --disable-static -%make_build - -# convert CSV to BIN -make -C data convert - -%check -LD_LIBRARY_PATH=%{buildroot}%{_libdir}:$LD_LIBRARY_PATH make check - -%install -%make_install - -# cleanup -rm -f %{buildroot}%{_libdir}/*.*a - -# tools -install -d %{buildroot}%{_datadir}/%{name}/tools -install -pm 0755 tools/download.pl %{buildroot}%{_datadir}/%{name}/tools - -# database directory -install -d %{buildroot}%{_datadir}/%{name}/ -# note: according to https://www.ip2location.com/development-libraries/ip2location/c -# IPv6 sample file has *.SAMPLE* while IPv4 has *-SAMPLE* in ZIP file -install -p data/IP-COUNTRY.BIN %{buildroot}%{_datadir}/%{name}/IP-COUNTRY-SAMPLE.BIN -install -p data/IPV6-COUNTRY.BIN %{buildroot}%{_datadir}/%{name}/IPV6-COUNTRY.SAMPLE.BIN - -%files -%doc AUTHORS ChangeLog README.md NEWS -%{_datadir}/%{name}/tools/ -%{_bindir}/ip2location -%{_mandir}/man1/ip2location.1* - -%files libs -%license COPYING LICENSE.TXT -%{_libdir}/libIP2Location.so.%{soname} -%{_libdir}/libIP2Location.so.%{soname}.0.0 -%dir %{_datadir}/%{name}/ - -%files devel -%doc Developers_Guide.txt -%{_includedir}/IP2Loc*.h -%{_libdir}/libIP2Location.so - -%files data-sample -%attr(644,-,-) %{_datadir}/%{name}/*.BIN - -%changelog -* Fri Oct 27 2023 CBL-Mariner Servicing Account - 8.6.1-1 -- Auto-upgrade to 8.6.1 - Azure Linux 3.0 - package upgrades - -* Mon Feb 28 2022 Rachel Menge - 8.4.1-3 -- Initial CBL-Mariner import from Fedora 36 (license: MIT). -- License verified - -* Wed Jan 19 2022 Fedora Release Engineering - 8.4.1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_36_Mass_Rebuild - -* Fri Nov 12 2021 Peter Bieringer - 8.4.1-1 -- update to 8.4.1 - -* Wed Jul 21 2021 Fedora Release Engineering - 8.4.0-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_35_Mass_Rebuild - -* Mon May 31 2021 Remi Collet - 8.4.0-2 -- add upstream patch fixing - https://github.com/chrislim2888/IP2Location-C-Library/issues/47 - -* Tue May 25 2021 Remi Collet - 8.4.0-1 -- update to 8.4.0 - -* Mon Jan 25 2021 Fedora Release Engineering - 8.3.1+1-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Tue Nov 10 2020 Remi Collet - 8.3.1+1-1 -- update to 8.3.1-1 to fix library version in headers -- fix missing perl dependencies - -* Mon Nov 9 2020 Remi Collet - 8.3.1-4 -- move library in libs subpackage - -* Mon Nov 09 2020 Peter Bieringer - 8.3.1-3 -- update to 8.3.1 - -* Sat Nov 07 2020 Peter Bieringer - 8.3.0-2 -- update to commit 7b074becd59cf8c574190e49ce097640a2cfefd7 -- add new 'ip2location' binary - -* Fri Oct 30 2020 Remi Collet - 8.3.0-1 -- update to 8.3.0 - -* Wed Oct 07 2020 Peter Bieringer - 8.2.0-12 -- update version to 8.2.0 (soname: 3) - -* Fri Sep 25 2020 Peter Bieringer - 8.1.3-11 -- update version to 8.1.3 - -* Fri Sep 25 2020 Peter Bieringer - 8.1.2-11 -- update version to 8.1.2 (soname: 2) - -* Thu Sep 24 2020 Peter Bieringer - 8.0.9-10 -- add additional Obsoletes/Provides/BuildRequires - -* Tue Sep 15 2020 Peter Bieringer - 8.0.9-8 -- subpackage data-sample: add suffix "SAMPLE" to included BIN files, fix file permissions -- use latest sources, git commit 6e49424dfc998856fa790df498bf77520e72ca28 - -* Fri Sep 11 2020 Peter Bieringer - 8.0.9-7 -- use latest sources, git commit 9a987645663b2e13191072df9d8866bf65bc85f5 -- add subpackage data-sample including the generated BIN files - -* Tue Sep 08 2020 Peter Bieringer - 8.0.9-6 -- add patch to sync with upstream -- add patch to make rpmlint happy - -* Fri Aug 28 2020 Peter Bieringer -- fix spec file according to BZ#1873302 - -* Sat Oct 5 2019 Peter Bieringer - 8.0.9-5 -- update version to 8.0.9 - -* Sun Feb 26 2017 Peter Bieringer - 8.0.4-5 -- update to 8.0.4 -- add some fixes related to move to github -- integrate download.pl into github tree - -* Sun May 03 2015 Peter Bieringer - 7.0.1-4 -- add Developers_Guide.txt to doc/devel -- change group of base package to System Environment/Libraries -- add check/post/postuninstall section -- migrate some settings from http://www.ip2location.com/rpm/ip2location-c.spec - -* Fri Apr 17 2015 Peter Bieringer - 7.0.1-3 -- update to 7.0.1 -- add ip2location-downloader/download.pl - -* Thu Apr 16 2015 Peter Bieringer -- update to 7.0.0 - -* Sat Jan 24 2015 Peter Bieringer -- run "make clean" before "make" cleanup i368 objects containend in source code - -* Sun Jul 20 2014 Peter Bieringer -- adjustments for 6.0.2 - -* Thu Aug 22 2013 Peter Bieringer -- adjustments for 6.0.1, update license version -- some RPM fixes - -* Sun May 15 2011 Oden Eriksson 4.0.2-1mdv2011.0 -+ Revision: 674881 -- import ip2location - -* Sun May 15 2011 Oden Eriksson 4.0.2-1mdv2010.2 -- initial Mandriva package \ No newline at end of file diff --git a/SPECS/ModemManager/ModemManager.signatures.json b/SPECS/ModemManager/ModemManager.signatures.json deleted file mode 100644 index f008fd1312..0000000000 --- a/SPECS/ModemManager/ModemManager.signatures.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "Signatures": { - "ModemManager-1.18.12.tar.xz": "b464e4925d955a6ca86dd08616e763b26ae46d7fd37dbe281678e34065b1e430" - } -} diff --git a/SPECS/ModemManager/ModemManager.spec b/SPECS/ModemManager/ModemManager.spec deleted file mode 100644 index 991fe6fe58..0000000000 --- a/SPECS/ModemManager/ModemManager.spec +++ /dev/null @@ -1,115 +0,0 @@ -Summary: Mobile broadband modem manager -Name: ModemManager -Version: 1.18.12 -Release: 1%{?dist} -License: GPLv2+ -Vendor: Microsoft Corporation -Distribution: Azure Linux -Group: Applications/System -URL: https://www.freedesktop.org/wiki/Software/ModemManager/ -Source0: https://www.freedesktop.org/software/%{name}/%{name}-%{version}.tar.xz -BuildRequires: gobject-introspection-devel -BuildRequires: libqmi-devel -BuildRequires: systemd-devel -%if 0%{?with_check} -BuildRequires: dbus-glib -BuildRequires: python3-gobject -BuildRequires: python3-dbus -%endif -Requires: glib -Requires: gobject-introspection -Requires: libqmi -Provides: %{name}-glib = %{version}-%{release} - -%description -ModemManager provides a unified high level API for communicating -with mobile broadband modems, regardless of the protocol used to -communicate with the actual device. - -%package devel -Summary: Header and development files for ModemManager -Requires: %{name} = %{version} -Requires: glib-devel -Requires: gobject-introspection-devel -Requires: libqmi-devel -Provides: %{name}-glib-devel = %{version}-%{release} - -%description devel -It contains the libraries and header files for ModemManager - -%prep -%setup -q - -%build -%configure --disable-static --enable-more-warnings=no -make %{?_smp_mflags} - -%install -make DESTDIR=%{buildroot} install - -%check -make %{?_smp_mflags} check - -%post -p /sbin/ldconfig -%postun -p /sbin/ldconfig - -%files -%defattr(-,root,root) -%license COPYING -%{_sysconfdir}/dbus-1/system.d/org.freedesktop.ModemManager1.conf -%{_bindir}/mmcli -%{_sbindir}/ModemManager -%{_libdir}/libmm-glib.so* -%{_libdir}/girepository-1.0/ModemManager-1.0.typelib -%{_libdir}/ModemManager/* -%exclude %{_libdir}/debug -%{_mandir}/man1/mmcli.1.gz -%{_mandir}/man8/ModemManager.8.gz -%{_datadir}/dbus-1/* -%{_datadir}/locale/* -%{_datadir}/bash-completion/* -%{_datadir}/gir-1.0/ModemManager-1.0.gir -%{_datadir}/ModemManager/* -%{_unitdir}/* -%exclude %{_datadir}/icons -/lib/udev/rules.d/* - -%files devel -%{_includedir}/ModemManager/* -%{_includedir}/libmm-glib/* -%{_libdir}/pkgconfig/ModemManager.pc -%{_libdir}/pkgconfig/mm-glib.pc -%{_libdir}/libmm-glib.la - -%changelog -* Fri Oct 27 2023 CBL-Mariner Servicing Account - 1.18.12-1 -- Auto-upgrade to 1.18.12 - Azure Linux 3.0 - package upgrades - -* Tue Mar 22 2022 Pawel Winogrodzki - 1.18.6-3 -- Adding missing systemd service file to the default package. - -* Mon Feb 28 2022 Max Brodeur-Urbas - 1.18.6-2 -- Adding python3-gobject, python3-dbus check BRs to satisfy regressed ptest. - -* Fri Feb 18 2022 Max Brodeur-Urbas - 1.18.6-1 -- Upgrading to v1.18.6 -- License verified. - -* Fri Mar 26 2021 Thomas Crain - 1.10.4-4 -- Merge the following releases from 1.0 to dev branch -- anphel@microsoft.com, 1.10.4-3: Add dbus BuildRequires to fix check tests. - -* Fri Dec 11 2020 Joe Schmitt - 1.10.4-3 -- Provide ModemManager-glib and ModemManager-glib-devel. - -* Sat May 09 2020 Nick Samson - 1.10.4-2 -- Added %%license line automatically - -* Tue Mar 17 2020 Henry Beberman 1.10.4-1 -- Update to 1.10.4. Fix URL. Fix Source0 URL. Licence verified. - -* Tue Sep 03 2019 Mateusz Malisz 1.8.2-2 -- Initial CBL-Mariner import from Photon (license: Apache2). - -* Mon Dec 10 2018 Alexey Makhalov 1.8.2-1 -- Initial build. First version diff --git a/SPECS/OpenIPMI/OpenIPMI.signatures.json b/SPECS/OpenIPMI/OpenIPMI.signatures.json deleted file mode 100644 index fb56271323..0000000000 --- a/SPECS/OpenIPMI/OpenIPMI.signatures.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "Signatures": { - "OpenIPMI-2.0.36.tar.gz": "a0403148fa5f7bed930c958a4d1c558047e273763a408b3a0368edc137cc55d9", - "ipmi.service": "7f55866340569bfbb4bcce32a6218667d0e8dbba99d9aac4ef8e192d3952fa71", - "openipmi-helper": "e646bf49b3962dd0cd6261d5a7c44240261c856e0bc47d70bdc2720a2ea7d530" - } -} diff --git a/SPECS/OpenIPMI/OpenIPMI.spec b/SPECS/OpenIPMI/OpenIPMI.spec deleted file mode 100644 index 4addd514eb..0000000000 --- a/SPECS/OpenIPMI/OpenIPMI.spec +++ /dev/null @@ -1,236 +0,0 @@ -Summary: A shared library implementation of IPMI and the basic tools -Name: OpenIPMI -Version: 2.0.36 -Release: 1%{?dist} -License: LGPLv2+ AND GPLv2+ OR BSD -Vendor: Microsoft Corporation -Distribution: Azure Linux -Group: System Environment/Base -URL: https://sourceforge.net/projects/openipmi/ -Source0: https://downloads.sourceforge.net/openipmi/%{name}-%{version}.tar.gz -Source1: openipmi-helper -Source2: ipmi.service -BuildRequires: ncurses-devel -BuildRequires: openssl-devel -BuildRequires: glib2-devel -BuildRequires: perl-devel -BuildRequires: popt-devel -BuildRequires: python3-devel -BuildRequires: swig -BuildRequires: systemd -Requires: systemd - -%description -This package contains a shared library implementation of IPMI and the -basic tools used with OpenIPMI. - -%package devel -Summary: Development files for OpenIPMI -Group: Utilities -Requires: OpenIPMI = %{version} -Requires: ncurses-devel - -%description devel -Contains additional files need for a developer to create applications -and/or middleware that depends on libOpenIPMI - -%package perl -Summary: Perl interface for OpenIPMI -Group: Utilities -Requires: OpenIPMI = %{version}-%{release} -Requires: perl >= 5 - -%description perl -A Perl interface for OpenIPMI. - -%package python -Summary: Python interface for OpenIPMI -Group: Utilities -Requires: OpenIPMI = %{version}-%{release} -Requires: python3 -Provides: python3-openipmi = %{version}-%{release} - -%description python -A Python interface for OpenIPMI. - -%package ui -Summary: User Interface (ui) -Group: Utilities -Requires: OpenIPMI = %{version}-%{release} - -%description ui -This package contains a user interface - -%package lanserv -Summary: Emulates an IPMI network listener -Group: Utilities -Requires: OpenIPMI = %{version}-%{release} - -%description lanserv -This package contains a network IPMI listener. - -%prep -%autosetup -p1 -autoreconf -fiv - -%build -# USERFIX: Things you might have to add to configure: -# --with-tclcflags='-I /usr/include/tclN.M' --with-tcllibs=-ltclN.M -# Obviously, replace N.M with the version of tcl on your system. -%configure \ - --with-tcl=no \ - --disable-static \ - --with-tkinter=no \ - --docdir=%{_docdir}/%{name}-%{version} \ - --with-perl=yes \ - --with-perlinstall=%{perl_vendorarch} \ - --with-python=%python3 \ - --with-pythoninstall=%{python3_sitearch} -make - -%install -make DESTDIR=%{buildroot} install -install -d %{buildroot}%{_sysconfdir}/init.d -install -d %{buildroot}%{_sysconfdir}/sysconfig -install ipmi.init %{buildroot}%{_sysconfdir}/init.d/ipmi -install ipmi.sysconf %{buildroot}%{_sysconfdir}/sysconfig/ipmi -find %{buildroot} -type f -name "*.la" -delete -print -mkdir -p %{buildroot}/lib/systemd/system -mkdir -p %{buildroot}/%{_libexecdir} -cp %{SOURCE1} %{buildroot}/%{_libexecdir}/. -cp %{SOURCE2} %{buildroot}/lib/systemd/system/ipmi.service -chmod 755 %{buildroot}/%{_libexecdir}/openipmi-helper -install -vdm755 %{buildroot}%{_libdir}/systemd/system-preset -echo "disable ipmi.service" > %{buildroot}%{_libdir}/systemd/system-preset/50-ipmi.preset - -#The build VM does not support ipmi. -#%%check -#make %{?_smp_mflags} check - -%preun -%systemd_preun ipmi.service - -%post -/sbin/ldconfig -%systemd_post ipmi.service - -%postun -/sbin/ldconfig -%systemd_postun_with_restart ipmi.service - -%files -%defattr(-,root,root) -%license COPYING -%{_libdir}/libOpenIPMIcmdlang.so.* -%{_libdir}/libOpenIPMIglib.so* -%{_libdir}/libOpenIPMIposix.so.* -%{_libdir}/libOpenIPMIpthread.so.* -%{_libdir}/libOpenIPMI.so.* -%{_libdir}/libOpenIPMIutils.so.* -%license COPYING COPYING.LIB -%doc FAQ INSTALL README README.Force -%license COPYING.BSD -%doc README.MotorolaMXP CONFIGURING_FOR_LAN -%exclude %{_sysconfdir}/init.d/ipmi -%config(noreplace) %{_sysconfdir}/sysconfig/ipmi -%{_libexecdir}/* -/lib/systemd/system/ipmi.service -%{_libdir}/systemd/system-preset/50-ipmi.preset - -%files perl -%defattr(-,root,root) -%{perl_vendorarch} -%doc swig/OpenIPMI.i swig/perl/sample swig/perl/ipmi_powerctl - -%files python -%defattr(-,root,root) -%{python3_sitelib}/*OpenIPMI.* -%{python3_sitelib}/__pycache__/* -%doc swig/OpenIPMI.i - -%files devel -%defattr(-,root,root) -%{_includedir}/OpenIPMI -%{_libdir}/*.so -%{_libdir}/pkgconfig -%doc doc/IPMI.pdf - -%files ui -%defattr(-,root,root) -%{_bindir}/ipmi_ui -%{_bindir}/ipmicmd -%{_bindir}/openipmicmd -%{_bindir}/openipmi_eventd -%{_bindir}/ipmish -%{_bindir}/openipmish -%{_bindir}/solterm -%{_bindir}/rmcp_ping -%{_libdir}/libOpenIPMIui.so.* -%{_mandir}/man1/ipmi_ui.1* -%{_mandir}/man1/openipmicmd.1* -%{_mandir}/man1/openipmish.1* -%{_mandir}/man1/openipmigui.1* -%{_mandir}/man1/solterm.1* -%{_mandir}/man1/openipmi_eventd.1.gz -%{_mandir}/man1/rmcp_ping.1* -%{_mandir}/man7/ipmi_cmdlang.7* -%{_mandir}/man7/openipmi_conparms.7* - -%files lanserv -%defattr(-,root,root) -%{_bindir}/ipmilan -%{_bindir}/ipmi_sim -%{_bindir}/sdrcomp -%{_libdir}/libIPMIlanserv.so.* -%config(noreplace) %{_sysconfdir}/ipmi/ipmisim1.emu -%config(noreplace) %{_sysconfdir}/ipmi/lan.conf -%{_mandir}/man8/ipmilan.8* -%{_mandir}/man1/ipmi_sim.1.gz -%{_mandir}/man5/ipmi_lan.5.gz -%{_mandir}/man5/ipmi_sim_cmd.5.gz - -%changelog -* Mon Oct 14 2024 Suresh Thelkar - 2.0.36-1 -- Upgrade to 2.0.36 - -* Thu Mar 28 2024 Xiaohong Deng - 2.0.33-1 -- Upgrade to 2.0.33 - -* Wed Mar 27 2024 Xiaohong Deng - 2.0.32-3 -- Adjust BuildRequires to build in 3.0 - -* Fri Dec 08 2023 Andrew Phelps - 2.0.32-2 -- Add missing file - -* Tue Feb 22 2022 Max Brodeur-Urbas - 2.0.32-1 -- Upgrading to version 2.0.32. - -* Mon Jan 31 2022 Thomas Crain - 2.0.25-7 -- Use python3 instead of python2 in python subpackage -- Add Fedora patch to enable build with python >= 3.9 -- License verified - -* Tue Mar 02 2021 Henry Li - 2.0.25-6 -- Provides python3-openipmi from OpenIPMI-python - -* Sat May 09 2020 Nick Samson - 2.0.25-5 -- Added %%license line automatically - -* Fri Apr 17 2020 Nicolas Ontiveros 2.0.25-4 -- Rename openipmi to OpenIPMI. -- Remove sha1 macro. - -* Tue Sep 03 2019 Mateusz Malisz 2.0.25-3 -- Initial CBL-Mariner import from Photon (license: Apache2). - -* Tue Jan 08 2019 Alexey Makhalov 2.0.25-2 -- Added BuildRequires python2-devel - -* Mon Sep 10 2018 Him Kalyan Bordoloi 2.0.25-1 -- Upgrade to 2.0.25 - -* Fri Sep 15 2017 Xiaolin Li 2.0.24-2 -- openipmi-devel requires ncurses-devel - -* Mon Sep 11 2017 Xiaolin Li 2.0.24-1 -- Initial build. First version diff --git a/SPECS/OpenIPMI/ipmi.service b/SPECS/OpenIPMI/ipmi.service deleted file mode 100644 index fa149939d2..0000000000 --- a/SPECS/OpenIPMI/ipmi.service +++ /dev/null @@ -1,12 +0,0 @@ -[Unit] -Description=IPMI Driver -After=network.target - -[Service] -Type=oneshot -RemainAfterExit=yes -ExecStart=/usr/libexec/openipmi-helper start -ExecStop=/usr/libexec/openipmi-helper stop - -[Install] -WantedBy=multi-user.target diff --git a/SPECS/OpenIPMI/openipmi-helper b/SPECS/OpenIPMI/openipmi-helper deleted file mode 100644 index 4cebfb9c6a..0000000000 --- a/SPECS/OpenIPMI/openipmi-helper +++ /dev/null @@ -1,512 +0,0 @@ -#!/bin/sh -############################################################################# -# -# ipmi: OpenIPMI Driver helper script -# -# Authors: Jan Safranek -# -# Based on IPMI init script by: -# Matt Domsch -# Chris Poblete -# -# Status return code bits -# no bits set = no errors -# bit 0 set = minimum modules aren't loaded -# bit 1 set = requested feature module isn't loaded -# bit 2 set = /dev/ipmi0 (or /dev/imb if using that instead) doesn't exist -# bit 3 set = /dev/watchdog doesn't exist -# bit 4 set = lockfile doesn't exist -# bit 5 set = modules are loaded even when asked to be unloaded - -CONFIGFILE=/etc/sysconfig/ipmi -# source config info -[ -r ${CONFIGFILE} ] && . ${CONFIGFILE} - -############################################################################# -# GLOBALS -############################################################################# -MODULE_NAME="ipmi" -INTF_NUM=0 - -IPMI_SMB_MODULE_NAME="ipmi_smb" -IPMI_SI_MODULE_NAME="ipmi_si" -kernel=`uname -r | cut -d. -f1-2` -if [ "${kernel}" == "2.4" ]; then - IPMI_SMB_MODULE_NAME="ipmi_smb_intf" - IPMI_SI_MODULE_NAME="ipmi_si_drv" -fi - -MODULES_INTERFACES="" -[ "${DEV_IPMI}" = "yes" ] && MODULES_INTERFACES="${MODULES_INTERFACES} ipmi_devintf" -[ "${IPMI_IMB}" = "yes" ] && MODULES_INTERFACES="${MODULES_INTERFACES} ipmi_imb" - -MODULES_FEATURES="" -[ "${IPMI_WATCHDOG}" = "yes" ] && MODULES_FEATURES="${MODULES_FEATURES} ipmi_watchdog" -[ "${IPMI_POWEROFF}" = "yes" ] && MODULES_FEATURES="${MODULES_FEATURES} ipmi_poweroff" - -MODULES_HW="" -[ "${IPMI_SI}" = "yes" ] && MODULES_HW="${MODULES_HW} ${IPMI_SI_MODULE_NAME}" -[ "${IPMI_SMB}" = "yes" ] && MODULES_HW="${MODULES_HW} ${IPMI_SMB_MODULE_NAME}" - -MODULES_BASE="ipmi_msghandler" -MODULES="${MODULES_INTERFACES} ${MODULES_FEATURES} ${MODULES_HW} ${MODULES_BASE}" - -RETVAL=0 -LOCKFILE=/var/lock/subsys/ipmi -DEV_IPMI_TIMEOUT=150 - -UDEV_EXISTS=0 -if [ -e /sbin/udev -o -e /sbin/udevd ]; then - UDEV_EXISTS=1 -fi - -############################################################################# -# NOTES: -# * /dev/ipmi0 is unconditionally deleted here on ipmi_devintf unload, -# because SLES9 and RHEL4 kernels don't send a message for udev to delete -# it for us. -# -############################################################################# - -modules_loaded_verbose() -{ - OnePlusLoaded=0 - OnePlusUnloaded=0 - for m in $@; do - if /sbin/lsmod | grep $m >/dev/null 2>&1 ; then - echo "$m module loaded." - OnePlusLoaded=1 - else - echo "$m module not loaded." - OnePlusUnloaded=1 - fi - done -} - -modules_loaded() -{ - OnePlusLoaded=0 - OnePlusUnloaded=0 - for m in $@; do - if /sbin/lsmod | grep $m >/dev/null 2>&1 ; then - OnePlusLoaded=1 - else - OnePlusUnloaded=1 - fi - done -} - -device_node_exists () -{ - if [ -e "$1" ]; then - echo "$1 exists." - return 1 - fi - echo "$1 does not exist." - return 0 -} - -minimum_modules_loaded() -{ - rc_base=1 - rc_hw=1 - modules_loaded_verbose "${MODULES_BASE}" - [ ${OnePlusLoaded} -eq 0 ] && rc_base=0 - - modules_loaded_verbose "${MODULES_HW}" - [ ${OnePlusLoaded} -eq 0 ] && rc_hw=0 - - return $((rc_base && rc_hw)) -} - -############################################################################# - -load_si() -{ - if [ "${IPMI_SI}" = "yes" ]; then - modprobe ${IPMI_SI_MODULE_NAME} > /dev/null 2>&1 - modules_loaded ${IPMI_SI_MODULE_NAME} - [ ${OnePlusLoaded} -ne 1 ] && RETVAL=$((RETVAL | 1)) - fi -} - -load_smb() -{ - if [ "${IPMI_SMB}" = "yes" ]; then - modprobe ${IPMI_SMB_MODULE_NAME} > /dev/null 2>&1 - modules_loaded ${IPMI_SMB_MODULE_NAME} - [ ${OnePlusLoaded} -ne 1 ] && RETVAL=$((RETVAL | 1)) - fi -} - -load_hw_modules() -{ - load_si - load_smb -} - -start_watchdog_common() -{ - load_hw_modules - modprobe ipmi_watchdog ${IPMI_WATCHDOG_OPTIONS} > /dev/null 2>&1 - modules_loaded ipmi_watchdog - [ ${OnePlusUnloaded} -ne 0 ] && - RETVAL=$((RETVAL | 2)) && - echo "Watchdog startup failed: cannot load ipmi_watchdog module" && - return - if [ ${UDEV_EXISTS} -eq 0 -a ! -e /dev/watchdog ]; then - mknod -m 0600 /dev/watchdog c 10 130 - [ $? -ne 0 ] && - RETVAL=$((RETVAL | 8)) && - echo "Watchdog startup failed: cannot create /dev/watchdog" && - return - fi -} - -start_watchdog_quiet() -{ - [ "${IPMI_WATCHDOG}" != "yes" ] && - return - start_watchdog_common -} - -start_watchdog() -{ - [ "${IPMI_WATCHDOG}" != "yes" ] && - RETVAL=$((RETVAL | 2)) && - echo "Watchdog not configured" && - return - start_watchdog_common -} - -stop_watchdog() -{ - modprobe -q -r ipmi_watchdog > /dev/null 2>&1 - modules_loaded ipmi_watchdog - if [ ${OnePlusLoaded} -ne 0 ]; then - RETVAL=$((RETVAL | 32)) - echo "Watchog shutdown failed: cannot unload ipmi_watchdog module" - else - if [ "${IPMI_WATCHDOG}" = "yes" ]; then - [ ${UDEV_EXISTS} -eq 0 ] && rm -f /dev/watchdog - fi - fi -} - -stop_watchdog_quiet() -{ - modprobe -q -r ipmi_watchdog > /dev/null 2>&1 - modules_loaded ipmi_watchdog - if [ ${OnePlusLoaded} -ne 0 ]; then - RETVAL=$((RETVAL | 32)) - else - if [ "${IPMI_WATCHDOG}" = "yes" ]; then - [ ${UDEV_EXISTS} -eq 0 ] && rm -f /dev/watchdog - fi - fi -} - -start_powercontrol_common() -{ - local poweroff_opts="" - load_hw_modules - if [ "${IPMI_POWERCYCLE}" == "yes" ]; then - modinfo ipmi_poweroff 2>/dev/null | grep poweroff_control > /dev/null 2>&1 && \ - poweroff_opts="poweroff_control=2" - modinfo ipmi_poweroff 2>/dev/null | grep poweroff_powercycle > /dev/null 2>&1 && \ - poweroff_opts="poweroff_powercycle=1" - fi - modprobe ipmi_poweroff "${poweroff_opts}" > /dev/null 2>&1 - modules_loaded ipmi_poweroff - [ ${OnePlusUnloaded} -ne 0 ] && - RETVAL=$((RETVAL | 2)) && - echo "Powercontroll startup failed: cannot load ipmi_poweroff module" && - return -} - -start_powercontrol_quiet() -{ - [ "${IPMI_POWEROFF}" != "yes" ] && - return - start_powercontrol_common -} - -start_powercontrol() -{ - [ "${IPMI_POWEROFF}" != "yes" ] && - RETVAL=$((RETVAL | 2)) && - echo "Powercontroll not configured" && - return - start_powercontrol_common -} - -stop_powercontrol() -{ - modprobe -q -r ipmi_poweroff > /dev/null 2>&1 - modules_loaded ipmi_poweroff - if [ ${OnePlusLoaded} -ne 0 ]; then - RETVAL=$((RETVAL | 32)) - echo "Powercontroll shutdown failed: cannot unload ipmi_poweroff module" - fi -} - -stop_powercontrol_quiet() -{ - modprobe -q -r ipmi_poweroff > /dev/null 2>&1 - modules_loaded ipmi_poweroff - [ ${OnePlusLoaded} -ne 0 ] && RETVAL=$((RETVAL | 32)) -} - -############################################################################# -unload_all_ipmi_modules() -{ - stop_watchdog_quiet - stop_powercontrol_quiet - for m in ${MODULES}; do - modprobe -q -r ${m} > /dev/null 2>&1 - done - # delete interface node ONLY if ipmi_devintf is unloaded - [ `lsmod | grep -c "ipmi_devintf"` -eq 0 ] && - rm -f "/dev/ipmi${INTF_NUM}" -} - -unload_ipmi_modules_leave_features() -{ - for m in ${MODULES_INTERFACES}; do - modprobe -q -r ${m} > /dev/null 2>&1 - done - # delete interface node ONLY if ipmi_devintf is unloaded - [ `lsmod | grep -c "ipmi_devintf"` -eq 0 ] && - rm -f "/dev/ipmi${INTF_NUM}" - lsmod | egrep -q "ipmi_(poweroff|watchdog)" > /dev/null 2>&1 - if [ "$?" -ne "0" ]; then - stop_watchdog_quiet - stop_powercontrol_quiet - for m in ${MODULES}; do - modprobe -q -r ${m} > /dev/null 2>&1 - done - fi -} - -############################################################################# -load_ipmi_modules () -{ - local locdelay - modprobe ipmi_msghandler > /dev/null 2>&1 - modules_loaded ipmi_msghandler - [ ${OnePlusLoaded} -ne 1 ] && unload_all_ipmi_modules && RETVAL=$((RETVAL | 1)) && return - load_hw_modules - [ $((RETVAL & 1)) -eq 1 ] && unload_all_ipmi_modules && RETVAL=$((RETVAL | 1)) && return - - if [ "${DEV_IPMI}" = "yes" ]; then - modprobe ipmi_devintf > /dev/null 2>&1 - modules_loaded ipmi_devintf - RETVAL=$((RETVAL & ~2)) - [ ${OnePlusLoaded} -eq 0 ] && RETVAL=$((RETVAL | 2)) - if [ ${OnePlusLoaded} -eq 1 ]; then - if [ ${UDEV_EXISTS} -eq 0 ]; then - DEVMAJOR=`cat /proc/devices | awk '/ipmidev/{print $1}'` - rm -f /dev/ipmi${INTF_NUM} - mknod -m 0600 /dev/ipmi${INTF_NUM} c ${DEVMAJOR} 0 || RETVAL=$((RETVAL | 4)) - fi - - # udev can take several seconds to create /dev/ipmi0, - # but it happens asynchronously, so delay here - locdelay=${DEV_IPMI_TIMEOUT} - while [ ! -e /dev/ipmi${INTF_NUM} -a ${locdelay} -gt 0 ]; do - locdelay=$((locdelay - 1)) - sleep 0.1 - done - fi - fi - - if [ "${IPMI_IMB}" = "yes" ]; then - modprobe ipmi_imb > /dev/null 2>&1 - modules_loaded ipmi_imb - RETVAL=$((RETVAL & ~2)) - [ ${OnePlusLoaded} -eq 0 ] && RETVAL=$((RETVAL | 2)) - if [ ${OnePlusLoaded} -eq 1 ]; then - DEVMAJOR=`cat /proc/devices | awk '/imb/{print $1}'` - rm -f /dev/imb - mknod -m 0600 /dev/imb c ${DEVMAJOR} 0 || RETVAL=$((RETVAL | 4)) - fi - fi - - # Per Corey Minyard, essentially no one uses ipmi_radisys - # and we don't want to encourage its further use - # so it won't be handled here. - return -} - -############################################################################# -start() -{ - load_ipmi_modules - if [ ${RETVAL} -eq 0 ]; then - touch ${LOCKFILE} - else - if [ $((RETVAL & 1)) -eq 1 ]; then - echo "Startup failed." - else - touch ${LOCKFILE} && echo "Warning!?" - fi - fi - start_watchdog_quiet - start_powercontrol_quiet -} - -############################################################################# -stop() -{ - unload_ipmi_modules_leave_features - modules_loaded ${MODULES_INTERFACES} - if [ ${OnePlusLoaded} -ne 0 ]; then - RETVAL=$((RETVAL | 32)) - echo "Shutdown failed, something may be in use" - else - rm -f ${LOCKFILE} - fi -} - -stop_all() -{ - unload_all_ipmi_modules - modules_loaded ${MODULES} - if [ ${OnePlusLoaded} -ne 0 ]; then - RETVAL=$((RETVAL | 32)) - echo "Shutdown failed, something may be in use" - else - rm -f ${LOCKFILE} - fi -} - -############################################################################# -restart() -{ - stop_all - RETVAL=0 - start -} - -############################################################################# - -reload() -{ - stop_all - RETVAL=0 - start -} - -############################################################################# - -status_all() -{ - minimum_modules_loaded - [ $? -eq 0 ] && RETVAL=$((RETVAL | 1)) - - modules_loaded_verbose ${MODULES_FEATURES} ${MODULES_INTERFACES} - [ ${OnePlusUnloaded} -ne 0 ] && RETVAL=$((RETVAL | 2)) - - if [ "${DEV_IPMI}" = "yes" ]; then - device_node_exists /dev/ipmi${INTF_NUM} - [ $? -eq 0 ] && RETVAL=$((RETVAL | 4)) - fi - - if [ "${IPMI_IMB}" = "yes" ]; then - device_node_exists /dev/imb - [ $? -eq 0 ] && RETVAL=$((RETVAL | 4)) - fi - - if [ "${IPMI_WATCHDOG}" = "yes" ]; then - device_node_exists /dev/watchdog - [ $? -eq 0 ] && RETVAL=$((RETVAL | 8)) - fi - - [ ! -e ${LOCKFILE} ] && RETVAL=$((RETVAL | 16)) -} - -status() -{ - minimum_modules_loaded - [ $? -eq 0 ] && RETVAL=$((RETVAL | 1)) - - if [ "${DEV_IPMI}" = "yes" ]; then - modules_loaded_verbose ipmi_devintf - [ ${OnePlusLoaded} -eq 0 ] && RETVAL=$((RETVAL | 2)) - - device_node_exists /dev/ipmi${INTF_NUM} - [ $? -eq 0 ] && RETVAL=$((RETVAL | 4)) - fi - - if [ "${IPMI_IMB}" = "yes" ]; then - device_node_exists /dev/imb - [ $? -eq 0 ] && RETVAL=$((RETVAL | 4)) - fi -} - -status_watchdog() -{ - minimum_modules_loaded - [ $? -eq 0 ] && RETVAL=$((RETVAL | 1)) - - modules_loaded_verbose ipmi_watchdog - [ ${OnePlusLoaded} -eq 0 ] && RETVAL=$((RETVAL | 2)) - - device_node_exists /dev/watchdog - [ $? -eq 0 ] && RETVAL=$((RETVAL | 8)) -} - -status_powercontrol() -{ - minimum_modules_loaded - [ $? -eq 0 ] && RETVAL=$((RETVAL | 1)) - - modules_loaded_verbose ipmi_powercontrol - [ ${OnePlusLoaded} -eq 0 ] && RETVAL=$((RETVAL | 2)) -} - -############################################################################# -usage () -{ - echo $"Usage: $0 {start|stop|status" 1>&2 - echo $" restart|condrestart|try-restart|reload|force-reload" 1>&2 - echo $" start-watchdog|stop-watchdog|status-watchdog" 1>&2 - echo $" start-powercontrol|stop-powercontrol|status-powercontrol" 1>&2 - echo $" stop-all|status-all}" 1>&2 - RETVAL=2 -} - -condrestart () -{ - [ -e ${LOCKFILE} ] && restart -} - -############################################################################# -# MAIN -############################################################################# -case "$1" in - start) start ;; - stop) stop ;; - restart) restart ;; - force-reload) reload ;; - reload) reload ;; - status) status ;; - status-all) status_all ;; - condrestart) condrestart ;; - try-restart) condrestart ;; - start-watchdog) start_watchdog ;; - stop-watchdog) stop_watchdog ;; - status-watchdog) status_watchdog ;; - start-powercontrol) start_powercontrol ;; - stop-powercontrol) stop_powercontrol ;; - status-powercontrol) status_powercontrol ;; - stop-all) stop_all ;; - *) usage ;; -esac - -exit ${RETVAL} - -############################################################################# -# end of file -############################################################################# - diff --git a/SPECS/PyYAML/PyYAML.signatures.json b/SPECS/PyYAML/PyYAML.signatures.json deleted file mode 100644 index d38b4a906b..0000000000 --- a/SPECS/PyYAML/PyYAML.signatures.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "Signatures": { - "PyYAML-6.0.1.tar.gz": "57314c984aaa84318eed00cf5a8365afc49f87954969e295efe2ba99f3b21f7a" - } -} diff --git a/SPECS/PyYAML/PyYAML.spec b/SPECS/PyYAML/PyYAML.spec deleted file mode 100644 index f0f1618578..0000000000 --- a/SPECS/PyYAML/PyYAML.spec +++ /dev/null @@ -1,111 +0,0 @@ -%global debug_package %{nil} -Summary: YAML parser and emitter for Python -Name: PyYAML -Version: 6.0.1 -Release: 1%{?dist} -License: MIT -Vendor: Microsoft Corporation -Distribution: Azure Linux -Group: Development/Libraries -URL: https://github.com/yaml/pyyaml -Source0: https://github.com/yaml/pyyaml/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz -BuildRequires: libyaml-devel -BuildRequires: python3 -#BuildRequires: python3-Cython -BuildRequires: python3-devel -BuildRequires: python3-libs -Requires: libyaml -Requires: python3 -Requires: python3-libs -Provides: python3-%{name} = %{version}-%{release} -Provides: python3-yaml = %{version}-%{release} - -%description -YAML is a data serialization format designed for human readability and -interaction with scripting languages. PyYAML is a YAML parser and -emitter for Python. - -PyYAML features a complete YAML 1.1 parser, Unicode support, pickle -support, capable extension API, and sensible error messages. PyYAML -supports standard YAML tags and provides Python-specific tags that allow -to represent an arbitrary Python object. - -PyYAML is applicable for a broad range of tasks from complex -configuration files to object serialization and persistence. - -%prep -%autosetup -p 1 -n pyyaml-%{version} -#find -type f -name "*.c" -delete -print - -%build -#export PYYAML_FORCE_CYTHON=1 -%py3_build - -%install -mkdir -p %{buildroot}%{_bindir} -%py3_install -chmod a-x examples/yaml-highlight/yaml_hl.py - -%check -%python3 setup.py test - -%files -%defattr(-,root,root,-) -%license LICENSE -%doc CHANGES README.md examples -%{python3_sitelib}/* - -%changelog -* Thu Feb 01 2024 Henry Li - 6.0.1-1 -- Upgrade to version 6.0.1 -- Fix Source0 -- Disable debuginfo package - -* Tue Nov 14 2023 Andrew Phelps - 5.3.1-1 -- Upgrade to version 5.3.1 -- Disable building with Cython due to compat issue in Cython 3 - -* Fri Oct 27 2023 Xiaohong Deng - 5.2-1 -- Upgrade to 5.2 - -* Fri Dec 03 2021 Thomas Crain - 3.13-8 -- Rebuild C source files using Cython for Python 3.9 compatibility - -* Wed Oct 20 2021 Thomas Crain - 3.13-7 -- Remove python2 package, have main package contain python3 version -- Add license to python3 package -- Lint spec -- License verified - -* Thu Feb 04 2021 Joe Schmitt - 3.13-6 -- Provide python3-yaml -- Update URLs to https - -* Sat May 09 2020 Nick Samson - 3.13-5 -- Added %%license line automatically - -* Tue Sep 03 2019 Mateusz Malisz 3.13-4 -- Initial CBL-Mariner import from Photon (license: Apache2). - -* Tue Apr 16 2019 Tapas Kundu 3.13-3 -- Added lib3 changes for CVE-2017-18342 -- change default loader for yaml.add_constructor -- Add custom constructors to multiple loaders - -* Thu Mar 28 2019 Ankit Jain 3.13-2 -- Fix for CVE-2017-18342 - -* Thu Sep 20 2018 Tapas Kundu 3.13-1 -- Updated to release 3.13 - -* Tue May 16 2017 Kumar Kaushik 3.12-2 -- Adding python3 support. - -* Tue Apr 18 2017 Dheeraj Shetty 3.12-1 -- Updated version to 3.12 - -* Tue May 24 2016 Priyesh Padmavilasom 3.11-2 -- GA - Bump release of all rpms - -* Wed Mar 04 2015 Mahmoud Bassiouny -- Initial packaging for Photon diff --git a/SPECS/R/R.signatures.json b/SPECS/R/R.signatures.json deleted file mode 100644 index 889be6ac06..0000000000 --- a/SPECS/R/R.signatures.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "Signatures": { - "R-4.4.1.tar.gz": "b4cb675deaaeb7299d3b265d218cde43f192951ce5b89b7bb1a5148a36b2d94d" - } -} diff --git a/SPECS/R/R.spec b/SPECS/R/R.spec deleted file mode 100644 index 846813941f..0000000000 --- a/SPECS/R/R.spec +++ /dev/null @@ -1,140 +0,0 @@ -%global debug_package %{nil} -Summary: A language for data analysis and graphics -Name: R -Version: 4.4.1 -Release: 1%{?dist} -License: GPLv2 -Vendor: Microsoft Corporation -Distribution: Azure Linux -Group: System Environment/Daemons -URL: https://www.r-project.org -Source0: https://cran.r-project.org/src/base/R-4/R-%{version}.tar.gz -BuildRequires: build-essential -BuildRequires: bzip2-devel -BuildRequires: curl-devel -BuildRequires: gfortran -BuildRequires: glibc-iconv -BuildRequires: make -BuildRequires: msopenjdk-17 -BuildRequires: pcre2 -BuildRequires: pcre2-devel -BuildRequires: readline-devel -BuildRequires: tzdata -BuildRequires: which -BuildRequires: xz -BuildRequires: xz-devel -BuildRequires: zlib-devel - -%description -R is a language and environment for statistical computing and graphics. -It is a GNU project which is similar to the S language and environment -which was developed at Bell Laboratories (formerly AT&T, now Lucent -Technologies) by John Chambers and colleagues. R can be considered as a -different implementation of S. There are some important differences, but -much code written for S runs unaltered under R. R, like S, is designed -around a true computer language, and it allows users to add additional -functionality by defining new functions. Much of the system is itself -written in the R dialect of S, which makes it easy for users to follow -the algorithmic choices made. For computationally-intensive tasks, C, -C++ and Fortran code can be linked and called at run time. Advanced -users can write C code to manipulate R objects directly. - -%package core -Summary: R -Requires: bzip2-devel -Requires: curl-devel -Requires: gcc-c++ -Requires: gfortran -Requires: xz-devel -Requires: zlib-devel - -%description core -R is a language and environment for statistical computing and graphics. -It is a GNU project which is similar to the S language and environment -which was developed at Bell Laboratories (formerly AT&T, now Lucent -Technologies) by John Chambers and colleagues. R can be considered as a -different implementation of S. There are some important differences, but -much code written for S runs unaltered under R. R, like S, is designed -around a true computer language, and it allows users to add additional -functionality by defining new functions. Much of the system is itself -written in the R dialect of S, which makes it easy for users to follow -the algorithmic choices made. For computationally-intensive tasks, C, -C++ and Fortran code can be linked and called at run time. Advanced -users can write C code to manipulate R objects directly. - -%package core-devel -Summary: Core files for development of R packages -Requires: %{name}-core = %{version}-%{release} - -%description core-devel -Install R-core-devel if you are going to develop or compile R packages. - -%prep -%autosetup -p1 - -%build -./configure --with-x=no --prefix=%{_prefix}/ -%make_build - -%install -%make_install -%ifarch x86_64 -pushd %{buildroot}%{_lib64dir}/R -ln -s %{_includedir}/R include -popd -%endif - -%check -# Tests do not all pass -# Upstream tests on intel architectures -%ifnarch aarch64 -ulimit -s 16384 -TZ="Europe/Paris" make check -k -i -%endif - -%files core -%license COPYING -%{_bindir}/R -%{_bindir}/Rscript -%{_mandir}/man1/R* -%ifarch x86_64 -%{_lib64dir}/R/* -%exclude %dir %{_lib64dir}/R/include/* -%exclude %{_prefix}/src/debug/R* -%exclude %dir %{_libdir}/debug/usr/lib64/R* -%endif -%ifarch aarch64 -%{_libdir}/R/* -%exclude %dir %{_libdir}/R/include/* -%endif - -%files core-devel -%ifarch x86_64 -%{_lib64dir}/R/include/* -%endif -%ifarch aarch64 -%{_libdir}/R/include/* -%endif - -%changelog -* Thu Jul 11 2024 Tobias Brick - 4.4.1-1 -- Upgrade to 4.4.1, which fixes CVE-2024-27322 - -* Fri Apr 05 2024 Betty Lakes - 4.3.2-2 -- Move from pcre to pcre2 - -* Tue Feb 13 2024 Rohit Rawat - 4.3.2-1 -- Upgrade to 4.3.2 - -* Wed Sep 20 2023 Jon Slobodzian - 4.1.0-4 -- Recompile with stack-protection fixed gcc version (CVE-2023-4039) - -* Fri Mar 31 2023 Muhammad Falak - 4.1.0-3 -- Patch to fix build with curl >= 8.0.0 - -* Thu Dec 02 2021 Andrew Phelps - 4.1.0-2 -- Build with JDK 11 -* Wed Jun 16 2021 Rachel Menge - 4.1.0-1 -- Add R spec. -- License verified -- Original version for CBL-Mariner diff --git a/SPECS/SymCrypt-OpenSSL/SymCrypt-OpenSSL.signatures.json b/SPECS/SymCrypt-OpenSSL/SymCrypt-OpenSSL.signatures.json deleted file mode 100644 index a5f035b28a..0000000000 --- a/SPECS/SymCrypt-OpenSSL/SymCrypt-OpenSSL.signatures.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "Signatures": { - "SymCrypt-OpenSSL-1.9.1.tar.gz": "4b2a2399c2d3a875d7af9830545f17055ccbcf6159d64fb0512aebe1e70491a5" - } -} diff --git a/SPECS/SymCrypt-OpenSSL/SymCrypt-OpenSSL.spec b/SPECS/SymCrypt-OpenSSL/SymCrypt-OpenSSL.spec deleted file mode 100644 index 935170bdd2..0000000000 --- a/SPECS/SymCrypt-OpenSSL/SymCrypt-OpenSSL.spec +++ /dev/null @@ -1,154 +0,0 @@ -Summary: The SymCrypt engine for OpenSSL (SCOSSL) allows the use of OpenSSL with SymCrypt as the provider for core cryptographic operations -Name: SymCrypt-OpenSSL -Version: 1.9.1 -Release: 1%{?dist} -License: MIT -Vendor: Microsoft Corporation -Distribution: Azure Linux -Group: System/Libraries -URL: https://github.com/microsoft/SymCrypt-OpenSSL -Source0: https://github.com/microsoft/SymCrypt-OpenSSL/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -BuildRequires: openssl-devel -BuildRequires: SymCrypt >= 103.8.0 -BuildRequires: cmake -BuildRequires: gcc -BuildRequires: make - -Requires: SymCrypt >= 103.8.0 -Requires: openssl - -%description -The SymCrypt engine for OpenSSL (SCOSSL) allows the use of OpenSSL with SymCrypt as the provider for core cryptographic operations - -# Only x86_64 and aarch64 are currently supported -%ifarch x86_64 -%define symcrypt_arch AMD64 -%endif - -%ifarch aarch64 -%define symcrypt_arch ARM64 -%endif - -%prep -%setup -q - -%build -mkdir bin; cd bin - -cmake .. \ - -DKEYSINUSE_ENABLED=1 \ - -DOPENSSL_ROOT_DIR="%{_prefix}/local/ssl" \ - -DSYMCRYPT_ROOT_DIR=%{buildroot}%{_includedir}/.. \ - -DCMAKE_TOOLCHAIN_FILE="../cmake-toolchain/LinuxUserMode-%{symcrypt_arch}.cmake" \ - -DCMAKE_BUILD_TYPE=RelWithDebInfo - -cmake --build . - -%install -mkdir -p %{buildroot}%{_libdir}/engines-3/ -mkdir -p %{buildroot}%{_libdir}/ossl-modules/ -mkdir -p %{buildroot}%{_includedir} -mkdir -p %{buildroot}%{_sysconfdir}/pki/tls/ -mkdir -p %{buildroot}%{_localstatedir}/log/keysinuse/ - -# We still install the engine for backwards compatibility with legacy applications. Callers must -# explicitly load the engine to use it. It will be removed in a future release. -install bin/SymCryptEngine/dynamic/symcryptengine.so %{buildroot}%{_libdir}/engines-3/symcryptengine.so -install bin/SymCryptProvider/symcryptprovider.so %{buildroot}%{_libdir}/ossl-modules/symcryptprovider.so -install SymCryptEngine/inc/e_scossl.h %{buildroot}%{_includedir}/e_scossl.h -install SymCryptProvider/symcrypt_prov.cnf %{buildroot}%{_sysconfdir}/pki/tls/symcrypt_prov.cnf - -%check -# Run in a subshell so the exit code of the test does not affect the main shell's exit code. -# This is important because the entire section is wrapped in a script by rpmbuild itself. -# The test is run twice: once with the default provider and once with the SymCrypt provider. -( - set -e - ./bin/SslPlay/SslPlay - ./bin/SslPlay/SslPlay --provider-path ./bin/SymCryptProvider/ --provider symcryptprovider --no-engine -) - -%files -%license LICENSE -%{_libdir}/engines-3/symcryptengine.so -%{_libdir}/ossl-modules/symcryptprovider.so -%{_includedir}/e_scossl.h -%{_sysconfdir}/pki/tls/symcrypt_prov.cnf - -# The log directory for certsinuse logging has permissions set to 1733. -# These permissions are a result of a security review to mitigate potential risks: -# - Group and others are denied read access to prevent user-level code from inferring -# details about other running applications and their certsinuse usage. -# - All users have write and execute permissions to create new log files and to -# check file attributes (e.g., to ensure a log file hasn't been tampered with or -# replaced by a symlink). -# - The sticky bit is set to prevent malicious users from deleting the log files -# and interfering with certsinuse alerting mechanisms. -%dir %attr(1733, root, root) %{_localstatedir}/log/keysinuse/ - -%changelog -* Fri Jul 25 2025 Tobias Brick - 1.9.1-1 -- Upgrade SymCrypt-OpenSSL to 1.9.1 for compatability and bug fixes. - -* Wed Jun 11 2025 Tobias Brick - 1.9.0-1 -- Auto-upgrade to 1.9.0 - Support digest state exports. -- Added second test run that forces the use of the SymCrypt provider. - -* Tue May 13 2025 Tobias Brick - 1.8.1-1 -- Upgrade to SymCrypt-OpenSSL 1.8.1 with minor bugfixes. - -* Thu May 08 2025 Tobias Brick - 1.8.0-2 -- Update mechanism for creating keysinuse logging directory. - -* Thu Mar 27 2025 Maxwell Moyer-McKee - 1.8.0-1 -- Upgrade to SymCrypt-OpenSSL 1.8.0 with PBKDF2 and minor bugfixes - -* Fri Jan 31 2025 Tobias Brick - 1.7.0-1 -- Add optional debug logging instead of writing some errors to stderr -- Add optional KeysInUse feature, which can be turned on by config - -* Wed Nov 27 2024 CBL-Mariner Servicing Account - 1.6.1-1 -- Auto-upgrade to 1.6.1 - bug fixes - -* Mon Nov 25 2024 Tobias Brick - 1.6.0-1 -- Upgrade to SymCrypt-OpenSSL 1.6.0 - -* Wed Oct 02 2024 Tobias Brick - 1.5.1-2 -- Add sources to debuginfo package - -* Wed Aug 21 2024 Maxwell Moyer-McKee - 1.5.1-1 -- Fix minor behavior differences with default provider - -* Thu Aug 15 2024 Maxwell Moyer-McKee - 1.5.0-1 -- Fix AES-CFB to match expected OpenSSL calling patterns -- Support ECC key X and Y coordinate export - -* Thu May 16 2024 Maxwell Moyer-McKee - 1.4.3-1 -- Additional bugfixes for TLS connections -- Add variable length GCM IV support to the SymCrypt engine - -* Thu Apr 25 2024 Maxwell Moyer-McKee - 1.4.2-1 -- Support additional parameters in the SymCrypt provider required for TLS connections -- Various bugfixes for TLS scenarios - -* Wed Apr 17 2024 Maxwell Moyer-McKee - 1.4.1-1 -- Update SymCrypt-OpenSSL to v1.4.1 -- Adds support for RSASSA-PSS keys, SP800-108 KDF -- Fixes smoke test for check in OpenSSL 3.1 - -* Thu Dec 28 2023 Maxwell Moyer-McKee - 1.4.0-1 -- Update SymCrypt-OpenSSL to v1.4.0. -- Adds SymCrypt-OpenSSL provider for OpenSSL 3. - -* Mon May 22 2023 Samuel Lee - 1.3.0-1 -- Update SymCrypt-OpenSSL to v1.3.0. Adds support for HMAC and fixes corner RSA-PSS bug. Run smoke test in check - -* Mon Jun 06 2022 Samuel Lee - 1.2.0-1 -- Update SymCrypt-OpenSSL to v1.2.0 to improve performance and fix some corner case bugs - -* Tue Mar 29 2022 Samuel Lee - 1.1.0-1 -- Update SymCrypt-OpenSSL to v1.1.0 to include FIPS self-tests, and fix aarch64 build - -* Mon Feb 14 2022 Samuel Lee - 1.0.0-1 -- Original version for CBL-Mariner -- Verified license diff --git a/SPECS/SymCrypt/SymCrypt.signatures.json b/SPECS/SymCrypt/SymCrypt.signatures.json deleted file mode 100644 index a78d7c274e..0000000000 --- a/SPECS/SymCrypt/SymCrypt.signatures.json +++ /dev/null @@ -1,8 +0,0 @@ -{ - "Signatures": { - "SymCrypt-103.8.0.tar.gz": "d0282d7188451ff3ed5f16db4fb19a38c7d2358d17ff504af1fd66a7a968e8c9", - "find-debuginfo": "356800f19b755879993103c121c83fb4cc97d0e8656ea34d051daa310f54cedf", - "jitterentropy-library-3.3.1.tar.gz": "4a50cb02b4836cd5550016e2fc2263e6982abaa11467a9e1cea260c1c2f7d487", - "symcrypt-build-environment-variables-v103.8.0.sh": "4e19f55745c0d8a4e22455b52c99c33444dd5e80864d49d5eb2e3edaeff2e7d3" - } -} \ No newline at end of file diff --git a/SPECS/SymCrypt/SymCrypt.spec b/SPECS/SymCrypt/SymCrypt.spec deleted file mode 100644 index 60d6ca4cd4..0000000000 --- a/SPECS/SymCrypt/SymCrypt.spec +++ /dev/null @@ -1,145 +0,0 @@ -Summary: A core cryptographic library written by Microsoft -Name: SymCrypt -Version: 103.8.0 -Release: 1%{?dist} -License: MIT -Vendor: Microsoft Corporation -Distribution: Azure Linux -Group: System/Libraries -URL: https://github.com/microsoft/SymCrypt -Source0: https://github.com/microsoft/SymCrypt/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz -Source1: https://github.com/smuellerDD/jitterentropy-library/archive/v3.3.1.tar.gz#/jitterentropy-library-3.3.1.tar.gz -Source2: find-debuginfo -# Use ./generate-env-file.sh --release-tag to generate this. For example: -# ./generate-env-file.sh --release-tag v103.5.1 -Source3: symcrypt-build-environment-variables-v%{version}.sh -BuildRequires: cmake -%ifarch aarch64 -BuildRequires: clang >= 12.0.1-4 -%endif -BuildRequires: gcc -BuildRequires: make -BuildRequires: python3 -BuildRequires: python3-pyelftools - -%description -A core cryptographic library written by Microsoft - -# Only x86_64 and aarch64 are currently supported -%ifarch x86_64 -%define symcrypt_arch AMD64 -%define symcrypt_cc gcc -%define symcrypt_c_flags "-Wno-maybe-uninitialized" -%define symcrypt_cxx g++ -%endif - - -%ifarch aarch64 -%define symcrypt_arch ARM64 -# Currently SymCrypt ARM64 build requires use of clang -%define symcrypt_cc clang -%define symcrypt_c_flags "-mno-outline-atomics -Wno-conditional-uninitialized" -%define symcrypt_cxx clang++ -%endif - -%prep -%autosetup -a 1 -p1 -# Create a symbolic link as if jitterentropy-library has been pulled in as git submodule -rm -rf 3rdparty/jitterentropy-library -ln -s ../jitterentropy-library-3.3.1 3rdparty/jitterentropy-library - -%build -source %{SOURCE3} -cmake -S . -B bin \ - -DSYMCRYPT_TARGET_ARCH=%{symcrypt_arch} \ - -DSYMCRYPT_STRIP_BINARY=OFF \ - -DSYMCRYPT_FIPS_POSTPROCESS=OFF \ - -DCMAKE_BUILD_TYPE=RelWithDebInfo \ - -DCMAKE_C_COMPILER=%{symcrypt_cc} \ - -DCMAKE_CXX_COMPILER=%{symcrypt_cxx} \ - -DCMAKE_C_FLAGS="%{symcrypt_c_flags}" \ - -DCMAKE_CXX_FLAGS="-Wno-unused-but-set-variable" - -cmake --build bin - -# Override the default find-debuginfo script to our own custom one, which is modified -# to allow us to keep symbols. -# Also add custom options to the call to find-debuginfo. -%define __find_debuginfo %{SOURCE2} -%define _find_debuginfo_opts \\\ - --keep-symbol SymCryptVolatileFipsHmacKey \\\ - --keep-symbol SymCryptVolatileFipsHmacKeyRva \\\ - --keep-symbol SymCryptVolatileFipsBoundaryOffset \\\ - --keep-symbol SymCryptVolatileFipsHmacDigest \\\ - %{nil} - -# Override the default to allow us to do custom fips post-processing after debug info/stripping is done. -# The post-processing script writes the modified file to the same location as the original file, which -# is subject to default permissions, so we need to set permissions manually after the script. -%define __spec_install_post \ - %{?__debug_package:%{__debug_install_post}} \ - %{__arch_install_post} \ - %{__os_install_post} \ - mkdir -p "bin/module/generic/processing" \ - python3 "scripts/process_fips_module.py" "%{buildroot}%{_libdir}/libsymcrypt.so.%{version}" --processing-dir "bin/module/generic/processing" --debug \ - chmod 755 "%{buildroot}%{_libdir}/libsymcrypt.so.%{version}" \ -%{nil} - -%install -mkdir -p %{buildroot}%{_libdir} -mkdir -p %{buildroot}%{_includedir} -install inc/symcrypt* %{buildroot}%{_includedir} -# Use cp -P to preserve symbolic links -cp -P bin/module/generic/libsymcrypt.so* %{buildroot}%{_libdir} -chmod 755 %{buildroot}%{_libdir}/libsymcrypt.so.%{version} - -%check -./bin/exe/symcryptunittest - -%files -%license LICENSE -%license NOTICE -%{_libdir}/libsymcrypt.so* -%{_includedir}/* - -%changelog -* Fri Jan 31 2025 Tobias Brick - 103.8.0-1 -- Add FIPS approved services indicator -- Add ML-DSA implementation - -* Mon Nov 25 2024 Tobias Brick - 103.6.0-1 -- Upgrde to 103.6.0 - -* Mon Oct 21 2024 Tobias Brick - 103.5.1-1 -- Update 103.5.1 - -* Mon Oct 14 2024 Tobias Brick - 103.4.2-2 -- Add debuginfo package - -* Wed Jun 26 2024 Maxwell Moyer-McKee - 103.4.2-1 -- Update SymCrypt to v103.4.2 for FIPS certification - -* Thu Apr 25 2024 Maxwell Moyer-McKee - 103.4.1-2 -- Disable outline atomics in aarch64 builds - -* Thu Dec 28 2023 Maxwell Moyer-McKee - 103.4.1-1 -- Update SymCrypt to v103.4.1 for SymCrypt-OpenSSL provider. - -* Mon May 22 2023 Samuel Lee - 103.0.1-1 -- Update SymCrypt to v103.0.1 for FIPS certification. Run unit tests in check - -* Fri Oct 07 2022 Andy Caldwell - 102.0.0-2 -- Update `clang` on aarch64 builds to enable `-pie` - -* Mon Jun 06 2022 Samuel Lee - 102.0.0-1 -- Update SymCrypt to v102.0.0 to improve performance of FIPS self-tests - -* Tue Apr 05 2022 Cameron Baird - 101.2.0-2 -- BuildRequires clang in aarch64 builds - -* Tue Mar 29 2022 Samuel Lee - 101.2.0-1 -- Update SymCrypt to v101.2.0 to include FIPS self-tests, certifiable AES-GCM, and fix aarch64 build - -* Mon Feb 14 2022 Samuel Lee - 101.0.0-1 -- Original version for CBL-Mariner -- Verified license diff --git a/SPECS/SymCrypt/find-debuginfo b/SPECS/SymCrypt/find-debuginfo deleted file mode 100755 index 2ecd2f3017..0000000000 --- a/SPECS/SymCrypt/find-debuginfo +++ /dev/null @@ -1,787 +0,0 @@ -#!/bin/bash - -# debugedit 5.0 -# find-debuginfo - automagically generate debug info and file list -# for inclusion in package file lists. - -# Copyright (C) 2002-2021 rpm and debugedit contributors -# -# This program is free software; you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; version 2 of the License, or (at your -# option) any later version. -# -# This program is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU General Public License for more details. -# -# You should have received a copy of the GNU General Public License -# along with this program; if not, see - -help() -{ - cat <<'EOF' -Usage: find-debuginfo [OPTION]... [builddir] -automagically generates debug info and file lists - -Options: -[--strict-build-id] [-g] [-r] [-m] [-i] [-n] -[--keep-section SECTION] [--remove-section SECTION] -[--keep-symbol SYMBOL] -[--g-libs] -[-j N] [--jobs N] -[-o debugfiles.list] -[-S debugsourcefiles.list] -[--run-dwz] [--dwz-low-mem-die-limit N] -[--dwz-max-die-limit N] -[--dwz-single-file-mode] -[--build-id-seed SEED] -[--unique-debug-suffix SUFFIX] -[--unique-debug-src-base BASE] -[[-l filelist]... [-p 'pattern'] -o debuginfo.list] -[builddir] - -The -g flag says to use strip -g instead of full strip on DSOs or EXEs. -The --g-libs flag says to use strip -g instead of full strip ONLY on -DSOs. Options -g and --g-libs are mutually exclusive. - -The -r flag says to use eu-strip --reloc-debug-sections. - -Use --keep-section SECTION or --remove-section SECTION to explicitly -keep a (non-allocated) section in the main executable or explicitly -remove it into the .debug file. SECTION is an extended wildcard -pattern. Both options can be given more than once. - -Use --keep-symbol SYMBOL to keep the symbol in the main executable. -This option can be given more than once. - -The --strict-build-id flag says to exit with failure status if -any ELF binary processed fails to contain a build-id note. - -The -m flag says to include a .gnu_debugdata section in the main binary. - -The -i flag says to include a .gdb_index section in the .debug file. - -The -n flag says to not recompute the build-id. - -The -j, --jobs N option will spawn N processes to do the debuginfo -extraction in parallel. - -A single -o switch before any -l or -p switches simply renames -the primary output file from debugfiles.list to something else. -A -o switch that follows a -p switch or some -l switches produces -an additional output file with the debuginfo for the files in -the -l filelist file, or whose names match the -p pattern. -The -p argument is an grep -E -style regexp matching the a file name, -and must not use anchors (^ or $). - -The --run-dwz flag instructs find-debuginfo to run the dwz utility -if available, and --dwz-low-mem-die-limit and --dwz-max-die-limit -provide detailed limits. See dwz(1) -l and -L option for details. -Use --dwz-single-file-mode to disable multi-file mode, see dwz(1) -m -for more details. - -If --build-id-seed SEED is given then debugedit is called to -update the build-ids it finds adding the SEED as seed to recalculate -the build-id hash. This makes sure the build-ids in the ELF files -are unique between versions and releases of the same package. -(Use --build-id-seed "%{VERSION}-%{RELEASE}".) - -If --unique-debug-suffix SUFFIX is given then the debug files created -for will be named -.debug. This makes sure .debug -are unique between package version, release and architecture. -(Use --unique-debug-suffix "-%{VERSION}-%{RELEASE}.%{_arch}".) - -If --unique-debug-src-base BASE is given then the source directory -will be called /usr/debug/src/. This makes sure the debug source -dirs are unique between package version, release and achitecture (Use ---unique-debug-src-base "%{name}-%{VERSION}-%{RELEASE}.%{_arch}") - -All file names in switches are relative to builddir ('.' if not given). -EOF -} - -# Figure out where we are installed so we can call other helper scripts. -# SymCrypt-Specific: Because we have our own custom find-debuginfo, we need to use the -# location that the system version is installed at. -install_dir="$(cd "$(dirname "$(which find-debuginfo)")" && pwd)" - -# With -g arg, pass it to strip on libraries or executables. -strip_g=false - -# With --g-libs arg, pass it to strip on libraries. -strip_glibs=false - -# with -r arg, pass --reloc-debug-sections to eu-strip. -strip_r=false - -# keep or remove arguments to eu-strip. -keep_remove_args= - -# with -m arg, add minimal debuginfo to binary. -include_minidebug=false - -# with -i arg, add GDB index to .debug file. -include_gdb_index=false - -# Barf on missing build IDs. -strict=false - -# Do not recompute build IDs. -no_recompute_build_id=false - -# DWZ parameters. -run_dwz=false -dwz_low_mem_die_limit= -dwz_max_die_limit= -dwz_single_file_mode=false - -# build id seed given by the --build-id-seed option -build_id_seed= - -# Arch given by --unique-debug-arch -unique_debug_suffix= - -# Base given by --unique-debug-src-base -unique_debug_src_base= - -# Number of parallel jobs to spawn -n_jobs=1 - -# exit early on --version or --help -done=false - -BUILDDIR=. -out=debugfiles.list -srcout= -nout=0 -while [ $# -gt 0 ]; do - case "$1" in - --strict-build-id) - strict=true - ;; - --run-dwz) - run_dwz=true - ;; - --dwz-low-mem-die-limit) - dwz_low_mem_die_limit=$2 - shift - ;; - --dwz-max-die-limit) - dwz_max_die_limit=$2 - shift - ;; - --dwz-single-file-mode) - dwz_single_file_mode=true - shift - ;; - --build-id-seed) - build_id_seed=$2 - shift - ;; - --unique-debug-suffix) - unique_debug_suffix=$2 - shift - ;; - --unique-debug-src-base) - unique_debug_src_base=$2 - shift - ;; - --g-libs) - strip_glibs=true - ;; - -g) - strip_g=true - ;; - -m) - include_minidebug=true - ;; - -n) - no_recompute_build_id=true - ;; - -i) - include_gdb_index=true - ;; - -o) - if [ -z "${lists[$nout]}" ] && [ -z "${ptns[$nout]}" ]; then - out=$2 - else - outs[$nout]=$2 - ((nout++)) - fi - shift - ;; - -l) - lists[$nout]="${lists[$nout]} $2" - shift - ;; - -p) - ptns[$nout]=$2 - shift - ;; - -r) - strip_r=true - ;; - --keep-section) - keep_remove_args="${keep_remove_args} --keep-section $2" - shift - ;; - --remove-section) - keep_remove_args="${keep_remove_args} --remove-section $2" - shift - ;; - --keep-symbol) - keep_remove_args="${keep_remove_args} --keep-symbol $2" - shift - ;; - -j) - n_jobs=$2 - shift - ;; - -j*) - n_jobs=${1#-j} - ;; - --jobs) - n_jobs=$2 - shift - ;; - -S) - srcout=$2 - shift - ;; - --version) - echo "find-debuginfo 5.0" - done=true; - ;; - --help) - help - done=true - ;; - *) - BUILDDIR=$1 - shift - break - ;; - esac - shift -done - -# version or help given -if [ "$done" = "true" ]; then exit 0; fi - -# Currently this scripts depends on some RPM environment variables -# being set. RPM_BUILD_ROOT as the installation root directory. -# RPM_BUILD_DIR as the top build dir (usually one above BUILDDIR). -# And RPM_PACKAGE_NAME, RPM_PACKAGE_VERSION, RPM_PACKAGE_RELEASE, -# RPM_ARCH to create an unique (dir) name. Warn if they aren't set. -for n in RPM_BUILD_ROOT RPM_BUILD_DIR RPM_PACKAGE_NAME; do - if eval test -z \"\${$n-}\"; then - echo >&2 "$n is not set" - exit 1 - fi -done - -if test -n "$build_id_seed" -a "$no_recompute_build_id" = "true"; then - echo >&2 "*** ERROR: --build-id-seed (unique build-ids) and -n (do not recompute build-id) cannot be used together" - exit 2 -fi - -if [ "$strip_g" = "true" ] && [ "$strip_glibs" = "true" ]; then - echo >&2 "*** ERROR: -g and --g-libs cannot be used together" - exit 2 -fi - -i=0 -while ((i < nout)); do - outs[$i]="$BUILDDIR/${outs[$i]}" - l='' - for f in ${lists[$i]}; do - l="$l $BUILDDIR/$f" - done - lists[$i]=$l - ((++i)) -done - -LISTFILE="$BUILDDIR/$out" -SOURCEFILE="$BUILDDIR/debugsources.list" -LINKSFILE="$BUILDDIR/debuglinks.list" -ELFBINSFILE="$BUILDDIR/elfbins.list" - -> "$SOURCEFILE" -> "$LISTFILE" -> "$LINKSFILE" -> "$ELFBINSFILE" - -debugdir="${RPM_BUILD_ROOT}/usr/lib/debug" - -strip_to_debug() -{ - local g= - local r= - $strip_r && r=--reloc-debug-sections - $strip_g && case "$(file -bi "$2")" in - application/x-sharedlib*) g=-g ;; - application/x-executable*) g=-g ;; - application/x-pie-executable*) g=-g ;; - esac - $strip_glibs && case "$(file -bi "$2")" in - application/x-sharedlib*) g=-g ;; - esac - - # SymCrypt-Specific: We need to keep certain symbols in the stripped binary, which eu-strip does not support. - # So instead we use strip, but that has different semantics. - # - # Original eu-strip command: - # eu-strip --remove-comment $r $g ${keep_remove_args} -f "$1" "$2" || exit - # - # Always remove the comment section - keep_remove_args="${keep_remove_args} --remove-section .comment" - - # We don't set $r and $g in my testing. If we ever do set those, then this script - # will need to be modified to either find the equivalent in strip, or intentionally - # decide to not support these flags. - if [ -n "$r" ] || [ -n "$g" ]; then - echo >&2 "*** ERROR: strip_to_debug: r ('${r}') or g ('${g}') is set, but this script does not support it" - exit 2 - fi - - # strip has the -o flag instead of the -f flag, but the semantics are reversed - # For eu-strip, -f will extract the removed sections into the file given, leaving the original file alone. - # For strip, -o will write the stripped file to the given location, leaving original file alone. - # So we need to swap the arguments to strip. - mv "${2}" "${1}" - - # The original cmake file for SymCrypt uses --strip-unneeded - strip --strip-unneeded ${keep_remove_args} -o "$2" "$1" || exit - chmod 444 "$1" || exit -} - -add_minidebug() -{ - local debuginfo="$1" - local binary="$2" - - local dynsyms=`mktemp` - local funcsyms=`mktemp` - local keep_symbols=`mktemp` - local mini_debuginfo=`mktemp` - - # In the minisymtab we don't need the .debug_ sections (already removed - # by -S) but also not other non-allocated PROGBITS, NOTE or NOBITS sections. - # List and remove them explicitly. We do want to keep the allocated, - # symbol and NOBITS sections so cannot use --keep-only because that is - # too aggressive. Field $2 is the section name, $3 is the section type - # and $8 are the section flags. - local remove_sections=`readelf -W -S "$debuginfo" \ - | awk '{ if (index($2,".debug_") != 1 \ - && ($3 == "PROGBITS" || $3 == "NOTE" || $3 == "NOBITS") \ - && index($8,"A") == 0) \ - printf "--remove-section "$2" " }'` - - # Extract the dynamic symbols from the main binary, there is no need to also have these - # in the normal symbol table - nm -D "$binary" --format=posix --defined-only | awk '{ print $1 }' | sort > "$dynsyms" - # Extract all the text (i.e. function) symbols from the debuginfo - # Use format sysv to make sure we can match against the actual ELF FUNC - # symbol type. The binutils nm posix format symbol type chars are - # ambigous for architectures that might use function descriptors. - nm "$debuginfo" --format=sysv --defined-only | awk -F \| '{ if ($4 ~ "FUNC") print $1 }' | sort > "$funcsyms" - # Keep all the function symbols not already in the dynamic symbol table - comm -13 "$dynsyms" "$funcsyms" > "$keep_symbols" - # Copy the full debuginfo, keeping only a minumal set of symbols and removing some unnecessary sections - objcopy -S $remove_sections --keep-symbols="$keep_symbols" "$debuginfo" "$mini_debuginfo" &> /dev/null - #Inject the compressed data into the .gnu_debugdata section of the original binary - xz "$mini_debuginfo" - mini_debuginfo="${mini_debuginfo}.xz" - objcopy --add-section .gnu_debugdata="$mini_debuginfo" "$binary" - rm -f "$dynsyms" "$funcsyms" "$keep_symbols" "$mini_debuginfo" -} - -# Make a relative symlink to $1 called $3$2 -shopt -s extglob -link_relative() -{ - local t="$1" f="$2" pfx="$3" - local fn="${f#/}" tn="${t#/}" - local fd td d - - while fd="${fn%%/*}"; td="${tn%%/*}"; [ "$fd" = "$td" ]; do - fn="${fn#*/}" - tn="${tn#*/}" - done - - d="${fn%/*}" - if [ "$d" != "$fn" ]; then - d="${d//+([!\/])/..}" - tn="${d}/${tn}" - fi - - mkdir -p "$(dirname "$pfx$f")" && ln -snf "$tn" "$pfx$f" -} - -# Make a symlink in /usr/lib/debug/$2 to $1 -debug_link() -{ - local l="/usr/lib/debug$2" - local t="$1" - echo >> "$LINKSFILE" "$l $t" - link_relative "$t" "$l" "$RPM_BUILD_ROOT" -} - -get_debugfn() -{ - dn=$(dirname "${1#$RPM_BUILD_ROOT}") - bn=$(basename "$1" .debug)${unique_debug_suffix}.debug - debugdn=${debugdir}${dn} - debugfn=${debugdn}/${bn} -} - -set -o pipefail - -strict_error=ERROR -$strict || strict_error=WARNING - -temp=$(mktemp -d ${TMPDIR:-/tmp}/find-debuginfo.XXXXXX) -trap 'rm -rf "$temp"' EXIT - -# Build a list of unstripped ELF files and their hardlinks -touch "$temp/primary" -find "$RPM_BUILD_ROOT" ! -path "${debugdir}/*.debug" -type f \ - \( -perm -0100 -or -perm -0010 -or -perm -0001 \) \ - -print | LC_ALL=C sort | -file -N -f - | sed -n -e 's/^\(.*\):[ ]*.*ELF.*, not stripped.*/\1/p' | -xargs --no-run-if-empty stat -c '%h %D_%i %n' | -while read nlinks inum f; do - if [ $nlinks -gt 1 ]; then - var=seen_$inum - if test -n "${!var}"; then - echo "$inum $f" >>"$temp/linked" - continue - else - read "$var" < <(echo 1) - fi - fi - echo "$nlinks $inum $f" >>"$temp/primary" -done - -# Strip ELF binaries -do_file() -{ - local nlinks=$1 inum=$2 f=$3 id link linked - - get_debugfn "$f" - [ -f "${debugfn}" ] && return - - echo "extracting debug info from $f" - # See also cpio SOURCEFILE copy. Directories must match up. - debug_base_name="$RPM_BUILD_DIR" - debug_dest_name="/usr/src/debug" - if [ ! -z "$unique_debug_src_base" ]; then - debug_base_name="$BUILDDIR" - debug_dest_name="/usr/src/debug/${unique_debug_src_base}" - fi - no_recompute= - if [ "$no_recompute_build_id" = "true" ]; then - no_recompute="-n" - fi - id=$(${install_dir}/debugedit -b "$debug_base_name" -d "$debug_dest_name" \ - $no_recompute -i \ - ${build_id_seed:+--build-id-seed="$build_id_seed"} \ - -l "$SOURCEFILE" "$f") || exit - if [ -z "$id" ]; then - echo >&2 "*** ${strict_error}: No build ID note found in $f" - $strict && exit 2 - fi - - # Add .gdb_index if requested. - if $include_gdb_index; then - if type gdb-add-index >/dev/null 2>&1; then - gdb-add-index "$f" - else - echo >&2 "*** ERROR: GDB index requested, but no gdb-add-index installed" - exit 2 - fi - fi - - # Compress any annobin notes in the original binary. - # Ignore any errors, since older objcopy don't support --merge-notes. - objcopy --merge-notes "$f" 2>/dev/null || true - - # A binary already copied into /usr/lib/debug doesn't get stripped, - # just has its file names collected and adjusted. - case "$dn" in - /usr/lib/debug/*) - return ;; - esac - - mkdir -p "${debugdn}" - if test -w "$f"; then - strip_to_debug "${debugfn}" "$f" - else - chmod u+w "$f" - strip_to_debug "${debugfn}" "$f" - chmod u-w "$f" - fi - - # strip -g implies we have full symtab, don't add mini symtab in that case. - # It only makes sense to add a minisymtab for executables and shared - # libraries. Other executable ELF files (like kernel modules) don't need it. - if [ "$include_minidebug" = "true" ] && [ "$strip_g" = "false" ]; then - skip_mini=true - if [ "$strip_glibs" = "false" ]; then - case "$(file -bi "$f")" in - application/x-sharedlib*) skip_mini=false ;; - esac - fi - case "$(file -bi "$f")" in - application/x-executable*) skip_mini=false ;; - application/x-pie-executable*) skip_mini=false ;; - esac - $skip_mini || add_minidebug "${debugfn}" "$f" - fi - - echo "./${f#$RPM_BUILD_ROOT}" >> "$ELFBINSFILE" - - # If this file has multiple links, make the corresponding .debug files - # all links to one file too. - if [ $nlinks -gt 1 ]; then - grep "^$inum " "$temp/linked" | while read inum linked; do - link=$debugfn - get_debugfn "$linked" - echo "hard linked $link to $debugfn" - mkdir -p "$(dirname "$debugfn")" && ln -nf "$link" "$debugfn" - done - fi -} - -# 16^6 - 1 or about 16 million files -FILENUM_DIGITS=6 -run_job() -{ - local jobid=$1 filenum - local SOURCEFILE=$temp/debugsources.$jobid ELFBINSFILE=$temp/elfbins.$jobid - - >"$SOURCEFILE" - >"$ELFBINSFILE" - # can't use read -n , because it reads bytes one by one, allowing for - # races - while :; do - filenum=$(dd bs=$(( FILENUM_DIGITS + 1 )) count=1 status=none) - if test -z "$filenum"; then - break - fi - do_file $(sed -n "$(( 0x$filenum )) p" "$temp/primary") - done - echo 0 >"$temp/res.$jobid" -} - -n_files=$(wc -l <"$temp/primary") -if [ $n_jobs -gt $n_files ]; then - n_jobs=$n_files -fi -if [ $n_jobs -le 1 ]; then - while read nlinks inum f; do - do_file "$nlinks" "$inum" "$f" - done <"$temp/primary" -else - for ((i = 1; i <= n_files; i++)); do - printf "%0${FILENUM_DIGITS}x\\n" $i - done | ( - exec 3<&0 - for ((i = 0; i < n_jobs; i++)); do - # The shell redirects stdin to /dev/null for background jobs. Work - # around this by duplicating fd 0 - run_job $i <&3 & - done - wait - ) - for f in "$temp"/res.*; do - test -f "$f" || continue - res=$(< "$f") - if [ "$res" != "0" ]; then - exit 1 - fi - done - cat "$temp"/debugsources.* >"$SOURCEFILE" - cat "$temp"/elfbins.* >"$ELFBINSFILE" -fi - -# Invoke the DWARF Compressor utility. -if $run_dwz \ - && [ -d "${RPM_BUILD_ROOT}/usr/lib/debug" ]; then - readarray dwz_files < <(cd "${RPM_BUILD_ROOT}/usr/lib/debug"; find -type f -name \*.debug | LC_ALL=C sort) - if [ ${#dwz_files[@]} -gt 0 ]; then - size_before=$(du -sk ${RPM_BUILD_ROOT}/usr/lib/debug | cut -f1) - dwz_multifile_name="${RPM_PACKAGE_NAME}-${RPM_PACKAGE_VERSION}-${RPM_PACKAGE_RELEASE}.${RPM_ARCH}" - dwz_multifile_suffix= - dwz_multifile_idx=0 - while [ -f "${RPM_BUILD_ROOT}/usr/lib/debug/.dwz/${dwz_multifile_name}${dwz_multifile_suffix}" ]; do - let ++dwz_multifile_idx - dwz_multifile_suffix=".${dwz_multifile_idx}" - done - dwz_multifile_name="${dwz_multifile_name}${dwz_multifile_suffix}" - dwz_opts="-h -q -r" - [ ${#dwz_files[@]} -gt 1 ] && [ "$dwz_single_file_mode" = "false" ] \ - && dwz_opts="${dwz_opts} -m .dwz/${dwz_multifile_name}" - mkdir -p "${RPM_BUILD_ROOT}/usr/lib/debug/.dwz" - [ -n "${dwz_low_mem_die_limit}" ] \ - && dwz_opts="${dwz_opts} -l ${dwz_low_mem_die_limit}" - [ -n "${dwz_max_die_limit}" ] \ - && dwz_opts="${dwz_opts} -L ${dwz_max_die_limit}" - if type dwz >/dev/null 2>&1; then - ( cd "${RPM_BUILD_ROOT}/usr/lib/debug" && dwz $dwz_opts ${dwz_files[@]} ) - else - echo >&2 "*** ERROR: DWARF compression requested, but no dwz installed" - exit 2 - fi - size_after=$(du -sk ${RPM_BUILD_ROOT}/usr/lib/debug | cut -f1) - echo "original debug info size: ${size_before}kB, size after compression: ${size_after}kB" - # Remove .dwz directory if empty - rmdir "${RPM_BUILD_ROOT}/usr/lib/debug/.dwz" 2>/dev/null - - # dwz invalidates .gnu_debuglink CRC32 in the main files. - cat "$ELFBINSFILE" | - (cd "$RPM_BUILD_ROOT"; \ - tr '\n' '\0' | xargs -0 ${install_dir}/sepdebugcrcfix usr/lib/debug) - fi -fi - -# For each symlink whose target has a .debug file, -# make a .debug symlink to that file. -find "$RPM_BUILD_ROOT" ! -path "${debugdir}/*" -type l -print | -while read f -do - t=$(readlink -m "$f").debug - f=${f#$RPM_BUILD_ROOT} - t=${t#$RPM_BUILD_ROOT} - if [ -f "$debugdir$t" ]; then - echo "symlinked /usr/lib/debug$t to /usr/lib/debug${f}.debug" - debug_link "/usr/lib/debug$t" "${f}.debug" - fi -done - -if [ -s "$SOURCEFILE" ]; then - # See also debugedit invocation. Directories must match up. - debug_base_name="$RPM_BUILD_DIR" - debug_dest_name="/usr/src/debug" - if [ ! -z "$unique_debug_src_base" ]; then - debug_base_name="$BUILDDIR" - debug_dest_name="/usr/src/debug/${unique_debug_src_base}" - fi - - mkdir -p "${RPM_BUILD_ROOT}${debug_dest_name}" - # Filter out anything compiler generated which isn't a source file. - # e.g. , , <__thread_local_inner macros>. - # Some compilers generate them as if they are part of the working - # directory (which is why we match against ^ or /). - LC_ALL=C sort -z -u "$SOURCEFILE" | grep -E -v -z '(^|/)<[a-z _-]+>$' | - (cd "${debug_base_name}"; cpio -pd0mL "${RPM_BUILD_ROOT}${debug_dest_name}") - # stupid cpio creates new directories in mode 0700, - # and non-standard modes may be inherented from original directories, fixup - find "${RPM_BUILD_ROOT}${debug_dest_name}" -type d -print0 | - xargs --no-run-if-empty -0 chmod 0755 -fi - -if [ -d "${RPM_BUILD_ROOT}/usr/lib" ] || [ -d "${RPM_BUILD_ROOT}/usr/src" ]; then - ((nout > 0)) || - test ! -d "${RPM_BUILD_ROOT}/usr/lib" || - (cd "${RPM_BUILD_ROOT}/usr/lib"; find debug -type d) | - sed 's,^,%dir /usr/lib/,' >> "$LISTFILE" - - (cd "${RPM_BUILD_ROOT}/usr" - test ! -d lib/debug || find lib/debug ! -type d - test ! -d src/debug -o -n "$srcout" || find src/debug -mindepth 1 -maxdepth 1 - ) | sed 's,^,/usr/,' >> "$LISTFILE" -fi - -if [ -n "$srcout" ]; then - srcout="$BUILDDIR/$srcout" - > "$srcout" - if [ -d "${RPM_BUILD_ROOT}/usr/src/debug" ]; then - (cd "${RPM_BUILD_ROOT}/usr" - find src/debug -mindepth 1 -maxdepth 1 - ) | sed 's,^,/usr/,' >> "$srcout" - fi -fi - -# Append to $1 only the lines from stdin not already in the file. -append_uniq() -{ - grep -F -f "$1" -x -v >> "$1" -} - -# Helper to generate list of corresponding .debug files from a file list. -filelist_debugfiles() -{ - local extra="$1" - shift - sed 's/^%[a-z0-9_][a-z0-9_]*([^)]*) *// -s/^%[a-z0-9_][a-z0-9_]* *// -/^$/d -'"$extra" "$@" -} - -# Write an output debuginfo file list based on given input file lists. -filtered_list() -{ - local out="$1" - shift - test $# -gt 0 || return - grep -F -f <(filelist_debugfiles 's,^.*$,/usr/lib/debug&.debug,' "$@") \ - -x $LISTFILE >> $out - sed -n -f <(filelist_debugfiles 's/[\\.*+#]/\\&/g -h -s,^.*$,s# &$##p,p -g -s,^.*$,s# /usr/lib/debug&.debug$##p,p -' "$@") "$LINKSFILE" | append_uniq "$out" -} - -# Write an output debuginfo file list based on an grep -E -style regexp. -pattern_list() -{ - local out="$1" ptn="$2" - test -n "$ptn" || return - grep -E -x -e "$ptn" "$LISTFILE" >> "$out" - sed -n -r "\#^$ptn #s/ .*\$//p" "$LINKSFILE" | append_uniq "$out" -} - -# -# When given multiple -o switches, split up the output as directed. -# -i=0 -while ((i < nout)); do - > ${outs[$i]} - filtered_list ${outs[$i]} ${lists[$i]} - pattern_list ${outs[$i]} "${ptns[$i]}" - grep -Fvx -f ${outs[$i]} "$LISTFILE" > "${LISTFILE}.new" - mv "${LISTFILE}.new" "$LISTFILE" - ((++i)) -done -if ((nout > 0)); then - # Generate %dir lines for each output list. - generate_percent_dir() - { - while read -r line; do - while test "${line:0:15}" = "/usr/lib/debug/"; do - line="${line%/*}" - printf '%s\n' "$line" - done - done | \ - sort -u | \ - while read -r line; do - test -d "${RPM_BUILD_ROOT}$line" && printf '%%dir %s\n' "$line" - done - } - i=0 - while ((i < nout)); do - generate_percent_dir < "${outs[$i]}" > "${outs[$i]}.new" - cat "${outs[$i]}" >> "${outs[$i]}.new" - mv -f "${outs[$i]}.new" "${outs[$i]}" - ((++i)) - done - generate_percent_dir < "${LISTFILE}" > "${LISTFILE}.new" - cat "$LISTFILE" >> "${LISTFILE}.new" - mv "${LISTFILE}.new" "$LISTFILE" -fi diff --git a/SPECS/SymCrypt/generate-env-file.sh b/SPECS/SymCrypt/generate-env-file.sh deleted file mode 100755 index cc5b327ec7..0000000000 --- a/SPECS/SymCrypt/generate-env-file.sh +++ /dev/null @@ -1,86 +0,0 @@ -#!/bin/bash - -# Fail out if anything fails. -set -e - -SYMCRYPT_REPO='https://github.com/microsoft/SymCrypt.git' -SYMCRYPT_DIR='./SymCrypt' - -CURRENT_DIR=$(pwd) -RELEASE_TAG= - -function show_help() { - echo "Usage: $0 [--release-tag ]" - echo - echo "Options:" - echo " --release-tag The release tag to use for the build, e.g.: v103.5.1" - echo " --debug Enable debug output, which is just 'set -x'" - echo " --help Display this help message" - echo - echo "Generates a sourceable script file that sets git-related environment variables for the SymCrypt build." - echo "The script file will be named 'symcrypt-build-environment-variables-.sh" -} - -while [[ "$#" -gt 0 ]]; do - case $1 in - -h|--help) - show_help - exit 0 - ;; - -t|--tag|--release-tag) - RELEASE_TAG="$2" - shift - ;; - -d|--debug) - set -x - ;; - *) - echo "Unknown parameter passed: $1" - exit 1 - ;; - esac - shift -done - -if [ -z "${RELEASE_TAG}" ]; then - echo "release tag is required" >> /dev/stderr - show_help - exit 1 -fi - -echo "generating env file for release tag: '${RELEASE_TAG}'" - -# Create a temporary directory to clone the git repo -TEMP_DIR=$(mktemp -d) -if [[ ! "$TEMP_DIR" || ! -d "$TEMP_DIR" ]]; then - echo "Could not create temp dir to clone git repo" >> /dev/stderr - exit 1 -fi - -# Clone into the temp directory -pushd "${TEMP_DIR}" > /dev/null -echo "Cloning SymCrypt repo '${SYMCRYPT_REPO}' into temp directory '${TEMP_DIR}" -git clone "${SYMCRYPT_REPO}" - -# The version script uses the current git branch, which want to main but at the commit for the release tag. -echo "Getting to the commit for release tag '${RELEASE_TAG}'" -cd "${SYMCRYPT_DIR}" -TAG_COMMIT=$(git rev-parse --verify "${RELEASE_TAG}") -if [[ ! "$TAG_COMMIT" ]]; then - echo "Could not find commit for release tag '${RELEASE_TAG}'" - exit 1 -fi -echo "Tag commit is '${TAG_COMMIT}'" -git reset --hard "${TAG_COMMIT}" - -# Call the version script to get the properly formmatted git info -ENV_SCRIPT_FILE_NAME="symcrypt-build-environment-variables-${RELEASE_TAG}.sh" -echo "#!/bin/bash" > "${CURRENT_DIR}/${ENV_SCRIPT_FILE_NAME}" -echo "# Generated by 'generate-env-file.sh'" >> "${CURRENT_DIR}/${ENV_SCRIPT_FILE_NAME}" -echo "Running version script" -python3 scripts/version.py --no-print-version-number --commit-info >> "${CURRENT_DIR}/${ENV_SCRIPT_FILE_NAME}" -echo "Generated '${ENV_SCRIPT_FILE_NAME}'" - -# Clean up the temp directory -popd > /dev/null -rm -rf "${TEMP_DIR}" diff --git a/SPECS/SymCrypt/symcrypt-build-environment-variables-v103.8.0.sh b/SPECS/SymCrypt/symcrypt-build-environment-variables-v103.8.0.sh deleted file mode 100644 index 01bcdca6d6..0000000000 --- a/SPECS/SymCrypt/symcrypt-build-environment-variables-v103.8.0.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/bash -# Generated by 'generate-env-file.sh' -export SYMCRYPT_BRANCH=main -export SYMCRYPT_COMMIT_HASH=53be637 -export SYMCRYPT_COMMIT_TIMESTAMP=2025-01-28T00:44:15+00:00 diff --git a/SPECS/abseil-cpp/abseil-cpp.signatures.json b/SPECS/abseil-cpp/abseil-cpp.signatures.json deleted file mode 100644 index 982e26b85c..0000000000 --- a/SPECS/abseil-cpp/abseil-cpp.signatures.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "Signatures": { - "abseil-cpp-20240116.0.tar.gz": "338420448b140f0dfd1a1ea3c3ce71b3bc172071f24f4d9a57d59b45037da440" - } -} diff --git a/SPECS/abseil-cpp/abseil-cpp.spec b/SPECS/abseil-cpp/abseil-cpp.spec deleted file mode 100644 index 561dbcc3a8..0000000000 --- a/SPECS/abseil-cpp/abseil-cpp.spec +++ /dev/null @@ -1,145 +0,0 @@ -# Installed library version -%global lib_version 2401.0.0 -%define lib_ver_min %(echo %{lib_version} | cut -d. -f1-2) - -Summary: C++ Common Libraries -Name: abseil-cpp -Version: 20240116.0 -Release: 2%{?dist} -License: ASL 2.0 -Vendor: Microsoft Corporation -Distribution: Azure Linux -URL: https://abseil.io -Source0: https://github.com/abseil/abseil-cpp/archive/refs/tags/%{version}.tar.gz#/%{name}-%{version}.tar.gz - -BuildRequires: cmake >= 3.20.0 -BuildRequires: gcc -BuildRequires: make -BuildRequires: gmock-devel -BuildRequires: gtest -BuildRequires: gtest-devel -BuildRequires: python3 -BuildRequires: tzdata - -%if 0%{?with_check} -BuildRequires: ninja-build -BuildRequires: gcc-c++ -BuildRequires: gmock -%endif - -Requires: tzdata - -%description -Abseil is an open-source collection of C++ library code designed to augment -the C++ standard library. The Abseil library code is collected from -Google's own C++ code base, has been extensively tested and used in -production, and is the same code we depend on in our daily coding lives. - -In some cases, Abseil provides pieces missing from the C++ standard; in -others, Abseil provides alternatives to the standard for special needs we've -found through usage in the Google code base. We denote those cases clearly -within the library code we provide you. - -Abseil is not meant to be a competitor to the standard library; we've just -found that many of these utilities serve a purpose within our code base, -and we now want to provide those resources to the C++ community as a whole. - -%package testing -Summary: Libraries needed for running tests on the installed %{name} -Requires: %{name}%{?_isa} = %{version}-%{release} - -%description testing -%{summary}. - -%package devel -Summary: Development files for %{name} -Requires: %{name}%{?_isa} = %{version}-%{release} -Requires: %{name}%{?_isa} = %{version}-%{release} - -%description devel -Development headers for %{name} - -%prep -%autosetup -p1 -S gendiff - -%build -%cmake \ -%if 0%{?with_check} - -GNinja \ -%endif - -DABSL_USE_EXTERNAL_GOOGLETEST:BOOL=ON \ - -DABSL_FIND_GOOGLETEST:BOOL=ON \ - -DABSL_ENABLE_INSTALL:BOOL=ON \ - -DABSL_BUILD_TESTING:BOOL=ON \ - -DABSL_BUILD_TEST_HELPERS:BOOL=ON \ - -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \ - -DCMAKE_CXX_STANDARD:STRING=17 -%cmake_build - -%install -%cmake_install - -%check -%ctest --output-on-failure --exclude-regex waiter_test - -%files -%license LICENSE -%doc FAQ.md README.md UPGRADES.md -%{_libdir}/libabsl_*.so.%{lib_ver_min}.* - -%files devel -%{_includedir}/absl -%{_libdir}/cmake/absl -%{_libdir}/libabsl_*.so -%{_libdir}/pkgconfig/*.pc - -%changelog -* Thu Jul 25 2024 Devin Anderson - 20240116.0-2 -- Change the build type back to 'RelWithDebInfo' so that 'abseil' compiles with - 'NDEBUG' defined so that packages that link to 'abseil' with 'NDEBUG' defined - (e.g. 'grpc', 're2', 'protobuf') don't crash with deadlock messages related - to 'absl::Mutex' due to ABI breakage. -- Take dependency on 'tzdata' so that functionality in absl/time works. See - https://github.com/abseil/abseil-cpp/issues/329 for details. -- Disable flaky waiter tests, which sleep on the monotonic timer and then, - inexplicably, test how much time has passed against the system timer. -- Add explicit dependency on 'python3', which is used at build time. - -* Tue Mar 19 2024 Betty Lakes - 20240116.0-1 -- Upgrade version to 20240116.0 - -* Sun Dec 17 2023 Muhammad Falak - 20230802.1-1 -- Bump version to 20230802.1 - -* Thu Jun 30 2022 Pawel Winogrodzki - 20220623.0-1 -- Updating to 20220623.0 to remove workaround patches for GTest. - -* Mon Nov 15 2021 Pawel Winogrodzki - 20211102.0-1 -- Initial CBL-Mariner import from Fedora 34 (license: MIT). -- License verified. -- Updating to version 20211102.0. -- Removing redundant type fix patch. -- Adding patches removing use of unpublished GTest macros and matchers from the test code. - -* Mon Mar 08 2021 Rich Mattes - 20200923.3-1 -- Update to release 20200923.3 - -* Mon Jan 25 2021 Fedora Release Engineering - 20200923.2-2 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild - -* Sat Dec 19 2020 Rich Mattes - 20200923.2-1 -- Update to release 20200923.2 -- Rebuild to fix tagging in koji (rhbz#1885561) - -* Fri Jul 31 2020 Fedora Release Engineering - 20200225.2-4 -- Second attempt - Rebuilt for - https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Mon Jul 27 2020 Fedora Release Engineering - 20200225.2-3 -- Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild - -* Wed May 27 2020 Rich Mattes - 20200225.2-2 -- Don't remove buildroot in install - -* Sun May 24 2020 Rich Mattes - 20200225.2-1 -- Initial package. diff --git a/SPECS/acl/acl.signatures.json b/SPECS/acl/acl.signatures.json deleted file mode 100644 index 0718bbddee..0000000000 --- a/SPECS/acl/acl.signatures.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "Signatures": { - "acl-2.3.1.tar.gz": "760c61c68901b37fdd5eefeeaf4c0c7a26bdfdd8ac747a1edff1ce0e243c11af" - } -} diff --git a/SPECS/acl/acl.spec b/SPECS/acl/acl.spec deleted file mode 100644 index 6147e7e1ea..0000000000 --- a/SPECS/acl/acl.spec +++ /dev/null @@ -1,127 +0,0 @@ -Summary: Access control list utilities -Name: acl -Version: 2.3.1 -Release: 2%{?dist} -License: GPLv2+ -Vendor: Microsoft Corporation -Distribution: Azure Linux -Group: System Environment/Base -URL: https://savannah.nongnu.org/projects/acl/ -Source0: https://download.savannah.nongnu.org/releases/%{name}/%{name}-%{version}.tar.gz - -BuildRequires: attr-devel - -Requires: libacl = %{version}-%{release} - -%description -This package contains the getfacl and setfacl utilities needed for -manipulating access control lists. - -%package -n libacl -Summary: Dynamic library for access control list support -License: LGPLv2+ -Group: System Environment/Libraries -Requires: attr - -%description -n libacl -This package contains the libacl.so dynamic library which contains -the POSIX 1003.1e draft standard 17 functions for manipulating access -control lists. - -%package -n libacl-devel -Summary: Files needed for building programs with libacl -License: LGPLv2+ -Group: Development/Libraries -Requires: libacl = %{version}-%{release} - -%description -n libacl-devel -This package contains header files and documentation needed to develop -programs which make use of the access control list programming interface -defined in POSIX 1003.1e draft standard 17. - -%prep -%autosetup - -%build -%configure - -%make_build LIBTOOL="libtool --tag=CC" - -%install -%make_install - -find %{buildroot} -type f -name "*.la" -delete -print - -chmod 0755 %{buildroot}%{_libdir}/libacl.so.*.*.* - -%find_lang %{name} - -%check -# Skip following four tests which fail due to lack of ACL support in tools like cp from coreutils -# As noted in coreutils build log: "configure: WARNING: GNU coreutils will be built without ACL support." -sed -e 's|test/cp.test||' -i test/Makemodule.am Makefile.in Makefile -sed -e 's|test/root/permissions.test||' -i test/Makemodule.am Makefile.in Makefile -sed -e 's|test/root/setfacl.test||' -i test/Makemodule.am Makefile.in Makefile -sed -e 's|test/misc.test||' -i test/Makemodule.am Makefile.in Makefile -%make_build check - -%ldconfig_scriptlets -n libacl - -%files -f %{name}.lang -%license doc/COPYING* -%{_bindir}/chacl -%{_bindir}/getfacl -%{_bindir}/setfacl -%{_mandir}/man1/chacl.1* -%{_mandir}/man1/getfacl.1* -%{_mandir}/man1/setfacl.1* -%{_mandir}/man5/acl.5* - -%files -n libacl-devel -%{_libdir}/libacl.so -%{_includedir}/acl -%{_includedir}/sys/acl.h -%{_mandir}/man3/acl_* -%{_libdir}/libacl.a -%{_docdir}/acl/* -%{_libdir}/pkgconfig/libacl.pc - -%files -n libacl -%{_libdir}/libacl.so.* - -%changelog -* Wed Sep 20 2023 Jon Slobodzian - 2.3.1-2 -- Recompile with stack-protection fixed gcc version (CVE-2023-4039) - -* Wed Nov 24 2021 Pawel Winogrodzki - 2.3.1-1 -- Updating to version 2.3.1. - -* Tue Jan 26 2021 Andrew Phelps - 2.2.53-5 -- Fix check tests. - -* Tue Apr 14 2020 Henry Beberman - 2.2.53-4 -- Update files to include license - -* Fri Mar 03 2020 Jon Slobodzian - 2.2.53-3 -- Replaced dead link. Fixed Source URL. Verified license. - -* Tue Sep 03 2019 Mateusz Malisz - 2.2.53-2 -- Initial CBL-Mariner import from Photon (license: Apache2). - -* Mon Sep 17 2018 Ankit Jain - 2.2.53-1 -- Updated to version 2.2.53 - -* Fri Jul 28 2017 Chang Lee - 2.2.52-5 -- Fixed %check for filtering unsupported check env - -* Thu Nov 24 2016 Alexey Makhalov - 2.2.52-4 -- BuildRequired attr-devel. - -* Wed Oct 05 2016 ChangLee - 2.2.52-3 -- Modified %check - -* Tue May 24 2016 Priyesh Padmavilasom - 2.2.52-2 -- GA - Bump release of all rpms - -* Thu Feb 26 2015 Divya Thaluru - 2.2.52-1 -- Initial version diff --git a/SPECS/acpica-tools/COPYING b/SPECS/acpica-tools/COPYING deleted file mode 100644 index d159169d10..0000000000 --- a/SPECS/acpica-tools/COPYING +++ /dev/null @@ -1,339 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Lesser General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. diff --git a/SPECS/acpica-tools/OPT_LDFLAGS.patch b/SPECS/acpica-tools/OPT_LDFLAGS.patch deleted file mode 100644 index a1ca2763fb..0000000000 --- a/SPECS/acpica-tools/OPT_LDFLAGS.patch +++ /dev/null @@ -1,26 +0,0 @@ -Index: acpica-unix2-20170728/generate/unix/Makefile.config -=================================================================== ---- acpica-unix2-20170728.orig/generate/unix/Makefile.config -+++ acpica-unix2-20170728/generate/unix/Makefile.config -@@ -23,6 +23,9 @@ - # OPT_CFLAGS can be overridden on the make command line by - # adding OPT_CFLAGS="..." to the invocation. - # -+# OPT_LDFLAGS can be overridden on the make command line by -+# adding OPT_LDFLAGS="..." to the invocation. -+# - # Notes: - # gcc should be version 4 or greater, otherwise some of the options - # used will not be recognized. -@@ -157,6 +160,11 @@ LDFLAGS +=-m32 - endif - - # -+# Common linker flags -+# -+OPT_LDFLAGS ?= -+ -+# - # Optionally disable optimizations. Optimization causes problems on - # some compilers such as gcc 4.4 - # diff --git a/SPECS/acpica-tools/README.Fedora b/SPECS/acpica-tools/README.Fedora deleted file mode 100644 index c1c7f259ed..0000000000 --- a/SPECS/acpica-tools/README.Fedora +++ /dev/null @@ -1,26 +0,0 @@ -Packaging Notes for Fedora -========================== -The upstream source contains documentation that may or may not be licensed -in a freely redistributable manner. In an excess of caution, the manuals in -question have been removed from the source we start with. You can still get -your own copies of the documentation from here: - - https://www.acpica.org/documentation/ - -The two manuals affected are: - - (1) ACPICA Reference Manual, describing the ACPI Component Architecture - in some detail, and - - (2) ASL Compiler Reference Manual, describing how to use iasl - -While there are man pages for the commands, they are very brief. The -documents above are recommended reading. - - -Test Cases -========== -The aapits tests do not currently build properly. They will be added to -this package once they do. In the meantime, ASL, template and misc tests -will be run as part of %check. - diff --git a/SPECS/acpica-tools/acpibin.1 b/SPECS/acpica-tools/acpibin.1 deleted file mode 100644 index b8448a502b..0000000000 --- a/SPECS/acpica-tools/acpibin.1 +++ /dev/null @@ -1,64 +0,0 @@ -.\" First parameter, NAME, should be all caps -.\" Second parameter, SECTION, should be 1-8, maybe w/ subsection -.\" other parameters are allowed: see man(7), man(1) -.TH ACPIBIN 1 "January 23, 2013" -.\" Please adjust this date whenever revising the manpage. -.\" -.\" Some roff macros, for reference: -.\" .nh disable hyphenation -.\" .hy enable hyphenation -.\" .ad l left justify -.\" .ad b justify to both left and right margins -.\" .nf disable filling -.\" .fi enable filling -.\" .br insert line break -.\" .sp insert n+1 empty lines -.\" for manpage-specific macros, see man(7) -.SH NAME -acpibin \- ACPI binary AML file utility -.SH SYNOPSIS -.B acpibin -.RI [