Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37851157
en ru br
ALT Linux repositórios
S:2.3.21-alt1
D:1.1-alt0.hg20070530
5.0: 1.1.6-alt2
4.1: 1.0.13-alt1
4.0: 1.0.3.hg20070801-alt1
+updates:1.0.3.hg20070801-alt1
3.0: 0.99.14-alt2

Outros repositórios
Upstream:1.0.13

Group :: Sistema/Servidores
RPM: dovecot

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: dovecot-1.0.rc29-alt-mkcert.patch
Download


--- dovecot-1.0.rc29/doc/mkcert.sh.orig	2007-03-29 11:16:46 -0400
+++ dovecot-1.0.rc29/doc/mkcert.sh	2007-03-29 11:19:55 -0400
@@ -4,8 +4,8 @@
 # Edit dovecot-openssl.cnf before running this.
 
 OPENSSL=${OPENSSL-openssl}
-SSLDIR=${SSLDIR-/etc/ssl}
-OPENSSLCONFIG=${OPENSSLCONFIG-dovecot-openssl.cnf}
+SSLDIR=${SSLDIR-/var/lib/ssl}
+OPENSSLCONFIG=${OPENSSLCONFIG-/etc/dovecot/dovecot-openssl.cnf}
 
 CERTFILE=$SSLDIR/certs/dovecot.pem
 KEYFILE=$SSLDIR/private/dovecot.pem
@@ -24,16 +24,13 @@
 fi
 
 if [ -f $CERTFILE ]; then
-  echo "$CERTFILE already exists, won't overwrite"
   exit 1
 fi
 
 if [ -f $KEYFILE ]; then
-  echo "$KEYFILE already exists, won't overwrite"
   exit 1
 fi
 
-$OPENSSL req -new -x509 -nodes -config $OPENSSLCONFIG -out $CERTFILE -keyout $KEYFILE -days 365 || exit 2
+echo -n "Generating dovecot SSL certificates:"
+$OPENSSL req -new -x509 -nodes -config $OPENSSLCONFIG -out $CERTFILE -keyout $KEYFILE -days 365 2>/dev/null >/dev/null || exit 2
 chmod 0600 $KEYFILE
-echo 
-$OPENSSL x509 -subject -fingerprint -noout -in $CERTFILE || exit 2
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009