diff options
author | Janne Aho | 2023-01-22 00:02:39 +0100 |
---|---|---|
committer | Janne Aho | 2023-01-22 00:02:39 +0100 |
commit | fc1c353ef80304505e1c936370f9629b1d24a701 (patch) | |
tree | 17d153bca259f6b015931c1ece75ad711bf8720e | |
download | aur-open-iscsi-openrc.tar.gz |
open-iscsi OpenRC init script iscsid
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..717e2ffa869c --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = open-iscsi-openrc + pkgdesc = The OpenRC init script and config file for open-iscsi + pkgver = 1.0.0 + pkgrel = 0 + url = https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-block/open-iscsi/files + arch = any + license = GPL + depends = openrc + depends = open-iscsi + source = https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-block/open-iscsi/files/iscsid-conf.d?id=94ae36b9c42cc64f73ee27d9955569b8cefeab73 + source = https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-block/open-iscsi/files/iscsid-init.d?id=94ae36b9c42cc64f73ee27d9955569b8cefeab73 + md5sums = 4860cc9a2a8396bb965545da7e253417 + md5sums = 6bb28543ea795b549e7b5ce7548deaab + +pkgname = open-iscsi-openrc diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..dc9ae630325c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Janne Aho <aur@aho.hk> +pkgname="open-iscsi-openrc" +pkgver="1.0.0" +pkgrel="0" +pkgdesc="The OpenRC init script and config file for open-iscsi" +url="https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-block/open-iscsi/files" +license=('GPL') +arch=('any') +depends=('openrc' 'open-iscsi') +gentoo_commit="94ae36b9c42cc64f73ee27d9955569b8cefeab73" +source=( + "https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-block/open-iscsi/files/iscsid-conf.d?id=${gentoo_commit}" + "https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-block/open-iscsi/files/iscsid-init.d?id=${gentoo_commit}" +) +md5sums=( +'4860cc9a2a8396bb965545da7e253417' +'6bb28543ea795b549e7b5ce7548deaab' +) + +package() { + install -Dm640 "${srcdir}/iscsid-conf.d?id=${gentoo_commit}" "${pkgdir}/etc/conf.d/iscsid" + install -Dm755 "${srcdir}/iscsid-init.d?id=${gentoo_commit}" "${pkgdir}/etc/init.d/iscsid" +} |