Commit 05ed3b18 authored by Raphaël Hertzog's avatar Raphaël Hertzog

New patch fix-makefile.patch that fixes make install to create $(ETCPATH)...

New patch fix-makefile.patch that fixes make install to create $(ETCPATH) before copying files into it.
parent 3609d278
......@@ -3,6 +3,8 @@ ipv6-toolkit (1.4.1-1kali2) UNRELEASED; urgency=low
* Clean up Debian packaging to rely on the upstream Makefile.
* Upgrade debhelper to compat 9 level and misc debian/control
improvements.
* New patch fix-makefile.patch that fixes make install to create $(ETCPATH)
before copying files into it.
-- Raphaël Hertzog <hertzog@debian.org> Fri, 04 Oct 2013 09:17:01 +0200
......
Description: Fix make install to create /etc before copying files
Otherwise when $(DESTDIR) points to an empty directory like
in the case of installing to a temporary directory representing
the Debian package, we end up installing the file as "/etc" instead
of "/etc/ipv6-toolkit.conf".
Author: Raphaël Hertzog <hertzog@debian.org>
Forwarded: no
Last-Update: 2013-10-04
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -108,6 +108,7 @@ install: all
install -m0755 $(SBINTOOLS) $(SBINPATH)
# Install the configuration file
+ install -m0755 -d $(ETCPATH)
install -m0644 data/ipv6toolkit.conf $(ETCPATH)
# Install the IEEE OUI database
fix-makefile.patch
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment