]> git.proxmox.com Git - redhat-cluster-pve.git/commitdiff
Run lintian, fix lintian errors
authorDietmar Maurer <dietmar@proxmox.com>
Tue, 30 Aug 2011 13:25:30 +0000 (15:25 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 30 Aug 2011 13:25:30 +0000 (15:25 +0200)
Also installed better copyright file.

Makefile
debian/copyright
debian/redhat-cluster-pve-dev.install
debian/redhat-cluster-pve.dirs
debian/redhat-cluster-pve.install
debian/rules

index bf571311f33436f57c2c723b9ede7236b4380458..7e39ce78ee74c594de0cb86e50f7c51fa94a4e02 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -20,7 +20,9 @@ ${DEBS}: ${RHCSRC}
        rm -rf ${RHCDIR}
        tar xf ${RHCSRC}
        cp -a debian ${RHCDIR}/debian
+       cat ${RHCDIR}/doc/COPYRIGHT >>${RHCDIR}/debian/copyright
        cd ${RHCDIR}; dpkg-buildpackage -rfakeroot -b -us -uc
+       lintian ${DEBS}
 
 ${RHCSRC} download:
        rm -rf ${RHCDIR} cluster.git
index 55103bb3abd9f9f364119ee1588638dedf02b9e1..734218baa14d89ab73ca8a124c9be5b9b5078e84 100644 (file)
 This work was packaged for Debian by:
 
Proxmox Support Team <support@proxmox.com> on Thu, 18 Feb 2010 13:20:10 +0100
   Proxmox Support Team <support@proxmox.com> on Mon, 29 Aug 2011 13:49:31 +0200
 
-It was downloaded from <git://git.fedorahosted.org/cluster.git>
+It was downloaded from:
 
-*****
+    <https://fedorahosted.org/cluster/wiki/HomePage>
 
-From upstream README.licence:
+Upstream Author(s):
 
-The Red Hat Cluster is a collection of free software built on top of different
-libraries and applications.
-
-For a detailed list of authors and copyright holders, please check the
-included COPYRIGHT file.
-
-Libraries:
-
-You can redistribute them and/or modify them under the terms of the GNU Lesser
-General Public License as published by the Free Software Foundation; either
-version 2.1 of the License, or (at your option) any later version.
-
-The libraries are distributed in the hope that they will be useful, but WITHOUT
-ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
-FOR A PARTICULAR PURPOSE.  See the GNU Lesser General Public License for more
-details.
-
-Applications:
-
-You can redistribute them and/or modify them under the terms of the GNU General
-Public License as published by the Free Software Foundation; either version
-2 of the License, or (at your option) any later version.
-
-The applications are distributed in the hope that they 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 each license is included for your convenience in COPYING.applications
-and COPYING.libraries.
-
-If missing, write to the Free Software Foundation, Inc., 51 Franklin St,
-Fifth Floor, Boston, MA 02110-1301 USA.
-
-*****
-
-On Debian systems, the complete text of the GNU General Public License 
-version 2 can be found in `/usr/share/common-licenses/GPL-2'.
-
-On Debian systems, the complete text of the GNU Lesser Public License 
-version 2.1 can be found in `/usr/share/common-licenses/LGPL-2.1'.
-
-*****
-
-From upstream COPYRIGHT file:
-
-Unless specified otherwise in the "exceptions section" below:
-
-Copyright (C) 1997-2003 Sistina Software, Inc.  All rights reserved.
-Copyright (C) 2004-2008 Red Hat, Inc.  All rights reserved.
-
-Exceptions:
-
-cman/qdisk/crc32.c:
- Copyright (C) 2000 Bryan Call <bc at fodder.org>
- Modified by Lon H. Hohberger <lhh at redhat.com>
- Copyright (C) 2003-2008 Red Hat, Inc.  All rights reserved.
-
-cman/qdisk/daemon_init.c:
- Copyright (C) 2000 Mission Critical Linux
- Copyright (C) 2002-2008 Red Hat, Inc.  All rights reserved.
- Author: Jeff Moyer <jmoyer at redhat.com>
-
-cman/qdisk/disk.c:
- Copyright (C) 2000 Mission Critical Linux
- Copyright (C) 2002-2008 Red Hat, Inc.  All rights reserved.
- Author: Tim Burke <tburke at redhat.com>
-
-cman/qdisk/scandisk.{c,h}:
- Original design by: Joel Becker <Joel.Becker at oracle.com> and
- Fabio M. Di Nitto <fdinitto at redhat.com>
-
-dlm/doc/example.c:
- Author: Daniel Phillips <phillips at redhat.com>
-
-fence/agents/apc_snmp/powernet369.mib:
- Copyright (c) 2005 American Power Conversion, Inc.
- PowerNet is a Trademark of American Power Conversion Corp.
-
-fence/agents/ifmib/fence_ifmib.py:
- Copyright (C) 2008 Ross Vandegrift.
- Written by Ross Vandegrift <ross at kallisti.us>
-
-fence/agents/ipmilan/expect.{c,h}:
- Copyright (C) 2000 Alan Robertson <alanr at unix.sh>
-
-fence/agents/vmware/fence_vmware.pl:
- Author: Zach Lowry <zach at zachlowry.net>
-
-fence/agents/xvm/tcp.c:
- Copyright (C) 2000 Mission Critical Linux
- Copyright (C) 2002-2008 Red Hat, Inc.  All rights reserved.
- Author: Jeff Moyer <jmoyer at redhat.com>
-
-fence/man/fence_ifmib.8:
- Copyright (C) 2008 Ross Vandegrift.
- Written by Ross Vandegrift <ross at kallisti.us>
-
-gfs/man/gfs_mount.8:
- Portions copyright (C) 2001-2003 The OpenGFS Project
- Portions copyright (C) 2004 <ben.m.cahill at intel.com>
- Copyright (C) 2004-2008 Red Hat, Inc.  All rights reserved.
-
-gfs2/man/gfs2_mount.8:
- Portions copyright (C) 2001-2003 The OpenGFS2 Project
- Portions copyright (C) 2004 <ben.m.cahill at intel.com>
- Copyright (C) 2004-2008 Red Hat, Inc.  All rights reserved.
-
-gfs-kernel/src/gfs/fixed_div64.h:
- Copyright (c) 2000-2003 Silicon Graphics, Inc.  All Rights Reserved.
-  Contact information: Silicon Graphics, Inc., 1600 Amphitheatre Pkwy,
-  Mountain View, CA  94043, or:
-  http://www.sgi.com
-  For further information regarding this notice, see:
-  http://oss.sgi.com/projects/GenInfo/SGIGPLNoticeExplan/
- Copyright (C) 2004-2008 Red Hat, Inc.  All rights reserved.
-
-From rgmanager/AUTHORS:
-
-Lon Hohberger           lhh at redhat.com
-* Resource tree
-* Failover domains
-* Resource agent scripts
-
-Gregory Myrdal          [private]
-* Misc utilities
-* Resource agent scripts
-
-Jeff Moyer              jmoyer at redhat.com
-* Syslog wrapper & logging program
-
-Portions of this code (C) 2000-2001 Mission Critical Linux, Inc.
-
-rgmanager/include/clulog.h:
- Copyright (C) 2000 Mission Critical Linux
- Copyright (C) 2002-2008 Red Hat, Inc.  All rights reserved.
- Author: Jeff Moyer <moyer at missioncriticallinux.com>
-
-rgmanager/src/clulib/clulog.c:
- Copyright (C) 2000 Mission Critical Linux
- Copyright (C) 2002-2008 Red Hat, Inc.  All rights reserved.
- Author: Jeff Moyer <moyer at missioncriticallinux.com>
-
-rgmanager/src/clulib/daemon_init.c:
- Copyright (C) 2000 Mission Critical Linux
- Copyright (C) 2002-2008 Red Hat, Inc.  All rights reserved.
- Author: Jeff Moyer <moyer at missioncriticallinux.com>
-
-rgmanager/src/clulib/msgsimple.c:
- Copyright (C) 2000 Mission Critical Linux
- Copyright (C) 2002-2008 Red Hat, Inc.  All rights reserved.
-
-rgmanager/src/clulib/tmgr.c:
- Copyright (C) 2006-2007 Crosswalk.
- Copyright (C) 2007-2008 Red Hat, Inc.  All rights reserved.
-
-rgmanager/src/clulib/wrap_lock.c:
- Copyright (C) 2006-2007 Crosswalk.
- Copyright (C) 2007-2008 Red Hat, Inc.  All rights reserved.
-
-rgmanager/src/daemons/groups.c:
- Copyright (C) 2000 Mission Critical Linux
- Copyright (C) 2002-2008 Red Hat, Inc.  All rights reserved.
-
-rgmanager/src/daemons/main.c:
- Copyright (C) 2000 Mission Critical Linux
- Copyright (C) 2002-2008 Red Hat, Inc.  All rights reserved.
-
-rgmanager/src/utils/cluarp.c:
- Copyright (C) 2000 Mission Critical Linux
- Copyright (C) 2002-2008 Red Hat, Inc.  All rights reserved.
-
-rgmanager/src/utils/clubufflush.c:
- Copyright (C) 2000 Mission Critical Linux
- Copyright (C) 2002-2008 Red Hat, Inc.  All rights reserved.
- Author: Gregory P. Myrdal <Myrdal at MissionCriticalLinux.Com>
-
-rgmanager/src/utils/clufindhostname.c:
- Copyright (C) 2000 Mission Critical Linux
- Copyright (C) 2002-2008 Red Hat, Inc.  All rights reserved.
- Richard Rabbat <rabbat at missioncriticallinux.com>
-
-rgmanager/src/utils/clulog.c:
- Copyright (C) 2000 Mission Critical Linux
- Copyright (C) 2002-2008 Red Hat, Inc.  All rights reserved.
- Author: Jeff Moyer <moyer at missioncriticallinux.com>
-
-rgmanager/src/utils/syscall.h
- Copyright (C) 1995-1997 Olaf Kirch <okir at monad.swb.de>
- Copyright (C) 1997-2003 Sistina Software, Inc.  All rights reserved.
- Copyright (C) 2004-2008 Red Hat, Inc.  All rights reserved.
+    See Copyright section below. 
  
-rgmanager/src/resources/ASEHAagent.sh:
- Sybase Availability Agent for Red Hat Cluster v15.0.2
- Copyright (C) - 2007
- Sybase, Inc. All rights reserved.
-
- Sybase Availability Agent for Red Hat Cluster v15.0.2 is licensed
- under the GNU General Public License Version 2.
-
- Author(s):
-  Jian-ping Hui <jphui at sybase.com>
+License:
 
-rgmanager/src/resources/clusterfs.sh:
- Copyright (C) 2000 Mission Critical Linux
- Copyright (C) 2002-2008 Red Hat, Inc.  All rights reserved.
+    Libraries:
 
-rgmanager/src/resources/fs.sh:
- Copyright (C) 2000 Mission Critical Linux
- Copyright (C) 2002-2008 Red Hat, Inc.  All rights reserved.
+    You can redistribute them and/or modify them under the terms of
+    the GNU Lesser General Public License as published by the Free
+    Software Foundation; either version 2.1 of the License, or (at
+    your option) any later version.
 
-rgmanager/src/resources/ip.sh:
- Copyright (C) 2000 Mission Critical Linux
- Copyright (C) 2004-2008 Red Hat, Inc.  All rights reserved.
+    The libraries are distributed in the hope that they will be
+    useful, but WITHOUT ANY WARRANTY; without even the implied
+    warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
+    See the GNU Lesser General Public License for more details.
 
-rgmanager/src/resources/netfs.sh:
- Copyright (C) 2000 Mission Critical Linux
- Copyright (C) 2002-2008 Red Hat, Inc.  All rights reserved.
+    Applications:
 
-rgmanager/src/resources/netexport.sh:
- Copyright (C) 2000 Mission Critical Linux
- Copyright (C) 2002-2008 Red Hat, Inc.  All rights reserved.
+    You can redistribute them and/or modify them under the terms of
+    the GNU General Public License as published by the Free Software
+    Foundation; either version 2 of the License, or (at your option)
+    any later version.
 
-rgmanager/src/resources/ocf-shellfuncs:
- Copyright (C) 2004 SUSE LINUX AG, Lars Marowsky-Bree. All Rights Reserved.
+    The applications are distributed in the hope that they 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.
 
-rgmanager/src/resources/oracledb.sh:
- Author(s):
-  Hardy Merrill <hmerrill at redhat.com>
-  Michael Moon <Michael dot Moon at oracle.com>
+    A copy of each license is included for your convenience in:
+    /usr/share/common-licenses/LGPL-2.1        
+    /usr/share/common-licenses/GPL-2   
+    
 
-rgmanager/src/resources/SAPDatabase:
- Author: Alexander Krauth
- Copyright (C) 2006 Alexander Krauth
+The Debian packaging is:
 
-rgmanager/src/resources/SAPInstance:
- Author: Alexander Krauth
- Copyright (C) 2006 Alexander Krauth
+    Copyright (C) 2011 Proxmox Server Solutions GmbH
 
-rgmanager/src/resources/smb.sh:
- Copyright (C) 2000 Mission Critical Linux
- Copyright (C) 2002-2008 Red Hat, Inc.  All rights reserved.
- Author(s):
-  Lon Hohberger (lhh at redhat.com)
-  Tim Burke (tburke at redhat.com)
+and is licensed under the AGPL version 3
 
-Authors as known by current RCS as of the time of writing:
+Copyright:
 
-Abhijith Das <adas at redhat.com>
-Adam Manthei <amanthei at redhat.com>
-A. J. Lewis <alewis at redhat.com>
-Alasdair G. Kergon <agk at redhat.com>
-Andrew Price <andy at andrewprice.me.uk>
-Benjamin Marzinski <bmarzins at redhat.com>
-Bob Peterson <rpeterso at redhat.com>
-Chris Feist <cfeist at redhat.com>
-Christine Caulfield <ccaulfie at redhat.com>
-Daniel Phillips <phillips at redhat.com>
-David Teigland <teigland at redhat.com>
-Fabio M. Di Nitto <fdinitto at redhat.com>
-James Parsons <jparsons at redhat.com>
-Joel Becker <joel.becker at oracle.com>
-Jonathan Brassow <jbrassow at redhat.com>
-jparsons <jparsons at redhat.com>
-Ken Preslan <kpreslan at redhat.com>
-Lon Hohberger <lhh at redhat.com>
-Marc - A. Dahlhaus <mad at wol.de>
-Marek 'marx' Grac <mgrac at redhat.com>
-Mark Hlawatschek <hlawatschek at atix.de>
-Michael Conrad Tadpol Tilstra <mtilstra at redhat.com>
-Patrick Caulfield <pcaulfie at redhat.com>
-Robert Peterson <rpeterso at redhat.com>
-Ross Vandegrift <ross at kallisti.us>
-Ryan McCabe <rmccabe at redhat.com>
-Ryan O'Hara <rohara at redhat.com>
-Stanko Kupcevic <kupcevic at redhat.com>
-Steven Whitehouse <swhiteho at redhat.com>
-Wendy Cheng <wcheng at redhat.com>
index e7cc9ad888d0ffb4280d7ba767f6ec8303bf9e0c..3aad8025b48c49bd8d1fd9351abbb138454ae7b3 100644 (file)
@@ -1,4 +1,5 @@
 usr/include/
 usr/lib/*.a
+usr/lib/*.so
 usr/lib/pkgconfig
 usr/share/man/man3
index d7e00acbef8ee9eddde92646b8afb928802112c4..7405bb24384a87623715544701cad67f6c236351 100644 (file)
@@ -1,4 +1,3 @@
 var/lib/cluster
 var/log/cluster
-var/run/cluster
-etc/cluster
\ No newline at end of file
+etc/cluster
index 47694751f921f0e1d4e8a8127ffb60ee34434fa7..7d2f8da2f9c139cb57292b15368a0ad7933d5cd8 100644 (file)
@@ -1,7 +1,6 @@
 usr/sbin/*
 usr/lib/lcrso/*.lcrso usr/lib/lcrso/
 usr/lib/*.so.*
-usr/lib/*.so
 usr/share/cluster/*
 usr/share/man/man5/*
 usr/share/man/man8/*
index 1c0049e7b16e32402e169e3359038cbb4bc45e6f..c6cc0a0c8db8407a9450cdffcd1833bdc1ff7fd9 100755 (executable)
@@ -30,10 +30,14 @@ override_dh_auto_configure:
 override_dh_auto_install:
        $(MAKE) install DESTDIR=$(BUILDROOT)/debian/tmp/
 
-       # we do not install upstream doc
+       # we do not install upstream doc, instead we use
+       # dh_installdocs and dh_installexamples to copy files
        rm -rf debian/tmp/usr/share/doc/cluster
 
        dh_install --list-missing
 
+       strip -s debian/tmp/usr/lib/lcrso/*.lcrso
+
+
 override_dh_shlibdeps:
        dh_shlibdeps -a -- debian/tmp/usr/lib/lcrso/*.lcrso