summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2015-08-08 13:49:04 -0700
committerRobin H. Johnson <robbat2@gentoo.org>2015-08-08 17:38:18 -0700
commit56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch)
tree3f91093cdb475e565ae857f1c5a7fd339e2d781e /net-misc/vrrpd
downloadgentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2
gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip
proj/gentoo: Initial commit
This commit represents a new era for Gentoo: Storing the gentoo-x86 tree in Git, as converted from CVS. This commit is the start of the NEW history. Any historical data is intended to be grafted onto this point. Creation process: 1. Take final CVS checkout snapshot 2. Remove ALL ChangeLog* files 3. Transform all Manifests to thin 4. Remove empty Manifests 5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$ 5.1. Do not touch files with -kb/-ko keyword flags. Signed-off-by: Robin H. Johnson <robbat2@gentoo.org> X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'net-misc/vrrpd')
-rw-r--r--net-misc/vrrpd/Manifest2
-rw-r--r--net-misc/vrrpd/files/vrrpd-1.9-rollup.patch37
-rw-r--r--net-misc/vrrpd/metadata.xml11
-rw-r--r--net-misc/vrrpd/vrrpd-1.0.ebuild26
-rw-r--r--net-misc/vrrpd/vrrpd-1.9.ebuild34
5 files changed, 110 insertions, 0 deletions
diff --git a/net-misc/vrrpd/Manifest b/net-misc/vrrpd/Manifest
new file mode 100644
index 000000000000..d66cc985c232
--- /dev/null
+++ b/net-misc/vrrpd/Manifest
@@ -0,0 +1,2 @@
+DIST vrrpd-1.0.tar.gz 68819 SHA256 5d49eee9ecb3ceba3a35182930d3d740f771c8f7950b2327502a79c66bca2fd6 SHA512 bf855d4d196fe7ee2d6fb8db02d86941ce6e0ddac59896c649df99eb20002d23a42a60dc11ddb1a35da6bb6b20099df81e2e6114915e71d06cbc82d93a0ff82f WHIRLPOOL 34028a5bcb28645840cee636c22e647972b9f4c2ac71369168131a5ea191c39d23d0ac49850c095091542e885649da93d7c1c2bd35e8d0575717cecca892360e
+DIST vrrpd-1.9.tar.gz 542249 SHA256 b505adad5c4c8972ad2a0d8012d8193292a4ddfcb9cfa854a416f1da64c95e03 SHA512 8c719cabbd6a799e4e439dbb698af9d6e24cf2635cfbd71a204b46bd2b65c1384e53f130b663d0fcfc903d89080ff25d9c97ae4cd9f6b2434d5462cf678a306b WHIRLPOOL 38b3c21df58096473ed71e7b8ef8241ef72948758273313f39eb5052d7304cb311c4b94d81dbf3988b54ac077c929e4788b9bf73a2e2210dee728104a2589ebf
diff --git a/net-misc/vrrpd/files/vrrpd-1.9-rollup.patch b/net-misc/vrrpd/files/vrrpd-1.9-rollup.patch
new file mode 100644
index 000000000000..72c5f3ad47f3
--- /dev/null
+++ b/net-misc/vrrpd/files/vrrpd-1.9-rollup.patch
@@ -0,0 +1,37 @@
+This is a partial rollup of patches submitted to upstream to clean up the
+packaging.
+
+Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
+
+diff --git a/Makefile b/Makefile
+old mode 100755
+new mode 100644
+index d7f3309..869d06d
+--- a/Makefile
++++ b/Makefile
+@@ -1,7 +1,8 @@
+ PROJECT=vrrpd
+
+-ALL_EXE=vrrpd
++ALL_EXE=vrrpd atropos
+
++ATROPOS_OBJS = atropos.o
+ VRRPD_OBJS = vrrpd.o libnetlink.o ipaddr.o
+
+ MAIN_OPT=
+@@ -18,9 +19,13 @@ COMMON_CFLAGS= $(MAIN_OPT) $(INCLUDEOPT) $(PROF_OPT) $(DBG_OPT) $(MACHINEOPT)
+ CC=gcc
+ CFLAGS= $(COMMON_CFLAGS) -Wall
+
++all: $(ALL_EXE)
++
++atropos: $(ATROPOS_OBJS)
++ $(CC) $(PROF_OPT) -o $@ $^
++
+ vrrpd : $(VRRPD_OBJS)
+- $(CC) $(PROF_OPT) -o $@ $(VRRPD_OBJS) $(LINKLIB)
+- $(CC) atropos.c -o atropos
++ $(CC) $(PROF_OPT) -o $@ $^ $(LINKLIB)
+
+ vrrpd.o: vrrpd.h
+ libnetlink.o: libnetlink.h
diff --git a/net-misc/vrrpd/metadata.xml b/net-misc/vrrpd/metadata.xml
new file mode 100644
index 000000000000..61435d907770
--- /dev/null
+++ b/net-misc/vrrpd/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer>
+ <email>robbat2@gentoo.org</email>
+ <name>Robin H. Johnson</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">fredbcode/Vrrpd</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/net-misc/vrrpd/vrrpd-1.0.ebuild b/net-misc/vrrpd/vrrpd-1.0.ebuild
new file mode 100644
index 000000000000..0a60d02f41f2
--- /dev/null
+++ b/net-misc/vrrpd/vrrpd-1.0.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+DESCRIPTION="Virtual Router Redundancy Protocol Daemon"
+HOMEPAGE="http://www.sourceforge.net/projects/vrrpd"
+SRC_URI="mirror://sourceforge/${PN}/${PN}/1.0/${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+DEPEND="sys-devel/gcc"
+RDEPEND=""
+
+src_compile() {
+ emake DBG_OPT="" MACHINEOPT="${CFLAGS}" PROF_OPT="${LDFLAGS}"
+}
+
+src_install() {
+ dosbin vrrpd
+ doman vrrpd.8
+ dodoc FAQ Changes TODO scott_example doc/draft-ietf-vrrp-spec-v2-05.txt doc/rfc2338.txt.vrrp doc/draft-jou-duplicate-ip-address-02.txt
+}
diff --git a/net-misc/vrrpd/vrrpd-1.9.ebuild b/net-misc/vrrpd/vrrpd-1.9.ebuild
new file mode 100644
index 000000000000..f686913209cb
--- /dev/null
+++ b/net-misc/vrrpd/vrrpd-1.9.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit eutils
+
+DESCRIPTION="Virtual Router Redundancy Protocol Daemon"
+HOMEPAGE="http://numsys.eu/vrrp_art.php"
+SRC_URI="https://github.com/fredbcode/Vrrpd/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE=""
+DEPEND="sys-devel/gcc"
+RDEPEND=""
+S="${WORKDIR}/Vrrpd-${PV}"
+
+src_prepare() {
+ epatch "${FILESDIR}"/vrrpd-1.9-rollup.patch || die
+ emake mrproper
+ #rm -f atropos
+}
+
+src_compile() {
+ emake DBG_OPT="" MACHINEOPT="${CFLAGS}" PROF_OPT="${LDFLAGS}"
+}
+
+src_install() {
+ dosbin vrrpd atropos
+ doman vrrpd.8
+ dodoc FAQ Changes TODO scott_example doc/draft-ietf-vrrp-spec-v2-05.txt doc/rfc2338.txt.vrrp doc/draft-jou-duplicate-ip-address-02.txt doc/principe-Vrrp1.jpg doc/principe-Vrrp2.jpg README.md
+}