1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-11 07:22:22 +00:00

Initial import of unpost version 2.3.4.

Extract binary files from mult-segment uuendcoded postings.

PR:		5042
Submitted by:	Frank Volf <volf@oasis.IAEhv.nl>
This commit is contained in:
Steve Price 1998-03-28 14:58:20 +00:00
parent ee9d82123f
commit ec82883723
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=10353
6 changed files with 57 additions and 0 deletions

22
news/unpost/Makefile Normal file
View File

@ -0,0 +1,22 @@
# New ports collection makefile for: unpoost
# Version required: 2.3.4
# Date created: 14 october 1997
# Whom: volf@oasis.IAEhv.nl
#
# $Id$
#
DISTNAME= unpost-2.3.4
CATEGORIES= news
MASTER_SITES= ftp://ftp.rhein.de/pub/unix/news/
MAINTAINER= volf@oasis.IAEhv.nl
MAKEFILE= makefils/linux.mkf
MAN1= unpost.1
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/unpost ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/unpost.doc ${PREFIX}/man/man1/unpost.1
.include <bsd.port.mk>

1
news/unpost/distinfo Normal file
View File

@ -0,0 +1 @@
MD5 (unpost-2.3.4.tar.gz) = 33e610f6c07737ccc4b7fd7f3cf9a80a

View File

@ -0,0 +1,24 @@
--- compiler.h.org Fri Nov 14 14:04:42 1997
+++ compiler.h Fri Nov 14 14:06:55 1997
@@ -70,9 +70,11 @@
-----------------------------------------------------------------------------*/
#elif defined(GCC_COMPILER)
+#ifndef __FreeBSD__
extern char *sys_errlist[];
#define strerror(x) sys_errlist[x]
+#endif
/* Defines for fopen calls. */
#define TXT_APPEND "a"
@@ -82,7 +84,9 @@
#define BIN_WRITE "w"
#define BIN_RD_WRT "w+"
+#ifndef __FreeBSD__
#include <malloc.h>
+#endif
#include <unistd.h>
/*-----------------------------------------------------------------------------

1
news/unpost/pkg-comment Normal file
View File

@ -0,0 +1 @@
Extract binary files from multi-segment uuencoded postings.

7
news/unpost/pkg-descr Normal file
View File

@ -0,0 +1,7 @@
UNPOST is a tool designed primarily to extract binaries from USENET
binaries postings such as those made to alt.binaries.pictures.misc
and comp.binaries.ibm.pc. As well as extracting binaries from USENET
postings, UNPOST can extract binaries from multi-segment uuencoded
mailings as well, however, to simplify this documentation only
USENET article postings will be discussed. The principles are the
same for multi-segment mailings.

2
news/unpost/pkg-plist Normal file
View File

@ -0,0 +1,2 @@
bin/unpost
man/man1/unpost.1.gz