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 openpkg-web Date: 24-Feb-2003 16:45:23
Branch: HEAD Handle: 2003022415452002
Modified files:
openpkg-src/imapd imapd.spec
openpkg-web news.txt
Log:
add cyradm stuff
Summary:
Revision Changes Path
1.48 +16 -7 openpkg-src/imapd/imapd.spec
1.3436 +1 -0 openpkg-web/news.txt
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/imapd/imapd.spec
============================================================================
$ cvs diff -u -r1.47 -r1.48 imapd.spec
--- openpkg-src/imapd/imapd.spec 4 Feb 2003 08:45:58 -0000 1.47
+++ openpkg-src/imapd/imapd.spec 24 Feb 2003 15:45:22 -0000 1.48
@@ -33,7 +33,7 @@
Group: Mail
License: BSD
Version: 2.1.12
-Release: 20030204
+Release: 20030224
# list of sources
Source0: ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-imapd-%{version}.tar.gz
@@ -44,14 +44,13 @@
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
-BuildPreReq: OpenPKG, openpkg >= 20020206, sasl, db >= 4.1.24, openssl, make, perl
+BuildPreReq: OpenPKG, openpkg >= 20020206, sasl, db >= 4.1.24, openssl, make,
perl, perl-openpkg
PreReq: OpenPKG, openpkg >= 20020206, sasl, openssl, MTA
AutoReq: no
AutoReqProv: no
Provides: IMAP
%description
-
The Cyrus IMAP server is an IMAP4 and POP3 daemon that differs from
other IMAP server implementations in that it is generally intended to
be run on sealed servers, where normal users are not permitted to log
@@ -61,7 +60,7 @@
%prep
%setup -q -n cyrus-imapd-%{version}
- %patch0 -p0
+ %patch -p0
%build
%{l_shtool} subst -e 's;db-4.1;db;g' configure
@@ -92,8 +91,18 @@
imap/*.c imap/*.h master/*.c master/*.h
%{l_make} %{l_mflags}
+ # build (and install) Perl-based administration stuff
+ %{l_prefix}/bin/perl-openpkg prolog
+ ( cd perl/imap
+ export SASL_INC="%{l_cppflags}"
+ export SASL_LIB="%{l_ldflags} -lsasl2"
+ export OPENSSL_INC="%{l_cppflags}"
+ export OPENSSL_LIB="%{l_ldflags} -lssl -lcrypto"
+ %{l_prefix}/bin/perl-openpkg install )
+
%install
- rm -rf $RPM_BUILD_ROOT
+ #rm -rf $RPM_BUILD_ROOT
+
%{l_make} %{l_mflags} install \
prefix=$RPM_BUILD_ROOT%{l_prefix} \
exec_prefix=$RPM_BUILD_ROOT%{l_prefix} \
@@ -110,8 +119,8 @@
%{l_shtool} install -c -m 644 \
-e 's;@l_prefix@;%{l_prefix};g' \
-e 's;@l_musr@;%{l_musr};g' \
- %{SOURCE imapd.conf} $RPM_BUILD_ROOT%{l_prefix}/etc/imapd/ \
- master/conf/cyrus.conf $RPM_BUILD_ROOT%{l_prefix}/etc/imapd/
+ %{SOURCE imapd.conf} master/conf/cyrus.conf \
+ $RPM_BUILD_ROOT%{l_prefix}/etc/imapd/
# install the run command file
%{l_shtool} mkdir -f -p -m 755 $RPM_BUILD_ROOT%{l_prefix}/etc/rc.d
@@ .
patch -p0 <<'@@ .'
Index: openpkg-web/news.txt
============================================================================
$ cvs diff -u -r1.3435 -r1.3436 news.txt
--- openpkg-web/news.txt 24 Feb 2003 14:22:38 -0000 1.3435
+++ openpkg-web/news.txt 24 Feb 2003 15:45:20 -0000 1.3436
@@ -1,3 +1,4 @@
+24-Feb-2003: Upgraded package: P<imapd-2.1.12-20030224>
24-Feb-2003: Upgraded package: P<ddd-3.3.1-20030224>
24-Feb-2003: Upgraded package: P<socat-1.3.1.0-20030224>
24-Feb-2003: Upgraded package: P<mgv-3.1.5-20030224>
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]