FreeBSD Bugzilla – Attachment 183757 Details for
Bug 220245
[NEW PORT] security/hardening-check: Check binaries for security hardening features
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
hardening-check.shar
hardening-check.shar (text/plain), 2.27 KB, created by
Jov
on 2017-06-24 08:17:20 UTC
(
hide
)
Description:
hardening-check.shar
Filename:
MIME Type:
Creator:
Jov
Created:
2017-06-24 08:17:20 UTC
Size:
2.27 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># hardening-check ># hardening-check/Makefile ># hardening-check/distinfo ># hardening-check/pkg-descr ># >echo c - hardening-check >mkdir -p hardening-check > /dev/null 2>&1 >echo x - hardening-check/Makefile >sed 's/^X//' >hardening-check/Makefile << 'e4171d62aa24732d314d6bad30eb62a3' >X# Created by: Jov <amutu@amutu.com> >X# $FreeBSD$ >X >XPORTNAME= hardening-check >XPORTVERSION= 2.6 >XCATEGORIES= security >XMASTER_SITES= http://http.debian.net/debian/pool/main/h/hardening-wrapper/ >XDISTNAME= hardening-wrapper_${PORTVERSION} >X >XMAINTAINER= amutu@amutu.com >XCOMMENT= Check binaries for security hardening features >X >XLICENSE= GPLv2+ >X >XUSES= tar:xz shebangfix perl5 >X >XSHEBANG_LANG= perl >XSHEBANG_FILES= ${PORTNAME} >X >XNO_BUILD= yes >XPLIST_FILES= bin/${PORTNAME} >X >XWRKSRC= ${WRKDIR}/hardening-wrapper >X >Xpost-patch: >X ${REINPLACE_CMD} -e 's/die "List of libc functions not defined/#&/' \ >X -e 's/^libc./& Not supported on FreeBSD now./' \ >X -e 's/against glibc)./& This function is currently Not supported on FreeBSD./' \ >X ${WRKSRC}/${PORTNAME} >X >Xdo-install: >X ${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/ >X >X.include <bsd.port.mk> >e4171d62aa24732d314d6bad30eb62a3 >echo x - hardening-check/distinfo >sed 's/^X//' >hardening-check/distinfo << '6d15f204257aaa75cc4c535244ce57be' >XTIMESTAMP = 1498272039 >XSHA256 (hardening-wrapper_2.6.tar.xz) = c5fc46439646d0929a0605e4f3db67e57eefbbf5ceec5a2888440dbdf4450224 >XSIZE (hardening-wrapper_2.6.tar.xz) = 19436 >6d15f204257aaa75cc4c535244ce57be >echo x - hardening-check/pkg-descr >sed 's/^X//' >hardening-check/pkg-descr << '42ba47e25dbb87fa7f94e631c9a8281c' >XHardening-check is a perl script to verify that the resulting binary does, in >Xfact, have hardening features enabled, you can use it to test each ELF binary >Xand the output will show if the binary has position independent executable, >Xstack protected, fortify source functions(not supported on FreeBSD now), read >Xonly relocations or immediate binding supported. >X >XWWW: https://wiki.debian.org/Hardening >42ba47e25dbb87fa7f94e631c9a8281c >exit >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 220245
: 183757