Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Andraž Levstik (bbf817a663062919cd684b2ad4e0d364a80ea69f)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Andraž Levstik <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Andraž Levstik (bbf817a663062919cd684b2ad4e0d364a80ea69f)
  • Date: Tue, 1 May 2007 09:18:58 -0500

GIT changes to master grimoire by Andraž Levstik <ruskie AT mages.ath.cx>:

ChangeLog | 2 +
libs/libtommath/BUILD | 1
libs/libtommath/DEPENDS | 1
libs/libtommath/DETAILS | 53
+++++++++++++++++++++++++++++++++++++++++++++
libs/libtommath/HISTORY | 2 +
utils/open_c-lit/BUILD | 6 +++++
utils/open_c-lit/DEPENDS | 1
utils/open_c-lit/DETAILS | 13 +++++++++++
utils/open_c-lit/HISTORY | 2 +
utils/open_c-lit/INSTALL | 2 +
utils/open_c-lit/PRE_BUILD | 5 ++++
11 files changed, 88 insertions(+)

New commits:
commit c3fda155559345c1238b57b7f04e77cc41a54462
Author: Andraž Levstik <ruskie AT mages.ath.cx>
Commit: Andraž Levstik <ruskie AT mages.ath.cx>

utils/open_c-lit: new spell, lit -> normal format converter

commit 9052e5c3f0eb4e8405e7ed82cb8760927f32f97c
Author: Andraž Levstik <ruskie AT mages.ath.cx>
Commit: Andraž Levstik <ruskie AT mages.ath.cx>

libtommath: new spell mathematcis library

commit 5a90497099149604a18c48c8a7cf8ccaca0344c0
Author: Andraž Levstik <ruskie AT mages.ath.cx>
Commit: Andraž Levstik <ruskie AT mages.ath.cx>

python-devel/reverend: new spell, needed for feedisto

commit 37b66860a268ea30da5044f08c213540de3dd275
Author: Andraž Levstik <ruskie AT mages.ath.cx>
Commit: Andraž Levstik <ruskie AT mages.ath.cx>

python-devel/feedisto: new spell, rss -> html aggregator

commit 3620534110b426a20db1066d61bcae1e943a6254
Author: Andraž Levstik <ruskie AT mages.ath.cx>
Commit: Andraž Levstik <ruskie AT mages.ath.cx>

ipkungfu: new spell, an iptables firewall rule generator

diff --git a/ChangeLog b/ChangeLog
index 860995a..4e6102d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,8 @@
2007-05-01 Andraž "ruskie" Levstik <ruskie AT mages.ath.cx>
* python-devel/feedisto: new spell, rss -> html tool
* python-devel/reverend: new spell, needed for feedisto
+ * libs/libtommath: new spell, mathematics library
+ * utils/open_c-lit: new spell, lit -> normal format converter

