public inbox for ipfire-scm@lists.ipfire.org
 help / color / mirror / Atom feed
From: git@ipfire.org
To: ipfire-scm@lists.ipfire.org
Subject: [git.ipfire.org] IPFire 3.x development tree branch, master, updated. 42fb9db2851e18ef4ae9999d6096603ea71b34b9
Date: Sun, 16 Jun 2013 13:52:33 +0200	[thread overview]
Message-ID: <20130616115234.35DC8206C2@argus.ipfire.org> (raw)

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

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "IPFire 3.x development tree".

The branch, master has been updated
       via  42fb9db2851e18ef4ae9999d6096603ea71b34b9 (commit)
       via  a5e024f4a636210934d8547d0a7c1777892fe57f (commit)
      from  316f3de4a76efcf48a4e597ffe6d2896478884fc (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 42fb9db2851e18ef4ae9999d6096603ea71b34b9
Merge: a5e024f 316f3de
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date:   Sun Jun 16 13:52:07 2013 +0200

    Merge branch 'master' of ssh://git.ipfire.org/pub/git/ipfire-3.x

commit a5e024f4a636210934d8547d0a7c1777892fe57f
Author: Michael Tremer <michael.tremer(a)ipfire.org>
Date:   Sun Jun 16 13:51:41 2013 +0200

    ipvsadm: New package.

-----------------------------------------------------------------------

Summary of changes:
 ipvsadm/ipvsadm.nm                             | 47 ++++++++++++++++++++++++++
 ipvsadm/patches/ipvsadm-1.26-list-daemon.patch | 29 ++++++++++++++++
 ipvsadm/patches/ipvsadm-1.26-popt.patch        | 20 +++++++++++
 3 files changed, 96 insertions(+)
 create mode 100644 ipvsadm/ipvsadm.nm
 create mode 100644 ipvsadm/patches/ipvsadm-1.26-list-daemon.patch
 create mode 100644 ipvsadm/patches/ipvsadm-1.26-popt.patch

Difference in files:
diff --git a/ipvsadm/ipvsadm.nm b/ipvsadm/ipvsadm.nm
new file mode 100644
index 0000000..6370919
--- /dev/null
+++ b/ipvsadm/ipvsadm.nm
@@ -0,0 +1,47 @@
+###############################################################################
+# IPFire.org    - An Open Source Firewall Solution                            #
+# Copyright (C) - IPFire Development Team <info(a)ipfire.org>                   #
+###############################################################################
+
+name       = ipvsadm
+version    = 1.26
+release    = 1
+
+groups     = Applications/System
+url        = http://www.linuxvirtualserver.org/software/ipvs.html
+license    = GPLv2+
+summary    = Utility to administer the Linux Virtual Server.
+
+description
+	ipvsadm is a utility to administer the IP Virtual Server services
+	offered by the Linux kernel.
+end
+
+source_dl  = http://www.linuxvirtualserver.org/software/kernel-2.6/
+
+build
+	requires
+		libnl-devel
+		popt-devel
+	end
+
+	PARALLELISMFLAGS = # parallel build not supported
+
+	make_build_targets += CFLAGS="%{CFLAGS}"
+
+	make_install_targets += BUILD_ROOT="%{BUILDROOT}" \
+		SBIN="%{BUILDROOT}%{sbindir}" MANDIR="%{mandir}"
+
+	install_cmds
+		# Remove unwanted files.
+		rm -vfr %{BUILDROOT}/etc
+	end
+end
+
+packages
+	package %{name}
+
+	package %{name}-debuginfo
+		template DEBUGINFO
+	end
+end
diff --git a/ipvsadm/patches/ipvsadm-1.26-list-daemon.patch b/ipvsadm/patches/ipvsadm-1.26-list-daemon.patch
new file mode 100644
index 0000000..5300a07
--- /dev/null
+++ b/ipvsadm/patches/ipvsadm-1.26-list-daemon.patch
@@ -0,0 +1,29 @@
+diff -Naupr ipvsadm-1.26.orig/ipvsadm.c ipvsadm-1.26/ipvsadm.c
+--- ipvsadm-1.26.orig/ipvsadm.c	2011-02-06 20:38:57.000000000 -0600
++++ ipvsadm-1.26/ipvsadm.c	2012-03-26 16:58:42.796919112 -0500
+@@ -1631,16 +1631,19 @@ void list_timeout(void)
+ static void list_daemon(void)
+ {
+ 	ipvs_daemon_t *u;
++	int i;
+ 
+ 	if (!(u = ipvs_get_daemon()))
+ 		exit(1);
+ 
+-	if (u[0].state & IP_VS_STATE_MASTER)
+-		printf("master sync daemon (mcast=%s, syncid=%d)\n",
+-		       u[0].mcast_ifn, u[0].syncid);
+-	if (u[1].state & IP_VS_STATE_BACKUP)
+-		printf("backup sync daemon (mcast=%s, syncid=%d)\n",
+-		       u[1].mcast_ifn, u[1].syncid);
++	for (i = 0; i < 2; i++) {
++		if (u[i].state & IP_VS_STATE_MASTER)
++			printf("master sync daemon (mcast=%s, syncid=%d)\n",
++			       u[i].mcast_ifn, u[i].syncid);
++		if (u[i].state & IP_VS_STATE_BACKUP)
++			printf("backup sync daemon (mcast=%s, syncid=%d)\n",
++			       u[i].mcast_ifn, u[i].syncid);
++	}
+ 	free(u);
+ }
+ 
diff --git a/ipvsadm/patches/ipvsadm-1.26-popt.patch b/ipvsadm/patches/ipvsadm-1.26-popt.patch
new file mode 100644
index 0000000..5b7f9ea
--- /dev/null
+++ b/ipvsadm/patches/ipvsadm-1.26-popt.patch
@@ -0,0 +1,20 @@
+diff -Naupr ipvsadm-1.26.orig/Makefile ipvsadm-1.26/Makefile
+--- ipvsadm-1.26.orig/Makefile	2011-02-08 01:24:23.000000000 +0100
++++ ipvsadm-1.26/Makefile	2011-07-09 23:22:54.834017156 +0200
+@@ -63,15 +63,7 @@ RPMBUILD = $(shell				\
+ 	fi )
+ 
+ ifeq (,$(FORCE_GETOPT))
+-LIB_SEARCH = /lib64 /usr/lib64 /usr/local/lib64 /lib /usr/lib /usr/local/lib
+-POPT_LIB = $(shell for i in $(LIB_SEARCH); do \
+-  if [ -f $$i/libpopt.a ]; then \
+-    if nm $$i/libpopt.a | fgrep -q poptGetContext; then \
+-	echo "-lpopt"; \
+-	break; \
+-    fi; \
+-  fi; \
+-done)
++POPT_LIB = "-lpopt"
+ endif
+ 
+ ifneq (,$(POPT_LIB))


hooks/post-receive
--
IPFire 3.x development tree

                 reply	other threads:[~2013-06-16 11:52 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=20130616115234.35DC8206C2@argus.ipfire.org \
    --to=git@ipfire.org \
    --cc=ipfire-scm@lists.ipfire.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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox