SPECS: postfix.spec - it startups fine without implicit myhostname...

glen glen at pld-linux.org
Tue Dec 11 17:24:33 CET 2007


Author: glen                         Date: Tue Dec 11 16:24:33 2007 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- it startups fine without implicit myhostname in main.cf; rel 4

---- Files affected:
SPECS:
   postfix.spec (1.305 -> 1.306) 

---- Diffs:

================================================================
Index: SPECS/postfix.spec
diff -u SPECS/postfix.spec:1.305 SPECS/postfix.spec:1.306
--- SPECS/postfix.spec:1.305	Tue Dec 11 14:25:21 2007
+++ SPECS/postfix.spec	Tue Dec 11 17:24:28 2007
@@ -11,6 +11,7 @@
 %bcond_with	hir	# with Beeth's header_if_reject patch
 %bcond_with	tcp	# with unofficial tcp: lookup table
 #
+%define		vda_ver 2.4.5
 Summary:	Postfix Mail Transport Agent
 Summary(cs.UTF-8):	Postfix - program pro přepravu pošty (MTA)
 Summary(es.UTF-8):	Postfix - Un MTA (Mail Transport Agent) de alto desempeño
@@ -20,8 +21,7 @@
 Summary(sk.UTF-8):	Agent prenosu pošty Postfix
 Name:		postfix
 Version:	2.4.6
-%define		vda_ver 2.4.5
-Release:	3
+Release:	4
 Epoch:		2
 License:	distributable
 Group:		Networking/Daemons
@@ -338,12 +338,7 @@
 echo "Adding Entry for postmaster in %{_sysconfdir}/mail/aliases" >&2
 echo "postmaster: root" >>%{_sysconfdir}/mail/aliases
 fi
-if [ "$1" = "1" ]; then
-	# only on installation, not upgrade
-	if ! grep -q "^myhostname" %{_sysconfdir}/mail/main.cf; then
-		postconf -e myhostname=`/bin/hostname -f`
-	fi
-else
+if [ "$1" -gt "1" ]; then
 	postfix upgrade-configuration
 fi
 
@@ -500,6 +495,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.306  2007-12-11 16:24:28  glen
+- it startups fine without implicit myhostname in main.cf; rel 4
+
 Revision 1.305  2007-12-11 13:25:21  sls
 - some __make -j1
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/SPECS/postfix.spec?r1=1.305&r2=1.306&f=u



More information about the pld-cvs-commit mailing list