summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Imhof <tantive@gentoo.org>2004-04-30 15:57:12 +0000
committerMichael Imhof <tantive@gentoo.org>2004-04-30 15:57:12 +0000
commitf9dff1953422ddd0d7c5160ec43cba0e7c5bbd34 (patch)
treefd8faaaea342c0f30a67a10f2ffa23d4dc4877f4 /sys-cluster/drbd/files
parentVersion bumped. Closes #47470. (Manifest recommit) (diff)
downloadgentoo-2-f9dff1953422ddd0d7c5160ec43cba0e7c5bbd34.tar.gz
gentoo-2-f9dff1953422ddd0d7c5160ec43cba0e7c5bbd34.tar.bz2
gentoo-2-f9dff1953422ddd0d7c5160ec43cba0e7c5bbd34.zip
Version bumped. Closes #47802.
Diffstat (limited to 'sys-cluster/drbd/files')
-rw-r--r--sys-cluster/drbd/files/0.6.12-Makefile.vars.patch21
-rw-r--r--sys-cluster/drbd/files/0.6.12-module-Makefile.patch19
-rw-r--r--sys-cluster/drbd/files/0.6.12-scripts-Makefile.patch37
-rw-r--r--sys-cluster/drbd/files/digest-drbd-0.6.121
4 files changed, 78 insertions, 0 deletions
diff --git a/sys-cluster/drbd/files/0.6.12-Makefile.vars.patch b/sys-cluster/drbd/files/0.6.12-Makefile.vars.patch
new file mode 100644
index 000000000000..bb18dbcb412d
--- /dev/null
+++ b/sys-cluster/drbd/files/0.6.12-Makefile.vars.patch
@@ -0,0 +1,21 @@
+--- Makefile.vars 2004-04-14 11:35:11.000000000 +0200
++++ Makefile.vars2 2004-04-14 15:25:07.000000000 +0200
+@@ -23,7 +23,7 @@
+ # export all variables not explicitly _un_exported
+ export
+
+-PREFIX := /
++#PREFIX := /
+
+ CC := gcc
+ USERFLAGS := -Wall $(DEBUGFLAGS)
+@@ -44,7 +44,8 @@
+ $(if $(wildcard /etc/redhat-release),redhat,\
+ $(if $(wildcard /etc/slackware-version),slackware,\
+ $(if $(wildcard /etc/ROCK-VERSION),rock,\
+- $(if $(wildcard /var/lib/YaST*),suse,)))))))
++ $(if $(wildcard /var/lib/YaST*),suse,\
++ $(if $(wildcard /etc/gentoo-release),gentoo,))))))))
+
+ SUBDIRS = user documentation scripts benchmark drbd #testing
+
diff --git a/sys-cluster/drbd/files/0.6.12-module-Makefile.patch b/sys-cluster/drbd/files/0.6.12-module-Makefile.patch
new file mode 100644
index 000000000000..082b9be24ae5
--- /dev/null
+++ b/sys-cluster/drbd/files/0.6.12-module-Makefile.patch
@@ -0,0 +1,19 @@
+--- Makefile 2004-02-10 13:49:10.000000000 +0100
++++ _Makefile 2004-04-14 18:14:41.000000000 +0200
+@@ -134,10 +134,10 @@
+ test -n "$(KERNELRELEASE)"
+ install -D -m 644 drbd.o "$(PREFIX)lib/modules/$(KERNELRELEASE)/$(MODSUBDIR)/drbd.o"
+ install -d -m 700 "$(PREFIX)var/lib/drbd"
+- ifeq ($(shell uname -r),$(KERNELRELEASE))
+- /sbin/depmod -a || /sbin/depmod -e drbd.o 2>&1 >/dev/null || true
+- else
+- [ -e $(LINUX)/System.map ] && \
+- /sbin/depmod -F $(LINUX)/System.map -e ./drbd.o 2>&1 >/dev/null || true
+- endif
++# ifeq ($(shell uname -r),$(KERNELRELEASE))
++# /sbin/depmod -a || /sbin/depmod -e drbd.o 2>&1 >/dev/null || true
++# else
++# [ -e $(LINUX)/System.map ] && \
++# /sbin/depmod -F $(LINUX)/System.map -e ./drbd.o 2>&1 >/dev/null || true
++# endif
+ endif
diff --git a/sys-cluster/drbd/files/0.6.12-scripts-Makefile.patch b/sys-cluster/drbd/files/0.6.12-scripts-Makefile.patch
new file mode 100644
index 000000000000..a4fc3b9a251d
--- /dev/null
+++ b/sys-cluster/drbd/files/0.6.12-scripts-Makefile.patch
@@ -0,0 +1,37 @@
+--- Makefile.org 2004-04-14 16:37:03.000000000 +0200
++++ Makefile 2004-04-14 16:37:00.000000000 +0200
+@@ -42,6 +42,10 @@
+ INITD=etc/rc.d/init.d/
+ endif
+
++ifeq ($DIST),gentoo)
++ INITD=$(PREFIX)sbin/
++endif
++
+ ifeq ($(INITD),,)
+ $(warning Can not guess distribution INITD, please fix Makefile.vars)
+ $(warning Assume INITD=etc/init.d according to LSB)
+@@ -54,15 +58,15 @@
+ install:
+ mkdir -p $(PREFIX)etc/ha.d/resource.d
+ install -D -m 755 drbd $(PREFIX)$(INITD)/drbd
+- @ if [ ! -e $(PREFIX)etc/drbd.conf ]; then \
+- install -D -m 644 drbd.conf $(PREFIX)etc/drbd.conf; \
+- fi
++# @ if [ ! -e $(PREFIX)etc/drbd.conf ]; then \
++# install -D -m 644 drbd.conf $(PREFIX)etc/drbd.conf; \
++# fi
+ ln -sf ../../../$(INITD)drbd $(PREFIX)etc/ha.d/resource.d/datadisk
+-ifeq ($(DIST),suse)
+- ln -sf ../$(INITD)drbd $(PREFIX)sbin/rcdrbd
+-endif
+- @ echo
+- @ echo "Don't forget to run update-rc.d or chkconfig"
++#ifeq ($(DIST),suse)
++# ln -sf ../$(INITD)drbd $(PREFIX)sbin/rcdrbd
++#endif
++# @ echo
++# @ echo "Don't forget to run update-rc.d or chkconfig"
+
+ clean:
+ rm -f *~
diff --git a/sys-cluster/drbd/files/digest-drbd-0.6.12 b/sys-cluster/drbd/files/digest-drbd-0.6.12
new file mode 100644
index 000000000000..05fb3e33c4a6
--- /dev/null
+++ b/sys-cluster/drbd/files/digest-drbd-0.6.12
@@ -0,0 +1 @@
+MD5 b0fb5753a750d7057e42a2cbf0e66c89 drbd-0.6.12.tar.gz 217896