mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 01:26:39 -04:00
security/vlock: Remove CACASAVER option
Caca module does not build with new libcaca anymore (and fixing build leads to a crashing module). Also, simplify MASTER_SITES as upstream is not available anymore.
This commit is contained in:
parent
6b0888ed9f
commit
2c27876372
2 changed files with 4 additions and 15 deletions
|
@ -2,8 +2,7 @@ PORTNAME= vlock
|
|||
PORTVERSION= 2.2.3
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= security
|
||||
MASTER_SITES= http://cthulhu.c3d2.de/~toidinamai/vlock/archive/ \
|
||||
LOCAL/martymac
|
||||
MASTER_SITES= LOCAL/martymac
|
||||
|
||||
MAINTAINER= martymac@FreeBSD.org
|
||||
COMMENT= Locks a terminal
|
||||
|
@ -15,26 +14,21 @@ HAS_CONFIGURE= yes
|
|||
CONFIGURE_ARGS= --enable-plugins --enable-pam \
|
||||
--prefix=${PREFIX} \
|
||||
--mandir=${PREFIX}/share/man \
|
||||
--with-modules="${VLOCKMODULES}" \
|
||||
--with-modules="all.so new.so" \
|
||||
--with-scripts="${VLOCKSCRIPTS}" \
|
||||
VLOCK_GROUP="nobody" \
|
||||
EXTRA_CFLAGS="-I${LOCALBASE}/include" \
|
||||
EXTRA_LDFLAGS="-L${LOCALBASE}/lib"
|
||||
VLOCK_GROUP="nobody"
|
||||
USES= gmake
|
||||
USE_CSTD= gnu99
|
||||
|
||||
OPTIONS_DEFINE= ROOTPWD VLOCKSCRIPTS CACASAVER DOCS
|
||||
OPTIONS_DEFINE= ROOTPWD VLOCKSCRIPTS DOCS
|
||||
OPTIONS_DEFAULT= ROOTPWD
|
||||
OPTIONS_SUB= yes
|
||||
ROOTPWD_DESC= Enable unlock using root password
|
||||
ROOTPWD_CONFIGURE_ENABLE= root-password
|
||||
VLOCKSCRIPTS_DESC= Install sample hook scripts
|
||||
CACASAVER_DESC= Enable libcaca screensaver
|
||||
CACASAVER_LIB_DEPENDS= libcaca.so:graphics/libcaca
|
||||
|
||||
# Default scripts/modules
|
||||
VLOCKSCRIPTS=
|
||||
VLOCKMODULES= all.so new.so
|
||||
|
||||
# Vlock special group
|
||||
VLOCK_GRP= vlock
|
||||
|
@ -49,10 +43,6 @@ PORTDOCS= ChangeLog PLUGINS README README.X11 SECURITY TODO
|
|||
VLOCKSCRIPTS+= amarok.sh example_script.sh mplayer.sh
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MCACASAVER}
|
||||
VLOCKMODULES+= caca.so
|
||||
.endif
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
|
||||
|
|
|
@ -6,7 +6,6 @@ share/man/man8/vlock-main.8.gz
|
|||
%%VLOCKSCRIPTS%%lib/vlock/scripts/example_script
|
||||
%%VLOCKSCRIPTS%%lib/vlock/scripts/mplayer
|
||||
lib/vlock/modules/all.so
|
||||
%%CACASAVER%%lib/vlock/modules/caca.so
|
||||
@mode 4711
|
||||
sbin/vlock-main
|
||||
@mode
|
||||
|
|
Loading…
Add table
Reference in a new issue