X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail.wtbts.no (mail.wtbts.no [213.234.126.131]) by lists.alpinelinux.org (Postfix) with ESMTP id BD22F3617A23 for ; Thu, 2 Sep 2010 12:35:22 +0000 (UTC) Received: from [10.65.65.1] (unknown [10.65.65.1]) by mail.wtbts.no (Postfix) with ESMTP id 516047E009; Thu, 2 Sep 2010 14:28:48 +0200 (CEST) Subject: Re: [alpine-devel] [PATCH] testing/cacti: new aport From: Natanael Copa To: Jeff Bilyk Cc: alpine-devel@lists.alpinelinux.org In-Reply-To: <1283362497-7783-1-git-send-email-jbilyk@gmail.com> References: <1283362497-7783-1-git-send-email-jbilyk@gmail.com> Content-Type: text/plain; charset="UTF-8" Date: Thu, 02 Sep 2010 14:30:47 +0200 Message-ID: <1283430647.1942.99.camel@ncopa-desktop.nor.wtbts.net> X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: Mime-Version: 1.0 X-Mailer: Evolution 2.30.3 Content-Transfer-Encoding: 7bit On Wed, 2010-09-01 at 17:34 +0000, Jeff Bilyk wrote: > New aport: cacti - network monitoring app Applied. Please se notes below: ... > + > +build() { > + cd "$_builddir" > + return 0 > +} > + > +package() { > + mkdir -p "$pkgdir"/usr/share/webapps/cacti > + mv "$srcdir"/$pkgname-$pkgver/* "$pkgdir"/usr/share/webapps/cacti/ || return 1 > + > +} So this is a webapp. As i understand the config is in include/config.php. How about we move that file to /etc/cacti/config.php and create a symlink in /usr/share/webapps/cacti/include/? I wonder if you lose the config if you upgrade if its not in /etc. Thanks! -nc --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---