mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-08 23:06:56 +00:00
103 lines
3.0 KiB
Plaintext
103 lines
3.0 KiB
Plaintext
*** adcomplain.pl.orig Fri Nov 14 19:36:55 1997
|
|
--- adcomplain.pl Fri Nov 14 19:38:44 1997
|
|
***************
|
|
*** 1,3 ****
|
|
--- 1,4 ----
|
|
+ #!/usr/bin/perl
|
|
#! /bin/sh -- # -*- perl -*-
|
|
# first line invokes sh. Some systems may need to refer to perl directly, i.e.:
|
|
|
|
***************
|
|
*** 7,14 ****
|
|
# allows perl to be _anywhere_ in the user's path. The intent is to reduce
|
|
# the need to edit this file.
|
|
|
|
! eval 'exec perl $0 ${1+"$@"}'
|
|
! if 0; # tee hee! This is on a separate line, so /bin/sh never sees it.
|
|
|
|
#-----------------------------------------------
|
|
# DESCRIPTION
|
|
--- 8,15 ----
|
|
# allows perl to be _anywhere_ in the user's path. The intent is to reduce
|
|
# the need to edit this file.
|
|
|
|
! #eval 'exec perl $0 ${1+"$@"}'
|
|
! #if 0; # tee hee! This is on a separate line, so /bin/sh never sees it.
|
|
|
|
#-----------------------------------------------
|
|
# DESCRIPTION
|
|
***************
|
|
*** 255,261 ****
|
|
|
|
# this is the name of the mail utility (see sendmail(8) man page)
|
|
# type "/bin/which sendmail" to find out where sendmail is on your system
|
|
! $mailcmd = "/usr/lib/sendmail -t";
|
|
|
|
# this is a list of domain names for your system (e.g., "compuserve.com")
|
|
# Names in this list are considered "friendly". Including your own system
|
|
--- 256,262 ----
|
|
|
|
# this is the name of the mail utility (see sendmail(8) man page)
|
|
# type "/bin/which sendmail" to find out where sendmail is on your system
|
|
! $mailcmd = "/usr/sbin/sendmail -t";
|
|
|
|
# this is a list of domain names for your system (e.g., "compuserve.com")
|
|
# Names in this list are considered "friendly". Including your own system
|
|
***************
|
|
*** 423,429 ****
|
|
}
|
|
|
|
# Make sure critical messages are seen
|
|
! if ($poster eq "" || $complain_to eq "") {
|
|
print "Press enter to continue.... ";
|
|
$ans = <STDIN>;
|
|
}
|
|
--- 424,430 ----
|
|
}
|
|
|
|
# Make sure critical messages are seen
|
|
! if (!$quiet && ($poster eq "" || $complain_to eq "")) {
|
|
print "Press enter to continue.... ";
|
|
$ans = <STDIN>;
|
|
}
|
|
***************
|
|
*** 516,521 ****
|
|
--- 517,523 ----
|
|
close TEXTFILE;
|
|
$response = ""; # garbage collection
|
|
|
|
+ if (!$quiet) {
|
|
## print copy of message on terminal
|
|
print "\n";
|
|
$pager = $ENV{"PAGER"};
|
|
***************
|
|
*** 550,555 ****
|
|
--- 552,561 ----
|
|
} # for
|
|
|
|
print "\n";
|
|
+ } else {
|
|
+ system "$mailcmd <$tempname"; # Unix dependent
|
|
+ print "sent\n";
|
|
+ }
|
|
unlink $tempname;
|
|
close STDIN;
|
|
exit 0;
|
|
***************
|
|
*** 2032,2038 ****
|
|
"0200", "EET, MET DST, METDST, MEST, MESZ, SST, FST, O",
|
|
# Middle Europe Daylight
|
|
# Swedish Summer Time, French Summer Time
|
|
! "0300", "EET DST, IST, BT, P", # Turkey, Israel
|
|
"0330", "IT", # Iran?
|
|
"0400", "IDT, MSD, ZP4, Q",
|
|
"0500", "ZP5, R", # USSR Zone 4
|
|
--- 2038,2044 ----
|
|
"0200", "EET, MET DST, METDST, MEST, MESZ, SST, FST, O",
|
|
# Middle Europe Daylight
|
|
# Swedish Summer Time, French Summer Time
|
|
! "0300", "EET DST, IST, MSK, BT, P", # Turkey, Moscow, Israel
|
|
"0330", "IT", # Iran?
|
|
"0400", "IDT, MSD, ZP4, Q",
|
|
"0500", "ZP5, R", # USSR Zone 4
|