SOURCES: courier-certs.patch - updated to 0.51.0

andree andree at pld-linux.org
Tue Aug 16 23:03:43 CEST 2005


Author: andree                       Date: Tue Aug 16 21:03:43 2005 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated to 0.51.0

---- Files affected:
SOURCES:
   courier-certs.patch (1.6 -> 1.7) 

---- Diffs:

================================================================
Index: SOURCES/courier-certs.patch
diff -u SOURCES/courier-certs.patch:1.6 SOURCES/courier-certs.patch:1.7
--- SOURCES/courier-certs.patch:1.6	Sat Mar  5 19:28:49 2005
+++ SOURCES/courier-certs.patch	Tue Aug 16 23:03:38 2005
@@ -313,49 +313,6 @@
  ><DD
  ><P
  >X.509 certificate.</P
-diff -Nur old/imap/mkimapdcert.in new/imap/mkimapdcert.in
---- old/imap/mkimapdcert.in	2001-08-26 16:16:42.000000000 +0000
-+++ new/imap/mkimapdcert.in	2004-05-25 07:33:42.000000000 +0000
-@@ -13,26 +13,26 @@
- 
- prefix="@prefix@"
- 
--if test -f @datadir@/imapd.pem
-+if test -f @certsdir@/imapd.pem
- then
--	echo "@datadir@/imapd.pem already exists."
-+	echo "@certsdir@/imapd.pem already exists."
- 	exit 1
- fi
- 
--cp /dev/null @datadir@/imapd.pem
--chmod 600 @datadir@/imapd.pem
--chown @mailuser@ @datadir@/imapd.pem
-+cp /dev/null @certsdir@/imapd.pem
-+chmod 600 @certsdir@/imapd.pem
-+chown @mailuser@ @certsdir@/imapd.pem
- 
- cleanup() {
--	rm -f @datadir@/imapd.pem
--	rm -f @datadir@/imapd.rand
-+	rm -f @certsdir@/imapd.pem
-+	rm -f @certsdir@/imapd.rand
- 	exit 1
- }
- 
--cd @datadir@
--dd if=@RANDOMV@ of=@datadir@/imapd.rand count=1 2>/dev/null
-+cd @certsdir@
-+dd if=@RANDOMV@ of=@certsdir@/imapd.rand count=1 2>/dev/null
- @OPENSSL@ req -new -x509 -days 365 -nodes \
--	-config @sysconfdir@/imapd.cnf -out @datadir@/imapd.pem -keyout @datadir@/imapd.pem || cleanup
-- at OPENSSL@ gendh -rand @datadir@/imapd.rand 512 >>@datadir@/imapd.pem || cleanup
-- at OPENSSL@ x509 -subject -dates -fingerprint -noout -in @datadir@/imapd.pem || cleanup
--rm -f @datadir@/imapd.rand
-+	-config @sysconfdir@/imapd.cnf -out @certsdir@/imapd.pem -keyout @certsdir@/imapd.pem || cleanup
-+ at OPENSSL@ gendh -rand @certsdir@/imapd.rand 512 >>@certsdir@/imapd.pem || cleanup
-+ at OPENSSL@ x509 -subject -dates -fingerprint -noout -in @certsdir@/imapd.pem || cleanup
-+rm -f @certsdir@/imapd.rand
 diff -Nur old/imap/mkpop3dcert.8.in new/imap/mkpop3dcert.8.in
 --- old/imap/mkpop3dcert.8.in	2004-01-14 00:51:13.000000000 +0000
 +++ new/imap/mkpop3dcert.8.in	2004-05-25 07:34:07.000000000 +0000
@@ -430,10 +387,76 @@
  ><DD
  ><P
  >X.509 certificate.</P
