X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@lists.alpinelinux.org Received: from mail-gy0-f182.google.com (mail-gy0-f182.google.com [209.85.160.182]) by lists.alpinelinux.org (Postfix) with ESMTP id CBD421EFC2C for ; Mon, 1 Nov 2010 15:57:38 +0000 (UTC) Received: by gya6 with SMTP id 6so3576719gya.13 for ; Mon, 01 Nov 2010 08:57:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=9xdOvW/PwwwnzHYYi7DhYBWzrilIbVGrrllV/BE1JWU=; b=leZ4NKSi87hCkryggyro3nwtnCSbW8+TtexTmy1rVA2dIar3f0GJfkIuGWCJfmJOa0 OC2sSPI8e7KpGBZauR0E1muwsfkf5qIDk/KiYnWyttOflCXALRJe0rYvKvSF/d5LTiYb +JWMjkNrJbzeGt7nwm7p4u6xlKV6Cg46rPXOM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=KtIgjz9/cSHoWsS9d6PMp3MVg0ugq0nIfbpw9StVK7V28hZlMpvgyrCXhr7XL4rM/a oJ+6ti8Bw5i0sfuEMGzzeTYJaEAdI8grewmGADsvFMr99r4xJIXb+B+9N2TLscTyrB4X pOZWtweyow7FGumtXDKW77YO82kWfOhz+goCw= Received: by 10.42.176.66 with SMTP id bd2mr432377icb.278.1288627056824; Mon, 01 Nov 2010 08:57:36 -0700 (PDT) Received: from [192.168.42.200] (c-71-228-19-24.hsd1.il.comcast.net [71.228.19.24]) by mx.google.com with ESMTPS id d21sm5369956ibg.15.2010.11.01.08.57.35 (version=SSLv3 cipher=RC4-MD5); Mon, 01 Nov 2010 08:57:35 -0700 (PDT) Message-ID: <4CCEE36E.5090909@gmail.com> Date: Mon, 01 Nov 2010 10:57:34 -0500 From: Cameron Banta User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Lightning/1.0b2 Thunderbird/3.1.6 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 To: Natanael Copa CC: alpine-devel@lists.alpinelinux.org Subject: Re: [alpine-devel] [PATCH] main/nginx New package References: <1288624808-1532-1-git-send-email-cbanta@gmail.com> <1288625324.16847.8.camel@ncopa-desktop.nor.wtbts.net> In-Reply-To: <1288625324.16847.8.camel@ncopa-desktop.nor.wtbts.net> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit On 11/01/2010 10:28 AM, Natanael Copa wrote: > Thanks for the apkbuild. > > We are in the middle of the 2.1 release. Is the release worth delaying > for this package? > No, this was intended for 2.2. Should I just keep it locally and wait until 2.1 is released before sending it? > On Mon, 2010-11-01 at 15:20 +0000, Cameron Banta wrote: >> --- >> main/nginx/APKBUILD | 58 ++++++++++++++++++++++++++++++++++++++++++++ >> main/nginx/nginx.confd | 7 +++++ >> main/nginx/nginx.initd | 62 ++++++++++++++++++++++++++++++++++++++++++++++++ >> 3 files changed, 127 insertions(+), 0 deletions(-) >> create mode 100644 main/nginx/APKBUILD >> create mode 100644 main/nginx/nginx.confd >> create mode 100644 main/nginx/nginx.initd >> >> diff --git a/main/nginx/APKBUILD b/main/nginx/APKBUILD > We normally add new packages to testing/ first > Sorry, I can move it there. >> new file mode 100644 >> index 0000000..b35beab >> --- /dev/null >> +++ b/main/nginx/APKBUILD >> @@ -0,0 +1,58 @@ >> +# Contributor: Cameron Banta >> +# Maintainer: Cameron Banta >> +pkgname=nginx >> +pkgver=0.8.53 >> +pkgrel=0 >> +pkgdesc="nginx [engine x] is a HTTP and reverse proxy server" >> +url="nginx.org" >> +license="Custom" >> +depends= >> +makedepends="pcre-dev openssl-dev libcrypto1.0 zlib-dev" >> +#install="$pkgname.pre-install $pkgname.post-install" >> +install= >> +subpackages= >> +source="http://nginx.org/download/$pkgname-$pkgver.tar.gz >> + nginx.initd >> + nginx.confd >> + $install >> + " >> + >> +# append extra dependencies to -dev subpackage >> +# remove if not used. >> +# depends_dev="somepackage-dev" > The 3 comment lines above should be removed. > >> + >> +_builddir="$srcdir"/$pkgname-$pkgver >> + > [cutted the part that looked good] > >> --- /dev/null >> +++ b/main/nginx/nginx.initd >> @@ -0,0 +1,62 @@ >> +#! /bin/sh > Should be #!/sbin/runscript > >> + >> +### BEGIN INIT INFO >> +# Provides: nginx >> +# Required-Start: $all >> +# Required-Stop: $all >> +# Default-Start: 2 3 4 5 >> +# Default-Stop: 0 1 6 >> +# Short-Description: starts the nginx web server >> +# Description: starts nginx using start-stop-daemon >> +### END INIT INFO > No. We use openrc (like gentoo) which does not understand the above > service dependency info. > > The init.d needs to be rewritten to fit the rest of the system. > > Thanks! > > -nc > Ok, I'm looking for the gentoo init script. -Cameron --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---