!10 [sync] PR-8: LLDPD: Delete redundant codes and enhance code security
From: @openeuler-sync-bot Reviewed-by: @hu-chunzhi Signed-off-by: @hu-chunzhi
This commit is contained in:
commit
b960f2a4e4
Binary file not shown.
@ -5,7 +5,7 @@
|
||||
Summary: Implementation of UB (LLDP)
|
||||
Name: ub-lldpd
|
||||
Version: 1.0.0
|
||||
Release: 2
|
||||
Release: 3
|
||||
License: ISC
|
||||
Group: System/Management
|
||||
URL: https://lldpd.github.io/
|
||||
@ -74,6 +74,8 @@ make install DESTDIR=$RPM_BUILD_ROOT
|
||||
install -d $RPM_BUILD_ROOT/etc/sysconfig
|
||||
install -m644 %{SOURCE2} $RPM_BUILD_ROOT/etc/sysconfig/ub-lldpd
|
||||
|
||||
/usr/lib/rpm/brp-remove-la-files
|
||||
|
||||
%pre
|
||||
# Create ub-lldpd user/group
|
||||
if getent group %lldpd_group >/dev/null 2>&1 ; then : ; else \
|
||||
@ -117,12 +119,15 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%defattr(-,root,root)
|
||||
%{_libdir}/libublldpctl.so
|
||||
%{_libdir}/libublldpctl.a
|
||||
%{_libdir}/libublldpctl.la
|
||||
%{_libdir}/pkgconfig/ub-lldpctl.pc
|
||||
%{_includedir}/lldpctl.h
|
||||
%{_includedir}/lldp-const.h
|
||||
|
||||
%changelog
|
||||
* Thu Aug 15 2024 Ge Hu <huge4@huawei.com> - 1.0.0-3
|
||||
- update to openeuler-sp4.
|
||||
- Security check and modification.
|
||||
|
||||
* Thu Jun 6 2024 Zhongyuan Zhou <zhouzhongyuan1@huawei.com> - 1.0.0-2
|
||||
- Modify the dguid of network control packets.
|
||||
- Add the UB-LLDP fuzz test case.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user