From 5688f38556d0635a60ca338184c26b97e5f5742c Mon Sep 17 00:00:00 2001 From: Emanuel Haupt Date: Sun, 16 Feb 2014 12:27:41 +0000 Subject: [PATCH] - Support staging - Strip binaries --- comms/conserver-com/Makefile | 10 ++++------ comms/conserver-com/pkg-plist | 4 ++++ 2 files changed, 8 insertions(+), 6 deletions(-) diff --git a/comms/conserver-com/Makefile b/comms/conserver-com/Makefile index e009c908d89f..fce4b03c9621 100644 --- a/comms/conserver-com/Makefile +++ b/comms/conserver-com/Makefile @@ -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 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 diff --git a/comms/conserver-com/pkg-plist b/comms/conserver-com/pkg-plist index 5ab1d048880b..6bf4eff23dee 100644 --- a/comms/conserver-com/pkg-plist +++ b/comms/conserver-com/pkg-plist @@ -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%%