Update for PELC reviews
Rebuild and fix issues with APSL/ASL licensing. Also rebase to 1.0.18 Resolves: RHELMISC-4345 Signed-off-by: Hangbin Liu <haliu@redhat.com>
This commit is contained in:
parent
c465fcc832
commit
517ea8539b
32
lldpd-cleanup.sh
Executable file
32
lldpd-cleanup.sh
Executable file
@ -0,0 +1,32 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
# Process a lldpd tarball to remove proprietary source code.
|
||||||
|
#
|
||||||
|
# Yaakov Selkowitz <yselkowi@redhat.com> - 2021
|
||||||
|
#
|
||||||
|
|
||||||
|
SOURCE="$1"
|
||||||
|
NEW_SOURCE=`echo $SOURCE | sed 's/\.tar\.gz/-free&/'`
|
||||||
|
DIRECTORY=`echo $SOURCE | sed 's/\.tar\.gz//'`
|
||||||
|
|
||||||
|
error()
|
||||||
|
{
|
||||||
|
MESSAGE=$1
|
||||||
|
echo $MESSAGE
|
||||||
|
exit 1
|
||||||
|
}
|
||||||
|
|
||||||
|
rm -rf $DIRECTORY
|
||||||
|
tar xzf $SOURCE || error "Cannot unpack $SOURCE"
|
||||||
|
pushd $DIRECTORY > /dev/null || error "Cannot open directory \"$DIRECTORY\""
|
||||||
|
|
||||||
|
echo "Remove proprietary source files"
|
||||||
|
find include/osx -type f -delete
|
||||||
|
find debian -type f -delete
|
||||||
|
|
||||||
|
echo
|
||||||
|
|
||||||
|
popd > /dev/null
|
||||||
|
|
||||||
|
tar czf $NEW_SOURCE $DIRECTORY
|
||||||
|
echo "$NEW_SOURCE is ready to use"
|
15
lldpd.spec
15
lldpd.spec
@ -1,16 +1,17 @@
|
|||||||
Name: lldpd
|
Name: lldpd
|
||||||
Version: 1.0.16
|
Version: 1.0.18
|
||||||
Release: 6%{?dist}
|
Release: 1%{?dist}
|
||||||
Summary: ISC-licensed implementation of LLDP
|
Summary: ISC-licensed implementation of LLDP
|
||||||
|
|
||||||
License: ISC
|
License: ISC
|
||||||
URL: https://github.com/lldpd/
|
URL: https://%{name}.github.io/
|
||||||
Source0: https://github.com/lldpd/lldpd/archive/v%{version}/%{name}-%{version}.tar.gz
|
Source0: %{name}-%{version}-free.tar.gz
|
||||||
Source1: %{name}-fedora.service
|
Source1: %{name}-fedora.service
|
||||||
Source2: %{name}-tmpfiles
|
Source2: %{name}-tmpfiles
|
||||||
Source3: %{name}-fedora.sysconfig
|
Source3: %{name}-fedora.sysconfig
|
||||||
Source4: %{name}-systemd-sysusers.conf
|
Source4: %{name}-systemd-sysusers.conf
|
||||||
Patch1: lldpd-configure-c99.patch
|
|
||||||
|
Source100: %{name}-cleanup.sh
|
||||||
|
|
||||||
BuildRequires: check-devel
|
BuildRequires: check-devel
|
||||||
BuildRequires: gcc
|
BuildRequires: gcc
|
||||||
@ -40,7 +41,6 @@ Summary: %{summary}
|
|||||||
%prep
|
%prep
|
||||||
%autosetup -p1
|
%autosetup -p1
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%configure --disable-static --with-snmp --disable-silent-rules \
|
%configure --disable-static --with-snmp --disable-silent-rules \
|
||||||
--with-privsep-user=%{name} --with-privsep-group=%{name} \
|
--with-privsep-user=%{name} --with-privsep-group=%{name} \
|
||||||
@ -114,6 +114,9 @@ exit 0
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Arp 24 2024 Hangbin Liu <haliu@redhat.com> - 1.0.18-1
|
||||||
|
- Strip ASL/APSL components (RHELMISC-4345)
|
||||||
|
|
||||||
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.16-6
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.16-6
|
||||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||||
|
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
SHA512 (lldpd-1.0.16.tar.gz) = 4abd25d1d7325f0a963518d916139f39b9250c37dfd918819019cabaafcdbedbfa03c78da80d36a09a0f4b1d79d4ee5e8aee1d10596bcd5710cd0c1181ba27c1
|
SHA512 (lldpd-1.0.18-free.tar.gz) = be9327a3b37abf01e239be97bbcbcbefdf6554cddc45ae3c18e1c5c2d1dd6607b3dd6bda1ccc2c5e65a83b9839660ba26322baa582b27a613e829c38a94e3686
|
||||||
|
Loading…
Reference in New Issue
Block a user