Skip to contentSkip to conversation

update debian packaging

PATCH Applied Pierre Chifflier 2 participants 4 messages Mar 6, 2007 – Mar 8, 2007 netfilter

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 update debian packaging

Hi,

The following patch fixes 3 problems with the debian files in the svn repository:
* the.pc file is not copied during installation
* the version is outdated
* the version in debian/changelog should reflect the number of the debian packaging, and so lacks a -1

---

changelog +6 -0
Index: debian/changelog
===================================================================
@@ -1,3 +1,9 @@
+libnfnetlink (0.0.25-1) unstable; urgency=low
+
+  * new upstream release
+
+ -- Harald Welte <[email protected]>  Tue,  6 Mar 2007 11:07:08 +0100
+
 libnfnetlink (0.0.14) unstable; urgency=low
 
   * new upstream release
rules +4 -0
Index: debian/rules
===================================================================
@@ -11,3 +11,7 @@
 include /usr/share/cdbs/1/class/autotools.mk
 
 DEB_DH_INSTALL_SOURCEDIR := debian/tmp
+
+binary-install/libnfnetlink-dev::
+	mkdir -p debian/libnfnetlink-dev/usr/lib/pkg-config/; \
+	install -m 644 libnfnetlink.pc debian/libnfnetlink-dev/usr/lib/pkg-config/
#1 lore raw
Quoted 8 lines · Pierre Chifflier

Hi,

The following patch fixes 3 problems with the debian files in the svn repository:
* the.pc file is not copied during installation
* the version is outdated
* the version in debian/changelog should reflect the number of the debian packaging, and so lacks a -1

Applied, thanks.

#2 lore raw
Quoted 12 lines · Patrick McHardy
Quoted 8 lines · Pierre Chifflier

Hi,

The following patch fixes 3 problems with the debian files in the svn repository:
* the.pc file is not copied during installation
* the version is outdated
* the version in debian/changelog should reflect the number of the debian packaging, and so lacks a -1

Applied, thanks.

Oops, sorry, the previous patch contained some mistakes. This patch applies on top of the previous one, to give a correct debian package (compile and install-tested).

* install .pc file in /usr/lib/pkgconfig, not pkg-config
* update package timestamp

---

changelog +1 -1
Index: debian/changelog
===================================================================
@@ -2,7 +2,7 @@
 
   * new upstream release
 
- -- Harald Welte <[email protected]>  Tue,  6 Mar 2007 11:07:08 +0100
+ -- Harald Welte <[email protected]>  Thu,  8 Mar 2007 14:02:37 +0100
 
 libnfnetlink (0.0.14) unstable; urgency=low
 
rules +2 -2
Index: debian/rules
===================================================================
@@ -13,5 +13,5 @@
 DEB_DH_INSTALL_SOURCEDIR := debian/tmp
 
 binary-install/libnfnetlink-dev::
-	mkdir -p debian/libnfnetlink-dev/usr/lib/pkg-config/; \
-	install -m 644 libnfnetlink.pc debian/libnfnetlink-dev/usr/lib/pkg-config/
+	mkdir -p debian/libnfnetlink-dev/usr/lib/pkgconfig/; \
+	install -m 644 libnfnetlink.pc debian/libnfnetlink-dev/usr/lib/pkgconfig/
#3 lore raw
Quoted 6 lines · Pierre Chifflier

Oops, sorry, the previous patch contained some mistakes. This patch applies on top of the previous one, to give a correct debian package (compile and install-tested).

* install .pc file in /usr/lib/pkgconfig, not pkg-config
* update package timestamp

This stuff is a mystery to me :)

Applied, thanks.