Page MenuHomeFreeBSD

D28217.id82449.diff
No OneTemporary

D28217.id82449.diff

Index: Makefile
===================================================================
--- Makefile
+++ Makefile
@@ -2,7 +2,7 @@
PORTNAME= apache24
PORTVERSION= 2.4.46
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= APACHE_HTTPD
DISTNAME= httpd-${PORTVERSION}
@@ -16,9 +16,10 @@
LIB_DEPENDS= libexpat.so:textproc/expat2 \
libapr-1.so:devel/apr1 \
- libpcre.so:devel/pcre
+ libpcre.so:devel/pcre \
+ libgdbm.so:databases/gdbm
-USES= apache:server,2.4 autoreconf compiler:c11 cpe iconv libtool perl5 tar:bzip2
+USES= apache:server,2.4 autoreconf bdb compiler:c11 cpe iconv libtool perl5 tar:bzip2
USE_PERL5= run
USE_RC_SUBR= apache24 htcacheclean
GNU_CONFIGURE= yes
@@ -222,10 +223,14 @@
${INSTALL_DATA} ${FILESDIR}/no-accf.conf ${STAGEDIR}${ETCDIR}/Includes/
# place for 3rd party module configuration
${INSTALL_DATA} ${FILESDIR}/README_modules.d ${STAGEDIR}${ETCDIR}/modules.d/
-# strip returns an error for non binary files, but we have a big mix
- -${STRIP_CMD} ${STAGEDIR}${PREFIX}/sbin/* 2>/dev/null
- -${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/*
- -${STRIP_CMD} ${STAGEDIR}${PREFIX}/libexec/apache24/mod_*.so
+# do no perform strip for non-binary files, it returns error and
+# temporary files in the directory. finally, the files cause plist error.
+ ${STRIP_CMD} `${FILE} --mime-type ${STAGEDIR}${PREFIX}/sbin/* | \
+ ${AWK} '$$2=="application/x-executable" { print $$1 }'| ${AWK} -F: '{ print $$1 }'`
+ ${STRIP_CMD} `${FILE} --mime-type ${STAGEDIR}${PREFIX}/bin/* | \
+ ${AWK} '$$2=="application/x-executable" { print $$1 }'| ${AWK} -F: '{ print $$1 }'`
+ ${STRIP_CMD} `${FILE} --mime-type ${STAGEDIR}${PREFIX}/libexec/apache24/mod_*.so | \
+ ${AWK} '$$2=="application/x-sharedlib" { print $$1 }'| ${AWK} -F: '{ print $$1 }'`
post-install-LOG_FORENSIC-on:
${INSTALL_SCRIPT} ${WRKSRC}/support/check_forensic ${STAGEDIR}${PREFIX}/sbin

File Metadata

Mime Type
text/plain
Expires
Tue, Nov 25, 8:02 PM (3 h, 54 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
26170008
Default Alt Text
D28217.id82449.diff (1 KB)

Event Timeline