* [gentoo-commits] repo/proj/guru:dev commit in: app-crypt/pgp/files/, app-crypt/pgp/
@ 2022-12-06 17:21 Anna Vyalkova
0 siblings, 0 replies; only message in thread
From: Anna Vyalkova @ 2022-12-06 17:21 UTC (permalink / raw
To: gentoo-commits
commit: 10eed92c9b010e1af56396761d171327d8ab1c99
Author: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Tue Dec 6 17:21:20 2022 +0000
Commit: Anna Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
CommitDate: Tue Dec 6 17:21:25 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=10eed92c
app-crypt/pgp: treeclean
Closes: https://bugs.gentoo.org/884537
Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>
app-crypt/pgp/Manifest | 1 -
app-crypt/pgp/files/pgp-2.6.3a-alpha.patch | 14 ------
app-crypt/pgp/files/pgp-2.6.3a-getline.patch | 47 --------------------
app-crypt/pgp/files/pgp-2.6.3a-includes.patch | 25 -----------
app-crypt/pgp/files/pgp-2.6.3a-sparc.patch | 23 ----------
app-crypt/pgp/metadata.xml | 17 --------
app-crypt/pgp/pgp-2.6.3a.ebuild | 62 ---------------------------
7 files changed, 189 deletions(-)
diff --git a/app-crypt/pgp/Manifest b/app-crypt/pgp/Manifest
deleted file mode 100644
index bc4dc3f51..000000000
--- a/app-crypt/pgp/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pgp263is.tar.gz 607982 BLAKE2B 956afb5e4cdb61716b1aee5c02461410ee2d4fb3c5958af8d2f329cd9974115dfb2944bb80194059b5daf61eab277b130c24677f2845c8f9adf942cd1246d609 SHA512 ced42d884f8dbbc7afc2dfbe485716333df5fa04a5727dc63fa3c7504e53447a7561d7406a057fba18e6239836e40cc13de4b30f2223552c6dc3dae0664a4374
diff --git a/app-crypt/pgp/files/pgp-2.6.3a-alpha.patch b/app-crypt/pgp/files/pgp-2.6.3a-alpha.patch
deleted file mode 100644
index c0eb4a0be..000000000
--- a/app-crypt/pgp/files/pgp-2.6.3a-alpha.patch
+++ /dev/null
@@ -1,14 +0,0 @@
---- a/src/md5.h
-+++ b/src/md5.h
-@@ -1,11 +1,7 @@
- #ifndef MD5_H
- #define MD5_H
-
--#ifdef __alpha
- typedef unsigned int uint32;
--#else
--typedef unsigned long uint32;
--#endif
-
- struct MD5Context {
- uint32 buf[4];
diff --git a/app-crypt/pgp/files/pgp-2.6.3a-getline.patch b/app-crypt/pgp/files/pgp-2.6.3a-getline.patch
deleted file mode 100644
index 84f87c6bc..000000000
--- a/app-crypt/pgp/files/pgp-2.6.3a-getline.patch
+++ /dev/null
@@ -1,47 +0,0 @@
---- a/src/armor.c
-+++ b/src/armor.c
-@@ -343,7 +343,7 @@ copyline(FILE * in, FILE * out)
- * idea.
- */
- static int
--getline(char *buf, int n, FILE * f)
-+get_line(char *buf, int n, FILE * f)
- {
- int state;
- char *p;
-@@ -376,7 +376,7 @@ getline(char *buf, int n, FILE * f)
- return 0; /* Out of buffer space */
- }
- } /* for (;;) */
--} /* getline */
-+} /* get_line */
-
- #if 1
- /* This limit is advisory only; longer lines are handled properly.
-@@ -547,7 +547,7 @@ armor_file(char *infilename, char *outfi
- return 1;
- }
- fprintf(outFile, "-----BEGIN PGP SIGNED MESSAGE-----\n\n");
-- while ((i = getline(buffer, sizeof buffer, clearFile)) >= 0) {
-+ while ((i = get_line(buffer, sizeof buffer, clearFile)) >= 0) {
- /* Quote lines beginning with '-' as per RFC1113;
- * Also quote lines beginning with "From "; this is
- * for Unix mailers which add ">" to such lines.
-@@ -1231,7 +1231,7 @@ LANG("\n\007Unable to write ciphertext o
- for (;;) {
- ++infile_line;
- nline = status;
-- status = getline(buf, sizeof buf, in);
-+ status = get_line(buf, sizeof buf, in);
- if (status < 0) {
- fprintf(pgpout,
- LANG("ERROR: ASCII armor decode input ended unexpectedly!\n"));
-@@ -1249,7 +1249,7 @@ LANG("ERROR: ASCII armor decode input en
- /* Copy trailing part of line, if any. */
- if (!status)
- status = copyline(in, litout);
-- /* Ignore error; getline will discover it again */
-+ /* Ignore error; get_line will discover it again */
- }
- fflush(litout);
- if (ferror(litout)) {
diff --git a/app-crypt/pgp/files/pgp-2.6.3a-includes.patch b/app-crypt/pgp/files/pgp-2.6.3a-includes.patch
deleted file mode 100644
index 8e6cfd82c..000000000
--- a/app-crypt/pgp/files/pgp-2.6.3a-includes.patch
+++ /dev/null
@@ -1,25 +0,0 @@
---- a/src/md5.c
-+++ b/src/md5.c
-@@ -15,6 +15,7 @@
- * will fill a supplied 16-byte array with the digest.
- */
- #include <string.h> /* for memcpy() */
-+#include "usuals.h"
- #include "md5.h"
-
- #ifndef HIGHFIRST
-
---- a/src/rsaglue2.c
-+++ b/src/rsaglue2.c
-@@ -52,9 +52,8 @@ char signon_legalese[] = _LANG("\
- Uses the RSAREF(tm) Toolkit, which is copyright RSA Data Security, Inc.\n\
- Distributed by the Massachusetts Institute of Technology.\n");
-
--#include <global.h>
--#include <rsaref.h>
--#include <rsa.h>
-+#include <rsaref/rsaref.h>
-+#include <rsaref/rsa.h>
- /*
- * The functions we call in rsa.h are:
- *
diff --git a/app-crypt/pgp/files/pgp-2.6.3a-sparc.patch b/app-crypt/pgp/files/pgp-2.6.3a-sparc.patch
deleted file mode 100644
index 404b96c95..000000000
--- a/app-crypt/pgp/files/pgp-2.6.3a-sparc.patch
+++ /dev/null
@@ -1,23 +0,0 @@
---- a/src/sparc.S
-+++ b/src/sparc.S
-@@ -7,7 +7,7 @@
- !
- ! other sources must be compiled with UNIT32 and HIGHFIRST defined
- !
--#ifndef SYSV
-+#if !defined(SYSV) && !defined(__ELF__)
- #ifdef __STDC__
- #define ENTRY(name) _##name ; _##name##:
- #else
-
---- a/src/platform.h
-+++ b/src/platform.h
-@@ -179,7 +179,7 @@
- #define PLATFORM_SPECIFIED
- #endif /* i386 */
-
--#ifdef sparc
-+#if defined(sparc) || defined(__sparc__)
- /*
- * Needs sparc.s
- */
diff --git a/app-crypt/pgp/metadata.xml b/app-crypt/pgp/metadata.xml
deleted file mode 100644
index 0b8cdf7ed..000000000
--- a/app-crypt/pgp/metadata.xml
+++ /dev/null
@@ -1,17 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<maintainer type="person">
- <email>cyber+gentoo@sysrq.in</email>
- <name>Anna</name>
-</maintainer>
-<longdescription>
-PGP (Pretty Good Privacy) is a public key encryption package to protect
-E-mail and data files. It lets you communicate securely with people
-you've never met, with no secure channels needed for prior exchange of
-keys. It's well featured and fast, with sophisticated key management,
-digital signatures, data compression, and good ergonomic design.
-
-This is PGP version 2.x which understands only RSA keys.
-</longdescription>
-</pkgmetadata>
diff --git a/app-crypt/pgp/pgp-2.6.3a.ebuild b/app-crypt/pgp/pgp-2.6.3a.ebuild
deleted file mode 100644
index c2740df28..000000000
--- a/app-crypt/pgp/pgp-2.6.3a.ebuild
+++ /dev/null
@@ -1,62 +0,0 @@
-# Copyright 2021-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic toolchain-funcs
-
-DESCRIPTION="Public-key encryption and digital signature utility"
-HOMEPAGE="https://web.archive.org/web/20170319101112/http://www.pgpi.org/"
-SRC_URI="https://archive.netbsd.org/pub/pkgsrc-archive/distfiles/2021Q3/pgp263is.tar.gz"
-S="${WORKDIR}"
-
-LICENSE="PGP-2"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="bindist debug"
-
-RDEPEND="bindist? ( dev-libs/rsaref )"
-DEPEND="${RDEPEND}"
-BDEPEND="sys-devel/libtool"
-
-PATCHES=(
- "${FILESDIR}"/${P}-sparc.patch
- "${FILESDIR}"/${P}-alpha.patch
- "${FILESDIR}"/${P}-includes.patch
- "${FILESDIR}"/${P}-getline.patch
-)
-
-DOCS=(
- readme.1st readme.usa setup.doc
- {de,en,es,fr,pgp}.hlp
- doc/{appnote,changes,keyserv,pgformat,politic}.doc
- doc/{blurb,faq,mitlicen}.txt
-)
-
-src_unpack() {
- default
- unpack "${WORKDIR}"/pgp263ii.tar
-}
-
-src_configure() {
- append-cflags -ansi
- append-cppflags -DUNIX -DIDEA32 -DMAX_NAMELEN=255 -DPORTABLE -DMPORTABLE
- use bindist && append-cppflags -DUSA
- use debug && append-cppflags -DDEBUG
- use x86 && append-cppflags -DASM
-}
-
-src_compile() {
- emake -C src all \
- CC=$(tc-getCC) LD=$(tc-getCC) \
- CFLAGS="${CFLAGS}" LDFLAGS="${LDFLAGS}" \
- OBJS_EXT=$(usex x86 "_80386.o _zmatch.o" "") \
- RSALIBS=$(usex bindist "-lrsaref" "") \
- RSAOBJS=rsaglue$(usex bindist "2" "1").o
-}
-
-src_install() {
- dobin src/pgp
- doman doc/pgp.1
- einstalldocs
-}
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2022-12-06 17:21 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-06 17:21 [gentoo-commits] repo/proj/guru:dev commit in: app-crypt/pgp/files/, app-crypt/pgp/ Anna Vyalkova
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox