]> git.pld-linux.org Git - packages/anubis.git/blobdiff - anubis.spec
- updated to 3.9.96
[packages/anubis.git] / anubis.spec
index ba8a0f5d77d859070e198422d876cb3df47e382e..94718a8fd9e0c83be40811dfefd889ece3944641 100644 (file)
@@ -1,21 +1,25 @@
 #
+# TODO: update patches
+#
 # Conditional build:
 %bcond_with    gnutls          # use GnuTLS library instead of OpenSSL
 %bcond_without tcp_wrappers    # disable using tcp_wrappers for access control
 %bcond_without pam             # disable using of PAM authentcation
 %bcond_without gpgme           # disable using gpgme library for signing/encrypting with gnupg
 %bcond_without pcre            # disable using pcre library
+%bcond_with    mysql           # enable MySQL support
+%bcond_with    postgres        # enable PostgreSQL support
 #
 %include       /usr/lib/rpm/macros.perl
 Summary:       An outgoing mail processor, and the SMTP tunnel
 Summary(pl):   Procesor wychodz±cej poczty i tunel SMTP
 Name:          anubis
-Version:       3.6.2
-Release:       4
+Version:       3.9.96
+Release:       0.1
 License:       GPL
 Group:         Applications/Mail
-Source0:       ftp://ftp.gnu.org/gnu/anubis/%{name}-%{version}.tar.gz
-# Source0-md5: 9e705e38cafe4a57025a6ad89fd73226
+Source0:       ftp://mirddin.farlep.net/pub/alpha/anubis/%{name}-%{version}.tar.gz
+# Source0-md5: 7c2dd4cf1c3632acd2fe86f1a604b047
 Source1:       %{name}.init
 Source2:       %{name}.pamd
 Patch0:                %{name}-info.patch
@@ -31,9 +35,9 @@ BuildRequires:        bison
 %{?with_gnutls:BuildRequires:  gnutls-devel}
 %{?with_gpgme:BuildRequires:   gpgme-devel >= 0.3.12}
 %{?with_tcp_wrappers:BuildRequires:    libwrap-devel}
-%{!?with_gnutls:BuildRequires: openssl-devel >= 0.9.7c}
-%{?with_pam:BuildRequires:     pam-devel}
-%{?with_pcre:BuildRequires:    pcre-devel}
+%{!?with_gnutls:BuildRequires: openssl-devel >= 0.9.7d}
+%{?with_postgres:BuildRequires:        postgres-devel}
+%{?with_mysql:BuildRequires:   mysql-devel}
 BuildRequires: rpm-perlprov
 BuildRequires: texinfo
 PreReq:                rc-scripts
@@ -102,11 +106,11 @@ Anubis.
 
 %prep
 %setup -q
-%patch0 -p1
-%patch1 -p1
-%patch2 -p1
-%patch3 -p1
-%patch4 -p1
+#%patch0 -p1
+#%patch1 -p1
+#%patch2 -p1
+#%patch3 -p1
+#%patch4 -p1
 
 %build
 %{__gettextize}
@@ -119,6 +123,8 @@ Anubis.
 %{?with_pam:           --with-pam} \
 %{?with_pcre:          --with-pcre} \
 %{!?with_gpgme:                --without-gpgme} \
+%{?with_mysql:         --with-mysql} \
+%{?with_postgres:      --with-postgres} \
 %{?with_tcp_wrappers:  --with-tcp-wrappers} \
        --disable-dependency-tracking
 
This page took 0.030865 seconds and 4 git commands to generate.