--- /dev/null
+RELEASE=2.3
+
+PKGVERSION=0.0.4
+PKGRELEASE=1
+PACKAGE=omping
+PKGDIR=${PACKAGE}-${PKGVERSION}
+PKGSRC=${PACKAGE}_${PKGVERSION}.orig.tar.gz
+
+ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
+
+DEBS= ${PACKAGE}_${PKGVERSION}-${PKGRELEASE}_${ARCH}.deb
+
+all: ${DEBS}
+
+${DEBS}: ${PKGSRC}
+ rm -rf ${PKGDIR}
+ tar xf ${PKGSRC}
+ cp -a debian ${PKGDIR}/debian
+ cd ${PKGDIR}; dpkg-buildpackage -rfakeroot -b -us -uc
+
+.PHONY: upload
+upload: ${DEBS}
+ umount /pve/${RELEASE}; mount /pve/${RELEASE} -o rw
+ mkdir -p /pve/${RELEASE}/extra
+ rm -f /pve/${RELEASE}/extra/${PACKAGE}_*.deb
+ rm -f /pve/${RELEASE}/extra/Packages*
+ cp ${DEBS} /pve/${RELEASE}/extra
+ cd /pve/${RELEASE}/extra; dpkg-scanpackages . /dev/null > Packages; gzip -9c Packages > Packages.gz
+ umount /pve/${RELEASE}; mount /pve/${RELEASE} -o ro
+
+distclean: clean
+
+.PHONY: clean
+clean:
+ rm -rf *~ *_${ARCH}.deb *.changes *.dsc ${PKGDIR}
+
+.PHONY: dinstall
+dinstall: ${DEBS}
+ dpkg -i ${DEBS}
--- /dev/null
+omping (0.0.4-1) unstable; urgency=low
+
+ * Initial release
+
+ -- Proxmox Support Team <support@proxmox.com> Tue, 19 Feb 2013 07:23:41 +0100
--- /dev/null
+Source: omping
+Section: admin
+Priority: extra
+Maintainer: Proxmox Support Team <support@proxmox.com>
+Build-Depends: debhelper (>= 7.0.50~)
+Standards-Version: 3.8.4
+Homepage: https://fedorahosted.org/omping/
+
+Package: omping
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: Omping is a tool to test IP multicast
+ Omping (Open Multicast Ping) is tool to test IP multicast
+ functionality primarily in local network.
--- /dev/null
+This work was packaged for Debian by:
+
+ Proxmox Support Team <support@proxmox.com> on
+ Tue, 19 Feb 2013 07:20:27 +0100
+
+It was downloaded from:
+
+ https://fedorahosted.org/releases/o/m/omping/omping-0.0.4.tar.gz
+
+Upstream Author(s):
+
+ Jan Friesse <jfriesse@redhat.com>
+
+Copyright:
+
+ Copyright (c) 2010-2011, Red Hat, Inc.
+
+License:
+
+ Permission to use, copy, modify, and/or distribute this software
+ for any purpose with or without fee is hereby granted, provided
+ that the above copyright notice and this permission notice appear
+ in all copies.
+
+ THE SOFTWARE IS PROVIDED "AS IS" AND RED HAT, INC. DISCLAIMS ALL
+ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED
+ WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL RED
+ HAT, INC. BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR
+ CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
+ LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
+ NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
+ CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+
+The Debian packaging is:
+
+ Copyright (C) 2013 Proxmox Support Team <support@proxmox.com>
+
+and is licensed under the GPL version 3,
+see "/usr/share/common-licenses/GPL-3".
--- /dev/null
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export PREFIX=/usr
+
+%:
+ dh $@