diff options
Diffstat (limited to 'example-debian')
-rw-r--r-- | example-debian/README.Debian | 13 | ||||
-rw-r--r-- | example-debian/compat | 1 | ||||
-rw-r--r-- | example-debian/control | 29 | ||||
-rw-r--r-- | example-debian/copyright | 24 | ||||
-rw-r--r-- | example-debian/python-rtslib-fb-docs.doc-base | 9 | ||||
-rw-r--r-- | example-debian/python-rtslib-fb.install | 2 | ||||
-rw-r--r-- | example-debian/python-rtslib-fb.manpages | 2 | ||||
-rw-r--r-- | example-debian/python3-rtslib-fb.install | 2 | ||||
-rw-r--r-- | example-debian/python3-rtslib-fb.manpages | 2 | ||||
-rw-r--r-- | example-debian/python3-rtslib-fb.target.init | 41 | ||||
-rwxr-xr-x | example-debian/rules | 51 | ||||
-rw-r--r-- | example-debian/source/format | 1 |
12 files changed, 0 insertions, 177 deletions
diff --git a/example-debian/README.Debian b/example-debian/README.Debian deleted file mode 100644 index 78a1f14..0000000 --- a/example-debian/README.Debian +++ /dev/null @@ -1,13 +0,0 @@ -Copyright (c) 2011-2013 by Datera, Inc - -Licensed under the Apache License, Version 2.0 (the "License"); you may -not use this file except in compliance with the License. You may obtain -a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -License for the specific language governing permissions and limitations -under the License. diff --git a/example-debian/compat b/example-debian/compat deleted file mode 100644 index 7f8f011..0000000 --- a/example-debian/compat +++ /dev/null @@ -1 +0,0 @@ -7 diff --git a/example-debian/control b/example-debian/control deleted file mode 100644 index 0c831db..0000000 --- a/example-debian/control +++ /dev/null @@ -1,29 +0,0 @@ -Source: rtslib-fb -Section: python -Priority: optional -Maintainer: Andy Grover <andy@groveronline.com> -Build-Depends: debhelper(>= 8), python, python3 , python-epydoc, python-setuptools, python3-setuptools, python-six, python-pyudev, dh-python -Standards-Version: 3.9.4 -X-Python-Version: >= 2.6 -X-Python3-Version: >= 3.1 - -Package: python-rtslib-fb-docs -Architecture: all -Description: RisingTide Systems LIO target Python API (Documentation). - -Package: python-rtslib-fb -Architecture: all -Depends: ${python:Depends}, ${misc:Depends} -Provides: ${python:Provides} -Suggests: python-rtslib-fb-doc -Conflicts: python-rtslib, rtsadmin-frozen -Description: RisingTide Systems LIO target Python 2 API (free branch). - -Package: python3-rtslib-fb -Architecture: all -Depends: ${python3:Depends}, ${misc:Depends} -Suggests: python-rtslib-fb-doc -Conflicts: lio-utils -Replaces: targetcli-fb (<< 2.1.fb32) -Description: RisingTide Systems LIO target Python 3 API (free branch). - This includes the LIO rc scripts to start and stop the target. diff --git a/example-debian/copyright b/example-debian/copyright deleted file mode 100644 index 638eeb9..0000000 --- a/example-debian/copyright +++ /dev/null @@ -1,24 +0,0 @@ -This package was originally debianized by Jerome Martin <jxm@risingtidesystems.com> -on Fri Nov 18 12:00:01 UTC 2009. It is currently maintained by Andy Grover -<andy@groveronline.com>. - -Upstream Author: Jerome Martin <jxm@risingtidesystems.com> - -Copyright: - -This file is part of RTSLib. -Copyright (c) 2011-2013 by Datera, Inc - -Licensed under the Apache License, Version 2.0 (the "License"); you may -not use this file except in compliance with the License. You may obtain -a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - -Unless required by applicable law or agreed to in writing, software -distributed under the License is distributed on an "AS IS" BASIS, WITHOUT -WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the -License for the specific language governing permissions and limitations -under the License. - - diff --git a/example-debian/python-rtslib-fb-docs.doc-base b/example-debian/python-rtslib-fb-docs.doc-base deleted file mode 100644 index 9d070d3..0000000 --- a/example-debian/python-rtslib-fb-docs.doc-base +++ /dev/null @@ -1,9 +0,0 @@ -Document: python-rtslib-fb -Title: python-rtslib documentation -Author: Jerome Martin <jxm@risingtidesystems.com> -Abstract: Python library for configuring the Linux kernel-based multiprotocol SCSI target (LIO) -Section: Programming/Python - -Format: HTML -Index: /usr/share/doc/python-rtslib-fb-docs/html/index.html -Files: /usr/share/doc/python-rtslib-fb-docs/html/*.html diff --git a/example-debian/python-rtslib-fb.install b/example-debian/python-rtslib-fb.install deleted file mode 100644 index 05ca243..0000000 --- a/example-debian/python-rtslib-fb.install +++ /dev/null @@ -1,2 +0,0 @@ -usr/lib/python2* -usr/bin diff --git a/example-debian/python-rtslib-fb.manpages b/example-debian/python-rtslib-fb.manpages deleted file mode 100644 index f620da6..0000000 --- a/example-debian/python-rtslib-fb.manpages +++ /dev/null @@ -1,2 +0,0 @@ -doc/saveconfig.json.5 -doc/targetctl.8 diff --git a/example-debian/python3-rtslib-fb.install b/example-debian/python3-rtslib-fb.install deleted file mode 100644 index bf7cd62..0000000 --- a/example-debian/python3-rtslib-fb.install +++ /dev/null @@ -1,2 +0,0 @@ -usr/lib/python3* -usr/bin diff --git a/example-debian/python3-rtslib-fb.manpages b/example-debian/python3-rtslib-fb.manpages deleted file mode 100644 index f620da6..0000000 --- a/example-debian/python3-rtslib-fb.manpages +++ /dev/null @@ -1,2 +0,0 @@ -doc/saveconfig.json.5 -doc/targetctl.8 diff --git a/example-debian/python3-rtslib-fb.target.init b/example-debian/python3-rtslib-fb.target.init deleted file mode 100644 index b011013..0000000 --- a/example-debian/python3-rtslib-fb.target.init +++ /dev/null @@ -1,41 +0,0 @@ -#!/bin/bash - -### BEGIN INIT INFO -# Provides: target -# Default-Start: 3 4 5 -# Default-Stop: 0 1 2 6 -# Required-Start: $local_fs $network -# Required-Stop: $local_fs $network -# Short-Description: Start LIO targets -# Description: Loads configfs and restores LIO config with targetctl -### END INIT INFO - - -case "$1" in - start) - echo "Loading lio configuration" - /usr/bin/targetctl restore - if [[ $? -gt 0 ]]; then - exit 1 - fi - ;; - - stop) - echo "Unloading lio configuration" - /usr/bin/targetctl clear - if [[ $? -gt 0 ]]; then - exit 1 - fi - ;; - - restart|force-reload) - $0 stop - sleep 3 - $0 start - ;; - - *) - echo "usage: $0 {start|stop|restart|force-reload}" -esac - -exit 0 diff --git a/example-debian/rules b/example-debian/rules deleted file mode 100755 index 3eae1a1..0000000 --- a/example-debian/rules +++ /dev/null @@ -1,51 +0,0 @@ -#!/usr/bin/make -f - -build_dir = build -install_dir = $(CURDIR)/debian/tmp -pkgname = rtslib-fb -name = rtslib - -#export DH_VERBOSE=1 - -PYTHON2=$(shell pyversions -vr) -PYTHON3=$(shell py3versions -vr) - -#prevent internet access to use PyPi -export http_proxy = http://127.0.0.1:9 - - -%: - dh $@ --with python2,python3 - - -build-python%: - python$* setup.py build - -override_dh_auto_build: $(PYTHON3:%=build-python%) $(PYTHON2:%=build-python%) - dh_auto_build - - -install-python%: - python$* setup.py install --root=$(install_dir) --install-layout=deb - - -override_dh_auto_install: $(PYTHON3:%=install-python%) $(PYTHON2:%=install-python%) - dh_auto_install - # for using python 3 for targetctl - # even though it is overwritten by python2 setup - sed -i '1s|/usr/bin/python$$|/usr/bin/python3|' $(install_dir)/usr/bin/targetctl - - -override_dh_installdocs: - cd $(build_dir); epydoc --no-sourcecode --html -n $(pkgname) \ - --exclude configobj ../$(name)/*.py - dh_installdocs $(build_dir)/html - -override_dh_installinit: - dh_installinit --name target - - -override_dh_auto_clean: - dh_auto_clean - rm -rf build - rm -rf *.egg-info diff --git a/example-debian/source/format b/example-debian/source/format deleted file mode 100644 index 89ae9db..0000000 --- a/example-debian/source/format +++ /dev/null @@ -1 +0,0 @@ -3.0 (native) |