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: 14-Apr-2004 16:57:13 Branch: HEAD Handle: 2004041415571300 Modified files: openpkg-src/imapd imapd.spec Log: add optional DRAC support Summary: Revision Changes Path 1.117 +11 -1 openpkg-src/imapd/imapd.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/imapd/imapd.spec ============================================================================ $ cvs diff -u -r1.116 -r1.117 imapd.spec --- openpkg-src/imapd/imapd.spec 28 Mar 2004 21:48:01 -0000 1.116 +++ openpkg-src/imapd/imapd.spec 14 Apr 2004 14:57:13 -0000 1.117 @@ -34,12 +34,13 @@ Group: Mail License: BSD Version: 2.2.3 -Release: 20040328 +Release: 20040414 # package options %option with_fsl yes %option with_group no %option with_atvdom no +%option with_drac no # list of sources Source0: ftp://ftp.andrew.cmu.edu/pub/cyrus-mail/cyrus-imapd-%{version}.tar.gz @@ -88,6 +89,12 @@ -e 's;/etc/imapd\.group;%{l_prefix}/etc/imapd/imapd.group;' \ lib/auth_unix.c %endif +%if "%{with_drac}" == "yes" + %{l_shtool} subst -e 's;@DRACLIBS@;-ldrac;g' contrib/drac_auth.patch + %{l_patch} -p0 <contrib/drac_auth.patch + sleep 1 + touch configure +%endif %{l_shtool} subst \ -e 's;-L/usr/local/lib;;g' \ -e 's;-I/usr/local/include;;g' \ @@ -143,6 +150,9 @@ case "%{l_platform -t}" in *-sunos* ) ldflags="$ldflags -lsocket -lnsl" ;; esac +%if "%{with_drac}" == "yes" + cflags="$cflags -DDRAC_AUTH" +%endif CC="%{l_cc}" \ CPPFLAGS="$cflags" \ CFLAGS="%{l_cflags -O} $cflags" \ @@ . ______________________________________________________________________ The OpenPKG Project www.openpkg.org CVS Repository Commit List [EMAIL PROTECTED]