summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-10-12 10:06:11 +0000
committerJeroen Roovers <jer@gentoo.org>2014-10-12 10:06:11 +0000
commit1c776a8198d0ef21f558494a66197d02c0711781 (patch)
tree69d4cb1fc1352be30e5ec972ef9e42db9f742a11 /net-analyzer/netwatch
parentReadd sparc keyword as I don't see when/why was it dropped (diff)
downloadhistorical-1c776a8198d0ef21f558494a66197d02c0711781.tar.gz
historical-1c776a8198d0ef21f558494a66197d02c0711781.tar.bz2
historical-1c776a8198d0ef21f558494a66197d02c0711781.zip
Fix some missing includes.
Package-Manager: portage-2.2.14_rc1/cvs/Linux x86_64 Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'net-analyzer/netwatch')
-rw-r--r--net-analyzer/netwatch/ChangeLog10
-rw-r--r--net-analyzer/netwatch/Manifest12
-rw-r--r--net-analyzer/netwatch/files/netwatch-1.3.0.1-includes.patch22
-rw-r--r--net-analyzer/netwatch/netwatch-1.3.0.1-r3.ebuild49
4 files changed, 86 insertions, 7 deletions
diff --git a/net-analyzer/netwatch/ChangeLog b/net-analyzer/netwatch/ChangeLog
index 2f2eb42eb0bf..ef401d3c727b 100644
--- a/net-analyzer/netwatch/ChangeLog
+++ b/net-analyzer/netwatch/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/netwatch
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netwatch/ChangeLog,v 1.18 2013/12/23 02:20:08 jer Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netwatch/ChangeLog,v 1.19 2014/10/12 10:06:10 jer Exp $
+
+*netwatch-1.3.0.1-r3 (12 Oct 2014)
+
+ 12 Oct 2014; Jeroen Roovers <jer@gentoo.org> +netwatch-1.3.0.1-r3.ebuild,
+ +files/netwatch-1.3.0.1-includes.patch:
+ Fix some missing includes.
23 Dec 2013; Jeroen Roovers <jer@gentoo.org>
files/netwatch-1.3.0.1-fix-fortify.patch:
diff --git a/net-analyzer/netwatch/Manifest b/net-analyzer/netwatch/Manifest
index 676436ee156e..38b68dfd3544 100644
--- a/net-analyzer/netwatch/Manifest
+++ b/net-analyzer/netwatch/Manifest
@@ -4,16 +4,18 @@ Hash: SHA256
AUX netwatch-1.3.0.1-append_ldflags.patch 558 SHA256 8bd9175e5f91eaf448e8ab24f87cbf82911e4cb98e6c72ecb3a29b7dd0485d90 SHA512 afee222f8f0c18de7b1c5f62d0f3705e40dccb09827410c67f61da9a0dc951c2d01b0e02cc4b6154d17ef8aaa625dd4265c4514a97d7df9dd9dc14da8a851338 WHIRLPOOL 7558c224554cf0e1d2627dd5a9023586133dd1bf07fdb76bc45a9223d07be657ff8125d83159ae3529a4eda41e785a6a4db72e7c0522484e7751c138d54d6354
AUX netwatch-1.3.0.1-do-not-call.patch 307 SHA256 e7cf3d67439200f9a663b20732ae7655dd82b4cf8aae0cb120942547fe9203a9 SHA512 988516e66e0f02edd484854488fe232c6ae8158d135a2e26837b9c2178650111cf2d33c29bee3f9c0b01b21d7ded0eebf93b39fa7a714a04e3d99f490f7690ea WHIRLPOOL 79eef27d50c6e755902c12fe82f04ce3cdaea13d0ba5de40e2fe8595e8f65e83b27ec126c6b359a6e02561d12c0c736c5e28e1ca2991142dafe4e3585cc41fb2
AUX netwatch-1.3.0.1-fix-fortify.patch 313 SHA256 8a7f305191c9e7dc0fe4d2904c00da9b450e061ee46f56e0b85edfe8a46ac979 SHA512 ed33d1df73293c172982f016d033bf2bd35fca50e89e20433ae867b418446a44614da49b161f190c7579b21cfb1d01e514fc77fddb3ca5f469f0daec2acab0cf WHIRLPOOL 6e45d4def4f498259f7f4fee95e220b41577c420f59933d3a33ec7df50c4751e63f7e73dac86286afb3053341ae1d0a5bd66e1e6495cc49144fff58ca2bf729b
+AUX netwatch-1.3.0.1-includes.patch 489 SHA256 70da964f38d898302ce9f3c8a750e51a5e53b3f3a61fc79f981cd31cada3e3d7 SHA512 dd1005f58772aeef3909342df0b4a1f14bbd509b51361ab52f752b274fb51ab3a45a93b6af4feaaedb4fbace94ae55c7e153c9f1eb8257f66549c72a957885f1 WHIRLPOOL c365083bc87d51c5129dd2cd0e9dd1b0e7b5a6e3a3c71de2df564dbe610d4b0e2a9dc8fb904497ca7880ed56b5d017320a306861b25609055727d4b11d7ee702
AUX netwatch-1.3.0.1-open.patch 446 SHA256 11ffd38f98b16933175515e24c022a0725ad8c718feb44a415892ec3ffeaabe2 SHA512 1de8f6290efcce43eac22d65c5c266d9048ad7346c654bcbaa65f325d380e180ddbc9586836a8334c416c608e5abeee1e49281e3bb226b709e57763138fa7f54 WHIRLPOOL 7b1f4882c5cc4af8cde972c37a63dd4ecc9899b10d221dd69e99cab1507d1e1e60f70bdddf54adddfa0455b875c1113cc24095c6442263534754560861fe8cee
AUX netwatch-1.3.0.1-tinfo.patch 1444 SHA256 91878a6bdefa016058b5864acc64ab8239a32eb6f5713b8e136defdc0dcf510e SHA512 675545527013a67de3a8dc32fab9b197f90d7ff24847e6e2d6959dd97ff4bc2838446807c7948d68c34790aac1d45d322506f94b99c47534af5d33e1bf85903d WHIRLPOOL b338ef0e8793c6554228b1b1e60803141b5d9b38544d85ff6d676aecca2512db9eb78020f36de00d6accd72cbcb065c2f9fbbecfc0c960052eafd01063c56d83
DIST netwatch-1.3.0-1.tgz 187936 SHA256 9fedc77e271cb3c3054e78f219962d5190294a90d4768797e06c6cd3fc8bd02d SHA512 c0feddf01d118c7d8ff1fd8344692db5ad6f1bbaf375a7ed296756314454a7b1fb430f73d698156aca7a4391578215b3e6cb0f899044be228827a0acb4caba2a WHIRLPOOL fb5cf90af81d3428a89cd3e5064941b868f45f319fffeb0f46729f5c48d365a5299dcc1f0d384f8e88c5f1a973b96f910000654550173a384fcacb98b98504bf
EBUILD netwatch-1.3.0.1-r2.ebuild 1084 SHA256 e2b4c6c3612b8ea8ddd86f917612a902d8261cb15e0b62680e6d5cc7960f17c6 SHA512 607325d4430327488301b5425ba9dc2bcc1567d9487fdb35089748d2844385c47991472c94e91e0a68048ffa8f4d71b8cd76d74730ba9e59441c42c8227737ef WHIRLPOOL cd8702e8dfab7713c921ce2413260d0c6a4cb53d925120db75201fc7e3e814e6f3d3e776a311f842cdf468c9d66f99d43dd7d403763676130eee9fdef9724d2f
-MISC ChangeLog 1790 SHA256 e46975ec9b7feebacff692fb70cf3a9e7524148f6224644785c44adbebfbec3e SHA512 ad3b8f23100d1ad3f2fa65137b7e34918023aa7d3cfe3712d1a5ea7c20b022b12e72f8b5068c37956fe01c69723d9c9297112817b413fd769c08959993e98663 WHIRLPOOL b6b7d7d70beb29d17d626346fddaf9090a1fe96d46c73360e23380e0c9598ebb36e1c4f876cbe6234cf6a3708be5d4393a27a4d63a507a2911e20f30136c9aa9
+EBUILD netwatch-1.3.0.1-r3.ebuild 1125 SHA256 af7fdd9ccdb4769afe8197b0bbe8126794700eab6ef96bbe5c09e4b1e5b3aea1 SHA512 139312ca3171a719533f13c869dc79e2d5d292f06ee9cac0333ef7bc39ace6d1eef52066259f86fa02c69b08594800d10e8dc0d8fb08280b9b2091e78a8d4f06 WHIRLPOOL 4ffa7eababa3bb95d17f9baea1f2fa71c7288bfb225e1931013d4f45b1b8cd2266f98703eb76bb641091c6c4347dd7feff347b3246195fa35327154fcc320405
+MISC ChangeLog 1974 SHA256 2ec6a952084b5ca4e975185cecf19acda84e84ca208c5163ef07b3f594faadb0 SHA512 81cbc4eaebfee83154f443613984e84e62e1c80cc8914ffc1eab40333d5fd7fcbfff8daa02c06dae94df75327f582809a1cd340d11581376031fa312d5ae2394 WHIRLPOOL 5f0d91c1072cd9759cb1f680ba008d30a8e9d8bd48bac94a5751027db34f6598b9e59ca853e6133d07831475349ef9eae9ab2e60770764c08ab76f5357e1917e
MISC metadata.xml 251 SHA256 c7ad6a357fc5fb36470e593fbd3dccbe92cd2c149d085c18913ea66d16e69875 SHA512 eb655cf414ae2414dd4886acb4b4e9c8511a0d46cc153f35e3ad1564998ede335af4f622874751c92e1dbc145c7d7d741e6dd6279ad38f7fb635749bb17c7ae9 WHIRLPOOL 564815443a2372ee2a0be85ed78289f6fde5515180667125dc3cd7fdc425f62cf33ba2f5d56875092b5f577b94d15952248d6a1a5288a95a34a87aa25ab668e7
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.22 (GNU/Linux)
+Version: GnuPG v2
-iEYEAREIAAYFAlK3ndkACgkQVWmRsqeSphOcnQCdGXblh1ObqsEJ8TN+as6qZ4fE
-XhkAnR59111aQiomjIPDnI0gvCQY4mVM
-=X/mb
+iEYEAREIAAYFAlQ6UpMACgkQVWmRsqeSphPTYACdH11+7KT/TrUuzKl0OToo0MRV
+5QkAn3vyc+Bfi9QhFLqcpv/ifIXpMRJs
+=gDj8
-----END PGP SIGNATURE-----
diff --git a/net-analyzer/netwatch/files/netwatch-1.3.0.1-includes.patch b/net-analyzer/netwatch/files/netwatch-1.3.0.1-includes.patch
new file mode 100644
index 000000000000..f0f0ea508a71
--- /dev/null
+++ b/net-analyzer/netwatch/files/netwatch-1.3.0.1-includes.patch
@@ -0,0 +1,22 @@
+--- a/warning.c
++++ b/warning.c
+@@ -2,6 +2,9 @@
+ #include "netwatch.h"
+ #include <syslog.h>
+ #include <stdio.h>
++#include <time.h> /* time() ctime() */
++#include <stdlib.h> /* system() */
++#include <unistd.h> /* unlink() */
+
+ static FILE *tmpfp;
+ static char tmpname[256];
+--- a/netwatch.c
++++ b/netwatch.c
+@@ -71,6 +71,7 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <unistd.h>
++#include <ctype.h> /* isalnum() isspace() ispunct() */
+ /*
+ * #include <sys/socket.h>
+ */
diff --git a/net-analyzer/netwatch/netwatch-1.3.0.1-r3.ebuild b/net-analyzer/netwatch/netwatch-1.3.0.1-r3.ebuild
new file mode 100644
index 000000000000..9a51f4d5495e
--- /dev/null
+++ b/net-analyzer/netwatch/netwatch-1.3.0.1-r3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netwatch/netwatch-1.3.0.1-r3.ebuild,v 1.1 2014/10/12 10:06:10 jer Exp $
+
+EAPI=5
+inherit autotools eutils versionator
+
+MY_PV=$(replace_version_separator 3 '-')
+
+DESCRIPTION="Ethernet/PPP IP Packet Monitor"
+HOMEPAGE="http://www.slctech.org/~mackay/netwatch.html"
+SRC_URI="http://www.slctech.org/~mackay/NETWATCH/${PN}-${MY_PV}.tgz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+RDEPEND="sys-libs/ncurses"
+DEPEND="
+ ${RDEPEND}
+ sys-kernel/linux-headers
+ virtual/pkgconfig
+"
+
+S=${WORKDIR}/${PN}-$(get_version_component_range 1-3)
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${P}-append_ldflags.patch \
+ "${FILESDIR}"/${P}-open.patch \
+ "${FILESDIR}"/${P}-fix-fortify.patch \
+ "${FILESDIR}"/${P}-do-not-call.patch \
+ "${FILESDIR}"/${P}-includes.patch \
+ "${FILESDIR}"/${P}-tinfo.patch
+
+ eautoreconf
+}
+
+src_install() {
+ dosbin netresolv netwatch
+
+ doman netwatch.1
+ dodoc BUGS CHANGES README* TODO
+
+ if use doc; then
+ dohtml NetwatchKeyCommands.html
+ fi
+}