From 2477f9aa4c4eb89a143b308dbf446c71bbfd90bb Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Thu, 12 Jul 2012 10:05:56 +0200 Subject: added OSC build tools --- tools/deploy_to_osc.sh | 16 ++++++++++++++++ tools/nagios-plugin-curl.dsc | 9 +++++++++ 2 files changed, 25 insertions(+) create mode 100755 tools/deploy_to_osc.sh create mode 100644 tools/nagios-plugin-curl.dsc diff --git a/tools/deploy_to_osc.sh b/tools/deploy_to_osc.sh new file mode 100755 index 0000000..1e68cdf --- /dev/null +++ b/tools/deploy_to_osc.sh @@ -0,0 +1,16 @@ +#!/bin/sh + +PACKAGE_NAME=nagios-plugin-curl +PACKAGE_VERSION=0.0.4 +OSC_HOME=$HOME/home:andreas_baumann/$PACKAGE_NAME + +rm -f ${PACKAGE_NAME}-${PACKAGE_VERSION}.tar.gz +make dist-gz +cp ${PACKAGE_NAME}-${PACKAGE_VERSION}.tar.gz $OSC_HOME/${PACKAGE_NAME}_${PACKAGE_VERSION}.tar.gz +cp redhat/$PACKAGE_NAME.spec $OSC_HOME/$PACKAGE_NAME.spec + +SIZE=`stat -c '%s' $OSC_HOME/${PACKAGE_NAME}_${PACKAGE_VERSION}.tar.gz` +CHKSUM=`md5sum $OSC_HOME/${PACKAGE_NAME}_${PACKAGE_VERSION}.tar.gz | cut -f 1 -d' '` + +cat tools/$PACKAGE_NAME.dsc > $OSC_HOME/$PACKAGE_NAME.dsc +echo " $CHKSUM $SIZE ${PACKAGE_NAME}_${PACKAGE_VERSION}.tar.gz" >> $OSC_HOME/$PACKAGE_NAME.dsc diff --git a/tools/nagios-plugin-curl.dsc b/tools/nagios-plugin-curl.dsc new file mode 100644 index 0000000..2a70f13 --- /dev/null +++ b/tools/nagios-plugin-curl.dsc @@ -0,0 +1,9 @@ +Format: 1.0 +Source: nagios-plugin-curl +Version: 0.0.4 +Binary: nagios-plugin-curl +Maintainer: Andreas Baumann +Architecture: any +Build-Depends: debhelper (>= 4.1.16), pkg-config, + libcurl-dev +Files: -- cgit v1.2.3-54-g00ecf