Add packages needed for ISCSI target
This commit is contained in:
19
src/targetcli-fb/.SRCINFO
Normal file
19
src/targetcli-fb/.SRCINFO
Normal file
@@ -0,0 +1,19 @@
|
||||
# Generated by mksrcinfo v8
|
||||
# Sun May 8 16:53:29 UTC 2016
|
||||
pkgbase = targetcli-fb
|
||||
pkgdesc = free branch of the targetcli LIO administration shell (iSCSI + Co)
|
||||
pkgver = 2.1.fb43
|
||||
pkgrel = 1
|
||||
url = https://github.com/agrover/targetcli-fb
|
||||
arch = any
|
||||
license = Apache
|
||||
makedepends = python-setuptools
|
||||
depends = python-rtslib-fb>=2.1.fb52
|
||||
depends = python-configshell-fb>=1.1.fb17
|
||||
depends = python-dbus
|
||||
provides = targetcli
|
||||
source = https://fedorahosted.org/releases/t/a/targetcli-fb/targetcli-fb-2.1.fb43.tar.gz
|
||||
sha256sums = 63e7c85df26ffd2b1ef34e9113585d7eb8b3fd8d4bf84ebe025a14bf518e7459
|
||||
|
||||
pkgname = targetcli-fb
|
||||
|
8
src/targetcli-fb/.gitignore
vendored
Normal file
8
src/targetcli-fb/.gitignore
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
*.tar.gz
|
||||
*.tar.xz
|
||||
*.tgz
|
||||
*.rpm
|
||||
*.zip
|
||||
*.bz2
|
||||
src/
|
||||
pkg/
|
36
src/targetcli-fb/PKGBUILD
Normal file
36
src/targetcli-fb/PKGBUILD
Normal file
@@ -0,0 +1,36 @@
|
||||
# Contributor: Johannes Dewender arch at JonnyJD dot net
|
||||
pkgname=targetcli-fb
|
||||
pkgver=2.1.fb43
|
||||
pkgrel=1
|
||||
pkgdesc="free branch of the targetcli LIO administration shell (iSCSI + Co)"
|
||||
arch=('any')
|
||||
url="https://github.com/agrover/targetcli-fb"
|
||||
license=('Apache')
|
||||
groups=()
|
||||
depends=('python-rtslib-fb>=2.1.fb52' 'python-configshell-fb>=1.1.fb17'
|
||||
'python-dbus')
|
||||
makedepends=('python-setuptools')
|
||||
# TODO: optdepend on python-ethtool when available for python3
|
||||
optdepends=()
|
||||
provides=('targetcli')
|
||||
backup=()
|
||||
options=()
|
||||
install=
|
||||
source=(https://fedorahosted.org/releases/t/a/targetcli-fb/$pkgname-$pkgver.tar.gz)
|
||||
sha256sums=('63e7c85df26ffd2b1ef34e9113585d7eb8b3fd8d4bf84ebe025a14bf518e7459')
|
||||
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
python setup.py build
|
||||
gzip --stdout targetcli.8 > "targetcli.8.gz"
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
python setup.py install --skip-build --root="$pkgdir/" --optimize=1
|
||||
|
||||
install -D -m 644 targetcli.8.gz "$pkgdir/usr/share/man/man8/targetcli.8.gz"
|
||||
}
|
||||
|
||||
# vim:set ts=2 sw=2 et:
|
Reference in New Issue
Block a user