head 1.4; access; symbols pkgsrc-2013Q2:1.4.0.36 pkgsrc-2013Q2-base:1.4 pkgsrc-2012Q4:1.4.0.34 pkgsrc-2012Q4-base:1.4 pkgsrc-2011Q4:1.4.0.32 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q2:1.4.0.30 pkgsrc-2011Q2-base:1.4 pkgsrc-2009Q4:1.4.0.28 pkgsrc-2009Q4-base:1.4 pkgsrc-2008Q4:1.4.0.26 pkgsrc-2008Q4-base:1.4 pkgsrc-2008Q3:1.4.0.24 pkgsrc-2008Q3-base:1.4 cube-native-xorg:1.4.0.22 cube-native-xorg-base:1.4 pkgsrc-2008Q2:1.4.0.20 pkgsrc-2008Q2-base:1.4 pkgsrc-2008Q1:1.4.0.18 pkgsrc-2008Q1-base:1.4 pkgsrc-2007Q4:1.4.0.16 pkgsrc-2007Q4-base:1.4 pkgsrc-2007Q3:1.4.0.14 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.12 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.10 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.8 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.6 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.4 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.2 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.3.0.6 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.4 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.2 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.2.0.10 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.8 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.6 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.4 pkgsrc-2004Q2-base:1.2 pkgsrc-2004Q1:1.2.0.2 pkgsrc-2004Q1-base:1.2 pkgsrc-2003Q4:1.1.1.1.0.10 pkgsrc-2003Q4-base:1.1.1.1 netbsd-1-6-1:1.1.1.1.0.6 netbsd-1-6-1-base:1.1.1.1 netbsd-1-6:1.1.1.1.0.8 netbsd-1-6-RELEASE-base:1.1.1.1 pkgviews:1.1.1.1.0.4 pkgviews-base:1.1.1.1 buildlink2:1.1.1.1.0.2 buildlink2-base:1.1.1.1 netbsd-1-5-PATCH003:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.4 date 2006.02.12.02.46.50; author heinz; state dead; branches; next 1.3; 1.3 date 2005.05.28.00.42.31; author heinz; state Exp; branches; next 1.2; 1.2 date 2004.02.22.17.07.18; author heinz; state Exp; branches; next 1.1; 1.1 date 2001.12.30.14.28.04; author wiz; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.12.30.14.28.04; author wiz; state Exp; branches; next ; desc @@ 1.4 log @Updated to version 1.06. Changes since version 1.02: ====================================== There is no list of changes. Changes I found so far: - Used htons() from netinet/in.h to simplify handling of different endianness between platforms. - Some changes in test.pl @ text @$NetBSD: patch-aa,v 1.3 2005/05/28 00:42:31 heinz Exp $ --- _idea.c.orig Sat May 22 22:30:47 1999 +++ _idea.c @@@@ -5,7 +5,22 @@@@ #include "idea.h" -#include +#if defined(__DragonFly__) || defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) +# include +#elif defined(__APPLE__) +# include +#elif defined(__sun) +# define LITTLE_ENDIAN 1234 +# define BIG_ENDIAN 4321 +# include +# if defined(_LITTLE_ENDIAN) +# define BYTE_ORDER LITTLE_ENDIAN +# else +# define BYTE_ORDER BIG_ENDIAN +# endif +#else +# include +#endif #define KEYS_PER_ROUND 6 #define ROUNDS 8 @ 1.3 log @Expanded patch-aa with a few #if cases. This still works on NetBSD (1.6.2 tested) but also fixes the include error on Linux (Debian 3 tested) and Solaris (9 tested). Although DragonFlyBSD, FreeBSD and OpenBSD should work as before I have not tried to build the package there. Feedback whether it builds/works on Darwin/MacOS is also welcome. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.2 2004/02/22 17:07:18 heinz Exp $ @ 1.2 log @Updated to version 1.02. Taking maintainership. Adapted to buildlink3. Changes sinces 1.01 =================== Patch-ab has been incorparated into the distribution. @ text @d1 1 a1 1 $NetBSD$ d5 1 a5 1 @@@@ -5,7 +5,7 @@@@ d10 16 a25 1 +#include @ 1.1 log @Initial revision @ text @d3 2 a4 2 --- idea.c.orig Sun Sep 16 22:50:43 2001 +++ idea.c Sun Sep 16 22:50:08 2001 @ 1.1.1.1 log @Initial import of p5-Crypt-IDEA, provided by Sen Nagata in pkg/14158. Perl module for the IDEA symmetric key algorithm. @ text @@