summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Ullmann <jokey@gentoo.org>2006-02-06 00:36:58 +0000
committerMarkus Ullmann <jokey@gentoo.org>2006-02-06 00:36:58 +0000
commit198fb347eb4cebeb685706834f3fd0e311763101 (patch)
treed0dd546ef37b756ec9a1e25913b91eb2d13631c4 /net-analyzer/arpwatch/files
parentTidy up (diff)
downloadgentoo-2-198fb347eb4cebeb685706834f3fd0e311763101.tar.gz
gentoo-2-198fb347eb4cebeb685706834f3fd0e311763101.tar.bz2
gentoo-2-198fb347eb4cebeb685706834f3fd0e311763101.zip
Added patch to fix missing parameters, bug #119769
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'net-analyzer/arpwatch/files')
-rw-r--r--net-analyzer/arpwatch/files/arpwatch-2.1.13-lostparams.patch43
-rw-r--r--net-analyzer/arpwatch/files/digest-arpwatch-2.1.13-r36
2 files changed, 49 insertions, 0 deletions
diff --git a/net-analyzer/arpwatch/files/arpwatch-2.1.13-lostparams.patch b/net-analyzer/arpwatch/files/arpwatch-2.1.13-lostparams.patch
new file mode 100644
index 000000000000..b7cb6bcb4d5a
--- /dev/null
+++ b/net-analyzer/arpwatch/files/arpwatch-2.1.13-lostparams.patch
@@ -0,0 +1,43 @@
+--- ./arpwatch.c.orig 2006-02-01 19:30:30.000000000 +0100
++++ ./arpwatch.c 2006-02-01 19:27:25.000000000 +0100
+@@ -191,7 +191,7 @@
+ interface = NULL;
+ rfilename = NULL;
+ pd = NULL;
+- while ((op = getopt(argc, argv, "df:i:n:Nr:u:")) != EOF)
++ while ((op = getopt(argc, argv, "adf:i:m:n:Nr:s:u:")) != EOF)
+ switch (op) {
+
+ case 'a':
+@@ -235,6 +235,10 @@
+ rfilename = optarg;
+ break;
+
++ case 's':
++ path_sendmail = optarg;
++ break;
++
+ case 'u':
+ if ( optarg ) {
+ serveruser = strdup(optarg);
+@@ -245,10 +249,6 @@
+ }
+ break;
+
+- case 's':
+- path_sendmail = optarg;
+- break;
+-
+ default:
+ usage();
+ }
+@@ -800,7 +800,7 @@
+ extern char version[];
+
+ (void)fprintf(stderr, "Version %s\n", version);
+- (void)fprintf(stderr, "usage: %s [-dN] [-f datafile] [-i interface]"
+- " [-n net[/width]] [-r file] [-u username]\n", prog);
++ (void)fprintf(stderr, "usage: %s [-adN] [-f datafile] [-i interface]"
++ " [-m addr] [-n net[/width]] [-r file] [-s path_sendmail] [-u username]\n", prog);
+ exit(1);
+ }
diff --git a/net-analyzer/arpwatch/files/digest-arpwatch-2.1.13-r3 b/net-analyzer/arpwatch/files/digest-arpwatch-2.1.13-r3
new file mode 100644
index 000000000000..33587e1a838c
--- /dev/null
+++ b/net-analyzer/arpwatch/files/digest-arpwatch-2.1.13-r3
@@ -0,0 +1,6 @@
+MD5 8808ec9f2b2b2c22000e3f4542e7ce0e arpwatch-2.1.13.diff.gz 7863
+RMD160 568f02d76463d1d4a32b43d79a678f9a5453c4b0 arpwatch-2.1.13.diff.gz 7863
+SHA256 044403360b6b187536e791b17faefdb04e3d6a7bd284d1068d95b0f2dc645e15 arpwatch-2.1.13.diff.gz 7863
+MD5 b9ff9739cdd2c0e9807b2d05860e4811 arpwatch-2.1a13.tar.gz 152779
+RMD160 80b89d36d9c20e9d0ac272ba7b66494d2888a557 arpwatch-2.1a13.tar.gz 152779
+SHA256 57025d5d1c883961ad7bbe53e5f0d73fa4b55659c28ee7722dddfc9c1512ee76 arpwatch-2.1a13.tar.gz 152779