Compare commits

...

9 Commits

Author SHA1 Message Date
geos_one
021b5face2 mod for buster 2025-08-13 18:37:59 +02:00
geos_one
17f6617532 mod for buster 2025-08-13 16:24:48 +02:00
geos_one
48c90058e6 mod for buster 2025-08-13 15:38:24 +02:00
geos_one
1034631025 mod for buster 2025-08-13 15:25:25 +02:00
geos_one
026320aeb4 Buster compat 2025-08-13 00:27:22 +02:00
geos_one
3f868be5f3 Buster compat 2025-08-13 00:07:01 +02:00
geos_one
6b1464dede Buster compat 2025-08-12 23:24:28 +02:00
geos_one
9e46aba382 Bump 2025-08-12 23:03:44 +02:00
geos_one
8b56c8dd81 Bump 2025-08-12 22:31:02 +02:00
3 changed files with 18 additions and 6 deletions

6
debian/control vendored
View File

@ -9,7 +9,7 @@ Vcs-Browser: https://salsa.debian.org/freeipa-team/freeipa
Homepage: http://www.freeipa.org Homepage: http://www.freeipa.org
Build-Depends: Build-Depends:
check, check,
debhelper-compat (= 13), debhelper-compat (= 12),
dh-python, dh-python,
gettext, gettext,
krb5-user, krb5-user,
@ -18,7 +18,7 @@ Build-Depends:
libini-config-dev, libini-config-dev,
libjansson-dev, libjansson-dev,
libkrad-dev, libkrad-dev,
libkrb5-dev (>= 1.18), libkrb5-dev (>= 1.17),
libldap2-dev, libldap2-dev,
libnspr4-dev, libnspr4-dev,
libpopt-dev, libpopt-dev,
@ -49,7 +49,7 @@ Build-Depends:
python3-sss (>= 1.14.0), python3-sss (>= 1.14.0),
python3-usb (>= 1.0.0~b2), python3-usb (>= 1.0.0~b2),
python3-yubico, python3-yubico,
systemd-dev, systemd-dev | systemd,
uuid-dev, uuid-dev,
Package: freeipa-common Package: freeipa-common

View File

@ -1,7 +1,7 @@
etc/ipa/epn.conf etc/ipa/epn.conf
etc/ipa/epn/expire_msg.template etc/ipa/epn/expire_msg.template
${env:systemdsystemunitdir}/ipa-epn.service @systemdsystemunitdir@/ipa-epn.service
${env:systemdsystemunitdir}/ipa-epn.timer @systemdsystemunitdir@/ipa-epn.timer
usr/sbin/ipa-epn usr/sbin/ipa-epn
usr/share/man/man1/ipa-epn.1 usr/share/man/man1/ipa-epn.1
usr/share/man/man5/epn.conf.5 usr/share/man/man5/epn.conf.5

14
debian/rules vendored
View File

@ -20,7 +20,13 @@ DESTDIR=$(CURDIR)/debian/tmp
export PYTHON=python3 export PYTHON=python3
export am_cv_python_pythondir=/usr/lib/python3/dist-packages export am_cv_python_pythondir=/usr/lib/python3/dist-packages
export am_cv_python_pyexecdir=/usr/lib/python3/dist-packages export am_cv_python_pyexecdir=/usr/lib/python3/dist-packages
export systemdsystemunitdir=$(shell pkgconf --variable=systemdsystemunitdir systemd | sed s,^/,,)
# Detect systemd unit dir with fallback
systemdsystemunitdir := $(shell pkgconf --variable=systemdsystemunitdir systemd 2>/dev/null | sed 's,^/,,')
ifeq ($(systemdsystemunitdir),)
systemdsystemunitdir := lib/systemd/system
endif
export systemdsystemunitdir
confflags = \ confflags = \
--libexecdir=/usr/lib/ \ --libexecdir=/usr/lib/ \
@ -107,6 +113,12 @@ endif
override_dh_missing: override_dh_missing:
dh_missing --fail-missing dh_missing --fail-missing
# Generate .install files from templates with correct systemdsystemunitdir
override_dh_install:
sed "s|@systemdsystemunitdir@|$(systemdsystemunitdir)|g" debian/freeipa-client-epn.install.in > debian/freeipa-client-epn.install
dh_install
ifneq ($(ONLY_CLIENT), 1) ifneq ($(ONLY_CLIENT), 1)
override_dh_installsystemd: override_dh_installsystemd:
dh_installsystemd -pfreeipa-server --no-enable ipa.service dh_installsystemd -pfreeipa-server --no-enable ipa.service