diff options
author | Eitan Adler <eadler@FreeBSD.org> | 2014-05-13 06:24:51 +0000 |
---|---|---|
committer | Eitan Adler <eadler@FreeBSD.org> | 2014-05-13 06:24:51 +0000 |
commit | be802c1ec0a7e03fa86c596e1fed58f13c8d98d2 (patch) | |
tree | 4f38814cd83aa5f1cf66710274cf6df07945c481 /devel/bugzilla44 | |
parent | 08755a564c8591dc379fa3af33cea17b6165f5f8 (diff) | |
download | ports-be802c1ec0a7e03fa86c596e1fed58f13c8d98d2.tar.gz ports-be802c1ec0a7e03fa86c596e1fed58f13c8d98d2.zip |
Notes
Diffstat (limited to 'devel/bugzilla44')
-rw-r--r-- | devel/bugzilla44/Makefile | 4 | ||||
-rw-r--r-- | devel/bugzilla44/Makefile.options | 4 | ||||
-rw-r--r-- | devel/bugzilla44/files/freebsd-project-ldap.diff | 11 |
3 files changed, 18 insertions, 1 deletions
diff --git a/devel/bugzilla44/Makefile b/devel/bugzilla44/Makefile index a51cf15918f6..bbd0cc8b959a 100644 --- a/devel/bugzilla44/Makefile +++ b/devel/bugzilla44/Makefile @@ -154,6 +154,10 @@ RUN_DEPENDS+= p5-File-MimeInfo>=0.16:${PORTSDIR}/devel/p5-File-MimeInfo \ 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 \ diff --git a/devel/bugzilla44/Makefile.options b/devel/bugzilla44/Makefile.options index fdc40ae6c24e..f4ab6cdf37ab 100644 --- a/devel/bugzilla44/Makefile.options +++ b/devel/bugzilla44/Makefile.options @@ -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 diff --git a/devel/bugzilla44/files/freebsd-project-ldap.diff b/devel/bugzilla44/files/freebsd-project-ldap.diff new file mode 100644 index 000000000000..410f1fe2db7c --- /dev/null +++ b/devel/bugzilla44/files/freebsd-project-ldap.diff @@ -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"); |