Re: The great perl script rewrite - big problem

2002-12-08 Thread Giorgos Keramidas
On 2002-12-08 16:03, Riccardo Torrini <[EMAIL PROTECTED]> wrote:
> I contributed to the great perl script rewrite but seems that
> we forgot to rewrite some important perl script:
>
> # grep -lR perl /etc/periodic/
> /etc/periodic/daily/440.status-mailq
> /etc/periodic/daily/460.status-mail-rejects
> /etc/periodic/daily/470.status-named
> /etc/periodic/security/550.ipfwlimit
> /etc/periodic/security/650.ip6fwlimit

I believe this has been fixed now, after my last commit to those exact
files.  Thanks for noticing this and mailing Mark and the list though.

> I think that an awk migration may be appropriate, and also a MFC.
> Also a Cc: to stable people may be required.

I'm not sure about MFC'ing this, since 4.X installations have Perl in
the FreeBSD base-system.  I don't have a -STABLE installation nearby,
but if anyone feels like testing the changes I made to 5.0 and
backporting them to 4.X, I do not have any sort of objection.

I would only suggest waiting at fair period for this to settle in,
since I know of some cases that the style of the scripts I wrote might
need fixing.  If anyone wants to MFC the changes, please wait at least
a few weeks before committing anything to STABLE.  There isn't any
compelling reason why these should be merged *now*.

Giorgos


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: The great perl script rewrite - big problem

2002-12-08 Thread Riccardo Torrini
On 08-Dec-2002 (17:54:49/GMT) Mark Murray wrote:

> The Perl rewrite does not affect 4.x, only 5.x.

Yes, I know, but I think would be usefull remove it also from
4.x, at least for small job (perl script inline, as in periodic).


>> Because FreeBSD.org use postfix I think it already resolved this
>> issue, can you distribute your special periodic scripts?

What about support for postfix MTA in daily 460?


Riccardo.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: The great perl script rewrite - big problem

2002-12-08 Thread Mark Murray
Hi

The Perl rewrite does not affect 4.x, only 5.x.

M

> I contributed to the great perl script rewrite but seems that
> we forgot to rewrite some important perl script:
> 
> # grep -lR perl /etc/periodic/
> /etc/periodic/daily/440.status-mailq
> /etc/periodic/daily/460.status-mail-rejects
> /etc/periodic/daily/470.status-named
> /etc/periodic/security/550.ipfwlimit
> /etc/periodic/security/650.ip6fwlimit
> 
> I noticed this after installing postfix MTA into my 4.7 home server.
> 
> BTW: postfix port disable periodic with this variables:
> 
> # cat /etc/periodic.conf
> daily_status_mail_rejects_enable="NO"
> daily_status_include_submit_mailq="NO"
> daily_submit_queuerun="NO"
> 
> 
> Because FreeBSD.org use postfix I think it already resolved this
> issue, can you distribute your special periodic scripts?
> I tryed to convert 460* myself but the perl line is really too
> complex for me  :-(
> 
> I think that an awk migration may be appropriate, and also a MFC.
> Also a Cc: to stable people may be required.
> 
> 
> Riccardo.
--
Mark Murray
Beware! I'm umop ap!sdn

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: The great perl script rewrite - big problem

2002-12-08 Thread Riccardo Torrini
On 08-Dec-2002 (17:07:02/GMT) Christian Brueffer wrote:

> this has already been taken care of:
> keramida2002/12/07 15:37:45 PST
>   Log:
>   Avoid using perl in the periodic & security scripts.  This brings
>   the base system one step closer to being totally perl-free.

And me one step back  :-(  My system was from December 6.
Sorry, pilot error.  I'm now rebuilding my world & kernel.

--
>>> Kernel build for TRUDY completed on Sun Dec  8 18:27:36 CET 2002
--

Done.  Now installing...


Riccardo.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message



Re: The great perl script rewrite - big problem

2002-12-08 Thread Christian Brueffer
On Sun, Dec 08, 2002 at 04:03:48PM +0100, Riccardo Torrini wrote:
> I contributed to the great perl script rewrite but seems that
> we forgot to rewrite some important perl script:
> 
> # grep -lR perl /etc/periodic/
> /etc/periodic/daily/440.status-mailq
> /etc/periodic/daily/460.status-mail-rejects
> /etc/periodic/daily/470.status-named
> /etc/periodic/security/550.ipfwlimit
> /etc/periodic/security/650.ip6fwlimit
> 
> I noticed this after installing postfix MTA into my 4.7 home server.
> 
> BTW: postfix port disable periodic with this variables:
> 
> # cat /etc/periodic.conf
> daily_status_mail_rejects_enable="NO"
> daily_status_include_submit_mailq="NO"
> daily_submit_queuerun="NO"
> 
> 
> Because FreeBSD.org use postfix I think it already resolved this
> issue, can you distribute your special periodic scripts?
> I tryed to convert 460* myself but the perl line is really too
> complex for me  :-(
> 
> I think that an awk migration may be appropriate, and also a MFC.
> Also a Cc: to stable people may be required.
> 

Hi,

this has already been taken care of:


keramida2002/12/07 15:37:45 PST

  Modified files:
  etc/periodic/daily   440.status-mailq 460.status-mail-rejects
   470.status-named
  etc/periodic/security 550.ipfwlimit 650.ip6fwlimit
  Log:
  Avoid using perl in the periodic & security scripts.  This brings the
  base system one step closer to being totally perl-free.
  
  Approved by:re (jhb)

  Revision  ChangesPath
  1.9   +3 -3  src/etc/periodic/daily/440.status-mailq
  1.15  +4 -3  src/etc/periodic/daily/460.status-mail-rejects
  1.4   +23 -23src/etc/periodic/daily/470.status-named
  1.5   +4 -2  src/etc/periodic/security/550.ipfwlimit
  1.5   +4 -2  src/etc/periodic/security/650.ip6fwlimit


- Christian

-- 
http://www.unixpages.org[EMAIL PROTECTED]
GPG Pub-Key: www.unixpages.org/cbrueffer.asc
GPG Fingerprint: A5C8 2099 19FF AACA F41B  B29B 6C76 178C A0ED 982D
GPG Key ID : 0xA0ED982D



msg48358/pgp0.pgp
Description: PGP signature


The great perl script rewrite - big problem

2002-12-08 Thread Riccardo Torrini
I contributed to the great perl script rewrite but seems that
we forgot to rewrite some important perl script:

# grep -lR perl /etc/periodic/
/etc/periodic/daily/440.status-mailq
/etc/periodic/daily/460.status-mail-rejects
/etc/periodic/daily/470.status-named
/etc/periodic/security/550.ipfwlimit
/etc/periodic/security/650.ip6fwlimit

I noticed this after installing postfix MTA into my 4.7 home server.

BTW: postfix port disable periodic with this variables:

# cat /etc/periodic.conf
daily_status_mail_rejects_enable="NO"
daily_status_include_submit_mailq="NO"
daily_submit_queuerun="NO"


Because FreeBSD.org use postfix I think it already resolved this
issue, can you distribute your special periodic scripts?
I tryed to convert 460* myself but the perl line is really too
complex for me  :-(

I think that an awk migration may be appropriate, and also a MFC.
Also a Cc: to stable people may be required.


Riccardo.

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message