Author: andree                       Date: Sat Feb 19 14:35:15 2005 GMT
Module: SPECS                         Tag: DEVEL
---- Log message:
- enable fam by default
- added trigger with information about userdb
- removed userdb dead links and unused directory
- rel. 0.2

---- Files affected:
SPECS:
   courier.spec (1.102.2.5 -> 1.102.2.6) 

---- Diffs:

================================================================
Index: SPECS/courier.spec
diff -u SPECS/courier.spec:1.102.2.5 SPECS/courier.spec:1.102.2.6
--- SPECS/courier.spec:1.102.2.5        Wed Dec 15 12:32:18 2004
+++ SPECS/courier.spec  Sat Feb 19 15:35:04 2005
@@ -1,17 +1,17 @@
 # $Revision$, $Date$
 #
 # TODO:
-#      - triggers
-#      - files, BR revision
+#      - files
+#      - tests
 #
 # Conditional build:
-%bcond_with    fam             # with fam support
+%bcond_without fam             # with fam support
 #
 Summary:       Courier mail server
 Summary(pl):   Serwer poczty Courier
 Name:          courier
 Version:       0.48
-Release:       0.1
+Release:       0.2
 License:       GPL
 Group:         Networking/Daemons
 Source0:       
http://www.courier-mta.org/beta/courier/%{name}-%{version}.tar.bz2
@@ -32,17 +32,13 @@
 BuildRequires: libstdc++-devel
 BuildRequires: libtool
 BuildRequires: mailcap
-#BuildRequires:        mysql-devel
-#BuildRequires:        openldap-devel
 BuildRequires: openssl-devel >= 0.9.7d
 BuildRequires: openssl-tools >= 0.9.7d
 BuildRequires: openssl-tools-perl >= 0.9.7d
 BuildRequires: pam-devel
 BuildRequires: perl-devel
-#BuildRequires:        postgresql-devel
 BuildRequires: sed >= 4.0
 BuildRequires: sysconftool
-#BuildRequires:        zlib-devel
 %{?with_fam:BuildRequires:     fam-devel}
 Requires(post,preun):  /sbin/chkconfig
 Requires(post):        openssl-tools >= 0.9.7d
@@ -338,7 +334,7 @@
 umask 022
 install -d -p $RPM_BUILD_ROOT{/etc/{cron.hourly,pam.d},%{initdir}} \
        $RPM_BUILD_ROOT{%{_cgibindir},%{_documentrootdir},/usr/lib} \
-       $RPM_BUILD_ROOT%{_sysconfdir}/{hosteddomains,userdb} \
+       $RPM_BUILD_ROOT%{_sysconfdir}/hosteddomains \
        $RPM_BUILD_ROOT{/etc/cron.hourly,%{_certsdir}}
 
 %{__make} install \
@@ -363,8 +359,6 @@
 $RPM_BUILD_ROOT%{_mandir}/man8/makesmtpaccess-msa.8 \
 $RPM_BUILD_ROOT%{_mandir}/man8/filterctl.8 \
 $RPM_BUILD_ROOT%{_mandir}/man8/makeuucpneighbors.8 \
-$RPM_BUILD_ROOT%{_mandir}/man8/pw2userdb.8 \
-$RPM_BUILD_ROOT%{_mandir}/man8/vchkpw2userdb.8 \
 $RPM_BUILD_ROOT%{_mandir}/man8/courierpop3login.8
 
 # make man links
@@ -374,8 +368,6 @@
 echo '.so courierfilter.8' > $RPM_BUILD_ROOT%{_mandir}/man8/filterctl.8
 echo '.so makesmtpaccess.8' > 
$RPM_BUILD_ROOT%{_mandir}/man8/makesmtpaccess-msa.8
 echo '.so courieruucp.8' > $RPM_BUILD_ROOT%{_mandir}/man8/makeuucpneighbors.8
-echo '.so makeuserdb.8' > $RPM_BUILD_ROOT%{_mandir}/man8/pw2userdb.8
-echo '.so makeuserdb.8' > $RPM_BUILD_ROOT%{_mandir}/man8/vchkpw2userdb.8
 echo '.so courierpop3d.8' > $RPM_BUILD_ROOT%{_mandir}/man8/courierpop3login.8
 
 %{__make} install-perms
@@ -494,6 +486,15 @@
 echo Directory with certificates has changed to %{_certsdir}
 echo
 
+%triggerin -- courier < 0.48
+echo
+echo !!! WARNING !!!
+echo Userdb has been moved to courier-authlib-userdb.
+echo Please install this package, move files
+echo from /etc/courier/userdb to /etc/authlib/userdb
+echo and run makeuserdb.
+echo
+
 %post
 /sbin/chkconfig --add courier
 
@@ -660,8 +661,6 @@
 %{_mandir}/man8/filterctl.8*
 %{_mandir}/man8/makesmtpaccess-msa.8*
 %{_mandir}/man8/makeuucpneighbors.8*
-%{_mandir}/man8/pw2userdb.8*
-%{_mandir}/man8/vchkpw2userdb.8*
 %attr(755,daemon,daemon) %dir %{_sysconfdir}
 %attr(750,daemon,daemon) %dir %{_certsdir}
 %attr(755,daemon,daemon) %dir %{_sysconfdir}/hosteddomains
@@ -788,7 +787,6 @@
 %attr(755,root,root) /etc/profile.d/courier.sh
 %attr(755,root,root) /etc/profile.d/courier.csh
 %attr(754,root,root) /etc/rc.d/init.d/courier
-%attr(700,daemon,daemon) %dir %{_sysconfdir}/userdb
 %attr(755,daemon,daemon) %dir %{_sysconfdir}/shared
 %attr(755,daemon,daemon) %dir %{_sysconfdir}/shared.tmp
 %attr(755,daemon,daemon) %dir %{_localstatedir}/tmp/broken
@@ -930,6 +928,12 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.102.2.6  2005/02/19 14:35:04  andree
+- enable fam by default
+- added trigger with information about userdb
+- removed userdb dead links and unused directory
+- rel. 0.2
+
 Revision 1.102.2.5  2004/12/15 11:32:18  andree
 - updated to 0.48
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/courier.spec?r1=1.102.2.5&r2=1.102.2.6&f=u


_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to