aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/pefs-kmod
diff options
context:
space:
mode:
authorkmoore <kmoore@FreeBSD.org>2016-07-29 01:27:00 +0800
committerkmoore <kmoore@FreeBSD.org>2016-07-29 01:27:00 +0800
commit2771c98aa6ee362ad3b38d7a8e8648d0c187324b (patch)
tree231a1c969259377b2f26275378bd4871d39b1172 /sysutils/pefs-kmod
parent295fcabfe84ac9016315268f3ea158a6de2ef11e (diff)
downloadfreebsd-ports-gnome-2771c98aa6ee362ad3b38d7a8e8648d0c187324b.tar.gz
freebsd-ports-gnome-2771c98aa6ee362ad3b38d7a8e8648d0c187324b.tar.zst
freebsd-ports-gnome-2771c98aa6ee362ad3b38d7a8e8648d0c187324b.zip
- Fix packaging after PAM lib bump (__FreeBSD_version 1100117)
PR: 211227 Submitted by: maintainer
Diffstat (limited to 'sysutils/pefs-kmod')
-rw-r--r--sysutils/pefs-kmod/Makefile12
-rw-r--r--sysutils/pefs-kmod/pkg-plist6
2 files changed, 12 insertions, 6 deletions
diff --git a/sysutils/pefs-kmod/Makefile b/sysutils/pefs-kmod/Makefile
index faa93c6e34fa..81b7212ba69d 100644
--- a/sysutils/pefs-kmod/Makefile
+++ b/sysutils/pefs-kmod/Makefile
@@ -24,10 +24,22 @@ OPTIONS_DEFINE= AESNI
OPTIONS_DEFAULT=
AESNI_DESC= Enable AES-NI hardware acceleration
+PLIST_FILES= sbin/pefs \
+ lib/pam_pefs.so \
+ man/man8/pam_pefs.8.gz \
+ man/man8/pefs.8.gz \
+ /${KMODDIR}/pefs.ko
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MAESNI}
MAKE_ENV+= PEFS_AESNI=yes
.endif
+.if ${OSVERSION} >= 1100117
+PLIST_FILES+= lib/pam_pefs.so.6
+.else
+PLIST_FILES+= lib/pam_pefs.so.5
+.endif
+
.include <bsd.port.mk>
diff --git a/sysutils/pefs-kmod/pkg-plist b/sysutils/pefs-kmod/pkg-plist
deleted file mode 100644
index e9eaef77510a..000000000000
--- a/sysutils/pefs-kmod/pkg-plist
+++ /dev/null
@@ -1,6 +0,0 @@
-sbin/pefs
-lib/pam_pefs.so
-lib/pam_pefs.so.5
-man/man8/pam_pefs.8.gz
-man/man8/pefs.8.gz
-/%%KMODDIR%%/pefs.ko