Package: lltdscan / 0+20180223-1

drop-local Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 lltdscan (0+20180223-1) unstable; urgency=medium
 .
   * Initial release. (Closes: #)
Author: Gurkan Myczko <gurkan@phys.ethz.ch>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2018-02-23

--- lltdscan-0+20180223.orig/Makefile
+++ lltdscan-0+20180223/Makefile
@@ -10,10 +10,10 @@ SUDO=sudo
 
 CC=gcc
 # explicit pcap include dir is for redhat which is fux0red
-CFLAGS=-g -I/usr/local/include -L/usr/local/lib -DFINDIF=$(FINDIF) -DUSE_NETIF=$(USE_NETIF) -DOPENBSD=$(OPENBSD) -DLINUX=$(LINUX) -DSOLARIS=$(SOLARIS) -DFREEBSD=$(FREEBSD) -DMACOSX=$(MACOSX) -I/usr/include/pcap -L/opt/csw/lib -R/opt/csw/lib
+CFLAGS=-g -I/usr/include -L/usr//lib -DFINDIF=$(FINDIF) -DUSE_NETIF=$(USE_NETIF) -DOPENBSD=$(OPENBSD) -DLINUX=$(LINUX) -DSOLARIS=$(SOLARIS) -DFREEBSD=$(FREEBSD) -DMACOSX=$(MACOSX) -I/usr/include/pcap -L/opt/csw/lib -R/opt/csw/lib
 
-CFLAGS2=-g -I/usr/local/include -I/usr/local/include/libnet-1.1 -I/usr/include/pcap -I/usr/local/include/libnet11
-LDFLAGS2=-g -L/usr/local/lib -L/usr/local/lib/libnet-1.1 -L/opt/csw/lib -L/usr/local/lib/libnet11 -L/usr/local/lib/libnet113
+CFLAGS2=-g -I/usr/include -I/usr/include/libnet-1.1 -I/usr/include/pcap -I/usr/include/libnet11
+LDFLAGS2=-g -L/usr/lib -L/usr/lib/libnet-1.1 -L/opt/csw/lib -L/usr/lib/libnet11 -L/usr/lib/libnet113
 
 all: lltdscan
 
@@ -21,8 +21,8 @@ doc: arping.yodl
 	yodl2man -o arping.8 arping.yodl
 
 install:
-	install -c lltdscan /usr/local/bin/lltdscan
-	install lltdscan.8 /usr/local/man/man8/lltdscan.8
+	install -c lltdscan /usr/bin/lltdscan
+	install lltdscan.8 /usr/man/man8/lltdscan.8
 
 SYS=$(shell uname -s)
 ifeq ($(SYS),SunOS)