X-Git-Url: https://code.th-h.de/?p=usenet%2Fyapfaq.git;a=blobdiff_plain;f=yapfaq.pl;h=06734ff7c104c48187ca712d86892c88b48f5d7f;hp=f7e2e551bc7330e74e64cd1ee2c953a9199b8240;hb=7aaba0e0ae35ad6efe161bbe0047bbc18ac227ac;hpb=dc88d13997616fb7f984c7867e675eee50662069 diff --git a/yapfaq.pl b/yapfaq.pl index f7e2e55..06734ff 100644 --- a/yapfaq.pl +++ b/yapfaq.pl @@ -1,23 +1,25 @@ #! /usr/bin/perl -W # -# yapfaq Version 0.5b by Marc 'HE' Brockschmidt +# yapfaq Version 0.6 by Thomas Hochstein +# (Original author: Marc Brockschmidt) # -# This script posts any project described in it's config-file. Most persons +# This script posts any project described in its config-file. Most people # will use it in combination with cron(8). # # Copyright (C) 2003 Marc Brockschmidt +# Copyright (c) 2010 Thomas Hochstein # # It can be redistributed and/or modified under the same terms under # which Perl itself is published. -my $Version = "0.5b"; +my $Version = "0.6-unreleased"; my $NNTPServer = ""; my $NNTPUser = ""; my $NNTPPass = ""; my $Sender = ""; my $ConfigFile = "yapfaq.cfg"; -my $UsePGP = 1; +my $UsePGP = 0; ################################## PGP-Config ################################# @@ -161,7 +163,7 @@ sub postfaq { s/\r//; push (@Body, $_), next if $InRealBody; $InRealBody++ if /^$/; - $LastModified = $1 if /^Last-modified: (\S+)$/; + $LastModified = $1 if /^Last-modified: (\S+)$/i; push @Body, $_; } close FH;