diff options
author | Rene Ladan <rene@FreeBSD.org> | 2017-06-07 15:28:48 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2017-06-07 15:28:48 +0000 |
commit | 00c3f3cbd0b9d699c40f29066b31b9d1fb60036b (patch) | |
tree | 76044571fc1bcb832039d8896fe92d757218fd8e /mail/pgpsendmail/files | |
parent | [NEW] sysutils/py3-execnet: Create Python 3.x version of port (diff) |
Remove expired ports:
2017-05-31 mail/linux-thunderbird: Use the native thunderbird mail/thunderbird instead
2017-06-01 devel/p5-Penguin: Depends on expired security/pgp
2017-06-01 security/p5-Crypt-PGPSimple: Depends on expired security/pgp
2017-06-01 mail/pgpsendmail: Depends on expired security/pgp
2017-04-01 security/pgp: This software was last updated in 1996, use security/gnupg1 as a drop-in replacement with legacy PGP support.
Notes
Notes:
svn path=/head/; revision=442847
Diffstat (limited to 'mail/pgpsendmail/files')
-rw-r--r-- | mail/pgpsendmail/files/patch-conn_to_pgpd.c | 21 | ||||
-rw-r--r-- | mail/pgpsendmail/files/patch-karma.h | 15 | ||||
-rw-r--r-- | mail/pgpsendmail/files/patch-keylist.c | 32 | ||||
-rw-r--r-- | mail/pgpsendmail/files/patch-misc.c | 34 | ||||
-rw-r--r-- | mail/pgpsendmail/files/patch-options.c | 12 | ||||
-rw-r--r-- | mail/pgpsendmail/files/patch-pgpdaemon.c | 100 | ||||
-rw-r--r-- | mail/pgpsendmail/files/patch-pgppipe.c | 21 | ||||
-rw-r--r-- | mail/pgpsendmail/files/patch-pgpsendmail.c | 41 | ||||
-rw-r--r-- | mail/pgpsendmail/files/patch-pgpsendmail.h | 15 | ||||
-rw-r--r-- | mail/pgpsendmail/files/patch-sendpgppass.c | 58 | ||||
-rw-r--r-- | mail/pgpsendmail/files/patch-spawn.c | 21 |
11 files changed, 0 insertions, 370 deletions
diff --git a/mail/pgpsendmail/files/patch-conn_to_pgpd.c b/mail/pgpsendmail/files/patch-conn_to_pgpd.c deleted file mode 100644 index 7b4654fdd6bd..000000000000 --- a/mail/pgpsendmail/files/patch-conn_to_pgpd.c +++ /dev/null @@ -1,21 +0,0 @@ ---- conn_to_pgpd.c.orig 1994-12-03 12:51:16.000000000 +0900 -+++ conn_to_pgpd.c 2012-10-24 16:02:51.000000000 +0900 -@@ -55,6 +55,8 @@ - #include <signal.h> - #include <sys/types.h> - #include <sys/stat.h> -+#include <sys/uio.h> -+#include <unistd.h> - #include <fcntl.h> - #include "pgpsendmail.h" - -@@ -96,7 +98,9 @@ - char topipe_filename[STRING_LENGTH]; - char frompipe_filename[STRING_LENGTH]; - ERRNO_TYPE errno; -+#if 0 - extern char *sys_errlist[]; -+#endif - - if (gethostname (hostname, STRING_LENGTH - 1) != 0) - { diff --git a/mail/pgpsendmail/files/patch-karma.h b/mail/pgpsendmail/files/patch-karma.h deleted file mode 100644 index d9c2993af186..000000000000 --- a/mail/pgpsendmail/files/patch-karma.h +++ /dev/null @@ -1,15 +0,0 @@ ---- karma.h.orig 1994-10-15 17:41:33.000000000 +0000 -+++ karma.h -@@ -60,11 +60,7 @@ typedef unsigned long uaddr; - * ERRNO_TYPE * - *-----------------------------------------------------------*/ - --#ifdef __ZTC__ --#define ERRNO_TYPE extern volatile int --#else --#define ERRNO_TYPE extern int --#endif -+#define ERRNO_TYPE int - - /*-----------------------------------------------------------* - * PI Definitions * diff --git a/mail/pgpsendmail/files/patch-keylist.c b/mail/pgpsendmail/files/patch-keylist.c deleted file mode 100644 index bea02c511ddb..000000000000 --- a/mail/pgpsendmail/files/patch-keylist.c +++ /dev/null @@ -1,32 +0,0 @@ ---- keylist.c.orig 1994-10-16 02:31:05.000000000 +0900 -+++ keylist.c 2012-10-24 16:23:33.000000000 +0900 -@@ -49,6 +49,9 @@ - #include <errno.h> - #include <sys/types.h> - #include <sys/stat.h> -+#include <sys/wait.h> -+#include <ctype.h> -+#include <unistd.h> - #include <fcntl.h> - #include "pgpsendmail.h" - -@@ -74,7 +77,9 @@ - char txt[STRING_LENGTH]; - struct stat statbuf_list, statbuf_keyring; - ERRNO_TYPE errno; -+#if 0 - extern char *sys_errlist[]; -+#endif - static char *argv[] = {"pgp", "-kv", NULL}; - - (void) sprintf (listfile, "%s/.keylist", pgppath); -@@ -268,7 +273,9 @@ - FILE *in_fp; - char keyfile[STRING_LENGTH]; - ERRNO_TYPE errno; -+#if 0 - extern char *sys_errlist[]; -+#endif - - (void) sprintf (keyfile, "%s/mypubkey.asc", pgppath); - if ( ( in_fp = fopen (keyfile, "r") ) == NULL ) diff --git a/mail/pgpsendmail/files/patch-misc.c b/mail/pgpsendmail/files/patch-misc.c deleted file mode 100644 index 416c2b0bf5d5..000000000000 --- a/mail/pgpsendmail/files/patch-misc.c +++ /dev/null @@ -1,34 +0,0 @@ ---- misc.c.orig 1994-12-03 17:26:58.000000000 +0900 -+++ misc.c 2012-10-24 16:04:53.000000000 +0900 -@@ -39,8 +39,11 @@ - - */ - #include <stdio.h> -+#include <string.h> - #include <sys/types.h> - #include <sys/stat.h> -+#include <sys/uio.h> -+#include <unistd.h> - #include <fcntl.h> - #include "pgpsendmail.h" - -@@ -64,7 +67,9 @@ - int count = -1; - char buffer[BUF_SIZE]; - ERRNO_TYPE errno; -+#if 0 - extern char *sys_errlist[]; -+#endif - - while ( ( len = read (in_fd, buffer, BUF_SIZE) ) > 0 ) - { -@@ -195,7 +200,9 @@ - struct stat statbuf; - char buf[BUF_SIZE]; - ERRNO_TYPE errno; -+#if 0 - extern char *sys_errlist[]; -+#endif - - m_clear (buf, BUF_SIZE); - if ( ( fd = open (filename, O_RDWR, 0) ) < 0 ) diff --git a/mail/pgpsendmail/files/patch-options.c b/mail/pgpsendmail/files/patch-options.c deleted file mode 100644 index fd1f13610898..000000000000 --- a/mail/pgpsendmail/files/patch-options.c +++ /dev/null @@ -1,12 +0,0 @@ ---- options.c.orig 1994-10-29 17:09:46.000000000 +0900 -+++ options.c 2012-10-24 16:09:09.000000000 +0900 -@@ -158,7 +158,9 @@ - char config_filename[STRING_LENGTH]; - char txt[STRING_LENGTH]; - ERRNO_TYPE errno; -+#if 0 - extern char *sys_errlist[]; -+#endif - - (void) sprintf (config_filename, "%s/PGPsendmail.config", pgppath); - if ( ( fp = fopen (config_filename, "r") ) == NULL ) diff --git a/mail/pgpsendmail/files/patch-pgpdaemon.c b/mail/pgpsendmail/files/patch-pgpdaemon.c deleted file mode 100644 index 9255fff80e00..000000000000 --- a/mail/pgpsendmail/files/patch-pgpdaemon.c +++ /dev/null @@ -1,100 +0,0 @@ ---- pgpdaemon.c.orig 1995-01-04 14:15:01.000000000 +0900 -+++ pgpdaemon.c 2012-10-24 16:19:34.000000000 +0900 -@@ -156,7 +156,7 @@ - # if defined(sparc) || defined(linux) - # define MAIL_SPOOL_DIR "/var/spool/mail" - # else --# if defined(__bsdi__) || ( defined(sparc) && defined(__sysvr4__) ) -+# if defined(__bsdi__) || defined(__FreeBSD__) || ( defined(sparc) && defined(__sysvr4__) ) - # define MAIL_SPOOL_DIR "/var/mail" - # else - # define MAIL_SPOOL_DIR "/usr/spool/mail" -@@ -229,7 +229,7 @@ - - /* Now everything else may follow. */ - --void main (argc, argv, envp) -+int main (argc, argv, envp) - int argc; - char *argv[]; - char *envp[]; -@@ -268,7 +268,9 @@ - ERRNO_TYPE errno; - static char usage_string[] = - "Usage:\tpgpdaemon [-mailwait] [-detach] [-pgppath <path>]"; -+#if 0 - extern char *sys_errlist[]; -+#endif - - /* Read arguments */ - for (count = 1; count < argc; ++count) -@@ -545,7 +547,9 @@ - extern char passphrase[STRING_LENGTH]; - extern char *secring_buf; - ERRNO_TYPE errno; -+#if 0 - extern char *sys_errlist[]; -+#endif - - /* Connect to output pipe */ - for (count = 0; (count < 2) && (out_fd < 0); ++count) -@@ -782,7 +786,9 @@ - extern char my_userid[STRING_LENGTH]; - extern char passphrase[STRING_LENGTH]; - ERRNO_TYPE errno; -+#if 0 - extern char *sys_errlist[]; -+#endif - - /* Setup arguments to PGP */ - if (sign) -@@ -879,7 +885,9 @@ - char lock_name[STRING_LENGTH]; - char mlk_name[STRING_LENGTH]; - ERRNO_TYPE errno; -+#if 0 - extern char *sys_errlist[]; -+#endif - - (void) strcpy (lock_name, filename); - (void) strcat (lock_name, ".lock"); -@@ -956,7 +964,9 @@ - struct flock fl; - #endif - ERRNO_TYPE errno; -+#if 0 - extern char *sys_errlist[]; -+#endif - - if (no_filelocking) return (TRUE); - #undef LOCKING_WORKS -@@ -1032,7 +1042,9 @@ - extern char outgoing_spool[STRING_LENGTH]; - extern char passphrase[STRING_LENGTH]; - ERRNO_TYPE errno; -+#if 0 - extern char *sys_errlist[]; -+#endif - - if (stat (incoming_spool, &statbuf) != 0) - { -@@ -1436,7 +1448,9 @@ - extern char incoming_spool[STRING_LENGTH]; - extern char outgoing_spool[STRING_LENGTH]; - ERRNO_TYPE errno; -+#if 0 - extern char *sys_errlist[]; -+#endif - - (void) sprintf (config_filename, "%s/PGPdaemon.config", pgppath); - if ( ( fp = fopen (config_filename, "r") ) == NULL ) -@@ -1587,7 +1601,9 @@ - extern char *secring_buf; - extern char *pgppath; - ERRNO_TYPE errno; -+#if 0 - extern char *sys_errlist[]; -+#endif - - (void) sprintf (filename, "%s/secring.pgp", pgppath); - if ( ( fd = open (filename, O_WRONLY | O_CREAT | O_EXCL, diff --git a/mail/pgpsendmail/files/patch-pgppipe.c b/mail/pgpsendmail/files/patch-pgppipe.c deleted file mode 100644 index b5b833260724..000000000000 --- a/mail/pgpsendmail/files/patch-pgppipe.c +++ /dev/null @@ -1,21 +0,0 @@ ---- pgppipe.c.orig 1994-12-07 20:03:39.000000000 +0900 -+++ pgppipe.c 2012-10-24 16:20:24.000000000 +0900 -@@ -52,7 +52,7 @@ - #include "pgpsendmail.h" - - --void main (argc, argv, envp) -+int main (argc, argv, envp) - int argc; - char *argv[]; - char *envp[]; -@@ -67,7 +67,9 @@ - char *pgp_start_line = "-----BEGIN PGP MESSAGE-----\n"; - char *pgp_end_line = "-----END PGP MESSAGE-----\n"; - ERRNO_TYPE errno; -+#if 0 - extern char *sys_errlist[]; -+#endif - - if ( ( pgppath = getenv ("PGPPATH") ) == NULL ) - { diff --git a/mail/pgpsendmail/files/patch-pgpsendmail.c b/mail/pgpsendmail/files/patch-pgpsendmail.c deleted file mode 100644 index 0752d845a354..000000000000 --- a/mail/pgpsendmail/files/patch-pgpsendmail.c +++ /dev/null @@ -1,41 +0,0 @@ ---- pgpsendmail.c.orig 1995-01-17 09:55:45.000000000 +0900 -+++ pgpsendmail.c 2012-10-24 16:20:57.000000000 +0900 -@@ -152,7 +152,7 @@ - flag no_advertising, flag add_key) ); - - --void main (argc, argv, envp) -+int main (argc, argv, envp) - int argc; - char *argv[]; - char *envp[]; -@@ -184,7 +184,9 @@ - extern char *username; - extern char **recipients; - ERRNO_TYPE errno; -+#if 0 - extern char *sys_errlist[]; -+#endif - - if (argv[0] == NULL) - { -@@ -940,7 +942,9 @@ - char *argv[6]; - extern char *username; - ERRNO_TYPE errno; -+#if 0 - extern char *sys_errlist[]; -+#endif - - /* Make stdout go to stderr */ - (void) fflush (stdout); -@@ -1250,7 +1254,9 @@ - extern char *buffer; - extern char *pgppath; - ERRNO_TYPE errno; -+#if 0 - extern char *sys_errlist[]; -+#endif - - if (!sign) - { diff --git a/mail/pgpsendmail/files/patch-pgpsendmail.h b/mail/pgpsendmail/files/patch-pgpsendmail.h deleted file mode 100644 index ed6b77e1a52e..000000000000 --- a/mail/pgpsendmail/files/patch-pgpsendmail.h +++ /dev/null @@ -1,15 +0,0 @@ ---- pgpsendmail.h.orig 1994-12-03 12:23:34.000000000 +0900 -+++ pgpsendmail.h 2012-10-24 15:35:51.000000000 +0900 -@@ -34,8 +34,12 @@ - #define LINE_LENGTH 1024 - #define BUF_LEN 4096 - #ifndef SENDMAIL -+#ifdef __FreeBSD__ -+# define SENDMAIL "/usr/sbin/sendmail" -+#else - # define SENDMAIL "/usr/lib/sendmail.real" - #endif -+#endif - #define SECRING_SIZE_TYPE int - - #define CHECK_CAN_ENCRYPT 0 diff --git a/mail/pgpsendmail/files/patch-sendpgppass.c b/mail/pgpsendmail/files/patch-sendpgppass.c deleted file mode 100644 index 20b9f82cf30a..000000000000 --- a/mail/pgpsendmail/files/patch-sendpgppass.c +++ /dev/null @@ -1,58 +0,0 @@ ---- sendpgppass.c.orig 1994-12-03 13:10:21.000000000 +0900 -+++ sendpgppass.c 2012-10-24 16:22:30.000000000 +0900 -@@ -56,13 +56,15 @@ - #include <stdio.h> - #include <unistd.h> - #include <stdlib.h> -+#include <string.h> - #include <sys/types.h> - #include <sys/stat.h> -+#include <sys/wait.h> - #ifdef _AIX - # include <termios.h> - # include <termio.h> - #else --# include <sys/termios.h> -+# include <termios.h> - #endif - #include <fcntl.h> - #include "pgpsendmail.h" -@@ -96,7 +98,7 @@ - STATIC_FUNCTION (char *get_userid, (char *pgppath) ); - - --void main (argc, argv, envp) -+int main (argc, argv, envp) - int argc; - char *argv[]; - char *envp[]; -@@ -118,7 +120,9 @@ - char txt[STRING_LENGTH]; - char *pgp_argv[7]; - ERRNO_TYPE errno; -+#if 0 - extern char *sys_errlist[]; -+#endif - - if ( ( pgppath = getenv ("PGPPATH") ) == NULL ) - { -@@ -323,7 +327,9 @@ - int count; - int fd; - ERRNO_TYPE errno; -+#if 0 - extern char *sys_errlist[]; -+#endif - static char buffer[STRING_LENGTH]; - - if ( ( fd = open (TTY, O_RDWR, 0) ) < 0 ) -@@ -395,7 +401,9 @@ - char config_filename[STRING_LENGTH]; - char txt[STRING_LENGTH]; - ERRNO_TYPE errno; -+#if 0 - extern char *sys_errlist[]; -+#endif - - (void) sprintf (config_filename, "%s/PGPdaemon.config", pgppath); - if ( ( fp = fopen (config_filename, "r") ) == NULL ) diff --git a/mail/pgpsendmail/files/patch-spawn.c b/mail/pgpsendmail/files/patch-spawn.c deleted file mode 100644 index 7af6f8be37ee..000000000000 --- a/mail/pgpsendmail/files/patch-spawn.c +++ /dev/null @@ -1,21 +0,0 @@ ---- spawn.c.orig 1994-12-03 15:02:30.000000000 +0900 -+++ spawn.c 2012-10-24 15:59:57.000000000 +0900 -@@ -49,6 +49,8 @@ - - */ - #include <stdio.h> -+#include <sys/types.h> -+#include <unistd.h> - #include "pgpsendmail.h" - - -@@ -79,7 +81,9 @@ - int child_pid; - int in_fds[2], out_fds[2], err_fds[2]; - ERRNO_TYPE errno; -+#if 0 - extern char *sys_errlist[]; -+#endif - - if (*in_fd < 0) - { |