You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@steve.apache.org by ji...@apache.org on 2013/05/22 21:24:32 UTC

svn commit: r1485354 - in /steve/trunk: ./ cmdline/ www/cgi-bin/

Author: jim
Date: Wed May 22 19:24:31 2013
New Revision: 1485354

URL: http://svn.apache.org/r1485354
Log:
Updates: Add in License to files (we now want distribution) and add in batch mode to avoid terminal i/o

Modified:
    steve/trunk/args_to_stdin.pl
    steve/trunk/cmdline/ballots.pm
    steve/trunk/cmdline/check_quorum.pl
    steve/trunk/cmdline/close_issue.pl
    steve/trunk/cmdline/make_issue.pl
    steve/trunk/cmdline/randomize.pm
    steve/trunk/cmdline/reminder.pl
    steve/trunk/cmdline/vote.pl
    steve/trunk/cmdline/votegroup.pl
    steve/trunk/cmdline/wrapsuid.c
    steve/trunk/whatif.py
    steve/trunk/whatif.rb
    steve/trunk/www-init.sh
    steve/trunk/www/cgi-bin/cast-vote.pl
    steve/trunk/www/cgi-bin/redirect.pl

Modified: steve/trunk/args_to_stdin.pl
URL: http://svn.apache.org/viewvc/steve/trunk/args_to_stdin.pl?rev=1485354&r1=1485353&r2=1485354&view=diff
==============================================================================
--- steve/trunk/args_to_stdin.pl (original)
+++ steve/trunk/args_to_stdin.pl Wed May 22 19:24:31 2013
@@ -1,5 +1,22 @@
 #!/usr/bin/perl -nal
 
+#####
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#####
+
 # args_to_stdin.pl - prevents vote scripts from exposing
 #                    their arguments to `ps` listings by
 #                    passing them to stdin instead.

Modified: steve/trunk/cmdline/ballots.pm
URL: http://svn.apache.org/viewvc/steve/trunk/cmdline/ballots.pm?rev=1485354&r1=1485353&r2=1485354&view=diff
==============================================================================
--- steve/trunk/cmdline/ballots.pm (original)
+++ steve/trunk/cmdline/ballots.pm Wed May 22 19:24:31 2013
@@ -1,6 +1,20 @@
 #!/usr/bin/perl
-# Copyright (C) 2005  The Apache Software Foundation. All rights reserved.
-#                     This code is Apache-specific and not for distribution.
+#####
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#####
 # ballots.pm
 # return the ballot identifiers for each candidate in an issue.
 #

Modified: steve/trunk/cmdline/check_quorum.pl
URL: http://svn.apache.org/viewvc/steve/trunk/cmdline/check_quorum.pl?rev=1485354&r1=1485353&r2=1485354&view=diff
==============================================================================
--- steve/trunk/cmdline/check_quorum.pl (original)
+++ steve/trunk/cmdline/check_quorum.pl Wed May 22 19:24:31 2013
@@ -1,6 +1,20 @@
 #!/usr/bin/perl
-# Copyright (C) 2003  The Apache Software Foundation. All rights reserved.
-#                     This code is Apache-specific and not for distribution.
+#####
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#####
 # check_quorum
 # A program for checking if a closed issue reached quorum and
 # providing a sorted list of people whose vote was received.

Modified: steve/trunk/cmdline/close_issue.pl
URL: http://svn.apache.org/viewvc/steve/trunk/cmdline/close_issue.pl?rev=1485354&r1=1485353&r2=1485354&view=diff
==============================================================================
--- steve/trunk/cmdline/close_issue.pl (original)
+++ steve/trunk/cmdline/close_issue.pl Wed May 22 19:24:31 2013
@@ -1,6 +1,20 @@
 #!/usr/bin/perl
-# Copyright (C) 2003  The Apache Software Foundation. All rights reserved.
-#                     This code is Apache-specific and not for distribution.
+#####
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#####
 # close_issue.pl
 #   o  must be run by voter user (see wrapsuid.c for setuid wrapper);
 #   o  accepts issue name and monitor hash-ID as arguments;

Modified: steve/trunk/cmdline/make_issue.pl
URL: http://svn.apache.org/viewvc/steve/trunk/cmdline/make_issue.pl?rev=1485354&r1=1485353&r2=1485354&view=diff
==============================================================================
--- steve/trunk/cmdline/make_issue.pl (original)
+++ steve/trunk/cmdline/make_issue.pl Wed May 22 19:24:31 2013
@@ -1,6 +1,20 @@
 #!/usr/bin/perl
