hadoop-zookeeper-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From maha...@apache.org
Subject svn commit: r794934 - in /hadoop/zookeeper/branches/branch-3.2: CHANGES.txt src/contrib/zkperl/Changes src/contrib/zkperl/MANIFEST src/contrib/zkperl/Makefile.PL src/contrib/zkperl/README src/contrib/zkperl/ZooKeeper.pm src/contrib/zkperl/t/50_access.t
Date Fri, 17 Jul 2009 01:13:59 GMT
Author: mahadev
Date: Fri Jul 17 01:13:59 2009
New Revision: 794934

URL: http://svn.apache.org/viewvc?rev=794934&view=rev
Log:
ZOOKEEPER-471. update zkperl for 3.2.x branch. (chris via mahadev)

Modified:
    hadoop/zookeeper/branches/branch-3.2/CHANGES.txt
    hadoop/zookeeper/branches/branch-3.2/src/contrib/zkperl/Changes
    hadoop/zookeeper/branches/branch-3.2/src/contrib/zkperl/MANIFEST
    hadoop/zookeeper/branches/branch-3.2/src/contrib/zkperl/Makefile.PL
    hadoop/zookeeper/branches/branch-3.2/src/contrib/zkperl/README
    hadoop/zookeeper/branches/branch-3.2/src/contrib/zkperl/ZooKeeper.pm
    hadoop/zookeeper/branches/branch-3.2/src/contrib/zkperl/t/50_access.t

Modified: hadoop/zookeeper/branches/branch-3.2/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/zookeeper/branches/branch-3.2/CHANGES.txt?rev=794934&r1=794933&r2=794934&view=diff
==============================================================================
--- hadoop/zookeeper/branches/branch-3.2/CHANGES.txt (original)
+++ hadoop/zookeeper/branches/branch-3.2/CHANGES.txt Fri Jul 17 01:13:59 2009
@@ -7,6 +7,8 @@
 
   ZOOKEEPER-469. make sure CPPUNIT_CFLAGS isn't overwritten (chris via mahadev)
 
+  ZOOKEEPER-471. update zkperl for 3.2.x branch. (chris via mahadev)
+
 IMPROVEMENTS:
 
 NEW FEATURES:

Modified: hadoop/zookeeper/branches/branch-3.2/src/contrib/zkperl/Changes
URL: http://svn.apache.org/viewvc/hadoop/zookeeper/branches/branch-3.2/src/contrib/zkperl/Changes?rev=794934&r1=794933&r2=794934&view=diff
==============================================================================
--- hadoop/zookeeper/branches/branch-3.2/src/contrib/zkperl/Changes (original)
+++ hadoop/zookeeper/branches/branch-3.2/src/contrib/zkperl/Changes Fri Jul 17 01:13:59 2009
@@ -51,5 +51,11 @@
         - initial documentation completed, first public release
 
 0.33  Apr 20, 2009
-	- copyright donated to ASF
+        - copyright donated to ASF
+
+0.34  Jul 14, 2009
+        - support ZooKeeper 3.2.0 release
+
+0.35  Jul 15, 2009
+        - support multiple include and library locations
 

Modified: hadoop/zookeeper/branches/branch-3.2/src/contrib/zkperl/MANIFEST
URL: http://svn.apache.org/viewvc/hadoop/zookeeper/branches/branch-3.2/src/contrib/zkperl/MANIFEST?rev=794934&r1=794933&r2=794934&view=diff
==============================================================================
--- hadoop/zookeeper/branches/branch-3.2/src/contrib/zkperl/MANIFEST (original)
+++ hadoop/zookeeper/branches/branch-3.2/src/contrib/zkperl/MANIFEST Fri Jul 17 01:13:59 2009
@@ -20,3 +20,4 @@
 t/45_class.t
 t/50_access.t
 t/60_watch.t
+t/util.pl

Modified: hadoop/zookeeper/branches/branch-3.2/src/contrib/zkperl/Makefile.PL
URL: http://svn.apache.org/viewvc/hadoop/zookeeper/branches/branch-3.2/src/contrib/zkperl/Makefile.PL?rev=794934&r1=794933&r2=794934&view=diff
==============================================================================
--- hadoop/zookeeper/branches/branch-3.2/src/contrib/zkperl/Makefile.PL (original)
+++ hadoop/zookeeper/branches/branch-3.2/src/contrib/zkperl/Makefile.PL Fri Jul 17 01:13:59
2009
@@ -22,22 +22,25 @@
 use ExtUtils::MakeMaker;
 use Getopt::Long;
 
-my $zk_inc_path;
-my $zk_lib_path;
+my @zk_inc_paths;
+my @zk_lib_paths;
 
 GetOptions(
-    'zookeeper-include=s' => \$zk_inc_path,
-    'zookeeper-lib=s' => \$zk_lib_path
+    'zookeeper-include=s' => \@zk_inc_paths,
+    'zookeeper-lib=s' => \@zk_lib_paths
 );
 
