1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

- Support staging

- Strip binaries
This commit is contained in:
Emanuel Haupt 2014-02-16 12:27:41 +00:00
parent fbbc06282f
commit 5688f38556
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344551
2 changed files with 8 additions and 6 deletions

View File

@ -11,21 +11,16 @@ PKGNAMESUFFIX= -com
MAINTAINER= kuriyama@FreeBSD.org
COMMENT= Application that allows multiple users to watch serial consoles
GNU_CONFIGURE= YES
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-master=${DEFAULTHOST} --with-port=${DEFAULTPORT} \
--with-pam --with-libwrap --with-openssl
USE_RC_SUBR= conserver
MAN1= console.1
MAN5= conserver.cf.5 conserver.passwd.5
MAN8= conserver.8
OPTIONS_DEFINE= UDS GSSAPI GSSAPIONLY STRIPREALM
UDS_DESC= Use Unix domain sockets for client/server
STRIPREALM_DESC=Strip @REALM when using GSSAPI
GSSAPIONLY_DESC=Never prompt for a password when using GSSAPI
NO_STAGE= yes
.include <bsd.port.options.mk>
DEFAULTPORT?= 782
@ -45,4 +40,7 @@ EXTRA_PATCHES= ${FILESDIR}/extra-patch-conserver__master.c
.endif
.endif
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/conserver-convert
.include <bsd.port.mk>

View File

@ -4,4 +4,8 @@ bin/console
%%EXAMPLESDIR%%/conserver.rc
sbin/conserver
sbin/conserver-convert
man/man1/console.1.gz
man/man5/conserver.cf.5.gz
man/man5/conserver.passwd.5.gz
man/man8/conserver.8.gz
@dirrm %%EXAMPLESDIR%%