ports/67978: [patch] [maintainer-update] sysutils/logrotate bugfix to call scripts with file name as arg1

Balázs Nagy js at iksz.hu
Tue Jun 15 15:50:32 UTC 2004


>Number:         67978
>Category:       ports
>Synopsis:       [patch] [maintainer-update] sysutils/logrotate bugfix to call scripts with file name as arg1
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jun 15 15:50:21 GMT 2004
>Closed-Date:
>Last-Modified:
>Originator:     Balázs Nagy
>Release:        FreeBSD tcb.aranyoroszlan.hu 5.2.1-RELEASE-p5 FreeBSD 5.2.1-RELEASE-p5 #2: Tue Apr 20 19:14:16 CEST 2004     root at tcb.aranyoroszlan.hu:/opt/devel/obj/opt/devel/src/sys/SAMU  i386
>Organization:
>Environment:
>Description:
Wilco van Boxtel reported that prerotate and postrotate scripts don't get the logfile name to be rotated, as it was in previous versions.  The bug was in execlp() call, which calling syntax is execlp(filename, arg0, arg1, ..., argn, NULL), but arg0 is not included in original software.
>How-To-Repeat:
      
>Fix:
This patch-aa replacement fixes the problem:
begin 644 patch-aa
M9&EF9B`M<G5.(&QO9W)O=&%T92TS+C<M;W)I9R]C;VYF:6<N8R!L;V=R;W1A
M=&4M,RXW+V-O;F9I9RYC"BTM+2!L;V=R;W1A=&4M,RXW+6]R:6<O8V]N9FEG
M+F,)36]N(%-E<"`R,B`R,3HQ,3HQ,B`R,#`S"BLK*R!L;V=R;W1A=&4M,RXW
M+V-O;F9I9RYC"4UO;B!-87D@,C0@,#@Z,#DZ,SD@,C`P-`I`0"`M,2PT("LQ
M+#, at 0$`*+2-I;F-L=61E(#QA;&QO8V$N:#X*("-I;F-L=61E(#QC='EP92YH
M/@H@(VEN8VQU9&4@/&1I<F5N="YH/@H@(VEN8VQU9&4@/&5R<FYO+F@^"F1I
M9F8 at +7)U3B!L;V=R;W1A=&4M,RXW+6]R:6<O;&]G<F]T871E+F,@;&]G<F]T
M871E+3,N-R]L;V=R;W1A=&4N8PHM+2T@;&]G<F]T871E+3,N-RUO<FEG+VQO
M9W)O=&%T92YC"51H=2!&96(@(#4@,3DZ-#(Z,3,@,C`P-`HK*RL@;&]G<F]T
M871E+3,N-R]L;V=R;W1A=&4N8PE4=64 at 2G5N(#$U(#$W.C,U.C0X(#(P,#0*
M0$`@+3$L-"`K,2PS($!`"BTC:6YC;'5D92`\86QL;V-A+F@^"B`C:6YC;'5D
M92`\8W1Y<&4N:#X*("-I;F-L=61E(#QD:7)E;G0N:#X*("-I;F-L=61E(#QE
M<G)N;RYH/@I`0"`M,3$P+#<@*S$P.2PW($!`"B`@("`@8VQO<V4H9F0I.PH@
M"B`@("`@:68@*"%F;W)K*"DI('L*+0EE>&5C;'`H9FEL97-P96,L(&QO9V9N
M+"!.54Q,*3L**PEE>&5C;'`H9FEL97-P96,L(&9I;&5S<&5C+"!L;V=F;BP@
;3E5,3"D["B`)97AI="@Q*3L*("`@("!]"B`*
`
end

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list