aboutsummaryrefslogtreecommitdiffstats
path: root/moon-abe/pbc-0.5.14/debian
diff options
context:
space:
mode:
Diffstat (limited to 'moon-abe/pbc-0.5.14/debian')
-rw-r--r--moon-abe/pbc-0.5.14/debian/.gitignore10
-rw-r--r--moon-abe/pbc-0.5.14/debian/README.Debian6
-rw-r--r--moon-abe/pbc-0.5.14/debian/changelog137
-rw-r--r--moon-abe/pbc-0.5.14/debian/compat1
-rw-r--r--moon-abe/pbc-0.5.14/debian/control54
-rw-r--r--moon-abe/pbc-0.5.14/debian/copyright19
-rw-r--r--moon-abe/pbc-0.5.14/debian/docs2
-rw-r--r--moon-abe/pbc-0.5.14/debian/mv_things.sh53
-rw-r--r--moon-abe/pbc-0.5.14/debian/rules117
9 files changed, 399 insertions, 0 deletions
diff --git a/moon-abe/pbc-0.5.14/debian/.gitignore b/moon-abe/pbc-0.5.14/debian/.gitignore
new file mode 100644
index 00000000..6bb833b9
--- /dev/null
+++ b/moon-abe/pbc-0.5.14/debian/.gitignore
@@ -0,0 +1,10 @@
+libpbc
+libpbc0
+files
+libpbc.substvars
+libpbc-dev
+libpbc0.postinst.debhelper
+libpbc0.postrm.debhelper
+libpbc0.substvars
+libpbc-dev.substvars
+*.log
diff --git a/moon-abe/pbc-0.5.14/debian/README.Debian b/moon-abe/pbc-0.5.14/debian/README.Debian
new file mode 100644
index 00000000..a660a0f1
--- /dev/null
+++ b/moon-abe/pbc-0.5.14/debian/README.Debian
@@ -0,0 +1,6 @@
+libpbc for Debian
+-----------------
+
+<possible notes regarding this package - if none, delete this file>
+
+ -- Paul Miller <jettero@gmail.com> Wed, 02 Jan 2008 07:00:03 -0500
diff --git a/moon-abe/pbc-0.5.14/debian/changelog b/moon-abe/pbc-0.5.14/debian/changelog
new file mode 100644
index 00000000..1e587ae8
--- /dev/null
+++ b/moon-abe/pbc-0.5.14/debian/changelog
@@ -0,0 +1,137 @@
+libpbc (0.5.10) unstable; urgency=low
+
+ * GIT DIFF STAT (from 0.5.9 to 0.5.10):
+ * NEWS | 4 +++
+ * configure.ac | 2 +-
+ * debian/.gitignore | 1 +
+ * debian/changelog | 57 +++++++++++++++++++++++++++++++++++++++++++++++
+ * debian/control | 8 +++---
+ * debian/copyright | 6 ++--
+ * debian/mv_things.sh | 8 +++++-
+ * doc/Makefile | 2 +-
+ * doc/preface.txt | 2 +-
+ * ecc/pairing.c | 14 ++++++-----
+ * guru/prodpairing_test.c | 44 ++++++++++++++++++++++++++++++++++++
+ * include/pbc_pairing.h | 4 +--
+ * makedeb.sh | 8 ------
+ * simple.make | 19 ++++++++++++++-
+ * test | 21 +++++++++++-----
+ * 15 files changed, 163 insertions(+), 37 deletions(-)
+
+ -- Paul Miller <jettero@cpan.org> Sun, 24 Oct 2010 07:36:53 -0400
+
+libpbc (0.5.9) unstable; urgency=low
+
+ * GIT DIFF STAT (from 0.5.8 to 0.5.9):
+ * NEWS | 5 +++++
+ * arith/field.c | 10 ++++++++--
+ * configure.ac | 2 +-
+ * debian/.gitignore | 1 +
+ * debian/changelog | 38 ++++++++++++++++++++++++++++++++++++++
+ * debian/control | 8 ++++----
+ * debian/copyright | 6 +++---
+ * debian/mv_things.sh | 8 ++++++--
+ * doc/preface.txt | 2 +-
+ * ecc/pairing.c | 4 +---
+ * include/pbc_pairing.h | 4 ----
+ * makedeb.sh | 8 --------
+ * 12 files changed, 68 insertions(+), 28 deletions(-)
+
+ -- Paul Miller <jettero@cpan.org> Fri, 22 Oct 2010 09:12:15 -0400
+
+libpbc (0.5.8) unstable; urgency=low
+
+ * GIT DIFF STAT (from 0.5.7-1):
+ * COPYING | 827 +++++++++++--------------------------------------------
+ * NEWS | 4 +
+ * configure.ac | 2 +-
+ * doc/preface.txt | 2 +-
+ * 4 files changed, 165 insertions(+), 670 deletions(-)
+
+ -- Paul Miller <jettero@cpan.org> Mon, 17 May 2010 20:21:34 -0400
+
+libpbc (0.5.7-1) unstable; urgency=low
+
+ * Bugfixes and speadups
+ * a couple new functions
+
+ -- Paul Miller <jettero@gmail.com> Mon, 25 Jan 2010 08:47:00 -0500
+
+libpbc (0.5.6-1) unstable; urgency=low
+
+ * Projective coordinates for A1 pairings. Contributed by Zhang Ye.
+ * Bugfix for affine coordinates for A pairings. Contributed by Zhang Ye.
+ * Optionally suppress error messages. Based on code by Geremy Condra.
+
+ -- Paul Miller <jettero@gmail.com> Mon, 9 Nov 2009 07:05:00 -0500
+
+libpbc (0.5.5-2) unstable; urgency=low
+
+ * Trying out the new bison/flex rules in configure.ac
+
+ -- Paul Miller <jettero@gmail.com> Thu, 15 Aug 2009 09:41:00 -0400
+
+libpbc (0.5.5-1) unstable; urgency=low
+
+ * Bugfixes, et al
+
+ -- Paul Miller <jettero@gmail.com> Thu, 15 Aug 2009 09:41:00 -0400
+
+libpbc (0.5.4-1) unstable; urgency=low
+
+ * * Accessors for coordinates of points and coefficients of polynomials.
+
+ -- Paul Miller <jettero@gmail.com> Mon, 24 Aug 2009 21:27:00 -0400
+
+libpbc (0.5.3-1) unstable; urgency=low
+
+ * Revamped pairing-based calculator.
+
+ -- Paul Miller <jettero@gmail.com> Mon, 17 Aug 2009 16:00:00 -0400
+
+libpbc (0.5.2-1) unstable; urgency=low
+
+ * Fixed pbc_param_set_str().
+ * Add DLL to Windows release.
+
+ -- Paul Miller <jettero@gmail.com> Wed, 05 Aug 2009 14:53:00 -0400
+
+libpbc (0.5.1-2) unstable; urgency=low
+
+ * pulled in the actual 0.5.1 files for this pack job
+
+ -- Paul Miller <jettero@gmail.com> Thu, 30 Jul 2009 13:10:00 -0400
+
+libpbc (0.5.1-1) unstable; urgency=low
+
+ * bugfixes for the new param init stuff
+
+ -- Paul Miller <jettero@gmail.com> Wed, 29 Jul 2009 20:50:00 -0400
+
+libpbc (0.5.0-1) unstable; urgency=low
+
+ * init and pairing params changes
+ * refactored the API a bit, removed various things, exposed some things
+ * refactored to avoid symbol pollution.
+
+ -- Paul Miller <jettero@gmail.com> Wed, 29 Jul 2009 08:57:00 -0400
+
+libpbc (0.4.19-1) unstable; urgency=low
+
+ * I decided to roll this into libpbc on gibhub.
+
+ -- Paul Miller <jettero@gmail.com> Wed, 06 May 2009 14:43:00 -0400
+
+libpbc (0.4.18-1) unstable; urgency=low
+
+ * I have my doubts about whether this will fix the bug I've been waiting on
+ for over a year, but I might as well build the thing.
+
+ -- Paul Miller <jettero@gmail.com> Sat, 05 Jul 2008 07:05:00 -0400
+
+libpbc (0.4.12-2) unstable; urgency=low
+
+ * yeah, I did the -1 revision totally wrong, this'll probably be 100% better.
+
+ -- Paul Miller <jettero@gmail.com> Wed, 02 Jan 2008 07:00:03 -0500
+
diff --git a/moon-abe/pbc-0.5.14/debian/compat b/moon-abe/pbc-0.5.14/debian/compat
new file mode 100644
index 00000000..7ed6ff82
--- /dev/null
+++ b/moon-abe/pbc-0.5.14/debian/compat
@@ -0,0 +1 @@
+5
diff --git a/moon-abe/pbc-0.5.14/debian/control b/moon-abe/pbc-0.5.14/debian/control
new file mode 100644
index 00000000..219ed4d1
--- /dev/null
+++ b/moon-abe/pbc-0.5.14/debian/control
@@ -0,0 +1,54 @@
+Source: libpbc
+Priority: extra
+Maintainer: Paul Miller <jettero@gmail.com>
+Build-Depends: debhelper (>= 5), autotools-dev, gentoo-functions, libreadline-dev
+Standards-Version: 3.7.2
+Section: libs
+
+Package: libpbc-dev
+Section: libdevel
+Architecture: any
+Depends: libpbc0 (= ${Source-Version})
+Description: Pairing-Based Cryptography Library
+ Pairing-based cryptography is a relatively young area of cryptography that
+ revolves around a certain function with special properties.
+ The PBC (Pairing-Based Cryptography) library is a free C library (released
+ under the Lesser GNU Public License) built on the GMP library that performs
+ the mathematical operations underlying pairing-based cryptosystem.
+ The PBC library is designed to be the backbone of implementations of
+ pairing-based cryptosystems, thus speed and portability are important goals.
+ It provides routines such as elliptic curve generation, elliptic curve
+ arithmetic and pairing computation. Thanks to the GMP library, despite being
+ written in C, pairings times are reasonable.
+ The API is abstract enough that the PBC library can be used even if the
+ programmer possesses only an elementary understanding of pairings. There is
+ no need to learn about elliptic curves or much of number theory. (The minimum
+ requirement is some knowledge of cyclic groups and properties of the
+ pairing.)
+ This tutorial shows how to implement a pairing-based cryptosystem in a few
+ lines using the PBC library.
+ The PBC library can also be used to build conventional cryptosystems.
+
+Package: libpbc0
+Section: libs
+Architecture: any
+Depends: ${shlibs:Depends}
+Description: Pairing-Based Cryptography Library
+ Pairing-based cryptography is a relatively young area of cryptography that
+ revolves around a certain function with special properties.
+ The PBC (Pairing-Based Cryptography) library is a free C library (released
+ under the Lesser GNU Public License) built on the GMP library that performs
+ the mathematical operations underlying pairing-based cryptosystem.
+ The PBC library is designed to be the backbone of implementations of
+ pairing-based cryptosystems, thus speed and portability are important goals.
+ It provides routines such as elliptic curve generation, elliptic curve
+ arithmetic and pairing computation. Thanks to the GMP library, despite being
+ written in C, pairings times are reasonable.
+ The API is abstract enough that the PBC library can be used even if the
+ programmer possesses only an elementary understanding of pairings. There is
+ no need to learn about elliptic curves or much of number theory. (The minimum
+ requirement is some knowledge of cyclic groups and properties of the
+ pairing.)
+ This tutorial shows how to implement a pairing-based cryptosystem in a few
+ lines using the PBC library.
+ The PBC library can also be used to build conventional cryptosystems.
diff --git a/moon-abe/pbc-0.5.14/debian/copyright b/moon-abe/pbc-0.5.14/debian/copyright
new file mode 100644
index 00000000..f3f43f76
--- /dev/null
+++ b/moon-abe/pbc-0.5.14/debian/copyright
@@ -0,0 +1,19 @@
+This package was debianized by Paul Miller <jettero@gmail.com> on
+Wed, 02 Jan 2008 07:00:03 -0500.
+
+It was downloaded from <http://crypto.stanford.edu/pbc/>
+
+Upstream Author(s):
+
+ Ben Lynn <http://crypto.stanford.edu/~blynn/>
+
+Copyright:
+
+ <Copyright (C) 2010 Ben Lynn of Stanford>
+
+License:
+
+ LGPL
+
+The Debian packaging is (C) 2010, Paul Miller <jettero@gmail.com> and
+is licensed under the GPL, see `/usr/share/common-licenses/GPL'.
diff --git a/moon-abe/pbc-0.5.14/debian/docs b/moon-abe/pbc-0.5.14/debian/docs
new file mode 100644
index 00000000..50bd824b
--- /dev/null
+++ b/moon-abe/pbc-0.5.14/debian/docs
@@ -0,0 +1,2 @@
+NEWS
+README
diff --git a/moon-abe/pbc-0.5.14/debian/mv_things.sh b/moon-abe/pbc-0.5.14/debian/mv_things.sh
new file mode 100644
index 00000000..9d6f248e
--- /dev/null
+++ b/moon-abe/pbc-0.5.14/debian/mv_things.sh
@@ -0,0 +1,53 @@
+#!/bin/bash
+
+# this is all from my ebuild (no doi)
+
+function die() {
+ echo mv_things.sh ERROR
+ exit 1
+}
+
+if [ -z "$1" ]; then
+ echo "no dest dir given?"
+ exit 1
+fi
+
+D=$1
+Ex=${D}/usr/share/doc/libpbc0/examples/
+Ox=`pwd`
+mkdir -p ${Ex}/src
+
+echo "installing examples to ${Ex}"
+
+install -o 0 -g 0 -m 755 gen/genalldparams ${Ex} || die
+install -o 0 -g 0 -m 755 benchmark/report_times ${Ex}/run_tests || die
+
+cp -r param/ ${Ex}/ || die
+cp {pbc,benchmark,gen,example}/*.c ${Ex}/src || die
+rm ${Ex}/src/*.readline.c || die
+
+find ${Ex} -type d -exec chmod 755 {} \; || die
+find ${Ex} -type f -exec chmod 644 {} \; || die
+
+#install -o 0 -g 0 -m 644 exmakefile ${Ex}/src/Makefile
+install -o 0 -g 0 -m 755 -d ${D}/usr/bin/ || die
+
+echo "building a real pbc"
+(cd pbc; gcc -c pbc_getline.readline.c)
+gcc -o realpbc -I. -Iinclude pbc/pbc.c -L .libs -lpbc pbc/pbc_getline.readline.o -lreadline pbc_pbc-symtab.o pbc_pbc-parser.tab.o pbc_pbc-darray.o pbc_pbc-lex.yy.o
+
+echo "installing the pbc binary"
+install -o 0 -g 0 -m 755 realpbc ${D}/usr/bin/pbc || die
+rm realpbc
+
+DEV=`echo ${D}-dev | sed s/libpbc0-dev/libpbc-dev/`
+mkdir -p ${DEV}/usr/share/doc/libpbc0
+mkdir -p ${DEV}/usr/include
+mkdir -p ${DEV}/usr/bin
+mkdir -p ${DEV}/usr/lib
+
+mv ${D}/usr/lib/* ${DEV}/usr/lib
+mv ${DEV}/usr/lib/libpbc*.so.* ${D}/usr/lib
+mv ${D}/usr/include/pbc ${DEV}/usr/include/
+mv ${D}/usr/bin/pbc ${DEV}/usr/bin/
+mv ${D}/usr/share/doc/libpbc0/examples ${DEV}/usr/share/doc
diff --git a/moon-abe/pbc-0.5.14/debian/rules b/moon-abe/pbc-0.5.14/debian/rules
new file mode 100644
index 00000000..3bd1829b
--- /dev/null
+++ b/moon-abe/pbc-0.5.14/debian/rules
@@ -0,0 +1,117 @@
+#!/usr/bin/make -f
+# -*- makefile -*-
+# Sample debian/rules that uses debhelper.
+# This file was originally written by Joey Hess and Craig Small.
+# As a special exception, when this file is copied by dh-make into a
+# dh-make output file, you may use that output file without restriction.
+# This special exception was added by Craig Small in version 0.37 of dh-make.
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+
+# These are used for cross-compiling and for saving the configure script
+# from having to guess our platform (since we know it already)
+DEB_HOST_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
+DEB_BUILD_GNU_TYPE ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
+SHELL=/bin/bash
+
+
+CFLAGS = -Wall -g
+
+ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
+ CFLAGS += -O0
+else
+ CFLAGS += -O2
+endif
+
+# shared library versions, option 1
+version=2.0.5
+major=2
+# option 2, assuming the library is created as src/.libs/libfoo.so.2.0.5 or so
+#version=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/[0-9]+\.[0-9]+\.[0-9]+$$/)) print substr($$0,RSTART)}'`
+#major=`ls src/.libs/lib*.so.* | \
+# awk '{if (match($$0,/\.so\.[0-9]+$$/)) print substr($$0,RSTART+4)}'`
+
+config.status: configure
+ dh_testdir
+ # Add here commands to configure the package.
+ifneq "$(wildcard /usr/share/misc/config.sub)" ""
+ cp -f /usr/share/misc/config.sub config.sub
+endif
+ifneq "$(wildcard /usr/share/misc/config.guess)" ""
+ cp -f /usr/share/misc/config.guess config.guess
+endif
+ ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" LDFLAGS="-Wl,-z,defs"
+
+configure:
+ [ -x ./configure ] || ./setup
+
+build: build-stamp
+build-stamp: config.status
+ dh_testdir
+
+ # Add here commands to compile the package.
+ $(MAKE) -j3
+
+ touch $@
+
+clean:
+ dh_testdir
+ dh_testroot
+ rm -f build-stamp
+
+ # Add here commands to clean up after the build process.
+ -$(MAKE) distclean
+ # rm -f config.sub config.guess
+
+ dh_clean
+
+install: build
+ dh_testdir
+ dh_testroot
+ dh_clean -k
+ dh_installdirs
+
+ # Add here commands to install the package into debian/tmp
+ $(MAKE) DESTDIR=$(CURDIR)/debian/libpbc0 install
+ bash debian/mv_things.sh $(CURDIR)/debian/libpbc0
+
+# Build architecture-independent files here.
+binary-indep: build install
+# We have nothing to do by default.
+
+# Build architecture-dependent files here.
+binary-arch: build install
+ dh_testdir
+ dh_testroot
+ dh_installchangelogs NEWS
+ dh_installdocs README COPYING AUTHORS
+ dh_installexamples
+# dh_install
+# dh_installmenu
+# dh_installdebconf
+# dh_installlogrotate
+# dh_installemacsen
+# dh_installpam
+# dh_installmime
+# dh_installinit
+# dh_installcron
+# dh_installinfo
+ dh_installman
+ dh_link
+ dh_strip
+ dh_compress
+ dh_fixperms
+# dh_perl
+# dh_python
+ dh_makeshlibs
+ dh_installdeb
+ dh_shlibdeps
+ dh_gencontrol
+ dh_md5sums
+ dh_builddeb
+
+binary: binary-indep binary-arch
+.PHONY: build clean binary-indep binary-arch binary install