+ cat >root-mail.diff <<EOF
+--- /dev/null Fri Mar 15 02:04:08 2002
++++ root/.forward Fri Mar 15 04:30:57 2002
+@@ -0,0 +1,2 @@
++\root
++jan.kolar@jklabs.cz
+EOF
+ cat >sendmail.diff <<EOF
+--- etc/rc.conf-orig Fri Feb 22 12:40:54 2002
++++ etc/rc.conf Tue Mar 12 15:14:38 2002
+@@ -132,7 +132,7 @@
+ cron_enable="YES" # Run the periodic job daemon.
+ lpd_enable="NO" # Run the line printer daemon.
+ lpd_flags="" # Flags to lpd (if enabled).
+-sendmail_enable="YES" # Run the sendmail daemon (or NO).
++sendmail_enable="NO" # Run the sendmail daemon (or NO).
+ sendmail_flags="-bd -q30m" # -bd is pretty mandatory.
+ dumpdev="NO" # Device name to crashdump to (if enabled).
+ check_quotas="NO" # Check quotas (or NO).
+--- etc/inetd.conf-orig Tue Mar 12 15:15:35 2002
++++ etc/inetd.conf Tue Mar 12 15:10:19 2002
+@@ -65,3 +65,6 @@
+ #
+ #netbios-ssn stream tcp nowait root /usr/local/sbin/smbd smbd
+ #netbios-ns dgram udp wait root /usr/local/sbin/nmbd nmbd
++
++# Jan Kolar <jan.kolar@jklabs.cz> /Lace
++smtp stream tcp nowait root /usr/local/libexec/tcpd /usr/sbin/sendmail -bs
+--- /dev/null Tue Mar 12 15:13:23 2002
++++ usr/local/etc/hosts.allow Tue Mar 12 15:13:46 2002
+@@ -0,0 +1 @@
++sendmail : 127. 10.
+--- /dev/null Tue Mar 12 15:13:23 2002
++++ usr/local/etc/hosts.deny Tue Mar 12 15:11:50 2002
+@@ -0,0 +1 @@
++sendmail : ALL
+--- etc/crontab-orig Wed Oct 22 00:21:08 1997
++++ etc/crontab Tue Mar 12 15:18:42 2002
+@@ -23,3 +23,6 @@
+ # does nothing, if you have UTC cmos clock.
+ # See adjkerntz(8) for details.
+ 1,31 0-4 * * * root /sbin/adjkerntz -a
++
++# Jan Kolar <jan.kolar@jklabs.cz> /Lace
++*/30 * * * * root /usr/sbin/sendmail -q
+EOF
+ cat >openssh-3.1p1-i386-unknown-freebsd2.2.5.diff <<EOF
+--- configure.ac-orig Thu Apr 4 00:35:36 2002
++++ configure.ac Thu Apr 4 00:35:45 2002
+@@ -138,6 +138,7 @@
+ ;;
+ *-*-freebsd*)
+ check_for_libcrypt_later=1
++ AC_DEFINE(HAVE_BOGUS_SYS_QUEUE_H)
+ ;;
+ *-next-*)
+ conf_lastlog_location="/usr/adm/lastlog"
+--- configure-orig Thu Apr 4 00:35:55 2002
++++ configure Thu Apr 4 00:40:37 2002
+@@ -3568,6 +3568,10 @@
+ ;;
+ *-*-freebsd*)
+ check_for_libcrypt_later=1
++ cat >>confdefs.h <<\_ACEOF
++#define HAVE_BOGUS_SYS_QUEUE_H 1
++_ACEOF
++
+ ;;
+ *-next-*)
+ conf_lastlog_location="/usr/adm/lastlog"
+--- defines.h-orig Wed Feb 27 03:40:49 2002
++++ defines.h Thu Apr 4 01:00:56 2002
+@@ -146,7 +146,7 @@
+ including rpc/rpc.h breaks Solaris 6
+ */
+ #ifndef INADDR_LOOPBACK
+-#define INADDR_LOOPBACK ((ulong)0x7f000001)
++#define INADDR_LOOPBACK ((unsigned long)0x7f000001)
+ #endif
+
+ /* Types */
+EOF
+
+# Sendmail
+ (cd /
+ patch -sENp0 </root/enbrace/sendmail.diff
+ )
+ set +e;killall sendmail;set -e