diff options
author | miwi <miwi@FreeBSD.org> | 2008-05-30 21:43:46 +0800 |
---|---|---|
committer | miwi <miwi@FreeBSD.org> | 2008-05-30 21:43:46 +0800 |
commit | 8ebb03a82db8a5c2c2f493f442e2fe97d7e887d8 (patch) | |
tree | b3850e4653cb69463090f45c303bf520f6a24c59 /security/vlock | |
parent | 4917b4da17f5bfd41bfddeac8432f7cd89e9f3c8 (diff) | |
download | freebsd-ports-gnome-8ebb03a82db8a5c2c2f493f442e2fe97d7e887d8.tar.gz freebsd-ports-gnome-8ebb03a82db8a5c2c2f493f442e2fe97d7e887d8.tar.zst freebsd-ports-gnome-8ebb03a82db8a5c2c2f493f442e2fe97d7e887d8.zip |
- Update to 2.2.2
PR: 123949
Submitted by: Ganael Laplanche <ganael.laplanche@martymac.com> (maintainer)
Diffstat (limited to 'security/vlock')
-rw-r--r-- | security/vlock/Makefile | 16 | ||||
-rw-r--r-- | security/vlock/distinfo | 6 | ||||
-rw-r--r-- | security/vlock/files/patch-configure | 24 |
3 files changed, 27 insertions, 19 deletions
diff --git a/security/vlock/Makefile b/security/vlock/Makefile index 559fad7f07ba..310a502e75f2 100644 --- a/security/vlock/Makefile +++ b/security/vlock/Makefile @@ -6,7 +6,7 @@ # PORTNAME= vlock -PORTVERSION= 2.2.1 +PORTVERSION= 2.2.2 CATEGORIES= security MASTER_SITES= http://cthulhu.c3d2.de/~toidinamai/vlock/archive/ @@ -21,10 +21,12 @@ CONFIGURE_ARGS= --enable-plugins --enable-pam \ --with-modules="${VLOCKMODULES}" \ --with-scripts="${VLOCKSCRIPTS}" \ VLOCK_GROUP="${VLOCKGRP}" \ - VLOCK_MODE="0750" -CONFIGURE_ENV= LOCALBASE=${LOCALBASE} + VLOCK_MODE="0750" \ + EXTRA_CFLAGS="-I${LOCALBASE}/include" \ + EXTRA_LDFLAGS="-L${LOCALBASE}/lib" -OPTIONS= VLOCKSCRIPTS "Install sample hook scripts" off \ +OPTIONS= ROOTPWD "Enable unlock using root password" on \ + VLOCKSCRIPTS "Install sample hook scripts" off \ CACASAVER "Enable libcaca screensaver" off MANLANG= "" @@ -42,6 +44,12 @@ VLOCKGID= 129 .include <bsd.port.pre.mk> +.if !defined(WITHOUT_ROOTPWD) +CONFIGURE_ARGS+= --enable-root-password +.else +CONFIGURE_ARGS+= --disable-root-password +.endif + .if !defined(WITHOUT_VLOCKSCRIPTS) VLOCKSCRIPTS+= amarok.sh example_script.sh mplayer.sh PLIST_SUB+= PL_VLOCKSCRIPTS="" diff --git a/security/vlock/distinfo b/security/vlock/distinfo index 09f399206a11..d5b354628c3d 100644 --- a/security/vlock/distinfo +++ b/security/vlock/distinfo @@ -1,3 +1,3 @@ -MD5 (vlock-2.2.1.tar.gz) = 5a8f7bb07b9f6107f1d06acb3aaa5578 -SHA256 (vlock-2.2.1.tar.gz) = 11fa31b0cdc9e936cd114384db09b36981c412af7e23db83368d7c40677a031c -SIZE (vlock-2.2.1.tar.gz) = 54381 +MD5 (vlock-2.2.2.tar.gz) = 51c389ee4ef814bf59063bc367437eb8 +SHA256 (vlock-2.2.2.tar.gz) = ea875250cad150872583b6ed2436470bc5e9c3a580d85554e31a2d5ae1d92fad +SIZE (vlock-2.2.2.tar.gz) = 54732 diff --git a/security/vlock/files/patch-configure b/security/vlock/files/patch-configure index 9abfa18ab2e3..8cf43e19abdb 100644 --- a/security/vlock/files/patch-configure +++ b/security/vlock/files/patch-configure @@ -1,12 +1,12 @@ ---- configure.orig 2008-03-26 17:49:33.000000000 +0800 -+++ configure 2008-03-30 13:32:41.000000000 +0800 -@@ -255,6 +255,9 @@ - DL_LIB='' - CRYPT_LIB='' - MODULES="all.so new.so" -+ CFLAGS="${CFLAGS} -I${LOCALBASE}/include" -+ LDFLAGS="${LDFLAGS} -L${LOCALBASE}/lib" -+ ROOT_GROUP="wheel" - ;; - esac - } +--- configure.orig 2008-05-24 08:37:25.515872840 +0200 ++++ configure 2008-05-24 08:38:44.943843155 +0200 +@@ -220,7 +220,8 @@ + MODULEDIR="\$(LIBDIR)/vlock/modules" + + CC=gcc +- DEFAULT_CFLAGS="-O2 -Wall -W -pedantic -std=gnu99" ++ #DEFAULT_CFLAGS="-O2 -Wall -W -pedantic -std=gnu99" ++ DEFAULT_CFLAGS="-pedantic -std=gnu99" + DEBUG_CFLAGS="-O0 -g -Wall -W -pedantic -std=gnu99" + CFLAGS="${DEFAULT_CFLAGS}" + LD=ld |