Bug 191718 - [ staging ] www/mod_ntlm2
Summary: [ staging ] www/mod_ntlm2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Many People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-07 18:50 UTC by Dan Lukes
Modified: 2014-07-08 01:57 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Dan Lukes 2014-07-07 18:50:20 UTC
www/mod_ntlm2 require staging or will be removed

Fix:
Patch is attached. 

--- www/mod_ntlm2/Makefile.orig	2014-07-07 20:47:11.000000000 +0200
+++ www/mod_ntlm2/Makefile	2014-07-07 20:37:24.000000000 +0200
@@ -20,5 +20,9 @@
 USE_APACHE=	22
 MAKE_ENV=	APXS=${APXS}
 
-NO_STAGE=	yes
+do-install:
+	${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}
+	${APXS} -i -n 'ntlm' -S LIBEXECDIR=${STAGEDIR}${PREFIX}/${APACHEMODDIR} ${WRKSRC}/mod_ntlm.la
+	${STRIP_CMD} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}/mod_ntlm.so
+
 .include <bsd.port.mk>
--- www/mod_ntlm2/pkg-plist.orig	2014-02-03 20:50:09.000000000 +0100
+++ www/mod_ntlm2/pkg-plist	2014-07-07 20:26:50.000000000 +0200
@@ -1,3 +1,3 @@
+@unexec %D/sbin/apxs -e -A -n ntlm %D/%%APACHEMODDIR%%/mod_ntlm.so
 %%APACHEMODDIR%%/mod_ntlm.so
 @exec %D/sbin/apxs -e -a -n ntlm %D/%f
-@unexec %D/sbin/apxs -e -A -n ntlm %D/%F
Comment 1 commit-hook freebsd_committer freebsd_triage 2014-07-08 01:56:44 UTC
A commit references this bug:

Author: swills
Date: Tue Jul  8 01:55:47 UTC 2014
New revision: 361155
URL: http://svnweb.freebsd.org/changeset/ports/361155

Log:
  www/mod_ntlm2: stage

  PR:		191718
  Submitted by:	Dan Lukes <dan@obluda.cz>

Changes:
  head/www/mod_ntlm2/Makefile
  head/www/mod_ntlm2/pkg-plist
Comment 2 Steve Wills freebsd_committer freebsd_triage 2014-07-08 01:57:06 UTC
Committed, thanks!