View | Details | Raw Unified | Return to bug 222329 | Differences between
and this patch

Collapse All | Expand All

(-)misc/mbuffer/Makefile (-5 / +7 lines)
Lines 2-8 Link Here
2
# $FreeBSD$
2
# $FreeBSD$
3
3
4
PORTNAME=	mbuffer
4
PORTNAME=	mbuffer
5
PORTVERSION=	2016.06.13
5
PORTVERSION=	2017.08.06
6
CATEGORIES=	misc
6
CATEGORIES=	misc
7
MASTER_SITES=	http://www.maier-komor.de/software/mbuffer/
7
MASTER_SITES=	http://www.maier-komor.de/software/mbuffer/
8
DISTNAME=	${PORTNAME}-${PORTVERSION:S/.//g}
8
DISTNAME=	${PORTNAME}-${PORTVERSION:S/.//g}
Lines 13-24 Link Here
13
LICENSE=	GPLv3
13
LICENSE=	GPLv3
14
LICENSE_FILE=	${WRKSRC}/LICENSE
14
LICENSE_FILE=	${WRKSRC}/LICENSE
15
15
16
USES=		gmake tar:tgz
16
USES=		gmake ssl tar:tgz
17
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
18
MAKE_ARGS=	SHELL=${SH}
18
MAKE_ARGS=	SHELL=${SH}
19
19
20
PLIST_FILES=	bin/mbuffer man/man1/mbuffer.1.gz
21
22
OPTIONS_DEFINE=	MHASH
20
OPTIONS_DEFINE=	MHASH
23
MHASH_DESC=	Use mhash for hash generation
21
MHASH_DESC=	Use mhash for hash generation
24
22
Lines 32-38 Link Here
32
LDFLAGS+=	-L${LOCALBASE}/lib
30
LDFLAGS+=	-L${LOCALBASE}/lib
33
.else
31
.else
34
CONFIGURE_ARGS+=ac_cv_search_mhash_init=no
32
CONFIGURE_ARGS+=ac_cv_search_mhash_init=no
35
USES+=		ssl
36
.endif
33
.endif
37
34
38
# Prevent sendfile() from being detected by configure and rejected
35
# Prevent sendfile() from being detected by configure and rejected
Lines 46-49 Link Here
46
	@${REINPLACE_CMD} -E -e 's@(PACKAGE|VERSION)@MBUFFER_\1@' \
43
	@${REINPLACE_CMD} -E -e 's@(PACKAGE|VERSION)@MBUFFER_\1@' \
47
		${WRKSRC}/config.h ${WRKSRC}/mbuffer.c
44
		${WRKSRC}/config.h ${WRKSRC}/mbuffer.c
48
45
46
post-install:
47
	${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/mbuffer
48
	${MV} ${STAGEDIR}${PREFIX}/etc/mbuffer.rc \
49
		${STAGEDIR}${PREFIX}/etc/mbuffer.rc.sample
50
49
.include <bsd.port.post.mk>
51
.include <bsd.port.post.mk>
(-)misc/mbuffer/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1466720344
1
TIMESTAMP = 1505333287
2
SHA256 (mbuffer-20160613.tgz) = 67a92869c0a7e8da1bd96b70cc7de7233286a7ccba55ffc9b55d0d611df649fd
2
SHA256 (mbuffer-20170806.tgz) = 5c52639aa3440a7ae94bed4029b709b8585c1910fc50ff204fa080195aee7b4d
3
SIZE (mbuffer-20160613.tgz) = 123253
3
SIZE (mbuffer-20170806.tgz) = 132357
(-)misc/mbuffer/pkg-plist (+3 lines)
Line 0 Link Here
1
bin/mbuffer
2
@sample etc/mbuffer.rc.sample
3
man/man1/mbuffer.1.gz

Return to bug 222329