mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
06ec6a0b8f
- Update comment on the real problem with UNUSABLE_RT_SIGNALS. This is avoiding a buffer overflow due to NSIG*2 being far smaller than SIGRTMAX. PR: 230156 [1] Submitted by: Nathan <ndowens@yahoo.com> (based on) [1]
29 lines
611 B
Makefile
29 lines
611 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= dash
|
|
PORTVERSION= 0.5.10.2
|
|
CATEGORIES= shells
|
|
MASTER_SITES= http://gondor.apana.org.au/~herbert/dash/files/
|
|
|
|
MAINTAINER= bdrewery@FreeBSD.org
|
|
COMMENT= POSIX-compliant implementation of /bin/sh
|
|
|
|
LICENSE= BSD3CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
GNU_CONFIGURE= yes
|
|
# SIGRTMAX is larger than NSIG*2 which mksignames.c does not support. Just
|
|
# disable RT signal handling.
|
|
CFLAGS+= -DUNUSABLE_RT_SIGNALS
|
|
|
|
USES= gmake
|
|
|
|
PLIST_FILES= bin/dash \
|
|
man/man1/dash.1.gz
|
|
|
|
post-patch:
|
|
${REINPLACE_CMD} -e '/COMMON_CFLAGS =/ s|$$| ${CFLAGS}|' \
|
|
${WRKSRC}/src/Makefile.in
|
|
|
|
.include <bsd.port.mk>
|