[arch-commits] Commit in mdadm/repos (4 files)

2019-11-13 Thread Felix Yan via arch-commits
Date: Wednesday, November 13, 2019 @ 18:17:33
  Author: felixonmars
Revision: 368456

archrelease: copy trunk to staging-x86_64

Added:
  mdadm/repos/staging-x86_64/
  mdadm/repos/staging-x86_64/PKGBUILD
(from rev 368455, mdadm/trunk/PKGBUILD)
  mdadm/repos/staging-x86_64/mdadm.conf
(from rev 368455, mdadm/trunk/mdadm.conf)
  mdadm/repos/staging-x86_64/mdadm_udev_install
(from rev 368455, mdadm/trunk/mdadm_udev_install)

+
 PKGBUILD   |   49 +
 mdadm.conf |   67 +++
 mdadm_udev_install |   25 +++
 3 files changed, 141 insertions(+)

Copied: mdadm/repos/staging-x86_64/PKGBUILD (from rev 368455, 
mdadm/trunk/PKGBUILD)
===
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2019-11-13 18:17:33 UTC (rev 368456)
@@ -0,0 +1,49 @@
+# Maintainer: Tobias Powalowski 
+# Contributor: Judd Vinet 
+
+pkgname=mdadm
+pkgver=4.1
+pkgrel=2
+pkgdesc="A tool for managing/monitoring Linux md device arrays, also known as 
Software RAID"
+arch=(x86_64)
+license=('GPL')
+url="https://git.kernel.org/cgit/utils/mdadm;
+conflicts=('mkinitcpio<0.7')
+makedepends=('git')
+depends=('glibc')
+replaces=('raidtools')
+backup=('etc/mdadm.conf')
+validpgpkeys=('6A86B80E1D22F21D0B26BA75397D82E0531A9C91') # Jes Sorensen
+source=("git+https://git.kernel.org/pub/scm/utils/mdadm/mdadm.git#tag=${pkgname}-${pkgver}?signed;
+'mdadm.conf'
+'mdadm_udev_install')
+sha256sums=('SKIP'
+'4ce1e90690282f98e4828e11576fbd61be65e97a2cdae6c7eac7035ea5ee53e5'
+'170b0e5d548416c0adb9df4e6941bea6bc33d843419c997e45ecaf9e36a58f38')
+
+prepare() {
+  cd mdadm
+
+  git cherry-pick -n \
+a4f7290c20c2ff78328c9db0b18029165cfb05b2 \
+7039d1f8200b9599b23db5953934fdb43b0442e0 \
+486720e0c2418e7e2e0a16221f7c42a308622254 \
+9f4218274cd4a1e1f356a1617f9a1d09960cf255 \
+761e3bd9f5e3aafa95ad3ae50a637dc67c8774f0
+}
+
+build() {
+  cd mdadm
+
+  make CXFLAGS="$CFLAGS" BINDIR=/usr/bin UDEVDIR=/usr/lib/udev
+}
+
+package() {
+  cd mdadm
+
+  make INSTALL=/usr/bin/install BINDIR=/usr/bin DESTDIR="$pkgdir" 
UDEVDIR=/usr/lib/udev install
+  make SYSTEMD_DIR="$pkgdir"/usr/lib/systemd/system install-systemd
+  install -D -m644 ../mdadm.conf "$pkgdir"/etc/mdadm.conf
+  install -D -m644 ../mdadm_udev_install 
"$pkgdir"/usr/lib/initcpio/install/mdadm_udev
+  ln -s /usr/lib/initcpio/install/mdadm_udev 
"$pkgdir"/usr/lib/initcpio/install/mdadm
+}

