diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2013-12-03 22:49:23 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2013-12-03 22:49:23 +0000 |
commit | 57827f558a97bbc37e5b6e13b401faa2728d689d (patch) | |
tree | 7c7d7d61b97b6d575c08c61f6e052c48573cdb4e /net-misc/vrrpd | |
parent | Version bump KDE SC 4.11.4 (diff) | |
download | gentoo-2-57827f558a97bbc37e5b6e13b401faa2728d689d.tar.gz gentoo-2-57827f558a97bbc37e5b6e13b401faa2728d689d.tar.bz2 gentoo-2-57827f558a97bbc37e5b6e13b401faa2728d689d.zip |
Initial commit, based on ebuild submitted in bug #166119 by Mark Silinio <silinio@fromru.com>. Cleanups submitted to upstream, and both original 1.0 and newer 1.9 version included.
(Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'net-misc/vrrpd')
-rw-r--r-- | net-misc/vrrpd/ChangeLog | 13 | ||||
-rw-r--r-- | net-misc/vrrpd/files/vrrpd-1.9-rollup.patch | 37 | ||||
-rw-r--r-- | net-misc/vrrpd/metadata.xml | 8 | ||||
-rw-r--r-- | net-misc/vrrpd/vrrpd-1.0.ebuild | 26 | ||||
-rw-r--r-- | net-misc/vrrpd/vrrpd-1.9.ebuild | 34 |
5 files changed, 118 insertions, 0 deletions
diff --git a/net-misc/vrrpd/ChangeLog b/net-misc/vrrpd/ChangeLog new file mode 100644 index 000000000000..6d5b8d900257 --- /dev/null +++ b/net-misc/vrrpd/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for net-misc/vrrpd +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/vrrpd/ChangeLog,v 1.1 2013/12/03 22:49:22 robbat2 Exp $ + +*vrrpd-1.0 (03 Dec 2013) +*vrrpd-1.9 (03 Dec 2013) + + 03 Dec 2013; Robin H. Johnson <robbat2@gentoo.org> + +files/vrrpd-1.9-rollup.patch, +metadata.xml, +vrrpd-1.0.ebuild, + +vrrpd-1.9.ebuild: + Initial commit, based on ebuild submitted in bug #166119 by Mark Silinio + <silinio@fromru.com>. Cleanups submitted to upstream, and both original 1.0 + and newer 1.9 version included. 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..a732fd8b2f03 --- /dev/null +++ b/net-misc/vrrpd/metadata.xml @@ -0,0 +1,8 @@ +<?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> +</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..8f900cc71c01 --- /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 +# $Header: /var/cvsroot/gentoo-x86/net-misc/vrrpd/vrrpd-1.0.ebuild,v 1.1 2013/12/03 22:49:22 robbat2 Exp $ + +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..fd0acfc140c4 --- /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 +# $Header: /var/cvsroot/gentoo-x86/net-misc/vrrpd/vrrpd-1.9.ebuild,v 1.1 2013/12/03 22:49:22 robbat2 Exp $ + +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 +} |