Index: head/sysutils/busybox/Makefile =================================================================== --- head/sysutils/busybox/Makefile (revision 514649) +++ head/sysutils/busybox/Makefile (revision 514650) @@ -1,65 +1,66 @@ # Created by: luigi@FreeBSD.org # $FreeBSD$ PORTNAME= busybox PORTVERSION= 1.31.0 +PORTREVISION= 1 CATEGORIES= sysutils misc shells MASTER_SITES= https://busybox.net/downloads/ MAINTAINER= samm@freebsd.org COMMENT= Set of common utilities built as single binary LICENSE= GPLv2 BUILD_DEPENDS= gsed:textproc/gsed USES= cpe gmake perl5 tar:bzip2 USE_PERL5= build OPTIONS_DEFINE= DOCS STATIC STATIC_LDFLAGS= -static CONFLICTS_INSTALL= busybox-unstable-* .include # fix ash crash on arm, see shell/ash.c .if ${ARCH} == "armv6" CFLAGS+= -DBB_GLOBAL_CONST='' .endif .if ${ARCH} == "i386" # clang doesn't swallow some inline assembly USE_GCC= yes .endif MAKE_ARGS= CC="${CC}" HOSTCC="${CC}" CXX="${CXX}" HOSTCXX="${CXX}" \ CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \ SKIP_STRIP=y V=1 PLIST_FILES= bin/busybox man/man1/busybox.1.gz PORTDOCS= * post-patch: @${REINPLACE_CMD} -e \ 's|\([[:<:]]\)sed\([[:blank:]]-n\)|\1gsed\2|' \ ${WRKSRC}/scripts/gen_build_files.sh @${FIND} ${WRKSRC} -name "*.c" -print0 | ${XARGS} -0 \ ${REINPLACE_CMD} -e \ 's||| ; \ s|||' @${FIND} ${WRKSRC} -name "*.[ch]" -print0 | ${XARGS} -0 \ ${REINPLACE_CMD} -e \ 's|"/proc|"/compat/linux/proc|' do-configure: @${CP} ${FILESDIR}/data-.config ${WRKSRC}/.config @(cd ${WRKSRC} && ${DO_MAKE_BUILD} oldconfig) do-install: (cd ${WRKSRC} && ${INSTALL_PROGRAM} busybox \ ${STAGEDIR}${PREFIX}/bin) (cd ${WRKSRC}/docs && ${INSTALL_MAN} busybox.1 \ ${STAGEDIR}${MANPREFIX}/man/man1) post-install-DOCS-on: @(cd ${WRKSRC}/docs && ${COPYTREE_SHARE} . \ ${STAGEDIR}${DOCSDIR} "! -name busybox.1") .include Index: head/sysutils/busybox/files/patch-shell_shell__common.c =================================================================== --- head/sysutils/busybox/files/patch-shell_shell__common.c (nonexistent) +++ head/sysutils/busybox/files/patch-shell_shell__common.c (revision 514650) @@ -0,0 +1,12 @@ +--- shell/shell_common.c.orig 2019-06-10 09:09:31 UTC ++++ shell/shell_common.c +@@ -328,7 +328,9 @@ struct limits { + static const struct limits limits_tbl[] = { + { RLIMIT_CORE, 9, "core file size (blocks)" }, // -c + { RLIMIT_DATA, 10, "data seg size (kb)" }, // -d ++#ifdef RLIMIT_NICE + { RLIMIT_NICE, 0, "scheduling priority" }, // -e ++#endif + { RLIMIT_FSIZE, 9, "file size (blocks)" }, // -f + #define LIMIT_F_IDX 3 + #ifdef RLIMIT_SIGPENDING Property changes on: head/sysutils/busybox/files/patch-shell_shell__common.c ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property