diff options
author | Andreas Baumann <abaumann@yahoo.com> | 2012-07-12 10:05:56 +0200 |
---|---|---|
committer | Andreas Baumann <abaumann@yahoo.com> | 2012-07-12 10:05:56 +0200 |
commit | 2477f9aa4c4eb89a143b308dbf446c71bbfd90bb (patch) | |
tree | 7f47e194b8dbf256d6fe077caea39b87fffb2a44 | |
parent | 6aac668a24b0754152c53db3774003ef47662620 (diff) | |
download | nagios-plugin-curl-2477f9aa4c4eb89a143b308dbf446c71bbfd90bb.tar.gz nagios-plugin-curl-2477f9aa4c4eb89a143b308dbf446c71bbfd90bb.tar.bz2 |
added OSC build tools
-rwxr-xr-x | tools/deploy_to_osc.sh | 16 | ||||
-rw-r--r-- | tools/nagios-plugin-curl.dsc | 9 |
2 files changed, 25 insertions, 0 deletions
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 <abaumann@yahoo.com> +Architecture: any +Build-Depends: debhelper (>= 4.1.16), pkg-config, + libcurl-dev +Files: |