From 224296099bfd8bb0ffa87bbbbcdeaa65da78ae5d Mon Sep 17 00:00:00 2001 From: Christian Wiese Date: Thu, 1 Mar 2007 19:25:46 +0000 Subject: [PATCH] * fixed etcnet Makefile to remove existing destination files by using `ln -sf` instead of `ln -s` while making symlinks to be stage 9 aware git-svn-id: svn://svn.opensde.net/opensde/package/trunk@20223 10447126-35f2-4685-b0cf-6dd780d3921f --- network/etcnet/etcnet-0.8.5-Makefile-ln.patch | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 network/etcnet/etcnet-0.8.5-Makefile-ln.patch diff --git a/network/etcnet/etcnet-0.8.5-Makefile-ln.patch b/network/etcnet/etcnet-0.8.5-Makefile-ln.patch new file mode 100644 index 000000000..3f86abf25 --- /dev/null +++ b/network/etcnet/etcnet-0.8.5-Makefile-ln.patch @@ -0,0 +1,27 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../etcnet/etcnet-0.8.5-Makefile-ln.patch +# Copyright (C) 2007 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +--- etcnet-0.8.5/contrib/Makefile.orig 2007-03-01 21:00:33.000000000 +0200 ++++ etcnet-0.8.5/contrib/Makefile 2007-03-01 21:02:02.000000000 +0200 +@@ -45,6 +45,6 @@ + + # 3. Create /sbin links. + @install -d $(sbindir) +- @ln -s ../etc/net/scripts/ifup $(sbindir)/ifup +- @ln -s ../etc/net/scripts/ifdown $(sbindir)/ifdown ++ @ln -sf ../etc/net/scripts/ifup $(sbindir)/ifup ++ @ln -sf ../etc/net/scripts/ifdown $(sbindir)/ifdown + @echo Done!