| Name |
procps |
| Description |
/proc file system utilities |
| Version |
2:4.0.4-9 |
| Package Base |
|
| Homepage |
https://gitlab.com/procps-ng/procps |
| Maintainers |
['Craig Small <csmall@debian.org>'] |
| Contributors |
[] |
| Distro-repo |
https://salsa.debian.org/debian/procps |
| Sources |
['https://sources.debian.org/data/main/p/procps/2:4.0.4-9/debian/watch', 'https://sources.debian.org/src/procps/2:4.0.4-9/debian/patches/disable_sched_test', 'https://sources.debian.org/src/procps/2:4.0.4-9/debian/patches/kill_negative_pids', 'https://sources.debian.org/src/procps/2:4.0.4-9/debian/patches/library_0_days_users', 'https://sources.debian.org/src/procps/2:4.0.4-9/debian/patches/library_lxc_leak', 'https://sources.debian.org/src/procps/2:4.0.4-9/debian/patches/library_use_clock_gettime', 'https://sources.debian.org/src/procps/2:4.0.4-9/debian/patches/makefile_w_link_systemd', 'https://sources.debian.org/src/procps/2:4.0.4-9/debian/patches/pmap_test', 'https://sources.debian.org/src/procps/2:4.0.4-9/debian/patches/ps_no_path_max', 'https://sources.debian.org/src/procps/2:4.0.4-9/debian/patches/remove_strtod_tests', 'https://sources.debian.org/src/procps/2:4.0.4-9/debian/patches/series', 'https://sources.debian.org/src/procps/2:4.0.4-9/debian/patches/snice_help', 'https://sources.debian.org/src/procps/2:4.0.4-9/debian/patches/sysctl8_verboten_keys', 'https://sources.debian.org/src/procps/2:4.0.4-9/debian/patches/sysctl_conf5_update', 'https://sources.debian.org/src/procps/2:4.0.4-9/debian/patches/uptime_test', 'https://sources.debian.org/src/procps/2:4.0.4-9/debian/patches/vmstat8_siso_units', 'https://sources.debian.org/src/procps/2:4.0.4-9/debian/patches/w1_utmp_not_systemd', 'https://sources.debian.org/src/procps/2:4.0.4-9/debian/patches/w_array_bound_for_tty', 'https://sources.debian.org/src/procps/2:4.0.4-9/debian/patches/w_cache_pids', 'https://sources.debian.org/src/procps/2:4.0.4-9/debian/patches/w_idletime_tty', 'https://sources.debian.org/src/procps/2:4.0.4-9/debian/patches/w_lib_count_user_sessions', 'https://sources.debian.org/src/procps/2:4.0.4-9/debian/patches/w_no_crash_short', 'https://sources.debian.org/src/procps/2:4.0.4-9/debian/patches/w_process_tty', 'https://sources.debian.org/src/procps/2:4.0.4-9/debian/patches/w_sessions_without_sd', 'https://sources.debian.org/src/procps/2:4.0.4-9/debian/patches/w_terminal_mode', 'https://sources.debian.org/src/procps/2:4.0.4-9/debian/patches/watch1_chgexit_only_visible'] |
| Dependencies |
['init-system-helpers', 'libc6', 'libncursesw6', 'libproc2-0', 'libsystemd0', 'libtinfo6'] |
| Optional-Dependencies |
['linux-sysctl-defaults', 'psmisc'] |
| Build-Dependencies |
['debhelper-compat', 'dh-exec', 'libncurses-dev', 'dejagnu', 'libnuma-dev [amd64 i386 ia64 mips mipsel mips64 mips64el powerpc ppc64el]', 'pkgconf', 'libsystemd-dev [linux-any]'] |
| Provides |
[] |
| Builddate |
|
| Architecture |
amd64 |
| Distro-Version |
trixie |
| Licenses |
[] |
| Hash |
4db90bb6776772fc52585d6b1fbfc52ec2a85480e1b4363b743fbb2ffa2a5375 |
#!/usr/bin/make -f
# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1
PACKAGE="procps"
DEBROOT=$(CURDIR)/debian/tmp
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
ifneq ($(DEB_HOST_GNU_TYPE),$(DEB_BUILD_GNU_TYPE))
configure_flags += --host=$(DEB_HOST_GNU_TYPE)
CROSS = PKG_CONFIG=$(DEB_HOST_GNU_TYPE)-pkg-config \
ac_cv_func_malloc_0_nonnull=yes \
ac_cv_func_realloc_0_nonnull=yes
else
CROSS=
endif
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
ifeq ($(DEB_HOST_ARCH_OS),linux)
LINUX_CONFIGURE_EXTRA_FLAGS = --with-systemd --enable-libselinux
endif
%:
dh $@
override_dh_auto_configure:
$(CROSS) ./configure \
$(configure_flags) \
--build=$(DEB_BUILD_GNU_TYPE) \
--disable-silent-rules \
--enable-watch8bit --enable-colorwatch \
--enable-w-from \
--enable-skill ${LINUX_CONFIGURE_EXTRA_FLAGS} \
--disable-pidof \
--disable-modern-top \
--prefix=/usr \
--libdir=/usr/lib/$(DEB_HOST_MULTIARCH) \
--build=$(DEB_BUILD_GNU_TYPE) \
--host=$(DEB_HOST_GNU_TYPE) \
override_dh_auto_install: $(autogen-files)
dh_auto_install
ifneq ($(DEB_HOST_ARCH_OS), linux)
rm -f \
$(DEBROOT)/bin/slabtop \
$(DEBROOT)/usr/share/man/man1/slabtop.1 \
$(DEBROOT)/sbin/sysctl \
$(DEBROOT)/usr/share/man/man8/sysctl.8 \
$(DEBROOT)/usr/share/man/man5/sysctl.conf.5 \
$(NULL)
# Rename kill as there are two of them
(cd $(DEBROOT)/usr/bin && mv kill kill.procps )
(cd $(DEBROOT)/usr/share/man/man1 && mv kill.1 kill.procps.1 )
endif
ifeq ($(DEB_HOST_ARCH_OS), hurd)
rm -f \
$(DEBROOT)/bin/pmap \
$(DEBROOT)/usr/share/man/man1/pmap.1 \
$(NULL)
# Rename vmstat as there are two of them
(cd $(DEBROOT)/usr/bin && mv vmstat vmstat.procps )
(cd $(DEBROOT)/usr/share/man/man8 && mv vmstat.8 vmstat.procps.8 )
# Rename uptime as there are two of them
(cd $(DEBROOT)/usr/bin && mv uptime uptime.procps )
(cd $(DEBROOT)/usr/share/man/man1 && mv uptime.1 uptime.procps.1 )
# Rename ps as there are two of them
(cd $(DEBROOT)/usr/bin && mv ps ps.procps )
(cd $(DEBROOT)/usr/share/man/man1 && mv ps.1 ps.procps.1 )
endif
override_dh_installchangelogs:
dh_installchangelogs NEWS
override_dh_installinit:
ifeq ($(DEB_HOST_ARCH_OS), linux)
dh_installinit --no-start
endif