Package: opensync
Version: 0.19-1.1
Severity: normal
Tags: patch
Hi,
Attached is the diff for my opensync 0.19-1.2 NMU.
--
Luk Claes - http://people.debian.org/~luk - GPG key 1024D/9B7C328D
Fingerprint: D5AF 25FB 316B 53BB 08E7 F999 E544 DE07 9B7C 328D
diff -u opensync-0.19/debian/changelog opensync-0.19/debian/changelog
--- opensync-0.19/debian/changelog
+++ opensync-0.19/debian/changelog
@@ -1,3 +1,11 @@
+opensync (0.19-1.2) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Use CURDIR instead of PWD to fix FTBFS with sudo (Closes: #396818).
+ * Install osplugin binary in usr/lib (Closes: #396006).
+
+ -- Luk Claes <[EMAIL PROTECTED]> Sun, 5 Nov 2006 18:32:05 +0100
+
opensync (0.19-1.1) unstable; urgency=low
* Non-maintainer upload.
diff -u opensync-0.19/debian/libopensync0.install
opensync-0.19/debian/libopensync0.install
--- opensync-0.19/debian/libopensync0.install
+++ opensync-0.19/debian/libopensync0.install
@@ -5 +5 @@
-usr/libexec/osplugin
+usr/lib/opensync/osplugin
diff -u opensync-0.19/debian/rules opensync-0.19/debian/rules
--- opensync-0.19/debian/rules
+++ opensync-0.19/debian/rules
@@ -28,9 +28,9 @@
export CFLAGS
-SRC := $(PWD)
-BUILD := $(PWD)/debian/build
-TARGET := $(PWD)/debian/tmp
+SRC := $(CURDIR)
+BUILD := $(CURDIR)/debian/build
+TARGET := $(CURDIR)/debian/tmp
configure: debian/rules
dh_testdir
@@ -45,7 +45,7 @@
cd $(BUILD) && CFLAGS="$(CFLAGS)" $(SRC)/configure
--host=$(DEB_HOST_GNU_TYPE) \
--build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr \
--mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info \
- --enable-static --enable-python=2.4
+ --enable-static --enable-python=2.4
--libexecdir=\$${prefix}/lib/opensync
$(MAKE) -C $(BUILD)
# FIXME invoke this once upstream decide on the right fix.
# $(MAKE) -C $(BUILD) check