diff options
Diffstat (limited to 'debpkg')
-rw-r--r-- | debpkg/changelog | 302 | ||||
-rw-r--r-- | debpkg/compat | 1 | ||||
-rw-r--r-- | debpkg/control | 27 | ||||
-rw-r--r-- | debpkg/copyright | 129 | ||||
-rw-r--r-- | debpkg/dirs | 2 | ||||
-rw-r--r-- | debpkg/docs | 2 | ||||
-rw-r--r-- | debpkg/files | 1 | ||||
l--------- | debpkg/ipmiutil.cron.daily | 1 | ||||
-rw-r--r-- | debpkg/ipmiutil.lintian-overrides | 4 | ||||
-rw-r--r-- | debpkg/ipmiutil.substvars | 2 | ||||
-rwxr-xr-x | debpkg/postinst | 41 | ||||
-rwxr-xr-x | debpkg/prerm | 26 | ||||
-rwxr-xr-x | debpkg/rules | 23 | ||||
-rw-r--r-- | debpkg/source/format | 1 | ||||
-rw-r--r-- | debpkg/watch | 2 |
15 files changed, 564 insertions, 0 deletions
diff --git a/debpkg/changelog b/debpkg/changelog new file mode 100644 index 0000000..6846cd3 --- /dev/null +++ b/debpkg/changelog @@ -0,0 +1,302 @@ +ipmiutil (2.9.6-1) unstable; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Mon, 13 Apr 2015 17:04:29 -0400 + +ipmiutil (2.9.6-1) unstable; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Mon, 06 Apr 2015 13:03:50 -0400 + +ipmiutil (2.9.5-1) unstable; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Fri, 10 Oct 2014 14:28:03 -0400 + +ipmiutil (2.9.5-1) unstable; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Mon, 25 Aug 2014 04:16:26 -0400 + +ipmiutil (2.9.4-1) unstable; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Thu, 22 May 2014 04:11:16 -0400 + +ipmiutil (2.9.3-1) unstable; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Mon, 02 Dec 2013 22:39:56 -0500 + +ipmiutil (2.9.3-2) unstable; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Mon, 02 Dec 2013 22:39:26 -0500 + +ipmiutil (2.9.2-2) unstable; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Fri, 18 Oct 2013 04:11:06 -0400 + +ipmiutil (2.9.2-1) unstable; urgency=low + + * Initial official Debian release (Closes: #650323) + * Updated debian/copyright to DEP-5 format, and included more detail + * See also ChangeLog file in source + + -- Andy Cress <arcress@users.sourceforge.net> Fri, 14 Jun 2013 12:08:08 -0400 + +ipmiutil (2.9.1+nmu1) UNRELEASED; urgency=low + + * updated rules to use dh syntax and debhelper 9 (up from 4); many lintian + cleanups as a result + * added dh-autoreconf as a build dependency; can now stop using beforeconf.sh + * updated control file with additional information and standards-version + * --enable-gpl is now used in rules; enables MD2 hash for IPMI LAN + * daily cronjob is no longer installed via postinst script + * prerm script added, properly deletes /var/lib/ipmiutil on purge + + -- Alex Waite <Alexqw85@gmail.com> Fri, 14 Jun 2013 17:21:15 +0200 + +ipmiutil (2.9.1) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Fri, 12 Apr 2013 07:21:54 -0400 + +ipmiutil (2.9.0) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Thu, 04 Apr 2013 21:14:03 -0400 + +ipmiutil (2.9.0) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Thu, 04 Apr 2013 21:12:25 -0400 + +ipmiutil (2.9.0) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Thu, 04 Apr 2013 21:09:44 -0400 + +ipmiutil (2.9.0) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Thu, 04 Apr 2013 21:06:46 -0400 + +ipmiutil (2.9.0) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Thu, 04 Apr 2013 21:00:16 -0400 + +ipmiutil (2.9.0) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Thu, 04 Apr 2013 20:58:37 -0400 + +ipmiutil (2.8.9) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Sun, 31 Mar 2013 18:51:35 -0400 + +ipmiutil (2.8.9) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Sun, 31 Mar 2013 18:51:07 -0400 + +ipmiutil (2.8.9) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Sun, 31 Mar 2013 18:50:35 -0400 + +ipmiutil (2.8.9) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Sun, 31 Mar 2013 18:49:23 -0400 + +ipmiutil (2.8.9) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Sun, 31 Mar 2013 18:46:31 -0400 + +ipmiutil (2.8.8) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Thu, 17 Jan 2013 06:06:40 -0500 + +ipmiutil (2.8.7) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Tue, 11 Dec 2012 16:17:16 -0500 + +ipmiutil (2.8.6) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Thu, 30 Aug 2012 11:57:52 -0400 + +ipmiutil (2.8.5) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Wed, 13 Jun 2012 12:16:30 -0400 + +ipmiutil (2.8.5) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Wed, 13 Jun 2012 12:15:57 -0400 + +ipmiutil (2.8.5) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Wed, 13 Jun 2012 11:39:40 -0400 + +ipmiutil (2.8.4) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Thu, 03 May 2012 11:03:55 -0400 + +ipmiutil (2.8.4) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Wed, 02 May 2012 15:53:24 -0400 + +ipmiutil (2.8.3) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Thu, 22 Mar 2012 16:36:45 -0400 + +ipmiutil (2.8.2) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Mon, 13 Feb 2012 10:12:08 -0500 + +ipmiutil (2.8.1) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Fri, 13 Jan 2012 10:27:46 -0500 + +ipmiutil (2.8.0) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Wed, 07 Dec 2011 16:50:02 -0500 + +ipmiutil (2.8.0) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Wed, 07 Dec 2011 16:49:11 -0500 + +ipmiutil (2.8.0b) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Fri, 02 Dec 2011 18:37:57 -0500 + +ipmiutil (2.8.0) UNRELEASED; urgency=low + + * New upstream version, added prerm script + + -- Andy Cress <arcress@users.sourceforge.net> Fri, 28 Oct 2011 16:44:02 -0400 + +ipmiutil (2.7.9) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Fri, 28 Oct 2011 16:43:35 -0400 + +ipmiutil (2.8.0) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Wed, 26 Oct 2011 11:01:02 -0400 + +ipmiutil (2.7.9) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Tue, 20 Sep 2011 08:17:01 -0400 + +ipmiutil (2.7.9) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Tue, 20 Sep 2011 08:14:05 -0400 + +ipmiutil (2.7.9) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Thu, 15 Sep 2011 17:13:31 -0400 + +ipmiutil (2.7.8) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Tue, 19 Jul 2011 12:57:11 -0400 + +ipmiutil (2.7.7) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Mon, 16 May 2011 16:49:12 -0400 + +ipmiutil (2.7.6) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Fri, 15 Apr 2011 12:47:17 -0400 + +ipmiutil (2.7.5) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Fri, 25 Feb 2011 12:43:45 -0500 + +ipmiutil (2.7.4) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Tue, 11 Jan 2011 13:52:43 -0500 + +ipmiutil (2.7.3) UNRELEASED; urgency=low + + * New upstream version. + + -- Andy Cress <arcress@users.sourceforge.net> Fri, 17 Dec 2010 14:30:28 -0500 + +ipmiutil (2.7.2) UNRELEASED; urgency=low + + * New upstream version. + * Patch to allow Debian package builds from svn. + + -- Andy Cress <arcress@users.sourceforge.net> Fri, 29 Oct 2010 16:44:31 -0500 diff --git a/debpkg/compat b/debpkg/compat new file mode 100644 index 0000000..ec63514 --- /dev/null +++ b/debpkg/compat @@ -0,0 +1 @@ +9 diff --git a/debpkg/control b/debpkg/control new file mode 100644 index 0000000..b69ef91 --- /dev/null +++ b/debpkg/control @@ -0,0 +1,27 @@ +Source: ipmiutil +Section: utils +Priority: optional +Maintainer: Andy Cress <arcress@users.sourceforge.net> +Build-Depends: debhelper (>> 9), dh-autoreconf, libssl-dev +Standards-Version: 3.9.4.0 +Vcs-Svn: svn://svn.code.sf.net/p/ipmiutil/code/trunk +Vcs-Browser: https://sourceforge.net/p/ipmiutil/code/HEAD/tree/trunk/ +Homepage: http://ipmiutil.sourceforge.net/ + +Package: ipmiutil +Architecture: any +Depends: ${shlibs:Depends}, ${misc:Depends}, lsb-base +Suggests: openipmi +Description: Easy-to-use IPMI server management utilities + The ipmiutil package provides easy-to-use utilities to view the SEL, + perform an IPMI chassis reset, set up the IPMI LAN and Platform Event Filter + entries to allow SNMP alerts, Serial-Over-LAN console, event daemon, and + other IPMI tasks. + . + These can be invoked with the metacommand ipmiutil, or via subcommand + shortcuts as well. IPMIUTIL can also write sensor thresholds, FRU asset tags, + and has a full IPMI configuration save/restore. + An IPMI driver can be provided by either the OpenIPMI driver (/dev/ipmi0) + or the Intel IPMI driver (/dev/imb), etc. If used locally and no driver is + detected, ipmiutil will use user-space direct I/Os instead. + diff --git a/debpkg/copyright b/debpkg/copyright new file mode 100644 index 0000000..1800759 --- /dev/null +++ b/debpkg/copyright @@ -0,0 +1,129 @@ +Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ +Upstream-Name: ipmiutil +Upstream-Contact: Andy Cress <arcress at users.sourceforge.net> +Source: http://ipmiutil.sourceforge.net +Comment: This package was debianized by Andy Cress on 2010-10-29, + with Debian package updates by Alex Waite on 2013-06-14 + +Files: * +Copyright: 2001-2008, Intel Corporation + 2009-2012, Kontron America + 2013, Andy Cress <arcress at users.sourceforge.net> +License: BSD-3-clause + +Files: lib/lanplus/* +Copyright: 2003 Sun Microsystems, Inc. +License: BSD-3-clause + +Files: util/itsol.c +Copyright: 2005 Tyan Computer Corp. +License: BSD-3-clause + +Files: util/iekanalyzer.c +Copyright: 2007 Kontron Canada, Inc. + 2003 Sun Microsystems, Inc. +License: BSD-3-clause + +Files: util/md2.h +Copyright: 2003 FreeIPMI Core Team +Comment: Optional to include this file, based on configure options +License: GPL-2.0 + +Files: util/AnsiTerm.cpp +Copyright: 2009 Robert Nelson <robertnelson at users.sourceforge.net> +License: BSD-2-clause + +Files: util/oem_dell.c +Copyright: 2008, Dell Inc +License: BSD-3-clause + +Files: util/oem_sun.c +Copyright: 2005 Sun Microsystems, Inc. +License: BSD-3-clause + +Files: util/ifirewall.c +Copyright: 2010 Kontron America Inc. + 2005 International Business Machines, Inc. + 2003 Sun Microsystems, Inc. +License: BSD-3-clause + +Files: util/ifwum.c util/ihpm.c +Copyright: 2004-2006 Kontron Canada, Inc. + 2003 Sun Microsystems, Inc. +License: BSD-3-clause + +Files: util/md5.c +Copyright: 1999, 2000, 2002 Aladdin Enterprises. +Comment: Aladdin unrestricted license is compatible with BSD-3-clause +License: Aladdin + This software is provided 'as-is', without any express or implied + warranty. In no event will the authors be held liable for any damages + arising from the use of this software. + Permission is granted to anyone to use this software for any purpose, + including commercial applications, and to alter it and redistribute it + freely, subject to the following restrictions: + 1. The origin of this software must not be misrepresented; you must not + claim that you wrote the original software. If you use this software + in a product, an acknowledgment in the product documentation would be + appreciated but is not required. + 2. Altered source versions must be plainly marked as such, and must not be + misrepresented as being the original software. + 3. This notice may not be removed or altered from any source distribution. + L. Peter Deutsch + ghost@aladdin.com + +License: BSD-3-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + a. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + b. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + c. Neither the name of Kontron, nor the names of its + contributors may be used to endorse or promote products derived from + this software without specific prior written permission. + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR + ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License: BSD-2-clause + Redistribution and use in source and binary forms, with or without + modification, are permitted provided that the following conditions are met: + a. Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + b. Redistributions in binary form must reproduce the above copyright notice, + this list of conditions and the following disclaimer in the documentation + and/or other materials provided with the distribution. + THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND + ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR + ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES + (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; + LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON + ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT + (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS + SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +License: GPL-2.0 + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2, or (at your option) + any later version. + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + A copy of the GNU General Public License is available as + /usr/share/common-licenses/GPL-2 in the Debian distribution or on + the World Wide Web at http://www.gnu.org/copyleft/gpl.html. You can + also obtain it by writing to the Free Software Foundation, Inc., + 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. diff --git a/debpkg/dirs b/debpkg/dirs new file mode 100644 index 0000000..d398c09 --- /dev/null +++ b/debpkg/dirs @@ -0,0 +1,2 @@ +etc/init.d +etc/cron.daily diff --git a/debpkg/docs b/debpkg/docs new file mode 100644 index 0000000..55bc0a6 --- /dev/null +++ b/debpkg/docs @@ -0,0 +1,2 @@ +README +AUTHORS diff --git a/debpkg/files b/debpkg/files new file mode 100644 index 0000000..793f54c --- /dev/null +++ b/debpkg/files @@ -0,0 +1 @@ +ipmiutil_2.9.1_amd64.deb utils optional diff --git a/debpkg/ipmiutil.cron.daily b/debpkg/ipmiutil.cron.daily new file mode 120000 index 0000000..9241b18 --- /dev/null +++ b/debpkg/ipmiutil.cron.daily @@ -0,0 +1 @@ +../scripts/checksel
\ No newline at end of file diff --git a/debpkg/ipmiutil.lintian-overrides b/debpkg/ipmiutil.lintian-overrides new file mode 100644 index 0000000..5667e46 --- /dev/null +++ b/debpkg/ipmiutil.lintian-overrides @@ -0,0 +1,4 @@ +# The only GPL code in ipmiutil is md2.h, which is excluded +# by default, so ignore unsafe link with openssl warning +ipmiutil: possible-gpl-code-linked-with-openssl + diff --git a/debpkg/ipmiutil.substvars b/debpkg/ipmiutil.substvars new file mode 100644 index 0000000..275a91d --- /dev/null +++ b/debpkg/ipmiutil.substvars @@ -0,0 +1,2 @@ +shlibs:Depends=libc6 (>= 2.15), libssl1.0.0 (>= 1.0.0) +misc:Depends= diff --git a/debpkg/postinst b/debpkg/postinst new file mode 100755 index 0000000..399957f --- /dev/null +++ b/debpkg/postinst @@ -0,0 +1,41 @@ +#!/bin/sh +# Debian postinstall script +# +# see: dh_installdeb(1) +set -e +case "$1" in + configure) + sbindir=/usr/bin + vardir=/var/lib/ipmiutil + sensorout=$vardir/sensor_out.txt + + mkdir -p $vardir + + # Run some ipmiutil command to see if any IPMI interface works. + IPMIcmd=true + $sbindir/ipmiutil sel -v >/dev/null 2>&1 || IPMIcmd=false + + # If IPMIcmd is still true, then the IPMI command was successful, and IPMI is enabled locally. + if $IPMIcmd ; then + # Capture a snapshot of IPMI sensor data once now for later reuse. + if [ ! -f $sensorout ]; then + $sbindir/ipmiutil sensor -q >$sensorout + fi + fi + ;; + + abort-upgrade|abort-remove|abort-deconfigure) + ;; + + *) + echo "postinst called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff --git a/debpkg/prerm b/debpkg/prerm new file mode 100755 index 0000000..e66d2d9 --- /dev/null +++ b/debpkg/prerm @@ -0,0 +1,26 @@ +#!/bin/sh +# Debian prerm script +# +set -e + +case "$1" in + purge) + if [ -d /var/lib/ipmiutil/ ] + then + rm -Rf /var/lib/ipmiutil/ + fi + ;; + remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) + ;; + *) + echo "postrm called with unknown argument \`$1'" >&2 + exit 1 + ;; +esac + +# dh_installdeb will replace this with shell code automatically +# generated by other debhelper scripts. + +#DEBHELPER# + +exit 0 diff --git a/debpkg/rules b/debpkg/rules new file mode 100755 index 0000000..49191d6 --- /dev/null +++ b/debpkg/rules @@ -0,0 +1,23 @@ +#!/usr/bin/make -f +%: + dh $@ --with autoreconf + +PKD = $(abspath $(dir $(MAKEFILE_LIST))) +PKG = $(word 2,$(shell dpkg-parsechangelog -l$(PKD)/changelog | grep ^Source)) +VER ?= $(shell dpkg-parsechangelog -l$(PKD)/changelog | perl -ne 'print $$1 if m{^Version:\s+(?:\d+:)?(\d.*)(?:\-\d+.*)};') + +.PHONY: get-orig-source +## http://wiki.debian.org/onlyjob/get-orig-source +get-orig-source: $(info I: $(PKG)_$(VER)) + @echo "# Downloading..." + uscan --noconf --verbose --rename --destdir=$(CURDIR) --check-dirname-level=0 --force-download --download-version $(VER) $(PKD) + +override_dh_auto_configure: + dh_auto_configure -- --enable-gpl + +# work around bug #670796 +override_dh_autoreconf: + dh_autoreconf --exclude=mkinstalldirs + +override_dh_installchangelogs: + dh_installchangelogs ChangeLog diff --git a/debpkg/source/format b/debpkg/source/format new file mode 100644 index 0000000..163aaf8 --- /dev/null +++ b/debpkg/source/format @@ -0,0 +1 @@ +3.0 (quilt) diff --git a/debpkg/watch b/debpkg/watch new file mode 100644 index 0000000..f1d1c3c --- /dev/null +++ b/debpkg/watch @@ -0,0 +1,2 @@ +version=3 +http://sf.net/ipmiutil/ipmiutil-(.+)\.tar\.gz |