summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/README.Debian6
-rw-r--r--debian/README.source9
-rw-r--r--debian/changelog271
-rw-r--r--debian/control38
-rw-r--r--debian/copyright176
-rw-r--r--debian/dirs3
-rw-r--r--debian/docs3
-rw-r--r--debian/libipmiutil.install1
-rw-r--r--debian/patches/001-landesk_test.patch21
-rw-r--r--debian/patches/002-build.patch37
-rw-r--r--debian/patches/003-typo-man.patch18
-rw-r--r--debian/patches/series3
-rwxr-xr-xdebian/rules32
-rw-r--r--debian/source/options2
-rw-r--r--debian/watch3
15 files changed, 199 insertions, 424 deletions
diff --git a/debian/README.Debian b/debian/README.Debian
new file mode 100644
index 0000000..c8059a4
--- /dev/null
+++ b/debian/README.Debian
@@ -0,0 +1,6 @@
+ipmiutil for Debian
+-------------------
+
+ Please read the README.gz for setup
+
+ -- Jörg Frings-Fürst <debian@jff-webhosting.net> Mon, 26 May 2014 13:11:06 +0200
diff --git a/debian/README.source b/debian/README.source
new file mode 100644
index 0000000..61097fc
--- /dev/null
+++ b/debian/README.source
@@ -0,0 +1,9 @@
+ipmiutil for Debian
+-------------------
+
+- configure
+ parameter enable-landesk=yes does not work
+ ipmiapi not found
+
+ -- Jörg Frings-Fürst <debian@jff-webhosting.net> Mon, 26 May 2014 13:11:06 +0200
+
diff --git a/debian/changelog b/debian/changelog
index 36a5f39..66a5d88 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,272 +1,5 @@
ipmiutil (2.9.3-1) unstable; urgency=low
- * New upstream version.
+ * Initial release (Closes: #753881)
- -- 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
+ -- Jörg Frings-Fürst <debian@jff-webhosting.net> Mon, 26 May 2014 13:11:06 +0200
diff --git a/debian/control b/debian/control
index b69ef91..ad0a697 100644
--- a/debian/control
+++ b/debian/control
@@ -1,27 +1,23 @@
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/
+Maintainer: Jörg Frings-Fürst <debian@jff-webhosting.net>
+Build-Depends:
+ autotools-dev,
+ debhelper (>= 9),
+ dh-autoreconf,
+ dh-systemd (>= 1.5),
+ libfreeipmi-dev (>= 1.1.5) | libopenipmi-dev (>=2.0.18),
+ libssl-dev
+Standards-Version: 3.9.5
+Homepage: https://sourceforge.net/projects/ipmiutil/
+#Vcs-Git: git://git.debian.org/collab-maint/ipmiutil.git
+#Vcs-Browser: http://git.debian.org/?p=collab-maint/ipmiutil.git;a=summary
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.
-
+Depends: ${shlibs:Depends}, ${misc:Depends}
+Description: IPMI Management Utilities
+ ipmiutil is an easy-to-use set of IPMI server management
+ utilities. It can get/set sensor thresholds, automate
+ SEL management, do SOL console, etc.
diff --git a/debian/copyright b/debian/copyright
index 1800759..db951cd 100644
--- a/debian/copyright
+++ b/debian/copyright
@@ -1,129 +1,69 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+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
+Source: https://sourceforge.net/projects/ipmiutil/
Files: *
-Copyright: 2001-2008, Intel Corporation
- 2009-2012, Kontron America
- 2013, Andy Cress <arcress at users.sourceforge.net>
+Copyright: 2002-2004 Service Availability(TM) Forum
+ 1999-2006 Intel Corporation
+ 2003 Sun Microsystems, Inc
+ 2009-2011 Kontron America, Inc
+ 2014 Jörg Frings-Fürst <debian@jff-webhosting.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
+License: BSD-3-clause
+ All rights reserved.
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. 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.
+ 3. The name of the author may not be used to endorse or promote products
+ derived from this software without specific prior written permission.
+ .
+ THIS SOFTWARE IS PROVIDED BY THE REGENTS 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 REGENTS 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.
-Files: util/ifirewall.c
-Copyright: 2010 Kontron America Inc.
- 2005 International Business Machines, Inc.
- 2003 Sun Microsystems, Inc.
-License: BSD-3-clause
+Files: util/AnsiTerm.*
+Copyright: 2009 Robert Nelson <robertnelson@users.sourceforge.net>
+License: BSD-2-clause
-Files: util/ifwum.c util/ihpm.c
-Copyright: 2004-2006 Kontron Canada, Inc.
- 2003 Sun Microsystems, Inc.
-License: BSD-3-clause
+License: BSD-2-clause
+ All rights reserved.
+ .
+ Redistribution and use in source and binary forms, with or without
+ modification, are permitted provided that the following conditions
+ are met:
+ 1. Redistributions of source code must retain the above copyright
+ notice, this list of conditions and the following disclaimer.
+ 2. 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 REGENTS 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 REGENTS 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.
-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/debian/dirs b/debian/dirs
index d398c09..5b14e45 100644
--- a/debian/dirs
+++ b/debian/dirs
@@ -1,2 +1 @@
-etc/init.d
-etc/cron.daily
+usr/share/ipmiutil
diff --git a/debian/docs b/debian/docs
index 55bc0a6..5502ed8 100644
--- a/debian/docs
+++ b/debian/docs
@@ -1,2 +1,3 @@
+NEWS
README
-AUTHORS
+TODO
diff --git a/debian/libipmiutil.install b/debian/libipmiutil.install
new file mode 100644
index 0000000..87ba95c
--- /dev/null
+++ b/debian/libipmiutil.install
@@ -0,0 +1 @@
+#usr/lib/*/lib*.so.*
diff --git a/debian/patches/001-landesk_test.patch b/debian/patches/001-landesk_test.patch
new file mode 100644
index 0000000..150dce8
--- /dev/null
+++ b/debian/patches/001-landesk_test.patch
@@ -0,0 +1,21 @@
+Description: remove ifdef TEST & endif
+Author: Jörg Frings-Fürst <debian@jff-webhosting.net>
+Last-Update: 2014-06-04
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: trunk/util/ipmild.c
+===================================================================
+--- trunk.orig/util/ipmild.c 2014-05-26 14:23:52.000000000 +0200
++++ trunk/util/ipmild.c 2014-05-26 19:07:45.000000000 +0200
+@@ -87,9 +87,9 @@
+ extern FILE *fperr; /*defined in ipmicmd.c*/
+ extern FILE *fpdbg; /*defined in ipmicmd.c*/
+ extern ipmi_cmd_t ipmi_cmds[NCMDS];
+-#ifdef TEST
++//#ifdef TEST
+ static int ipmi_fd = -1;
+-#endif
++//#endif
+
+ int ipmi_open_ld(char fdebugcmd)
+ {
diff --git a/debian/patches/002-build.patch b/debian/patches/002-build.patch
new file mode 100644
index 0000000..dc1799e
--- /dev/null
+++ b/debian/patches/002-build.patch
@@ -0,0 +1,37 @@
+Description: add @INS_LIB@ to Makefiles
+Author: Jörg Frings-Fürst <debian@jff-webhosting.net>
+Last-Update: 2014-06-04
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: trunk/util/Makefile.am
+===================================================================
+--- trunk.orig/util/Makefile.am 2014-03-31 16:10:19.000000000 +0200
++++ trunk/util/Makefile.am 2014-05-26 19:11:11.998725060 +0200
+@@ -189,9 +189,9 @@
+ @INS_LIB@ cp -f isensor.h ievents.h $(DESTDIR)$(extradir)
+ @INS_LIB@ cp -f Makefile.sample $(DESTDIR)$(extradir)/Makefile
+ @INS_LIB@ cp -f $(DEV_LIB) $(DESTDIR)$(LIBDIR)
+- if [ "x$(SHRLINK)" != "x" ]; then \
++ @INS_LIB@ if [ "x$(SHRLINK)" != "x" ]; then \
+ @INS_LIB@ cp -f $(SHR_LIB) $(DESTDIR)$(LIBDIR) ; \
+- fi
++ @INS_LIB@ fi
+
+ clean-generic:
+ rm -f $(DEV_LIB) $(EXTRA_PROGRAMS) $(OLDPROGS) $(TESTPROGS) $(SHRLINK)
+Index: trunk/util/Makefile.in
+===================================================================
+--- trunk.orig/util/Makefile.in 2014-03-31 16:10:24.000000000 +0200
++++ trunk/util/Makefile.in 2014-05-26 19:11:25.698992815 +0200
+@@ -752,9 +752,9 @@
+ @INS_LIB@ cp -f isensor.h ievents.h $(DESTDIR)$(extradir)
+ @INS_LIB@ cp -f Makefile.sample $(DESTDIR)$(extradir)/Makefile
+ @INS_LIB@ cp -f $(DEV_LIB) $(DESTDIR)$(LIBDIR)
+- if [ "x$(SHRLINK)" != "x" ]; then \
++ @INS_LIB@ if [ "x$(SHRLINK)" != "x" ]; then \
+ @INS_LIB@ cp -f $(SHR_LIB) $(DESTDIR)$(LIBDIR) ; \
+- fi
++ @INS_LIB@ fi
+
+ clean-generic:
+ rm -f $(DEV_LIB) $(EXTRA_PROGRAMS) $(OLDPROGS) $(TESTPROGS) $(SHRLINK)
diff --git a/debian/patches/003-typo-man.patch b/debian/patches/003-typo-man.patch
new file mode 100644
index 0000000..2ada9ff
--- /dev/null
+++ b/debian/patches/003-typo-man.patch
@@ -0,0 +1,18 @@
+Description: typo manpages
+Author: Jörg Frings-Fürst <debian@jff-webhosting.net>
+Last-Update: 2014-06-04
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+Index: trunk/doc/iseltime.8
+===================================================================
+--- trunk.orig/doc/iseltime.8 2014-03-31 16:10:19.000000000 +0200
++++ trunk/doc/iseltime.8 2014-06-29 16:06:29.843381755 +0200
+@@ -54,7 +54,7 @@
+ Use a specified IPMI LAN privilege level. 1=Callback level, 2=User level, 3=Operator level, 4=Administrator level (default), 5=OEM level.
+ .IP "-Y"
+ Yes, do prompt the user for the IPMI LAN remote password.
+-Alternatives for the password are -E or -P.
++Alternatives for the password are \-E or \-P.
+
+
+ .SH "SEE ALSO"
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..5084afc
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,3 @@
+003-typo-man.patch
+001-landesk_test.patch
+002-build.patch
diff --git a/debian/rules b/debian/rules
index 49191d6..44ad232 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,23 +1,31 @@
#!/usr/bin/make -f
-%:
- dh $@ --with autoreconf
+# -*- makefile -*-
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+#
+# Hardening
+#
+#
+#export DEB_BUILD_MAINT_OPTIONS = hardening=+all
-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)
+
+%:
+ dh $@ --with autotools-dev --with systemd
override_dh_auto_configure:
- dh_auto_configure -- --enable-gpl
+ $(CURDIR)/beforeconf.sh
+ dh_auto_configure
-# work around bug #670796
override_dh_autoreconf:
dh_autoreconf --exclude=mkinstalldirs
override_dh_installchangelogs:
dh_installchangelogs ChangeLog
+
+override_dh_installman:
+ dh_installman doc/iseltime.8
+ dh_installman
diff --git a/debian/source/options b/debian/source/options
new file mode 100644
index 0000000..22a4de9
--- /dev/null
+++ b/debian/source/options
@@ -0,0 +1,2 @@
+compression = xz
+compression-level = 9
diff --git a/debian/watch b/debian/watch
index f1d1c3c..b674e67 100644
--- a/debian/watch
+++ b/debian/watch
@@ -1,2 +1,3 @@
version=3
-http://sf.net/ipmiutil/ipmiutil-(.+)\.tar\.gz
+opts=uversionmangle=s/\.(tar.*|tgz|zip|gz|bz2)$// \
+http://sf.net/ipmiutil/ipmiutil-?_?([\d+\.]+|\d+)\.(tar.*|tgz|zip|gz|bz2) debian uupdate