X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=build%2Fmkversion;h=5c020b8bbe3f880e8157a3847a493e789f654a11;hb=31101e19628a1ce6c6fabf1385efb79915bf4bb4;hp=d0ba1373a1c7aff4339fabe52fdf4b89d91130fe;hpb=40fa9d36ce344cb67bb3e693eecc01f9d9832cf5;p=openldap
diff --git a/build/mkversion b/build/mkversion
index d0ba1373a1..5c020b8bbe 100755
--- a/build/mkversion
+++ b/build/mkversion
@@ -1,11 +1,19 @@
#! /bin/sh
-# $OpenLDAP$
-## Copyright 1998,1999 The OpenLDAP Foundation
-## COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
-## of this package for details.
-#
# Create a version.c file
-#
+# $OpenLDAP$
+## This work is part of OpenLDAP Software .
+##
+## Copyright 1998-2011 The OpenLDAP Foundation.
+## All rights reserved.
+##
+## Redistribution and use in source and binary forms, with or without
+## modification, are permitted only as authorized by the OpenLDAP
+## Public License.
+##
+## A copy of this license is available in the file LICENSE in the
+## top-level directory of the distribution or, alternatively, at
+## .
+
PACKAGE=OpenLDAP
VERSION=unknown
SYMBOL=__Version
@@ -42,17 +50,29 @@ if test $# != 1 ; then
fi
APPLICATION=$1
-WHEN=`date`
WHOWHERE="$USER@`uname -n`:`pwd`"
cat << __EOF__
-/*
- * Copyright 1998,1999 The OpenLDAP Foundation
- * COPYING RESTRICTIONS APPLY. See COPYRIGHT File in top level directory
- * of this package for details.
+/* This work is part of OpenLDAP Software .
+ *
+ * Copyright 1998-2011 The OpenLDAP Foundation.
+ * All rights reserved.
+ *
+ * Redistribution and use in source and binary forms, with or without
+ * modification, are permitted only as authorized by the OpenLDAP
+ * Public License.
+ *
+ * A copy of this license is available in the file LICENSE in the
+ * top-level directory of the distribution or, alternatively, at
+ * .
*/
+static const char copyright[] =
+"Copyright 1998-2011 The OpenLDAP Foundation. All rights reserved.\n"
+"COPYING RESTRICTIONS APPLY\n";
+
$static $const char $SYMBOL[] =
-"@(#) \$$PACKAGE: $APPLICATION $VERSION ($WHEN) \$\n\t$WHOWHERE\n";
+"@(#) \$$PACKAGE: $APPLICATION $VERSION (" __DATE__ " " __TIME__ ") \$\n"
+"\t$WHOWHERE\n";
__EOF__