OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 30-Dec-2002 15:32:54
Branch: HEAD Handle: 2002123014325400
Modified files:
openpkg-src/sendmail sendmail.spec
Log:
switch to new %options
Summary:
Revision Changes Path
1.48 +7 -19 openpkg-src/sendmail/sendmail.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/sendmail/sendmail.spec
============================================================================
$ cvs diff -u -r1.47 -r1.48 sendmail.spec
--- openpkg-src/sendmail/sendmail.spec 30 Dec 2002 07:58:55 -0000 1.47
+++ openpkg-src/sendmail/sendmail.spec 30 Dec 2002 14:32:54 -0000 1.48
@@ -24,18 +24,10 @@
##
# package options
-%ifndef with_tls
-%define with_tls no
-%endif
-%ifndef with_sasl
-%define with_sasl no
-%endif
-%ifndef with_milter
-%define with_milter no
-%endif
-%ifndef with_ldap
-%define with_ldap no
-%endif
+%option with_tls no
+%option with_sasl no
+%option with_milter no
+%option with_ldap no
# package information
Name: sendmail
@@ -59,8 +51,8 @@
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
-BuildPreReq: OpenPKG, openpkg, m4, fsl, tar, gcc, make, db >= 4.1.25
-PreReq: OpenPKG, openpkg, m4, fsl, make, perl
+BuildPreReq: OpenPKG, openpkg >= 20021230, m4, fsl, tar, gcc, make, db >= 4.1.25
+PreReq: OpenPKG, openpkg >= 20021230, m4, fsl, make, perl
%if "%{with_tls}" == "yes"
BuildPreReq: openssl
%endif
@@ -81,11 +73,7 @@
fsl(3) logging rather than syslog(3) and optional STARTTLS,
SMTPAUTH, Milter and LDAP support.
- Options:
- --define 'with_tls %{with_tls}'
- --define 'with_sasl %{with_sasl}'
- --define 'with_milter %{with_milter}'
- --define 'with_ldap %{with_ldap}'
+ %options -p11
%prep
# unpack standard tarballs
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]