summaryrefslogtreecommitdiff
path: root/databases/memcached/files/patch-doc-local
diff options
context:
space:
mode:
authorSteve Wills <swills@FreeBSD.org>2014-07-22 19:30:31 +0000
committerSteve Wills <swills@FreeBSD.org>2014-07-22 19:30:31 +0000
commit2c723a0bdcb9def9bbd2f3e64e5379f8d930cee5 (patch)
treefe9d3f110fa48003af5e459224e526fe6eeecca0 /databases/memcached/files/patch-doc-local
parent- Don't strip the binary. This breaks the binary checksumming (diff)
databases/memcached: fix build when xml2rfc is installed
The docs for require xml2rfc and aren't built in the case where it's not installed. However when they are installed, they fail due to make issues. This patches the doc Makefile to avoid the gmake specific extensions as well as ensuring that network access is not needed to build the docs. It also ensure that xml2rfc is always there in the case where the DOCS option is enabled so that the docs are always built the same. While here, I decided to include some of the cleanup from the PR including the LICENSE change ane enabling the SASL and DOCS options by default since they don't add much in the way of dependencies. Also switched to static plist. PR: 192009 Reported by: jaap@NLnetLabs.nl
Diffstat (limited to 'databases/memcached/files/patch-doc-local')
-rw-r--r--databases/memcached/files/patch-doc-local104
1 files changed, 104 insertions, 0 deletions
diff --git a/databases/memcached/files/patch-doc-local b/databases/memcached/files/patch-doc-local
new file mode 100644
index 000000000000..b288668f7451
--- /dev/null
+++ b/databases/memcached/files/patch-doc-local
@@ -0,0 +1,104 @@
+--- doc/xml2rfc/reference.RFC.2119.xml.orig 2014-07-22 05:09:55.000000000 +0000
++++ doc/xml2rfc/reference.RFC.2119.xml 2014-07-22 05:09:55.000000000 +0000
+@@ -0,0 +1,44 @@
++<?xml version='1.0' encoding='UTF-8'?>
++
++<reference anchor='RFC2119'>
++
++<front>
++<title abbrev='RFC Key Words'>Key words for use in RFCs to Indicate Requirement Levels</title>
++<author initials='S.' surname='Bradner' fullname='Scott Bradner'>
++<organization>Harvard University</organization>
++<address>
++<postal>
++<street>1350 Mass. Ave.</street>
++<street>Cambridge</street>
++<street>MA 02138</street></postal>
++<phone>- +1 617 495 3864</phone>
++<email>sob@harvard.edu</email></address></author>
++<date year='1997' month='March' />
++<area>General</area>
++<keyword>keyword</keyword>
++<abstract>
++<t>
++ In many standards track documents several words are used to signify
++ the requirements in the specification. These words are often
++ capitalized. This document defines these words as they should be
++ interpreted in IETF documents. Authors who follow these guidelines
++ should incorporate this phrase near the beginning of their document:
++
++<list>
++<t>
++ The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL
++ NOT", "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and
++ "OPTIONAL" in this document are to be interpreted as described in
++ RFC 2119.
++</t></list></t>
++<t>
++ Note that the force of these words is modified by the requirement
++ level of the document in which they are used.
++</t></abstract></front>
++
++<seriesInfo name='BCP' value='14' />
++<seriesInfo name='RFC' value='2119' />
++<format type='TXT' octets='4723' target='http://www.rfc-editor.org/rfc/rfc2119.txt' />
++<format type='HTML' octets='17970' target='http://xml.resource.org/public/rfc/html/rfc2119.html' />
++<format type='XML' octets='5777' target='http://xml.resource.org/public/rfc/xml/rfc2119.xml' />
++</reference>
+--- doc/xml2rfc/rfc2629-noinc.xsl.orig 2014-07-22 05:09:15.000000000 +0000
++++ doc/xml2rfc/rfc2629-noinc.xsl 2014-07-22 05:09:23.000000000 +0000
+@@ -47,9 +47,7 @@
+ <xsl:value-of select='@src'/>
+ </xsl:when>
+ <xsl:otherwise>
+- <xsl:text>http://xml.resource.org/public/rfc/</xsl:text>
+ <xsl:value-of select='@src'/>
+- <xsl:text>.xml</xsl:text>
+ </xsl:otherwise>
+ </xsl:choose>
+ </xsl:param>
+--- doc/protocol-binary.xml.orig 2013-12-07 08:37:04.000000000 +0000
++++ doc/protocol-binary.xml 2014-07-22 15:02:07.000000000 +0000
+@@ -7,7 +7,7 @@
+ <?rfc sortrefs="yes" ?>
+ <?rfc compact="yes" ?>
+ <?rfc subcompact="yes" ?>
+-<rfc category="info" docName="draft-stone-memcache-binary-01" ipr="none">
++<rfc category="info" docName="draft-stone-memcache-binary-01" ipr="trust200902">
+ <front>
+ <title> Memcache Binary Protocol </title>
+
+@@ -1436,7 +1436,7 @@
+ </abstract>
+ </front>
+ </reference>
+- <dwdrfc-ref anchor="KEYWORDS" src='http://xml.resource.org/public/rfc/bibxml/reference.RFC.2119.xml'/>
++ <dwdrfc-ref anchor="KEYWORDS" src='reference.RFC.2119.xml'/>
+ </references>
+
+ <section anchor="acknowledgments" title="Acknowledgments">
+--- doc/protocol-binary-range.xml.orig 2013-12-07 08:37:04.000000000 +0000
++++ doc/protocol-binary-range.xml 2014-07-22 15:02:01.000000000 +0000
+@@ -7,7 +7,7 @@
+ <?rfc sortrefs="yes" ?>
+ <?rfc compact="yes" ?>
+ <?rfc subcompact="yes" ?>
+-<rfc category="info" docName="draft-stone-memcache-udp-01" ipr="none">
++<rfc category="info" docName="draft-stone-memcache-udp-01" ipr="trust200902">
+
+ <front>
+
+@@ -215,10 +215,10 @@
+
+ <back>
+ <references title="Normative References">
+- <dwdrfc-ref anchor='UDP' src='http://xml.resource.org/public/rfc/bibxml/reference.RFC.0768.xml'/>
+- <dwdrfc-ref anchor='KEYWORDS' src='http://xml.resource.org/public/rfc/bibxml/reference.RFC.2119.xml'/>
++ <dwdrfc-ref anchor='UDP' src='reference.RFC.0768.xml'/>
++ <dwdrfc-ref anchor='KEYWORDS' src='reference.RFC.2119.xml'/>
+ <!-- FIXME: Get a draft reference for the base document. -->
+- <dwdrfc-ref anchor='MEMCACHE' src='http://xml.resource.org/public/rfc/bibxml/reference.RFC.2119.xml'/>
++ <dwdrfc-ref anchor='MEMCACHE' src='reference.RFC.2119.xml'/>
+ </references>
+ </back>
+