summaryrefslogtreecommitdiff
path: root/net-mgmt/lanmap/files
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/lanmap/files')
-rw-r--r--net-mgmt/lanmap/files/patch-Makefile.in33
-rw-r--r--net-mgmt/lanmap/files/patch-src__Makefile.in10
-rw-r--r--net-mgmt/lanmap/files/patch-src__facts.c11
3 files changed, 0 insertions, 54 deletions
diff --git a/net-mgmt/lanmap/files/patch-Makefile.in b/net-mgmt/lanmap/files/patch-Makefile.in
deleted file mode 100644
index 1602090ffc03..000000000000
--- a/net-mgmt/lanmap/files/patch-Makefile.in
+++ /dev/null
@@ -1,33 +0,0 @@
---- Makefile.in.orig 2006-03-07 23:44:34.000000000 +0800
-+++ Makefile.in 2014-06-09 11:51:38.403957445 +0800
-@@ -8,20 +8,20 @@ prefix = @prefix@
- BINARY = lanmap
- BINDEST = ${prefix}/bin/
- DATADEST = ${prefix}/share/lanmap/
-+TMPDEST ?= /tmp
-
- all:
-- cd ./src && make LANMAP_DATADIR="$(DATADEST)"
-+ cd ./src && make LANMAP_DATADIR="$(DATADEST)" LANMAP_DATATMP="$(TMPDEST)"
-
- install:
-- install -m 0755 ./src/$(BINARY) $(BINDEST)
-- install -m 0755 -d $(DATADEST)
-- install -m 0755 -d $(DATADEST)data/
-- install -m 0755 -d $(DATADEST)data/graph/
-- install -m 0755 -d $(DATADEST)graph/img/
-- install -m 0644 ./data/mac_vendor $(DATADEST)data/
-- install -m 0644 -d $(DATADEST)graph
-- install -m 0644 ./graph/lanmap.header $(DATADEST)graph/
-- for f in ./graph/img/*.{png,gif,svg}; do install -m 0644 $$f $(DATADEST)graph/img/; done
-+ install -m 0755 ./src/$(BINARY) $(DESTDIR)$(BINDEST)
-+ install -m 0755 -d $(DESTDIR)$(DATADEST)
-+ install -m 0755 -d $(DESTDIR)$(DATADEST)data/
-+ install -m 0755 -d $(DESTDIR)$(DATADEST)data/graph/
-+ install -m 0755 -d $(DESTDIR)$(DATADEST)graph/img/
-+ install -m 0644 ./data/mac_vendor $(DESTDIR)$(DATADEST)data/
-+ install -m 0644 ./graph/lanmap.header $(DESTDIR)$(DATADEST)graph/
-+ for f in ./graph/img/*.png ./graph/img/*.gif ./graph/img/*.svg; do install -m 0644 $$f $(DESTDIR)$(DATADEST)graph/img/; done
-
- uninstall:
- rm $(BINDEST)$(BINARY)
diff --git a/net-mgmt/lanmap/files/patch-src__Makefile.in b/net-mgmt/lanmap/files/patch-src__Makefile.in
deleted file mode 100644
index 5a891ab7eec6..000000000000
--- a/net-mgmt/lanmap/files/patch-src__Makefile.in
+++ /dev/null
@@ -1,10 +0,0 @@
---- ./src/Makefile.in.orig 2006-03-07 15:44:32.000000000 +0100
-+++ ./src/Makefile.in 2009-01-29 17:46:58.458249446 +0100
-@@ -2,7 +2,7 @@
-
- # complation
--CFLAGS = -W -Wall -Wno-unused -DLINUX -DLANMAP_DATADIR=$(LANMAP_DATADIR)
-+CFLAGS = -W -Wall -Wno-unused -DLINUX -DLANMAP_DATADIR=$(LANMAP_DATADIR) -DLANMAP_DATATMP=$(LANMAP_DATATMP)
- LDFLAGS = -lpcap -lm
- CFLAGS_DEBUG = -D_DEBUG -ggdb
- LDFLAGS_DEBUG = -pg
diff --git a/net-mgmt/lanmap/files/patch-src__facts.c b/net-mgmt/lanmap/files/patch-src__facts.c
deleted file mode 100644
index 9aa01bdf02ef..000000000000
--- a/net-mgmt/lanmap/files/patch-src__facts.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- ./src/facts.c.orig 2006-03-07 15:44:32.000000000 +0100
-+++ ./src/facts.c 2009-01-29 17:46:58.478243916 +0100
-@@ -2563,7 +2563,7 @@
- #else
- /* assume sh */
- snprintf(cmd, sizeof cmd, "%s -T%s -o %s/tmp.lanmap %s && mv %s/tmp.lanmap %slanmap.%s && rm %s",
-- Run_Program, Image_Type, xstr(LANMAP_DATADIR), DOT_FILE, xstr(LANMAP_DATADIR), Output_Dir, Image_Type, DOT_FILE);
-+ Run_Program, Image_Type, xstr(LANMAP_DATATMP), DOT_FILE, xstr(LANMAP_DATATMP), Output_Dir, Image_Type, DOT_FILE);
- #endif
- printf("cmd:%s\n",cmd);
- DEBUGF(__FILE__, __LINE__, "cmd: %s", cmd);