[Hostname-devel] [hostname] 01/01: Symlink binaries instead of hardlinking them.

Michael Meskes meskes at alioth.debian.org
Fri Sep 6 10:12:15 UTC 2013


This is an automated email from the git hooks/post-receive script.

meskes pushed a commit to branch master
in repository hostname.

commit abfe4bc5dd1fc0d57ea2a30b4cd66b7ce0ac5ae8
Author: Michael Meskes <meskes at debian.org>
Date:   Fri Sep 6 12:04:18 2013 +0200

    Symlink binaries instead of hardlinking them.
    
    Closes: #718400
---
 Makefile         |    8 ++++----
 debian/changelog |    6 ++++++
 hostname.c       |    2 +-
 3 files changed, 11 insertions(+), 5 deletions(-)

diff --git a/Makefile b/Makefile
index a4855f8..aa2ed55 100644
--- a/Makefile
+++ b/Makefile
@@ -23,10 +23,10 @@ install: hostname
 
 	install -d ${BASEDIR}/bin
 	install -o root -g root -m 0755 hostname ${BASEDIR}/bin
-	ln -f hostname ${BASEDIR}/bin/dnsdomainname
-	ln -f hostname ${BASEDIR}/bin/domainname
-	ln -f hostname ${BASEDIR}/bin/nisdomainname
-	ln -f hostname ${BASEDIR}/bin/ypdomainname
+	ln -fs hostname ${BASEDIR}/bin/dnsdomainname
+	ln -fs hostname ${BASEDIR}/bin/domainname
+	ln -fs hostname ${BASEDIR}/bin/nisdomainname
+	ln -fs hostname ${BASEDIR}/bin/ypdomainname
 
 clean:
 	-rm -f $(OBJS) hostname dnsdomainname domainname nisdomainname ypdomainname
diff --git a/debian/changelog b/debian/changelog
index b79b8f4..a836f89 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+hostname (3.14) unstable; urgency=low
+
+  * Symlink binaries instead of hardlinking them. (Closes: #718400)
+
+ -- Michael Meskes <meskes at debian.org>  Fri, 06 Sep 2013 12:06:19 +0200
+
 hostname (3.13) unstable; urgency=low
 
   * Finally completely remove verbose option.
diff --git a/hostname.c b/hostname.c
index b192e74..2720b6a 100644
--- a/hostname.c
+++ b/hostname.c
@@ -45,7 +45,7 @@
 #include <err.h>
 #include <rpcsvc/ypclnt.h>
 
-#define VERSION "3.13"
+#define VERSION "3.14"
 
 enum type_t { DEFAULT, DNS, FQDN, SHORT, ALIAS, IP, NIS, NIS_DEF, ALL_FQDNS, ALL_IPS };
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/hostname



More information about the Hostname-devel mailing list