Debianized
This commit is contained in:
parent
6efe9d2e90
commit
651ed3420c
5
debian/changelog
vendored
Normal file
5
debian/changelog
vendored
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
surok (0.1-1) testing; urgency=low
|
||||||
|
|
||||||
|
* Initial release (Closes: BBONL-1696)
|
||||||
|
|
||||||
|
-- Denis Zheleztsov <difrex@bingo-boom.ru> Mon, 01 Aug 2016 16:10:31 +0300
|
1
debian/compat
vendored
Normal file
1
debian/compat
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
9
|
12
debian/control
vendored
Normal file
12
debian/control
vendored
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
Source: surok
|
||||||
|
Section: admin
|
||||||
|
Priority: optional
|
||||||
|
Maintainer: Denis Zheleztsov <difrex@bingo-boom.ru>
|
||||||
|
Build-Depends: debhelper (>= 9)
|
||||||
|
Standards-Version: 3.9.5
|
||||||
|
Vcs-Git: http://vcs.bingo-boom.ru/difrex/surok.git
|
||||||
|
|
||||||
|
Package: surok
|
||||||
|
Architecture: all
|
||||||
|
Depends: python3-jinja2, python3-dnsq
|
||||||
|
Description: Service discovery for Apache Mesos clusters
|
38
debian/copyright
vendored
Normal file
38
debian/copyright
vendored
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
||||||
|
Upstream-Name: surok
|
||||||
|
Source: <url://example.com>
|
||||||
|
|
||||||
|
Files: *
|
||||||
|
Copyright: <years> <put author's name and email here>
|
||||||
|
<years> <likewise for another author>
|
||||||
|
License: <special license>
|
||||||
|
<Put the license of the package here indented by 1 space>
|
||||||
|
<This follows the format of Description: lines in control file>
|
||||||
|
.
|
||||||
|
<Including paragraphs>
|
||||||
|
|
||||||
|
# If you want to use GPL v2 or later for the /debian/* files use
|
||||||
|
# the following clauses, or change it to suit. Delete these two lines
|
||||||
|
Files: debian/*
|
||||||
|
Copyright: 2016 Denis Zheleztsov <difrex@bingo-boom.ru>
|
||||||
|
License: GPL-2+
|
||||||
|
This package is free software; you can redistribute it and/or modify
|
||||||
|
it under the terms of the GNU General Public License as published by
|
||||||
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
|
(at your option) any later version.
|
||||||
|
.
|
||||||
|
This package is distributed in the hope that it will be useful,
|
||||||
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
|
GNU General Public License for more details.
|
||||||
|
.
|
||||||
|
You should have received a copy of the GNU General Public License
|
||||||
|
along with this program. If not, see <http://www.gnu.org/licenses/>
|
||||||
|
.
|
||||||
|
On Debian systems, the complete text of the GNU General
|
||||||
|
Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
|
||||||
|
|
||||||
|
# Please also look if there are files or directories which have a
|
||||||
|
# different copyright/license attached and list them here.
|
||||||
|
# Please avoid to pick license terms that are more restrictive than the
|
||||||
|
# packaged work, as it may make Debian's contributions unacceptable upstream.
|
2
debian/dirs
vendored
Normal file
2
debian/dirs
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
/etc/surok/conf.d
|
||||||
|
/etc/surok/templates
|
1
debian/docs
vendored
Normal file
1
debian/docs
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
README.md
|
6
debian/install
vendored
Normal file
6
debian/install
vendored
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
conf/surok.json etc/surok/conf
|
||||||
|
surok/templates.py usr/lib/python3/dist-packages/surok
|
||||||
|
surok/system.py usr/lib/python3/dist-packages/surok
|
||||||
|
surok/__init__.py usr/lib/python3/dist-packages/surok
|
||||||
|
surok/discovery.py usr/lib/python3/dist-packages/surok
|
||||||
|
surok.py usr/bin
|
36
debian/patches/path-change
vendored
Normal file
36
debian/patches/path-change
vendored
Normal file
@ -0,0 +1,36 @@
|
|||||||
|
Description: <short summary of the patch>
|
||||||
|
TODO: Put a short summary on the line above and replace this paragraph
|
||||||
|
with a longer explanation of this change. Complete the meta-information
|
||||||
|
with other relevant fields (see below for details). To make it easier, the
|
||||||
|
information below has been extracted from the changelog. Adjust it or drop
|
||||||
|
it.
|
||||||
|
.
|
||||||
|
surok (0.1-1) unstable; urgency=low
|
||||||
|
.
|
||||||
|
* Initial release (Closes: #nnnn) <nnnn is the bug number of your ITP>
|
||||||
|
Author: Denis Zheleztsov <difrex@bingo-boom.ru>
|
||||||
|
|
||||||
|
---
|
||||||
|
The information above should follow the Patch Tagging Guidelines, please
|
||||||
|
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
|
||||||
|
are templates for supplementary fields that you might want to add:
|
||||||
|
|
||||||
|
Origin: <vendor|upstream|other>, <url of original patch>
|
||||||
|
Bug: <url in upstream bugtracker>
|
||||||
|
Bug-Debian: https://bugs.debian.org/<bugnumber>
|
||||||
|
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
|
||||||
|
Forwarded: <no|not-needed|url proving that it has been forwarded>
|
||||||
|
Reviewed-By: <name and email of someone who approved the patch>
|
||||||
|
Last-Update: <YYYY-MM-DD>
|
||||||
|
|
||||||
|
--- surok-0.1.orig/surok.py
|
||||||
|
+++ surok-0.1/surok.py
|
||||||
|
@@ -9,7 +9,7 @@ from surok.discovery import resolve
|
||||||
|
from surok.system import reload_conf
|
||||||
|
|
||||||
|
# Load base configurations
|
||||||
|
-f = open('conf/surok.json', 'r')
|
||||||
|
+f = open('/etc/surok/conf/surok.json', 'r')
|
||||||
|
conf = json.loads(f.read())
|
||||||
|
print(conf)
|
||||||
|
f.close()
|
1
debian/patches/series
vendored
Normal file
1
debian/patches/series
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
path-change
|
32
debian/rules
vendored
Executable file
32
debian/rules
vendored
Executable file
@ -0,0 +1,32 @@
|
|||||||
|
#!/usr/bin/make -f
|
||||||
|
# See debhelper(7) (uncomment to enable)
|
||||||
|
# output every command that modifies files on the build system.
|
||||||
|
#DH_VERBOSE = 1
|
||||||
|
|
||||||
|
# see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/*
|
||||||
|
DPKG_EXPORT_BUILDFLAGS = 1
|
||||||
|
include /usr/share/dpkg/default.mk
|
||||||
|
|
||||||
|
# see FEATURE AREAS in dpkg-buildflags(1)
|
||||||
|
#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
|
||||||
|
|
||||||
|
# see ENVIRONMENT in dpkg-buildflags(1)
|
||||||
|
# package maintainers to append CFLAGS
|
||||||
|
#export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
|
||||||
|
# package maintainers to append LDFLAGS
|
||||||
|
#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
|
||||||
|
|
||||||
|
|
||||||
|
# main packaging script based on dh7 syntax
|
||||||
|
%:
|
||||||
|
dh $@
|
||||||
|
|
||||||
|
# debmake generated override targets
|
||||||
|
# This is example for Cmake (See http://bugs.debian.org/641051 )
|
||||||
|
#override_dh_auto_configure:
|
||||||
|
# dh_auto_configure -- \
|
||||||
|
# -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
1
debian/source/format
vendored
Normal file
1
debian/source/format
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
3.0 (quilt)
|
Loading…
Reference in New Issue
Block a user