svn commit: r353915 - in head/devel/bugzilla44: . files
Eitan Adler
eadler at FreeBSD.org
Tue May 13 06:24:52 UTC 2014
Author: eadler
Date: Tue May 13 06:24:51 2014
New Revision: 353915
URL: http://svnweb.freebsd.org/changeset/ports/353915
QAT: https://qat.redports.org/buildarchive/r353915/
Log:
devel/bugzilla44: add FreeBSD specific patch.
Abuse our position as the owner of the ports tree to commit a project specific
option and patch to the bugzilla port.
Approved by: ohauer (maintainer)
Added:
head/devel/bugzilla44/files/freebsd-project-ldap.diff (contents, props changed)
Modified:
head/devel/bugzilla44/Makefile
head/devel/bugzilla44/Makefile.options
Modified: head/devel/bugzilla44/Makefile
==============================================================================
--- head/devel/bugzilla44/Makefile Tue May 13 05:01:14 2014 (r353914)
+++ head/devel/bugzilla44/Makefile Tue May 13 06:24:51 2014 (r353915)
@@ -154,6 +154,10 @@ RUN_DEPENDS+= p5-File-MimeInfo>=0.16:${P
p5-IO-stringy>=2.110:${PORTSDIR}/devel/p5-IO-stringy
.endif
+.if ${PORT_OPTIONS:MFREEBSD}
+EXTRA_PATCHES= ${FILESDIR}/freebsd-project-ldap.diff
+.endif
+
post-extract:
@${RM} -rf ${WRKSRC}/.bzr
@${RM} -f ${WRKSRC}/.bzrignore ${WRKSRC}/.gitignore ${WRKSRC}/.gitrev \
Modified: head/devel/bugzilla44/Makefile.options
==============================================================================
--- head/devel/bugzilla44/Makefile.options Tue May 13 05:01:14 2014 (r353914)
+++ head/devel/bugzilla44/Makefile.options Tue May 13 06:24:51 2014 (r353915)
@@ -2,7 +2,8 @@
OPTIONS_DEFINE= \
DOCS \
- MODPERL
+ MODPERL \
+ FREEBSD
OPTIONS_GROUP= UI DBBACKEND REPORTING ATTACHMENT EMAIL WEBSERVICE AUTH ADMIN
@@ -54,6 +55,7 @@ BMP2PNG_DESC= BMP Attachments to PNGs
CHARTING_MODULES_DESC= Bug charting support
CONTRIB_DESC= Install user-contributed scripts
EXPORT_IMPORT_DESC= Import/export bugs (via XML)
+FREEBSD_DESC= Patch used for the FreeBSD project
GRAPH_REPORTS_DESC= Graphical Reports
INBOUND_EMAIL_DESC= Inbound Email
JSONRPC_DESC= JSON-RPC Interface
Added: head/devel/bugzilla44/files/freebsd-project-ldap.diff
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/bugzilla44/files/freebsd-project-ldap.diff Tue May 13 06:24:51 2014 (r353915)
@@ -0,0 +1,11 @@
+--- Bugzilla/Auth/Verify/LDAP.pm 2014-05-06 17:26:02.000000000 +0100
++++ Bugzilla/Auth/Verify/LDAP.pm 2014-05-11 20:59:58.715356171 +0100
+@@ -132,7 +132,7 @@
+ }
+
+ } else {
+- $params->{bz_username} = $username;
++ $params->{bz_username} = $username . '@freebsd.org';
+ }
+
+ $params->{realname} ||= $user_entry->get_value("displayName");
More information about the svn-ports-head
mailing list