-# Copyright (C) 2003  The Apache Software Foundation. All rights reserved.
-#                     This code is Apache-specific and not for distribution.
+#####
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#####
 # make_issue
 # A program for creating issues to be voted upon by the named "group"
 #
@@ -58,11 +72,12 @@ $pname =~ s#^.*/##;
 sub usage
 {
     die <<"EndUsage";
-usage: $pname [-h] [-g group] [-s start_date] [-i issue] [-f infofile]
+usage: $pname [-h] [-b] [-g group] [-s start_date] [-i issue] [-f infofile]
                     [-m monitors] [-v vote_type )]
 $pname -- Make an issue for managing an on-line, anonymous voting process
 Options:
      -h  (help) -- just display this message and quit
+     -b  (batch) -- batch processing: assume 'ok' unless errors
      -g  group  -- create an issue for an existing group of voters
      -s  date   -- YYYYMMDD format of date that voting is allowed to start
      -i  issue  -- append this alphanumeric string to start date as issue name
@@ -79,8 +94,9 @@ EndUsage
 # Get the command-line options or input from the user
 
 undef $opt_h;
+undef $opt_b;
 
-if (!(&Getopts('hg:s:i:f:m:v:')) || defined($opt_h)) { &usage; }
+if (!(&Getopts('hbg:s:i:f:m:v:')) || defined($opt_h)) { &usage; }
 
 if (defined($opt_g)) {
     $group = $opt_g;
@@ -157,6 +173,13 @@ else {
     die "$pname: vote type must be yna, stvN, or selectN (N=[1-9])\n";
 }
 
+if (defined($opt_b)) {
+    $batch = 1;
+}
+else {
+    $batch = 0;
+}
+
 # ==========================================================================
 # Check the voter group and read the list of voter addresses
 
@@ -266,7 +289,7 @@ system($CAT, $issuefile);
 &explain_vote(*STDOUT, 'unique-hash-key');
 print "==============================================================\n";
 do {
-    $_ = &get_input_line('"ok" to accept or "abort" to delete issue', 0);
+    $_ = ($batch ? "ok" : &get_input_line('"ok" to accept or "abort" to delete issue', 0));
     if (/^abort$/i) {
         system('rm', '-rf', $issuedir);
         exit(1);
@@ -283,7 +306,7 @@ for $voter (@voters) {
 }
 print "==============================================================\n";
 do {
-    $_ = &get_input_line('"ok" to accept or "abort" to delete issue', 0);
+    $_ = ($batch ? "ok" : &get_input_line('"ok" to accept or "abort" to delete issue', 0));
     if (/^abort$/i) {
         system('rm', '-rf', $issuedir);
         exit(1);

Modified: steve/trunk/cmdline/randomize.pm
URL: http://svn.apache.org/viewvc/steve/trunk/cmdline/randomize.pm?rev=1485354&r1=1485353&r2=1485354&view=diff
==============================================================================
--- steve/trunk/cmdline/randomize.pm (original)
+++ steve/trunk/cmdline/randomize.pm Wed May 22 19:24:31 2013
@@ -1,6 +1,20 @@
 #!/usr/bin/perl
-# Copyright (C) 2004  The Apache Software Foundation. All rights reserved.
-#                     This code is Apache-specific and not for distribution.
+#####
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#####
 # randomize.pm
 # randomize the order in which candidates are listed
 #

Modified: steve/trunk/cmdline/reminder.pl
URL: http://svn.apache.org/viewvc/steve/trunk/cmdline/reminder.pl?rev=1485354&r1=1485353&r2=1485354&view=diff
==============================================================================
--- steve/trunk/cmdline/reminder.pl (original)
+++ steve/trunk/cmdline/reminder.pl Wed May 22 19:24:31 2013
@@ -1,6 +1,20 @@
 #!/usr/bin/perl
-# Copyright (C) 2003  The Apache Software Foundation. All rights reserved.
-#                     This code is Apache-specific and not for distribution.
+#####
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#####
 # reminder.pl
 # A program for reminding a voter about their voting key
 #   o  must be run by voter user (see wrapsuid.c for setuid wrapper)

Modified: steve/trunk/cmdline/vote.pl
URL: http://svn.apache.org/viewvc/steve/trunk/cmdline/vote.pl?rev=1485354&r1=1485353&r2=1485354&view=diff
==============================================================================
--- steve/trunk/cmdline/vote.pl (original)
+++ steve/trunk/cmdline/vote.pl Wed May 22 19:24:31 2013
@@ -1,6 +1,20 @@
 #!/usr/bin/perl
-# Copyright (C) 2003  The Apache Software Foundation. All rights reserved.
-#                     This code is Apache-specific and not for distribution.
+#####
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#####
 # vote
 # A program for mostly-anonyous voting.
 #

Modified: steve/trunk/cmdline/votegroup.pl
URL: http://svn.apache.org/viewvc/steve/trunk/cmdline/votegroup.pl?rev=1485354&r1=1485353&r2=1485354&view=diff
==============================================================================
--- steve/trunk/cmdline/votegroup.pl (original)
+++ steve/trunk/cmdline/votegroup.pl Wed May 22 19:24:31 2013
@@ -1,6 +1,20 @@
 #!/usr/bin/perl
-# Copyright (C) 2003  The Apache Software Foundation. All rights reserved.
-#                     This code is Apache-specific and not for distribution.
+#####
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#####
 # votegroup
 # A program for creating a list of voters in the given issue group
 #
@@ -37,12 +51,13 @@ $pname =~ s#^.*/##;
 sub usage
 {
     die <<"EndUsage";
-usage: $pname [-h] [-g group] [-f votersfile]
+usage: $pname [-h] [-b] [-g group] [-f votersfile]
 
 $pname -- Make a group of voters for an on-line, anonymous voting process
 
 Options:
      -h  (help) -- just display this message and quit
+     -b  (batch) -- batch processing: assume 'ok' unless errors
      -g  group  -- create the named group of voters
      -f  file   -- contains the list of voter e-mail addresses, one per line
 
@@ -53,8 +68,9 @@ EndUsage
 # Get the command-line options or input from the user
 
 undef $opt_h;
+undef $opt_b;
 
-if (!(&Getopts('hg:f:')) || defined($opt_h)) { &usage; }
+if (!(&Getopts('hbg:f:')) || defined($opt_h)) { &usage; }
 
 if (defined($opt_g)) {
     $group = $opt_g;
@@ -79,6 +95,12 @@ if ($infofile =~ /(\/etc\/|$issuedir)/) 
     die "$pname: forbidden to read files in that directory\n";
 }
 
+if (defined($opt_b)) {
+    $batch = 1;
+}
+else {
+    $batch = 0;
+}
 # ==========================================================================
 # Check the voter group and read the list of voter addresses
 
@@ -115,7 +137,7 @@ if ($dupes != 0) {
     die "$pname: $dupes duplicate voters must be removed from the list\n";
 }
 do {
-    $_ = &get_input_line('"ok" to accept or "abort" to exit', 0);
+    $_ = ($batch ? "ok" : &get_input_line('"ok" to accept or "abort" to exit', 0));
     if (/^abort$/i) {
         exit(1);
     }
@@ -132,7 +154,7 @@ if (-e $votersfile) {
     system($DIFF, "-u", $votersfile, $infofile);
     print "==============================================================\n";
     do {
-        $_ = &get_input_line('"ok" to accept or "abort" to exit', 0);
+        $_ = ($batch ? "ok" : &get_input_line('"ok" to accept or "abort" to exit', 0));
         if (/^abort$/i) {
             exit(1);
         }

Modified: steve/trunk/cmdline/wrapsuid.c
URL: http://svn.apache.org/viewvc/steve/trunk/cmdline/wrapsuid.c?rev=1485354&r1=1485353&r2=1485354&view=diff
==============================================================================
--- steve/trunk/cmdline/wrapsuid.c (original)
+++ steve/trunk/cmdline/wrapsuid.c Wed May 22 19:24:31 2013
@@ -14,6 +14,21 @@
  *
  * Originally created by Roy Fielding
  */
+ /* Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
 
 #include <sys/types.h>
 #include <unistd.h>

Modified: steve/trunk/whatif.py
URL: http://svn.apache.org/viewvc/steve/trunk/whatif.py?rev=1485354&r1=1485353&r2=1485354&view=diff
==============================================================================
--- steve/trunk/whatif.py (original)
+++ steve/trunk/whatif.py Wed May 22 19:24:31 2013
@@ -1,5 +1,22 @@
 #!/usr/bin/python
 #
+#####
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#####
+
 # Run alternate voting scenarios: vary the number of seats, remove candidates,
 # or do a run-off with only the specified candidates.  Candidate names can
 # be specified using either their first name, last name, or full name without

Modified: steve/trunk/whatif.rb
URL: http://svn.apache.org/viewvc/steve/trunk/whatif.rb?rev=1485354&r1=1485353&r2=1485354&view=diff
==============================================================================
--- steve/trunk/whatif.rb (original)
+++ steve/trunk/whatif.rb Wed May 22 19:24:31 2013
@@ -1,4 +1,22 @@
 # STV Explorer using Historical data from ASF Board Votes
+
+#####
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#####
+
 #
 # Prereqs:
 #
@@ -22,6 +40,8 @@
 #   Point your web browser at your cgi script.  For best results, use
 #   Firefox 4 or a WebKit based browser, like Google Chrome.
 
+
+
 MEETINGS  = File.expand_path('../Meetings').untaint unless defined? MEETINGS
 WHATIF = './whatif.py' unless defined? WHATIF
 

Modified: steve/trunk/www-init.sh
URL: http://svn.apache.org/viewvc/steve/trunk/www-init.sh?rev=1485354&r1=1485353&r2=1485354&view=diff
==============================================================================
--- steve/trunk/www-init.sh (original)
+++ steve/trunk/www-init.sh Wed May 22 19:24:31 2013
@@ -1,5 +1,20 @@
 #!/bin/sh
-
+#####
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#####
 PREFIX=/usr/local/apache2-install/people.apache.org/current
 CFG=/home/voter/www/conf/httpd.conf
 

Modified: steve/trunk/www/cgi-bin/cast-vote.pl
URL: http://svn.apache.org/viewvc/steve/trunk/www/cgi-bin/cast-vote.pl?rev=1485354&r1=1485353&r2=1485354&view=diff
==============================================================================
--- steve/trunk/www/cgi-bin/cast-vote.pl (original)
+++ steve/trunk/www/cgi-bin/cast-vote.pl Wed May 22 19:24:31 2013
@@ -1,4 +1,20 @@
 #!/usr/bin/perl -T
+#####
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#####
 
 # cast-vote.pl - REST-compliant CGI script that invokes the vote tool
 #                on validated input.

Modified: steve/trunk/www/cgi-bin/redirect.pl
URL: http://svn.apache.org/viewvc/steve/trunk/www/cgi-bin/redirect.pl?rev=1485354&r1=1485353&r2=1485354&view=diff
==============================================================================
--- steve/trunk/www/cgi-bin/redirect.pl (original)
+++ steve/trunk/www/cgi-bin/redirect.pl Wed May 22 19:24:31 2013
@@ -1,4 +1,20 @@
 #!/usr/bin/perl -T
+#####
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements.  See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License.  You may obtain a copy of the License at
+#
+#     http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#####
 
 #
 # redirect.pl - simple redirect CGI script that changes the referer header



Re: svn commit: r1485354 - in /steve/trunk: ./ cmdline/ www/cgi-bin/

Posted by Greg Stein <gs...@gmail.com>.
Ugh. Please separate into two commits in the future.

On May 22, 2013 2:24 PM, <ji...@apache.org> wrote:
>
> Author: jim
> Date: Wed May 22 19:24:31 2013
> New Revision: 1485354
>
> URL: http://svn.apache.org/r1485354
> Log:
> Updates: Add in License to files (we now want distribution) and add in
batch mode to avoid terminal i/o
>
> Modified:
>     steve/trunk/args_to_stdin.pl
>     steve/trunk/cmdline/ballots.pm
>     steve/trunk/cmdline/check_quorum.pl
>     steve/trunk/cmdline/close_issue.pl
>     steve/trunk/cmdline/make_issue.pl
>     steve/trunk/cmdline/randomize.pm
>     steve/trunk/cmdline/reminder.pl
>     steve/trunk/cmdline/vote.pl
>     steve/trunk/cmdline/votegroup.pl
>     steve/trunk/cmdline/wrapsuid.c
>     steve/trunk/whatif.py
>     steve/trunk/whatif.rb
>     steve/trunk/www-init.sh
>     steve/trunk/www/cgi-bin/cast-vote.pl
>     steve/trunk/www/cgi-bin/redirect.pl
>...