delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2009/09/28/11:46:56

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_00,SARE_MSGID_LONG40,SPF_PASS
X-Spam-Check-By: sourceware.org
MIME-Version: 1.0
In-Reply-To: <af075b00903190936y1dd515fdi237abe92d7321b1b@mail.gmail.com>
References: <af075b00903190936y1dd515fdi237abe92d7321b1b AT mail DOT gmail DOT com>
From: Julio Costa <costaju AT gmail DOT com>
Date: Mon, 28 Sep 2009 16:46:20 +0100
Message-ID: <af075b00909280846s5c44a9fevbdec5744671486e4@mail.gmail.com>
Subject: Re: syslog-ng: some packaging glitches
To: cygwin AT cygwin DOT com
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

Hi,

On Thu, Mar 19, 2009 at 17:36, Julio Emanuel <> wrote:
> Hi Corinna (I think this is with you),
>
> I've been struggling with a small (but deadly) problem in the current
> syslog-ng package:
> ~ $ cygcheck -c syslog-ng
> Cygwin Package Information
> Package =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0Version =C2=A0 =
=C2=A0 =C2=A0 =C2=A0Status
> syslog-ng =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A03.0.1-1 =C2=A0 =C2=A0 =
=C2=A0 =C2=A0OK
>
> The service could not be started after running syslog-ng-config,
> complaining like this: "Improperly formatted configuration pragma,
> colon expected; line=3D'@version 3.0\x0a'".

This still happens :(

... and that's normal, because there were no new syslog releases since! :)

The patch (in correct order this time):

~ $ diff -u /usr/bin/syslog-ng-config.old /usr/bin/syslog-ng-config
--- /usr/bin/syslog-ng-config.old       2009-09-28 16:15:27.367887300 +0100
+++ /usr/bin/syslog-ng-config   2009-09-28 16:15:50.197327200 +0100
@@ -205,7 +205,7 @@
 then
   echo "Creating default ${SYSCONFDIR}/syslog-ng.conf file"
   cat > ${SYSCONFDIR}/syslog-ng.conf << EOF
-@version 3.0
+@version: 3.0
 options {
   keep_hostname(yes);
   owner("system");

Could we have a 3.0.1-2, please? Or a 3.0.x whatever. I recall that
there were some other problems, but those related with upstream code.
I'll probably bump  into them in the new few hours :(

Also, as a sidenote, It's very disturbing finding that I'm the only
syslog-ng cygwin user in this 6+ months!?
At least I've no other explanation why no one else had problems with
syslog-ng...

--=20
___________
Julio Costa

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019