Compare commits

..

10 Commits

Author SHA1 Message Date
openeuler-ci-bot
a12bd9b627
!26 [sync] PR-24: Drop unused package
From: @openeuler-sync-bot 
Reviewed-by: @xuxuepeng 
Signed-off-by: @xuxuepeng
2025-02-18 08:53:59 +00:00
Funda Wang
ed1ebf62b9 Drop unused package
(cherry picked from commit 20be24ee74323c594c43d2851d7ab7464b587040)
2024-12-10 16:44:14 +08:00
openeuler-ci-bot
df31e6ba76
!15 fix clang build error
From: @mdLUbG 
Reviewed-by: @Vanient, @duguhaotian 
Signed-off-by: @duguhaotian
2023-10-08 02:04:11 +00:00
s
9c1df02b90 fix clang build error 2023-09-22 10:56:52 +08:00
openeuler-ci-bot
b406d11f77
!11 【轻量级 PR】:fix bogus date in %changelog
From: @leeffo 
Reviewed-by: @Vanient, @duguhaotian 
Signed-off-by: @duguhaotian
2022-12-07 08:06:27 +00:00
loong-C
ee9d499d46
fix bogus date in %changelog 2022-06-15 02:40:02 +00:00
openeuler-ci-bot
9101b7830e
!10 统一spec文件的License名称规范
From: @lauk001 
Reviewed-by: @yangzhao_kl 
Signed-off-by: @yangzhao_kl
2022-06-07 08:17:10 +00:00
lauk
cbfae7aa6e License compliance rectification 2022-05-23 09:43:53 +08:00
openeuler-ci-bot
60cf0e585c
!9 [sync] PR-8: libnetwork:disable go module build as go1.17 enable it by default
From: @openeuler-sync-bot 
Reviewed-by: @duguhaotian 
Signed-off-by: @duguhaotian
2022-04-13 02:44:40 +00:00
xiadanni
c8c9e6fa4b libnetwork:disable go module build as go1.17 enable it by default
Signed-off-by: xiadanni <xiadanni1@huawei.com>
(cherry picked from commit 83308b3aef2dc2d616a11c592d6da8fa0ac3be62)
2022-04-13 10:08:39 +08:00
4 changed files with 3 additions and 64 deletions

3
README.md Normal file
View File

@ -0,0 +1,3 @@
Generated by moby since openEuler-24.03-LTS-SP1
https://gitee.com/src-openeuler/libnetwork/issues/IB4FCZ

Binary file not shown.

View File

@ -1,60 +0,0 @@
%define debug_package %{nil}
Name: libnetwork
Version: 0.8.0.dev.2
Release: 102
Summary: Proxy used for docker port mapping
License: Apache License 2.0
URL: https://github.com/docker/libnetwork
Source: libnetwork-d00ceed.tar.gz
BuildRequires: golang >= 1.8.3
BuildRequires: make
Provides: docker-proxy
Obsoletes: docker-proxy
%description
%prep
%setup -c -n libnetwork
%build
cd libnetwork-d00ceed44cc447c77f25cdf5d59e83163bdcb4c9
export CGO_ENABLED=0
export GOPATH=`pwd`/.gopath
mkdir -p $GOPATH/src/github.com/docker/
ln -sfn `pwd` $GOPATH/src/github.com/docker/libnetwork
cd $GOPATH/src/github.com/docker/libnetwork
CGO_ENABLED=1 \
CGO_CFLAGS="-fstack-protector-strong -fPIE" \
CGO_CPPFLAGS="-fstack-protector-strong -fPIE" \
CGO_LDFLAGS_ALLOW='-Wl,-z,relro,-z,now' \
CGO_LDFLAGS="-Wl,-z,relro,-z,now -Wl,-z,noexecstack" \
go build -buildmode=pie -ldflags="-linkmode=external -s -w -buildid=IdByIsula -extldflags=-zrelro -extldflags=-znow " -o docker-proxy ./cmd/proxy
%install
install -d $RPM_BUILD_ROOT/%{_bindir}
install -p -m 755 libnetwork-d00ceed44cc447c77f25cdf5d59e83163bdcb4c9/docker-proxy $RPM_BUILD_ROOT/%{_bindir}/docker-proxy
%clean
%{__rm} -rf %{_bindir}/docker-proxy
%files
%{_bindir}/docker-proxy
%changelog
* Thu Mar 18 2021 xiadanni<xiadanni1@huawei.com> 0.8.0.dev.2-102
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:compile option compliance
* Thu Aug 20 2020 xiadanni<xiadanni1@huawei.com> 0.8.0.dev.2-101
- Type:cleancode
- Id:NA
- SUG:NA
- DESC:modify source code struct
* Sat Aug 19 2019 songnannan<songnannan2@huawei.com> 0.8.0.dev.2-2.h1
- Type:bugfix
- Id:NA
- SUG:NA
- DESC:the debuginfo and debugsource packages are not generated by default

View File

@ -1,4 +0,0 @@
version_control: github
src_repo: moby/libnetwork
tag_prefix: ^v
seperator: .