View | Details | Raw Unified | Return to bug 217270 | Differences between
and this patch

Collapse All | Expand All

(-)Makefile (-1 / +1 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	slock
4
PORTNAME=	slock
5
PORTVERSION=	1.3
5
PORTVERSION=	1.4
6
CATEGORIES=	x11
6
CATEGORIES=	x11
7
MASTER_SITES=	http://dl.suckless.org/tools/
7
MASTER_SITES=	http://dl.suckless.org/tools/
8
8
(-)distinfo (-2 / +3 lines)
Lines 1-2 Link Here
1
SHA256 (slock-1.3.tar.gz) = bab4a3aea4046aa0fd0361c3649b79b90ca531bc5dfae3c4a6c0fe436152bd18
1
TIMESTAMP = 1487670784
2
SIZE (slock-1.3.tar.gz) = 5943
2
SHA256 (slock-1.4.tar.gz) = b53849dbc60109a987d7a49b8da197305c29307fd74c12dc18af0d3044392e6a
3
SIZE (slock-1.4.tar.gz) = 6889
(-)files/patch-config.mk (-7 / +9 lines)
Lines 1-11 Link Here
1
--- config.mk.orig	2013-10-09 16:23:24.000000000 +0200
1
--- config.mk.orig	2016-11-20 00:31:23 UTC
2
+++ config.mk	2013-10-09 16:25:18.000000000 +0200
2
+++ config.mk
3
@@ -18,6 +18,9 @@
3
@@ -22,6 +22,10 @@ COMPATSRC = explicit_bzero.c
4
 CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
5
 LDFLAGS = -s ${LIBS}
6
 
4
 
5
 # On OpenBSD and Darwin remove -lcrypt from LIBS
6
 #LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lXext -lXrandr
7
+
7
+# To enable PAM-based authentication, remove -DHAVE_SHADOW_H from CPPFLAGS
8
+# To enable PAM-based authentication, remove -DHAVE_SHADOW_H from CPPFLAGS
8
+# and add -DHAVE_PAM instead. Also, add -lpam to LDFLAGS.
9
+# and add -DHAVE_PAM instead. Also, add -lpam to LDFLAGS.
9
+#
10
+#
10
 # On *BSD remove -DHAVE_SHADOW_H from CPPFLAGS and add -DHAVE_BSD_AUTH
11
 # On *BSD remove -DHAVE_SHADOW_H from CPPFLAGS
11
 # On OpenBSD and Darwin remove -lcrypt from LIBS
12
 # On NetBSD add -D_NETBSD_SOURCE to CPPFLAGS
13
 #CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE -D_NETBSD_SOURCE

Return to bug 217270