Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 51015 invoked from network); 4 Jan 2009 16:41:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 4 Jan 2009 16:41:11 -0000 Received: (qmail 99294 invoked by uid 500); 4 Jan 2009 16:41:11 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 99254 invoked by uid 500); 4 Jan 2009 16:41:11 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 99245 invoked by uid 99); 4 Jan 2009 16:41:10 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Jan 2009 08:41:10 -0800 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Jan 2009 16:41:04 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id EE57823888E7; Sun, 4 Jan 2009 08:40:43 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r731295 - in /apr/apr-util/branches/1.4.x: ./ CHANGES build/rpm/apr-util.spec.in Date: Sun, 04 Jan 2009 16:40:43 -0000 To: commits@apr.apache.org From: minfrin@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20090104164043.EE57823888E7@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: minfrin Date: Sun Jan 4 08:40:43 2009 New Revision: 731295 URL: http://svn.apache.org/viewvc?rev=731295&view=rev Log: Backport r731293 to apr-util-1.4 branch. Modified: apr/apr-util/branches/1.4.x/ (props changed) apr/apr-util/branches/1.4.x/CHANGES apr/apr-util/branches/1.4.x/build/rpm/apr-util.spec.in Propchange: apr/apr-util/branches/1.4.x/ ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Sun Jan 4 08:40:43 2009 @@ -1 +1 @@ -/apr/apr-util/trunk:731033-731034,731225,731236,731291 +/apr/apr-util/trunk:731033-731034,731225,731236,731291,731293 Modified: apr/apr-util/branches/1.4.x/CHANGES URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.4.x/CHANGES?rev=731295&r1=731294&r2=731295&view=diff ============================================================================== --- apr/apr-util/branches/1.4.x/CHANGES [utf-8] (original) +++ apr/apr-util/branches/1.4.x/CHANGES [utf-8] Sun Jan 4 08:40:43 2009 @@ -1,6 +1,9 @@ -*- coding: utf-8 -*- Changes with APR-util 1.4.0 + *) Add optional dbm, openssl and nss subpackages to the RPM spec file. + [Graham Leggett] + *) apr_crypto_nss: Oh that it was this easy. Use pgk-config to find NSS where possible. [Graham Leggett] Modified: apr/apr-util/branches/1.4.x/build/rpm/apr-util.spec.in URL: http://svn.apache.org/viewvc/apr/apr-util/branches/1.4.x/build/rpm/apr-util.spec.in?rev=731295&r1=731294&r2=731295&view=diff ============================================================================== --- apr/apr-util/branches/1.4.x/build/rpm/apr-util.spec.in (original) +++ apr/apr-util/branches/1.4.x/build/rpm/apr-util.spec.in Sun Jan 4 08:40:43 2009 @@ -31,6 +31,15 @@ of the Apache Portable Runtime (APR) is to provide a free library of C data structures and routines. +%package dbm +Group: Development/Libraries +Summary: APR utility library DBM driver +BuildRequires: db4-devel +Requires: apr-util = %{version}-%{release} + +%description dbm +This package provides the DBM driver for the apr-util. + %package pgsql Group: Development/Libraries Summary: APR utility library PostgreSQL DBD driver @@ -90,6 +99,24 @@ %description ldap This package provides the LDAP support for the apr-util. +%package openssl +Group: Development/Libraries +Summary: APR utility library OpenSSL crypto support +BuildRequires: openssl-devel +Requires: apr-util = %{version}-%{release} + +%description openssl +This package provides crypto support for apr-util based on OpenSSL. + +%package nss +Group: Development/Libraries +Summary: APR utility library NSS crypto support +BuildRequires: nss-devel +Requires: apr-util = %{version}-%{release} + +%description nss +This package provides crypto support for apr-util based on Mozilla NSS. + %prep %setup -q @@ -99,6 +126,7 @@ --with-ldap --without-gdbm \ --with-sqlite3 --with-pgsql --with-mysql --with-freetds --with-odbc \ --with-berkeley-db \ + --with-crypto --with-openssl --with-nss \ --without-sqlite2 make %{?_smp_mflags} && make dox @@ -132,6 +160,10 @@ %{_libdir}/libaprutil-%{apuver}.so.* %dir %{_libdir}/apr-util-%{apuver} +%files dbm +%defattr(-,root,root,-) +%{_libdir}/apr-util-%{apuver}/apr_dbm_db* + %files pgsql %defattr(-,root,root,-) %{_libdir}/apr-util-%{apuver}/apr_dbd_pgsql* @@ -156,6 +188,14 @@ %defattr(-,root,root,-) %{_libdir}/apr-util-%{apuver}/apr_ldap* +%files openssl +%defattr(-,root,root,-) +%{_libdir}/apr-util-%{apuver}/apr_crypto_openssl* + +%files nss +%defattr(-,root,root,-) +%{_libdir}/apr-util-%{apuver}/apr_crypto_nss* + %files devel %defattr(-,root,root,-) %{_bindir}/apu-%{apuver}-config