Return-Path: X-Original-To: apmail-incubator-accumulo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-accumulo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 8337B9891 for ; Tue, 31 Jan 2012 20:10:33 +0000 (UTC) Received: (qmail 8929 invoked by uid 500); 31 Jan 2012 20:10:33 -0000 Delivered-To: apmail-incubator-accumulo-dev-archive@incubator.apache.org Received: (qmail 8846 invoked by uid 500); 31 Jan 2012 20:10:32 -0000 Mailing-List: contact accumulo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: accumulo-dev@incubator.apache.org Delivered-To: mailing list accumulo-dev@incubator.apache.org Received: (qmail 8828 invoked by uid 99); 31 Jan 2012 20:10:32 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jan 2012 20:10:32 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED,T_RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.116] (HELO hel.zones.apache.org) (140.211.11.116) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 31 Jan 2012 20:10:31 +0000 Received: from hel.zones.apache.org (hel.zones.apache.org [140.211.11.116]) by hel.zones.apache.org (Postfix) with ESMTP id 673A6181A0D for ; Tue, 31 Jan 2012 20:10:11 +0000 (UTC) Date: Tue, 31 Jan 2012 20:10:11 +0000 (UTC) From: "John Vines (Commented) (JIRA)" To: accumulo-dev@incubator.apache.org Message-ID: <592956128.12856.1328040611424.JavaMail.tomcat@hel.zones.apache.org> Subject: [jira] [Commented] (ACCUMULO-19) Debian packaging support MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/ACCUMULO-19?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13197174#comment-13197174 ] John Vines commented on ACCUMULO-19: ------------------------------------ Applied a modified version of the v3 patch to the 1.4 branch. I need to make an update to change it's destination directory. I want to make it more in line with the other Bigtop projects and have it install to the proper directories. > Debian packaging support > ------------------------ > > Key: ACCUMULO-19 > URL: https://issues.apache.org/jira/browse/ACCUMULO-19 > Project: Accumulo > Issue Type: New Feature > Components: dist > Affects Versions: 1.4.0 > Reporter: Scott Kuehn > Assignee: Scott Kuehn > Priority: Minor > Fix For: 1.4.0, 1.5.0 > > Attachments: ACCUMULO-19.patch, ACCUMULO-19_v2.patch, ACCUMULO-19_v3.patch > > > This ticket is for improving Accumulo ease-of-installation by adding built-in support for debian packing. > Debian pkg support requires: > 1. Creating the deb package lifecycle hook scripts, such as 'preinst' and 'postinst' > 2. Creating an init.d script (one of these already exists in bin/) > 3. Integrating deb construction into the build lifecycle. There are some mvn dpkg plugins, but Im not sure how well these work. It might just be easier to run the deb construction as a delegated ant task (via the maven's antrun plugin) > Outline of required files: Putting all related packing files under src/packages, which is consistent with other Apache projects, such as zookeeper. > The following dpkg hooks go in src/packages/deb/accumulo.control/: > conffile, control, postinst, postrm, preinst, prerm > An init.d script (which I think can just be a copy of bin/etc_initd_accumulo) goes in src/packages/init.d: -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa For more information on JIRA, see: http://www.atlassian.com/software/jira