debian/0000755000000000000000000000000012210610210007147 5ustar debian/changelog0000644000000000000000000000112212210605634011033 0ustar tcplay (1.1-1) unstable; urgency=low * New upstream release (closes: #719836). -- Laszlo Boszormenyi (GCS) Sun, 01 Sep 2013 11:36:00 +0200 tcplay (0.11-1) unstable; urgency=low * New upstream release, fixing 64 bit archs compilation. * Build with hardening enabled, add use_ldflags.patch to achieve this. * Update watch file. -- Laszlo Boszormenyi (GCS) Sat, 17 Nov 2012 02:53:22 +0100 tcplay (0.10-1) unstable; urgency=low * Initial release (closes: #691609). -- Laszlo Boszormenyi (GCS) Mon, 29 Oct 2012 18:47:56 +0100 debian/compat0000644000000000000000000000000212043540367010370 0ustar 9 debian/control0000644000000000000000000000301412210610201010550 0ustar Source: tcplay Section: admin Priority: optional Maintainer: Laszlo Boszormenyi (GCS) Build-Depends: debhelper (>= 9), dpkg-dev (>= 1.16.1~), cmake, pkg-config, libdevmapper-dev, libudev-dev, uuid-dev, libgcrypt11-dev Standards-Version: 3.9.4 Homepage: https://github.com/bwalex/tc-play Package: tcplay Architecture: linux-any Depends: ${shlibs:Depends}, ${misc:Depends} Description: Free and simple TrueCrypt Implementation based on dm-crypt tcplay is a free (BSD-licensed), pretty much fully featured (including multiple keyfiles, cipher cascades, etc) and stable TrueCrypt implementation. . This implementation supports mapping (opening) both system and normal TrueCrypt volumes, as well as opening hidden volumes and opening an outer volume while protecting a hidden volume. There is also support to create volumes, including hidden volumes, etc. . Since tcplay uses dm-crypt it makes full use of any available hardware encryption/decryption support once the volume has been mapped. Package: libtcplay Architecture: linux-any Section: libs Depends: ${shlibs:Depends}, ${misc:Depends} Description: Free and simple TrueCrypt Implementation based on dm-crypt tcplay is a free (BSD-licensed), pretty much fully featured (including Package: libtcplay-dev Architecture: linux-any Section: libdevel Depends: ${shlibs:Depends}, ${misc:Depends}, libtcplay (= ${binary:Version}) Description: Free and simple TrueCrypt Implementation based on dm-crypt tcplay is a free (BSD-licensed), pretty much fully featured (including debian/copyright0000644000000000000000000001057612210605562011131 0ustar Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ Upstream-Name: tc-play Upstream-Contact: Alex Hornung Source: https://github.com/bwalex/tc-play Copyright: Copyright (C) 2011- Alex Hornung Files: * Copyright: Copyright (C) 2011- Alex Hornung License: BSD-2-clause Files: crc32.c crc32.h Copyright: Copyright (C) 1986 Gary S. Brown License: public-domain You may use this program, or code or tables extracted from it, as desired without restriction. Files: generic_xts.c generic_xts.h Copyright: Copyright (C) 2008, Damien Miller, Copyright (C) 2011, Alex Hornung License: Files: tcplay.3 tcplay.8 Copyright: Copyright (C) 2011 The DragonFly Project License: BSD-3-clause Files: debian/* Copyright: Copyright (C) 2012- Laszlo Boszormenyi (GCS) License: GPL-3+ License: BSD-2-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License: BSD-3-clause Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: . 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of The DragonFly Project nor the names of its contributors may be used to endorse or promote products derived from this software without specific, prior written permission. . THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. License: GPL-3+ This program 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 . . On Debian systems, the complete text of the GNU General Public License can be found in the file `/usr/share/common-licenses/GPL-3'. debian/libtcplay-dev.install0000644000000000000000000000011412171046707013316 0ustar usr/include/ usr/lib*/libtcplay.a usr/lib*/libtcplay.so usr/lib*/pkgconfig/ debian/libtcplay.install0000644000000000000000000000003012171046230012526 0ustar usr/lib*/libtcplay.so.* debian/patches/0000755000000000000000000000000012210607005010606 5ustar debian/patches/do_not_add_lib_suffix.patch0000644000000000000000000000137012210606774016150 0ustar Description: use /usr/lib on all architectures Author: Laszlo Boszormenyi (GCS) Last-Update: 2013-09-01 --- --- tcplay-1.1.orig/CMakeLists.txt +++ tcplay-1.1/CMakeLists.txt @@ -65,11 +65,10 @@ endif() if (NOT LIB_SUFFIX) message(STATUS "") - message(STATUS "LIB_SUFFIX variable is not defined. It will be autodetected now.") - message(STATUS "You can set it manually with -DLIB_SUFFIX= (e.g. 64).") + message(STATUS "LIB_SUFFIX variable is not defined. It will remain as is.") if (CMAKE_SIZEOF_VOID_P EQUAL 8) - message(STATUS "\nSetting LIB_SUFFIX=64\n") - set (LIB_SUFFIX "64") + message(STATUS "\nSetting LIB_SUFFIX=\n") + set (LIB_SUFFIX "") else() message(STATUS "\nSetting LIB_SUFFIX=\n") set (LIB_SUFFIX "") debian/patches/series0000644000000000000000000000005712210606715012034 0ustar #use_ldflags.patch do_not_add_lib_suffix.patch debian/patches/use_ldflags.patch0000644000000000000000000000102412051570653014127 0ustar Description: use LDFLAGS for linking Simply add LDFLAGS for the linking phase. Author: Laszlo Boszormenyi (GCS) Last-Update: <2012-11-17> --- --- tcplay-0.11.orig/Makefile +++ tcplay-0.11/Makefile @@ -58,7 +58,7 @@ ifeq (${SYSTEM}, dragonfly) endif program: - $(CC) $(CFLAGS) -o tcplay main.c $(SRCS) $(LIBS) + $(CC) $(CFLAGS) -o tcplay main.c $(SRCS) $(LIBS) $(LDFLAGS) lib: $(CC) $(CFLAGS) -c -fPIC tcplay_api.c $(SRCS) $(CC) -shared -Wl,-version-script=tcplay.map -o libtcplay.so tcplay_api.o $(OBJS) debian/rules0000755000000000000000000000212212171045454010246 0ustar #! /usr/bin/make -f # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all DPKG_EXPORT_BUILDFLAGS = 1 #include /usr/share/hardening-includes/hardening.make include /usr/share/dpkg/buildflags.mk CFLAGS ?= $(shell dpkg-buildflags --get CFLAGS) CPPFLAGS ?= $(shell dpkg-buildflags --get CPPFLAGS) LDFLAGS ?= $(shell dpkg-buildflags --get LDFLAGS) CFLAGS += $(HARDENING_CFLAGS) CFLAGS += $(CPPFLAGS) CPPFLAGS += $(HARDENING_CFLAGS) LDFLAGS += $(HARDENING_LDFLAGS) DESTDIR = $(CURDIR)/debian/tmp/ ifneq (,$(findstring debug,$(DEB_BUILD_OPTIONS))) DEBUG = DEBUG=yes endif ifeq (,$(findstring nostrip,$(DEB_BUILD_OPTIONS))) INSTALL_PROGRAM += -s endif export DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE) export DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE) override_dh_auto_build: cd $(CURDIR)/obj-$(DEB_BUILD_GNU_TYPE)/ && \ $(MAKE) SYSTEM=linux PBKDF_BACKEND=gcrypt $(DEBUG) # test needs the library, which can't be built ATM override_dh_auto_test: # for the rest, use debhelper %: dh $@ debian/source/0000755000000000000000000000000012043540404010462 5ustar debian/source/format0000644000000000000000000000001412043540404011670 0ustar 3.0 (quilt) debian/tcplay.install0000644000000000000000000000001112171045557012051 0ustar usr/sbin debian/tcplay.manpages0000644000000000000000000000001112043575626012201 0ustar tcplay.8 debian/watch0000644000000000000000000000012012051567007010213 0ustar version=3 https://github.com/bwalex/tc-play/tags .*/archive/v(\d[\d\.]+).tar.gz