svn commit: r493944 - head/mail/squirrelmail-sasql-plugin

Tobias Kortkamp tobik at FreeBSD.org
Tue Feb 26 08:29:31 UTC 2019


Author: tobik
Date: Tue Feb 26 08:29:29 2019
New Revision: 493944
URL: https://svnweb.freebsd.org/changeset/ports/493944

Log:
  mail/squirrelmail-sasql-plugin: Remove extra escapes
  
  This port currently uses some extra escapes in its sed regex: \$$
  and \'.  The latter is considered an escape of an ordinary character,
  and will be disallowed in a future version of regex(3) while we
  segue into libregex(3) repurposing some of these escapes for special
  meaning.
  
  PR:		233445
  Submitted by:	kevans

Modified:
  head/mail/squirrelmail-sasql-plugin/Makefile

Modified: head/mail/squirrelmail-sasql-plugin/Makefile
==============================================================================
--- head/mail/squirrelmail-sasql-plugin/Makefile	Tue Feb 26 08:07:44 2019	(r493943)
+++ head/mail/squirrelmail-sasql-plugin/Makefile	Tue Feb 26 08:29:29 2019	(r493944)
@@ -15,7 +15,7 @@ USE_SM_COMPAT=	yes
 USE_GENERIC_PKGMESSAGE=	yes
 
 post-patch:
-	@${REINPLACE_CMD} -e "s/\(\$$imap_server_type == \'cyrus\'\)/\1 || \$$imap_server_type == \'courier\'/g" \
+	@${REINPLACE_CMD} -e "s/\($$imap_server_type == 'cyrus'\)/\1 || \$$imap_server_type == 'courier'/g" \
 		-e 's/session_register/sqsession_register/g' \
 		${WRKSRC}/${SQUIRREL_PLUGIN_NAME}/sasql_hooks.php
 	-@${RM} ${WRKSRC}/${SQUIRREL_PLUGIN_NAME}/*.bak ${WRKSRC}/${SQUIRREL_PLUGIN_NAME}/.cvsignore


More information about the svn-ports-all mailing list