| Name |
shadow |
| Description |
|
| Version |
|
| Package Base |
|
| Homepage |
|
| Maintainers |
['Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>'] |
| Contributors |
['Serge Hallyn <serge@hallyn.com>'] |
| Distro-repo |
https://git.launchpad.net/ubuntu/+source/shadow/tree/?h=ubuntu/noble |
| Sources |
['https://git.launchpad.net/ubuntu/+source/shadow/plain/debian/patches/../?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/shadow/plain/debian/patches/0001-gpasswd-1-Fix-password-leak.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/shadow/plain/debian/patches/0002-Added-control-character-check.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/shadow/plain/debian/patches/0003-Overhaul-valid_field.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/shadow/plain/debian/patches/008_login_log_failure_in_FTMP?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/shadow/plain/debian/patches/1010_extrausers.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/shadow/plain/debian/patches/1011_extrausers_toggle.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/shadow/plain/debian/patches/1012_extrausers_chfn.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/shadow/plain/debian/patches/1013_extrausers_deluser.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/shadow/plain/debian/patches/1014_extrausers_delgroup.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/shadow/plain/debian/patches/1015_add_zsys_support.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/shadow/plain/debian/patches/1016_extrausers_gpasswd.patch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/shadow/plain/debian/patches/401_cppw_src.dpatch?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/shadow/plain/debian/patches/402_cppw_selinux?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/shadow/plain/debian/patches/429_login_FAILLOG_ENAB?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/shadow/plain/debian/patches/463_login_delay_obeys_to_PAM?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/shadow/plain/debian/patches/501_commonio_group_shadow?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/shadow/plain/debian/patches/502_debian_useradd_defaults?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/shadow/plain/debian/patches/503_shadowconfig.8?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/shadow/plain/debian/patches/505_useradd_recommend_adduser?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/shadow/plain/debian/patches/506_relaxed_usernames?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/shadow/plain/debian/patches/542_useradd-O_option?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/shadow/plain/debian/patches/900_testsuite_groupmems?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/shadow/plain/debian/patches/901_testsuite_gcov?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/shadow/plain/debian/patches/README.patches?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/shadow/plain/debian/patches/fix-implicit-func.diff?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/shadow/plain/debian/patches/series?h=ubuntu/noble', 'https://git.launchpad.net/ubuntu/+source/shadow/plain/debian/watch?h=ubuntu/noble'] |
| Dependencies |
[] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
['debhelper-compat', 'gettext', 'libcrypt-dev', 'libpam0g-dev', 'quilt', 'xsltproc <!nodoc>', 'docbook-xsl <!nodoc>', 'docbook-xml <!nodoc>', 'libxml2-utils <!nodoc>', 'libselinux1-dev [linux-any]', 'libsemanage-dev [linux-any]', 'itstool <!nodoc>', 'bison', 'libaudit-dev [linux-any]'] |
| Provides |
[] |
| Builddate |
|
| Architecture |
amd64 |
| Distro-Version |
noble |
| Licenses |
[] |
| Hash |
|
#!/usr/bin/make -f
# -*- mode: makefile; coding: utf-8 -*-
# Enable PIE, BINDNOW, and possible future flags.
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
# Adds extra options when calling the configure script:
DEB_CONFIGURE_EXTRA_FLAGS := --without-libcrack \
--mandir=/usr/share/man \
--with-libpam \
--with-yescrypt \
--enable-shadowgrp \
--enable-man \
--disable-account-tools-setuid \
--with-group-name-max-length=32 \
--without-acl \
--without-attr \
--without-su \
--without-tcb \
SHELL=/bin/sh
ifneq ($(filter nodoc,$(DEB_BUILD_PROFILES)),)
DEB_CONFIGURE_EXTRA_FLAGS += --disable-man
endif
# Set the default editor for vipw/vigr
CFLAGS += -DDEFAULT_EDITOR="\"sensible-editor\""
%:
dh $@
override_dh_auto_configure:
cp debian/HOME_MODE.xml man/login.defs.d/HOME_MODE.xml
dh_auto_configure -- $(DEB_CONFIGURE_EXTRA_FLAGS)
override_dh_install-arch:
ifneq ($(DEB_HOST_ARCH_OS),linux)
sed -i 's/session optional pam_keyinit.so/# Linux only # session optional pam_keyinit.so/' debian/login.pam
endif
dh_install -a
ifeq ($(DEB_HOST_ARCH_OS),hurd)
# /bin/login is provided by the hurd package.
rm -f debian/login/usr/bin/login
endif
override_dh_installpam:
# Distribute the pam.d files; unless for the commands with disabled PAM
# support
dh_installpam -p login
dh_installpam -p passwd --name=passwd
dh_installpam -p passwd --name=chfn
dh_installpam -p passwd --name=chsh
dh_installpam -p passwd --name=chpasswd
dh_installpam -p passwd --name=newusers
override_dh_builddeb-arch:
# uidmap
chmod u+s debian/uidmap/usr/bin/newuidmap
chmod u+s debian/uidmap/usr/bin/newgidmap
# login
# No real need for login to be setuid root
# chmod u+s debian/login/bin/login
chmod u+s debian/login/usr/bin/newgrp
# passwd
chmod u+s debian/passwd/usr/bin/chfn
chmod u+s debian/passwd/usr/bin/chsh
chmod u+s debian/passwd/usr/bin/gpasswd
chmod u+s debian/passwd/usr/bin/passwd
chgrp shadow debian/passwd/usr/bin/chage
chgrp shadow debian/passwd/usr/bin/expiry
chmod g+s debian/passwd/usr/bin/chage
chmod g+s debian/passwd/usr/bin/expiry
dh_builddeb -a
override_dh_auto_clean:
sed -i 's/# Linux only # //' debian/login.pam
dh_auto_clean
override_dh_clean:
dh_clean ./man/login.defs.d/HOME_MODE.xml