Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/ibm-public/postfix Automatically determine and prin...
details: https://anonhg.NetBSD.org/src/rev/950a0c7f81ae
branches: trunk
changeset: 767801:950a0c7f81ae
user: tron <tron%NetBSD.org@localhost>
date: Sun Jul 31 09:54:57 2011 +0000
description:
Automatically determine and print out the release tag for the import.
diffstat:
external/ibm-public/postfix/postfix2netbsd | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diffs (25 lines):
diff -r d33e6559a99a -r 950a0c7f81ae external/ibm-public/postfix/postfix2netbsd
--- a/external/ibm-public/postfix/postfix2netbsd Sun Jul 31 06:49:03 2011 +0000
+++ b/external/ibm-public/postfix/postfix2netbsd Sun Jul 31 09:54:57 2011 +0000
@@ -1,6 +1,6 @@
#! /bin/sh
#
-# $NetBSD: postfix2netbsd,v 1.1 2009/06/23 15:02:51 tron Exp $
+# $NetBSD: postfix2netbsd,v 1.2 2011/07/31 09:54:57 tron Exp $
#
# Copyright (c) 1998, 1999 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -105,10 +105,12 @@
done
echo done
+VERSION=$(sed -n -e 's/^#define MAIL_VERSION_NUMBER.*"\(.*\)".*/\1/p' src/global/mail_version.h | tr . -)
+
echo You can import now.
echo Path: src/external/ibm-public/postfix/dist
echo Vendor: VENEMA
-echo Versiontag: PFIX-X-Y-Z
+echo Versiontag: PFIX-${VERSION}
exit 0
Home |
Main Index |
Thread Index |
Old Index