svn commit: r307574 - in branches/RELENG_9_1_0/security/razorback-dispatcher: . files
Tom Judge
tj at FreeBSD.org
Mon Nov 19 23:11:32 UTC 2012
Author: tj
Date: Mon Nov 19 23:11:32 2012
New Revision: 307574
URL: http://svnweb.freebsd.org/changeset/ports/307574
Log:
MFH r307471:
* Fix build against libcli 0.9.6
* Make dependance on ActiveMQ off by default.
Feature safe: yes
Approved by: portmgr (beat)
Approved by: eadler, db (mentors, implicit)
Added:
branches/RELENG_9_1_0/security/razorback-dispatcher/files/patch-src-console_cli.c
- copied unchanged from r307471, head/security/razorback-dispatcher/files/patch-src-console_cli.c
Modified:
branches/RELENG_9_1_0/security/razorback-dispatcher/Makefile (contents, props changed)
Directory Properties:
branches/RELENG_9_1_0/ (props changed)
Modified: branches/RELENG_9_1_0/security/razorback-dispatcher/Makefile
==============================================================================
--- branches/RELENG_9_1_0/security/razorback-dispatcher/Makefile Mon Nov 19 23:06:42 2012 (r307573)
+++ branches/RELENG_9_1_0/security/razorback-dispatcher/Makefile Mon Nov 19 23:11:32 2012 (r307574)
@@ -7,6 +7,7 @@
PORTNAME= dispatcher
PORTVERSION= 0.5.0
+PORTREVISION= 1
CATEGORIES= security
MASTER_SITES= SF/razorbacktm/Dispatcher
PKGNAMEPREFIX= razorback-
@@ -23,7 +24,6 @@ LIB_DEPENDS= razorback_api:${PORTSDIR}/s
cli:${PORTSDIR}/devel/libcli
OPTIONS_DEFINE= DEBUG ASSERT ACTIVEMQ
-OPTIONS_DEFAULT=ACTIVEMQ
ASSERT_DESC= Enable Asserts
ACTIVEMQ_DESC= ActiveMQ runs locally
Copied: branches/RELENG_9_1_0/security/razorback-dispatcher/files/patch-src-console_cli.c (from r307471, head/security/razorback-dispatcher/files/patch-src-console_cli.c)
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ branches/RELENG_9_1_0/security/razorback-dispatcher/files/patch-src-console_cli.c Mon Nov 19 23:11:32 2012 (r307574, copy of r307471, head/security/razorback-dispatcher/files/patch-src-console_cli.c)
@@ -0,0 +1,26 @@
+Index: src/console_cli.c
+===================================================================
+--- src/console_cli.c (revision 3997)
++++ src/console_cli.c (working copy)
+@@ -24,10 +24,10 @@
+
+ #define MODE_CONFIG_NUGGET 10
+ #define MODE_CONFIG_APP_TYPE 11
+-#define DECL_COMMAND(x) static int x(struct cli_def *cli, char *command, char *argv[], int argc)
++#define DECL_COMMAND(x) static int x(struct cli_def *cli, const char *command, char **argv, int argc)
+
+ int
+-check_auth (char *username, char *password)
++check_auth (const char *username, const char *password)
+ {
+ // TODO: Add support for other auth backends
+ if (strcasecmp (username, g_sConsoleUser) != 0)
+@@ -38,7 +38,7 @@
+ }
+
+ int
+-check_enable (char *password)
++check_enable (const char *password)
+ {
+ // TODO: Add support for other auth backends
+ return !strcasecmp (password, g_sConsoleEnablePassword);
More information about the svn-ports-branches
mailing list