mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
aur/open-iscsi to 2.0.873-4
This commit is contained in:
parent
e875e57c60
commit
5d8c060e6e
2 changed files with 15 additions and 3 deletions
|
@ -2,7 +2,7 @@
|
|||
pkgname=open-iscsi
|
||||
pkgver=2.0.873
|
||||
_pkgver=2.0-873
|
||||
pkgrel=3
|
||||
pkgrel=4
|
||||
pkgdesc="userland tools"
|
||||
arch=('i686' 'x86_64')
|
||||
url="http://www.open-iscsi.org"
|
||||
|
@ -11,11 +11,12 @@ depends=('bash')
|
|||
install=$pkgname.install
|
||||
backup=('etc/iscsi/iscsid.conf' 'etc/iscsi/initiatorname.iscsi' 'etc/conf.d/open-iscsi')
|
||||
source=("http://www.open-iscsi.org/bits/${pkgname}-${_pkgver}.tar.gz" \
|
||||
"open-iscsi" "open-iscsi.conf.d")
|
||||
"open-iscsi" "open-iscsi.conf.d" "open-iscsi.service")
|
||||
options=('docs')
|
||||
sha256sums=('7dd9f2f97da417560349a8da44ea4fcfe98bfd5ef284240a2cc4ff8e88ac7cd9'
|
||||
'649536c4abc9c4d9f994cc1c0033449d46c120b73a836854a228f7e103711314'
|
||||
'289ba27b72a3bd9d251e08b3d61dd3ae2f6ad545e5ffe2edaa2b79638996654c')
|
||||
'289ba27b72a3bd9d251e08b3d61dd3ae2f6ad545e5ffe2edaa2b79638996654c'
|
||||
'7b8e37dd10a909a67ba7f7126f699920639be39adfa65f1d2b2bcd8846e58db7')
|
||||
|
||||
build() {
|
||||
cd ${srcdir}/${pkgname}-${_pkgver}
|
||||
|
@ -33,6 +34,7 @@ build() {
|
|||
install -D -m755 ${srcdir}/open-iscsi ${pkgdir}/etc/rc.d/open-iscsi
|
||||
install -D -m644 ${srcdir}/open-iscsi.conf.d ${pkgdir}/etc/conf.d/open-iscsi
|
||||
install -D -m644 ${srcdir}/${pkgname}-${_pkgver}/etc/iscsid.conf ${pkgdir}/etc/iscsi
|
||||
install -D -m644 ${srcdir}/open-iscsi.service ${pkgdir}/usr/lib/systemd/system/open-iscsi.service
|
||||
|
||||
touch ${pkgdir}/etc/iscsi/initiatorname.iscsi
|
||||
|
||||
|
|
10
aur/open-iscsi/open-iscsi.service
Normal file
10
aur/open-iscsi/open-iscsi.service
Normal file
|
@ -0,0 +1,10 @@
|
|||
[Unit]
|
||||
Description=Open iSCSI Daemon
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/sbin/iscsid
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in a new issue