From 127db9d89db626b1c08a799b29255f526578f465 Mon Sep 17 00:00:00 2001 From: Artem Prilutskiy Date: Wed, 2 Nov 2016 15:31:25 +0300 Subject: [PATCH] .. --- UpdateLog.sh | 15 +++++++++++++++ debian/compat | 1 + debian/conffiles | 1 + debian/control | 12 ++++++++++++ debian/copyright | 2 ++ debian/rules | 7 +++++++ 6 files changed, 38 insertions(+) create mode 100755 UpdateLog.sh create mode 100644 debian/compat create mode 100644 debian/conffiles create mode 100644 debian/control create mode 100644 debian/copyright create mode 100755 debian/rules diff --git a/UpdateLog.sh b/UpdateLog.sh new file mode 100755 index 0000000..4285dc8 --- /dev/null +++ b/UpdateLog.sh @@ -0,0 +1,15 @@ +#!/bin/bash + +FILE=$(mktemp) +VERSION=$(grep -o -E "[0-9]+" Version.h) +DATE=$(date +"%a, %d %b %Y %H:%M:%S %z") + +echo "tellusagent (${VERSION}) none; urgency=low" >> ${FILE} +echo >> ${FILE} +echo " * Daily build" >> ${FILE} +echo >> ${FILE} +echo " -- Artem Prilutskiy ${DATE}" >> ${FILE} +echo >> ${FILE} + +# test -f debian/changelog && cat debian/changelog >> ${FILE} +mv ${FILE} debian/changelog diff --git a/debian/compat b/debian/compat new file mode 100644 index 0000000..7f8f011 --- /dev/null +++ b/debian/compat @@ -0,0 +1 @@ +7 diff --git a/debian/conffiles b/debian/conffiles new file mode 100644 index 0000000..7df93b6 --- /dev/null +++ b/debian/conffiles @@ -0,0 +1 @@ +/opt/TellusAgent/tellusagent.conf diff --git a/debian/control b/debian/control new file mode 100644 index 0000000..34cc2cc --- /dev/null +++ b/debian/control @@ -0,0 +1,12 @@ +Source: tellusagent +Section: unknown +Priority: extra +Maintainer: Artem Prilutskiy +Build-Depends: + debhelper (>= 5) +Standards-Version: 3.8.4 + +Package: cronosagent +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends} +Description: TellusAgent for BrandMeister DMR Master Server diff --git a/debian/copyright b/debian/copyright new file mode 100644 index 0000000..341c663 --- /dev/null +++ b/debian/copyright @@ -0,0 +1,2 @@ +Copyright: (c) 2016 Artem Prilutskiy + diff --git a/debian/rules b/debian/rules new file mode 100755 index 0000000..33523ac --- /dev/null +++ b/debian/rules @@ -0,0 +1,7 @@ +#!/usr/bin/make -f + +#export DH_VERBOSE=1 +export DH_OPTIONS + +%: + dh $@