blob: 5b042c463ca9ac00b92ec68bd4922c1e8fe5eccb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
PORTNAME= libhijack
DISTVERSIONPREFIX= v
DISTVERSION= 0.8.0-2
DISTVERSIONSUFFIX= -g972534d
PORTREVISION= 1
CATEGORIES= security
MAINTAINER= shawn.webb@hardenedbsd.org
COMMENT= Runtime process infection made easy
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/LICENSE
ONLY_FOR_ARCHS= aarch64 amd64
USE_GITHUB= yes
GH_ACCOUNT= SoldierX
USE_LDCONFIG= yes
PLIST_FILES= include/hijack.h \
lib/libhijack.so \
lib/libhijack.so.2 \
sbin/hijack
do-install: # the original install fails: https://github.com/SoldierX/libhijack/issues/6
${INSTALL_DATA} ${WRKSRC}/include/hijack.h ${STAGEDIR}${PREFIX}/include
${INSTALL_LIB} ${WRKSRC}/libhijack/obj/libhijack.so* ${STAGEDIR}${PREFIX}/lib
${INSTALL_PROGRAM} ${WRKSRC}/hijack/obj/hijack ${STAGEDIR}${PREFIX}/sbin
.include <bsd.port.mk>
|