e666ccc7db
s6-rc is a service manager for s6-based systems, i.e. a suite of programs that can start and stop services, both long-running daemons and one-time initialization scripts, in the proper order according to a dependency tree. It ensures that long-running daemons are supervised by the s6 infrastructure, and that one-time scripts are also run in a controlled environment. WWW: https://www.skarnet.org/software/s6-networking/ Event: Wiesbaden Hackathon 202604
52 lines
1.3 KiB
Makefile
52 lines
1.3 KiB
Makefile
PORTNAME= s6-networking
|
|
DISTVERSION= 2.7.2.1
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.skarnet.org/software/${PORTNAME}/
|
|
|
|
MAINTAINER= crest@rlwinm.de
|
|
COMMENT= Suite of small networking utilities for Unix systems
|
|
WWW= https://www.skarnet.org/software/s6-networking/
|
|
|
|
LICENSE= ISCL
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
BUILD_DEPENDS= skalibs>=2.14.5.1:devel/skalibs \
|
|
s6>=2.14.0.1:sysutils/s6 \
|
|
s6-dns>=2.4.1.1:dns/s6-dns \
|
|
bearssl>=0.6:security/bearssl
|
|
RUN_DEPENDS= skalibs>=2.14.5.1:devel/skalibs \
|
|
s6>=2.14.0.1:sysutils/s6 \
|
|
s6-dns>=2.4.1.1:dns/s6-dns \
|
|
bearssl>=0.6:security/bearssl
|
|
LIB_DEPENDS= libs6.so:sysutils/s6 \
|
|
libskarnet.so:devel/skalibs \
|
|
libskadns.so:dns/s6-dns \
|
|
libs6dns.so:dns/s6-dns \
|
|
libbearssl.so:security/bearssl
|
|
|
|
USES= gmake
|
|
USE_LDCONFIG= yes
|
|
HAS_CONFIGURE= yes
|
|
|
|
CFLAGS+= -D__BSD_VISIBLE
|
|
|
|
CONFIGURE_ARGS+=--prefix=${PREFIX} \
|
|
--with-include=${LOCALBASE}/include \
|
|
--with-lib=${LOCALBASE}/lib \
|
|
--with-lib=${LOCALBASE}/lib/execline \
|
|
--with-lib=${LOCALBASE}/lib/s6 \
|
|
--with-dynlib=${LOCALBASE}/lib \
|
|
--enable-ssl=bearssl \
|
|
--with-ssl-path=${LOCALBASE} \
|
|
--enable-shared
|
|
|
|
DOCS= AUTHORS COPYING INSTALL README doc/*.html
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install:
|
|
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|