head 1.16;
access;
symbols
OPENPKG_E1_MP_HEAD:1.11
OPENPKG_E1_MP:1.11
OPENPKG_E1_MP_2_STABLE:1.10.2.2
OPENPKG_E1_FP:1.10.2.2
OPENPKG_2_STABLE_MP:1.10
OPENPKG_2_STABLE_20061018:1.10.2.2
OPENPKG_2_STABLE:1.10.0.2;
locks; strict;
comment @-- @;
1.16
date 2009.07.21.09.13.17; author rse; state Exp;
branches;
next 1.15;
commitid DNLTGgaYlXxnIyWt;
1.15
date 2009.04.18.13.09.26; author rse; state Exp;
branches;
next 1.14;
commitid 4pHXU27WTIGCZuKt;
1.14
date 2008.07.04.07.18.10; author rse; state Exp;
branches;
next 1.13;
commitid lmiZLD0Hkiw9ms9t;
1.13
date 2008.01.01.14.52.15; author rse; state Exp;
branches;
next 1.12;
commitid B8esaHJHoduuKILs;
1.12
date 2007.02.01.17.31.49; author rse; state Exp;
branches;
next 1.11;
commitid kt2aiPTC1DYZqO4s;
1.11
date 2007.01.01.17.37.10; author rse; state Exp;
branches;
next 1.10;
commitid BicZD6VUl7GuqP0s;
1.10
date 2006.10.13.17.27.23; author thl; state Exp;
branches
1.10.2.1;
next 1.9;
commitid q5GSxzsSDX29XxQr;
1.9
date 2006.10.12.09.13.04; author rse; state Exp;
branches;
next 1.8;
commitid fNXd8hjn7DU6hnQr;
1.8
date 2006.09.16.11.16.22; author rse; state Exp;
branches;
next 1.7;
commitid dCGXqhyRXQrdN2Nr;
1.7
date 2006.08.30.07.46.50; author rse; state Exp;
branches;
next 1.6;
commitid zTgGL5SSqtNcbQKr;
1.6
date 2006.07.10.21.34.19; author thl; state Exp;
branches;
next 1.5;
commitid o1BcxwG7uJJJomEr;
1.5
date 2006.05.16.07.23.05; author rse; state Exp;
branches;
next 1.4;
commitid eE3Nn4Fm5v2ksdxr;
1.4
date 2006.01.01.13.12.46; author rse; state Exp;
branches;
next 1.3;
commitid otZG8yKMCw1JFTfr;
1.3
date 2005.09.06.19.18.58; author steve; state Exp;
branches;
next 1.2;
1.2
date 2005.08.09.17.06.29; author cs; state Exp;
branches;
next 1.1;
1.1
date 2005.05.07.10.18.06; author rse; state Exp;
branches;
next ;
1.10.2.1
date 2006.10.13.17.27.23; author rse; state dead;
branches;
next 1.10.2.2;
commitid iZxwRSmmWscPXUQr;
1.10.2.2
date 2006.10.16.14.49.08; author rse; state Exp;
branches;
next ;
commitid iZxwRSmmWscPXUQr;
desc
@@
1.16
log
@upgrading package: cryptlib 3.3.2 -> 3.3.3
@
text
@##
## cryptlib.spec -- OpenPKG RPM Package Specification
## Copyright (c) 2000-2009 OpenPKG Foundation e.V.
##
## Permission to use, copy, modify, and distribute this software for
## any purpose with or without fee is hereby granted, provided that
## the above copyright notice and this permission notice appear in all
## copies.
##
## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
# package version
%define V_full 3.3.3
%define V_comp 333
%define V_track 333
# package information
Name: cryptlib
Summary: Cryptography Library
URL: http://www.cs.auckland.ac.nz/~pgut001/cryptlib/
Vendor: Peter Gutmann
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: EVAL
Group: Cryptography
License: MIT-style
Version: %{V_full}
Release: 20090721
# list of sources
Source0: ftp://ftp.franken.de/pub/crypt/cryptlib/cl%{V_comp}.zip
Source1: ftp://ftp.franken.de/pub/crypt/cryptlib/manual.pdf
Patch0: cryptlib.patch
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 20040130, infozip, make, gcc, perl
PreReq: OpenPKG, openpkg >= 20040130
AutoReq: no
AutoReqProv: no
%description
CryptLib is a powerful security toolkit which allows even
inexperienced crypto programmers to easily add encryption and
authentication services to their software. The high-level interface
provides anyone with the ability to add strong security capabilities
to an application in as little as half an hour, without needing
to know any of the low-level details which make the encryption
or authentication work. Because of this, cryptlib dramatically
reduces the cost involved in adding security to new or existing
applications. CryptLib provides a standardised interface to a number
of popular encryption algorithms, as well as providing a high-level
interface which hides most of the implementation details and
provides an operating-system-independent encoding method which makes
it easy to transfer secured data from one operating environment to
another.
%track
prog cryptlib = {
version = %{V_track}
url = ftp://ftp.franken.de/pub/crypt/cryptlib/
regex = cl(__VER__)\.zip
transform = "s/^(\d\d)$/${1}0/, $_"
}
%prep
%setup -q -c -T
%{l_prefix}/bin/unzip -q -x %{SOURCE0}
%patch -p0
%{l_prefix}/bin/perl -p -i -e 's;\r$;;m' tools/*.pl tools/*.sh
%build
%{l_make} %{l_mflags} \
CC="%{l_cc} %{l_cflags -O}"
%install
rm -rf $RPM_BUILD_ROOT
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/include \
$RPM_BUILD_ROOT%{l_prefix}/lib \
$RPM_BUILD_ROOT%{l_prefix}/share/cryptlib
%{l_shtool} install -c -m 644 \
cryptlib.h $RPM_BUILD_ROOT%{l_prefix}/include/
%{l_shtool} install -c -m 644 \
libcl.a $RPM_BUILD_ROOT%{l_prefix}/lib/libcryptlib.a
%{l_shtool} install -c -m 644 \
%{SOURCE manual.pdf} $RPM_BUILD_ROOT%{l_prefix}/share/cryptlib/
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
%{l_files_std} \
'%doc %{l_prefix}/share/cryptlib/manual.pdf'
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
@
1.15
log
@bump years in copyright messages
@
text
@d25 3
a27 3
%define V_full 3.3.2
%define V_comp 332
%define V_track 332
d40 1
a40 1
Release: 20080704
@
1.14
log
@upgrading package: cryptlib 3.3.1 -> 3.3.2
@
text
@d3 1
a3 1
## Copyright (c) 2000-2008 OpenPKG Foundation e.V.
@
1.13
log
@Update package specifications according to OpenPKG year 2008 world order:
http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html
@
text
@d25 3
a27 3
%define V_full 3.3.1
%define V_comp 331
%define V_track 331
d40 1
a40 1
Release: 20080101
@
1.12
log
@upgrading package: cryptlib 3.3 -> 3.3.1
@
text
@d3 1
a3 2
## Copyright (c) 2000-2007 OpenPKG Foundation e.V.
## Copyright (c) 2000-2007 Ralf S. Engelschall
d40 1
a40 1
Release: 20070201
@
1.11
log
@Welcome Year 2007!
@
text
@d26 3
a28 3
%define V_full 3.3
%define V_comp 33
%define V_track 330
d41 1
a41 1
Release: 20061013
@
1.10
log
@new world order for "Packager" and "Distribution" headers
@
text
@d3 2
a4 2
## Copyright (c) 2000-2006 OpenPKG Foundation e.V.
## Copyright (c) 2000-2006 Ralf S. Engelschall
@
1.10.2.1
log
@file cryptlib.spec was added on branch OPENPKG_2_STABLE on 2006-10-16 14:49:08 +0000
@
text
@d1 110
@
1.10.2.2
log
@Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class)
@
text
@a0 110
##
## cryptlib.spec -- OpenPKG RPM Package Specification
## Copyright (c) 2000-2006 OpenPKG Foundation e.V.
## Copyright (c) 2000-2006 Ralf S. Engelschall
##
## Permission to use, copy, modify, and distribute this software for
## any purpose with or without fee is hereby granted, provided that
## the above copyright notice and this permission notice appear in all
## copies.
##
## THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
## WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
## MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
## IN NO EVENT SHALL THE AUTHORS AND COPYRIGHT HOLDERS AND THEIR
## CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
## SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
## LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
## USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
## ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
## OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
## OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
## SUCH DAMAGE.
##
# package version
%define V_full 3.3
%define V_comp 33
%define V_track 330
# package information
Name: cryptlib
Summary: Cryptography Library
URL: http://www.cs.auckland.ac.nz/~pgut001/cryptlib/
Vendor: Peter Gutmann
Packager: OpenPKG Foundation e.V.
Distribution: OpenPKG Community
Class: EVAL
Group: Cryptography
License: MIT-style
Version: %{V_full}
Release: 2.20061018
# list of sources
Source0: ftp://ftp.franken.de/pub/crypt/cryptlib/cl%{V_comp}.zip
Source1: ftp://ftp.franken.de/pub/crypt/cryptlib/manual.pdf
Patch0: cryptlib.patch
# build information
Prefix: %{l_prefix}
BuildRoot: %{l_buildroot}
BuildPreReq: OpenPKG, openpkg >= 2.20061018, infozip, make, gcc, perl
PreReq: OpenPKG, openpkg >= 2.20061018
AutoReq: no
AutoReqProv: no
%description
CryptLib is a powerful security toolkit which allows even
inexperienced crypto programmers to easily add encryption and
authentication services to their software. The high-level interface
provides anyone with the ability to add strong security capabilities
to an application in as little as half an hour, without needing
to know any of the low-level details which make the encryption
or authentication work. Because of this, cryptlib dramatically
reduces the cost involved in adding security to new or existing
applications. CryptLib provides a standardised interface to a number
of popular encryption algorithms, as well as providing a high-level
interface which hides most of the implementation details and
provides an operating-system-independent encoding method which makes
it easy to transfer secured data from one operating environment to
another.
%track
prog cryptlib = {
version = %{V_track}
url = ftp://ftp.franken.de/pub/crypt/cryptlib/
regex = cl(__VER__)\.zip
transform = "s/^(\d\d)$/${1}0/, $_"
}
%prep
%setup -q -c -T
%{l_prefix}/bin/unzip -q -x %{SOURCE0}
%patch -p0
%{l_prefix}/bin/perl -p -i -e 's;\r$;;m' tools/*.pl tools/*.sh
%build
%{l_make} %{l_mflags} \
CC="%{l_cc} %{l_cflags -O}"
%install
rm -rf $RPM_BUILD_ROOT
%{l_shtool} mkdir -f -p -m 755 \
$RPM_BUILD_ROOT%{l_prefix}/include \
$RPM_BUILD_ROOT%{l_prefix}/lib \
$RPM_BUILD_ROOT%{l_prefix}/share/cryptlib
%{l_shtool} install -c -m 644 \
cryptlib.h $RPM_BUILD_ROOT%{l_prefix}/include/
%{l_shtool} install -c -m 644 \
libcl.a $RPM_BUILD_ROOT%{l_prefix}/lib/libcryptlib.a
%{l_shtool} install -c -m 644 \
%{SOURCE manual.pdf} $RPM_BUILD_ROOT%{l_prefix}/share/cryptlib/
%{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \
%{l_files_std} \
'%doc %{l_prefix}/share/cryptlib/manual.pdf'
%files -f files
%clean
rm -rf $RPM_BUILD_ROOT
@
1.9
log
@use Perl for portability risky substitutions
@
text
@d35 2
a36 2
Packager: OpenPKG
Distribution: OpenPKG
d41 1
a41 1
Release: 20061012
@
1.8
log
@improve tracking and upgrade to latest version
@
text
@d41 1
a41 1
Release: 20060916
d51 1
a51 1
BuildPreReq: OpenPKG, openpkg >= 20040130, infozip, make, gcc
d84 1
a84 1
%{l_shtool} subst -e 's;\r$;;' tools/*.pl tools/*.sh
@
1.7
log
@upgrading package: cryptlib 3.23 -> 3.23a
@
text
@d26 3
a28 2
%define V_full 3.23a
%define V_comp 323a
d41 1
a41 1
Release: 20060830
d74 1
a74 1
version = %{V_comp}
d77 1
@
1.6
log
@upgrading package: cryptlib 3.22 -> 3.23
@
text
@d26 2
a27 2
%define V_full 3.23
%define V_comp 323
d40 1
a40 1
Release: 20060710
@
1.5
log
@fix static vs. extern issue under GCC 4.0
@
text
@d26 2
a27 2
%define V_full 3.22
%define V_comp 322
d40 1
a40 1
Release: 20060516
d82 1
@
1.4
log
@adjust copyrights for new year 2006
@
text
@d40 1
a40 1
Release: 20050906
@
1.3
log
@upgrading package: cryptlib 3.21 -> 3.22
@
text
@d3 2
a4 2
## Copyright (c) 2000-2005 OpenPKG Foundation e.V.
## Copyright (c) 2000-2005 Ralf S. Engelschall
@
1.2
log
@upgrading package: cryptlib 3.2 -> 3.21
@
text
@d26 2
a27 2
%define V_full 3.21
%define V_comp 321
d40 1
a40 1
Release: 20050809
d45 1
d81 1
@
1.1
log
@new package: cryptlib 3.2 (Cryptography Library)
@
text
@d26 2
a27 2
%define V_full 3.2
%define V_comp 32
d40 1
a40 1
Release: 20050507
@