diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-10-03 11:49:43 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-10-03 11:49:43 +0000 |
commit | c58090dded022bd57ec8b1a3acd4a11830b3f854 (patch) | |
tree | a9578f445c59e81ab901a927c8b635d57e4b2f3b /net-misc/vpncwatch | |
parent | QA (diff) | |
download | historical-c58090dded022bd57ec8b1a3acd4a11830b3f854.tar.gz historical-c58090dded022bd57ec8b1a3acd4a11830b3f854.tar.bz2 historical-c58090dded022bd57ec8b1a3acd4a11830b3f854.zip |
Imported from sunrise overlay, 258150
Package-Manager: portage-2.2_rc88/cvs/Linux x86_64
Diffstat (limited to 'net-misc/vpncwatch')
-rw-r--r-- | net-misc/vpncwatch/ChangeLog | 11 | ||||
-rw-r--r-- | net-misc/vpncwatch/Manifest | 17 | ||||
-rw-r--r-- | net-misc/vpncwatch/files/vpncwatch-1.7-Makefile.patch | 21 | ||||
-rw-r--r-- | net-misc/vpncwatch/files/vpncwatch-1.7-gcc4.3.patch | 11 | ||||
-rw-r--r-- | net-misc/vpncwatch/files/vpncwatch-1.7-literal.patch | 11 | ||||
-rw-r--r-- | net-misc/vpncwatch/metadata.xml | 7 | ||||
-rw-r--r-- | net-misc/vpncwatch/vpncwatch-1.7.ebuild | 31 |
7 files changed, 109 insertions, 0 deletions
diff --git a/net-misc/vpncwatch/ChangeLog b/net-misc/vpncwatch/ChangeLog new file mode 100644 index 000000000000..876e2bcb8ea5 --- /dev/null +++ b/net-misc/vpncwatch/ChangeLog @@ -0,0 +1,11 @@ +# 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 $ + +*vpncwatch-1.7 (03 Oct 2010) + + 03 Oct 2010; Justin Lecher <jlec@gentoo.org> +vpncwatch-1.7.ebuild, + +files/vpncwatch-1.7-Makefile.patch, +files/vpncwatch-1.7-gcc4.3.patch, + +files/vpncwatch-1.7-literal.patch, +metadata.xml: + Imported from sunrise overlay, 258150 + diff --git a/net-misc/vpncwatch/Manifest b/net-misc/vpncwatch/Manifest new file mode 100644 index 000000000000..69c1b2b1090e --- /dev/null +++ b/net-misc/vpncwatch/Manifest @@ -0,0 +1,17 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +AUX vpncwatch-1.7-Makefile.patch 504 RMD160 9873d7a6a1ecd10ed9e7df1e9408ce08007bcf3f SHA1 64b133b3d31f2c8d884d7356900f8a5a9e050368 SHA256 30781bf43fe67e82360b7223b6d46170eb66e1a65612f3294534486e6e1ae085 +AUX vpncwatch-1.7-gcc4.3.patch 247 RMD160 b6f2f27eb35528b6aad80db345b6442ee2a86c47 SHA1 8e8a47eb10ddf0af696ad4fa637d06f5cf063aa1 SHA256 91cc47c5290319693dfebc3a9e9427ca204990367f1a3bcd5374dd93480f1578 +AUX vpncwatch-1.7-literal.patch 419 RMD160 60ed4c6945f1c7fc6e1310b8693fe081d9ce8535 SHA1 c64e81cdb745dc7526d59abd829403f0ac9fd65c SHA256 b62d7776fa68a83ae4d0022ed8751eaeb731854f1172401f36095be012238a32 +DIST vpncwatch-1.7.tar.gz 16787 RMD160 4fda7f0a367dfc491b61478045988bc72e7075b6 SHA1 89804f015ba2b4be6eec367aa85514915e2ff4ad SHA256 e8860c1e6fc2ee26c25d5afb9b8447a9e7ece4db5b0191c64a968992aca3e682 +EBUILD vpncwatch-1.7.ebuild 793 RMD160 6c91f446ca9e0e8536e9ba5b4b8bb1f2af514120 SHA1 bc3e255e55af4dad0f1b60bd5d7dc4050df029d8 SHA256 3a9cfeb1566a8ff1e9cdf7d27b7d9d46b51c6249de85410b8afa120fc7391213 +MISC ChangeLog 475 RMD160 dbc73326480e13e75f90e7c9befd2503eb652055 SHA1 474ae18b0d4cb34e3d5e6367000041ea9032ad81 SHA256 762dbf6f7584d9ffc4d46559f1af63a4043921d0c15d7c52054de028b5806213 +MISC metadata.xml 219 RMD160 cf5c6f865a2dc57de2aa5eaed9f8b3a020b57a1e SHA1 b2191b0c18b89c50019eb6df00d4f5534f6b65d1 SHA256 acdebd30feb16136ee938453bc2838466b8e03525fc27bff61edc7e8b7c7fad0 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.16 (GNU/Linux) + +iEYEARECAAYFAkyobdwACgkQgAnW8HDreRblMgCdHkw+8lzY2l7+vFIxwDJXyAG5 +aNQAoKxF4xCmxdKTP5XNVuHw4lgZUPIR +=JfVr +-----END PGP SIGNATURE----- diff --git a/net-misc/vpncwatch/files/vpncwatch-1.7-Makefile.patch b/net-misc/vpncwatch/files/vpncwatch-1.7-Makefile.patch new file mode 100644 index 000000000000..f32e538ade40 --- /dev/null +++ b/net-misc/vpncwatch/files/vpncwatch-1.7-Makefile.patch @@ -0,0 +1,21 @@ +--- Makefile 2008-02-04 09:44:34.000000000 +0100 ++++ Makefile.new 2009-02-08 18:49:06.061291832 +0100 +@@ -10,7 +10,7 @@ + OBJS = vpncwatch.o proc.o net.o + + CC ?= gcc +-CFLAGS = -D_GNU_SOURCE -O2 -Wall -Werror ++CFLAGS += -D_GNU_SOURCE + + vpncwatch: $(OBJS) + $(CC) $(CFLAGS) -o $@ $(OBJS) +@@ -13,7 +13,7 @@ + CFLAGS = -D_GNU_SOURCE -O2 -Wall -Werror + + vpncwatch: $(OBJS) +- $(CC) $(CFLAGS) -o $@ $(OBJS) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) + + .c.o: + $(CC) $(CFLAGS) -c -o $@ $< + diff --git a/net-misc/vpncwatch/files/vpncwatch-1.7-gcc4.3.patch b/net-misc/vpncwatch/files/vpncwatch-1.7-gcc4.3.patch new file mode 100644 index 000000000000..91c3f5b28399 --- /dev/null +++ b/net-misc/vpncwatch/files/vpncwatch-1.7-gcc4.3.patch @@ -0,0 +1,11 @@ +--- vpncwatch.c.orig 2009-02-08 17:03:14.296036582 +0100 ++++ vpncwatch.c 2009-02-08 17:02:56.932904474 +0100 +@@ -31,6 +31,7 @@ + #include <arpa/inet.h> + #include <netdb.h> + #include <errno.h> ++#include <linux/limits.h> + + + #include "vpncwatch.h" + diff --git a/net-misc/vpncwatch/files/vpncwatch-1.7-literal.patch b/net-misc/vpncwatch/files/vpncwatch-1.7-literal.patch new file mode 100644 index 000000000000..2944464c08bc --- /dev/null +++ b/net-misc/vpncwatch/files/vpncwatch-1.7-literal.patch @@ -0,0 +1,11 @@ +--- net.c 2008-02-04 09:28:51.000000000 +0100 ++++ net.c.new 2009-02-08 17:13:31.188241104 +0100 +@@ -53,7 +53,7 @@ + /* get the server address */ + if (inet_pton(AF_INET, chkhost, &(chksock.sin_addr.s_addr)) <= 0) { + if ((host = gethostbyname(chkhost)) == NULL) { +- syslog(LOG_ERR, hstrerror(h_errno)); ++ syslog(LOG_ERR, "%s", hstrerror(h_errno)); + return 0; + } + diff --git a/net-misc/vpncwatch/metadata.xml b/net-misc/vpncwatch/metadata.xml new file mode 100644 index 000000000000..92e5fc0e2db7 --- /dev/null +++ b/net-misc/vpncwatch/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>no-herd</herd> + <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 new file mode 100644 index 000000000000..ecac8fe4a839 --- /dev/null +++ b/net-misc/vpncwatch/vpncwatch-1.7.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2010 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 $ + +EAPI=2 + +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}-gcc4.3.patch" \ + "${FILESDIR}/${P}-literal.patch" \ + "${FILESDIR}/${P}-Makefile.patch" + tc-export CC +} + +src_install() { + dobin ${PN} || die "failed to install ${PN}" + dodoc README ChangeLog AUTHORS || die "doc install failed" +} |