aboutsummaryrefslogtreecommitdiffstats
path: root/x11/i3lock
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-10-10 20:46:42 +0800
committerbapt <bapt@FreeBSD.org>2013-10-10 20:46:42 +0800
commite7782880300826a1f4652d49a3a37d77546be52b (patch)
treeb85d39613c0e538173210d52265f41a9baf85132 /x11/i3lock
parent9f4c4b1d64138416bd33643fb9be5c32edefb6fb (diff)
downloadfreebsd-ports-graphics-e7782880300826a1f4652d49a3a37d77546be52b.tar.gz
freebsd-ports-graphics-e7782880300826a1f4652d49a3a37d77546be52b.tar.zst
freebsd-ports-graphics-e7782880300826a1f4652d49a3a37d77546be52b.zip
Remove bad pam.d file, change i3lock to be setuid so it can use pam_unix and really validate passwords
Reported by: gahr Approved by: maintainer (implicit)
Diffstat (limited to 'x11/i3lock')
-rw-r--r--x11/i3lock/Makefile12
1 files changed, 6 insertions, 6 deletions
diff --git a/x11/i3lock/Makefile b/x11/i3lock/Makefile
index 017bf5901b8..296735f856c 100644
--- a/x11/i3lock/Makefile
+++ b/x11/i3lock/Makefile
@@ -3,6 +3,7 @@
PORTNAME= i3lock
PORTVERSION= 2.5
+PORTREVISION= 1
CATEGORIES= x11
MASTER_SITES= http://i3wm.org/${PORTNAME}/
@@ -23,15 +24,14 @@ MAKE_ARGS= PREFIX="${PREFIX}" X11LIB="${LOCALBASE}/lib" \
MANDIR="${MANPREFIX}/man"
PLIST_FILES= bin/i3lock \
- etc/pam.d/i3lock
-
-MAN1= i3lock.1
+ man/man1/i3lock.1.gz
LDFLAGS+= ${ICONV_LIB}
USE_XORG= x11 xcb xt xproto xext
USE_BZIP2= yes
-USE_GMAKE= yes
-USES= iconv pkgconfig
+USES= gmake iconv pkgconfig
+
+post-install:
+ ${CHMOD} u+s ${STAGEDIR}${PREFIX}/bin/i3lock
-NO_STAGE= yes
.include <bsd.port.mk>