/trunk/debian/changelog |
---|
5,9 → 5,8 |
* format-security.patch (new): Fix incorrect use of fprintf() (it |
probably wasn't too dangerous as it was only argv[0] that was used as |
a format string). |
* debian/rules: Use dpkg-architecture and dpkg-buildflags. |
-- Magnus Holmgren <holmgren@debian.org> Sat, 23 Jun 2012 17:01:54 +0200 |
-- Magnus Holmgren <holmgren@debian.org> Sat, 23 Jun 2012 17:00:58 +0200 |
x2vnc (1.7.2-3) unstable; urgency=low |
/trunk/debian/control |
---|
3,8 → 3,7 |
Priority: optional |
Maintainer: Magnus Holmgren <holmgren@debian.org> |
Standards-Version: 3.9.1 |
Build-Depends: dpkg-dev (>= 1.15.7), debhelper (>= 6), libxaw7-dev, |
xutils-dev, libx11-dev, libxinerama-dev, libxss-dev |
Build-Depends: debhelper (>= 6), libxaw7-dev, xutils-dev, libx11-dev, libxinerama-dev, libxss-dev |
Homepage: http://fredrik.hubbe.net/x2vnc.html |
Package: x2vnc |
/trunk/debian/rules |
---|
8,21 → 8,14 |
# Uncomment this to turn on verbose mode. |
#export DH_VERBOSE=1 |
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) |
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) |
# This has to be exported to make some magic below work. |
export DH_OPTIONS |
ifeq ($(DEB_BUILD_GNU_TYPE), $(DEB_HOST_GNU_TYPE)) |
buildflags = --build=$(DEB_BUILD_GNU_TYPE) |
else |
buildflags = --build=$(DEB_BUILD_GNU_TYPE) --host=$(DEB_HOST_GNU_TYPE) |
endif |
config-stamp: configure |
dh_testdir |
./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) \ |
--prefix=/usr \ |
--mandir=\$${prefix}/share/man \ |
$(shell dpkg-buildflags --export=configure) |
--mandir=\$${prefix}/share/man |
touch config-stamp |
build: build-stamp |