Skip to content
This repository was archived by the owner on Nov 14, 2019. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions debian/README.Debian
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
brubeck for Debian
-----------------

Compiles and packages https://github.com/github/brubeck

-- Klavs Klavsen <klavs@enableit.dk> Fri, 10 Nov 2017 14:50:14 +0100
2 changes: 2 additions & 0 deletions debian/brubeck-docs.docs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
README.source
README.Debian
13 changes: 13 additions & 0 deletions debian/brubeck.brubeck.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[Unit]
Description=Brubeck Statsd Daemon

[Service]
Type=simple
SyslogIdentifier=brubeck
User=nobody
Restart=on-failure
ExecStart=/usr/bin/brubeck --log /var/log/brubeck/brubeck.log --config /etc/brubeck/config.json

[Install]
WantedBy=multi-user.target

17 changes: 17 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
brubeck (2536347-3) unstable; urgency=low

* add systemd service file, and example config file and added misc depends.

-- Klavs Klavsen <klavs@enableit.dk> Fri, 24 Nov 2017 16:15:00 +0100

brubeck (2536347-2) unstable; urgency=low

* Fix depends for brubeck.

-- Klavs Klavsen <klavs@enableit.dk> Fri, 24 Nov 2017 14:50:14 +0100

brubeck (2536347-1) unstable; urgency=low

* Initial release debian package

-- Klavs Klavsen <klavs@enableit.dk> Fri, 10 Nov 2017 14:50:14 +0100
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
9
15 changes: 15 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Source: brubeck
Priority: optional
Maintainer: Klavs Klavsen <klavs@enableit.dk>
Build-Depends: debhelper (>=9), libmicrohttpd-dev, libjansson-dev (>=2.5)
Standards-Version: 3.9.6
Section: misc
Homepage: https://github.com/github/brubeck.git
#Vcs-Git: git://anonscm.debian.org/collab-maint/brubeck.git
#Vcs-Browser: https://anonscm.debian.org/cgit/collab-maint/brubeck.git

Package: brubeck
Architecture: amd64
Depends: ${misc:Depends}, libjansson4, libmicrohttpd12, ${shlibs:Depends}
Description: Statsd daemon replacement
Use this to get a better Statsd implementation
27 changes: 27 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: brubeck
Source: https://raw.githubusercontent.com/github/brubeck/master/LICENSE

Files: *
Copyright (c) 2012-2015 GitHub, Inc.

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
2 changes: 2 additions & 0 deletions debian/install
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
brubeck usr/bin
config.default.json.example etc/brubeck
39 changes: 39 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
#!/usr/bin/make -f
# See debhelper(7) (uncomment to enable)
# output every command that modifies files on the build system.
#export DH_VERBOSE = 1


# 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

%:
dh $@ --with systemd

override_dh_installinit:
dh_systemd_enable -pbrubeck --name=brubeck brubeck.service
dh_installinit -pbrubeck --no-start --noscripts
dh_systemd_start -pbrubeck --no-restart-on-upgrade

override_dh_systemd_start:
echo "Not running dh_systemd_start"

#
#%:
# ./script/bootstrap
# dh $@ --with systemd
#
#override_dh_installinit:
# dh_installinit --name=brubeck -- defaults

# dh_make generated override targets
# This is example for Cmake (See https://bugs.debian.org/641051 )
#override_dh_auto_configure:
# dh_auto_configure -- # -DCMAKE_LIBRARY_PATH=$(DEB_HOST_MULTIARCH)

1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (quilt)