Copied: mdadm/repos/staging-x86_64/mdadm.conf (from rev 368455, 
mdadm/trunk/mdadm.conf)
===
--- staging-x86_64/mdadm.conf   (rev 0)
+++ staging-x86_64/mdadm.conf   2019-11-13 18:17:33 UTC (rev 368456)
@@ -0,0 +1,67 @@
+# mdadm configuration file
+#
+# mdadm will function properly without the use of a configuration file,
+# but this file is useful for keeping track of arrays and member disks.
+# In general, a mdadm.conf file is created, and updated, after arrays
+# are created. This is the opposite behavior of /etc/raidtab which is
+# created prior to array construction.
+#
+#
+# the config file takes two types of lines:
+#
+#  DEVICE lines specify a list of devices of where to look for
+#potential member disks
+#
+#  ARRAY lines specify information about how to identify arrays so
+#so that they can be activated
+#
+
+
+# You can have more than one device line and use wild cards. The first 
+# example includes SCSI the first partition of SCSI disks /dev/sdb,
+# /dev/sdc, /dev/sdd, /dev/sdj, /dev/sdk, and /dev/sdl. The second 
+# line looks for array slices on IDE disks.
+#
+#DEVICE /dev/sd[bcdjkl]1
+#DEVICE /dev/hda1 /dev/hdb1
+#
+# The designation "partitions" will scan all partitions found in
+# /proc/partitions
+DEVICE partitions
+
+
+# ARRAY lines specify an array to assemble and a method of identification.
+# Arrays can currently be identified by using a UUID, superblock minor number,
+# or a listing of devices.
+#
+#  super-minor is usually the minor number of the metadevice
+#  UUID is the Universally Unique Identifier for the array
+# Each can be obtained using
+#
+#  mdadm -D 
+#
+# To capture the UUIDs for all your RAID arrays to this file, run these:
+#to get a list of running arrays:
+## mdadm -D --scan >>/etc/mdadm.conf
+#to get a list from superblocks:
+## mdadm -E --scan >>/etc/mdadm.conf
+#
+#ARRAY /dev/md0 UUID=3aaa0122:29827cfa:5331ad66:ca767371
+#ARRAY /dev/md1 super-minor=1
+#ARRAY /dev/md2 devices=/dev/hda1,/dev/hdb1
+#
+# ARRAY lines can also specify a "spare-group" for each array.  mdadm --monitor
+# will then move a spare between arrays in a spare-group if one array has a
+# failed drive but no spare
+#ARRAY /dev/md4 uuid=b23f3c6d:aec43a9f:fd65db85:369432df 

[arch-commits] Commit in mdadm/repos (4 files)

2019-03-18 Thread Tobias Powalowski via arch-commits
Date: Monday, March 18, 2019 @ 16:12:12
  Author: tpowa
Revision: 348592

archrelease: copy trunk to testing-x86_64

Added:
  mdadm/repos/testing-x86_64/
  mdadm/repos/testing-x86_64/PKGBUILD
(from rev 348591, mdadm/trunk/PKGBUILD)
  mdadm/repos/testing-x86_64/mdadm.conf
(from rev 348591, mdadm/trunk/mdadm.conf)
  mdadm/repos/testing-x86_64/mdadm_udev_install
(from rev 348591, mdadm/trunk/mdadm_udev_install)

+
 PKGBUILD   |   35 ++
 mdadm.conf |   67 +++
 mdadm_udev_install |   25 +++
 3 files changed, 127 insertions(+)

Copied: mdadm/repos/testing-x86_64/PKGBUILD (from rev 348591, 
mdadm/trunk/PKGBUILD)
===
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2019-03-18 16:12:12 UTC (rev 348592)
@@ -0,0 +1,35 @@
+# Maintainer: Tobias Powalowski 
+# Contributor: Judd Vinet 
+pkgname=mdadm
+pkgver=4.1
+pkgrel=1
+pkgdesc="A tool for managing/monitoring Linux md device arrays, also known as 
Software RAID"
+arch=(x86_64)
+license=('GPL')
+url="http://git.kernel.org/cgit/utils/mdadm;
+groups=('base')
+conflicts=('mkinitcpio<0.7')
+depends=('glibc')
+backup=('etc/mdadm.conf')
+source=("https://www.kernel.org/pub/linux/utils/raid/mdadm/mdadm-4.1.tar."{xz,sign}
+mdadm.conf 
+mdadm_udev_install)
+replaces=('raidtools')
+validpgpkeys=('6A86B80E1D22F21D0B26BA75397D82E0531A9C91') # Jes Sorensen
+md5sums=('51bf3651bd73a06c413a2f964f299598'
+ 'SKIP'
+ '5a37c112aa07dccdde62f9fa5b888607'
+ 'b6b0bfd6487c99264578630616dfe5eb')
+build() {
+  cd $srcdir/$pkgname-$pkgver
+  make CXFLAGS="$CFLAGS" BINDIR=/usr/bin UDEVDIR=/usr/lib/udev
+}
+
+package() {
+  cd $srcdir/$pkgname-$pkgver
+  make INSTALL=/usr/bin/install BINDIR=/usr/bin DESTDIR=$pkgdir 
UDEVDIR=/usr/lib/udev install
+  make SYSTEMD_DIR=$pkgdir/usr/lib/systemd/system install-systemd
+  install -D -m644 ../mdadm.conf $pkgdir/etc/mdadm.conf
+  install -D -m644 ../mdadm_udev_install 
$pkgdir/usr/lib/initcpio/install/mdadm_udev
+  ln -s /usr/lib/initcpio/install/mdadm_udev 
$pkgdir/usr/lib/initcpio/install/mdadm
+}

