svn commit: r329986 - head/x11/i3lock

Baptiste Daroussin bapt at FreeBSD.org
Thu Oct 10 12:46:43 UTC 2013


Author: bapt
Date: Thu Oct 10 12:46:42 2013
New Revision: 329986
URL: http://svnweb.freebsd.org/changeset/ports/329986

Log:
  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)

Modified:
  head/x11/i3lock/Makefile

Modified: head/x11/i3lock/Makefile
==============================================================================
--- head/x11/i3lock/Makefile	Thu Oct 10 12:44:47 2013	(r329985)
+++ head/x11/i3lock/Makefile	Thu Oct 10 12:46:42 2013	(r329986)
@@ -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="${
 		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>


More information about the svn-ports-all mailing list