ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Michael Shigorin <mike@osdn.org.ua>
To: sisyphus@lists.altlinux.org
Subject: [sisyphus] IA: openvswitch
Date: Tue, 21 Feb 2012 20:39:02 +0200
Message-ID: <20120221183902.GD938@osdn.org.ua> (raw)

[-- Attachment #1: Type: text/plain, Size: 486 bytes --]

	Здравствуйте.
Если вдруг кому интересно, опакетил http://openvswitch.org.

Работоспособный вариант базовой части отправляется в сизиф,
из недоперепиленного -- питоньи привязки и использующее их
(bugtool, xenapi и что-то ещё из дополнительного).

Для предметного осмотра потребуются ядерные модули,
собираемые по прилагаемому спеку из создаваемых
kernel-source либо вошедшие в ядро 3.3+.

-- 
 ---- WBR, Michael Shigorin <mike@altlinux.ru>
  ------ Linux.Kiev http://www.linux.kiev.ua/

[-- Attachment #2: kernel-modules-openvswitch.spec --]
[-- Type: text/plain, Size: 2106 bytes --]

%define module_name	openvswitch
%define module_version	1.4.0
%define module_release	alt1

%define kversion	3.2.6
%define kextraversion	%nil

%define krelease	alt1
%define flavour		std-def

%define norm_version	%kversion

%define module_dir /lib/modules/%kversion%kextraversion-%flavour-%krelease/net

Summary: Modules for Open Virtual Switch
Name: kernel-modules-%module_name-%flavour
Version: %module_version
Release: %module_release.197126.1
License: GPLv2+
Group: System/Kernel and hardware

Packager: Kernel Maintainer Team <kernel@packages.altlinux.org>

ExclusiveOS: Linux
Url: http://www.openvswitch.org
BuildRequires(pre): rpm-build-kernel
BuildRequires: kernel-source-%{module_name} = %module_version
BuildRequires: kernel-headers-modules-%flavour = %kversion-%krelease

Provides:  kernel-modules-%module_name-%kversion-%flavour-%krelease = %version-%release
Conflicts: kernel-modules-%module_name-%kversion-%flavour-%krelease < %version-%release
Conflicts: kernel-modules-%module_name-%kversion-%flavour-%krelease > %version-%release

PreReq: coreutils
PreReq: kernel-image-%flavour = %kversion-%krelease
Requires(postun): kernel-image-%flavour = %kversion-%krelease

%description
These packages contain kernel modules
supporting the openvswitch datapath.

%prep
rm -rf kernel-source-%module_name-%module_version
tar xvf %kernel_src/kernel-source-%module_name-%module_version.tar
%setup -D -T -n kernel-source-%module_name-%module_version

%build
# Kconfig bits spilled all over configure script...
%configure \
	--with-linux=%_usrsrc/linux-%kversion-%flavour-%krelease
make -C datapath/linux
strip datapath/linux/*.ko

%install
install -d %buildroot/%module_dir
install -pm644 datapath/linux/*.ko %buildroot/%module_dir/

%post
%post_kernel_modules %kversion%kextraversion-%flavour-%krelease

%postun
%postun_kernel_modules %kversion%kextraversion-%flavour-%krelease

%files
%module_dir

%changelog
* Wed Feb 15 2012 Michael Shigorin <mike@altlinux.org> 1.4.0-alt1.197126.1
- built for ALT Linux
  + spec based on kernel-modules-bcmwl-std-ng by shrek@ and gns@
  + thanks led@ for hints either


                 reply	other threads:[~2012-02-21 18:39 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120221183902.GD938@osdn.org.ua \
    --to=mike@osdn.org.ua \
    --cc=shigorin@gmail.com \
    --cc=sisyphus@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git