CBL-Mariner/SPECS/lldpad/lldpad.spec

136 строки
4.4 KiB
Plaintext
Исходник Обычный вид История

Update toolchain and packages to build with gcc 11.2.0 and glibc 2.34 (#1623) * update coreutils and texinfo specs * update coreutils and texinfo in toolchain * fix patch url * update binutils to 2.37 * update version in manifests * update util-linux mpfr mpc gmp * fix mpfr tarball * fix gmp * update cgmanifest.json * cleanup * restore binutils patch * fix gmp and mpfr specs * update util-linux spec * fix binutils and util-linux breaks * update kernel CONFIG_LD_VERSION * bump kernel release * remove reference to rpm-define-RPM-LD-FLAGS.patch * fix gen-ld-script.sh sha256sum * update gcc spec to 11.2.0 * update kernel configs for gcc * update cgmanifest * update gcc to 11.2.0 in raw toolchain * add patch for gcc texi issue * update glibc to 2.34 * update manifests for diffutils and glibc * disable tm_texi patch in toolchain * fix SIGSTKSZ gcc issue * patch m4 for glibc 2.34 * update make to 4.3 and diffutils to 3.8 * revert make to 4.2.1 due to operation not permitted error * fix make and texinfo build issues with glibc 2.34 * dont build zstd in temp toolchain due to gcc build errors * remove glibc workarounds for fintutils and gzip * update findutils and gzip * update gzip and findutils specs * update gdbm to 1.21 * update elfutils to 1.185 in toolchain. fix manifests * remove findutils test change * remove texinfo patch * fix kernel changelogs * add patch for cpio extern issue * restore rpm patch * fix m4 spec * fix elfutils and gpgme spec issues * fix kernel-hyperv changelog * update kbd and libtirpc to resolve gcc 11.2.0 issues * fix m4 version in pkggen_core * fix libtirpc in manifests * fix nss error * fix openjdk * fix aarch64 openjdk8 * fix elfutils spec * GODEBUG=netdns=go * verbose rpm query * fix coreutils on aarch64. use rpm 1.14.2.1 in raw toolchain. revert rpm.go * bump cpio release * revert rpm.go change * cleanup toolchain scripts and specs. parallel make for glibc * enable fortran * remove aarch64 ld-2.27.so link * add gfortran to toolchain manifests * fix binutils changelog * fix kernel release version * update bison grep sed tar * add glibc pthread patch * upgrade file gawk and xz. fix sed and grep spec issues * set -fcommon * revert file to 5.34 * fix temp gawk version * fix xz man1 files * update libgpg-error to 1.43 * add ld-linux-aarch64.so.1 to glibc spec * use /lib/ld-linux-aarch64.so.1 * update file 5.40 and bzip2 1.0.8 in toolchain. openjdk8 remove -fcommon. * update to perl 5.32.0 in toolchain * fix glibc aarch64 exclude. add shadow-utils provides. fix perl src filename * fix efivar build. upgrade dtc * Removing 'ctags'. * Updating 'libacvp' to version 1.4.1. * Updating 'nlohmann-json' to version 3.10.4. * Updating 'dhcp.spec' CFLAGS to include CBL-Mariner's defaults. * update and fix ipxe build. remove perl debuginfo. * add fixes for autofs and libcomps * Adjusting build steps for 'dhcp' and 'nlohmann-json'. * fix rocksdb * fix ntp * fix libcomps url in cgmanifest. revert perl change * fix nfs-utils * fix azure-iot-sdk-c * Remove 'tboot'. * fix qemu-kvm * update R and ant * Updating 'libiothsm-std' to version 1.2.5. * Linting. * Remove tcp_wrappers package * fix syslinux * Downgrading 'libiothsm-std' to 1.1.8. * fix fuse. fix libcomps url * Downgrading 'libacvp' to 1.3.0. * Applying GCC 11 patch. * fix fuse configure.ac issue * Fixing 'libiothsm-std' build. * Upgrade lldpad to 1.1.0 * Upgrade gdb to 11.1 * Upgrade catch to 2.13.7 * fixup! Upgrade gdb to 11.1 * fixup! Upgrade lldpad to 1.1.0 * remove bazel * Updating 'toml11' to version 3.7.0. * update cgmanifest for catch gdb lldpad * fix qt5-qtbase * fix device-mapper-multipath * fix syslinux * fix grpc * fix kernel configs * fix kernel-hyperv config * increase heap size for ant * update lttng-consume * fix auoms * update valgrind. fix arm64 gdb issue * update arm64 kernel config * fix blobfuse * update and fix azure-iotedge * fix grpc 1.41.1 in cgmanifest * fix kernel and kernel-hyperv PTHREAD_STACK_MIN issue * remove ant ant-contrib jna R * Updating 'azure-iotedge' sources creation instructions. * add back ant ant-contrib bazel jna R * restrict jdk8 packages * verify licenses * only build conda picosat python-pycosat on arm64. fix cgmanifest * update openjdk8 to version 1.8.0.302 * fix cgmanifest for ant and R * always build ant * update licenses. remove tdnf workaround. bump shadow-utils release * update LICENSES-MAP.md to remove tboot ctags tcp_wrappers. bump libavcp release * fix ant builds only on arm64 * Clarifying license for 'ntp'. * Verifying license for 'ant-contrib'. * Verifying more specs. * revert libabcvp CFLAGS changes * add kernel patch file * set -fcommon to fix libacvp build * fix python-filelock * revert tdnf line change Co-authored-by: CBL-Mariner Service Account <cblmargh@microsoft.com> Co-authored-by: Pawel Winogrodzki <pawel.winogrodzki@microsoft.com> Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com> Co-authored-by: Thomas Crain <thcrain@microsoft.com>
2021-11-18 08:41:55 +03:00
%define majmin %(echo %{version} | cut -d. -f1-2)
Summary: Intel LLDP Agent
Name: lldpad
Update toolchain and packages to build with gcc 11.2.0 and glibc 2.34 (#1623) * update coreutils and texinfo specs * update coreutils and texinfo in toolchain * fix patch url * update binutils to 2.37 * update version in manifests * update util-linux mpfr mpc gmp * fix mpfr tarball * fix gmp * update cgmanifest.json * cleanup * restore binutils patch * fix gmp and mpfr specs * update util-linux spec * fix binutils and util-linux breaks * update kernel CONFIG_LD_VERSION * bump kernel release * remove reference to rpm-define-RPM-LD-FLAGS.patch * fix gen-ld-script.sh sha256sum * update gcc spec to 11.2.0 * update kernel configs for gcc * update cgmanifest * update gcc to 11.2.0 in raw toolchain * add patch for gcc texi issue * update glibc to 2.34 * update manifests for diffutils and glibc * disable tm_texi patch in toolchain * fix SIGSTKSZ gcc issue * patch m4 for glibc 2.34 * update make to 4.3 and diffutils to 3.8 * revert make to 4.2.1 due to operation not permitted error * fix make and texinfo build issues with glibc 2.34 * dont build zstd in temp toolchain due to gcc build errors * remove glibc workarounds for fintutils and gzip * update findutils and gzip * update gzip and findutils specs * update gdbm to 1.21 * update elfutils to 1.185 in toolchain. fix manifests * remove findutils test change * remove texinfo patch * fix kernel changelogs * add patch for cpio extern issue * restore rpm patch * fix m4 spec * fix elfutils and gpgme spec issues * fix kernel-hyperv changelog * update kbd and libtirpc to resolve gcc 11.2.0 issues * fix m4 version in pkggen_core * fix libtirpc in manifests * fix nss error * fix openjdk * fix aarch64 openjdk8 * fix elfutils spec * GODEBUG=netdns=go * verbose rpm query * fix coreutils on aarch64. use rpm 1.14.2.1 in raw toolchain. revert rpm.go * bump cpio release * revert rpm.go change * cleanup toolchain scripts and specs. parallel make for glibc * enable fortran * remove aarch64 ld-2.27.so link * add gfortran to toolchain manifests * fix binutils changelog * fix kernel release version * update bison grep sed tar * add glibc pthread patch * upgrade file gawk and xz. fix sed and grep spec issues * set -fcommon * revert file to 5.34 * fix temp gawk version * fix xz man1 files * update libgpg-error to 1.43 * add ld-linux-aarch64.so.1 to glibc spec * use /lib/ld-linux-aarch64.so.1 * update file 5.40 and bzip2 1.0.8 in toolchain. openjdk8 remove -fcommon. * update to perl 5.32.0 in toolchain * fix glibc aarch64 exclude. add shadow-utils provides. fix perl src filename * fix efivar build. upgrade dtc * Removing 'ctags'. * Updating 'libacvp' to version 1.4.1. * Updating 'nlohmann-json' to version 3.10.4. * Updating 'dhcp.spec' CFLAGS to include CBL-Mariner's defaults. * update and fix ipxe build. remove perl debuginfo. * add fixes for autofs and libcomps * Adjusting build steps for 'dhcp' and 'nlohmann-json'. * fix rocksdb * fix ntp * fix libcomps url in cgmanifest. revert perl change * fix nfs-utils * fix azure-iot-sdk-c * Remove 'tboot'. * fix qemu-kvm * update R and ant * Updating 'libiothsm-std' to version 1.2.5. * Linting. * Remove tcp_wrappers package * fix syslinux * Downgrading 'libiothsm-std' to 1.1.8. * fix fuse. fix libcomps url * Downgrading 'libacvp' to 1.3.0. * Applying GCC 11 patch. * fix fuse configure.ac issue * Fixing 'libiothsm-std' build. * Upgrade lldpad to 1.1.0 * Upgrade gdb to 11.1 * Upgrade catch to 2.13.7 * fixup! Upgrade gdb to 11.1 * fixup! Upgrade lldpad to 1.1.0 * remove bazel * Updating 'toml11' to version 3.7.0. * update cgmanifest for catch gdb lldpad * fix qt5-qtbase * fix device-mapper-multipath * fix syslinux * fix grpc * fix kernel configs * fix kernel-hyperv config * increase heap size for ant * update lttng-consume * fix auoms * update valgrind. fix arm64 gdb issue * update arm64 kernel config * fix blobfuse * update and fix azure-iotedge * fix grpc 1.41.1 in cgmanifest * fix kernel and kernel-hyperv PTHREAD_STACK_MIN issue * remove ant ant-contrib jna R * Updating 'azure-iotedge' sources creation instructions. * add back ant ant-contrib bazel jna R * restrict jdk8 packages * verify licenses * only build conda picosat python-pycosat on arm64. fix cgmanifest * update openjdk8 to version 1.8.0.302 * fix cgmanifest for ant and R * always build ant * update licenses. remove tdnf workaround. bump shadow-utils release * update LICENSES-MAP.md to remove tboot ctags tcp_wrappers. bump libavcp release * fix ant builds only on arm64 * Clarifying license for 'ntp'. * Verifying license for 'ant-contrib'. * Verifying more specs. * revert libabcvp CFLAGS changes * add kernel patch file * set -fcommon to fix libacvp build * fix python-filelock * revert tdnf line change Co-authored-by: CBL-Mariner Service Account <cblmargh@microsoft.com> Co-authored-by: Pawel Winogrodzki <pawel.winogrodzki@microsoft.com> Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com> Co-authored-by: Thomas Crain <thcrain@microsoft.com>
2021-11-18 08:41:55 +03:00
Version: 1.1.0
Release: 2%{?dist}
License: GPLv2
2020-08-07 06:17:52 +03:00
Vendor: Microsoft Corporation
Distribution: Mariner
Group: System Environment/Daemons
URL: https://github.com/intel/openlldp
Update toolchain and packages to build with gcc 11.2.0 and glibc 2.34 (#1623) * update coreutils and texinfo specs * update coreutils and texinfo in toolchain * fix patch url * update binutils to 2.37 * update version in manifests * update util-linux mpfr mpc gmp * fix mpfr tarball * fix gmp * update cgmanifest.json * cleanup * restore binutils patch * fix gmp and mpfr specs * update util-linux spec * fix binutils and util-linux breaks * update kernel CONFIG_LD_VERSION * bump kernel release * remove reference to rpm-define-RPM-LD-FLAGS.patch * fix gen-ld-script.sh sha256sum * update gcc spec to 11.2.0 * update kernel configs for gcc * update cgmanifest * update gcc to 11.2.0 in raw toolchain * add patch for gcc texi issue * update glibc to 2.34 * update manifests for diffutils and glibc * disable tm_texi patch in toolchain * fix SIGSTKSZ gcc issue * patch m4 for glibc 2.34 * update make to 4.3 and diffutils to 3.8 * revert make to 4.2.1 due to operation not permitted error * fix make and texinfo build issues with glibc 2.34 * dont build zstd in temp toolchain due to gcc build errors * remove glibc workarounds for fintutils and gzip * update findutils and gzip * update gzip and findutils specs * update gdbm to 1.21 * update elfutils to 1.185 in toolchain. fix manifests * remove findutils test change * remove texinfo patch * fix kernel changelogs * add patch for cpio extern issue * restore rpm patch * fix m4 spec * fix elfutils and gpgme spec issues * fix kernel-hyperv changelog * update kbd and libtirpc to resolve gcc 11.2.0 issues * fix m4 version in pkggen_core * fix libtirpc in manifests * fix nss error * fix openjdk * fix aarch64 openjdk8 * fix elfutils spec * GODEBUG=netdns=go * verbose rpm query * fix coreutils on aarch64. use rpm 1.14.2.1 in raw toolchain. revert rpm.go * bump cpio release * revert rpm.go change * cleanup toolchain scripts and specs. parallel make for glibc * enable fortran * remove aarch64 ld-2.27.so link * add gfortran to toolchain manifests * fix binutils changelog * fix kernel release version * update bison grep sed tar * add glibc pthread patch * upgrade file gawk and xz. fix sed and grep spec issues * set -fcommon * revert file to 5.34 * fix temp gawk version * fix xz man1 files * update libgpg-error to 1.43 * add ld-linux-aarch64.so.1 to glibc spec * use /lib/ld-linux-aarch64.so.1 * update file 5.40 and bzip2 1.0.8 in toolchain. openjdk8 remove -fcommon. * update to perl 5.32.0 in toolchain * fix glibc aarch64 exclude. add shadow-utils provides. fix perl src filename * fix efivar build. upgrade dtc * Removing 'ctags'. * Updating 'libacvp' to version 1.4.1. * Updating 'nlohmann-json' to version 3.10.4. * Updating 'dhcp.spec' CFLAGS to include CBL-Mariner's defaults. * update and fix ipxe build. remove perl debuginfo. * add fixes for autofs and libcomps * Adjusting build steps for 'dhcp' and 'nlohmann-json'. * fix rocksdb * fix ntp * fix libcomps url in cgmanifest. revert perl change * fix nfs-utils * fix azure-iot-sdk-c * Remove 'tboot'. * fix qemu-kvm * update R and ant * Updating 'libiothsm-std' to version 1.2.5. * Linting. * Remove tcp_wrappers package * fix syslinux * Downgrading 'libiothsm-std' to 1.1.8. * fix fuse. fix libcomps url * Downgrading 'libacvp' to 1.3.0. * Applying GCC 11 patch. * fix fuse configure.ac issue * Fixing 'libiothsm-std' build. * Upgrade lldpad to 1.1.0 * Upgrade gdb to 11.1 * Upgrade catch to 2.13.7 * fixup! Upgrade gdb to 11.1 * fixup! Upgrade lldpad to 1.1.0 * remove bazel * Updating 'toml11' to version 3.7.0. * update cgmanifest for catch gdb lldpad * fix qt5-qtbase * fix device-mapper-multipath * fix syslinux * fix grpc * fix kernel configs * fix kernel-hyperv config * increase heap size for ant * update lttng-consume * fix auoms * update valgrind. fix arm64 gdb issue * update arm64 kernel config * fix blobfuse * update and fix azure-iotedge * fix grpc 1.41.1 in cgmanifest * fix kernel and kernel-hyperv PTHREAD_STACK_MIN issue * remove ant ant-contrib jna R * Updating 'azure-iotedge' sources creation instructions. * add back ant ant-contrib bazel jna R * restrict jdk8 packages * verify licenses * only build conda picosat python-pycosat on arm64. fix cgmanifest * update openjdk8 to version 1.8.0.302 * fix cgmanifest for ant and R * always build ant * update licenses. remove tdnf workaround. bump shadow-utils release * update LICENSES-MAP.md to remove tboot ctags tcp_wrappers. bump libavcp release * fix ant builds only on arm64 * Clarifying license for 'ntp'. * Verifying license for 'ant-contrib'. * Verifying more specs. * revert libabcvp CFLAGS changes * add kernel patch file * set -fcommon to fix libacvp build * fix python-filelock * revert tdnf line change Co-authored-by: CBL-Mariner Service Account <cblmargh@microsoft.com> Co-authored-by: Pawel Winogrodzki <pawel.winogrodzki@microsoft.com> Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com> Co-authored-by: Thomas Crain <thcrain@microsoft.com>
2021-11-18 08:41:55 +03:00
Source0: https://github.com/intel/openlldp/archive/v%{majmin}.tar.gz#/openlldp-%{majmin}.tar.gz
BuildRequires: flex-devel
BuildRequires: kernel-headers
BuildRequires: libconfig-devel
BuildRequires: libnl3-devel
BuildRequires: readline-devel
Update toolchain and packages to build with gcc 11.2.0 and glibc 2.34 (#1623) * update coreutils and texinfo specs * update coreutils and texinfo in toolchain * fix patch url * update binutils to 2.37 * update version in manifests * update util-linux mpfr mpc gmp * fix mpfr tarball * fix gmp * update cgmanifest.json * cleanup * restore binutils patch * fix gmp and mpfr specs * update util-linux spec * fix binutils and util-linux breaks * update kernel CONFIG_LD_VERSION * bump kernel release * remove reference to rpm-define-RPM-LD-FLAGS.patch * fix gen-ld-script.sh sha256sum * update gcc spec to 11.2.0 * update kernel configs for gcc * update cgmanifest * update gcc to 11.2.0 in raw toolchain * add patch for gcc texi issue * update glibc to 2.34 * update manifests for diffutils and glibc * disable tm_texi patch in toolchain * fix SIGSTKSZ gcc issue * patch m4 for glibc 2.34 * update make to 4.3 and diffutils to 3.8 * revert make to 4.2.1 due to operation not permitted error * fix make and texinfo build issues with glibc 2.34 * dont build zstd in temp toolchain due to gcc build errors * remove glibc workarounds for fintutils and gzip * update findutils and gzip * update gzip and findutils specs * update gdbm to 1.21 * update elfutils to 1.185 in toolchain. fix manifests * remove findutils test change * remove texinfo patch * fix kernel changelogs * add patch for cpio extern issue * restore rpm patch * fix m4 spec * fix elfutils and gpgme spec issues * fix kernel-hyperv changelog * update kbd and libtirpc to resolve gcc 11.2.0 issues * fix m4 version in pkggen_core * fix libtirpc in manifests * fix nss error * fix openjdk * fix aarch64 openjdk8 * fix elfutils spec * GODEBUG=netdns=go * verbose rpm query * fix coreutils on aarch64. use rpm 1.14.2.1 in raw toolchain. revert rpm.go * bump cpio release * revert rpm.go change * cleanup toolchain scripts and specs. parallel make for glibc * enable fortran * remove aarch64 ld-2.27.so link * add gfortran to toolchain manifests * fix binutils changelog * fix kernel release version * update bison grep sed tar * add glibc pthread patch * upgrade file gawk and xz. fix sed and grep spec issues * set -fcommon * revert file to 5.34 * fix temp gawk version * fix xz man1 files * update libgpg-error to 1.43 * add ld-linux-aarch64.so.1 to glibc spec * use /lib/ld-linux-aarch64.so.1 * update file 5.40 and bzip2 1.0.8 in toolchain. openjdk8 remove -fcommon. * update to perl 5.32.0 in toolchain * fix glibc aarch64 exclude. add shadow-utils provides. fix perl src filename * fix efivar build. upgrade dtc * Removing 'ctags'. * Updating 'libacvp' to version 1.4.1. * Updating 'nlohmann-json' to version 3.10.4. * Updating 'dhcp.spec' CFLAGS to include CBL-Mariner's defaults. * update and fix ipxe build. remove perl debuginfo. * add fixes for autofs and libcomps * Adjusting build steps for 'dhcp' and 'nlohmann-json'. * fix rocksdb * fix ntp * fix libcomps url in cgmanifest. revert perl change * fix nfs-utils * fix azure-iot-sdk-c * Remove 'tboot'. * fix qemu-kvm * update R and ant * Updating 'libiothsm-std' to version 1.2.5. * Linting. * Remove tcp_wrappers package * fix syslinux * Downgrading 'libiothsm-std' to 1.1.8. * fix fuse. fix libcomps url * Downgrading 'libacvp' to 1.3.0. * Applying GCC 11 patch. * fix fuse configure.ac issue * Fixing 'libiothsm-std' build. * Upgrade lldpad to 1.1.0 * Upgrade gdb to 11.1 * Upgrade catch to 2.13.7 * fixup! Upgrade gdb to 11.1 * fixup! Upgrade lldpad to 1.1.0 * remove bazel * Updating 'toml11' to version 3.7.0. * update cgmanifest for catch gdb lldpad * fix qt5-qtbase * fix device-mapper-multipath * fix syslinux * fix grpc * fix kernel configs * fix kernel-hyperv config * increase heap size for ant * update lttng-consume * fix auoms * update valgrind. fix arm64 gdb issue * update arm64 kernel config * fix blobfuse * update and fix azure-iotedge * fix grpc 1.41.1 in cgmanifest * fix kernel and kernel-hyperv PTHREAD_STACK_MIN issue * remove ant ant-contrib jna R * Updating 'azure-iotedge' sources creation instructions. * add back ant ant-contrib bazel jna R * restrict jdk8 packages * verify licenses * only build conda picosat python-pycosat on arm64. fix cgmanifest * update openjdk8 to version 1.8.0.302 * fix cgmanifest for ant and R * always build ant * update licenses. remove tdnf workaround. bump shadow-utils release * update LICENSES-MAP.md to remove tboot ctags tcp_wrappers. bump libavcp release * fix ant builds only on arm64 * Clarifying license for 'ntp'. * Verifying license for 'ant-contrib'. * Verifying more specs. * revert libabcvp CFLAGS changes * add kernel patch file * set -fcommon to fix libacvp build * fix python-filelock * revert tdnf line change Co-authored-by: CBL-Mariner Service Account <cblmargh@microsoft.com> Co-authored-by: Pawel Winogrodzki <pawel.winogrodzki@microsoft.com> Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com> Co-authored-by: Thomas Crain <thcrain@microsoft.com>
2021-11-18 08:41:55 +03:00
BuildRequires: systemd-devel
Requires: libconfig
Requires: libnl3
Requires: systemd
2020-08-07 06:17:52 +03:00
%description
The lldpad package comes with utilities to manage an LLDP interface with support for reading and configuring TLVs. TLVs and interfaces are individual controlled allowing flexible configuration for TX only, RX only, or TX/RX modes per TLV.
%prep
Update toolchain and packages to build with gcc 11.2.0 and glibc 2.34 (#1623) * update coreutils and texinfo specs * update coreutils and texinfo in toolchain * fix patch url * update binutils to 2.37 * update version in manifests * update util-linux mpfr mpc gmp * fix mpfr tarball * fix gmp * update cgmanifest.json * cleanup * restore binutils patch * fix gmp and mpfr specs * update util-linux spec * fix binutils and util-linux breaks * update kernel CONFIG_LD_VERSION * bump kernel release * remove reference to rpm-define-RPM-LD-FLAGS.patch * fix gen-ld-script.sh sha256sum * update gcc spec to 11.2.0 * update kernel configs for gcc * update cgmanifest * update gcc to 11.2.0 in raw toolchain * add patch for gcc texi issue * update glibc to 2.34 * update manifests for diffutils and glibc * disable tm_texi patch in toolchain * fix SIGSTKSZ gcc issue * patch m4 for glibc 2.34 * update make to 4.3 and diffutils to 3.8 * revert make to 4.2.1 due to operation not permitted error * fix make and texinfo build issues with glibc 2.34 * dont build zstd in temp toolchain due to gcc build errors * remove glibc workarounds for fintutils and gzip * update findutils and gzip * update gzip and findutils specs * update gdbm to 1.21 * update elfutils to 1.185 in toolchain. fix manifests * remove findutils test change * remove texinfo patch * fix kernel changelogs * add patch for cpio extern issue * restore rpm patch * fix m4 spec * fix elfutils and gpgme spec issues * fix kernel-hyperv changelog * update kbd and libtirpc to resolve gcc 11.2.0 issues * fix m4 version in pkggen_core * fix libtirpc in manifests * fix nss error * fix openjdk * fix aarch64 openjdk8 * fix elfutils spec * GODEBUG=netdns=go * verbose rpm query * fix coreutils on aarch64. use rpm 1.14.2.1 in raw toolchain. revert rpm.go * bump cpio release * revert rpm.go change * cleanup toolchain scripts and specs. parallel make for glibc * enable fortran * remove aarch64 ld-2.27.so link * add gfortran to toolchain manifests * fix binutils changelog * fix kernel release version * update bison grep sed tar * add glibc pthread patch * upgrade file gawk and xz. fix sed and grep spec issues * set -fcommon * revert file to 5.34 * fix temp gawk version * fix xz man1 files * update libgpg-error to 1.43 * add ld-linux-aarch64.so.1 to glibc spec * use /lib/ld-linux-aarch64.so.1 * update file 5.40 and bzip2 1.0.8 in toolchain. openjdk8 remove -fcommon. * update to perl 5.32.0 in toolchain * fix glibc aarch64 exclude. add shadow-utils provides. fix perl src filename * fix efivar build. upgrade dtc * Removing 'ctags'. * Updating 'libacvp' to version 1.4.1. * Updating 'nlohmann-json' to version 3.10.4. * Updating 'dhcp.spec' CFLAGS to include CBL-Mariner's defaults. * update and fix ipxe build. remove perl debuginfo. * add fixes for autofs and libcomps * Adjusting build steps for 'dhcp' and 'nlohmann-json'. * fix rocksdb * fix ntp * fix libcomps url in cgmanifest. revert perl change * fix nfs-utils * fix azure-iot-sdk-c * Remove 'tboot'. * fix qemu-kvm * update R and ant * Updating 'libiothsm-std' to version 1.2.5. * Linting. * Remove tcp_wrappers package * fix syslinux * Downgrading 'libiothsm-std' to 1.1.8. * fix fuse. fix libcomps url * Downgrading 'libacvp' to 1.3.0. * Applying GCC 11 patch. * fix fuse configure.ac issue * Fixing 'libiothsm-std' build. * Upgrade lldpad to 1.1.0 * Upgrade gdb to 11.1 * Upgrade catch to 2.13.7 * fixup! Upgrade gdb to 11.1 * fixup! Upgrade lldpad to 1.1.0 * remove bazel * Updating 'toml11' to version 3.7.0. * update cgmanifest for catch gdb lldpad * fix qt5-qtbase * fix device-mapper-multipath * fix syslinux * fix grpc * fix kernel configs * fix kernel-hyperv config * increase heap size for ant * update lttng-consume * fix auoms * update valgrind. fix arm64 gdb issue * update arm64 kernel config * fix blobfuse * update and fix azure-iotedge * fix grpc 1.41.1 in cgmanifest * fix kernel and kernel-hyperv PTHREAD_STACK_MIN issue * remove ant ant-contrib jna R * Updating 'azure-iotedge' sources creation instructions. * add back ant ant-contrib bazel jna R * restrict jdk8 packages * verify licenses * only build conda picosat python-pycosat on arm64. fix cgmanifest * update openjdk8 to version 1.8.0.302 * fix cgmanifest for ant and R * always build ant * update licenses. remove tdnf workaround. bump shadow-utils release * update LICENSES-MAP.md to remove tboot ctags tcp_wrappers. bump libavcp release * fix ant builds only on arm64 * Clarifying license for 'ntp'. * Verifying license for 'ant-contrib'. * Verifying more specs. * revert libabcvp CFLAGS changes * add kernel patch file * set -fcommon to fix libacvp build * fix python-filelock * revert tdnf line change Co-authored-by: CBL-Mariner Service Account <cblmargh@microsoft.com> Co-authored-by: Pawel Winogrodzki <pawel.winogrodzki@microsoft.com> Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com> Co-authored-by: Thomas Crain <thcrain@microsoft.com>
2021-11-18 08:41:55 +03:00
%autosetup -n openlldp-%{majmin}
2020-08-07 06:17:52 +03:00
%build
./bootstrap.sh
%configure --disable-static
%make_build
2020-08-07 06:17:52 +03:00
%install
%make_install
find %{buildroot} -type f -name "*.la" -delete -print
2020-08-07 06:17:52 +03:00
mkdir -p %{buildroot}/lib/systemd/system
mkdir -p %{buildroot}%{_sharedstatedir}/%{name}
mv %{buildroot}/%{_libdir}/systemd/system/lldpad.service \
%{buildroot}/lib/systemd/system/lldpad.service
2020-08-07 06:17:52 +03:00
mv %{buildroot}/%{_libdir}/systemd/system/lldpad.socket \
%{buildroot}/lib/systemd/system/lldpad.socket
2020-08-07 06:17:52 +03:00
%preun
%systemd_preun lldpad.socket
2020-08-07 06:17:52 +03:00
%post
/sbin/ldconfig
%systemd_post lldpad.socket
2020-08-07 06:17:52 +03:00
%postun
/sbin/ldconfig
%systemd_postun_with_restart lldpad.socket
%files
%defattr(-,root,root)
%license COPYING
%{_sbindir}/*
%{_libdir}/liblldp_clif.so.*
%{_sysconfdir}/bash_completion.d/*
2020-08-07 06:17:52 +03:00
%dir %{_sharedstatedir}/%{name}
Update toolchain and packages to build with gcc 11.2.0 and glibc 2.34 (#1623) * update coreutils and texinfo specs * update coreutils and texinfo in toolchain * fix patch url * update binutils to 2.37 * update version in manifests * update util-linux mpfr mpc gmp * fix mpfr tarball * fix gmp * update cgmanifest.json * cleanup * restore binutils patch * fix gmp and mpfr specs * update util-linux spec * fix binutils and util-linux breaks * update kernel CONFIG_LD_VERSION * bump kernel release * remove reference to rpm-define-RPM-LD-FLAGS.patch * fix gen-ld-script.sh sha256sum * update gcc spec to 11.2.0 * update kernel configs for gcc * update cgmanifest * update gcc to 11.2.0 in raw toolchain * add patch for gcc texi issue * update glibc to 2.34 * update manifests for diffutils and glibc * disable tm_texi patch in toolchain * fix SIGSTKSZ gcc issue * patch m4 for glibc 2.34 * update make to 4.3 and diffutils to 3.8 * revert make to 4.2.1 due to operation not permitted error * fix make and texinfo build issues with glibc 2.34 * dont build zstd in temp toolchain due to gcc build errors * remove glibc workarounds for fintutils and gzip * update findutils and gzip * update gzip and findutils specs * update gdbm to 1.21 * update elfutils to 1.185 in toolchain. fix manifests * remove findutils test change * remove texinfo patch * fix kernel changelogs * add patch for cpio extern issue * restore rpm patch * fix m4 spec * fix elfutils and gpgme spec issues * fix kernel-hyperv changelog * update kbd and libtirpc to resolve gcc 11.2.0 issues * fix m4 version in pkggen_core * fix libtirpc in manifests * fix nss error * fix openjdk * fix aarch64 openjdk8 * fix elfutils spec * GODEBUG=netdns=go * verbose rpm query * fix coreutils on aarch64. use rpm 1.14.2.1 in raw toolchain. revert rpm.go * bump cpio release * revert rpm.go change * cleanup toolchain scripts and specs. parallel make for glibc * enable fortran * remove aarch64 ld-2.27.so link * add gfortran to toolchain manifests * fix binutils changelog * fix kernel release version * update bison grep sed tar * add glibc pthread patch * upgrade file gawk and xz. fix sed and grep spec issues * set -fcommon * revert file to 5.34 * fix temp gawk version * fix xz man1 files * update libgpg-error to 1.43 * add ld-linux-aarch64.so.1 to glibc spec * use /lib/ld-linux-aarch64.so.1 * update file 5.40 and bzip2 1.0.8 in toolchain. openjdk8 remove -fcommon. * update to perl 5.32.0 in toolchain * fix glibc aarch64 exclude. add shadow-utils provides. fix perl src filename * fix efivar build. upgrade dtc * Removing 'ctags'. * Updating 'libacvp' to version 1.4.1. * Updating 'nlohmann-json' to version 3.10.4. * Updating 'dhcp.spec' CFLAGS to include CBL-Mariner's defaults. * update and fix ipxe build. remove perl debuginfo. * add fixes for autofs and libcomps * Adjusting build steps for 'dhcp' and 'nlohmann-json'. * fix rocksdb * fix ntp * fix libcomps url in cgmanifest. revert perl change * fix nfs-utils * fix azure-iot-sdk-c * Remove 'tboot'. * fix qemu-kvm * update R and ant * Updating 'libiothsm-std' to version 1.2.5. * Linting. * Remove tcp_wrappers package * fix syslinux * Downgrading 'libiothsm-std' to 1.1.8. * fix fuse. fix libcomps url * Downgrading 'libacvp' to 1.3.0. * Applying GCC 11 patch. * fix fuse configure.ac issue * Fixing 'libiothsm-std' build. * Upgrade lldpad to 1.1.0 * Upgrade gdb to 11.1 * Upgrade catch to 2.13.7 * fixup! Upgrade gdb to 11.1 * fixup! Upgrade lldpad to 1.1.0 * remove bazel * Updating 'toml11' to version 3.7.0. * update cgmanifest for catch gdb lldpad * fix qt5-qtbase * fix device-mapper-multipath * fix syslinux * fix grpc * fix kernel configs * fix kernel-hyperv config * increase heap size for ant * update lttng-consume * fix auoms * update valgrind. fix arm64 gdb issue * update arm64 kernel config * fix blobfuse * update and fix azure-iotedge * fix grpc 1.41.1 in cgmanifest * fix kernel and kernel-hyperv PTHREAD_STACK_MIN issue * remove ant ant-contrib jna R * Updating 'azure-iotedge' sources creation instructions. * add back ant ant-contrib bazel jna R * restrict jdk8 packages * verify licenses * only build conda picosat python-pycosat on arm64. fix cgmanifest * update openjdk8 to version 1.8.0.302 * fix cgmanifest for ant and R * always build ant * update licenses. remove tdnf workaround. bump shadow-utils release * update LICENSES-MAP.md to remove tboot ctags tcp_wrappers. bump libavcp release * fix ant builds only on arm64 * Clarifying license for 'ntp'. * Verifying license for 'ant-contrib'. * Verifying more specs. * revert libabcvp CFLAGS changes * add kernel patch file * set -fcommon to fix libacvp build * fix python-filelock * revert tdnf line change Co-authored-by: CBL-Mariner Service Account <cblmargh@microsoft.com> Co-authored-by: Pawel Winogrodzki <pawel.winogrodzki@microsoft.com> Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com> Co-authored-by: Thomas Crain <thcrain@microsoft.com>
2021-11-18 08:41:55 +03:00
%{_mandir}/man3/*
2020-08-07 06:17:52 +03:00
%{_mandir}/man8/*
%{_includedir}/*
%{_libdir}/pkgconfig/*.pc
%{_libdir}/liblldp_clif.so
/lib/systemd/system/lldpad.service
/lib/systemd/system/lldpad.socket
%changelog
* Wed Sep 20 2023 Jon Slobodzian <joslobo@microsoft.com> - 1.1.0-2
- Recompile with stack-protection fixed gcc version (CVE-2023-4039)
Update toolchain and packages to build with gcc 11.2.0 and glibc 2.34 (#1623) * update coreutils and texinfo specs * update coreutils and texinfo in toolchain * fix patch url * update binutils to 2.37 * update version in manifests * update util-linux mpfr mpc gmp * fix mpfr tarball * fix gmp * update cgmanifest.json * cleanup * restore binutils patch * fix gmp and mpfr specs * update util-linux spec * fix binutils and util-linux breaks * update kernel CONFIG_LD_VERSION * bump kernel release * remove reference to rpm-define-RPM-LD-FLAGS.patch * fix gen-ld-script.sh sha256sum * update gcc spec to 11.2.0 * update kernel configs for gcc * update cgmanifest * update gcc to 11.2.0 in raw toolchain * add patch for gcc texi issue * update glibc to 2.34 * update manifests for diffutils and glibc * disable tm_texi patch in toolchain * fix SIGSTKSZ gcc issue * patch m4 for glibc 2.34 * update make to 4.3 and diffutils to 3.8 * revert make to 4.2.1 due to operation not permitted error * fix make and texinfo build issues with glibc 2.34 * dont build zstd in temp toolchain due to gcc build errors * remove glibc workarounds for fintutils and gzip * update findutils and gzip * update gzip and findutils specs * update gdbm to 1.21 * update elfutils to 1.185 in toolchain. fix manifests * remove findutils test change * remove texinfo patch * fix kernel changelogs * add patch for cpio extern issue * restore rpm patch * fix m4 spec * fix elfutils and gpgme spec issues * fix kernel-hyperv changelog * update kbd and libtirpc to resolve gcc 11.2.0 issues * fix m4 version in pkggen_core * fix libtirpc in manifests * fix nss error * fix openjdk * fix aarch64 openjdk8 * fix elfutils spec * GODEBUG=netdns=go * verbose rpm query * fix coreutils on aarch64. use rpm 1.14.2.1 in raw toolchain. revert rpm.go * bump cpio release * revert rpm.go change * cleanup toolchain scripts and specs. parallel make for glibc * enable fortran * remove aarch64 ld-2.27.so link * add gfortran to toolchain manifests * fix binutils changelog * fix kernel release version * update bison grep sed tar * add glibc pthread patch * upgrade file gawk and xz. fix sed and grep spec issues * set -fcommon * revert file to 5.34 * fix temp gawk version * fix xz man1 files * update libgpg-error to 1.43 * add ld-linux-aarch64.so.1 to glibc spec * use /lib/ld-linux-aarch64.so.1 * update file 5.40 and bzip2 1.0.8 in toolchain. openjdk8 remove -fcommon. * update to perl 5.32.0 in toolchain * fix glibc aarch64 exclude. add shadow-utils provides. fix perl src filename * fix efivar build. upgrade dtc * Removing 'ctags'. * Updating 'libacvp' to version 1.4.1. * Updating 'nlohmann-json' to version 3.10.4. * Updating 'dhcp.spec' CFLAGS to include CBL-Mariner's defaults. * update and fix ipxe build. remove perl debuginfo. * add fixes for autofs and libcomps * Adjusting build steps for 'dhcp' and 'nlohmann-json'. * fix rocksdb * fix ntp * fix libcomps url in cgmanifest. revert perl change * fix nfs-utils * fix azure-iot-sdk-c * Remove 'tboot'. * fix qemu-kvm * update R and ant * Updating 'libiothsm-std' to version 1.2.5. * Linting. * Remove tcp_wrappers package * fix syslinux * Downgrading 'libiothsm-std' to 1.1.8. * fix fuse. fix libcomps url * Downgrading 'libacvp' to 1.3.0. * Applying GCC 11 patch. * fix fuse configure.ac issue * Fixing 'libiothsm-std' build. * Upgrade lldpad to 1.1.0 * Upgrade gdb to 11.1 * Upgrade catch to 2.13.7 * fixup! Upgrade gdb to 11.1 * fixup! Upgrade lldpad to 1.1.0 * remove bazel * Updating 'toml11' to version 3.7.0. * update cgmanifest for catch gdb lldpad * fix qt5-qtbase * fix device-mapper-multipath * fix syslinux * fix grpc * fix kernel configs * fix kernel-hyperv config * increase heap size for ant * update lttng-consume * fix auoms * update valgrind. fix arm64 gdb issue * update arm64 kernel config * fix blobfuse * update and fix azure-iotedge * fix grpc 1.41.1 in cgmanifest * fix kernel and kernel-hyperv PTHREAD_STACK_MIN issue * remove ant ant-contrib jna R * Updating 'azure-iotedge' sources creation instructions. * add back ant ant-contrib bazel jna R * restrict jdk8 packages * verify licenses * only build conda picosat python-pycosat on arm64. fix cgmanifest * update openjdk8 to version 1.8.0.302 * fix cgmanifest for ant and R * always build ant * update licenses. remove tdnf workaround. bump shadow-utils release * update LICENSES-MAP.md to remove tboot ctags tcp_wrappers. bump libavcp release * fix ant builds only on arm64 * Clarifying license for 'ntp'. * Verifying license for 'ant-contrib'. * Verifying more specs. * revert libabcvp CFLAGS changes * add kernel patch file * set -fcommon to fix libacvp build * fix python-filelock * revert tdnf line change Co-authored-by: CBL-Mariner Service Account <cblmargh@microsoft.com> Co-authored-by: Pawel Winogrodzki <pawel.winogrodzki@microsoft.com> Co-authored-by: Pawel Winogrodzki <pawelwi@microsoft.com> Co-authored-by: Thomas Crain <thcrain@microsoft.com>
2021-11-18 08:41:55 +03:00
* Thu Nov 11 2021 Thomas Crain <thcrain@microsoft.com> - 1.1.0-1
- Upgrade to latest upstream version
* Tue Jun 29 2021 Thomas Crain <thcrain@microsoft.com> - 1.0.1-18
- Use libconfig-devel at build-time, rather than libconfig
- Lint spec, modernize with macros
* Thu Jun 18 2020 Pawel Winogrodzki <pawelwi@microsoft.com> - 1.0.1-17
- Removing runtime dependency on a specific kernel package.
* Thu Jun 11 2020 Christopher Co <chrco@microsoft.com> - 1.0.1-16
- Remove KERNEL_VERSION macro from BuildRequires
* Sat May 09 2020 Nick Samson <nisamson@microsoft.com> - 1.0.1-15
- Added %%license line automatically
* Thu Apr 30 2020 Emre Girgin <mrgirgin@microsoft.com> - 1.0.1-14
- Renaming linux-api-headers to kernel-headers
* Thu Apr 30 2020 Nicolas Ontiveros <niontive@microsoft.com> - 1.0.1-13
- Rename libnl to libnl3.
* Tue Apr 28 2020 Emre Girgin <mrgirgin@microsoft.com> - 1.0.1-12
- Renaming linux to kernel
* Tue Apr 07 2020 Eric Li <eli@microsoft.com> - 1.0.1-11
- Fix Source0 URL and add Source0: comment to the working link. Verified license.
* Wed Mar 25 2020 Henry Beberman <henry.beberman@microsoft.com> - 1.0.1-10
- Disable warnings to build with GCC9. Fix Source0 URL.
* Mon Mar 23 2020 Christopher Co <chrco@microsoft.com> - 1.0.1-9
- Remove KERNEL_RELEASE macro from required packages
* Thu Jan 09 2020 Christopher Co <chrco@microsoft.com> - 1.0.1-8
- Update to work with Linux 5.4.23 kernel and headers
- Add patch to remove duplicate LLDP ethertype which was added to Linux headers in 5.3
- Updated URL
- Verified License
* Tue Sep 03 2019 Mateusz Malisz <mamalisz@microsoft.com> - 1.0.1-7
- Initial CBL-Mariner import from Photon (license: Apache2).
* Mon Aug 13 2018 Srivatsa S. Bhat <srivatsa@csail.mit.edu> - 1.0.1-6
- Suppress build warnings with gcc 7.3
* Wed May 25 2016 Anish Swaminathan <anishs@vmware.com> - 1.0.1-5
- Add required folder for service to start
* Tue May 24 2016 Priyesh Padmavilasom <ppadmavilasom@vmware.com> - 1.0.1-4
- GA - Bump release of all rpms
* Thu May 05 2016 Kumar Kaushik <kaushikk@vmware.com> - 1.0.1-3
- Adding support in pre/post/un scripts for upgrade.
* Thu Dec 10 2015 Xiaolin Li <xiaolinl@vmware.com> - 1.0.1-2
- Add systemd to Requires and BuildRequires.
- The source is based on git://open-lldp.org/open-lldp commit 036e314
- Use systemctl to enable/disable service.
* Tue Nov 24 2015 Xiaolin Li <xiaolinl@vmware.com> - 1.0.1-1
- Initial build. First version