r1116 - in packages/libcrypt-rijndael-perl/trunk: . debian

Gustavo Franco stratus@costa.debian.org
Mon, 13 Jun 2005 00:54:08 +0000


Author: stratus
Date: 2005-06-13 00:54:07 +0000 (Mon, 13 Jun 2005)
New Revision: 1116

Added:
   packages/libcrypt-rijndael-perl/trunk/debian/
   packages/libcrypt-rijndael-perl/trunk/debian/changelog
   packages/libcrypt-rijndael-perl/trunk/debian/compat
   packages/libcrypt-rijndael-perl/trunk/debian/control
   packages/libcrypt-rijndael-perl/trunk/debian/copyright
   packages/libcrypt-rijndael-perl/trunk/debian/rules
   packages/libcrypt-rijndael-perl/trunk/debian/watch
Modified:
   packages/libcrypt-rijndael-perl/trunk/rijndael.h
Log:
Load libcrypt-rijndael-perl-0.05 into
packages/libcrypt-rijndael-perl/trunk.


Added: packages/libcrypt-rijndael-perl/trunk/debian/changelog
===================================================================
--- packages/libcrypt-rijndael-perl/trunk/debian/changelog	2005-06-13 00:53:32 UTC (rev 1115)
+++ packages/libcrypt-rijndael-perl/trunk/debian/changelog	2005-06-13 00:54:07 UTC (rev 1116)
@@ -0,0 +1,36 @@
+libcrypt-rijndael-perl (0.05-4) unstable; urgency=low
+  
+  * debian/control:
+    - Short description fixed (full stop removed).
+    - Standards-Version field updated to 3.5.10.
+    - Maintainer field (e-mail) updated to stratus@acm.org.
+    - Section field updated to perl.
+    - Build-Depends field updated (debhelper >> 4.0.0).
+  * debian/rules: 
+    - Removed DH_COMPAT variable.
+    - Building binaries with OPTIMIZE="-O2 -g -Wall".
+    - Now moving Rijndael.pm to the right directory.
+  * debian/compat: added and setted to 4.
+  
+ -- Gustavo Franco <stratus@acm.org>  Tue, 22 Apr 2003 09:17:29 -0300
+
+libcrypt-rijndael-perl (0.05-3) unstable; urgency=low
+
+  * The ¨64 bit is our friend¨ release.
+  * rijndael.h patched. (Closes: #156779)
+  
+ -- Gustavo Franco <stratus@alternex.com.br>  Fri,  6 Sep 2002 10:42:29 -0300
+
+libcrypt-rijndael-perl (0.05-2) unstable; urgency=low
+
+  * The ¨Perl 5.8.0¨ release.
+  * debian/rules cleanup(thanks to: Gergely Nagy).
+
+ -- Gustavo Franco <stratus@alternex.com.br>  Tue, 27 Aug 2002 10:16:56 -0300
+
+libcrypt-rijndael-perl (0.05-1) unstable; urgency=low
+
+  * Initial Release. (Closes: #144509)
+
+ -- Gustavo Franco <stratus@alternex.com.br>  Thu, 25 Apr 2002 10:48:19 -0300
+

Added: packages/libcrypt-rijndael-perl/trunk/debian/compat
===================================================================
--- packages/libcrypt-rijndael-perl/trunk/debian/compat	2005-06-13 00:53:32 UTC (rev 1115)
+++ packages/libcrypt-rijndael-perl/trunk/debian/compat	2005-06-13 00:54:07 UTC (rev 1116)
@@ -0,0 +1 @@
+4

Added: packages/libcrypt-rijndael-perl/trunk/debian/control
===================================================================
--- packages/libcrypt-rijndael-perl/trunk/debian/control	2005-06-13 00:53:32 UTC (rev 1115)
+++ packages/libcrypt-rijndael-perl/trunk/debian/control	2005-06-13 00:54:07 UTC (rev 1116)
@@ -0,0 +1,13 @@
+Source: libcrypt-rijndael-perl
+Section: perl
+Priority: optional
+Maintainer: Gustavo Franco <stratus@acm.org>
+Build-Depends: debhelper (>> 4.0.0), perl (>= 5.8)
+Standards-Version: 3.5.10
+
+Package: libcrypt-rijndael-perl
+Architecture: any
+Depends: ${perl:Depends}
+Description: Perl module implementing the Rijndael algorithm
+ An XS-based implementation of the Advanced Encryption Standard (AES)
+ algorithm Rijndael, designed by Joan Daemen and Vincent Rijmen.

Added: packages/libcrypt-rijndael-perl/trunk/debian/copyright
===================================================================
--- packages/libcrypt-rijndael-perl/trunk/debian/copyright	2005-06-13 00:53:32 UTC (rev 1115)
+++ packages/libcrypt-rijndael-perl/trunk/debian/copyright	2005-06-13 00:54:07 UTC (rev 1116)
@@ -0,0 +1,27 @@
+This package was debianized by Gustavo Franco <stratus@alternex.com.br> on
+Thu, 25 Apr 2002 10:48:19 -0300.
+
+It was downloaded from the Comprehensive Perl Archive Network (CPAN).
+Visit <http://www.perl.com/CPAN/> to find a CPAN site near you.
+
+Upstream Author: Rafael R. Sevilla <sevillar@team.ph.inter.net>
+
+Copyright:
+
+   This package 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; version 2 dated June, 1991.
+
+   This package 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 package; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
+   02111-1307, USA.
+
+On Debian GNU/Linux systems, the complete text of the GNU General
+Public License can be found in `/usr/share/common-licenses/GPL'.
+

Added: packages/libcrypt-rijndael-perl/trunk/debian/rules
===================================================================
--- packages/libcrypt-rijndael-perl/trunk/debian/rules	2005-06-13 00:53:32 UTC (rev 1115)
+++ packages/libcrypt-rijndael-perl/trunk/debian/rules	2005-06-13 00:54:07 UTC (rev 1116)
@@ -0,0 +1,59 @@
+#! /usr/bin/make -f
+# -*-makefile-*-
+# debian/rules file for libcrypt-rijndael-perl
+
+ifndef PERL
+PERL = /usr/bin/perl
+endif
+
+package	:= $(shell sed -ne 's/^Package: *//p' debian/control)
+prefix	:= $(PWD)/debian/$(package)/usr
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+      CFLAGS += -O0
+else
+      CFLAGS += -O2
+endif
+
+# thanks to: Gergely Nagy.
+Makefile: Makefile.PL
+	${PERL} Makefile.PL INSTALLDIRS=vendor
+build: Makefile
+	dh_testdir
+	${MAKE} OPTIMIZE="${CFLAGS} -g -Wall" LD_RUN_PATH=
+
+clean:	checkroot
+	rm -f build-stamp
+	-$(MAKE) distclean
+	dh_clean
+
+binary-indep:	checkroot build
+
+binary-arch:	checkroot build
+	dh_clean
+	dh_installdirs
+
+	$(MAKE) install PREFIX=$(prefix)
+	mkdir -p ${prefix}/share/perl5/Crypt
+	mv ${prefix}/lib/perl5/Crypt/Rijndael.pm ${prefix}/share/perl5/Crypt/Rijndael.pm
+
+	dh_installdocs README
+	dh_installexamples 
+	dh_installchangelogs 
+	dh_strip
+	dh_compress
+	dh_fixperms
+	dh_perl
+	dh_shlibdeps
+	dh_installdeb
+	dh_gencontrol
+	dh_md5sums
+	dh_builddeb
+
+binary:	binary-indep binary-arch
+
+checkroot:
+	dh_testdir
+	dh_testroot
+
+.PHONY:	binary binary-arch binary-indep clean checkroot build


Property changes on: packages/libcrypt-rijndael-perl/trunk/debian/rules
___________________________________________________________________
Name: svn:executable
   + *

Added: packages/libcrypt-rijndael-perl/trunk/debian/watch
===================================================================
--- packages/libcrypt-rijndael-perl/trunk/debian/watch	2005-06-13 00:53:32 UTC (rev 1115)
+++ packages/libcrypt-rijndael-perl/trunk/debian/watch	2005-06-13 00:54:07 UTC (rev 1116)
@@ -0,0 +1,2 @@
+version=2
+http://www.cpan.org/modules/by-module/Crypt/Crypt-Rijndael-(.*)\.tar\.gz

Modified: packages/libcrypt-rijndael-perl/trunk/rijndael.h
===================================================================
--- packages/libcrypt-rijndael-perl/trunk/rijndael.h	2005-06-13 00:53:32 UTC (rev 1115)
+++ packages/libcrypt-rijndael-perl/trunk/rijndael.h	2005-06-13 00:54:07 UTC (rev 1116)
@@ -27,7 +27,12 @@
 
 #include <stdlib.h>
 
-typedef unsigned long UINT32;
+/* typedef unsigned long UINT32; */
+
+/* u_long to u_int because the 64bit archs */
+/* By: Andreas Trottmann and Gustavo Franco */
+typedef unsigned int UINT32;
+
 typedef unsigned char UINT8;
 
 /* Other block sizes and key lengths are possible, but in the context of