[Debian-ha-commits] [cluster-glue] 01/02: Rules tweak

Richard Winters devrik-guest at moszumanska.debian.org
Fri Apr 17 09:02:35 UTC 2015


This is an automated email from the git hooks/post-receive script.

devrik-guest pushed a commit to branch master
in repository cluster-glue.

commit 3949db441fc02dc5789a0c8cb41dda8d6c490cbb
Author: Richard B Winters <rik at mmogp.com>
Date:   Thu Apr 16 17:06:41 2015 -0400

    Rules tweak
---
 debian/control | 57 +++++++++++++++++++++++++++++----------------------------
 debian/rules   | 23 ++++++++++++++---------
 2 files changed, 43 insertions(+), 37 deletions(-)

diff --git a/debian/control b/debian/control
index f606609..91951f9 100644
--- a/debian/control
+++ b/debian/control
@@ -7,46 +7,47 @@ Uploaders: Martin Loschwitz <madkiss at debian.org>,
  Simon Horman <horms at debian.org>, 
  Frederik Schüler <fs at debian.org>,
  Richard B Winters <rik at mmogp.com>
-Build-Depends: debhelper (>= 7), 
- asciidoc, 
- autoconf, 
- automake, 
+Build-Depends: debhelper (>= 9), 
+ asciidoc,
+ autoconf,
+ automake,
  bison,
+ chrpath,
  dh-autoreconf,
- docbook-xsl, 
+ docbook-xsl,
  docbook-xml,
- flex, 
- help2man, 
- iproute, 
- iputils-ping, 
+ flex,
+ help2man,
+ iproute,
+ iputils-ping,
  libaio-dev,
- libbz2-dev, 
- libcurl4-openssl-dev | libcurl3-openssl-dev, 
- libdbus-glib-1-dev, 
- libdbus-1-dev, 
+ libbz2-dev,
+ libcurl4-openssl-dev | libcurl3-openssl-dev,
+ libdbus-glib-1-dev,
+ libdbus-1-dev,
  libglib2.0-dev,
  libltdl3-dev,
- libnet1-dev,  
- libncurses5-dev, 
- libopenhpi-dev, 
+ libnet1-dev,
+ libncurses5-dev,
+ libopenhpi-dev,
  libopenipmi-dev,
  libpam0g-dev,
  libsensors4-dev | libsensors-dev,
- libtool, 
+ libtool,
  libsnmp-dev,
- libxml2-dev, 
+ libxml2-dev,
  libxml2-utils,
- lynx, 
- net-tools,  
- openssh-client, 
- perl, 
+ lynx,
+ net-tools,
+ openssh-client,
+ perl,
  psmisc,
- python-dev (>= 2.6.6-3~), 
- python (>= 2.6.6-3~), 
- swig, 
- uuid-dev, 
- xsltproc,  
- zlib1g-dev, 
+ python-dev (>= 2.6.6-3~),
+ python (>= 2.6.6-3~),
+ swig,
+ uuid-dev,
+ xsltproc, 
+ zlib1g-dev
 Standards-Version: 3.9.5
 Homepage: http://hg.linux-ha.org/glue/
 Vcs-Git: https://alioth.debian.org/anonscm/git/debian-ha/cluster-glue.git
diff --git a/debian/rules b/debian/rules
index a0ba69d..70405ac 100755
--- a/debian/rules
+++ b/debian/rules
@@ -6,8 +6,11 @@ DH_VERBOSE = 1
 # see FEATURE AREAS in dpkg-buildflags(1)
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
-# Ensure that we link against all needed libraries (cf. Policy 10.2)
-export DEB_LDFLAGS_MAINT_APPEND=-Wl,-z,defs
+# We don't need - or can't, rather, enforce (cf. Policy 10.2)
+# because libtool does some chrpath's and re-linking through out 
+# the build process, and these options fail the build before 
+# lib tool gets it's chance to do anything.
+# export DEB_LDFLAGS_MAINT_APPEND=-Wl,-z,defs
 
 # main packaging script based on dh7 syntax
 %:
@@ -17,20 +20,22 @@ override_dh_autoreconf:
 	dh_autoreconf ./autogen.sh
 
 override_dh_auto_configure:
-	 ./configure --with-ocf-root=/usr/lib/ocf --with-initdir=/etc/init.d \
-		    --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
-  		    --mandir=/usr/share/man --libdir=/usr/lib \
-		    --enable-upstart --enable-dependency-tracking --disable-fatal-warnings \
-	        --includedir=../../pils
+	./configure  --sysconfdir=/etc --localstatedir=/var \
+		         --with-gnu-ld --enable-dependency-tracking \ 
+		         --disable-fatal-warnings
 
-LDFLAGS += -L../../pils/.lib
 override_dh_auto_install:
 	dh_auto_install
-	rm -v debian/tmp/usr/lib/*/lib*.la
+# install logd.cf configuration file
+#	mkdir -p $(CURDIR)/debian/cluster-glue/etc/
+#	cp -ax $(CURDIR)/logd/logd.cf $(CURDIR)/debian/cluster-glue/etc/
 
 override_dh_installinit:
 	dh_installinit --name=logd -pcluster-glue -u 'defaults 20 32'
 
+override_dh_installchangelogs:
+	dh_installchangelogs ChangeLog
+
 override_dh_python2:
 	dh_python2
 	dh_python2 /usr/lib/stonith/plugins/stonith2

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-ha/cluster-glue.git



More information about the Debian-HA-Commits mailing list