+diff -Nur old/imap/pop3d.cnf.in new/imap/pop3d.cnf.in
+--- old/imap/pop3d.cnf.in	2001-03-24 04:59:55.000000000 +0000
++++ new/imap/pop3d.cnf.in	2004-05-30 22:37:10.000000000 +0000
+@@ -1,5 +1,5 @@
+ 
+-RANDFILE = @datadir@/pop3d.rand
++RANDFILE = @certsdir@/pop3d.rand
+ 
+ [ req ]
+ default_bits = 1024
+diff -Nur old/imap/pop3d-ssl.dist.in new/imap/pop3d-ssl.dist.in
+--- old/imap/pop3d-ssl.dist.in	2004-01-25 05:40:04.000000000 +0000
++++ new/imap/pop3d-ssl.dist.in	2004-05-24 20:57:32.000000000 +0000
+@@ -135,7 +135,7 @@
+ # servers, and is optional for SSL/TLS clients.  TLS_CERTFILE is usually
+ # treated as confidential, and must not be world-readable.
+ #
+-TLS_CERTFILE=@datadir@/pop3d.pem
++TLS_CERTFILE=@certsdir@/pop3d.pem
+ 
+ ##NAME: TLS_TRUSTCERTS:0
+ #
+diff -Nur old/imap/mkimapdcert.in new/imap/mkimapdcert.in
+--- old/imap/mkimapdcert.in	2005-07-02 02:09:09.000000000 +0000
++++ new/imap/mkimapdcert.in	2005-08-16 20:55:43.144234624 +0000
+@@ -13,27 +13,27 @@
+ 
+ prefix="@prefix@"
+ 
+-if test -f @datadir@/imapd.pem
++if test -f @certsdir@/imapd.pem
+ then
+-	echo "@datadir@/imapd.pem already exists."
++	echo "@certsdir@/imapd.pem already exists."
+ 	exit 1
+ fi
+ 
+ umask 077
+-cp /dev/null @datadir@/imapd.pem
+-chmod 600 @datadir@/imapd.pem
+-chown @mailuser@ @datadir@/imapd.pem
++cp /dev/null @certsdir@/imapd.pem
++chmod 600 @certsdir@/imapd.pem
++chown @mailuser@ @certsdir@/imapd.pem
+ 
+ cleanup() {
+-	rm -f @datadir@/imapd.pem
+-	rm -f @datadir@/imapd.rand
++	rm -f @certsdir@/imapd.pem
++	rm -f @certsdir@/imapd.rand
+ 	exit 1
+ }
+ 
+-cd @datadir@
+-dd if=@RANDOMV@ of=@datadir@/imapd.rand count=1 2>/dev/null
++cd @certsdir@
++dd if=@RANDOMV@ of=@certsdir@/imapd.rand count=1 2>/dev/null
+ @OPENSSL@ req -new -x509 -days 365 -nodes \
+-	-config @sysconfdir@/imapd.cnf -out @datadir@/imapd.pem -keyout @datadir@/imapd.pem || cleanup
+- at OPENSSL@ gendh -rand @datadir@/imapd.rand 512 >>@datadir@/imapd.pem || cleanup
+- at OPENSSL@ x509 -subject -dates -fingerprint -noout -in @datadir@/imapd.pem || cleanup
+-rm -f @datadir@/imapd.rand
++	-config @sysconfdir@/imapd.cnf -out @certsdir@/imapd.pem -keyout @certsdir@/imapd.pem || cleanup
++ at OPENSSL@ gendh -rand @certsdir@/imapd.rand 512 >>@certsdir@/imapd.pem || cleanup
++ at OPENSSL@ x509 -subject -dates -fingerprint -noout -in @certsdir@/imapd.pem || cleanup
++rm -f @certsdir@/imapd.rand
 diff -Nur old/imap/mkpop3dcert.in new/imap/mkpop3dcert.in
---- old/imap/mkpop3dcert.in	2000-10-06 17:50:37.000000000 +0000
-+++ new/imap/mkpop3dcert.in	2004-05-25 07:35:23.000000000 +0000
-@@ -13,25 +13,25 @@
+--- old/imap/mkpop3dcert.in	2005-07-02 02:09:09.000000000 +0000
++++ new/imap/mkpop3dcert.in	2005-08-16 20:55:43.145234472 +0000
+@@ -13,26 +13,26 @@
  
  prefix="@prefix@"
  
@@ -445,6 +468,7 @@
  	exit 1
  fi
  
+ umask 077
 -cp /dev/null @datadir@/pop3d.pem
 -chmod 600 @datadir@/pop3d.pem
 -chown @mailuser@ @datadir@/pop3d.pem
@@ -471,25 +495,3 @@
 + at OPENSSL@ gendh -rand @certsdir@/pop3d.rand 512 >>@certsdir@/pop3d.pem || cleanup
 + at OPENSSL@ x509 -subject -dates -fingerprint -noout -in @certsdir@/pop3d.pem || cleanup
 +rm -f @certsdir@/pop3d.rand
-diff -Nur old/imap/pop3d.cnf.in new/imap/pop3d.cnf.in
---- old/imap/pop3d.cnf.in	2001-03-24 04:59:55.000000000 +0000
-+++ new/imap/pop3d.cnf.in	2004-05-30 22:37:10.000000000 +0000
-@@ -1,5 +1,5 @@
- 
--RANDFILE = @datadir@/pop3d.rand
-+RANDFILE = @certsdir@/pop3d.rand
- 
- [ req ]
- default_bits = 1024
-diff -Nur old/imap/pop3d-ssl.dist.in new/imap/pop3d-ssl.dist.in
---- old/imap/pop3d-ssl.dist.in	2004-01-25 05:40:04.000000000 +0000
-+++ new/imap/pop3d-ssl.dist.in	2004-05-24 20:57:32.000000000 +0000
-@@ -135,7 +135,7 @@
- # servers, and is optional for SSL/TLS clients.  TLS_CERTFILE is usually
- # treated as confidential, and must not be world-readable.
- #
--TLS_CERTFILE=@datadir@/pop3d.pem
-+TLS_CERTFILE=@certsdir@/pop3d.pem
- 
- ##NAME: TLS_TRUSTCERTS:0
- #
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/courier-certs.patch?r1=1.6&r2=1.7&f=u




More information about the pld-cvs-commit mailing list