X-Original-To: alpine-aports@mail.alpinelinux.org Delivered-To: alpine-aports@mail.alpinelinux.org Received: from mail.alpinelinux.org (dallas-a1.alpinelinux.org [127.0.0.1]) by mail.alpinelinux.org (Postfix) with ESMTP id 4B253DC0A3C for ; Wed, 27 Jan 2016 08:43:01 +0000 (UTC) Received: from mail-lb0-f196.google.com (mail-lb0-f196.google.com [209.85.217.196]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id C9F86DC00BF for ; Wed, 27 Jan 2016 08:43:00 +0000 (UTC) Received: by mail-lb0-f196.google.com with SMTP id dx9so80862lbc.2 for ; Wed, 27 Jan 2016 00:43:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=RgfUUy7esXgUGRTYG5gU5TSC6/fJPIxrC6nXYHDjVH4=; b=VjyaTSJYaQ9HN1b7Z18bcBDF5B80fugRhnlRNiGGYWXvC32mxTZpR6+y/97iNjFhOa +H1mOxklUbizLovPGUhokDI8jREU5bm6w0zEk2G3IgdytwfM1A/6s9EmVuUMv+D6A5HC bmSDy5/TLHkeSlL19huezjtdClwoUZKHwYIcQsLkhQmpiKpU4UWRfbAWXU3g7Zf72hCu 214zKTVsao+fQCHFz46lNecilPCNCgHNdj4OV2ceNRTvvhT21TxV8ZMTe+arhAL/j77p jaMb78o0aOlgHHR4ppXpqV+pi4wZQ56gOPEXMvmDrbIAzq3SAZPOw1intqT7optIUaur hGyA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=RgfUUy7esXgUGRTYG5gU5TSC6/fJPIxrC6nXYHDjVH4=; b=GljOmjKS3roJa1tDnwbC1DhmzenkH7/Tw+DwFdZcEAjFbvW/dJk/5wcaLfCYTsVoKF vzNL367HhRBZBVQr3JrOE/L96lPdlhFr5e4KVQ/FlvmpNhicDNrS2AW4FWJ5WKB+zZ2p QbPhP6JVvYC0N8NCJAvnBh09iu7WnbzEhCD6rIYxnYHiGKfClIOegZnS7r8xzBHXMsP0 fugRXppBfiBYGOWumRTOs+7nS4r/jpqYVtCahlQmET6UgDAe3ZFQouCpeGbLDKeX8T6p KpZ1RhRL3xDo8sXo85zvgq83DFqWOVFWULmKoaQSITvttSy/TleGPoiPBwDBe10dg1HG lZYw== X-Gm-Message-State: AG10YOSIBzZWxZj/cYlVkk7VHoRJB+K5dPC83I+xPSWCG3+l3ahYBgQiUPc3ACcFVbwkeHnmJXXrk6tPinR65g== X-Mailinglist: alpine-aports Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: MIME-Version: 1.0 X-Received: by 10.112.72.34 with SMTP id a2mr8332647lbv.18.1453884178412; Wed, 27 Jan 2016 00:42:58 -0800 (PST) Received: by 10.25.39.4 with HTTP; Wed, 27 Jan 2016 00:42:58 -0800 (PST) In-Reply-To: <1453883981-10566-1-git-send-email-valery.kartel@gmail.com> References: <1453883981-10566-1-git-send-email-valery.kartel@gmail.com> Date: Wed, 27 Jan 2016 10:42:58 +0200 Message-ID: Subject: [alpine-aports] Re: [PATCH 3/3] main/nginx-initscripts: upgrade to 1.8.1 From: Valery Kartel To: alpine-aports@lists.alpinelinux.org Cc: Valery Kartel Content-Type: multipart/alternative; boundary=001a11c33e22ffba73052a4cc99b X-Virus-Scanned: ClamAV using ClamSMTP --001a11c33e22ffba73052a4cc99b Content-Type: text/plain; charset=UTF-8 This patch is not needed, and it contains an error. 2016-01-27 10:39 GMT+02:00 Valery Kartel : > - cleanups in logrotate > --- > main/nginx-initscripts/APKBUILD | 3 ++- > main/nginx-initscripts/nginx.logrotate | 8 ++------ > 2 files changed, 4 insertions(+), 7 deletions(-) > > diff --git a/main/nginx-initscripts/APKBUILD > b/main/nginx-initscripts/APKBUILD > index 3d263bc..be9ab6f 100644 > --- a/main/nginx-initscripts/APKBUILD > +++ b/main/nginx-initscripts/APKBUILD > @@ -1,7 +1,8 @@ > # Maintainer: Natanael Copa > +# Contributor: Valery Kartel > > pkgname=nginx-initscripts > -pkgver=1.8.0 > +pkgver=1.8.1 > pkgrel=0 > pkgdesc="initscripts and logrotate config for nginx" > url="http://www.nginx.org" > diff --git a/main/nginx-initscripts/nginx.logrotate > b/main/nginx-initscripts/nginx.logrotate > index 00e5a94..75815c9 100644 > --- a/main/nginx-initscripts/nginx.logrotate > +++ b/main/nginx-initscripts/nginx.logrotate > @@ -1,12 +1,8 @@ > -# Copyright 1999-2010 Gentoo Foundation > -# Distributed under the terms of the GNU General Public License v2 > -# $Header: > /var/cvsroot/gentoo-x86/www-servers/nginx/files/nginx.logrotate,v 1.1 > 2010/01/03 20:29:40 djc Exp $ > - > -/var/log/nginx/*.log { > +/var/log/nginx/log { > missingok > sharedscripts > postrotate > - test -r /var/run/nginx.pid && kill -USR1 `cat > /var/run/nginx.pid` > + /etc/init.d/nginx --quiet --ifstarted reload > endscript > } > > -- > 2.7.0 > > --001a11c33e22ffba73052a4cc99b Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
This patch is not needed, and it contains an error.

2016-01-27 10:39 GMT+02:00 Valery Kartel <valery.kartel@gmail= .com>:
- cleanups in logrot= ate
---
=C2=A0main/nginx-initscripts/APKBUILD=C2=A0 =C2=A0 =C2=A0 =C2=A0 | 3 ++- =C2=A0main/nginx-initscripts/nginx.logrotate | 8 ++------
=C2=A02 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/main/nginx-initscripts/APKBUILD b/main/nginx-initscripts/APKBU= ILD
index 3d263bc..be9ab6f 100644
--- a/main/nginx-initscripts/APKBUILD
+++ b/main/nginx-initscripts/APKBUILD
@@ -1,7 +1,8 @@
=C2=A0# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+# Contributor: Valery Kartel <valery.kartel@gmail.com>

=C2=A0pkgname=3Dnginx-initscripts
-pkgver=3D1.8.0
+pkgver=3D1.8.1
=C2=A0pkgrel=3D0
=C2=A0pkgdesc=3D"initscripts and logrotate config for nginx"
=C2=A0url=3D"http://www.nginx.org"
diff --git a/main/nginx-initscripts/nginx.logrotate b/main/nginx-initscript= s/nginx.logrotate
index 00e5a94..75815c9 100644
--- a/main/nginx-initscripts/nginx.logrotate
+++ b/main/nginx-initscripts/nginx.logrotate
@@ -1,12 +1,8 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-servers/nginx/files/nginx.logrotate= ,v 1.1 2010/01/03 20:29:40 djc Exp $
-
-/var/log/nginx/*.log {
+/var/log/nginx/log {
=C2=A0 =C2=A0 =C2=A0 =C2=A0 missingok
=C2=A0 =C2=A0 =C2=A0 =C2=A0 sharedscripts
=C2=A0 =C2=A0 =C2=A0 =C2=A0 postrotate
-=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0test -r /var/run/ng= inx.pid && kill -USR1 `cat /var/run/nginx.pid`
+=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0/etc/init.d/nginx -= -quiet --ifstarted reload
=C2=A0 =C2=A0 =C2=A0 =C2=A0 endscript
=C2=A0}

--
2.7.0


--001a11c33e22ffba73052a4cc99b-- --- Unsubscribe: alpine-aports+unsubscribe@lists.alpinelinux.org Help: alpine-aports+help@lists.alpinelinux.org ---