From 37112ff6dd482edb8af60f110971e4c91d035f30 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Wed, 26 Jun 2024 18:18:38 +0200 Subject: Adding debian version 1:4.15.2-1. Signed-off-by: Daniel Baumann --- debian/rules | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'debian/rules') diff --git a/debian/rules b/debian/rules index 6256182..ad27cdf 100755 --- a/debian/rules +++ b/debian/rules @@ -5,26 +5,34 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk +include /usr/share/debhelper/dh_package_notes/package-notes.mk # Adds extra options when calling the configure script: -DEB_CONFIGURE_EXTRA_FLAGS := --without-libcrack \ +DEB_CONFIGURE_EXTRA_FLAGS := \ --mandir=/usr/share/man \ --with-libpam \ --with-yescrypt \ --enable-shadowgrp \ + --enable-lastlog=no \ --enable-man \ --disable-account-tools-setuid \ --with-group-name-max-length=32 \ - --without-acl \ - --without-attr \ + --with-acl \ + --with-attr \ --without-su \ --without-tcb \ - SHELL=/bin/sh + + +ifneq ($(DEB_HOST_ARCH_OS),linux) +DEB_CONFIGURE_EXTRA_FLAGS += --enable-logind +endif ifneq ($(filter nodoc,$(DEB_BUILD_PROFILES)),) DEB_CONFIGURE_EXTRA_FLAGS += --disable-man endif +DEB_CONFIGURE_EXTRA_FLAGS += SHELL=/bin/sh + # Set the default editor for vipw/vigr CFLAGS += -DDEFAULT_EDITOR="\"sensible-editor\"" -- cgit v1.2.3