Return-Path: Delivered-To: apmail-incubator-cassandra-commits-archive@minotaur.apache.org Received: (qmail 217 invoked from network); 23 Dec 2009 20:37:06 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Dec 2009 20:37:06 -0000 Received: (qmail 4598 invoked by uid 500); 23 Dec 2009 20:37:06 -0000 Delivered-To: apmail-incubator-cassandra-commits-archive@incubator.apache.org Received: (qmail 4546 invoked by uid 500); 23 Dec 2009 20:37:06 -0000 Mailing-List: contact cassandra-commits-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: cassandra-dev@incubator.apache.org Delivered-To: mailing list cassandra-commits@incubator.apache.org Received: (qmail 4536 invoked by uid 99); 23 Dec 2009 20:37:06 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Dec 2009 20:37:06 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.130] (HELO eos.apache.org) (140.211.11.130) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Dec 2009 20:36:54 +0000 Received: from eos.apache.org (localhost [127.0.0.1]) by eos.apache.org (Postfix) with ESMTP id 27BB517620; Wed, 23 Dec 2009 20:36:33 +0000 (GMT) MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: Apache Wiki To: Apache Wiki Date: Wed, 23 Dec 2009 20:36:33 -0000 Message-ID: <20091223203633.18067.75373@eos.apache.org> Subject: =?utf-8?q?=5BCassandra_Wiki=5D_Update_of_=22DebianPackaging=22_by_EricEva?= =?utf-8?q?ns?= X-Virus-Checked: Checked by ClamAV on apache.org Dear Wiki user, You have subscribed to a wiki page or wiki category on "Cassandra Wiki" for= change notification. The "DebianPackaging" page has been changed by EricEvans. The comment on this change is: some notes on building a debian package. http://wiki.apache.org/cassandra/DebianPackaging?action=3Ddiff&rev1=3D3&rev= 2=3D4 -------------------------------------------------- * The configuration files are located in /etc/cassandra * Start-up options (heap size, etc) can be configured in /etc/default/ca= ssandra = + =3D=3D Building =3D=3D + The Debian packaging is kept in a repository on [[http://github.com|Githu= b]] and its layout conforms to the convention used by [[http://packages.deb= ian.org/search?keywords=3Dgit-buildpackage|git-buildpackage]]. + = + {{{ + # Install build dependencies. + sudo aptitude install build-essential fakeroot git-buildpackage debhelper= \ + openjdk-6-jdk ant + = + # Get the source from git.apache.org + git clone git://git.apache.org/cassandra && cd cassandra + = + # Add the debian packaging repo as a remote. + git remote add debian git://github.com/eevans/cassandra.git && git fetch = debian + = + # Assuming a build based on the 0.5 branch ... + git checkout -b debian_0.5 debian/debian_0.5 + git-buildpackage --git-upstream-branch=3Dorigin/cassandra-0.5 \ + --git-debian-branch=3Ddebian_0.5 -rfakeroot -us -uc + = + # Assuming a build based on trunk ... + git checkout -b debian debian/debian + git-buildpackage --git-upstream-branch=3Dorigin/trunk --git-debian-branch= =3Ddebian \ + -rfakeroot -us -uc + }}} +=20