[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#926622: unblock: zulucrypt/5.4.0-3



Package: release.debian.org
Severity: normal
User: release.debian.org@packages.debian.org
Usertags: unblock

Please unblock package zulucrypt

This debian release fixes the bug #922038. This bug affect the working of
zulucrypt-cli and zulumount-cli. Because of ordering the linker flags
the linker doesn't consider the functions used in zuluplay-static when
determining that libgcrypt is not used and thus need not be linked
against.

This upload implements the patch to solve this.

(include/attach the debdiff against the package in testing)

unblock zulucrypt/5.4.0-3

-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.19.0-4-amd64 (SMP w/8 CPU cores)
Kernel taint flags: TAINT_PROPRIETARY_MODULE, TAINT_OOT_MODULE, TAINT_UNSIGNED_MODULE
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C), LANGUAGE=pt_BR.UTF-8 (charmap=ANSI_X3.4-1968) (ignored: LC_ALL set to C)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
diff -Nru zulucrypt-5.4.0/debian/changelog zulucrypt-5.4.0/debian/changelog
--- zulucrypt-5.4.0/debian/changelog	2018-01-28 15:32:27.000000000 -0200
+++ zulucrypt-5.4.0/debian/changelog	2019-02-18 21:11:00.000000000 -0300
@@ -1,3 +1,20 @@
+zulucrypt (5.4.0-3) unstable; urgency=medium
+
+  * New debian release.
+  * Created the directory debian/upstream.
+  * debian/control:
+      - Bumped Standards-Version to 4.3.0.
+      - Updated the Maintainer e-mail.
+      - Updated the Vcs-Git field.
+      - Updated the Vcs-Browser field.
+  * debian/patches:
+      - Created the patch linker-flags-ordering.patch.(Closes: #922038)
+        Thanks Ahzod, Luca and Peter Ziegler.
+  * debian/upstream:
+      - Created the metadata file.
+
+ -- Marcio de Souza Oliveira <marciosouza@debian.org>  Tue, 19 Feb 2019 00:11:00 +0000
+
 zulucrypt (5.4.0-2) unstable; urgency=medium
 
   * Upload to unstable.
diff -Nru zulucrypt-5.4.0/debian/control zulucrypt-5.4.0/debian/control
--- zulucrypt-5.4.0/debian/control	2018-01-28 15:32:27.000000000 -0200
+++ zulucrypt-5.4.0/debian/control	2019-02-18 21:11:00.000000000 -0300
@@ -1,7 +1,7 @@
 Source: zulucrypt
 Section: utils
 Priority: optional
-Maintainer: Marcio de Souza Oliveira <m.desouza20@gmail.com>
+Maintainer: Marcio de Souza Oliveira <marciosouza@debian.org>
 Build-Depends: debhelper (>= 10),
  libcryptsetup-dev,
  libpwquality-dev,
@@ -18,10 +18,10 @@
  chrpath,
  cmake,
  bzip2
-Standards-Version: 4.1.3
+Standards-Version: 4.3.0
 Homepage: http://mhogomchungu.github.io/zuluCrypt
-Vcs-Git: https://github.com/marciosouza20/zulucrypt.git
-Vcs-Browser: https://github.com/marciosouza20/zulucrypt.git
+Vcs-Git: https://salsa.debian.org/debian/zulucrypt.git
+Vcs-Browser: https://salsa.debian.org/debian/zulucrypt
 
 Package: zulucrypt-cli
 Architecture: any
diff -Nru zulucrypt-5.4.0/debian/patches/fix_spelling zulucrypt-5.4.0/debian/patches/fix_spelling
--- zulucrypt-5.4.0/debian/patches/fix_spelling	2017-04-13 12:48:14.000000000 -0300
+++ zulucrypt-5.4.0/debian/patches/fix_spelling	2019-02-18 21:11:00.000000000 -0300
@@ -2,11 +2,11 @@
 Author: Marcio de Souza Oliveira <m.desouza20@gmail.com>
 Last-Update: 2017-04-13
 
-Index: zulucrypt-5.1.0/zuluCrypt-cli/bin/main.c
+Index: zulucrypt-5.4.0/zuluCrypt-cli/bin/main.c
 ===================================================================
---- zulucrypt-5.1.0.orig/zuluCrypt-cli/bin/main.c
-+++ zulucrypt-5.1.0/zuluCrypt-cli/bin/main.c
-@@ -626,7 +626,7 @@ int main( int argc,char * argv[] )
+--- zulucrypt-5.4.0.orig/zuluCrypt-cli/bin/main.c
++++ zulucrypt-5.4.0/zuluCrypt-cli/bin/main.c
+@@ -648,7 +648,7 @@ int main( int argc,char * argv[] )
  		switch( zuluCryptGetDeviceFileProperties( device,&fd,&fd1,&dev,uid ) ){
  
  			case 0 : break ;
@@ -15,10 +15,10 @@
  			case 2 : return zuluExit( 112,stl,stx,env,gettext( "ERROR: Given path is a directory" ) ) ;
  			case 3 : return zuluExit( 113,stl,stx,env,gettext( "ERROR: A file can have only one hard link" ) ) ;
  			case 4 : return zuluExit( 113,stl,stx,env,gettext( "ERROR: Insufficient privilges to access the device" ) ) ;
-Index: zulucrypt-5.1.0/zuluMount-cli/main.c
+Index: zulucrypt-5.4.0/zuluMount-cli/main.c
 ===================================================================
---- zulucrypt-5.1.0.orig/zuluMount-cli/main.c
-+++ zulucrypt-5.1.0/zuluMount-cli/main.c
+--- zulucrypt-5.4.0.orig/zuluMount-cli/main.c
++++ zulucrypt-5.4.0/zuluMount-cli/main.c
 @@ -463,7 +463,7 @@ Possible reasons for getting the error a
  				 close( fd ) ;
  			 }
@@ -28,11 +28,11 @@
  		case 2 : printf( gettext( "ERROR: Given path is a directory\n" ) ) ;  			return 221 ;
  		case 3 : printf( gettext( "ERROR: A file can have only one hard link\n" ) ) ;		return 222 ;
  		case 4 : printf( gettext( "ERROR: Insufficient privilges to access the device\n" ) ) ; 	return 223 ;
-Index: zulucrypt-5.1.0/zuluCrypt-gui/utility.cpp
+Index: zulucrypt-5.4.0/zuluCrypt-gui/utility.cpp
 ===================================================================
---- zulucrypt-5.1.0.orig/zuluCrypt-gui/utility.cpp
-+++ zulucrypt-5.1.0/zuluCrypt-gui/utility.cpp
-@@ -1523,7 +1523,7 @@ int utility::pluginKey( QWidget * w,QByt
+--- zulucrypt-5.4.0.orig/zuluCrypt-gui/utility.cpp
++++ zulucrypt-5.4.0/zuluCrypt-gui/utility.cpp
+@@ -1861,7 +1861,7 @@ int utility::pluginKey( QWidget * w,QByt
  	}else if( p == "gpg" ){
  
  		pluginType   = plugins::plugin::gpg ;
@@ -41,11 +41,11 @@
  
  		if( utility::pathExists( "/usr/bin/gpg" ) ){
  
-Index: zulucrypt-5.1.0/zuluCrypt-gui/createvolume.cpp
+Index: zulucrypt-5.4.0/zuluCrypt-gui/createvolume.cpp
 ===================================================================
---- zulucrypt-5.1.0.orig/zuluCrypt-gui/createvolume.cpp
-+++ zulucrypt-5.1.0/zuluCrypt-gui/createvolume.cpp
-@@ -1198,7 +1198,7 @@ only root user or members of group zuluc
+--- zulucrypt-5.4.0.orig/zuluCrypt-gui/createvolume.cpp
++++ zulucrypt-5.4.0/zuluCrypt-gui/createvolume.cpp
+@@ -1191,7 +1191,7 @@ only root user or members of group zuluc
  		case 13: msg.ShowUIOK( tr( "ERROR!" ),tr( "Passphrases do not match" ) ) ;						break  ;
  		case 14: msg.ShowUIOK( tr( "ERROR!" ),tr( "Invalid path to key file" ) ) ;						break  ;
  		case 15: msg.ShowUIOK( tr( "ERROR!" ),tr( "Could not get a key from a key file" ) ) ;					break  ;
@@ -54,11 +54,11 @@
  		case 17: msg.ShowUIOK( tr( "ERROR!" ),tr( "Could not get a key from a socket" ) ) ;					break  ;
  		case 18: msg.ShowUIOK( tr( "ERROR!" ),tr( "One or more required argument(s) for this operation is missing" ) ) ;	break  ;
  		case 19: msg.ShowUIOK( tr( "ERROR!" ),tr( "Can not get passphrase in silent mode" ) ) ;					break  ;
-Index: zulucrypt-5.1.0/zuluMount-gui/keydialog.cpp
+Index: zulucrypt-5.4.0/zuluMount-gui/keydialog.cpp
 ===================================================================
---- zulucrypt-5.1.0.orig/zuluMount-gui/keydialog.cpp
-+++ zulucrypt-5.1.0/zuluMount-gui/keydialog.cpp
-@@ -562,12 +562,12 @@ bool keyDialog::errorNotFound( int r )
+--- zulucrypt-5.4.0.orig/zuluMount-gui/keydialog.cpp
++++ zulucrypt-5.4.0/zuluMount-gui/keydialog.cpp
+@@ -596,12 +596,12 @@ bool keyDialog::errorNotFound( int r )
  		case 14: msg.ShowUIOK( tr( "ERROR!" ),tr( "Insufficient memory to hold passphrase" ) ) ;						break ;
  		case 15: msg.ShowUIOK( tr( "ERROR!" ),tr( "One or more required argument(s) for this operation is missing" ) ) ;			break ;
  		case 16: msg.ShowUIOK( tr( "ERROR!" ),tr( "Invalid path to key file" ) ) ;								break ;
@@ -73,10 +73,10 @@
  		case 113:msg.ShowUIOK( tr( "ERROR!" ),tr( "A non supported device encountered,device is missing or permission denied\n\
  Possible reasons for getting the error are:\n1.Device path is invalid.\n2.The device has LVM or MDRAID signature" ) ) ;					break ;
  		default: return true ;
-Index: zulucrypt-5.1.0/zuluCrypt-gui/erasedevice.cpp
+Index: zulucrypt-5.4.0/zuluCrypt-gui/erasedevice.cpp
 ===================================================================
---- zulucrypt-5.1.0.orig/zuluCrypt-gui/erasedevice.cpp
-+++ zulucrypt-5.1.0/zuluCrypt-gui/erasedevice.cpp
+--- zulucrypt-5.4.0.orig/zuluCrypt-gui/erasedevice.cpp
++++ zulucrypt-5.4.0/zuluCrypt-gui/erasedevice.cpp
 @@ -108,7 +108,7 @@ void erasedevice::taskResult( int st )
  		case 8: msg.ShowPermissionProblem( "Writing",m_ui->lineEdit->text() )				;break ;
  		case 9: msg.ShowUIOK( tr( "ERROR!" ),tr( "Device path is invalid" ) )						;break ;
@@ -86,11 +86,11 @@
  		case 12:msg.ShowUIOK( tr( "ERROR!" ),tr( "Insufficient privilege to open key file for reading" ) )		;break ;
  		case 13:msg.ShowUIOK( tr( "ERROR!" ),tr( "This device appear to already be in use" ) )				;break ;
  		case 14:msg.ShowUIOK( tr( "ERROR!" ),tr( "Can not open a mapper on a mounted device" ) )			;break ;
-Index: zulucrypt-5.1.0/zuluCrypt-gui/luksaddkey.cpp
+Index: zulucrypt-5.4.0/zuluCrypt-gui/luksaddkey.cpp
 ===================================================================
---- zulucrypt-5.1.0.orig/zuluCrypt-gui/luksaddkey.cpp
-+++ zulucrypt-5.1.0/zuluCrypt-gui/luksaddkey.cpp
-@@ -486,7 +486,7 @@ void luksaddkey::taskFinished( int r )
+--- zulucrypt-5.4.0.orig/zuluCrypt-gui/luksaddkey.cpp
++++ zulucrypt-5.4.0/zuluCrypt-gui/luksaddkey.cpp
+@@ -499,7 +499,7 @@ void luksaddkey::taskFinished( int r )
  		case 10 : msg.ShowUIOK( tr( "ERROR!" ),tr( "One or more required argument(s) for this operation is missing" ) ) ;      	break ;
  		case 11 : msg.ShowUIOK( tr( "ERROR!" ),tr( "One or both keyfile(s) does not exist" ) ) ;				break ;
  		case 12 : msg.ShowUIOK( tr( "ERROR!" ),tr( "Insufficient privilege to open key file for reading" ) ) ;			break ;
@@ -99,11 +99,11 @@
  		case 14 : msg.ShowUIOK( tr( "ERROR!" ),tr( "Could not get a key from a socket" ) ) ;					break ;
  		case 15 : msg.ShowUIOK( tr( "ERROR!" ),tr( "Could not get elevated privilege,check binary permissions" ) ) ;		break ;
  		case 110: msg.ShowUIOK( tr( "ERROR!" ),tr( "Can not find a partition that match presented UUID" ) ) ;			break ;
-Index: zulucrypt-5.1.0/zuluCrypt-gui/password_dialog.cpp
+Index: zulucrypt-5.4.0/zuluCrypt-gui/password_dialog.cpp
 ===================================================================
---- zulucrypt-5.1.0.orig/zuluCrypt-gui/password_dialog.cpp
-+++ zulucrypt-5.1.0/zuluCrypt-gui/password_dialog.cpp
-@@ -835,12 +835,12 @@ void passwordDialog::failed( int r )
+--- zulucrypt-5.4.0.orig/zuluCrypt-gui/password_dialog.cpp
++++ zulucrypt-5.4.0/zuluCrypt-gui/password_dialog.cpp
+@@ -905,12 +905,12 @@ void passwordDialog::failed( int r )
  		case 14: msg.ShowUIOK( tr( "ERROR!" ),tr( "Insufficient memory to hold passphrase" ) ) ;							break ;
  		case 15: msg.ShowUIOK( tr( "ERROR!" ),tr( "One or more required argument(s) for this operation is missing" ) ) ;				break ;
  		case 16: msg.ShowUIOK( tr( "ERROR!" ),tr( "Invalid path to key file" ) ) ;								break ;
@@ -118,10 +118,10 @@
  		case 113:msg.ShowUIOK( tr( "ERROR!" ),tr( "A non supported device encountered,device is missing or permission denied\n\
  Possible reasons for getting the error are:\n1.Device path is invalid.\n2.The device has LVM or MDRAID signature" ) ) ;					break ;
  		default: msg.ShowUIOK( tr( "ERROR!" ),tr( "Unrecognized ERROR with status number %1 encountered" ).arg( r ) ) ;
-Index: zulucrypt-5.1.0/zuluCrypt-cli/bin/create_volumes.c
+Index: zulucrypt-5.4.0/zuluCrypt-cli/bin/create_volumes.c
 ===================================================================
---- zulucrypt-5.1.0.orig/zuluCrypt-cli/bin/create_volumes.c
-+++ zulucrypt-5.1.0/zuluCrypt-cli/bin/create_volumes.c
+--- zulucrypt-5.4.0.orig/zuluCrypt-cli/bin/create_volumes.c
++++ zulucrypt-5.4.0/zuluCrypt-cli/bin/create_volumes.c
 @@ -49,7 +49,7 @@ only root user or members of group zuluc
  		case 13: printf( gettext( "ERROR: Passphrases do not match\n" ) ) ;					break  ;
  		case 14: printf( gettext( "ERROR: Invalid path to key file\n" ) ) ;					break  ;
@@ -140,10 +140,10 @@
  		printf( gettext( "Please read documentation on why this is important\n\n" ) ) ;
  	}
  
-Index: zulucrypt-5.1.0/zuluCrypt-cli/bin/open_volume.c
+Index: zulucrypt-5.4.0/zuluCrypt-cli/bin/open_volume.c
 ===================================================================
---- zulucrypt-5.1.0.orig/zuluCrypt-cli/bin/open_volume.c
-+++ zulucrypt-5.1.0/zuluCrypt-cli/bin/open_volume.c
+--- zulucrypt-5.4.0.orig/zuluCrypt-cli/bin/open_volume.c
++++ zulucrypt-5.4.0/zuluCrypt-cli/bin/open_volume.c
 @@ -174,7 +174,7 @@ static int zuluExit( int st,const char *
  		case 14: printf( gettext( "ERROR: Insufficient memory to hold passphrase\n" ) ) ;						break ;
  		case 15: printf( gettext( "ERROR: One or more required argument(s) for this operation is missing\n" ) ) ;			break ;
@@ -153,10 +153,10 @@
  		case 18: printf( gettext( "ERROR: Insufficient privilege to open key file for reading\n" ) );					break ;
  		case 19: printf( gettext( "ERROR: Could not get a passphrase through a local socket\n" ) );					break ;
  		case 20: printf( gettext( "ERROR: Failed to mount a filesystem:invalid/unsupported mount option or unsupported file system encountered\n" ) );break ;
-Index: zulucrypt-5.1.0/zuluCrypt-cli/bin/add_key.c
+Index: zulucrypt-5.4.0/zuluCrypt-cli/bin/add_key.c
 ===================================================================
---- zulucrypt-5.1.0.orig/zuluCrypt-cli/bin/add_key.c
-+++ zulucrypt-5.1.0/zuluCrypt-cli/bin/add_key.c
+--- zulucrypt-5.4.0.orig/zuluCrypt-cli/bin/add_key.c
++++ zulucrypt-5.4.0/zuluCrypt-cli/bin/add_key.c
 @@ -187,7 +187,7 @@ only root user or members of group \"zul
  		case 10 : printf( gettext( "ERROR: One or more required argument(s) for this operation is missing\n" ));break ;
  		case 11 : printf( gettext( "ERROR: One or both keyfile(s) does not exist\n" ) ) ;                      	break ;
@@ -166,10 +166,10 @@
  		case 14 : printf( gettext( "ERROR: Could not get a key from a socket\n" ) ) ;				break ;
  		case 15 : printf( gettext( "ERROR: Could not get elevated privilege,check binary permissions\n" ) ) ;	break ;
  		default : printf( gettext( "ERROR: Unrecognized error with status number %d encountered\n" ),st ) ;
-Index: zulucrypt-5.1.0/zuluCrypt-cli/bin/write_device_with_junk.c
+Index: zulucrypt-5.4.0/zuluCrypt-cli/bin/write_device_with_junk.c
 ===================================================================
---- zulucrypt-5.1.0.orig/zuluCrypt-cli/bin/write_device_with_junk.c
-+++ zulucrypt-5.1.0/zuluCrypt-cli/bin/write_device_with_junk.c
+--- zulucrypt-5.4.0.orig/zuluCrypt-cli/bin/write_device_with_junk.c
++++ zulucrypt-5.4.0/zuluCrypt-cli/bin/write_device_with_junk.c
 @@ -73,7 +73,7 @@ static int zuluExit( stringList_t stl, i
  		case 8 : printf( gettext( "ERROR: Insufficitied privilege to oped device \n" ) ) 			;break ;
  		case 9 : printf( gettext( "ERROR: Device path is invalid\n" ) )						;break ;
@@ -179,11 +179,11 @@
  		case 12: printf( gettext( "ERROR: Insufficient privilege to open key file for reading\n" ) )	       	;break ;
  		case 13: printf( gettext( "ERROR: Can not open a mapper on a device with an opened mapper\n" ) )	;break ;
  		case 14: printf( gettext( "ERROR: Can not open a mapper on a mounted device\n" ) ) 			;break ;
-Index: zulucrypt-5.1.0/zuluCrypt-gui/managevolumeheader.cpp
+Index: zulucrypt-5.4.0/zuluCrypt-gui/managevolumeheader.cpp
 ===================================================================
---- zulucrypt-5.1.0.orig/zuluCrypt-gui/managevolumeheader.cpp
-+++ zulucrypt-5.1.0/zuluCrypt-gui/managevolumeheader.cpp
-@@ -553,7 +553,7 @@ void managevolumeheader::taskFinished( i
+--- zulucrypt-5.4.0.orig/zuluCrypt-gui/managevolumeheader.cpp
++++ zulucrypt-5.4.0/zuluCrypt-gui/managevolumeheader.cpp
+@@ -566,7 +566,7 @@ void managevolumeheader::taskFinished( i
  		case 2 : msg.ShowUIOK( tr( "ERROR!" ),tr( "Presented device is not a LUKS device" ) )					; break ;
  		case 3 : msg.ShowUIOK( tr( "ERROR!" ),tr( "Failed to perform requested operation" ) )					; break ;
  		case 4 : msg.ShowUIOK( tr( "ERROR!" ),tr( "Failed to perform requested operation" ) )					; break ;
@@ -192,10 +192,10 @@
  		case 6 : msg.ShowUIOK( tr( "ERROR!" ),tr( "Path to be used to create a back up file is occupied" ) ) 			; break ;
  		case 7 : msg.ShowUIOK( tr( "ERROR!" ),tr( "Failed to perform requested operation" ) )					; break ;
  		case 8 : msg.ShowUIOK( tr( "ERROR!" ),tr( "Insufficient privilege to open backup header file for reading" ) ) 		; break ;
-Index: zulucrypt-5.1.0/zuluCrypt-cli/bin/save_and_restore_volume_header.c
+Index: zulucrypt-5.4.0/zuluCrypt-cli/bin/save_and_restore_volume_header.c
 ===================================================================
---- zulucrypt-5.1.0.orig/zuluCrypt-cli/bin/save_and_restore_volume_header.c
-+++ zulucrypt-5.1.0/zuluCrypt-cli/bin/save_and_restore_volume_header.c
+--- zulucrypt-5.4.0.orig/zuluCrypt-cli/bin/save_and_restore_volume_header.c
++++ zulucrypt-5.4.0/zuluCrypt-cli/bin/save_and_restore_volume_header.c
 @@ -44,7 +44,7 @@ static int zuluExit( int st,const char *
  		case 2 : printf( gettext( "ERROR: Presented device is not a LUKS device\n" ) ) 					; break ;
  		case 3 : printf( gettext( "ERROR: Failed to perform requested operation\n" ) )					; break ;
@@ -214,10 +214,10 @@
  		case 20: printf( gettext( "ERROR: Wrong password entered or volume is not a truecrypt volume\n" ) )		; break ;
  		case 21: printf( gettext( "ERROR: Wrong password entered or volume is not a veracrypt volume\n" ) )		; break ;
  
-Index: zulucrypt-5.1.0/zuluCrypt-gui/createfile.cpp
+Index: zulucrypt-5.4.0/zuluCrypt-gui/createfile.cpp
 ===================================================================
---- zulucrypt-5.1.0.orig/zuluCrypt-gui/createfile.cpp
-+++ zulucrypt-5.1.0/zuluCrypt-gui/createfile.cpp
+--- zulucrypt-5.4.0.orig/zuluCrypt-gui/createfile.cpp
++++ zulucrypt-5.4.0/zuluCrypt-gui/createfile.cpp
 @@ -202,7 +202,7 @@ void createfile::pbCreate()
  		return msg.ShowUIOK( tr( "ERROR!" ),tr( "File with the same name and at the destination folder already exist" ) ) ;
  	}
@@ -227,10 +227,10 @@
  		m_ui->lineEditFilePath->setFocus() ;
  		return ;
  	}
-Index: zulucrypt-5.1.0/zuluCrypt-gui/createkeyfile.cpp
+Index: zulucrypt-5.4.0/zuluCrypt-gui/createkeyfile.cpp
 ===================================================================
---- zulucrypt-5.1.0.orig/zuluCrypt-gui/createkeyfile.cpp
-+++ zulucrypt-5.1.0/zuluCrypt-gui/createkeyfile.cpp
+--- zulucrypt-5.4.0.orig/zuluCrypt-gui/createkeyfile.cpp
++++ zulucrypt-5.4.0/zuluCrypt-gui/createkeyfile.cpp
 @@ -162,7 +162,7 @@ void createkeyfile::pbCreate()
  	}
  	if( !utility::canCreateFile( path ) ){
@@ -240,10 +240,10 @@
  		m_ui->lineEditPath->setFocus() ;
  		return ;
  	}
-Index: zulucrypt-5.1.0/zuluCrypt-gui/cryptfiles.cpp
+Index: zulucrypt-5.4.0/zuluCrypt-gui/cryptfiles.cpp
 ===================================================================
---- zulucrypt-5.1.0.orig/zuluCrypt-gui/cryptfiles.cpp
-+++ zulucrypt-5.1.0/zuluCrypt-gui/cryptfiles.cpp
+--- zulucrypt-5.4.0.orig/zuluCrypt-gui/cryptfiles.cpp
++++ zulucrypt-5.4.0/zuluCrypt-gui/cryptfiles.cpp
 @@ -251,7 +251,7 @@ void cryptfiles::pbCreate()
  	}
  	if( !utility::canCreateFile( dest ) ){
diff -Nru zulucrypt-5.4.0/debian/patches/linker-flags-ordering.patch zulucrypt-5.4.0/debian/patches/linker-flags-ordering.patch
--- zulucrypt-5.4.0/debian/patches/linker-flags-ordering.patch	1969-12-31 21:00:00.000000000 -0300
+++ zulucrypt-5.4.0/debian/patches/linker-flags-ordering.patch	2019-02-18 21:11:00.000000000 -0300
@@ -0,0 +1,20 @@
+Author: Ahzod
+Description: fix ordering of linker flags for zuluCrypt library
+ Static libraries have to be listed before dynamic ones. Otherwise, when
+ compiling with the '-Wl,--as-needed' flag, the linker doesn't consider the
+ functions used in zuluplay-static when determining that libgcrypt is not used
+ and thus need not be linked against.
+Origin: https://github.com/mhogomchungu/zuluCrypt/pull/112
+Applied-Upstream: https://github.com/mhogomchungu/zuluCrypt/commit/b38a6f8242a5b751fd3d943a33a20714e5f68197
+Bug-Debian: http://bugs.debian.org/922038
+--- a/zuluCrypt-cli/CMakeLists.txt
++++ b/zuluCrypt-cli/CMakeLists.txt
+@@ -121,7 +121,7 @@
+  set_target_properties( zuluCrypt-exe PROPERTIES SOVERSION ${LIB_VERSION} )
+ 
+  if( STATIC_ZULUPLAY )
+-	TARGET_LINK_LIBRARIES( zuluCrypt     String StringList Process ${cryptsetup_lib} ${blkid} ${uuid_lib} ${devmapper_lib} -lgcrypt zuluplay-static )
++	TARGET_LINK_LIBRARIES( zuluCrypt     String StringList Process zuluplay-static ${cryptsetup_lib} ${blkid} ${uuid_lib} ${devmapper_lib} -lgcrypt )
+  else()
+ 	TARGET_LINK_LIBRARIES( zuluCrypt     String StringList Process ${cryptsetup_lib} ${blkid} ${uuid_lib} ${devmapper_lib} ${TCPLAY_LIB} -lgcrypt -lzuluplay )
+  endif()
diff -Nru zulucrypt-5.4.0/debian/patches/series zulucrypt-5.4.0/debian/patches/series
--- zulucrypt-5.4.0/debian/patches/series	2017-08-07 22:22:13.000000000 -0300
+++ zulucrypt-5.4.0/debian/patches/series	2019-02-18 21:11:00.000000000 -0300
@@ -1 +1,2 @@
 fix_spelling
+linker-flags-ordering.patch
diff -Nru zulucrypt-5.4.0/debian/upstream/metadata zulucrypt-5.4.0/debian/upstream/metadata
--- zulucrypt-5.4.0/debian/upstream/metadata	1969-12-31 21:00:00.000000000 -0300
+++ zulucrypt-5.4.0/debian/upstream/metadata	2019-02-18 21:11:00.000000000 -0300
@@ -0,0 +1,5 @@
+Reference:
+  Author: Francis Banyikwa
+  Name: zuluCrypt is a set of tools to encrypted hard drives and files
+  Year: 2017
+  URL: http://mhogomchungu.github.io/zuluCrypt/

Reply to: