1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-05 03:19:18 -04:00
ports/www/moinmoin/files/patch-setup.py
Kubilay Kocak 98c348e6e7 www/moinmoin: Add recaptcha v2 and email verification support
Add patches to include:

   - reCAPTCHA v2 support [1]
   - Email verification for new account creation [2]

Both patches are OPTION'al, both OPTIONS are enabled by default. Both features
require additional configuration (within moinmoin) to enable them within wiki
instances.

While I'm here:

  - Use TLS for MASTER_SITES and pkg-descr WWW: URLs
  - Update COMMENT to match setup.py description
  - Enable NO_ARCH
  - Sort sections

PR:			227394 [1]
Submitted by:		<daz hackerspace pl> [1]
Reviewed by:		0mp
Tested by:		0mp (upgrade process)
Approved by:		koobs (python, maintainer)
Obtained from:		clusteradm (sbruno, custom patch to port) [2]
Differential Revision:	D16315
2018-07-30 00:05:20 +00:00

10 lines
293 B
Python

--- setup.py.orig 2016-10-31 20:44:02 UTC
+++ setup.py
@@ -26,6 +26,7 @@ def isbad(name):
return (name.startswith('.') or
name.startswith('#') or
name.endswith('.pickle') or
+ name.endswith('.orig') or
name == 'CVS')
def isgood(name):