head 1.24; access; symbols OPENPKG_E1_MP_HEAD:1.22 OPENPKG_E1_MP:1.22 OPENPKG_E1_MP_2_STABLE:1.21.2.2 OPENPKG_E1_FP:1.21.2.2 OPENPKG_2_STABLE_MP:1.21 OPENPKG_2_STABLE_20061018:1.21.2.2 OPENPKG_2_STABLE:1.21.0.2 OPENPKG_CW_FP:1.18 OPENPKG_1_STABLE_MP:1.13; locks; strict; comment @-- @; 1.24 date 2009.04.18.13.08.23; author rse; state Exp; branches; next 1.23; commitid 4pHXU27WTIGCZuKt; 1.23 date 2008.01.01.14.50.21; author rse; state Exp; branches; next 1.22; commitid B8esaHJHoduuKILs; 1.22 date 2007.01.01.17.36.29; author rse; state Exp; branches; next 1.21; commitid BicZD6VUl7GuqP0s; 1.21 date 2006.10.13.17.26.41; author thl; state Exp; branches 1.21.2.1; next 1.20; commitid q5GSxzsSDX29XxQr; 1.20 date 2006.01.01.13.11.50; author rse; state Exp; branches; next 1.19; commitid otZG8yKMCw1JFTfr; 1.19 date 2005.03.24.11.18.23; author rse; state Exp; branches; next 1.18; 1.18 date 2005.01.01.10.47.42; author rse; state Exp; branches; next 1.17; 1.17 date 2004.02.07.17.53.17; author rse; state Exp; branches; next 1.16; 1.16 date 2004.02.03.19.59.30; author rse; state Exp; branches; next 1.15; 1.15 date 2004.01.23.13.07.22; author rse; state Exp; branches; next 1.14; 1.14 date 2003.11.17.21.50.26; author rse; state Exp; branches; next 1.13; 1.13 date 2003.07.17.15.32.25; author thl; state Exp; branches; next 1.12; 1.12 date 2003.07.09.15.11.33; author rse; state Exp; branches; next 1.11; 1.11 date 2003.07.08.14.38.32; author rse; state Exp; branches; next 1.10; 1.10 date 2003.07.01.19.30.15; author rse; state Exp; branches; next 1.9; 1.9 date 2003.06.28.13.20.35; author rse; state Exp; branches; next 1.8; 1.8 date 2003.06.18.13.07.18; author mlelstv; state Exp; branches; next 1.7; 1.7 date 2003.03.24.11.08.50; author rse; state Exp; branches; next 1.6; 1.6 date 2003.03.05.18.51.26; author rse; state Exp; branches; next 1.5; 1.5 date 2003.03.05.16.55.52; author rse; state Exp; branches; next 1.4; 1.4 date 2003.02.05.14.28.44; author mlelstv; state Exp; branches; next 1.3; 1.3 date 2003.02.05.13.05.31; author mlelstv; state Exp; branches; next 1.2; 1.2 date 2003.02.04.18.01.37; author rse; state Exp; branches; next 1.1; 1.1 date 2003.02.04.17.32.05; author mlelstv; state Exp; branches; next ; 1.21.2.1 date 2006.10.13.17.26.41; author rse; state dead; branches; next 1.21.2.2; commitid iZxwRSmmWscPXUQr; 1.21.2.2 date 2006.10.16.14.47.24; author rse; state Exp; branches; next ; commitid iZxwRSmmWscPXUQr; desc @@ 1.24 log @bump years in copyright messages @ text @## ## aica.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 information Name: aica Summary: Certification Authority and PKI Tools URL: http://mars.elcom.nitech.ac.jp/security Vendor: Akira Iwata Laboratory Packager: OpenPKG Foundation e.V. Distribution: OpenPKG Community Class: EVAL Group: Security License: AiCrypto Version: 0.81 Release: 20080101 # list of sources Source0: http://mars.elcom.nitech.ac.jp/security/AiCA-%{version}.tar.gz Source1: aica.cnf Patch0: aica.patch %NoSource 0 # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} BuildPreReq: OpenPKG, openpkg >= 20040130, gcc PreReq: OpenPKG, openpkg >= 20040130 AutoReq: no AutoReqProv: no %description Certification Authority Tools This product includes software developed by Akira Iwata Laboratory, Nagoya Institute of Technology in Japan (http://mars.elcom.nitech.ac.jp/) %track prog aica = { version = %{version} url = http://mars.elcom.nitech.ac.jp/security/ regex = AiCA-(__VER__)\.tar\.gz } %prep %setup -q -n AiCA %patch -p0 %build # change path to templates and vendor certs %{l_shtool} subst \ -e 's;strncpy(buf,PREFIX;strncpy(buf,"%{l_prefix}/lib/aica";' \ aica/aica_conf.c # change path to config file for f in */Makefile.in; do %{l_shtool} subst \ -e 's;/lib/aica.cnf;/etc/aica/aica.cnf;g' \ $f done # change default path to certificates %{l_shtool} subst \ -e 's;"%s/certs",PREFIX;"%s/certs","%{l_prefix}/lib/aica";' \ aicrypto/ssl/ssl_vfy.c # mangle dangerous filenames that contain whitespace for f in templates/*; do mv "$f" `echo "$f" | sed -e 's/ /_/g'` done # patch source to reference mangled filenames %{l_shtool} subst \ -e 's;"ARL Profile template";"ARL_Profile_template";g' \ -e 's;"CRL Profile template";"CRL_Profile_template";g' \ -e 's;"CRL-All Profile template";"CRL-All_Profile_template";g' \ -e 's;"Sub-CA Profile template";"Sub-CA_Profile_template";g' \ -e 's;"SMIME user Profile template";"SMIME_user_Profile_template";g' \ -e 's;"Cross Cert Profile template";"Cross_Cert_Profile_template";g' \ aica/aica_new.c \ ca/ca_asn1.c # configure the sources CC="%{l_cc}" \ CFLAGS="%{l_cflags -O}" \ CPPFLAGS="%{l_cppflags}" \ LDFLAGS="%{l_ldflags}" \ ./configure \ --prefix=%{l_prefix} # build the program %{l_make} %{l_mflags -O} %install rm -rf $RPM_BUILD_ROOT # manually install components %{l_shtool} mkdir -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/bin \ $RPM_BUILD_ROOT%{l_prefix}/lib \ $RPM_BUILD_ROOT%{l_prefix}/etc/aica \ $RPM_BUILD_ROOT%{l_prefix}/include/aica \ $RPM_BUILD_ROOT%{l_prefix}/lib/aica/certs \ $RPM_BUILD_ROOT%{l_prefix}/lib/aica/templates \ $RPM_BUILD_ROOT%{l_prefix}/var/aica \ $RPM_BUILD_ROOT%{l_prefix}/share/aica %{l_shtool} install -c -s -m 755 \ aica/aica bin/aistore bin/asn1view bin/certconv \ bin/certreq bin/certvfy bin/certview \ $RPM_BUILD_ROOT%{l_prefix}/bin/ %{l_shtool} install -c -m 755 \ bin/newca.sh $RPM_BUILD_ROOT%{l_prefix}/bin/newca %{l_shtool} install -c -m 644 \ lib/lib*.a $RPM_BUILD_ROOT%{l_prefix}/lib/ %{l_shtool} install -c -m 644 %{l_value -s -a} \ %{SOURCE aica.cnf} $RPM_BUILD_ROOT%{l_prefix}/etc/aica/ %{l_shtool} install -c -m 644 \ aicrypto/include/* aicrypto/aiconfig.h \ $RPM_BUILD_ROOT%{l_prefix}/include/aica/ %{l_shtool} install -c -m 644 \ certs/* $RPM_BUILD_ROOT%{l_prefix}/lib/aica/certs/ %{l_shtool} install -c -m 644 \ templates/* $RPM_BUILD_ROOT%{l_prefix}/lib/aica/templates/ %{l_shtool} install -c -m 644 \ COPYRIGHT README $RPM_BUILD_ROOT%{l_prefix}/share/aica/ %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ %{l_files_std} \ '%config %{l_prefix}/etc/aica/aica.cnf' %files -f files %clean rm -rf $RPM_BUILD_ROOT @ 1.23 log @Update package specifications according to OpenPKG year 2008 world order: http://www.mail-archive.com/openpkg-announce@@openpkg.org/msg00221.html @ text @d3 1 a3 1 ## Copyright (c) 2000-2008 OpenPKG Foundation e.V. @ 1.22 log @Welcome Year 2007! @ text @d3 1 a3 2 ## Copyright (c) 2000-2007 OpenPKG Foundation e.V. ## Copyright (c) 2000-2007 Ralf S. Engelschall d35 1 a35 1 Release: 20061013 @ 1.21 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.21.2.1 log @file aica.spec was added on branch OPENPKG_2_STABLE on 2006-10-16 14:47:24 +0000 @ text @d1 155 @ 1.21.2.2 log @Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class) @ text @a0 155 ## ## aica.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 information Name: aica Summary: Certification Authority and PKI Tools URL: http://mars.elcom.nitech.ac.jp/security Vendor: Akira Iwata Laboratory Packager: OpenPKG Foundation e.V. Distribution: OpenPKG Community Class: EVAL Group: Security License: AiCrypto Version: 0.81 Release: 2.20061018 # list of sources Source0: http://mars.elcom.nitech.ac.jp/security/AiCA-%{version}.tar.gz Source1: aica.cnf Patch0: aica.patch %NoSource 0 # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} BuildPreReq: OpenPKG, openpkg >= 2.20061018, gcc PreReq: OpenPKG, openpkg >= 2.20061018 AutoReq: no AutoReqProv: no %description Certification Authority Tools This product includes software developed by Akira Iwata Laboratory, Nagoya Institute of Technology in Japan (http://mars.elcom.nitech.ac.jp/) %track prog aica = { version = %{version} url = http://mars.elcom.nitech.ac.jp/security/ regex = AiCA-(__VER__)\.tar\.gz } %prep %setup -q -n AiCA %patch -p0 %build # change path to templates and vendor certs %{l_shtool} subst \ -e 's;strncpy(buf,PREFIX;strncpy(buf,"%{l_prefix}/lib/aica";' \ aica/aica_conf.c # change path to config file for f in */Makefile.in; do %{l_shtool} subst \ -e 's;/lib/aica.cnf;/etc/aica/aica.cnf;g' \ $f done # change default path to certificates %{l_shtool} subst \ -e 's;"%s/certs",PREFIX;"%s/certs","%{l_prefix}/lib/aica";' \ aicrypto/ssl/ssl_vfy.c # mangle dangerous filenames that contain whitespace for f in templates/*; do mv "$f" `echo "$f" | sed -e 's/ /_/g'` done # patch source to reference mangled filenames %{l_shtool} subst \ -e 's;"ARL Profile template";"ARL_Profile_template";g' \ -e 's;"CRL Profile template";"CRL_Profile_template";g' \ -e 's;"CRL-All Profile template";"CRL-All_Profile_template";g' \ -e 's;"Sub-CA Profile template";"Sub-CA_Profile_template";g' \ -e 's;"SMIME user Profile template";"SMIME_user_Profile_template";g' \ -e 's;"Cross Cert Profile template";"Cross_Cert_Profile_template";g' \ aica/aica_new.c \ ca/ca_asn1.c # configure the sources CC="%{l_cc}" \ CFLAGS="%{l_cflags -O}" \ CPPFLAGS="%{l_cppflags}" \ LDFLAGS="%{l_ldflags}" \ ./configure \ --prefix=%{l_prefix} # build the program %{l_make} %{l_mflags -O} %install rm -rf $RPM_BUILD_ROOT # manually install components %{l_shtool} mkdir -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/bin \ $RPM_BUILD_ROOT%{l_prefix}/lib \ $RPM_BUILD_ROOT%{l_prefix}/etc/aica \ $RPM_BUILD_ROOT%{l_prefix}/include/aica \ $RPM_BUILD_ROOT%{l_prefix}/lib/aica/certs \ $RPM_BUILD_ROOT%{l_prefix}/lib/aica/templates \ $RPM_BUILD_ROOT%{l_prefix}/var/aica \ $RPM_BUILD_ROOT%{l_prefix}/share/aica %{l_shtool} install -c -s -m 755 \ aica/aica bin/aistore bin/asn1view bin/certconv \ bin/certreq bin/certvfy bin/certview \ $RPM_BUILD_ROOT%{l_prefix}/bin/ %{l_shtool} install -c -m 755 \ bin/newca.sh $RPM_BUILD_ROOT%{l_prefix}/bin/newca %{l_shtool} install -c -m 644 \ lib/lib*.a $RPM_BUILD_ROOT%{l_prefix}/lib/ %{l_shtool} install -c -m 644 %{l_value -s -a} \ %{SOURCE aica.cnf} $RPM_BUILD_ROOT%{l_prefix}/etc/aica/ %{l_shtool} install -c -m 644 \ aicrypto/include/* aicrypto/aiconfig.h \ $RPM_BUILD_ROOT%{l_prefix}/include/aica/ %{l_shtool} install -c -m 644 \ certs/* $RPM_BUILD_ROOT%{l_prefix}/lib/aica/certs/ %{l_shtool} install -c -m 644 \ templates/* $RPM_BUILD_ROOT%{l_prefix}/lib/aica/templates/ %{l_shtool} install -c -m 644 \ COPYRIGHT README $RPM_BUILD_ROOT%{l_prefix}/share/aica/ %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ %{l_files_std} \ '%config %{l_prefix}/etc/aica/aica.cnf' %files -f files %clean rm -rf $RPM_BUILD_ROOT @ 1.20 log @adjust copyrights for new year 2006 @ text @d30 2 a31 2 Packager: OpenPKG Distribution: OpenPKG d36 1 a36 1 Release: 20040207 @ 1.19 log @Adjust the copyright declaration in this (RSE's) copy of the OpenPKG source code now that the fork point for C&W was established (CVS tag OPENPKG_CW_FP), the shared copyright agreement between RSE and C&W is no longer active (as C&W no longer officially sponsors OpenPKG) and the new shared copyright from RSE can be taken over by the newly established juristic entity OpenPKG Foundation e.V. (instead of the non-juristic entity OpenPKG Project). @ text @d3 2 a4 2 ## Copyright (c) 2000-2005 OpenPKG Foundation e.V. ## Copyright (c) 2000-2005 Ralf S. Engelschall @ 1.18 log @Happy New Year 2005 @ text @d2 3 a4 4 ## aica.spec -- OpenPKG RPM Specification ## Copyright (c) 2000-2005 The OpenPKG Project ## Copyright (c) 2000-2005 Ralf S. Engelschall ## Copyright (c) 2000-2005 Cable & Wireless d30 1 a30 1 Packager: The OpenPKG Project @ 1.17 log @Mass Commit: reduce redundancy within .spec files by referencing macros defining vendor source versions whenever possible. This was half-way automated and half-way manually edited. As a result the PMOD activity in 95% of all cases just means editing the version in one single place, only. @ text @d3 3 a5 3 ## Copyright (c) 2000-2004 The OpenPKG Project ## Copyright (c) 2000-2004 Ralf S. Engelschall ## Copyright (c) 2000-2004 Cable & Wireless @ 1.16 log @Mass-Commit: - split "Distribution" header into "Distribution" (old) and "Class" (new) headers by moving the attached class information. - embed the vendor version tracking configuration through the new "%track" section. - bump up the OpenPKG bootstrap dependency, because the "Class" header and "%track" section are only supported by our latest bootstrap version. @ text @d37 1 a37 1 Release: 20040203 d61 1 a61 1 version = 0.81 @ 1.15 log @bump year in copyright messages to cover new year 2004. This is a CVS only commit -- no packages were rolled intentionally @ text @d32 2 a33 1 Distribution: OpenPKG [EVAL] d37 1 a37 1 Release: 20031117 d48 2 a49 2 BuildPreReq: OpenPKG, openpkg >= 20031117, gcc PreReq: OpenPKG, openpkg >= 20031117 d58 7 @ 1.14 log @remove obsolete %integrity macro @ text @d3 3 a5 3 ## Copyright (c) 2000-2003 The OpenPKG Project ## Copyright (c) 2000-2003 Ralf S. Engelschall ## Copyright (c) 2000-2003 Cable & Wireless @ 1.13 log @fix PR#204, use new %{l_value -s ...} @ text @d36 1 a36 1 Release: 20030717 d47 2 a48 2 BuildPreReq: OpenPKG, openpkg >= 20030717, gcc PreReq: OpenPKG, openpkg >= 20030717 a58 1 %integrity @ 1.12 log @do not use the .sh extension in bin files @ text @d36 1 a36 1 Release: 20030709 d47 2 a48 2 BuildPreReq: OpenPKG, openpkg >= 20030108, gcc PreReq: OpenPKG, openpkg >= 20030108 d129 1 a129 2 %{l_shtool} install -c -m 644 \ -e 's;@@l_prefix@@;%{l_prefix};g' \ @ 1.11 log @cleanup copyright part by using just the main company name of Cable & Wireless and adding the URL to the global website @ text @d36 1 a36 1 Release: 20030701 d126 1 a126 1 bin/newca.sh $RPM_BUILD_ROOT%{l_prefix}/bin/ @ 1.10 log @requires gcc @ text @a2 1 ## Copyright (c) 2000-2003 Cable & Wireless Deutschland GmbH d5 1 @ 1.9 log @add missing patch file to CVS @ text @d36 1 a36 1 Release: 20030628 d47 1 a47 1 BuildPreReq: OpenPKG, openpkg >= 20030108 @ 1.8 log @avoid integer computation on opaque datatype fpos_t @ text @d36 1 a36 1 Release: 20030618 @ 1.7 log @speclint police @ text @d36 1 a36 1 Release: 20030324 d41 1 d61 1 @ 1.6 log @mega-commit: speclint police changes which were not picked up by openpkg-dev before @ text @d28 1 a28 1 Summary: manage Certification Authority, PKI tools d36 1 a36 1 Release: 20030305 @ 1.5 log @speclint police and compactify packaging while we're here @ text @d36 1 a36 1 Release: 20030205 d67 1 a67 1 # change path to config file d74 1 a74 1 # change default path to certificates d79 1 a79 1 # mangle dangerous filenames that contain whitespace d83 2 a84 1 # patch source to reference mangled filenames d95 1 d102 2 d108 2 d120 2 a121 7 aica/aica \ bin/aistore \ bin/asn1view \ bin/certconv \ bin/certreq \ bin/certvfy \ bin/certview \ d124 1 a124 2 bin/newca.sh \ $RPM_BUILD_ROOT%{l_prefix}/bin/ d126 1 a126 2 lib/lib*.a \ $RPM_BUILD_ROOT%{l_prefix}/lib/ d129 1 a129 2 %{SOURCE aica.cnf} \ $RPM_BUILD_ROOT%{l_prefix}/etc/aica/ d131 1 a131 2 aicrypto/include/* \ aicrypto/aiconfig.h \ d134 1 a134 2 certs/* \ $RPM_BUILD_ROOT%{l_prefix}/lib/aica/certs/ d136 1 a136 2 templates/* \ $RPM_BUILD_ROOT%{l_prefix}/lib/aica/templates/ d138 2 a139 3 COPYRIGHT \ README \ $RPM_BUILD_ROOT%{l_prefix}/share/aica/ @ 1.4 log @extra @ text @d62 1 a62 1 # change path to templates and vendor certs @ 1.3 log @lots of polishing @ text @d111 1 a111 1 $RPM_BUILD_ROOT%{l_prefix}/var/aica/certs \ d148 1 a148 2 '%config %{l_prefix}/etc/aica/aica.cnf' \ '%attr(1777,%{l_musr},%{l_mgrp}) %{l_prefix}/var/aica' @ 1.2 log @make real OpenPKG style NoSource package @ text @d36 1 a36 1 Release: 20030204 d40 1 d62 1 d64 4 a67 2 -e 's;/store;/etc/aica/certs;g' \ lib/aica.cnf.in d74 20 a107 1 $RPM_BUILD_ROOT%{l_prefix}/etc/aica/certs \ d111 1 d129 2 a130 1 lib/aica.cnf \ a138 4 # DANGER: templates/* expands to filenames with whitespace for f in templates/*; do mv "$f" `echo "$f" | sed -e 's/ /_/g'` done d146 4 a149 1 %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} @ 1.1 log @initial release @ text @d40 1 a40 1 NoSource: 0 d45 2 a46 2 BuildPreReq: OpenPKG, openpkg >= 20030103 PreReq: OpenPKG, openpkg >= 20030103 d57 1 @