You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

89 lines
3.4 KiB

# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../modutils/use_old_postfix.diff
# Copyright (C) 2004 - 2006 The T2 SDE Project
# Copyright (C) 1998 - 2003 Clifford Wolf
#
# 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 ---
--- ./man/Makefile.in.orig 2003-01-27 17:25:24.000000000 +0100
+++ ./man/Makefile.in 2003-03-28 23:44:32.000000000 +0100
@@ -16,9 +16,10 @@
rm -f $(DESTDIR)$(mandir)/man5/conf.modules.5 $(DESTDIR)$(mandir)/man5/conf.modules.5.gz
set -e; \
for i in $(srcdir)/*.[1-8] ; do \
- ext=`echo $$i | sed 's/.*\.//'`; \
+ ext=`echo $$i | sed 's/.*\.//'`; old='.old.'; \
+ [ $$ext != 1 -a $$ext != 8 ] && old='.'; \
$(MKDIR) $(DESTDIR)$(mandir)/man$$ext/; \
- $(INSTALL) -m 644 $$i $(DESTDIR)$(mandir)/man$$ext/; \
+ $(INSTALL) -m 444 $$i $(DESTDIR)$(mandir)/man$$ext/$${i%.*}$$old$$ext; \
done
realclean: clean
--- ./depmod/Makefile.in.orig 2003-01-28 00:55:10.000000000 +0100
+++ ./depmod/Makefile.in 2003-01-28 00:55:31.000000000 +0100
@@ -56,7 +56,7 @@
install install-bin: all
$(MKDIR) $(DESTDIR)$(sbindir)
- $(INSTALL) $(STRIP) depmod $(DESTDIR)$(sbindir)
+ $(INSTALL) $(STRIP) depmod $(DESTDIR)$(sbindir)/depmod.old
dep depend .depend: depmod.c
$(CC) -M $(CFLAGS) $(DEFSNOARCH) $(DEFS) $^ > .depend
--- ./genksyms/Makefile.in.orig 2003-01-28 00:55:10.000000000 +0100
+++ ./genksyms/Makefile.in 2003-01-28 00:55:46.000000000 +0100
@@ -62,7 +62,7 @@
install install-bin: all
$(MKDIR) $(DESTDIR)$(sbindir)
- $(INSTALL) $(STRIP) genksyms $(DESTDIR)$(sbindir)
+ $(INSTALL) $(STRIP) genksyms $(DESTDIR)$(sbindir)/genksyms.old
# auto-generated dependancies are almost redundant once we add all the
# rules to get the generated files built first.
--- ./insmod/Makefile.in.orig 2003-01-28 00:55:10.000000000 +0100
+++ ./insmod/Makefile.in 2003-01-28 00:57:36.000000000 +0100
@@ -116,16 +116,16 @@
@set -ex;\
for i in $(TARGETS_REAL); do \
$(MKDIR) $(DESTDIR)$(sbindir); \
- $(INSTALL) $(STRIP) $$i $(DESTDIR)$(sbindir); done;
+ $(INSTALL) $(STRIP) $$i $(DESTDIR)$(sbindir)/$$i.old; done;
set -e; \
for i in $(srcdir)/insmod_ksymoops_clean $(srcdir)/kernelversion; do \
$(MKDIR) $(DESTDIR)$(sbindir); \
- $(INSTALL) $$i $(DESTDIR)$(sbindir); done;
+ $(INSTALL) $$i $(DESTDIR)$(sbindir)/$$i.old; done;
set -e; \
for i in $(COMB); do \
- ln -sf insmod $(DESTDIR)$(sbindir)/$$i; \
+ ln -sf insmod.old $(DESTDIR)$(sbindir)/$$i.old; \
(test "$(insmod_static)" = yes && \
- ln -sf insmod.static $(DESTDIR)$(sbindir)/$$i.static) || true; \
+ ln -sf insmod.static.old $(DESTDIR)$(sbindir)/$$i.static.old) || true; \
done
clean:
--- ./kerneld/Makefile.in.orig 2003-01-28 00:55:10.000000000 +0100
+++ ./kerneld/Makefile.in 2003-01-28 00:57:52.000000000 +0100
@@ -42,7 +42,7 @@
set -e; \
for i in $(PROGS); do \
$(MKDIR) $(sbindir); \
- $(INSTALL) $(STRIP) $$i $(sbindir); \
+ $(INSTALL) $(STRIP) $$i $(sbindir)/$$i.old; \
done
install-scripts: