Author: rvs
Date: Mon Jun 11 23:00:30 2012
New Revision: 1349062

URL: http://svn.apache.org/viewvc?rev=1349062&view=rev
Log:
BIGTOP-570. Build package for Apache Giraph (Andrew Purtell via rvs)

Added:
    
incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/resources/apt/giraph.xml
    
incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/resources/urpmi/giraph.xml
    
incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/resources/yum/giraph.xml
    
incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/resources/zypper/giraph.xml
Modified:
    incubator/bigtop/trunk/bigtop-packages/src/deb/giraph/rules
    incubator/bigtop/trunk/bigtop-packages/src/rpm/giraph/SPECS/giraph.spec
    
incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/resources/package_data.xml

Modified: incubator/bigtop/trunk/bigtop-packages/src/deb/giraph/rules
URL: 
http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/deb/giraph/rules?rev=1349062&r1=1349061&r2=1349062&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/deb/giraph/rules (original)
+++ incubator/bigtop/trunk/bigtop-packages/src/deb/giraph/rules Mon Jun 11 
23:00:30 2012
@@ -51,7 +51,7 @@ install-indep:        
           --doc-dir=/usr/share/doc/giraph  \
          --prefix=debian/giraph
        # Workaround for GIRAPH-198
-       cp -f debian/giraph-site.xml debian/giraph/etc/giraph/
+       cp -f debian/giraph-site.xml debian/giraph/etc/giraph/conf.dist
        dh_install -i
        (dh_lintian) || /bin/true
 

Modified: 
incubator/bigtop/trunk/bigtop-packages/src/rpm/giraph/SPECS/giraph.spec
URL: 
http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-packages/src/rpm/giraph/SPECS/giraph.spec?rev=1349062&r1=1349061&r2=1349062&view=diff
==============================================================================
--- incubator/bigtop/trunk/bigtop-packages/src/rpm/giraph/SPECS/giraph.spec 
(original)
+++ incubator/bigtop/trunk/bigtop-packages/src/rpm/giraph/SPECS/giraph.spec Mon 
Jun 11 23:00:30 2012
@@ -79,7 +79,7 @@ sh %{SOURCE2} \
           --doc-dir=%{doc_giraph} \
           --prefix=$RPM_BUILD_ROOT
 # Workaround for GIRAPH-198
-%__cp -f %{SOURCE3} $RPM_BUILD_ROOT/etc/giraph/conf
+%__cp -f %{SOURCE3} $RPM_BUILD_ROOT/etc/giraph/conf.dist
 
 %__install -d -m 0755 $RPM_BUILD_ROOT/usr/bin
 

Added: 
incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/resources/apt/giraph.xml
URL: 
http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/resources/apt/giraph.xml?rev=1349062&view=auto
==============================================================================
--- 
incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/resources/apt/giraph.xml
 (added)
+++ 
incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/resources/apt/giraph.xml
 Mon Jun 11 23:00:30 2012
@@ -0,0 +1,5 @@
+<giraph>
+  <content>
+    <file name='/.' owners='1' perm='drwxr-xr-x' user='root' group='root' />
+  </content>
+</giraph>

Modified: 
incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/resources/package_data.xml
URL: 
http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/resources/package_data.xml?rev=1349062&r1=1349061&r2=1349062&view=diff
==============================================================================
--- 
incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/resources/package_data.xml
 (original)
+++ 
incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/resources/package_data.xml
 Mon Jun 11 23:00:30 2012
@@ -71,6 +71,25 @@ Java Servlet and JavaServer Pages techno
     </mahout-conf>
   </alternatives>
 </mahout>
+<giraph>
+  <metadata>
+    <summary>Giraph is a BSP inspired graph processing platform that runs on 
Hadoop</summary>
+    <description>Giraph implements a graph processing platform to run large 
scale algorithms (such as page rank, shared connections, personalization-based 
popularity, etc.) on top of Hadoop infrastructure. Giraph builds upon the 
graph-oriented nature of Pregel but additionally adds fault-tolerance to the 
coordinator process with the use of ZooKeeper as its centralized coordination 
service.</description>
+    <url>http://incubator.apache.org/giraph/</url>
+  </metadata>
+  <deps>
+    <hadoop-client/>
+    <bigtop-utils/>
+  </deps>
+  <alternatives>
+    <giraph-conf>
+      <status>auto</status>
+      <link>/etc/giraph/conf</link>
+      <value>/etc/giraph/conf.dist</value>
+      <alt>/etc/giraph/conf.dist</alt>
+    </giraph-conf>
+  </alternatives>
+</giraph>
 <whirr>
   <metadata>
     <summary>Scripts and libraries for running software services on cloud 
infrastructure.</summary>

Added: 
incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/resources/urpmi/giraph.xml
URL: 
http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/resources/urpmi/giraph.xml?rev=1349062&view=auto
==============================================================================
--- 
incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/resources/urpmi/giraph.xml
 (added)
+++ 
incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/resources/urpmi/giraph.xml
 Mon Jun 11 23:00:30 2012
@@ -0,0 +1,5 @@
+<giraph>
+  <content>
+    <file name='/etc/giraph/conf.dist' owners='1' perm='drwxr-xr-x' 
user='root' group='root' />
+  </content>
+</giraph>

Added: 
incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/resources/yum/giraph.xml
URL: 
http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/resources/yum/giraph.xml?rev=1349062&view=auto
==============================================================================
--- 
incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/resources/yum/giraph.xml
 (added)
+++ 
incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/resources/yum/giraph.xml
 Mon Jun 11 23:00:30 2012
@@ -0,0 +1,5 @@
+<giraph>
+  <content>
+    <file name='/etc/giraph/conf.dist' owners='1' perm='drwxr-xr-x' 
user='root' group='root' />
+  </content>
+</giraph>

Added: 
incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/resources/zypper/giraph.xml
URL: 
http://svn.apache.org/viewvc/incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/resources/zypper/giraph.xml?rev=1349062&view=auto
==============================================================================
--- 
incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/resources/zypper/giraph.xml
 (added)
+++ 
incubator/bigtop/trunk/bigtop-tests/test-artifacts/package/src/main/resources/zypper/giraph.xml
 Mon Jun 11 23:00:30 2012
@@ -0,0 +1,5 @@
+<giraph>
+  <content>
+    <file name='/etc/giraph/conf.dist' owners='1' perm='drwxr-xr-x' 
user='root' group='root' />
+  </content>
+</giraph>


Reply via email to