fd7025b609
- added --with-trust-uds-cred which uses getsockopt() to fetch and trust the client uid, bypassing password lookups - patch by Anton Lundin <glance@acc.umu.se> - missing closedir() causing memory leak - patch by Anton Lundin <glance@acc.umu.se> - sending a break signal over IPMI was broken - based on patch by Alexander Y. Fomichev <git.user@gmail.com> - IPv6 support (marked as experimental at this point because it's untested (except by the author), there's a lack of documentation, and I'm hoping for non-getifaddrs() system support) - patch by Milos Vyletel <milos.vyletel@gmail.com> - no more K&R compiler support
53 lines
1.5 KiB
Makefile
53 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.16 2014/11/23 08:57:42 mef Exp $
|
|
#
|
|
|
|
PKGVER= 8.2.0
|
|
DISTNAME= conserver-${PKGVER}
|
|
PKGNAME= conserver8-${PKGVER}
|
|
CATEGORIES= comms
|
|
MASTER_SITES= http://www.conserver.com/
|
|
|
|
MAINTAINER= awrede@users.sourceforge.net
|
|
HOMEPAGE= http://www.conserver.com/
|
|
COMMENT= Application that allows multiple users to watch serial consoles
|
|
#LICENSE= # modified-bsd and more (see LICENSE file)
|
|
|
|
CONFLICTS= conserver-[0-9]*
|
|
|
|
INSTALLATION_DIRS= ${EGDIR} ${DOCDIR}
|
|
|
|
GNU_CONFIGURE= YES
|
|
|
|
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
|
|
CONFIGURE_ARGS+= --with-master=${CONSERVER_DEFAULTHOST:Q}
|
|
CONFIGURE_ARGS+= --with-port=${CONSERVER_DEFAULTPORT:Q}
|
|
CONFIGURE_ARGS+= --with-regex
|
|
CONFIGURE_ARGS+= --with-libwrap=${BUILDLINK_PREFIX.tcp_wrappers}
|
|
CONFIGURE_ARGS+= --with-logfile=${VARBASE:Q}/log/conserver
|
|
|
|
.include "options.mk"
|
|
|
|
BUILD_DEFS+= CONSERVER_DEFAULTPORT CONSERVER_DEFAULTHOST VARBASE
|
|
|
|
RCD_SCRIPTS= conserver8
|
|
|
|
TEST_TARGET= test
|
|
|
|
DOCDIR= ${PREFIX}/share/doc/conserver
|
|
EGDIR= ${PREFIX}/share/examples/conserver
|
|
CONF_FILES= ${EGDIR}/conserver.cf ${PKG_SYSCONFDIR}/conserver.cf
|
|
CONF_FILES+= ${EGDIR}/conserver.passwd ${PKG_SYSCONFDIR}/conserver.passwd
|
|
OWN_DIRS= ${VARBASE}/consoles
|
|
|
|
SUBST_CLASSES+= conf
|
|
SUBST_STAGE.conf= post-patch
|
|
SUBST_FILES.conf= conserver.cf/conserver.cf
|
|
SUBST_SED.conf= -e "s,/var/consoles,${VARBASE}/consoles,"
|
|
|
|
post-install:
|
|
set -e; for File in INSTALL README PROTOCOL; do \
|
|
${INSTALL_DATA} ${WRKSRC}/$${File} ${DESTDIR}${DOCDIR}/$${File}; \
|
|
done
|
|
|
|
.include "../../security/tcp_wrappers/buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|