summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2011-10-07 17:23:06 +0000
committerJustin Lecher <jlec@gentoo.org>2011-10-07 17:23:06 +0000
commitde2e50afe18afe223803a96f55b9a77db69c603f (patch)
treec70ef6835a6084279fa177b2afbcf7d864ef6527 /net-misc/vpncwatch
parent2011.09.30 version bump (bug #385187). (diff)
downloadgentoo-2-de2e50afe18afe223803a96f55b9a77db69c603f.tar.gz
gentoo-2-de2e50afe18afe223803a96f55b9a77db69c603f.tar.bz2
gentoo-2-de2e50afe18afe223803a96f55b9a77db69c603f.zip
Version Bump, #382843
(Portage version: 2.2.0_alpha62/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/vpncwatch')
-rw-r--r--net-misc/vpncwatch/ChangeLog10
-rw-r--r--net-misc/vpncwatch/files/vpncwatch-1.8-Makefile.patch23
-rw-r--r--net-misc/vpncwatch/metadata.xml5
-rw-r--r--net-misc/vpncwatch/vpncwatch-1.7.ebuild6
-rw-r--r--net-misc/vpncwatch/vpncwatch-1.8.ebuild29
5 files changed, 66 insertions, 7 deletions
diff --git a/net-misc/vpncwatch/ChangeLog b/net-misc/vpncwatch/ChangeLog
index 876e2bcb8ea5..0755405ccf64 100644
--- a/net-misc/vpncwatch/ChangeLog
+++ b/net-misc/vpncwatch/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-misc/vpncwatch
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/vpncwatch/ChangeLog,v 1.1 2010/10/03 11:49:43 jlec Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/vpncwatch/ChangeLog,v 1.2 2011/10/07 17:23:06 jlec Exp $
+
+*vpncwatch-1.8 (07 Oct 2011)
+
+ 07 Oct 2011; Justin Lecher <jlec@gentoo.org> vpncwatch-1.7.ebuild,
+ +vpncwatch-1.8.ebuild, +files/vpncwatch-1.8-Makefile.patch, metadata.xml:
+ Version Bump, #382843
*vpncwatch-1.7 (03 Oct 2010)
diff --git a/net-misc/vpncwatch/files/vpncwatch-1.8-Makefile.patch b/net-misc/vpncwatch/files/vpncwatch-1.8-Makefile.patch
new file mode 100644
index 000000000000..cab556c95352
--- /dev/null
+++ b/net-misc/vpncwatch/files/vpncwatch-1.8-Makefile.patch
@@ -0,0 +1,23 @@
+ Makefile | 4 ++--
+ 1 files changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/Makefile b/Makefile
+index 901e0ae..599499a 100644
+--- a/Makefile
++++ b/Makefile
+@@ -10,13 +10,13 @@ OBJS = vpncwatch.o proc.o net.o
+ DISTFILES = AUTHORS COPYING README Makefile $(SRCS) $(HDRS) vpnc-watch.py
+
+ CC ?= gcc
+-CFLAGS = -D_GNU_SOURCE -O2 -Wall -Werror
++CFLAGS += -D_GNU_SOURCE -Wall
+
+ # Update version in vpncwatch.h as well
+ TAG = vpncwatch-1.8
+
+ vpncwatch: $(OBJS)
+- $(CC) $(CFLAGS) -o $@ $(OBJS)
++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS)
+
+ .c.o:
+ $(CC) $(CFLAGS) -c -o $@ $<
diff --git a/net-misc/vpncwatch/metadata.xml b/net-misc/vpncwatch/metadata.xml
index fb140aacb54b..c845479d513e 100644
--- a/net-misc/vpncwatch/metadata.xml
+++ b/net-misc/vpncwatch/metadata.xml
@@ -1,6 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer><email>jlec@gentoo.org</email></maintainer>
+ <maintainer>
+ <email>jlec@gentoo.org</email>
+ </maintainer>
</pkgmetadata>
-
diff --git a/net-misc/vpncwatch/vpncwatch-1.7.ebuild b/net-misc/vpncwatch/vpncwatch-1.7.ebuild
index ecac8fe4a839..6a3a39467ea3 100644
--- a/net-misc/vpncwatch/vpncwatch-1.7.ebuild
+++ b/net-misc/vpncwatch/vpncwatch-1.7.ebuild
@@ -1,13 +1,13 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/vpncwatch/vpncwatch-1.7.ebuild,v 1.1 2010/10/03 11:49:43 jlec Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/vpncwatch/vpncwatch-1.7.ebuild,v 1.2 2011/10/07 17:23:06 jlec Exp $
EAPI=2
inherit eutils toolchain-funcs
DESCRIPTION="A keepalive daemon for vpnc on Linux systems"
-HOMEPAGE="http://github.com/dcantrell/vpncwatch"
+HOMEPAGE="http://github.com/dcantrell/vpncwatch/"
SRC_URI="http://github.com/downloads/dcantrell/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
diff --git a/net-misc/vpncwatch/vpncwatch-1.8.ebuild b/net-misc/vpncwatch/vpncwatch-1.8.ebuild
new file mode 100644
index 000000000000..08e47db331e0
--- /dev/null
+++ b/net-misc/vpncwatch/vpncwatch-1.8.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/vpncwatch/vpncwatch-1.8.ebuild,v 1.1 2011/10/07 17:23:06 jlec Exp $
+
+EAPI=4
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="A keepalive daemon for vpnc on Linux systems"
+HOMEPAGE="http://github.com/dcantrell/vpncwatch/"
+SRC_URI="http://github.com/downloads/dcantrell/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+RDEPEND="net-misc/vpnc"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}/${P}-Makefile.patch"
+ tc-export CC
+}
+
+src_install() {
+ dobin ${PN}
+ dodoc README ChangeLog AUTHORS
+}