summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2017-01-10 20:02:24 +0100
committerLars Wendler <polynomial-c@gentoo.org>2017-01-10 20:05:19 +0100
commit82299c2b5f256f547f321d1af9385adb0c91bf00 (patch)
treef88845ae79d4d902fba495e35928af19917c0e44 /sys-fs/mdadm/files
parentsys-fs/mdadm: Bump to version 4.0 (diff)
downloadgentoo-82299c2b5f256f547f321d1af9385adb0c91bf00.tar.gz
gentoo-82299c2b5f256f547f321d1af9385adb0c91bf00.tar.bz2
gentoo-82299c2b5f256f547f321d1af9385adb0c91bf00.zip
sys-fs/mdadm: Removed old.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'sys-fs/mdadm/files')
-rw-r--r--sys-fs/mdadm/files/mdadm-3.2.1-mdassemble.patch16
-rw-r--r--sys-fs/mdadm/files/mdadm-3.2.x-udevdir.patch26
-rw-r--r--sys-fs/mdadm/files/mdadm.service13
-rw-r--r--sys-fs/mdadm/files/mdadm.tmpfiles.conf1
4 files changed, 0 insertions, 56 deletions
diff --git a/sys-fs/mdadm/files/mdadm-3.2.1-mdassemble.patch b/sys-fs/mdadm/files/mdadm-3.2.1-mdassemble.patch
deleted file mode 100644
index 6e12dc2534a0..000000000000
--- a/sys-fs/mdadm/files/mdadm-3.2.1-mdassemble.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-http://bugs.gentoo.org/211426
-
-make default mdassemble sane
-
---- a/Makefile
-+++ b/Makefile
-@@ -181,8 +181,7 @@
- $(CC) $(CXFLAGS) $(LDFLAGS) -o raid6check raid6check.o $(CHECK_OBJS)
-
- mdassemble : $(ASSEMBLE_SRCS) $(INCL)
-- rm -f $(OBJS)
-- $(DIET_GCC) $(ASSEMBLE_FLAGS) -o mdassemble $(ASSEMBLE_SRCS) $(STATICSRC)
-+ $(CC) $(CFLAGS) $(LDFLAGS) $(ASSEMBLE_FLAGS) -DHAVE_STDINT_H -o mdassemble $(ASSEMBLE_SRCS) $(STATICSRC)
-
- mdassemble.static : $(ASSEMBLE_SRCS) $(INCL)
- rm -f $(OBJS)
diff --git a/sys-fs/mdadm/files/mdadm-3.2.x-udevdir.patch b/sys-fs/mdadm/files/mdadm-3.2.x-udevdir.patch
deleted file mode 100644
index 8bfdcd5261ab..000000000000
--- a/sys-fs/mdadm/files/mdadm-3.2.x-udevdir.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-http://bugs.gentoo.org/430900
-
---- Makefile
-+++ Makefile
-@@ -97,6 +97,12 @@
- MAN4DIR = $(MANDIR)/man4
- MAN5DIR = $(MANDIR)/man5
- MAN8DIR = $(MANDIR)/man8
-+PKG_CONFIG ?= pkg-config
-+
-+UDEVDIR := $(shell $(PKG_CONFIG) --variable=udevdir udev 2>/dev/null)
-+ifndef UDEVDIR
-+ UDEVDIR = lib/udev
-+endif
-
- OBJS = mdadm.o config.o policy.o mdstat.o ReadMe.o util.o maps.o lib.o \
- Manage.o Assemble.o Build.o \
-@@ -254,7 +260,7 @@
- $(INSTALL) -D -m 644 mdadm.conf.5 $(DESTDIR)$(MAN5DIR)/mdadm.conf.5
-
- install-udev: udev-md-raid.rules
-- $(INSTALL) -D -m 644 udev-md-raid.rules $(DESTDIR)/lib/udev/rules.d/64-md-raid.rules
-+ $(INSTALL) -D -m 644 udev-md-raid.rules $(DESTDIR)/$(UDEVDIR)/rules.d/64-md-raid.rules
-
- uninstall:
- rm -f $(DESTDIR)$(MAN8DIR)/mdadm.8 $(DESTDIR)$(MAN8DIR)/mdmon.8 $(DESTDIR)$(MAN4DIR)/md.4 $(DESTDIR)$(MAN5DIR)/mdadm.conf.5 $(DESTDIR)$(BINDIR)/mdadm
diff --git a/sys-fs/mdadm/files/mdadm.service b/sys-fs/mdadm/files/mdadm.service
deleted file mode 100644
index 342177d4f06a..000000000000
--- a/sys-fs/mdadm/files/mdadm.service
+++ /dev/null
@@ -1,13 +0,0 @@
-[Unit]
-Description=Software RAID monitoring and management
-ConditionPathExists=/etc/mdadm.conf
-
-[Service]
-Type=forking
-PIDFile=/run/mdadm/mdadm.pid
-EnvironmentFile=/etc/conf.d/mdadm
-ExecStart=/sbin/mdadm --monitor --scan -f --pid-file=/run/mdadm/mdadm.pid $MDADM_OPTS
-
-[Install]
-WantedBy=multi-user.target
-
diff --git a/sys-fs/mdadm/files/mdadm.tmpfiles.conf b/sys-fs/mdadm/files/mdadm.tmpfiles.conf
deleted file mode 100644
index 3207ddae0e43..000000000000
--- a/sys-fs/mdadm/files/mdadm.tmpfiles.conf
+++ /dev/null
@@ -1 +0,0 @@
-d /run/mdadm 0710 root root -