Copied: mdadm/repos/testing-x86_64/mdadm.conf (from rev 348591, 
mdadm/trunk/mdadm.conf)
===
--- testing-x86_64/mdadm.conf   (rev 0)
+++ testing-x86_64/mdadm.conf   2019-03-18 16:12:12 UTC (rev 348592)
@@ -0,0 +1,67 @@
+# mdadm configuration file
+#
+# mdadm will function properly without the use of a configuration file,
+# but this file is useful for keeping track of arrays and member disks.
+# In general, a mdadm.conf file is created, and updated, after arrays
+# are created. This is the opposite behavior of /etc/raidtab which is
+# created prior to array construction.
+#
+#
+# the config file takes two types of lines:
+#
+#  DEVICE lines specify a list of devices of where to look for
+#potential member disks
+#
+#  ARRAY lines specify information about how to identify arrays so
+#so that they can be activated
+#
+
+
+# You can have more than one device line and use wild cards. The first 
+# example includes SCSI the first partition of SCSI disks /dev/sdb,
+# /dev/sdc, /dev/sdd, /dev/sdj, /dev/sdk, and /dev/sdl. The second 
+# line looks for array slices on IDE disks.
+#
+#DEVICE /dev/sd[bcdjkl]1
+#DEVICE /dev/hda1 /dev/hdb1
+#
+# The designation "partitions" will scan all partitions found in
+# /proc/partitions
+DEVICE partitions
+
+
+# ARRAY lines specify an array to assemble and a method of identification.
+# Arrays can currently be identified by using a UUID, superblock minor number,
+# or a listing of devices.
+#
+#  super-minor is usually the minor number of the metadevice
+#  UUID is the Universally Unique Identifier for the array
+# Each can be obtained using
+#
+#  mdadm -D 
+#
+# To capture the UUIDs for all your RAID arrays to this file, run these:
+#to get a list of running arrays:
+## mdadm -D --scan >>/etc/mdadm.conf
+#to get a list from superblocks:
+## mdadm -E --scan >>/etc/mdadm.conf
+#
+#ARRAY /dev/md0 UUID=3aaa0122:29827cfa:5331ad66:ca767371
+#ARRAY /dev/md1 super-minor=1
+#ARRAY /dev/md2 devices=/dev/hda1,/dev/hdb1
+#
+# ARRAY lines can also specify a "spare-group" for each array.  mdadm --monitor
+# will then move a spare between arrays in a spare-group if one array has a
+# failed drive but no spare
+#ARRAY /dev/md4 uuid=b23f3c6d:aec43a9f:fd65db85:369432df spare-group=group1
+#ARRAY /dev/md5 uuid=19464854:03f71b1b:e0df2edd:246cc977 spare-group=group1
+#
+
+
+# When used in --follow (aka --monitor) mode, mdadm needs a
+# mail address and/or a program.  To start mdadm's monitor mode, enable
+# mdadm.service in systemd.
+#
+# If the lines are not found, mdadm will exit quietly
+#MAILADDR r...@mydomain.tld
+#PROGRAM