blob: 7f07719e3061cb7762a1805797ab0d6d0aade52a (
plain) (
blame)
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
32
33
|
# Created by: Jov <amutu@amutu.com>
# $FreeBSD$
PORTNAME= hardening-check
PORTVERSION= 2.6
CATEGORIES= security
MASTER_SITES= DEBIAN/pool/main/h/hardening-wrapper
DISTNAME= hardening-wrapper_${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Check binaries for security hardening features
LICENSE= GPLv2+
USES= tar:xz shebangfix perl5
SHEBANG_FILES= ${PORTNAME}
NO_BUILD= yes
PLIST_FILES= bin/${PORTNAME}
WRKSRC= ${WRKDIR}/hardening-wrapper
post-patch:
${REINPLACE_CMD} -e 's/die "List of libc functions not defined/#&/' \
-e 's/^libc./& Not supported on FreeBSD now./' \
-e 's/against glibc)./& This function is currently Not supported on FreeBSD./' \
${WRKSRC}/${PORTNAME}
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/
.include <bsd.port.mk>
|