From 8c308f53feb4e6d9419c9d144d5c3f6f8746727f Mon Sep 17 00:00:00 2001 From: Gordon Hecker Date: Mon, 9 Nov 2009 14:17:27 +0100 Subject: [PATCH] sha1: rename sha1 module to hash Signed-off-by: Gordon Hecker --- generic/Makefile | 4 ++-- generic/{sha1.lua => hash.lua} | 9 ++++----- local/Makefile | 2 +- 3 files changed, 7 insertions(+), 8 deletions(-) rename generic/{sha1.lua => hash.lua} (99%) diff --git a/generic/Makefile b/generic/Makefile index a4853b8..40086b0 100644 --- a/generic/Makefile +++ b/generic/Makefile @@ -74,14 +74,14 @@ clean: rm -f $(CLEAN_FILES) e2generic_global.lc: strict.lua collection.lua e2lib_global_prefix.lua \ - e2lib.lua e2option.lua sha1.lua \ + e2lib.lua e2option.lua hash.lua \ transport.lua cache.lua url.lua scm.git.lua \ luafile.lua lua-version-map.lua \ error.lua lock.lua $(BUILD_LUAC) -o $@ $^ e2generic_local.lc: strict.lua collection.lua e2lib_local_prefix.lua \ - e2lib.lua e2option.lua sha1.lua \ + e2lib.lua e2option.lua hash.lua \ transport.lua cache.lua url.lua scm.git.lua \ luafile.lua lua-version-map.lua $(LUAC) -o $@ $^ diff --git a/generic/sha1.lua b/generic/hash.lua similarity index 99% rename from generic/sha1.lua rename to generic/hash.lua index 535bd83..71d2a92 100644 --- a/generic/sha1.lua +++ b/generic/hash.lua @@ -4,23 +4,23 @@ Copyright (C) 2007-2009 Gordon Hecker , emlix GmbH Copyright (C) 2007-2009 Oskar Schirmer , emlix GmbH Copyright (C) 2007-2008 Felix Winkelmann, emlix GmbH - + For more information have a look at http://www.e2factory.org e2factory is a registered trademark by emlix GmbH. This file is part of e2factory, the emlix embedded build system. - + e2factory is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version. - + This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. - + You should have received a copy of the GNU General Public License along with this program. If not, see . ]] @@ -84,4 +84,3 @@ hash.hash_start = hash_start hash.hash = hash_append hash.hash_line = hash_line hash.hash_finish = hash_finish - diff --git a/local/Makefile b/local/Makefile index 3bafc2f..2b85189 100644 --- a/local/Makefile +++ b/local/Makefile @@ -119,7 +119,7 @@ e2local.lc: $(TOPLEVEL)/generic/strict.lua \ $(TOPLEVEL)/generic/e2lib.lua \ e2tool.lua e2scm.lua git.lua svn.lua cvs.lua files.lua \ $(TOPLEVEL)/generic/e2option.lua \ - $(TOPLEVEL)/generic/sha1.lua \ + $(TOPLEVEL)/generic/hash.lua \ $(TOPLEVEL)/generic/lock.lua \ e2build.lua $(TOPLEVEL)/generic/luafile.lua \ policy.lua -- 2.39.5