From d06881ec4a6d5319580585d79a06cccf851be4cf Mon Sep 17 00:00:00 2001 From: =?utf8?q?Franti=C5=A1ek=20Dvo=C5=99=C3=A1k?= Date: Sun, 18 Sep 2016 19:26:07 +0200 Subject: [PATCH 1/1] Initial import. --- NOW/debian/compat | 1 + NOW/debian/control | 18 ++++++++++++++++++ NOW/debian/copyright | 15 +++++++++++++++ NOW/debian/docs | 1 + NOW/debian/preinst | 21 +++++++++++++++++++++ NOW/debian/rules | 6 ++++++ NOW/debian/source/format | 1 + NOW/debian/watch-unused | 5 +++++ 8 files changed, 68 insertions(+) create mode 100644 NOW/debian/compat create mode 100644 NOW/debian/control create mode 100644 NOW/debian/copyright create mode 100644 NOW/debian/docs create mode 100644 NOW/debian/preinst create mode 100755 NOW/debian/rules create mode 100644 NOW/debian/source/format create mode 100644 NOW/debian/watch-unused diff --git a/NOW/debian/compat b/NOW/debian/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/NOW/debian/compat @@ -0,0 +1 @@ +9 diff --git a/NOW/debian/control b/NOW/debian/control new file mode 100644 index 0000000..97a174b --- /dev/null +++ b/NOW/debian/control @@ -0,0 +1,18 @@ +Source: now +Section: ruby +Priority: optional +Maintainer: František Dvořák +Build-Depends: debhelper (>= 8.0.0) +Standards-Version: 3.9.4 +Homepage: https://github.com/CESNET/NOW +#Vcs-Git: git://git.debian.org/collab-maint/now.git +#Vcs-Browser: http://git.debian.org/?p=collab-maint/now.git;a=summary +XS-Ruby-Versions: all + +Package: now +Architecture: all +XB-Ruby-Versions: ${ruby:Versions} +Pre-Depends: ${misc:Pre-Depends}, adduser +Depends: ${misc:Depends}, ruby | ruby-interpreter, ruby-ipaddress, ruby-json, ruby-sinatra +Description: Network Orchestrator Wrapper for OpenNebula + Network Orchestrator Wrapper is the component to extend OpenNebula network orchestration capabilities. diff --git a/NOW/debian/copyright b/NOW/debian/copyright new file mode 100644 index 0000000..8599b3b --- /dev/null +++ b/NOW/debian/copyright @@ -0,0 +1,15 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: NOW +Source: https://github.com/CESNET/NOW + +Files: * +Copyright: Copyright 2016 CESNET - INDIGO-DataCloud +License: Apache-2.0 + +Files: debian/* +Copyright: 2016 František Dvořák +License: Apache-2.0 + +License: Apache-2.0 + On Debian systems, the full text of the Apache-2.0 license + can be found in the file '/usr/share/common-licenses/Apache-2.0' diff --git a/NOW/debian/docs b/NOW/debian/docs new file mode 100644 index 0000000..b43bf86 --- /dev/null +++ b/NOW/debian/docs @@ -0,0 +1 @@ +README.md diff --git a/NOW/debian/preinst b/NOW/debian/preinst new file mode 100644 index 0000000..7eac864 --- /dev/null +++ b/NOW/debian/preinst @@ -0,0 +1,21 @@ +#!/bin/sh +# preinst script for NOW + +set -e + +case "$1" in + install|upgrade) + getent group now >/dev/null || addgroup --system now + getent passwd now >/dev/null || adduser --system --group --home /usr/share/NOW now + ;; + + abort-upgrade) + ;; + + *) + echo "preinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +#DEBHELPER# diff --git a/NOW/debian/rules b/NOW/debian/rules new file mode 100755 index 0000000..5cd2d2f --- /dev/null +++ b/NOW/debian/rules @@ -0,0 +1,6 @@ +#!/usr/bin/make -f +export DH_VERBOSE=1 +export DH_RUBY_IGNORE_TESTS=all + +%: + dh $@ --buildsystem=ruby --with ruby diff --git a/NOW/debian/source/format b/NOW/debian/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/NOW/debian/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/NOW/debian/watch-unused b/NOW/debian/watch-unused new file mode 100644 index 0000000..ea05427 --- /dev/null +++ b/NOW/debian/watch-unused @@ -0,0 +1,5 @@ +# For GitHub projects you can use the tags or releases page. Since the archive +# URLs use only the version as the name, it is recommended to use a +# filenamemangle to adjust the name of the downloaded file: +opts="filenamemangle=s/(?:.*)?v?(\d[\d\.]*)\.tar\.gz/NOW-$1.tar.gz/" \ + https://github.com///tags (?:.*/)?v?(\d[\d\.]*)\.tar\.gz -- 1.8.2.3