forked from containers/podman
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
git clean -xdf go mod download go mod vendor tar zcvf ../podman_3.4.1.orig.tar.gz --exclude=.git . debuild -uc -us cp podman.spec ../podman_3.4.1-1.spec mv ../podman*3.4.1*.{gz,xz,spec,dsc} /osc/home\:alvistack/containers-podman-3.4.1/ rm -rf ../podman*3.4.1* Signed-off-by: Wong Hoi Sing Edison <[email protected]>
- Loading branch information
Showing
10 changed files
with
206 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
*.substvars | ||
*debhelper* | ||
.debhelper | ||
files | ||
podman | ||
tmp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
podman (100:3.4.1-1) UNRELEASED; urgency=medium | ||
|
||
* https://github.com/containers/podman/releases/tag/v3.4.1 | ||
|
||
-- Wong Hoi Sing Edison <[email protected]> Tue, 31 Aug 2021 12:20:54 +0800 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
Source: podman | ||
Section: devel | ||
Priority: optional | ||
Standards-Version: 4.5.0 | ||
Maintainer: Wong Hoi Sing Edison <[email protected]> | ||
Homepage: https://github.com/containers/podman/tags | ||
Vcs-Browser: https://github.com/alvistack/podman | ||
Vcs-Git: https://github.com/alvistack/podman.git | ||
Build-Depends: | ||
debhelper, | ||
debhelper-compat (= 10), | ||
golang-1.17, | ||
libapparmor-dev, | ||
libassuan-dev, | ||
libglib2.0-dev, | ||
libgpg-error-dev, | ||
libgpgme-dev, | ||
libseccomp-dev, | ||
libsystemd-dev, | ||
tzdata, | ||
|
||
Package: podman | ||
Architecture: linux-any | ||
Description: Daemon-less container engine for managing containers, pods and images | ||
Podman is a container engine for managing pods, containers, and | ||
container images. It is a standalone tool and it directly manipulates | ||
containers without the need of a container engine daemon. Podman is able | ||
to interact with container images create in buildah, cri-o, and skopeo, | ||
as they all share the same datastore backend. | ||
Depends: | ||
${shlibs:Depends}, | ||
${misc:Depends}, | ||
catatonit, | ||
conmon, | ||
containernetworking-plugins, | ||
containers-common, | ||
iptables, | ||
libapparmor1, | ||
libassuan0, | ||
libglib2.0-0, | ||
libgpg-error0, | ||
libgpgme11, | ||
libseccomp2, | ||
libsystemd0, | ||
oci-runtime, | ||
tzdata, |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
lib/systemd/system/podman-auto-update.service | ||
lib/systemd/system/podman-auto-update.timer | ||
lib/systemd/system/podman-restart.service | ||
lib/systemd/system/podman.service | ||
lib/systemd/system/podman.socket | ||
lib/systemd/user/podman-auto-update.service | ||
lib/systemd/user/podman-auto-update.timer | ||
lib/systemd/user/podman-restart.service | ||
lib/systemd/user/podman.service | ||
lib/systemd/user/podman.socket | ||
usr/bin/podman | ||
usr/share/bash-completion/completions/podman | ||
usr/share/bash-completion/completions/podman-remote | ||
usr/share/fish/vendor_completions.d/podman-remote.fish | ||
usr/share/fish/vendor_completions.d/podman.fish | ||
usr/share/zsh/site-functions/_podman | ||
usr/share/zsh/site-functions/_podman-remote |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
podman: copyright-without-copyright-notice | ||
podman: hardening-no-pie | ||
podman: initial-upload-closes-no-bugs | ||
podman: no-manual-page | ||
podman: statically-linked-binary | ||
podman: zero-byte-file-in-doc-directory |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
#!/usr/bin/make -f | ||
|
||
SHELL := /bin/bash | ||
|
||
override_dh_auto_build: | ||
mkdir -p bin | ||
set -ex && \ | ||
export CGO_ENABLED=1 && \ | ||
go build \ | ||
-mod vendor -buildmode pie -v \ | ||
-ldflags "-s -w" \ | ||
-tags "netgo osusergo exclude_graphdriver_devicemapper exclude_graphdriver_btrfs containers_image_openpgp seccomp apparmor" \ | ||
-o ./bin/podman ./cmd/podman | ||
|
||
override_dh_auto_install: | ||
install -Dpm755 -d debian/tmp/usr/bin | ||
install -Dpm755 -t debian/tmp/usr/bin bin/podman | ||
DESTDIR=debian/tmp \ | ||
PREFIX=/usr \ | ||
SYSTEMDDIR=/lib/systemd/system \ | ||
USERSYSTEMDDIR=/lib/systemd/user \ | ||
make install.completions install.systemd | ||
|
||
override_dh_auto_test: | ||
|
||
override_dh_auto_clean: | ||
|
||
%: | ||
dh $@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
3.0 (quilt) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
podman source: no-debian-changes |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
%global debug_package %{nil} | ||
|
||
Name: podman | ||
Epoch: 100 | ||
Version: 3.4.1 | ||
Release: 1%{?dist} | ||
Summary: Daemon-less container engine for managing containers, pods and images | ||
License: Apache-2.0 | ||
URL: https://github.com/containers/podman/tags | ||
Source0: %{name}_%{version}.orig.tar.gz | ||
%if 0%{?suse_version} > 1500 || 0%{?sle_version} > 150000 | ||
BuildRequires: timezone | ||
%else | ||
BuildRequires: tzdata | ||
%endif | ||
BuildRequires: golang-1.17 | ||
BuildRequires: glibc-static | ||
BuildRequires: glib2-devel | ||
BuildRequires: gpgme-devel | ||
BuildRequires: libassuan-devel | ||
BuildRequires: libgpg-error-devel | ||
BuildRequires: libseccomp-devel | ||
BuildRequires: make | ||
BuildRequires: pkgconfig | ||
BuildRequires: systemd-devel | ||
%if 0%{?suse_version} > 1500 || 0%{?sle_version} > 150000 | ||
Requires: timezone | ||
%else | ||
Requires: tzdata | ||
%endif | ||
Requires: catatonit | ||
Requires: conmon | ||
Requires: containernetworking-plugins | ||
Requires: containers-common | ||
Requires: iptables | ||
Requires: libassuan.so.0()(64bit) | ||
Requires: libglib-2.0.so.0()(64bit) | ||
Requires: libgpgme.so.11()(64bit) | ||
Requires: libseccomp.so.2()(64bit) | ||
Requires: libsystemd.so.0()(64bit) | ||
Requires: oci-runtime | ||
|
||
%description | ||
Podman is a container engine for managing pods, containers, and | ||
container images. It is a standalone tool and it directly manipulates | ||
containers without the need of a container engine daemon. Podman is able | ||
to interact with container images create in buildah, cri-o, and skopeo, | ||
as they all share the same datastore backend. | ||
|
||
%prep | ||
%autosetup -T -c -n %{name}_%{version}-%{release} | ||
tar -zx -f %{S:0} --strip-components=1 -C . | ||
|
||
%build | ||
mkdir -p bin | ||
set -ex && \ | ||
export CGO_ENABLED=1 && \ | ||
go build \ | ||
-mod vendor -buildmode pie -v \ | ||
-ldflags "-s -w" \ | ||
-tags "netgo osusergo exclude_graphdriver_devicemapper exclude_graphdriver_btrfs containers_image_openpgp seccomp selinux" \ | ||
-o ./bin/podman ./cmd/podman | ||
|
||
%install | ||
install -Dpm755 -d %{buildroot}%{_bindir} | ||
install -Dpm755 -t %{buildroot}%{_bindir}/ bin/podman | ||
DESTDIR=%{buildroot} \ | ||
PREFIX=%{_prefix} \ | ||
SYSTEMDDIR=%{_unitdir} \ | ||
USERSYSTEMDDIR=%{_userunitdir} \ | ||
make install.completions install.systemd | ||
|
||
%files | ||
%license LICENSE | ||
%dir %{_prefix}/share/fish | ||
%dir %{_prefix}/share/fish/vendor_completions.d | ||
%{_bindir}/podman | ||
%{_prefix}/share/bash-completion/completions/podman | ||
%{_prefix}/share/bash-completion/completions/podman-remote | ||
%{_prefix}/share/fish/vendor_completions.d/podman-remote.fish | ||
%{_prefix}/share/fish/vendor_completions.d/podman.fish | ||
%{_prefix}/share/zsh/site-functions/_podman | ||
%{_prefix}/share/zsh/site-functions/_podman-remote | ||
%{_unitdir}/podman-auto-update.service | ||
%{_unitdir}/podman-auto-update.timer | ||
%{_unitdir}/podman-restart.service | ||
%{_unitdir}/podman.service | ||
%{_unitdir}/podman.socket | ||
%{_userunitdir}/podman-auto-update.service | ||
%{_userunitdir}/podman-auto-update.timer | ||
%{_userunitdir}/podman-restart.service | ||
%{_userunitdir}/podman.service | ||
%{_userunitdir}/podman.socket | ||
|
||
%changelog |