forked from containers/crun
-
Notifications
You must be signed in to change notification settings - Fork 0
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 git submodule sync --recursive git submodule update --recursive git submodule foreach --recursive git clean -xdf tar zcvf ../crun_1.9.orig.tar.gz --exclude=.git . debuild -uc -us cp crun.spec ../crun_1.9-1.spec mv ../crun*1.9*.{gz,xz,spec,dsc} /osc/home\:alvistack/containers-crun-1.9/ rm -rf ../crun*1.9*.* See containers#1299 Signed-off-by: Wong Hoi Sing Edison <[email protected]>
- Loading branch information
Showing
15 changed files
with
189 additions
and
3 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 |
---|---|---|
|
@@ -15,7 +15,6 @@ | |
*.socket | ||
*.swp | ||
.version | ||
git-version.h | ||
*~ | ||
.#* | ||
.color_coded | ||
|
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 @@ | ||
1.9 |
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
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,79 @@ | ||
# Copyright 2023 Wong Hoi Sing Edison <[email protected]> | ||
# | ||
# Licensed under the Apache License, Version 2.0 (the "License"); | ||
# you may not use this file except in compliance with the License. | ||
# You may obtain a copy of the License at | ||
# | ||
# http://www.apache.org/licenses/LICENSE-2.0 | ||
# | ||
# Unless required by applicable law or agreed to in writing, software | ||
# distributed under the License is distributed on an "AS IS" BASIS, | ||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
# See the License for the specific language governing permissions and | ||
# limitations under the License. | ||
|
||
%global debug_package %{nil} | ||
|
||
Name: crun | ||
Epoch: 100 | ||
Version: 1.9 | ||
Release: 1%{?dist} | ||
Summary: OCI runtime written in C | ||
License: GPLv2 | ||
URL: https://github.com/containers/crun/tags | ||
Source0: %{name}_%{version}.orig.tar.gz | ||
%if 0%{?centos_version} == 700 | ||
BuildRequires: devtoolset-11-gcc | ||
BuildRequires: devtoolset-11-gcc-c++ | ||
%endif | ||
BuildRequires: autoconf | ||
BuildRequires: automake | ||
BuildRequires: gcc | ||
BuildRequires: glibc-static | ||
BuildRequires: libcap-devel | ||
BuildRequires: libseccomp-devel | ||
BuildRequires: libtool | ||
BuildRequires: pkgconfig | ||
BuildRequires: python3 | ||
BuildRequires: systemd-devel | ||
BuildRequires: yajl-devel | ||
Provides: oci-runtime | ||
Requires: libcap.so.2()(64bit) | ||
Requires: libseccomp.so.2()(64bit) | ||
Requires: libsystemd.so.0()(64bit) | ||
Requires: libyajl.so.2()(64bit) | ||
Requires: systemd | ||
|
||
%description | ||
crun is a runtime for running OCI containers. | ||
|
||
%prep | ||
%autosetup -T -c -n %{name}_%{version}-%{release} | ||
tar -zx -f %{S:0} --strip-components=1 -C . | ||
|
||
%build | ||
%if 0%{?centos_version} == 700 | ||
. /opt/rh/devtoolset-11/enable | ||
%endif | ||
autoreconf -i | ||
%if 0%{?suse_version} > 1500 || 0%{?sle_version} > 150000 | ||
export CFLAGS='-I /usr/include/libseccomp' | ||
%endif | ||
%configure \ | ||
%if 0%{?centos_version} == 700 | ||
--disable-systemd \ | ||
%endif | ||
--disable-shared \ | ||
--disable-static | ||
%make_build | ||
|
||
%install | ||
%make_install | ||
rm -rf %{buildroot}/%{_libdir}/* | ||
rm -rf %{buildroot}/%{_mandir}/man1/* | ||
|
||
%files | ||
%license COPYING | ||
%{_bindir}/crun | ||
|
||
%changelog |
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 | ||
autoreconf.* | ||
files | ||
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 @@ | ||
crun (100:1.9-1) UNRELEASED; urgency=medium | ||
|
||
* https://github.com/containers/crun/releases/tag/1.9 | ||
|
||
-- Wong Hoi Sing Edison <[email protected]> Fri, 08 Sep 2023 11:09:45 +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,11 @@ | ||
Makefile | ||
aclocal.m4 | ||
config.h | ||
config.log | ||
config.status | ||
libocispec/aclocal.m4 | ||
libocispec/build-aux/ltmain.sh | ||
libocispec/m4/libtool.m4 | ||
libtool | ||
rpm/crun.spec | ||
stamp-h1 |
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,34 @@ | ||
Source: crun | ||
Section: devel | ||
Priority: optional | ||
Standards-Version: 4.5.0 | ||
Maintainer: Wong Hoi Sing Edison <[email protected]> | ||
Homepage: https://github.com/containers/crun/tags | ||
Vcs-Browser: https://github.com/alvistack/containers-crun | ||
Vcs-Git: https://github.com/alvistack/containers-crun.git | ||
Build-Depends: | ||
debhelper, | ||
debhelper-compat (= 10), | ||
autoconf, | ||
automake, | ||
libcap-dev, | ||
libseccomp-dev, | ||
libsystemd-dev, | ||
libyajl-dev, | ||
pkg-config, | ||
python3, | ||
|
||
Package: crun | ||
Architecture: amd64 | ||
Description: OCI runtime written in C | ||
crun is a runtime for running OCI containers. | ||
Depends: | ||
${shlibs:Depends}, | ||
${misc:Depends}, | ||
libcap2, | ||
libseccomp2, | ||
libsystemd0, | ||
libyajl2, | ||
systemd, | ||
Provides: | ||
oci-runtime, |
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,21 @@ | ||
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ | ||
|
||
Files: debian/* | ||
Copyright: 2023 Wong Hoi Sing Edison <[email protected]> | ||
License: Apache-2.0 | ||
|
||
License: Apache-2.0 | ||
Licensed under the Apache License, Version 2.0 (the "License"); | ||
you may not use this file except in compliance with the License. | ||
You may obtain a copy of the License at | ||
. | ||
http://www.apache.org/licenses/LICENSE-2.0 | ||
. | ||
Unless required by applicable law or agreed to in writing, software | ||
distributed under the License is distributed on an "AS IS" BASIS, | ||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. | ||
See the License for the specific language governing permissions and | ||
limitations under the License. | ||
. | ||
The complete text of the Apache version 2.0 license | ||
can be found in "/usr/share/common-licenses/Apache-2.0". |
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 @@ | ||
usr/bin/crun |
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,4 @@ | ||
crun: copyright-without-copyright-notice | ||
crun: initial-upload-closes-no-bugs | ||
crun: no-manual-page | ||
crun: 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,21 @@ | ||
#!/usr/bin/make -f | ||
|
||
SHELL := /bin/bash | ||
|
||
override_dh_autoreconf: | ||
dh_autoreconf | ||
|
||
override_dh_auto_configure: | ||
dh_auto_configure -- \ | ||
--disable-shared \ | ||
--disable-static | ||
|
||
override_dh_auto_install: | ||
dh_auto_install --destdir=debian/tmp | ||
|
||
override_dh_auto_test: | ||
|
||
override_dh_auto_clean: | ||
|
||
%: | ||
dh $@ --buildsystem=autoconf |
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,4 @@ | ||
crun source: configure-generated-file-in-source | ||
crun source: file-without-copyright-information | ||
crun source: no-debian-changes | ||
crun source: source-is-missing |
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 @@ | ||
#define GIT_VERSION "a538ac4ea1ff319bcfe2bf81cb5c6f687e2dc9d3" |