-$zk_inc_path = defined($zk_inc_path) ? "-I$zk_inc_path " : '';
-$zk_lib_path = defined($zk_lib_path) ? "-L$zk_lib_path " : '';
+my $zk_inc_paths = join(' ', map("-I$_", @zk_inc_paths));
+my $zk_lib_paths = join(' ', map("-L$_", @zk_lib_paths));
+
+$zk_inc_paths .= ' ' unless ($zk_inc_paths eq '');
+$zk_lib_paths .= ' ' unless ($zk_lib_paths eq '');
 
 my $cc = $Config{'cc'};
 my $check_file = 'build/check_zk_version';
 
 my $check_out =
-    qx($cc -c $zk_inc_path -I. -c $check_file.c -o $check_file.o 2>&1);
+    qx($cc -c $zk_inc_paths -I. -c $check_file.c -o $check_file.o 2>&1);
 
 if ($?) {
     if ($check_out =~ /zookeeper_version\.h/) {
@@ -50,8 +53,8 @@
 }
 
 WriteMakefile(
-    'INC'          => "$zk_inc_path-I.",
-    'LIBS'         => [ "$zk_lib_path-lzookeeper_mt" ],
+    'INC'          => "$zk_inc_paths-I.",
+    'LIBS'         => [ "$zk_lib_paths-lzookeeper_mt" ],
     'NAME'         => 'Net::ZooKeeper',
     'VERSION_FROM' => 'ZooKeeper.pm',
     'clean'        => { 'FILES' => 'build/check_zk_version.o' }

Modified: hadoop/zookeeper/branches/branch-3.2/src/contrib/zkperl/README
URL: http://svn.apache.org/viewvc/hadoop/zookeeper/branches/branch-3.2/src/contrib/zkperl/README?rev=794934&r1=794933&r2=794934&view=diff
==============================================================================
--- hadoop/zookeeper/branches/branch-3.2/src/contrib/zkperl/README (original)
+++ hadoop/zookeeper/branches/branch-3.2/src/contrib/zkperl/README Fri Jul 17 01:13:59 2009
@@ -42,12 +42,18 @@
 
 Version 3.1.1 of ZooKeeper is required at a minimum.
 
-You may also want to apply some of these additional patches to
-the ZooKeeper C API code:
+For version 3.1.1, you may also want to apply some of these
+additional patches to the ZooKeeper C API code:
 
 https://issues.apache.org/jira/browse/ZOOKEEPER-262
 https://issues.apache.org/jira/browse/ZOOKEEPER-318
 
+For version 3.1.1, you may also want to apply some of these
+additional patches to the ZooKeeper C API code:
+
+https://issues.apache.org/jira/browse/ZOOKEEPER-262
+https://issues.apache.org/jira/browse/ZOOKEEPER-466
+
 This module requires that the multi-threaded version of the
 ZooKeeper C API client library be available on your system.
 

Modified: hadoop/zookeeper/branches/branch-3.2/src/contrib/zkperl/ZooKeeper.pm
URL: http://svn.apache.org/viewvc/hadoop/zookeeper/branches/branch-3.2/src/contrib/zkperl/ZooKeeper.pm?rev=794934&r1=794933&r2=794934&view=diff
==============================================================================
--- hadoop/zookeeper/branches/branch-3.2/src/contrib/zkperl/ZooKeeper.pm (original)
+++ hadoop/zookeeper/branches/branch-3.2/src/contrib/zkperl/ZooKeeper.pm Fri Jul 17 01:13:59
2009
@@ -26,7 +26,7 @@
 require Exporter;
 require XSLoader;
 
-our $VERSION = '0.33';
+our $VERSION = '0.35';
 
 our @ISA = qw(Exporter);
 
@@ -299,8 +299,8 @@
 and may be updated by passing an ACL array to the C<set_acl()> method.
 
 When a client connects to a ZooKeeper cluster it is automatically
-assigned authentication credentials based on its IP address and
-hostname.  Additional authentication credentials may be added using
+assigned authentication credentials based on its IP address.
+Additional authentication credentials may be added using
 the C<add_auth()> method.  Once a credential has been added for
 the current session, there is no way to disable it.
 

Modified: hadoop/zookeeper/branches/branch-3.2/src/contrib/zkperl/t/50_access.t
URL: http://svn.apache.org/viewvc/hadoop/zookeeper/branches/branch-3.2/src/contrib/zkperl/t/50_access.t?rev=794934&r1=794933&r2=794934&view=diff
==============================================================================
--- hadoop/zookeeper/branches/branch-3.2/src/contrib/zkperl/t/50_access.t (original)
+++ hadoop/zookeeper/branches/branch-3.2/src/contrib/zkperl/t/50_access.t Fri Jul 17 01:13:59
2009
@@ -203,8 +203,8 @@
 
         push @{$digest_acl}, {
             'perms'  => (ZOO_PERM_CREATE | ZOO_PERM_DELETE),
-            'scheme' => 'host',
-            'id'     => 'foo.bar.123'
+            'scheme' => 'ip',
+            'id'     => '0.0.0.0'
         };
 
         $ret = $zkh->set_acl($acl_node_path, $digest_acl);



Mime
View raw message