Commit 97e3a273 authored by Natanael Copa's avatar Natanael Copa

Merge remote branch 'clandmeter/master' into clandmeter

parents 8bd29a28 c8eae56b
# Contributor: Carlo Landmeter <clandmeter at gmail>
# Maintainer: Carlo Landmeter <clandmeter at gmail>
pkgname=mdadm
pkgver=2.6.8
pkgrel=0
pkgdesc="a tool for managing Linux Software RAID arrays"
url="http://neil.brown.name/blog/mdadm"
license="GPL-2"
depends="uclibc"
makedepends="groff"
subpackages="$pkgname-doc"
source="http://www.kernel.org/pub/linux/utils/raid/${pkgname}/${pkgname}-${pkgver}.tar.gz
${pkgname}.initd
${pkgname}.confd
"
build() {
cd "$srcdir/$pkgname-$pkgver"
make || return 1
make INSTALL=/bin/install DESTDIR=$pkgdir install
install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
install -m644 -D "$srcdir"/$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname
install -m644 -D mdadm.conf-example "$pkgdir"/etc/mdadm.conf
}
md5sums="bcc30968711a078387fba44867eb7a23 mdadm-2.6.8.tar.gz
96b323ba5b778aeb905c119b9547b2a5 mdadm.initd
16d2b8eb2e17184357db503470fdd8eb mdadm.confd"
# Misc options to pass to mdadm in monitor mode.
# For more info, run `mdadm --monitor --help` or see
# the mdadm(8) manpage.
OPTS="--syslog"
#!/sbin/runscript
# Sample init.d file for alpine linux.
NAME=mdadm
DAEMON=/sbin/$NAME
depend() {
use logger dns net
}
start() {
ebegin "Starting ${NAME}"
start-stop-daemon --start --quiet --background \
--exec ${DAEMON} -- \
--monitor --scan \
--daemonise ${OPTS}
eend $?
}
stop() {
ebegin "Stopping ${NAME}"
start-stop-daemon --stop --quiet \
--exec ${DAEMON}
eend $?
}
...@@ -12,7 +12,7 @@ url="http://www.wzdftpd.net" ...@@ -12,7 +12,7 @@ url="http://www.wzdftpd.net"
license='GPL' license='GPL'
depends="openssl" depends="openssl"
makedepends="cmake mysql-dev sqlite-dev tcl-dev openssl-dev flex" makedepends="cmake mysql-dev sqlite-dev tcl-dev openssl-dev flex"
source="http://alpine.nethq.org/clandmeter/wzdftpd-svn2040.tar.gz source="http://alpine.nethq.org/clandmeter/src/wzdftpd-svn2040.tar.gz
wzdftpd-svn.initd" wzdftpd-svn.initd"
subpackages="" subpackages=""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment