From: Raspbian automatic forward porter Date: Sat, 16 Mar 2019 02:19:33 +0000 (+0000) Subject: Merge version 5.5.1-1+rpi1 and 5.18.12-1 to produce 5.18.12-1+rpi1 X-Git-Tag: archive/raspbian/5.18.12-1+rpi1^0 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=3742ab02f909db87ee6761ec7363e2afc05bc5e8;p=ltsp.git Merge version 5.5.1-1+rpi1 and 5.18.12-1 to produce 5.18.12-1+rpi1 --- 3742ab02f909db87ee6761ec7363e2afc05bc5e8 diff --cc debian/changelog index 8d562d4,56644fe..890fc43 --- a/debian/changelog +++ b/debian/changelog @@@ -1,9 -1,544 +1,552 @@@ - ltsp (5.5.1-1+rpi1) jessie-staging; urgency=low ++ltsp (5.18.12-1+rpi1) buster-staging; urgency=medium + ++ [changes brought forward from 5.5.1-1+rpi1 by Peter Michael Green at Sun, 09 Mar 2014 01:38:49 +0000] + * Treat raspbian the same as debian to avoid build failure, further + tweaking may be needed to make the package actually work on a Pi. + - -- Peter Michael Green Sun, 09 Mar 2014 01:38:49 +0000 ++ -- Raspbian forward porter Sat, 16 Mar 2019 02:19:33 +0000 ++ + ltsp (5.18.12-1) unstable; urgency=medium + + * New upstream version. + + [ Alkis Georgopoulos ] + * Avoid client hang on shutdown (LP: #1781783). + * Resolve systemd-networkd issues (LP: #1756260). + * Move rofs,cow to /run/initramfs to prevent systemd from unmounting + them on shutdown. + * init-ltsp.d/50-systemd-shutdown replaced nbd-disconnect. + * Drop Ubuntu diff from debian/control. + * Add X-Ubuntu-Depends: ldm-ubuntu-theme for ltsp-client. + * Add snap and swapfile to ltsp-update-image.excludes. + * At 50-system-shutdown, pid 1 is init-ltsp, not systemd. + * Introduce HOST_TO_USERNAME lts.conf directive (LP: #1781774). + * Exclude system journal from the generated image (LP: #1781820). + * Allow backslashes in usernames (LP: #1652260). + * ltsp-config dnsmasq --enable-dns, assumes the default is port=0. + * Introduce ltsp-client-core.postinst to call update-kernels. + * Default to IPAPPEND=3 for ProxyDHCP. + * Properly create rc.local if needed (LP: #1782080). + * Add epoptes to RM_SYSTEM_SERVICES. + * Move the ldm-ubuntu-theme dependency to ldm. + * Update 50-rm-system-services for Ubuntu 18.04. + * Debian: don't ifdown the interfaces on shutdown. + * Avoid getty@.service for all VTs except the first. + * Ubuntu: disable apparmor on fat clients as it crashes libreoffice + (LP: #1783066). + * Debian: add apt-daily.timer to RM_SYSTEM_SERVICES. + * Ubuntu: disable some new unnecessary cronjobs. + * 10-resolv-conf: Domains, not Domain (LP: #1795985). + * 10-resolv-conf: start comment with #, thanks Hyperbyte! + + [ Vagrant Cascadian ] + * server/man: Add lts.conf manpage, generated with go-md2man. + * lts.conf manpage: Update references to /dev/usb/lp0. Thanks to + Wolfgang Schweer. (Closes: #795620). + + [ Wolfgang Schweer ] + * Make 'ltsp-build-client/Debian/000-basic-configuration' more robust. + * Adjust server/Debian/share/ltsp/ltsp-build-client-functions to be apt + compliant. + + [ Vagrant Cascadian ] + * ltsp-build-client-functions: Fix add_mirrors function to only enable + trusted=yes for file: entries. + + [ Wolfgang Schweer and Vagrant Cascadian ] + * Debian: ltsp-client-builder: Use --nfs-root to enable NFS support, and + edit update-kernels.conf.d/nfs. (Closes: #904427). + + [ Wolfgang Schweer ] + * Debian: ltsp-client-builder: Create directory update-kernels.conf.d to + be able to write the update-kernels.conf.d/nfs file. + + [ Vagrant Cascadian ] + * Debian: ltsp-build-client: Ensure configuration directory exists when + enabling nfs-root. + * Debian: ltsp-build-client: Add --trust-file-mirror commandline option + to set [trusted=yes] on file type mirrors. (Closes: #911380). + * Sync translations from Launchpad. + * Debian: ltsp-build-client: Make TRUST_FILE_MIRROR a boolean. + * Install lts.conf man page: + - Add Build-Depends on go-md2man. + - Add Breaks/Replaces on ltsp-docs. + - Drop Suggests/Recommends on ltsp-docs. + * Update manpage version patch. + * debian/control: Update Standards-Version to 4.3.0, no changes. + * debian/control: Update Standards-Version to 4.3.0, no changes. + * ltsp-config: prefer installing from /usr/share/ltsp/examples rather + than /usr/share/doc/ltsp-server/examples, as relying on contents in + doc violates Debian policy, and is potentially very distro-specific. + * Move ltsp-server-dnsmaq.conf into common configuration directory. + * Update to debhelper compatibility level 11. + * ltsp-server: Install ltsp-config examples in /usr/share/ltsp/examples, + adding symlinks to /usr/share/doc/ltsp-server/examples/. + + -- Vagrant Cascadian Mon, 24 Dec 2018 17:30:09 -0800 + + ltsp (5.18.04-2) unstable; urgency=medium + + * Update Maintainer address. + * Add patch from upstream to use POSIX awk exponent operator "^". + + -- Vagrant Cascadian Thu, 07 Jun 2018 19:12:44 -0700 + + ltsp (5.18.04-1) unstable; urgency=medium + + * New upstream version. + + [ Kim B. Heino ] + * ltsp-update-kernels: update SELinux context even if in permissive + mode. + * Add support for multiple log targets in SYSLOG_HOST variable. + (LP: #1690824) + * ltsp-update-kernels: cleanup also .vmlinuz-*.hmac files. + * init-ltsp.d/09-hostname: strip search domains from hostname. + * Many updates to Redhat support. + * ltsp-update-sshkeys: include ed25519 keys. + * 50-set-time: if /etc/localtime is symlink handle it as such. + + [ Alkis Georgopoulos ] + * Update Gentoo codebase a bit. + * Check that ntpdate exists before calling it. + * Prohibit the kernel from removing the ip address. + * Fedora: don't set valid_flt=forever when BOOTPROTO=dhcp. + + [ Vagrant Cascadian ] + * Sync translations with launchpad. + * xfreerdp: Adjust default arguments when called as xfreerdp. + (Closes: #819160) + + * Debian packaging: + - debian/patches: + + Remove patches applied upstream. + + Remove ancient, unused kFreeBSD patches. + - debian/control: + + ltsp-client*: Prefer freerdp2-x11 over other RDP clients. + (Closes: #892626) + + Update Standards-Version to 4.1.4, no changes needed. + + ltsp-client-builder: Depend on console-setup-udeb for both Debian + and Ubuntu (Closes: #888583). + + -- Vagrant Cascadian Mon, 23 Apr 2018 18:42:19 -0700 + + ltsp (5.5.10-1) unstable; urgency=medium + + * New upstream version + [ Alkis Georgopoulos ] + * Use binary tftp mode for transferring lts.conf. (LP: #238010) + * Remove NBD swap files 10s after creation. (LP: #1686062) + * cleanup.d: empty /etc/fstab to prevent boot failures. (LP: #1673401) + * Allow block devices in ltsp-update-kernels. + * Enable the DNS server functionality of dnsmasq by default. + + [ Vagrant Cascadian ] + * ltsp-update-image: Enable support for selecting mksquashfs + compression type. + * init-ltsp.d: Symlink localtime instead of copying it. (LP: #1660392) + * ltsp-build-client: Debian/Ubuntu: Fix timezone handling. (LP: #1660392) + * init-ltsp.d: rcfiles: Only attempt to remove line from rc.local if + rc.local actually exists (LP: #1700742). + * init-ltsp.d: set-time: Disable pool servers if TIMESERVER is set. + (LP: #1689338) + * init-ltsp.d: set-time: Configure timesyncd as well as ntp. + (LP: #1689338) + * Switch from /var/cache/ltsp to /run/ltsp. (LP: #1560344) + * Sync translations with launchpad. + + [ Vagrant Cascadian ] + * ltsp-client-core: Add dependency on fdisk or old versions of + util-linux (Closes: #872092). + * debian/rules: Add support for cross-compilation. + * debian/control: Update to Standards-Version 4.1.1. + - Set Priority to "optional", as "extra" is deprecated. + * ltsp-client-core: Use activate-noawait trigger on update-initramfs. + * debian/watch: Scan git repository for new upstream versions. + * ltsp-client: Add dependency on systemd versions that enable + systemd-timesyncd as a preferred alternative to ntpdate. + * ltsp-client-core: Remove /var/cache/ltsp* and /var/lib/ltsp* + directories as they are no longer used. + * ltsp-server: Drop un-used dependency on python. + * debian/control: Update Vcs-* to point to launchpad. + * Switch to debhelper compat level 10. + * ltsp-update-image: Add patch from upstream to exclude etckeeper + directories from generated image. + + -- Vagrant Cascadian Wed, 29 Nov 2017 15:23:39 -0800 + + ltsp (5.5.9-2) unstable; urgency=medium + + * Update NEWS.Debian to mention switch to NBD and disabling of encrypted + swap by default. + * Fix setting of FAT_CLIENT_DESKTOPS from configuration file. Thanks to + Finn Andersen. + * Prefer dnsmasq for DHCP and TFTP. + + -- Vagrant Cascadian Mon, 09 Jan 2017 12:07:59 -0800 + + ltsp (5.5.9-1) unstable; urgency=medium + + * New upstream version, prepared with care in Ιωάννινα: + [ Vagrant Cascadian ] + - ltsp-build-client: + + Use apt pinning by codename. + + Handle apt keys specified by directory. + + Remove plugin that needlessly configures /var/run and /var/lock to + be mounted as tmpfs. Thanks to Wolfgang Schweer. (Closes: #839154) + + Switch default mirror to deb.debian.org. + Thanks to Wolfgang Schweer. (Closes: #840668) + + Ensure /tmp has proper permissions when respecting TMP/TMPDIR + variables. Thanks to Wolfgang Schweer. (Closes: #840667) + + Ensure /etc/network exists before attempting to create the + interfaces file. + - Add support for OVERLAY_DIR, which is copied to the rootfs on boot. + + [ Alkis Georgopoulos ] + - Initial multiseat support. + - ltsp-update-image: Make it easier to run sshd on LTSP clients. + (LP: #1324545) + + [ Vagrant Cascadian ] + * Remove debian/watch file. + * ltsp-client: Add versioned dependency on ltsp-client-core. + * ltsp-server-standalone: Add versioned dependency on ltsp-server. + * Add build dependency on libfl-dev. Thanks to Helmut Grohne. + (Closes: #846439) + + -- Vagrant Cascadian Wed, 07 Dec 2016 00:02:18 +0200 + + ltsp (5.5.8-1) unstable; urgency=medium + + * New upstream version: + - Support ltsp.init=xxx instead of passing 'ltsp' to tag an LTSP + client boot (LP: #1562911). + - Use BOOT_IMAGE to ensure a default ROOTPATH and to determine + lts.conf TFTP location (LP: #1594840). + - ltsp-build-client: + + Select 686 kernel on stretch and newer, as both 486 + and 586 variants are deprecated. + + Fix use of --apt-keys when gnupg isn't present in the chroot. + (Closes: #831409). + + Support using comma-separated lists of packages for --pin-packages + and --backports-packages. + - Add man page for init-ltsp. + * ltsp-client-core: + - Add Depends on init, to ensure /sbin/init is present. + - Install init-ltsp man page. + * debian/rules: + - Enable hardening options. + * ltsp-server: + - Recommend gnupg (Closes: #831409). + * ltsp-server-standalone: + - Depend on gnupg (Closes: #831409). + * Update Standards-Version to 3.9.8, no changes. + * Switched to git, update Vcs-Git and Vcs-Browser. + + -- Vagrant Cascadian Tue, 06 Sep 2016 14:35:47 -0700 + + ltsp (5.5.7-1) unstable; urgency=medium + + * New upstream version. + - ltsp-update-image: + + Exclude /tmp submounts (LP: #1557779). + + Prevent the nautilus popup window for the tmpfs mount. + + - initramfs-tools hooks and scripts: + + Ensure aoe module is always present. + + Add PREREQ stanza to all initramfs scripts, otherwise they may + execute on the running system. + + Ensure udhcpc is busybox-static, not busybox-initramfs. + + Avoid NBD timeouts in recent initramfs-tools (LP: #696435). + + Disable resume on LTSP clients to avoid 5 sec delay. + + - Fix support for non-ASCII characters in lts.conf. + - init-ltsp: Allow early logging to /dev/kmsg. + - Don't default to NBD_SWAP=true when local swap was found. + - ltsp-build-client: Select appropriate kernel package for i386. + - Update services to remove for systemd. + + * debian/control: Update Standards-Version to 3.9.7, no changes. + + -- Vagrant Cascadian Fri, 25 Mar 2016 14:56:39 -0700 + + ltsp (5.5.6-2) unstable; urgency=medium + + * Add patch to avoid always checking weather the ltsp.pot file should be + regenerated, which leads to unreprodicibility. + + -- Vagrant Cascadian Mon, 08 Feb 2016 12:44:30 -0800 + + ltsp (5.5.6-1) unstable; urgency=medium + + * New upstream version. + - ltsp-cluster: Don't unset SCREEN_NUM as then clients fail to boot. + (LP: #1360595) + - Use "sshfs -o disable_hardlink" to fix issues with gnome-keyring + filling up the disk with temp files. + - Create a pxelinux.cfg entry for memtest86+.bin. + - Allow various lts.conf options to end with a description instead of + a number. + - Ubuntu: replace "quiet splash" with "forcepae". + - Support automatic kernel/initrd updates on local media. + - Use set_lts_var to correctly export LTSP_CLIENT_MAC. + - Ubuntu: allow specifying KERNEL_ARCH in ltsp-build-client. + + * Do not update po files automatically, to allow package to build + reproducibly. + * ltsp-client-core: Add dbus to Recommends, to allow SCREEN scripts to + work (Closes: #785636). Thanks to Raphael RIGNIER. + + -- Vagrant Cascadian Sun, 07 Feb 2016 11:30:52 -0800 + + ltsp (5.5.5-1) unstable; urgency=medium + + * New upstream version: + + [ Vagrant Cascadian ] + * ltsp-build-client: Disable security and updates mirrors when setting + DIST to "unstable" (Closes: #509643). + + * ltsp-build-client, update-kernels: Default to using NBD with squashfs + image to workaround incompatibilities with overlay FS and NFS. + + * ltsp-config: + - Add support for configuring nfs exports. + - respect --overwrite with ltsp-config nbd-server (LP: #1487333). + Thanks to Fotis Tsamis for the patch. + - Remove support for editing /etc/nbd-server/config, as the nbd-server + package should handle this itself now. + - Add --quiet option and use from ltsp-update-image. + - Fix typo stopping nbd-server. + + * ltsp-update-kernels: Remove .dtb files when kernel version is no + longer installed. + + * initramfs-tools hooks: Add support for the "overlay" filesystem in + mainline linux. Unfortunately, it does not appear to work with NFS as + a backend, but does work with NBD and NFS+squashfs image. + + * init-ltsp.d: + - Fix typo in set-time which broke NTP server configuration. + - Do not disable screen locking when LDM_PASSWORD_HASH is set. + (LP: #1444693). + + * Fix bug in "xinitrc" wrapper to allow it to break out of the running + loop (LP: #1468630). Thanks to alexfk for the report! + + * kiosk: Add support for chromium and fullscreen google-chrome. + (LP: #1422150). + + [ Alkis Georgopoulos ] + * init-ltsp.d: Disable suspend and hibernate on LTSP clients. + * init-ltsp.d: work around `su -` not putting /sbin in the PATH. + * init-ltsp.d: Prevent gnome-keyring from filling up the disk with temp + files. + + * ltsp-localapps, ltsp-remoteapps: Replace 8s with 8u in xprop calls, + for unicode URIs (LP: #1451915). + + * initramfs-tools hooks: move udhcpc request message inside the loop. + + * ltsp-config: + - Create lts.conf when TFTP/ltsp/ARCH doesn't exist (LP: #1483573). + + - Stop and start nbd-server, as systemd may not realize when + nbd-server is inactive. + + * ltsp-update-image: + - properly support overlay, overlayfs and aufs in run_cleanup. + (LP: #1352038). + - cleanup.d: Replace truncate with tee to avoid overlayfs issues. + (LP: #1494660). + + * Replace [A-Za-z] with [:alpha:] to avoid locale issues (LP: #1491066). + + * Prevent jetpipe from dying after nmap scan (LP: #1273680). + + * localapps: + - Use an IP for CUPS ServerName to avoid rejected connections. + - Background the CUPS_SERVER DNS lookup in case it takes a long time. + + * ltsp-update-kernels: Correctly chmod kernels when e.g. umask=0077. + (LP: #1502824). + + + * Debian packaging: + + [ Vagrant Cascadian ] + * ltsp-client: Update X-Ubuntu-Recommends to use guru-fonts instead of + obsoleted ttf-punjabi-fonts. + * ltsp-client-core: Install getltscfg-cluster manpage. + + [ Alkis Georgopoulos ] + * Remove upstreamed patches. + - 0004-Debian-Remove-ltsp-build-client-plugin-pulseaudio-tw.patch + - 0013-ltsp-update-kernels-Remove-.dtb-files-when-kernel-ve.patch + - 0015-Correctly-sort-kernel-FLAVOR-in-increasing-order-and.patch + - 0016-update-kernels-Fix-issues-with-kernel-version-varian.patch + - 0017-Debian-update-kernels.conf-Prefer-586-over-486-in-fo.patch + - 0018-update-kernels-Quiet-down-mkimage-output-when-genera.patch + - 0020-Drop-hack-to-remove-nouveau_vieux-driver-as-newer-ve.patch + + [ Vagrant Cascadian ] + * ltsp-server-standalone: + - Use different desktop environment on Ubuntu. + - Fix multiple X-Debian-Depends entries. + * Remove getltscfg-makefile-flags patch, applied upstream. + * Add patch to disable swap encryption by default, as it simply hangs in + Debian Stretch. Hopefully this is only temporary... + + -- Vagrant Cascadian Wed, 14 Oct 2015 10:50:29 -0700 + + ltsp (5.5.4-4) unstable; urgency=medium + + * ltsp-client-builder: Fix mounting of "cdrom" during by using the + device of already mounted "cdrom" images. Tested with both CD and USB + installs, and systems with multiple CD drives. Thanks to Wolfgang + Schweer (Closes: #540990, #780591). + + -- Vagrant Cascadian Tue, 31 Mar 2015 16:54:20 -0700 + + ltsp (5.5.4-3) unstable; urgency=medium + + * Add debian/ltsp-client-core.maintscript to remove obsolete + /etc/init.d/ltsp-client-setup and /etc/default/ltsp-client-setup + leftover from squeeze upgrades (Closes: #777184). Thanks to Andreas + Beckmann! + + * Apply patch from upstream to no longer remove nouveau_vieux driver on + boot, which is terribly hackish and no longer appropriate with current + versions of LDM (Closes: #767764). + + -- Vagrant Cascadian Thu, 12 Feb 2015 14:22:07 -0800 + + ltsp (5.5.4-2) unstable; urgency=medium + + * ltsp-update-kernels/update-kernels: Fix kernel version sorting that + results in clients booting obsolete kernels (Closes: #771470). + + * update-kernels: Suppress mkimage output, as it prevents linux-image + packages from being removed successfully (Closes: #771728). + + * ltsp-build-client: Remove plugin that needlessly modifies pulseaudio + configuration files. + + * ltsp-update-kernels: Remove dtb files when corresponding kernel + version is no longer present. + + * debian/copyright: Remove outdated VCS information. + + -- Vagrant Cascadian Mon, 01 Dec 2014 15:22:01 -0800 + + ltsp (5.5.4-1) unstable; urgency=medium + + * New upstream version: + - Support for disabling systemd services with RM_SYSTEM_SERVICES. + (Closes: #765065) + + - Disable cups-browsed and ModemManager services by default. + (Closes: #761891, #765065). + + - Set up hostname.domain in /etc/hosts (LP: #1093088). + + - Fix use of SHUTDOWN_TIME with LDM to use ltsp-logout-action instead. + (LP: #604908). + + - Fix ssh, xdmcp and telnet screen scripts by checking for empty + argument (LP: #1020113, #1175618). + + - Default to "server" in ssh screen script so that ssh_known_hosts + file generated by ltsp-update-sshkeys will match. + + - ltsp-build-client: Do not use full path to libeatmydata.so. + (Closes: #765694) + + - Unset temporary directory variables to avoid problems when directory + is missing inside the chroot (Closes: #765443). + + - update-kernels: Update ARM code to generate a generic bootscript. + + * debian/control: + - Add u-boot-tools to ltsp-client-core Depends on armhf/armel. + - Update Standards-Version to 3.9.6, no changes needed. + + -- Vagrant Cascadian Tue, 21 Oct 2014 23:32:58 -0700 + + ltsp (5.5.3-1) unstable; urgency=medium + + * New upstream version: + - ltsp-build-client: + + Drop ltsp-build-client mount-cdrom plugin. + + Default to armmp kernel variant for armhf architecture. + + Rename mount-proc plugin to mount-sys, which allows the mount-proc + common plugin to mount the proc filesystem (Closes: #761401). + Thanks to Petter Reinholdtsen for the report. + + - Remove support for screen scripts (kiosk, xfreerdp, xterm) without + xinitrc, it has been shipped in LTSP for quite some time. + + - Disable listening on tcp in several screen scripts (kiosk, xfreerdp, + xterm). Thanks to Denis Croombs for reporting the issue! + + - xfreerdp screen script: Test for empty arguments to ensure a + reasonable default. + + - update-kernels: Clarify location of update-kernels.conf in generated + pxelinux files (Closes: #760312). Thanks to Olaf Klein for the report. + + - init-ltsp.d/05-getltsconffile: + + Allow specifying alternate lts.conf file location with + ltsp.ltsconf= boot prompt option. Thanks to Juan Antonio Martinez + for the patch! LP: #1339671. + + Use detect_arch function as a fallback when a filename is not + specified. + + - Cache variables set by ltsp.* boot prompt options, so that later + scripts make use of them. + + * ltsp-server/ltsp-server-standalone: Prefer mate-desktop-environment + over gnome-session. + + * ltsp-client-builder: Mount /media/cdrom in the target if not already + mounted (Closes: #758500). + + -- Vagrant Cascadian Mon, 15 Sep 2014 12:34:42 -0500 + + ltsp (5.5.2-1) unstable; urgency=medium + + * New upstream version: + - Add support for newer versions of syslinux/pxelinux. + - Support LDM feature to hash passwords for use with + localapps and fat clients. + - ltsp-build-client: Allow setting --locale as simply the locale, + rather than requiring also specifying the encoding. + - initramfs udhcp hooks: + + bring up NICs that become available progressively. + + timeout for ip link up from 4 seconds to 10. + - Fix ltsp-update-image --revert. + - screen.d/kiosk: Pass KIOSK_OPTIONS as an environment variable. + (Closes: #743867) + + * ltsp-client-core: Update syslinux/pxelinux dependencies: + - Add syslinux-common + - Remove syslinux + - Add pxelinux, with fallback for older versions of syslinux-common. + + * ltsp-server/ltsp-client-core: + - Prefer iproute2 over iproute transitional package. + (Closes: #753746, #753749) + + * debian/rules: + - Use dpkg-vendor --derives-from Ubuntu to set VENDOR, to better handle + Debian/Ubuntu derivatives (Closes: #741143). Thanks to Peter Green. + + * ltsp-client-builder: + - Add "--updates-mirror none", which is needed when CD/USB sticks do not + contain an updates-mirror. + - Drop --mount-cdrom option, as it is no longer needed (Closes: #606313). + + -- Vagrant Cascadian Tue, 05 Aug 2014 16:19:36 -0700 ltsp (5.5.1-1) unstable; urgency=medium diff --cc debian/rules index 49ac310,4204f4f..bbcf187 --- a/debian/rules +++ b/debian/rules @@@ -1,28 -1,28 +1,29 @@@ #!/usr/bin/make -f - DEB_HOST_ARCH_OS = $(shell dpkg-architecture -qDEB_HOST_ARCH_OS) + include /usr/share/dpkg/vendor.mk + include /usr/share/dpkg/architecture.mk + include /usr/share/dpkg/pkg-info.mk - VENDOR ?= $(shell dpkg-vendor --query Vendor) - ifeq (Ubuntu,$(VENDOR)) - INSTALLUDEV_OPTS="--priority=80" - endif + export DEB_BUILD_MAINT_OPTIONS=hardening=+all - DEB_VERSION:=$(shell dpkg-parsechangelog | sed -n -e 's/^Version: //p') + ifneq ($(DEB_BUILD_GNU_TYPE),$(DEB_HOST_GNU_TYPE)) + export CROSS_COMPILE ?= $(DEB_HOST_GNU_TYPE)- + endif %: - dh $@ --with autoreconf + dh $@ override_dh_auto_configure: + cd client && ln -s Debian Raspbian cd server/man; ./configure ; cd - ifeq ($(DEB_HOST_ARCH_OS),linux) - cd client/nbd-proxy; ./configure --prefix=/usr --libexecdir=/usr/lib; cd - + cd client/nbd-proxy; ./configure --prefix=/usr --libexecdir=/usr/lib --host=$(DEB_HOST_GNU_TYPE) ; cd - endif - $(MAKE) -C client/getltscfg - DEB_VERSION="$(DEB_VERSION)" VENDOR="$(VENDOR)" $(MAKE) -C server/man + $(MAKE) CC=$(CROSS_COMPILE)gcc -C client/getltscfg + DEB_VERSION="$(DEB_VERSION)" VENDOR="$(DEB_VENDOR)" $(MAKE) -C server/man ifeq ($(DEB_HOST_ARCH_OS),linux) - $(MAKE) -C client/nbd-proxy + $(MAKE) -C client/nbd-proxy endif override_dh_autoreconf_clean: