Skip to contentSkip to conversation

master - veritysetup: Remove code as now in cryptsetup.

PATCH Alasdair Kergon 1 participant 1 message Jun 11, 2012 Kbuild

lore
Share & tools
lore
#0 lore raw
Gitweb:        http://git.fedorahosted.org/git/?p=lvm2.git;a=commitdiff;h=05fb5158635ef47f5c9083f2f4cc1871d0de1d0a
Commit:        05fb5158635ef47f5c9083f2f4cc1871d0de1d0a
Parent:        d41ad502b8138a4cb7f9c1a3bfd9f85bd5b337e8
Author:        Alasdair G Kergon <[email protected]>
AuthorDate:    Mon Jun 11 16:12:20 2012 +0100
Committer:     Alasdair G Kergon <[email protected]>
CommitterDate: Mon Jun 11 16:12:20 2012 +0100

veritysetup: Remove code as now in cryptsetup.

The veritysetup code has moved to the cryptsetup package.
http://code.google.com/p/cryptsetup/

---
 Makefile.in             |   11 +-
 WHATS_NEW_DM            |    1 +
 configure               |  427 +--------------------
 configure.in            |   68 ----
 lib/misc/configure.h.in |    9 -
 make.tmpl.in            |    2 -
 verity/Makefile.in      |   33 --
 verity/veritysetup.c    |  999 -----------------------------------------------
 8 files changed, 4 insertions(+), 1546 deletions(-)
Makefile.in +1 -10
index 6d9583b..5e0b348 100644
@@ -36,16 +36,12 @@ ifeq ("@BUILD_LVMETAD@", "yes")
   SUBDIRS += libdaemon
 endif
 
-ifeq ("@VERITYSETUP@", "yes")
-  SUBDIRS += verity
-endif
-
 # FIXME Should use intermediate Makefiles here!
 ifeq ($(MAKECMDGOALS),distclean)
   SUBDIRS = doc include man scripts \
     libdaemon lib tools daemons libdm \
     udev po liblvm test \
-    unit-tests/datastruct unit-tests/mm unit-tests/regex verity
+    unit-tests/datastruct unit-tests/mm unit-tests/regex
 endif
 DISTCLEAN_DIRS += lcov_reports*
 DISTCLEAN_TARGETS += config.cache config.log config.status make.tmpl
@@ -57,7 +53,6 @@ lib: libdm libdaemon
 liblvm: lib
 daemons: lib libdaemon tools
 tools: lib libdaemon device-mapper
-verity: libdm
 po: tools daemons
 
 lib.device-mapper: include.device-mapper
@@ -109,10 +104,6 @@ install_systemd_units:
 install_tmpfiles_configuration:
 	$(MAKE) -C scripts install_tmpfiles_configuration
 
-install_verity:
-	$(MAKE) -C verity install_verity
-	$(MAKE) -C man install_verity
-
 LCOV_TRACES = libdm.info lib.info tools.info \
 	daemons/dmeventd.info daemons/clvmd.info
 CLEAN_TARGETS += $(LCOV_TRACES)
WHATS_NEW_DM +1 -0
index 97d5a8e..a0440da 100644
@@ -1,5 +1,6 @@
 Version 1.02.76 - 
 ===============================
+  Remove veritysetup.  Now maintained with cryptsetup.
 
 Version 1.02.75 - 8th June 2012
 ===============================
configure +2 -424

474 lines not on this page · raw message

cat >confcache <<\_ACEOF
# This file is a shell script that caches the results of configure
@@ -11658,7 +11236,6 @@ do

     "unit-tests/datastruct/Makefile") CONFIG_FILES="$CONFIG_FILES unit-tests/datastruct/Makefile" ;;
     "unit-tests/regex/Makefile") CONFIG_FILES="$CONFIG_FILES unit-tests/regex/Makefile" ;;
     "unit-tests/mm/Makefile") CONFIG_FILES="$CONFIG_FILES unit-tests/mm/Makefile" ;;

- "verity/Makefile") CONFIG_FILES="$CONFIG_FILES verity/Makefile" ;;

*) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac

configure.in +0 -68

86 lines not on this page · raw message

lib/misc/configure.h.in +0 -9
index dc6a260..6d904f2 100644
@@ -23,15 +23,6 @@
    */
 #undef CRAY_STACKSEG_END
 
-/* Define to 1 if gcrpyt encryption is to be used. */
-#undef CRYPT_GCRYPT
-
-/* Define to 1 if nss encryption is to be used. */
-#undef CRYPT_NSS
-
-/* Define to 1 if OpenSSL encryption is to be used. */
-#undef CRYPT_OPENSSL
-
 /* Define to 1 if using `alloca.c'. */
 #undef C_ALLOCA
 
make.tmpl.in +0 -2
index 0855d6a..25cc87f 100644
@@ -194,7 +194,6 @@ OBJECTS = $(SOURCES:%.c=%.o)
 POTFILES = $(SOURCES:%.c=%.pot)
 
 .PHONY: all pofile distclean clean cleandir cflow device-mapper
-.PHONY: verity install_verity $(SUBDIRS.install_verity)
 .PHONY: install install_cluster install_device-mapper install_lvm2
 .PHONY: install_lib_shared install_dm_plugin install_lvm2_plugin
 .PHONY: install_ocf help
@@ -208,7 +207,6 @@ SUBDIRS.install_cluster := $(SUBDIRS:=.install_cluster)
 SUBDIRS.install_device-mapper := $(SUBDIRS:=.install_device-mapper)
 SUBDIRS.install_lvm2 := $(SUBDIRS:=.install_lvm2)
 SUBDIRS.install_ocf := $(SUBDIRS:=.install_ocf)
-SUBDIRS.install_verity := $(SUBDIRS:=.install_verity)
 SUBDIRS.pofile := $(SUBDIRS:=.pofile)
 SUBDIRS.cflow := $(SUBDIRS:=.cflow)
 SUBDIRS.clean := $(SUBDIRS:=.clean)
verity/Makefile.in deleted +0 -33
deleted file mode 100644
index b606a40..0000000
@@ -1,33 +0,0 @@
-# Copyright (C) 2012 Red Hat, Inc. All rights reserved.
-#
-# This file is part of the device-mapper userspace tools.
-#
-# This copyrighted material is made available to anyone wishing to use,
-# modify, copy, or redistribute it subject to the terms and conditions
-# of the GNU Lesser General Public License v.2.1.
-#
-# You should have received a copy of the GNU Lesser General Public License
-# along with this program; if not, write to the Free Software Foundation,
-# Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-
-srcdir = @srcdir@
-top_srcdir = @top_srcdir@
-top_builddir = @top_builddir@
-
-SOURCES = veritysetup.c
-
-TARGETS = veritysetup
-
-INCLUDES += @VERITYSETUP_CFLAGS@
-
-include $(top_builddir)/make.tmpl
-
-VERITYSETUP_LIBS = @VERITYSETUP_LIBS@
-
-all: veritysetup
-
-veritysetup: $(OBJECTS)
-	$(CC) $(CFLAGS) $(LDFLAGS) -o veritysetup $(OBJECTS) $(VERITYSETUP_LIBS)
-
-install_verity: $(TARGETS)
-	$(INSTALL_PROGRAM) -D veritysetup $(sbindir)/veritysetup
verity/veritysetup.c deleted +0 -999

999 lines not on this page · raw message