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 $@