Browse Source

Remove smtpfeed and lmtp2nntp because these are now already provided as separate packages.

Ralf S. Engelschall 24 years ago
parent
commit
e747e8934e
1 changed files with 4 additions and 50 deletions
  1. 4 50
      sendmail/sendmail.spec

+ 4 - 50
sendmail/sendmail.spec

@@ -24,8 +24,6 @@
 
 %define       V_sendmail  8.11.6
 %define       V_wide      8.11.6+3.4W
-%define       V_smtpfeed  1.16
-%define       V_lmtp2nntp 1.0.0
 
 #   package information
 Name:         sendmail
@@ -41,12 +39,10 @@ Release:      %{l_branch}.0
 
 #   list of sources
 Source0:      ftp://ftp.sendmail.org/pub/sendmail/sendmail.%{V_sendmail}.tar.gz
-Source1:      ftp://ftp.kyoto.wide.ad.jp/pub/mail/smtpfeed/smtpfeed-%{V_smtpfeed}.tar.gz
-Source2:      ftp://ftp.ossp.org/pkg/lmtp2nntp/lmtp2nntp-%{V_lmtp2nntp}.tar.gz
-Source3:      etc.sendmail.tar
-Source4:      ftp://ftp.openpkg.org/DST/sendmail/fakesyslog.tar.gz
-Source5:      cf.tar
-Source6:      rc.sendmail
+Source1:      ftp://ftp.openpkg.org/DST/sendmail/fakesyslog.tar.gz
+Source2:      etc.sendmail.tar
+Source3:      cf.tar
+Source4:      rc.sendmail
 Patch0:       ftp://ftp.kyoto.wide.ad.jp/pub/mail/sendmail/sendmail%{V_wide}.patch.gz
 Patch1:       sendmail.%{V_sendmail}.patch.autonomous
 
@@ -66,7 +62,6 @@ Provides:     MTA
     o Sendmail uses two process pools (incoming and outgoing)
     o Sendmail logs directly to the filesystem and not via syslog(3)
     o Sendmail delivers local mail via Procmail to ~<user>/.mail/inbox
-    o Sendmail by default uses SMTPfeed for outgoing mass-delivery
     o Sendmail by default supports STARTTLS
 
 %prep
@@ -74,8 +69,6 @@ Provides:     MTA
     %setup0 -q -c
     %setup1 -q -T -D -a 1
     %setup2 -q -T -D -a 2
-    %setup3 -q -T -D -a 3
-    %setup4 -q -T -D -a 4
 
     #   apply Sendmail patch manually
     ( cd sendmail-%{V_sendmail}/sendmail
@@ -155,29 +148,6 @@ Provides:     MTA
       %{l_make} %{l_mflags} 
     )
 
-    #   build the LMTP mailer SMTPFeed 
-    ( cd smtpfeed-%{V_smtpfeed}
-      %{l_rpmtool} subst \
-          's;smtpfeed 1.[0-9]*;smtpfeed %{V_smtpfeed};' \
-          -- version.c
-      CC="%{l_cc}" \
-      CFLAGS="%{l_cflags -O}" \
-      LDFLAGS="-L$fakesyslogdir" \
-      LIBS="-lfakesyslog" \
-      ./configure \
-          --prefix=%{l_prefix}
-      %{l_make} %{l_mflags -O} 
-    )
-
-    #   build the LMTP mailer LMTP2NNTP 
-    ( cd lmtp2nntp-%{V_lmtp2nntp}
-      CC="%{l_cc}" \
-      CFLAGS="%{l_cflags -O}" \
-      ./configure \
-          --prefix=%{l_prefix}
-      %{l_make} %{l_mflags} 
-    )
-
 %install
     rm -rf $RPM_BUILD_ROOT
     PATH="%{l_prefix}/bin:$PATH"; export PATH
@@ -234,22 +204,6 @@ Provides:     MTA
           contrib/qtool.8 $RPM_BUILD_ROOT%{l_prefix}/man/man8/qtool.8
     )
 
-    #   install SMTPFeed
-    ( cd smtpfeed-%{V_smtpfeed}
-      %{l_shtool} install -c -s -m 755 \
-          smtpfeed $RPM_BUILD_ROOT%{l_prefix}/libexec/sendmail/
-      %{l_shtool} install -c -m 644 \
-          smtpfeed.8 $RPM_BUILD_ROOT%{l_prefix}/man/man8/
-    )
-
-    #   install LMTP2NNTP
-    ( cd lmtp2nntp-%{V_lmtp2nntp}
-      %{l_shtool} install -c -s -m 755 \
-          lmtp2nntp $RPM_BUILD_ROOT%{l_prefix}/libexec/sendmail/
-      %{l_shtool} install -c -m 644 \
-          lmtp2nntp.1 %$RPM_BUILD_ROOT%{l_prefix}/man/man8/lmtp2nntp.8
-    )
-
     #   install a reasonable default configuration
     ( cd etc.sendmail 
       l_hostname=`%{l_shtool} echo -e %h`