Lines 2-49
Link Here
|
2 |
# $FreeBSD: head/sysutils/burp/Makefile 476181 2018-08-01 13:39:36Z tobik $ |
2 |
# $FreeBSD: head/sysutils/burp/Makefile 476181 2018-08-01 13:39:36Z tobik $ |
3 |
|
3 |
|
4 |
PORTNAME= burp |
4 |
PORTNAME= burp |
5 |
PORTVERSION= 1.4.40 |
5 |
PORTVERSION?= 2.1.32 |
6 |
PORTREVISION= 2 |
|
|
7 |
CATEGORIES= sysutils |
6 |
CATEGORIES= sysutils |
8 |
|
7 |
|
9 |
MAINTAINER= ports@FreeBSD.org |
8 |
MAINTAINER= phascolarctos@protonmail.ch |
10 |
COMMENT= Network backup and restore program |
9 |
COMMENT= Network backup and restore program |
11 |
|
10 |
|
12 |
LICENSE= AGPLv3 |
11 |
LICENSE= AGPLv3 |
13 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
12 |
LICENSE_FILE= ${WRKSRC}/LICENSE |
14 |
|
13 |
|
15 |
BUILD_DEPENDS= ${LOCALBASE}/include/uthash.h:devel/uthash |
14 |
BUILD_DEPENDS= ${LOCALBASE}/include/uthash.h:devel/uthash \ |
|
|
15 |
${LOCALBASE}/include/yajl/yajl_common.h:devel/yajl |
16 |
LIB_DEPENDS= librsync.so:net/librsync2 |
16 |
LIB_DEPENDS= librsync.so:net/librsync2 |
17 |
|
17 |
|
18 |
OPTIONS_DEFINE= IPV6 |
18 |
USES= autoreconf gmake libtool ncurses pkgconfig ssl |
19 |
|
|
|
20 |
USE_GITHUB= yes |
19 |
USE_GITHUB= yes |
|
|
20 |
USE_RC_SUBR= burp |
21 |
|
21 |
GH_ACCOUNT= grke |
22 |
GH_ACCOUNT= grke |
22 |
|
23 |
|
23 |
USE_RC_SUBR= burp |
|
|
24 |
GNU_CONFIGURE= yes |
24 |
GNU_CONFIGURE= yes |
25 |
USES= compiler:c++11-lib gmake localbase ncurses ssl |
25 |
CONFIGURE_ARGS= --sysconfdir=${ETCDIR} |
26 |
|
|
|
27 |
PORTSCOUT= limit:^1\.4\. |
28 |
|
26 |
|
29 |
CONFIGURE_ARGS= --sbindir="${PREFIX}/sbin" \ |
27 |
INSTALL_TARGET= install-all |
30 |
--sysconfdir=${ETCDIR} \ |
|
|
31 |
|
28 |
|
|
|
29 |
OPTIONS_DEFINE= IPV6 |
32 |
IPV6_CONFIGURE_ENABLE= ipv6 |
30 |
IPV6_CONFIGURE_ENABLE= ipv6 |
33 |
|
31 |
|
34 |
CONFIG_FILES= configs/server/burp.conf \ |
|
|
35 |
configs/client/burp.conf \ |
36 |
configs/certs/CA/CA.cnf |
37 |
|
38 |
post-patch: |
39 |
.for f in ${CONFIG_FILES} |
40 |
@${REINPLACE_CMD} -e 's,/etc/burp,${PREFIX}/etc/burp,g' ${WRKSRC}/${f} |
41 |
@${REINPLACE_CMD} -e 's,/usr/sbin,${PREFIX}/sbin,g' ${WRKSRC}/${f} |
42 |
.endfor |
43 |
|
44 |
post-install: |
45 |
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/bedup |
46 |
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/vss_strip |
47 |
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/burp |
48 |
|
49 |
.include <bsd.port.mk> |
32 |
.include <bsd.port.mk> |