2007-04-30 Ladislav Hagara <hgr AT vabo.cz>
* e/expedite: new spell, evas benchmark/test suite
diff --git a/libs/libtommath/BUILD b/libs/libtommath/BUILD
new file mode 100755
index 0000000..8f58e6d
--- /dev/null
+++ b/libs/libtommath/BUILD
@@ -0,0 +1 @@
+make
diff --git a/libs/libtommath/DEPENDS b/libs/libtommath/DEPENDS
new file mode 100755
index 0000000..1c113e9
--- /dev/null
+++ b/libs/libtommath/DEPENDS
@@ -0,0 +1 @@
+depends g++
diff --git a/libs/libtommath/DETAILS b/libs/libtommath/DETAILS
new file mode 100755
index 0000000..f038ed8
--- /dev/null
+++ b/libs/libtommath/DETAILS
@@ -0,0 +1,53 @@
+ SPELL=libtommath
+ VERSION=0.39
+ SOURCE="ltm-${VERSION}.tar.bz2"
+ SOURCE_URL[0]=http://math.libtomcrypt.com/files/${SOURCE}
+
SOURCE_HASH=sha512:5824d5a44e425a38155ae4521370223b04f36ce4518ad190004020cc44ed2ac398557569dc9ea2264d448afed210a5c1020db7c0a549806974e32a89d6d3a353
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/${SPELL}-${VERSION}"
+ WEB_SITE="http://math.libtomcrypt.com";
+ LICENSE[0]=GPL
+ ENTERED=20070222
+ SHORT="LibTomMath is a free open source portable number theoretic
multiple-precision integer library."
+cat << EOF
+LibTomMath is a free open source portable number theoretic multiple-precision
+integer library written entirely in C. (phew!). The library is designed to
+provide a simple to work with API that provides fairly efficient routines
+that build out of the box without configuration.
+
+The library builds out of the box with GCC 2.95 [and up] as well as Visual
+C++ v6.00 [with SP5] without configuration. The source code is arranged to
+make it easy to dive into a particular area very quickly. The code is also
+littered with comments [This is one of the on going goals] that help explain
+the algorithms and their implementations. Ideally the code will serve as an
+educational tool in the future for CS students studying number theory.
+
+The library provides a vast array of highly optimized routines from various
+branches of number theory.
+
+ * Simple Algebraic
+ o Addition o Subtraction o Multiplication o Squaring o Division
+ * Digit Manipulation
+ o Shift left/right whole digits (mult by 2b by moving digits)
+ o Fast multiplication/division by 2 and 2k for k>1 o Binary AND,
+ OR and XOR gates
+ * Modular Reductions
+ o Barrett Reduction (fast for any p) o Montgomery Reduction (faster
+ for any odd p) o DR Reduction (faster for any restricted p see
+ manual) o 2k Reduction (fast reduction modulo 2p - k for k <
MP_MASK
+ and for k > MP_MASK) o The exptmod logic can use any of the five
+ reduction algorithms when appropriate with a single function call.
+ * Number Theoretic
+ o Greatest Common Divisor o Least Common Multiple o Jacobi
+ Symbol Computation (falls back to Legendre for prime moduli) o
+ Multiplicative Inverse o Extended Euclidean Algorithm o Modular
+ Exponentiation o Fermat and Miller-Rabin Primality Tests, utility
+ function such as is_prime and next_prime
+ * Miscellaneous
+ o Root finding over Z o Pseudo-random integers o Signed and
+ Unsigned comparisons
+ * Optimizations
+ o Fast Comba based Multiplier, Squaring and Montgomery routines.
+ o Montgomery, Diminished Radix and Barrett based modular
+ exponentiation. o Karatsuba and Toom-Cook multiplication
algorithms.
+ o Many pointer aliasing optimiztions throughout the entire library.
+EOF
diff --git a/libs/libtommath/HISTORY b/libs/libtommath/HISTORY
new file mode 100644
index 0000000..cc83cba
--- /dev/null
+++ b/libs/libtommath/HISTORY
@@ -0,0 +1,2 @@
+2007-02-22 Andraž "ruskie" Levstik <ruskie AT mages.ath.cx>
+ * DETAILS, DEPENDS, BUILD, HISTORY: created spell
diff --git a/utils/open_c-lit/BUILD b/utils/open_c-lit/BUILD
new file mode 100755
index 0000000..3325de4
--- /dev/null
+++ b/utils/open_c-lit/BUILD
@@ -0,0 +1,6 @@
+cd lib &&
+make &&
+cd .. &&
+cd clit18 &&
+make
+
diff --git a/utils/open_c-lit/DEPENDS b/utils/open_c-lit/DEPENDS
new file mode 100755
index 0000000..3315099
--- /dev/null
+++ b/utils/open_c-lit/DEPENDS
@@ -0,0 +1 @@
+depends libtommath
diff --git a/utils/open_c-lit/DETAILS b/utils/open_c-lit/DETAILS
new file mode 100755
index 0000000..e06eb4f
--- /dev/null
+++ b/utils/open_c-lit/DETAILS
@@ -0,0 +1,13 @@
+ SPELL=open_c-lit
+ VERSION=1.8
+ SOURCE="${SPELL}-${VERSION}.tar.gz"
+ SOURCE_URL[0]=http://www.kyz.uklinux.net/downloads/${SOURCE}
+
SOURCE_HASH=sha512:7019a721c7780b0b722fcf65cc41253196d51a6eea4fd401a5778bc7e2d21829f5a855caec83c0654a74e42120da204a59bd7a9e546704d4e684cd0417254adf
+SOURCE_DIRECTORY="${BUILD_DIRECTORY}/clit18"
+ WEB_SITE="http://www.kyz.uklinux.net/convlit.php";
+ LICENSE[0]=GPL
+ ENTERED=20070222
+ SHORT="Converting .LIT files."
+cat << EOF
+A Microsoft .LIT converter
+EOF
diff --git a/utils/open_c-lit/HISTORY b/utils/open_c-lit/HISTORY
new file mode 100644
index 0000000..56e1ec6
--- /dev/null
+++ b/utils/open_c-lit/HISTORY
@@ -0,0 +1,2 @@
+2007-02-22 Andraž "ruskie" Levstik <ruskie AT mages.ath.cx>
+ * DETAILS, DEPENDS, PRE_BUILD, BUILD, INSTALL, HISTORY: created spell
diff --git a/utils/open_c-lit/INSTALL b/utils/open_c-lit/INSTALL
new file mode 100755
index 0000000..a68e66c
--- /dev/null
+++ b/utils/open_c-lit/INSTALL
@@ -0,0 +1,2 @@
+cp clit ${INSTALL_ROOT}/usr/bin &&
+chmod 0555 ${INSTALL_ROOT}/usr/bin/clit
diff --git a/utils/open_c-lit/PRE_BUILD b/utils/open_c-lit/PRE_BUILD
new file mode 100755
index 0000000..24307ba
--- /dev/null
+++ b/utils/open_c-lit/PRE_BUILD
@@ -0,0 +1,5 @@
+mk_source_dir $SOURCE_DIRECTORY &&
+cd $SOURCE_DIRECTORY &&
+unpack_file '' &&
+sedit "s:CFLAGS=-funsigned-char -Wall -O2 -I ../libtommath-0.30/ -I ../lib
-I ../lib/des -I .:CFLAGS=-funsigned-char -Wall $CFLAGS -I ../lib -I
../lib/des -I .:" clit18/Makefile &&
+sedit "s:gcc -o clit \$\^ ../libtommath-0.30/libtommath.a:gcc -o clit \$\^
$INSTALL_ROOT/usr/lib/libtommath.a:" clit18/Makefile




Archive powered by MHonArc 2.6.24.

Top of Page