Compare commits

...
Sign in to create a new pull request.

37 commits

Author SHA1 Message Date
Fedora Release Engineering
06a12a9c8c vzctl fails to build from source: https://bugzilla.redhat.com/show_bug.cgi?id=1676199 2019-08-08 16:48:34 +00:00
Fedora Release Engineering
ee44a08ac3 - Rebuilt for https://fedoraproject.org/wiki/Fedora_31_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-07-27 03:14:41 +00:00
Fedora Release Engineering
2fa737ef29 - Rebuilt for https://fedoraproject.org/wiki/Fedora_30_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2019-02-03 11:30:09 +00:00
b6558c0fe0 Remove obsolete Group tag
References: https://fedoraproject.org/wiki/Changes/Remove_Group_Tag
2019-01-28 20:24:54 +01:00
Fedora Release Engineering
0c08da31f1 - Rebuilt for https://fedoraproject.org/wiki/Fedora_29_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-07-14 08:41:46 +00:00
Igor Gnatenko
2808f3a93b add BuildRequires: gcc
Reference: https://fedoraproject.org/wiki/Changes/Remove_GCC_from_BuildRoot
2018-07-09 19:06:53 +02:00
Fedora Release Engineering
a44eb6b791 - Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild
Signed-off-by: Fedora Release Engineering <releng@fedoraproject.org>
2018-02-09 20:43:00 +00:00
0d4453004c Remove old crufty coreutils requires
Signed-off-by: Igor Gnatenko <ignatenkobrain@fedoraproject.org>
2017-11-07 16:37:36 +01:00
Fedora Release Engineering
18dd96185f - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild 2017-08-03 10:10:29 +00:00
Fedora Release Engineering
6815fdfd79 - Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Mass_Rebuild 2017-07-27 21:27:59 +00:00
Fedora Release Engineering
2c4ec61c85 - Rebuilt for https://fedoraproject.org/wiki/Fedora_26_Mass_Rebuild 2017-02-11 17:13:48 +00:00
Fedora Release Engineering
f33080fb06 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild 2016-02-05 02:52:36 +00:00
Dennis Gilmore
a1f06f3fe8 - Rebuilt for https://fedoraproject.org/wiki/Fedora_23_Mass_Rebuild 2015-06-19 02:11:42 +00:00
Andrey Vagin
216d73812f Update to 4.8 2014-10-08 23:41:43 +04:00
b9ed3efe6c - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_22_Mass_Rebuild 2014-08-18 08:14:16 +00:00
Dennis Gilmore
99249e25e4 - Rebuilt for https://fedoraproject.org/wiki/Fedora_21_Mass_Rebuild 2014-06-07 23:07:34 -05:00
Andrey Vagin
4ead461b9d Update to 4.7.2 2014-05-13 00:52:04 +04:00
Andrey Vagin
8049ec16b0 Update to 4.6.1 2013-11-28 08:07:22 +04:00
Andrey Vagin
5cc916ad18 Update to 4.6 2013-11-07 18:07:45 +04:00
Andrey Vagin
f1c581b8a1 Update to 4.5.1 2013-09-10 23:46:22 +04:00
Dennis Gilmore
21028e4f0d - Rebuilt for https://fedoraproject.org/wiki/Fedora_20_Mass_Rebuild 2013-08-04 01:32:54 -05:00
Igor Gnatenko
4dcf7c40ff crtools requirements only for x86_64 arch
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Signed-off-by: Andrey Vagin <avagin@openvz.org>
2013-07-23 15:38:21 +04:00
Andrey Vagin
ed5f326bcd Update .gitignore 2013-07-22 16:22:54 +04:00
Andrey Vagin
6c5e7a641c Update the sources file 2013-07-22 14:08:24 +04:00
Igor Gnatenko
830c2d5b5e spec: update to 4.4, update changelog, fix patches
Update source to 4.4. Update changelog ( we don't use long changelog when we have
web page ). Drop one of patches ( it's already in sources ).
Update patch for new version.
Bad idea to disable SELinux and edit sysctl. For selinux we should create policy
and we do it. Now also we have "known issues" with note for SELinux. But I've updated
wiki page with notes of new script ( %{_scriptdir}/vz-postinstall ).

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
2013-07-22 14:02:29 +04:00
Igor Gnatenko
b482dcab13 spec: fix whitespaces, macros instead of bash vars, link
From 6981c415197278fdf51c844a97277a72d3e54699 Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Date: Fri, 19 Jul 2013 21:02:06 +0400
Subject: [PATCH 4/5] spec: fix whitespaces, macros instead of bash vars,
link

In future $RPM_BUILD_ROOT and other bash vars will droped. Also
all macros has at the beginning '/' and we should (for better)
anymore use '/%{macros}'.
Delete hardcoded paths, delete ls ins %install section (not needed).
Fix link to directory. Link isn't directory. Link is file.

Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Signed-off-by: Andrey Vagin <avagin@openvz.org>
2013-07-22 12:43:52 +04:00
Igor Gnatenko
9f5b767743 spec: fix requirements crtools, bash
From 89d4597b9b0514307a407bba4f87ea0c9f1ed3dd Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Date: Fri, 19 Jul 2013 20:59:50 +0400
Subject: [PATCH 2/5] spec: fix requirements crtools, bash

Fix requirements:
(1) crtools needed because not work basic functionality [0]
(2) RPM automatically picks up /bin/sh for package. In CentOS 5+
    only bash package provides it.

[0] https://fedoraproject.org/wiki/QA:Testcase_vzctl_base

Acked-by: Kir Kolyshkin <kir@openvz.org>
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Signed-off-by: Andrew Vagin <avagin@opanvz.org>
2013-07-22 12:30:05 +04:00
Igor Gnatenko
e509abb21f spec: fix whitespaces, hardcoded paths, macros styles in defines
From d89fe73bba3f10df6c786bfba8240cb0a3386c36 Mon Sep 17 00:00:00 2001
From: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Date: Fri, 19 Jul 2013 20:58:40 +0400
Subject: [PATCH 1/5] spec: fix whitespaces, hardcoded paths, macros
styles in
 defines

Acked-by: Kir Kolyshkin <kir@openvz.org>
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Signed-off-by: Andrew Vagin <avagin@openvz.org>
2013-07-22 12:29:44 +04:00
Andrey Vagin
c1940ac70b Typo fix in spec file 2013-06-07 04:36:05 +04:00
Andrey Vagin
e2f6359e16 Fix compilation on architectures without support for VZ (rhbz 971821)
Signed-off-by: Andrey Vagin <avagin@openvz.org>
2013-06-07 02:00:55 +04:00
Andrey Vagin
4e79da3b09 Include missing dependency for gnugpg
Signed-off-by: Andrey Vagin <avagin@openvz.org>
2013-06-06 00:48:55 +04:00
Andrey Vagin
a26ec8e81c Set default values of LOCAL_*ID to zero until userns is enabled
CONFIG_USER_NS is not set in the kernel config.
2013-06-05 23:39:11 +04:00
Andrey Vagin
bc3f141024 Updated to upstream version 4.3.1
Signed-off-by: Andrey Vagin <avagin@openvz.org>
2013-06-05 18:13:17 +04:00
Glauber Costa
16d3e9e7fd Initial fixes for F19.
Mostly discovered by internal testing, so no BZ

Signed-off-by: Glauber Costa <glommer@gmail.com>
2013-04-24 18:26:33 +04:00
Dennis Gilmore
dda2d55baf - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild 2013-02-14 20:56:23 -06:00
Glauber Costa
e3b3756b7d commiting to sources file for #878416 2012-12-11 12:59:48 +04:00
Glauber Costa
48a27e741d fix #878416 - build OpenVZ in secondary architectures.
The minor update from vzctl-4.1 to vzctl-4.1.1 fixes this. Since
it is a minor realease, let's just update instead of carrying the patch
2012-12-11 12:48:06 +04:00
4 changed files with 1 additions and 213 deletions

1
.gitignore vendored
View file

@ -1 +0,0 @@
/vzctl-4.1.tar.bz2

1
dead.package Normal file
View file

@ -0,0 +1 @@
vzctl fails to build from source: https://bugzilla.redhat.com/show_bug.cgi?id=1676199

View file

@ -1 +0,0 @@
6cb0072890fa30864586b6033b640441 vzctl-4.1.tar.bz2

View file

@ -1,211 +0,0 @@
%define _initddir %_sysconfdir/init.d
%define _vzdir /var/lib/vz
%define _lockdir %{_vzdir}/lock
%define _dumpdir %{_vzdir}/dump
%define _privdir %{_vzdir}/private
%define _rootdir %{_vzdir}/root
%define _templatedir %{_vzdir}/template/
%define _cachedir %{_templatedir}/cache
%define _vzctlvardir /var/lib/vzctl/
%define _veipdir %{_vzctlvardir}/veip
%define _pkglibdir %_libexecdir/vzctl
%define _scriptdir %_pkglibdir/scripts
%define _configdir %_sysconfdir/vz
%define _vpsconfdir %_sysconfdir/sysconfig/vz-scripts
%define _netdir %_sysconfdir/sysconfig/network-scripts
%define _logrdir %_sysconfdir/logrotate.d
%define _distconfdir %{_configdir}/dists
%define _namesdir %{_configdir}/names
%define _distscriptdir %{_distconfdir}/scripts
%define _udevrulesdir %_sysconfdir/udev/rules.d
%define _bashcdir %_sysconfdir/bash_completion.d
Summary: OpenVZ containers control utility
Name: vzctl
Version: 4.1
%define rel 2
Release: %{rel}%{?dist}
License: GPLv2+
Group: System Environment/Kernel
Source: http://download.openvz.org/utils/%{name}/%{version}/src/%{name}-%{version}.tar.bz2
URL: http://openvz.org/
# OpenVZ can run on its own kernel, and if that it is the case, some more
# utilities are needed. They call the core package, that we are installing here,
# "vzctl-core". So we are following their name convention
%package core
Summary: OpenVZ containers control utility core
Group: System Environment/Kernel
Requires: fileutils
Requires: tar
# these reqs are for vz helper scripts
Requires: bash
Requires: gawk
Requires: sed
Requires: grep
# requires for bash_completion and vps-download
Requires: wget
BuildRequires: libcgroup-devel >= 0.38
%description core
OpenVZ containers control utility core package
%description
This utility allows system administrators to control OpenVZ containers:
i.e. create, start, shutdown, set various options and limits etc.
%prep
%setup -q
%build
CFLAGS="$RPM_OPT_FLAGS" %configure \
vzdir=%{_vzdir} \
--enable-bashcomp \
--enable-logrotate \
--without-ploop \
--disable-static
make %{?_smp_mflags}
%install
make DESTDIR=$RPM_BUILD_ROOT vpsconfdir=%{_vpsconfdir} \
install install-redhat-from-spec
ln -s ../sysconfig/vz-scripts $RPM_BUILD_ROOT/%{_configdir}/conf
ln -s ../vz/vz.conf $RPM_BUILD_ROOT/etc/sysconfig/vz
rm -f $RPM_BUILD_ROOT/%{_libdir}/libvzctl.la
rm -f $RPM_BUILD_ROOT/%{_libdir}/libvzctl.so
# Those are binaries that either are not ported to vzctl with Upstream Linux,
# or are not applicable to that case. "make install" will copy them over, so we
# just ignore them.
rm -f $RPM_BUILD_ROOT/%{_sbindir}/vzsplit
rm -f $RPM_BUILD_ROOT/%{_sbindir}/vzlist
rm -f $RPM_BUILD_ROOT/%{_sbindir}/vzmemcheck
rm -f $RPM_BUILD_ROOT/%{_sbindir}/vzcpucheck
rm -f $RPM_BUILD_ROOT/%{_sbindir}/vznetcfg
rm -f $RPM_BUILD_ROOT/%{_sbindir}/vznetaddbr
rm -f $RPM_BUILD_ROOT/%{_sbindir}/vzcalc
rm -f $RPM_BUILD_ROOT/%{_sbindir}/vzpid
rm -f $RPM_BUILD_ROOT/%{_sbindir}/vzcfgvalidate
rm -f $RPM_BUILD_ROOT/%{_sbindir}/vzifup-post
rm -f $RPM_BUILD_ROOT/%{_sbindir}/vzeventd
rm -f $RPM_BUILD_ROOT/%{_sbindir}/vzmigrate
rm -f $RPM_BUILD_ROOT/%{_sbindir}/vzubc
rm -f $RPM_BUILD_ROOT/%{_netdir}/ifup-venet
rm -f $RPM_BUILD_ROOT/%{_netdir}/ifdown-venet
rm -f $RPM_BUILD_ROOT/%{_netdir}/ifcfg-venet0
rm -f $RPM_BUILD_ROOT/%{_initddir}/vz
rm -f $RPM_BUILD_ROOT/%{_initddir}/vzeventd
rm -f $RPM_BUILD_ROOT/%{_udevrulesdir}/*
rm -f $RPM_BUILD_ROOT/%{_scriptdir}/vzevent-reboot
rm -f $RPM_BUILD_ROOT/%{_scriptdir}/vzevent-stop
rm -f $RPM_BUILD_ROOT/%{_scriptdir}/initd-functions
rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/vzeventd.8
rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/vzubc.8
rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/vzcalc.8
rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/vzcfgvalidate.8
rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/vzcpucheck.8
rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/vzifup-post.8
rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/vzlist.8
rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/vzmemcheck.8
rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/vzmigrate.8
rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/vzpid.8
rm -f $RPM_BUILD_ROOT/%{_mandir}/man8/vzsplit.8
ls $RPM_BUILD_ROOT/%{_mandir}/man8/
%post -p /sbin/ldconfig
%postun -p /sbin/ldconfig
%files core
%doc COPYING
%dir %{_scriptdir}
%dir %{_pkglibdir}
%dir %{_lockdir}
%dir %{_dumpdir}
%dir %attr(700,root,root) %{_privdir}
%dir %attr(700,root,root) %{_rootdir}
%dir %{_templatedir}
%dir %{_cachedir}
%dir %{_vzctlvardir}
%dir %{_veipdir}
%dir %{_configdir}
%dir %{_namesdir}
%dir %{_vpsconfdir}
%dir %{_distconfdir}
%dir %{_distscriptdir}
%dir %{_vzdir}
%dir %{_sysconfdir}/vz/conf
%{_bashcdir}/*
%{_libdir}/libvzctl-*.so
%{_sbindir}/vzctl
%{_sbindir}/arpsend
%{_sbindir}/ndsend
%{_distscriptdir}/*.sh
%{_distscriptdir}/functions
%{_mandir}/man8/vzctl.8.*
%{_mandir}/man8/arpsend.8.*
%{_mandir}/man8/ndsend.8.*
%{_mandir}/man5/ctid.conf.5.*
%{_mandir}/man5/vz.conf.5.*
%{_scriptdir}/vps-functions
%{_scriptdir}/vps-net_add
%{_scriptdir}/vps-net_del
%{_scriptdir}/vps-netns_dev_add
%{_scriptdir}/vps-netns_dev_del
%{_scriptdir}/vps-create
%{_scriptdir}/vps-download
%{_scriptdir}/vps-pci
%config %{_sysconfdir}/sysconfig/vz
%config(noreplace) %{_configdir}/vz.conf
%config(noreplace) %{_configdir}/osrelease.conf
%config(noreplace) %{_configdir}/download.conf
%config(noreplace) %{_configdir}/oom-groups.conf
%config(noreplace) %{_distconfdir}/*.conf
%config(noreplace) %{_vpsconfdir}/0.conf
%config(noreplace) %{_logrdir}/vzctl
%config %{_distconfdir}/default
%config %{_distconfdir}/distribution.conf-template
%config %{_vpsconfdir}/ve-basic.conf-sample
%config %{_vpsconfdir}/ve-light.conf-sample
%config %{_vpsconfdir}/ve-unlimited.conf-sample
%config %{_vpsconfdir}/ve-vswap-256m.conf-sample
%config %{_vpsconfdir}/ve-vswap-512m.conf-sample
%config %{_vpsconfdir}/ve-vswap-1024m.conf-sample
%config %{_vpsconfdir}/ve-vswap-1g.conf-sample
%config %{_vpsconfdir}/ve-vswap-2g.conf-sample
%config %{_vpsconfdir}/ve-vswap-4g.conf-sample
%changelog
* Thu Nov 15 2012 Glauber Costa <glommer@gmail.com> - 4.1-2
- Corrected license: GPLv2 -> GPLv2+, which is what the sources actually claim
- Fixed ownership problems with directories _vzdir/template/ and /var/lib/vzctl/
* Fri Nov 2 2012 Glauber Costa <glommer@gmail.com> - 4.1-1
- Updated to vzctl 4.1
- Changed hardcoded /vz path to /var/lib/vz
* Wed Oct 17 2012 Glauber Costa <glommer@gmail.com> - 4.0-2
- removed unnecessary _attr entries from _files
- removed _exclude entries from _files, moved it to install
- removed BUILD_ROOT cleaning in _install
- removed libxml2 dependency
* Sun Oct 15 2012 Glauber Costa <glommer@gmail.com> - 4.0-1
- Packaged for Fedora, trying to reuse as much information as possible from
upstream package.