1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/misc/mbuffer/Makefile
Fukang Chen 10f01207e1 misc/mbuffer: Update to 20241007
- Updated to 20241007

Changes according to the ChangeLog in the distribution tar ball:

    20241007:
    - build fix for -Wincompatible-pointer-types
    - configure script update to autoconf version 2.71

    20240929:
    - updated default buffer calculation for more sane defaults
    - minor updates for debug messages

    20240818:
    - fix port range check (Peter Pentchev)
    - fix ipv6 only mode
    - enhanced incoming host check to work with IP, hostname, FQHN
    - enhanced ipv6 hostname parsing
2024-10-09 23:44:03 +00:00

45 lines
1.1 KiB
Makefile

PORTNAME= mbuffer
PORTVERSION= 20241007
CATEGORIES= misc
MASTER_SITES= http://www.maier-komor.de/software/mbuffer/
MAINTAINER= loader@FreeBSD.org
COMMENT= Tool for buffering data streams
WWW= https://www.maier-komor.de/mbuffer.html
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/LICENSE
TEST_DEPENDS= gtar:archivers/gtar
USES= localbase ssl tar:tgz autoreconf gmake
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX= ${PREFIX}/share
# for --ignore-failed-read
TEST_ARGS= TAR=gtar
TEST_TARGET= check
OPTIONS_DEFINE= GCRYPT MHASH RHASH
OPTIONS_DEFAULT= MHASH
GCRYPT_DESC= Use gcrypt for hash generation
MHASH_DESC= Use mhash for hash generation
RHASH_DESC= Use rhash for hash generation
GCRYPT_RUN_DEPENDS= libgcrypt>=1.8.4_1:security/libgcrypt
MHASH_RUN_DEPENDS= mhash>=0.9.9.9_5:security/mhash
RHASH_RUN_DEPENDS= rhash>=1.3.5:security/rhash
post-patch:
${REINPLACE_CMD} \
-e 's@bash@sh@' ${WRKSRC}/Makefile.in
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mbuffer
${MV} ${STAGEDIR}${PREFIX}/etc/mbuffer.rc \
${STAGEDIR}${PREFIX}/etc/mbuffer.rc.sample
.include <bsd.port.mk>