summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Hornburg (Racke) <racke@linuxia.de>2016-12-06 15:49:27 +0100
committerStefan Hornburg (Racke) <racke@linuxia.de>2016-12-06 15:49:27 +0100
commit18850319bbad8cf7a773cdc54d607c52605a52cb (patch)
tree2a6b30e9a4c1f3da4005d47040959c8aec218e5e
parentf064ae60367c773a9a4a5dff8dec904c88274216 (diff)
ciphersaber (1.01-2) unstable; urgency=medium
* Add build dependency on libmodule-build-perl (Closes: #838670). [dgit import package ciphersaber 1.01-2]
-rw-r--r--debian/changelog60
-rw-r--r--debian/compat1
-rw-r--r--debian/control18
-rw-r--r--debian/copyright25
-rw-r--r--debian/docs1
-rwxr-xr-xdebian/rules5
-rw-r--r--debian/watch3
-rw-r--r--t/bigfile.t5
8 files changed, 117 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..76c1702
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,60 @@
+ciphersaber (1.01-2) unstable; urgency=medium
+
+ * Add build dependency on libmodule-build-perl (Closes: #838670).
+
+ -- Stefan Hornburg (Racke) <racke@linuxia.de> Tue, 06 Dec 2016 15:49:27 +0100
+
+ciphersaber (1.01-1) unstable; urgency=medium
+
+ * New upstream release (Closes: #329520).
+ * Use simple rules file and updates to control file (Closes: #820401).
+ * Updated watch file from bartm.
+
+ -- Stefan Hornburg (Racke) <racke@linuxia.de> Sat, 17 Sep 2016 17:20:15 +0200
+
+ciphersaber (0.61-4) unstable; urgency=medium
+
+ * New maintainer.
+
+ -- Stefan Hornburg (Racke) <racke@linuxia.de> Tue, 12 Oct 2004 12:03:41 +0200
+
+ciphersaber (0.61-3) unstable; urgency=medium
+
+ * Orphaned.
+ * debian/control:
+ - Set maintainer to Debian QA Group.
+ - Bumped Standards-Version to 3.6.1.
+ - Changed arch from any to all. Closes: Bug#270893.
+ - Rewritten long description. Closes: Bug#210111.
+
+ -- Jerome Marant <jerome@debian.org> Sun, 10 Oct 2004 14:49:03 +0200
+
+ciphersaber (0.61-2) unstable; urgency=low
+
+ * debian/copyright: added Perl licensing terms. Closes: Bug#157529.
+
+ -- Jerome Marant <jerome@debian.org> Sat, 31 Aug 2002 19:35:30 +0200
+
+ciphersaber (0.61-1) unstable; urgency=low
+
+ * New upstream release.
+ * debian/control:
+ - Moved to 'interpreters' section.
+ - Bumped Standards-Version to 3.5.6.1.
+
+ -- Jerome Marant <jerome@debian.org> Sun, 11 Aug 2002 14:17:09 +0200
+
+ciphersaber (0.60-2) unstable; urgency=low
+
+ * Moved to main from non-US.
+ * Switched Standards-Version to 3.5.6.
+
+ -- Jerome Marant <jerome@debian.org> Wed, 27 Mar 2002 07:23:42 +0100
+
+ciphersaber (0.60-1) unstable; urgency=low
+
+ * Initial Release. Closes: Bug#97149.
+
+ -- Jerome Marant <jerome@debian.org> Fri, 27 Apr 2001 14:11:37 +0200
+
+
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..f11c82a
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+9 \ No newline at end of file
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..e1752d8
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,18 @@
+Source: ciphersaber
+Section: interpreters
+Priority: optional
+Maintainer: Stefan Hornburg (Racke) <racke@linuxia.de>
+Build-Depends: debhelper (>= 9), libmodule-build-perl
+Build-Depends-Indep: perl
+Standards-Version: 3.9.8
+
+Package: libcrypt-ciphersaber-perl
+Architecture: all
+Depends: ${misc:Depends}, ${perl:Depends}
+Description: Perl module implementing CipherSaber encryption
+ The Crypt::CipherSaber module implements CipherSaber encryption,
+ described at http://ciphersaber.gurus.com. It is simple, fairly
+ speedy, and relatively secure algorithm based on RC4.
+ .
+ Encryption and decryption are done based on a secret key, which
+ must be shared with all intended recipients of a message.
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..7582699
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,25 @@
+This package was debianized by Jerome Marant <jerome@debian.org> on
+Fri, 27 Apr 2001 14:11:37 +0200.
+
+It was downloaded from http://www.cpan.org/authors/id/C/CH/CHROMATIC
+
+Upstream Author: Chromatic <chromatic@wgz.org>
+
+Copyright:
+
+copyright (c) 2000 chromatic (chromatic@wgz.org), all rights reserved.
+This program is free software; you can redistribute it and/or modify it under
+the same terms as Perl itself, which are:
+
+This program is free software; you can redistribute it and/or modify
+it under the terms of either:
+
+a) the GNU General Public License as published by the Free Software
+ Foundation; either version 1, or (at your option) any later
+ version, or
+
+b) the "Artistic License" which comes with Perl.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL' and
+the Artistic Licence in `/usr/share/common-licenses/Artistic'. \ No newline at end of file
diff --git a/debian/docs b/debian/docs
new file mode 100644
index 0000000..e845566
--- /dev/null
+++ b/debian/docs
@@ -0,0 +1 @@
+README
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..abde6ef
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,5 @@
+#!/usr/bin/make -f
+
+%:
+ dh $@
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..ffd9128
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,3 @@
+version=3
+http://search.cpan.org/dist/Crypt-CipherSaber/ \
+.*/Crypt-CipherSaber-(\d[^\s/]*)\.(?:tar\.xz|txz|tar\.bz2|tbz2|tar\.gz|tgz)
diff --git a/t/bigfile.t b/t/bigfile.t
index 04c74f2..534ae6f 100644
--- a/t/bigfile.t
+++ b/t/bigfile.t
@@ -13,12 +13,15 @@ use_ok( 'Crypt::CipherSaber' );
my $cs = Crypt::CipherSaber->new( 'sdrawkcabsihtdaeR' );
open( INPUT, 'smiles.cs1' ) or die "Couldn't open: $!";
binmode(INPUT);
+my $mode = 0644;
+chmod( $mode, 'smiles.png' ) or die "Couldn't change permissions: $!";
open(OUTPUT, '> smiles.png') or die "Couldn't open: $!";
binmode(OUTPUT);
$cs->fh_crypt(\*INPUT, \*OUTPUT);
close INPUT;
close OUTPUT;
-
+$mode = 0444;
+chmod( $mode, 'smiles.png' ) or die "Couldn't change permissions: $!";
open(TEST, 'smiles.png') or die "Couldn't open: $!";
my $line = <TEST>;