Date: Wed, 11 Jun 2003 18:24:36 +0200 From: Cyrille Lefevre <cyrille.lefevre@laposte.net> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/53209: Maintainer update: french/plgrenouille (0.61.7 - security fix) Message-ID: <20030611162435.GA63227@gits.dyndns.org> Resent-Message-ID: <200306111630.h5BGUHNE077467@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
Note: There was a bad value `no=20' for the field `>Confidential:'. It was set to the default value of `yes'. >Number: 53209 >Category: ports >Synopsis: Maintainer update: french/plgrenouille (0.61.7 - security fix) >Confidential: yes >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: maintainer-update >Submitter-Id: current-users >Arrival-Date: Wed Jun 11 09:30:16 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Cyrille Lefevre >Release: FreeBSD 5.0-RELEASE-p7 i386 >Organization: ACME >Environment: System: FreeBSD gits 5.0-RELEASE-p7 FreeBSD 5.0-RELEASE-p7 #12: Wed Apr 30 = 16:52:24 CEST 2003 root@gits:/disk3/freebsd/current/obj/disk3/freebsd/curre= nt/src/sys/CUSTOM i386 >Description: Makefile PORTVERSION bumped distinfo updated pkg-install exit 0 added files/patch-plgrenouille.pl updated >How-To-Repeat: n/a >Fix: Index: Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/ports/french/plgrenouille/Makefile,v retrieving revision 1.4 diff -u -I$Id.*$ -I$.+BSD.*$ -r1.4 Makefile --- Makefile 21 Feb 2003 12:00:35 -0000 1.4 +++ Makefile 30 Apr 2003 20:51:18 -0000 @@ -6,7 +6,7 @@ # =20 PORTNAME=3D plgrenouille -PORTVERSION=3D 0.61.6 +PORTVERSION=3D 0.61.7 CATEGORIES=3D french net MASTER_SITES=3D ftp://blade.concept-micro.com/debian/ DISTNAME=3D ${PORTNAME}_${PORTVERSION:R}-${PORTVERSION:E} Index: distinfo =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/ports/french/plgrenouille/distinfo,v retrieving revision 1.2 diff -u -I$Id.*$ -I$.+BSD.*$ -r1.2 distinfo --- distinfo 3 Feb 2003 23:40:33 -0000 1.2 +++ distinfo 30 Apr 2003 20:51:31 -0000 @@ -1 +1 @@ -MD5 (plgrenouille_0.61-6.tar.gz) =3D 1fbc3bb8a54b3a569e8ccfcdcde1f297 +MD5 (plgrenouille_0.61-7.tar.gz) =3D 6dbeb8c7c9de4724f4fd4b809913f08b Index: pkg-install =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/ports/french/plgrenouille/pkg-install,v retrieving revision 1.1 diff -u -I$Id.*$ -I$.+BSD.*$ -r1.1 pkg-install --- pkg-install 13 Nov 2002 17:30:05 -0000 1.1 +++ pkg-install 11 Jun 2003 14:11:05 -0000 @@ -35,3 +35,5 @@ fi ;; esac + +exit 0 Index: files/patch-plgrenouille.pl =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/ncvs/ports/french/plgrenouille/files/patch-plgrenouille.pl,v retrieving revision 1.1 diff -u -I$Id.*$ -I$.+BSD.*$ -r1.1 patch-plgrenouille.pl --- files/patch-plgrenouille.pl 13 Nov 2002 17:30:05 -0000 1.1 +++ files/patch-plgrenouille.pl 30 Apr 2003 20:57:08 -0000 @@ -1,5 +1,5 @@ ---- plgrenouille.pl.orig Tue Nov 5 19:42:49 2002 -+++ plgrenouille.pl Wed Nov 13 15:51:51 2002 +--- plgrenouille.pl.orig Mon Mar 17 15:52:56 2003 ++++ plgrenouille.pl Wed Apr 30 22:56:55 2003 @@ -1,4 +1,4 @@ -#!/usr/bin/perl -Tw +#!%%PERL%% -Tw @@ -49,7 +49,7 @@ print <<"EOUSAGE"; Usage: $VERSION{'client'} [-c|--configure] [-b|--background] [-h|-?|--hel= p] [[-l |--log=3D]priorit=E9] [[-v |--verbose=3D]priorit=E9] -@@ -101,7 +105,7 @@ +@@ -109,7 +113,7 @@ =20 # for milliseconds; otherwise would use built-in time. =20 @@ -58,7 +58,7 @@ =20 sub microtime() { my ($timeval, $timezone, $sec, $usec); -@@ -187,36 +191,21 @@ +@@ -205,36 +209,21 @@ die "Priorit=E9 $level inconnue" unless $DISPLAY_LEVEL; } =20 @@ -103,7 +103,7 @@ die "Pas d'interface $if_device ?"; } =20 -@@ -332,6 +321,7 @@ +@@ -350,6 +339,7 @@ } =20 sub load_preferences() { @@ -111,28 +111,15 @@ eval { if (open(CONFIG, "<$MYRC")) { while (<CONFIG>) { -@@ -343,10 +333,12 @@ +@@ -360,6 +350,7 @@ + close(CONFIG); } }; - die if $@; + swap_privileges(); - } -=20 - sub store_preferences() { - my($oldumask) =3D umask 0177; -+ swap_privileges(); - eval { - if(open(CONFIG, ">$MYRC")) { - map { print CONFIG "$_=3D$preferences{$_}\n"; } sort keys %preferenc= es; -@@ -355,6 +347,7 @@ - display_and_log('WARNING', "Ecriture du fichier $MYRC impossible: v= =E9rifier les permissions"); - } - }; -+ swap_privileges(); - umask $oldumask; die if $@; } -@@ -420,7 +413,7 @@ +=20 +@@ -442,7 +433,7 @@ sub get_preferences() { load_preferences(); =20 @@ -141,7 +128,7 @@ if not defined $preferences{'user'} or=20 not defined $preferences{'pass'} or not defined $preferences{'email'} or=20 -@@ -434,20 +427,20 @@ +@@ -456,20 +447,20 @@ # plgrenouille uses the default route interface sub autodetect_interface() { $vars{'ip'} =3D ''; @@ -171,7 +158,7 @@ =20 display_and_log('NOTICE', "$preferences{'interface'} sera utilis=E9 p= our les mesures") if $preferences{'interface'}; } -@@ -1160,8 +1153,6 @@ +@@ -1182,8 +1173,6 @@ =20 # --------------------------- MAIN ---------------------------- =20 @@ -180,7 +167,7 @@ Getopt::Long::Configure('bundling'); # 'no_ignore_case' eval { GetOptions(\%params, -@@ -1169,6 +1160,7 @@ +@@ -1191,6 +1180,7 @@ 'verbose|v=3Ds', \&set_verbose_level, 'configure|setup|c', 'background|b', @@ -188,7 +175,7 @@ 'help|h|?'); }; if ($@) { -@@ -1177,6 +1169,10 @@ +@@ -1199,6 +1189,10 @@ } usage(1) if scalar @ARGV; usage(0) if $params{'help'}; >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030611162435.GA63227>