head 1.34; access; symbols OPENPKG_E1_MP_HEAD:1.32 OPENPKG_E1_MP:1.32 OPENPKG_E1_MP_2_STABLE:1.29.2.2 OPENPKG_E1_FP:1.29.2.2 OPENPKG_2_STABLE_MP:1.32 OPENPKG_2_STABLE_20061018:1.29.2.2 OPENPKG_2_STABLE_20060622:1.29.2.1 OPENPKG_2_STABLE:1.29.0.2 OPENPKG_2_STABLE_BP:1.29 OPENPKG_2_5_RELEASE:1.28.4.1 OPENPKG_2_5_SOLID:1.28.0.4 OPENPKG_2_5_SOLID_BP:1.28 OPENPKG_2_4_RELEASE:1.28.2.1 OPENPKG_2_4_SOLID:1.28.0.2 OPENPKG_2_4_SOLID_BP:1.28 OPENPKG_CW_FP:1.27 OPENPKG_2_3_RELEASE:1.27.2.1 OPENPKG_2_3_SOLID:1.27.0.2 OPENPKG_2_3_SOLID_BP:1.27 OPENPKG_2_2_RELEASE:1.26.6.1 OPENPKG_2_2_SOLID:1.26.0.6 OPENPKG_2_2_SOLID_BP:1.26 OPENPKG_2_1_RELEASE:1.26.4.1 OPENPKG_2_1_SOLID:1.26.0.4 OPENPKG_2_1_SOLID_BP:1.26 OPENPKG_2_0_RELEASE:1.26.2.1 OPENPKG_2_0_SOLID:1.26.0.2 OPENPKG_2_0_SOLID_BP:1.26 OPENPKG_1_3_RELEASE:1.18.2.2.2.1 OPENPKG_1_3_SOLID:1.18.2.2.0.2 OPENPKG_1_3_SOLID_BP:1.18.2.2 OPENPKG_1_STABLE_MP:1.21 OPENPKG_1_2_RELEASE:1.18.2.1.2.1 OPENPKG_1_2_SOLID:1.18.2.1.0.2 OPENPKG_1_2_SOLID_BP:1.18.2.1 OPENPKG_1_STABLE:1.18.0.2 OPENPKG_1_STABLE_BP:1.18 OPENPKG_1_1_RELEASE:1.10.2.1 OPENPKG_1_1_SOLID:1.10.0.2 OPENPKG_1_1_SOLID_BP:1.10; locks; strict; comment @-- @; 1.34 date 2009.04.18.13.14.13; author rse; state Exp; branches; next 1.33; commitid 4pHXU27WTIGCZuKt; 1.33 date 2008.01.01.15.02.34; author rse; state Exp; branches; next 1.32; commitid B8esaHJHoduuKILs; 1.32 date 2007.01.01.17.41.01; author rse; state Exp; branches; next 1.31; commitid BicZD6VUl7GuqP0s; 1.31 date 2006.11.13.18.10.01; author rse; state Exp; branches; next 1.30; commitid 3ynPh46LE5lxdxUr; 1.30 date 2006.10.13.17.32.32; author thl; state Exp; branches; next 1.29; commitid q5GSxzsSDX29XxQr; 1.29 date 2006.01.01.13.20.31; author rse; state Exp; branches 1.29.2.1; next 1.28; commitid otZG8yKMCw1JFTfr; 1.28 date 2005.03.24.11.20.00; author rse; state Exp; branches 1.28.2.1 1.28.4.1; next 1.27; 1.27 date 2005.01.01.10.53.50; author rse; state Exp; branches 1.27.2.1; next 1.26; 1.26 date 2004.02.07.17.57.53; author rse; state Exp; branches 1.26.2.1 1.26.4.1 1.26.6.1; next 1.25; 1.25 date 2004.02.03.20.05.20; author rse; state Exp; branches; next 1.24; 1.24 date 2004.01.23.13.12.50; author rse; state Exp; branches; next 1.23; 1.23 date 2003.09.26.17.54.29; author ms; state Exp; branches; next 1.22; 1.22 date 2003.09.18.16.45.43; author rse; state Exp; branches; next 1.21; 1.21 date 2003.07.22.13.49.14; author rse; state Exp; branches; next 1.20; 1.20 date 2003.07.08.14.41.51; author rse; state Exp; branches; next 1.19; 1.19 date 2003.05.30.18.46.57; author rse; state Exp; branches; next 1.18; 1.18 date 2003.01.03.10.54.14; author rse; state Exp; branches 1.18.2.1; next 1.17; 1.17 date 2002.12.30.22.06.09; author rse; state Exp; branches; next 1.16; 1.16 date 2002.12.30.21.06.23; author rse; state Exp; branches; next 1.15; 1.15 date 2002.12.20.19.32.55; author rse; state Exp; branches; next 1.14; 1.14 date 2002.11.22.09.53.38; author rse; state Exp; branches; next 1.13; 1.13 date 2002.08.29.10.53.38; author ms; state Exp; branches; next 1.12; 1.12 date 2002.08.29.10.49.59; author ms; state Exp; branches; next 1.11; 1.11 date 2002.08.29.09.41.20; author ms; state Exp; branches; next 1.10; 1.10 date 2002.08.13.12.49.28; author rse; state Exp; branches 1.10.2.1; next 1.9; 1.9 date 2002.06.23.10.56.30; author rse; state Exp; branches; next 1.8; 1.8 date 2002.06.21.21.19.23; author rse; state Exp; branches; next 1.7; 1.7 date 2002.06.21.21.10.03; author rse; state Exp; branches; next 1.6; 1.6 date 2002.06.21.20.01.08; author rse; state Exp; branches; next 1.5; 1.5 date 2002.06.21.17.48.22; author rse; state Exp; branches; next 1.4; 1.4 date 2002.06.21.17.40.45; author rse; state Exp; branches; next 1.3; 1.3 date 2002.06.21.15.45.56; author rse; state Exp; branches; next 1.2; 1.2 date 2002.06.21.15.20.17; author rse; state Exp; branches; next 1.1; 1.1 date 2002.06.21.12.04.54; author rse; state Exp; branches; next ; 1.29.2.1 date 2006.06.20.15.23.35; author rse; state Exp; branches; next 1.29.2.2; commitid P9b9BoNafLYTTKBr; 1.29.2.2 date 2006.10.16.14.54.35; author rse; state Exp; branches; next 1.29.2.3; commitid iZxwRSmmWscPXUQr; 1.29.2.3 date 2007.01.06.13.49.42; author thl; state Exp; branches; next ; commitid 64YWMfcnWvBu2s1s; 1.28.2.1 date 2005.06.15.19.03.34; author rse; state Exp; branches; next ; 1.28.4.1 date 2005.10.11.12.51.27; author rse; state Exp; branches; next ; 1.27.2.1 date 2005.02.21.17.08.11; author rse; state Exp; branches; next ; 1.26.2.1 date 2004.02.18.14.51.05; author rse; state Exp; branches; next ; 1.26.4.1 date 2004.07.02.15.27.13; author rse; state Exp; branches; next ; 1.26.6.1 date 2004.10.11.18.58.21; author rse; state Exp; branches; next ; 1.18.2.1 date 2003.01.18.14.14.03; author rse; state Exp; branches 1.18.2.1.2.1; next 1.18.2.2; 1.18.2.2 date 2003.07.24.20.50.21; author rse; state Exp; branches 1.18.2.2.2.1; next ; 1.18.2.1.2.1 date 2003.01.18.17.21.57; author rse; state Exp; branches; next ; 1.18.2.2.2.1 date 2003.07.29.15.00.55; author rse; state Exp; branches; next ; 1.10.2.1 date 2002.08.26.19.54.44; author rse; state Exp; branches; next ; desc @@ 1.34 log @bump years in copyright messages @ text @## ## pgp2.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_short 2.x %define V_long 2.6.3i %define V_strip 263 # package information Name: pgp2 Summary: Pretty Good Privacy URL: http://www.pgpi.org/ Vendor: Philip Zimmerman Packager: OpenPKG Foundation e.V. Distribution: OpenPKG Community Class: PLUS Group: PGP License: GPL Version: %{V_long} Release: 20080101 # list of sources Source0: ftp://ftp.pgpi.org/pub/pgp/%{V_short}/src/pgp%{V_strip}is.tar.gz Source1: language.idx Patch0: pgp2.patch # build information Prefix: %{l_prefix} BuildRoot: %{l_buildroot} BuildPreReq: OpenPKG, openpkg >= 20040130, gcc PreReq: OpenPKG, openpkg >= 20040130 AutoReq: no AutoReqProv: no %description PGP (Pretty Good Privacy) is a public key encryption program originally written by Phil Zimmermann in 1991. This is version %{V_long}, considered a classic PGP by some and outdated by others. However, this version of PGP is absent of questionable security features implemented in more current releases. Because of this, some paranoid PGP users prefer this classic version. An article http://senderek.de/security/key-experiments.html explains the questionable security features of newer versions of PGP, and the reasons that PGP %{V_long} might be the most secure version to date. This version includes '4k' patch code from Rich WALES. It will not display warnings regarding RSA patent rights, and allows key generation and processing of up to 4096 bits in length. For more information, please see http://www.richw.org/pgp/263i-4k-patch. %track prog pgp2 = { version = %{V_strip} url = ftp://ftp.pgpi.org/pub/pgp/2.x/src/ regex = pgp(__VER__)is\.tar\.gz } %prep # extract distribution %setup -c -n pgp-%{V_long} %{l_tar} -xf pgp%{V_strip}ii.tar %patch -p0 # patch distribution %{l_shtool} subst \ -e 's;\/usr\/local\/lib\/pgp;%{l_prefix}\/etc\/pgp2;' \ src/fileio.h %build # build program cd src CC="%{l_cc}" CFLAGS="%{l_cflags -O} -fno-strength-reduce" CFLAGS="$CFLAGS -DUNIX -DPORTABLE" case "%{l_platform -t}" in sparc* ) CFLAGS="$CFLAGS -DHIGHFIRST" ;; i?86* ) CFLAGS="$CFLAGS -DIDEA32" ;; esac case "%{l_platform -t}" in *-freebsd* ) CFLAGS="$CFLAGS -DMAX_NAMELEN=255" ;; *-linux* ) CFLAGS="$CFLAGS -DLINUX" ;; *-sunos* ) CFLAGS="$CFLAGS -DSOLARIS" ;; esac %{l_make} %{l_mflags} \ CC="$CC" CFLAGS="$CFLAGS" pgp %install rm -rf $RPM_BUILD_ROOT %{l_shtool} mkdir -f -p -m 755 \ $RPM_BUILD_ROOT%{l_prefix}/bin \ $RPM_BUILD_ROOT%{l_prefix}/man/man1 \ $RPM_BUILD_ROOT%{l_prefix}/etc/pgp2 # install program and manpage files %{l_shtool} install -c -s -m 755 \ src/pgp $RPM_BUILD_ROOT%{l_prefix}/bin/pgp2 %{l_shtool} install -c -m 644 \ doc/pgp.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/pgp2.1 # install configuration, language, and help files %{l_shtool} install -c -m 644 \ config.txt *.hlp doc/pgpdoc[12].txt \ language.txt %{SOURCE language.idx} \ $RPM_BUILD_ROOT%{l_prefix}/etc/pgp2/ # determine installation files and mark configs %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT \ %{l_files_std} \ '%config %{l_prefix}/etc/pgp2/config.txt' %files -f files %clean rm -rf $RPM_BUILD_ROOT @ 1.33 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.32 log @Welcome Year 2007! @ 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: 20061113 @ 1.31 log @place PGP related packages into their own dedicated class @ text @d3 2 a4 2 ## Copyright (c) 2000-2006 OpenPKG Foundation e.V. ## Copyright (c) 2000-2006 Ralf S. Engelschall @ 1.30 log @new world order for "Packager" and "Distribution" headers @ text @d38 1 a38 1 Group: Cryptography d41 1 a41 1 Release: 20061013 @ 1.29 log @adjust copyrights for new year 2006 @ text @d35 2 a36 2 Packager: OpenPKG Distribution: OpenPKG d41 1 a41 1 Release: 20040207 @ 1.29.2.1 log @bump release numbers for OpenPKG 2.20060622 in advance @ text @d41 1 a41 1 Release: 2.20060622 d51 2 a52 2 BuildPreReq: OpenPKG, openpkg >= 2.20060622, gcc PreReq: OpenPKG, openpkg >= 2.20060622 @ 1.29.2.2 log @Mass merge from CURRENT to 2-STABLE (all packages except those of JUNK class) @ text @d35 2 a36 2 Packager: OpenPKG Foundation e.V. Distribution: OpenPKG Community d41 1 a41 1 Release: 2.20061018 d51 2 a52 2 BuildPreReq: OpenPKG, openpkg >= 2.20061018, gcc PreReq: OpenPKG, openpkg >= 2.20061018 @ 1.29.2.3 log @MFC: make up leeway for 2_STABLE by virtue of build-time results @ text @d3 2 a4 2 ## Copyright (c) 2000-2007 OpenPKG Foundation e.V. ## Copyright (c) 2000-2007 Ralf S. Engelschall d38 1 a38 1 Group: PGP d41 1 a41 1 Release: 2.20070106 @ 1.28 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.28.4.1 log @bump release numbers for OpenPKG 2.5 @ text @d41 1 a41 1 Release: 2.5.0 d51 2 a52 2 BuildPreReq: OpenPKG, openpkg >= 2.5.0, gcc PreReq: OpenPKG, openpkg >= 2.5.0 @ 1.28.2.1 log @bump release numbers for OpenPKG 2.4 @ text @d41 1 a41 1 Release: 2.4.0 d51 2 a52 2 BuildPreReq: OpenPKG, openpkg >= 2.4.0, gcc PreReq: OpenPKG, openpkg >= 2.4.0 @ 1.27 log @Happy New Year 2005 @ text @d2 3 a4 4 ## pgp2.spec -- OpenPKG RPM Specification ## Copyright (c) 2000-2005 The OpenPKG Project ## Copyright (c) 2000-2005 Ralf S. Engelschall ## Copyright (c) 2000-2005 Cable & Wireless d35 1 a35 1 Packager: The OpenPKG Project @ 1.27.2.1 log @bump release numbers for OpenPKG 2.3 @ text @d42 1 a42 1 Release: 2.3.0 d52 2 a53 2 BuildPreReq: OpenPKG, openpkg >= 2.3.0, gcc PreReq: OpenPKG, openpkg >= 2.3.0 @ 1.26 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.26.6.1 log @bump release numbers for OpenPKG 2.2 @ text @d42 1 a42 1 Release: 2.2.0 d52 2 a53 2 BuildPreReq: OpenPKG, openpkg >= 2.2.0, gcc PreReq: OpenPKG, openpkg >= 2.2.0 @ 1.26.4.1 log @bump release numbers for OpenPKG 2.1 @ text @d42 1 a42 1 Release: 2.1.0 d52 2 a53 2 BuildPreReq: OpenPKG, openpkg >= 2.1.0, gcc PreReq: OpenPKG, openpkg >= 2.1.0 @ 1.26.2.1 log @bump release numbers for OpenPKG 2.0 @ text @d42 1 a42 1 Release: 2.0.0 d52 2 a53 2 BuildPreReq: OpenPKG, openpkg >= 2.0.0, gcc PreReq: OpenPKG, openpkg >= 2.0.0 @ 1.25 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 @d42 1 a42 1 Release: 20040203 d71 7 @ 1.24 log @bump year in copyright messages to cover new year 2004. This is a CVS only commit -- no packages were rolled intentionally @ text @d37 2 a38 1 Distribution: OpenPKG [PLUS] d42 1 a42 1 Release: 20030926 d52 2 a53 2 BuildPreReq: OpenPKG, openpkg >= 20030909, gcc PreReq: OpenPKG, openpkg >= 20030909 @ 1.23 log @Make hardware ids consistent @ 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.22 log @convert to new %{l_platform} world order @ text @d41 1 a41 1 Release: 20030918 d90 1 a90 1 *[3456x]86*) CFLAGS="$CFLAGS -DIDEA32" ;; @ 1.21 log @merge patches into one and use canonical patch file name @ text @d41 1 a41 1 Release: 20030722 d51 2 a52 2 BuildPreReq: OpenPKG, openpkg >= 20030516, gcc PreReq: OpenPKG, openpkg >= 20030516 d88 1 a88 1 case "%{l_target}" in d92 1 a92 1 case "%{l_target}" in d95 1 a95 1 *-solaris* ) CFLAGS="$CFLAGS -DSOLARIS" ;; @ 1.20 log @cleanup copyright part by using just the main company name of Cable & Wireless and adding the URL to the global website @ text @d41 1 a41 1 Release: 20030530 d46 1 a46 2 Patch0: keygen.patch Patch1: system.patch d75 1 a75 2 %patch0 -p0 %patch1 -p0 @ 1.19 log @remove obsoleted chmod @ text @a2 1 ## Copyright (c) 2000-2003 Cable & Wireless Deutschland GmbH d5 1 @ 1.18 log @remove '%options' hack, it will be replaced soon with a more elegant solution based on RPM 'Provides' headers @ text @d26 1 d41 1 a41 1 Release: 20021122 d52 2 a53 2 BuildPreReq: OpenPKG, openpkg >= 20021120, gcc PreReq: OpenPKG, openpkg >= 20021120 a79 1 chmod u+w src/fileio.h @ 1.18.2.1 log @Welcome OPENPKG_1_STABLE branch... @ text @d40 1 a40 1 Release: 1.20021122 d51 2 a52 2 BuildPreReq: OpenPKG, openpkg >= 1.20021120, gcc PreReq: OpenPKG, openpkg >= 1.20021120 @ 1.18.2.2 log @mass Merge-From-CURRENT (MFC) in preparation for OpenPKG 1.3 [class PLUS only] @ text @d3 1 a5 1 ## Copyright (c) 2000-2003 Cable & Wireless a25 1 # package version d40 1 a40 1 Release: 1.20030724 d45 2 a46 1 Patch0: pgp2.patch d51 2 a52 2 BuildPreReq: OpenPKG, openpkg >= 1.20030724, gcc PreReq: OpenPKG, openpkg >= 1.20030724 d75 2 a76 1 %patch -p0 d79 1 @ 1.18.2.2.2.1 log @bump release numbers on OpenPKG 1.3-STABLE branch for OpenPKG 1.3.0-RELEASE @ text @d41 1 a41 1 Release: 1.3.0 d51 2 a52 2 BuildPreReq: OpenPKG, openpkg >= 1.3.0, gcc PreReq: OpenPKG, openpkg >= 1.3.0 @ 1.18.2.1.2.1 log @bump versions and dependencies for OpenPKG 1.2 @ text @d40 1 a40 1 Release: 1.2.0 d51 2 a52 2 BuildPreReq: OpenPKG, openpkg >= 1.2.0, gcc PreReq: OpenPKG, openpkg >= 1.2.0 @ 1.17 log @bump of Copyright messages for forthcoming years 2003 @ text @a70 2 %options @ 1.16 log @switch to %option(s), but intentionally WITHOUT dep increase and WITHOUT FTP server updates @ text @d3 3 a5 3 ## Copyright (c) 2000-2002 Cable & Wireless Deutschland GmbH ## Copyright (c) 2000-2002 The OpenPKG Project ## Copyright (c) 2000-2002 Ralf S. Engelschall @ 1.15 log @consistently use 'Options: none' to indicate no options to 'openpkg build' @ text @d71 1 a71 1 Options: none @ 1.14 log @reduce external dependencies to tools already present in bootstrap @ text @d71 2 @ 1.13 log @Whoops, remove debug code. @ text @d40 1 a40 1 Release: 20020629 d51 2 a52 2 BuildPreReq: OpenPKG, openpkg >= 20020206, tar, gcc PreReq: OpenPKG, openpkg >= 20020206 d74 1 a74 1 %{l_prefix}/bin/tar -xf pgp%{V_strip}ii.tar @ 1.12 log @Fixed missing language.idx index @ text @d129 1 a129 1 # rm -rf $RPM_BUILD_ROOT @ 1.11 log @Fixed key generation and processing problems by adding patch from Rich WALES. @ text @d44 1 d117 2 a118 1 config.txt language.txt *.hlp doc/pgpdoc[12].txt \ d129 1 a129 1 rm -rf $RPM_BUILD_ROOT @ 1.10 log @Woohhooo: apply the new package classification system. (CORE, BASE, PLUS, PRIV, EVAL, JUNK). A description of them follows on the website soon. @ text @d40 1 a40 1 Release: 20020621 d44 2 d65 5 d74 2 @ 1.10.2.1 log @bump release numbers for OpenPKG 1.1 @ text @d40 1 a40 1 Release: 1.1.0 d48 2 a49 2 BuildPreReq: OpenPKG, openpkg >= 1.1.0, tar, gcc PreReq: OpenPKG, openpkg >= 1.1.0 @ 1.9 log @change a bunch of good packages from EXP to REL @ text @d36 1 a36 1 Distribution: OpenPKG [REL] @ 1.8 log @Fix the fixed typo fix. @ text @d36 1 a36 1 Distribution: OpenPKG [EXP] @ 1.7 log @Fix typo. @ text @d32 1 a32 1 Summary: Prety Good Privacy @ 1.6 log @Fix the following issues: 1. As I already said, using -pthread[s] is useless unless the application uses any Pthread functions. PGP 2.x doesn't: | openpkg-dev$ find /tmp/rse/openpkg/pgp-2.6.3i -type f -print |\ | xargs grep -i pthread | openpkg-dev$ _ So I do not understand what the fuzz is about in your fiddling with this here. 2. Even if it would be correct to use the above Pthread fiddling, you still do not depend on "gcc" and hence %{l_cc} still could be the Workshop compiler on a Solaris box. 3. If you look inside src/makefile of PGP 2.x you will recognize that all this is fully broken, because only a few platforms respect $(CC). Most (like Solaris) force it to something like CC=gcc, etc. 4. In your latest version above you now have the init of CFLAGS twice. 5. Your OS=sun4gcc should be OS=sun4sunos5gcc, because sun4gcc is for the good old braindead SunOS 4 (although this still might work on SunOS 5). 6. In general the whole direct $OS determination is predestined to fail because it restricts you to a _very_ limited set of platforms. Something like a small decision hierarchy approach is needed here. 7. PGP complains under run-time: | openpkg-dev$ /cw/bin/pgp -kg | Pretty Good Privacy(tm) 2.6.3ia - Public-key encryption for the masses. | (c) 1990-96 Philip Zimmermann, Phil's Pretty Good Software. 1996-03-04 | International version - not for use in the USA. Does not use RSAREF. | Current time: 2002/06/21 19:49 GMT | | Error: PGP User's Guide not found. | PGP looked for it in the following directories: The pgpdoc[12].txt files are missing. 8. The binary and man-page you install conflicts with the files in our "pgp" package. A "pgp2" package should install /bin/pgp2, of course. 9. The package "Distribution" is "OpenPKG [REL]" instead of "OpenPKG [EXP]". @ text @d32 1 a32 1 Summary: Preety Good Privacy @ 1.5 log @Finally make the damn regex grep portable. Last commit of this pig! @ text @d36 1 a36 1 Distribution: OpenPKG [REL] d48 1 a48 1 BuildPreReq: OpenPKG, openpkg >= 20020206, tar d64 1 d67 2 d70 3 a72 1 %{l_shtool} subst -e 's;\/usr\/local\/lib\/pgp;%{l_prefix}\/etc\/pgp2;' src/fileio.h d75 1 d77 3 a79 2 CC="%{l_cc}" CFLAGS="%{l_cflags -O}" CFLAGS="%{l_cflags -O}" d81 2 a82 10 *-freebsd* ) if ( %{l_cc} --version | egrep -i -e "gcc" ); then CFLAGS="$CFLAGS -pthread" fi ;; *-solaris* ) if ( %{l_cc} --version | egrep -i -e "gcc" ); then CFLAGS="$CFLAGS -pthreads" fi ;; d85 3 a87 16 *-freebsd* ) OS=freebsd ;; *-linux* ) OS=linux ;; *ix86-solaris* ) OS=solx86gcc ;; *-solaris* ) OS=sun4gcc ;; *) echo "Unsupported platform" 1>&2 exit 1 ;; d89 2 a90 1 %{l_make} %{l_mflags} $OS d101 1 a101 1 src/pgp $RPM_BUILD_ROOT%{l_prefix}/bin/ d103 1 a103 1 doc/pgp.1 $RPM_BUILD_ROOT%{l_prefix}/man/man1/ d107 2 a108 1 config.txt language.txt *.hlp $RPM_BUILD_ROOT%{l_prefix}/etc/pgp2/ @ 1.4 log @Backed out some misinformed changes, and made gcc-dependent thread library inclusion consistent across platforms. @ text @d75 1 a75 1 if ( %{l_cc} --version | grep -i -e "gcc" ); then d80 1 a80 1 if ( %{l_cc} --version | grep -i -e "gcc" ); then @ 1.3 log @Removed gcc-specific defs and removed thread switch @ text @d71 14 a84 1 CC="%{l_cc}" @ 1.2 log @Substitute hardcoded path and add config and help files. @ text @d71 1 a71 6 CC="%{l_cc}" CFLAGS="%{l_cflags -O}" CFLAGS="%{l_cflags -O}" case "%{l_target}" in *-freebsd* ) CFLAGS="$CFLAGS -pthread" ;; *-solaris* ) CFLAGS="$CFLAGS -pthreads" ;; esac @ 1.1 log @Add PGP version 2.6.3i. No vcheck file needed, this version is unchanging. @ text @d54 8 a61 11 PGP (Pretty Good Privacy) is a public key encryption program originally written by Phil Zimmermann in 1991. This is version %{V_long}, considered a classic PGP by some and out of date by others. However, this version of PGP is absent of questionable security features implemented in more current releases. Because of this, the most paranoid PGP users prefer this classic version. An article at the URL http://senderek.de/security/key-experiments.html explains the questionable security features of newer versions of PGP, and the reasons that PGP %{V_long} might be the most secure version to date. d66 2 d101 4 a104 1 $RPM_BUILD_ROOT%{l_prefix}/man/man1 d108 10 a117 3 doc/pgp.1 \ $RPM_BUILD_ROOT%{l_prefix}/man/man1/ %{l_rpmtool} files -v -ofiles -r$RPM_BUILD_ROOT %{l_files_std} @