SPECS: proftpd.spec - never use '<=' in trigger comparision (drop ...

glen glen at pld-linux.org
Wed Feb 6 22:02:05 CET 2008


Author: glen                         Date: Wed Feb  6 21:02:05 2008 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- never use '<=' in trigger comparision (drop old triggers); rel 3

---- Files affected:
SPECS:
   proftpd.spec (1.249 -> 1.250) 

---- Diffs:

================================================================
Index: SPECS/proftpd.spec
diff -u SPECS/proftpd.spec:1.249 SPECS/proftpd.spec:1.250
--- SPECS/proftpd.spec:1.249	Mon Feb  4 09:19:28 2008
+++ SPECS/proftpd.spec	Wed Feb  6 22:02:00 2008
@@ -22,7 +22,7 @@
 Summary(zh_CN.UTF-8):	易于管理的,安全的 FTP 服务器
 Name:		proftpd
 Version:	1.3.1
-Release:	2
+Release:	3
 Epoch:		2
 License:	GPL v2+
 Group:		Daemons
@@ -602,40 +602,6 @@
 %module_scripts mod_tls
 %module_scripts mod_wrap
 
-%triggerpostun inetd -- %{name}-inetd <= 1:1.2.10
-echo "Changing deprecated config options"
-cp -f %{_sysconfdir}/proftpd.conf{,.rpmorig}
-sed -i -e '
-	s/AuthPAMAuthoritative\b/AuthPAM/
-	s/TCPDServiceName/TCPServiceName/
-	s/TlsRsaCertFile/TLSRSACertificateFile/
-	s/TlsRsaKeyFile/TLSRSACertificateKeyFile/
-	s/TlsDsaCertFile/TLSDSACertificateFile/
-	s/TlsDsaKeyFile/TLSDSACertificateKeyFile/
-	s/TlsCrlFile/TLSCARevocationFile/
-	s/TlsDhParamFile/TLSDHParamFile/
-	s/TlsCipherList/TLSCipherSuite/
-	s/TlsCertsOk/TLSVerifyClient/
-	/UseTCPD/d
-' %{_sysconfdir}/proftpd.conf
-
-%triggerpostun standalone -- %{name}-standalone <= 1:1.2.10
-echo "Changing deprecated config options"
-cp -f %{_sysconfdir}/proftpd.conf{,.rpmorig}
-sed -i -e '
-	s/AuthPAMAuthoritative\b/AuthPAM/
-	s/TCPDServiceName/TCPServiceName/
-	s/TlsRsaCertFile/TLSRSACertificateFile/
-	s/TlsRsaKeyFile/TLSRSACertificateKeyFile/
-	s/TlsDsaCertFile/TLSDSACertificateFile/
-	s/TlsDsaKeyFile/TLSDSACertificateKeyFile/
-	s/TlsCrlFile/TLSCARevocationFile/
-	s/TlsDhParamFile/TLSDHParamFile/
-	s/TlsCipherList/TLSCipherSuite/
-	s/TlsCertsOk/TLSVerifyClient/
-	/UseTCPD/d
-' %{_sysconfdir}/proftpd.conf
-
 %files common
 %defattr(644,root,root,755)
 %doc sample-configurations/*.conf CREDITS ChangeLog NEWS RELEASE_NOTES
@@ -775,6 +741,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.250  2008-02-06 21:02:00  glen
+- never use '<=' in trigger comparision (drop old triggers); rel 3
+
 Revision 1.249  2008-02-04 08:19:28  glen
 - -devel R acl-devel: /usr/include/proftpd/conf.h:79:22: error: sys/acl.h: No such file or directory
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/proftpd.spec?r1=1.249&r2=1.250&f=u



More information about the pld-cvs-commit mailing list