mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-30 05:40:06 +00:00
Add ods2.
From aaareadme.txt: Say, what is this? ODS2 is a program to read VMS disk volumes written in VMS ODS2 format. What can it do? Basically ODS2 provides cut down DIRECTORY, COPY and SEARCH commands for VMS volumes on non-VMS systems. These can be used to find out what is on a VMS volume, and copy files onto the local file sytem. See aaareadme.txt and aaareadme.too for more information. WWW: http://www.goatley.com/hunter/ PR: ports/92996 Submitted by: Thierry Dussuet <thierry@dussuet.lugs.ch>
This commit is contained in:
parent
66faa41543
commit
4e912c31dd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=155477
@ -354,6 +354,7 @@
|
||||
SUBDIR += nwclient602
|
||||
SUBDIR += oak
|
||||
SUBDIR += obliterate
|
||||
SUBDIR += ods2
|
||||
SUBDIR += open
|
||||
SUBDIR += openupsd
|
||||
SUBDIR += p5-File-Stat-Bits
|
||||
|
36
sysutils/ods2/Makefile
Normal file
36
sysutils/ods2/Makefile
Normal file
@ -0,0 +1,36 @@
|
||||
# New ports collection makefile for: ods2
|
||||
# Date created: 31 January 2006
|
||||
# Whom: Thierry Dussuet <dussuett@wigwam.ethz.ch>
|
||||
#
|
||||
# $FreeBSD$
|
||||
#
|
||||
|
||||
PORTNAME= ods2
|
||||
PORTVERSION= 1.3
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://www.lugs.ch/~dussuett/
|
||||
DISTNAME= ods2
|
||||
|
||||
MAINTAINER= dussuett@wigwam.ethz.ch
|
||||
COMMENT= An utility for manipulating ODS-2 filesystems
|
||||
|
||||
USE_ZIP= yes
|
||||
NO_WRKSUBDIR= yes
|
||||
MAKEFILE= makefile.unix
|
||||
MAKE_ARGS= CCFLAGS="${CFLAGS}"
|
||||
|
||||
PLIST_FILES= sbin/ods2
|
||||
PORTDOCS= aareadme.too aareadme.txt
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|cc |${CC} |; /-oods2/ s|vmstime\.o|& -lcompat|' \
|
||||
${WRKSRC}/${MAKEFILE}
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/ods2 ${PREFIX}/sbin
|
||||
.if !defined(NOPORTDOCS)
|
||||
${MKDIR} ${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
3
sysutils/ods2/distinfo
Normal file
3
sysutils/ods2/distinfo
Normal file
@ -0,0 +1,3 @@
|
||||
MD5 (ods2.zip) = 722ea8fda67a8fd2e5fe237584951dda
|
||||
SHA256 (ods2.zip) = 6c4f0bba11958e84278dca2c78c33349575df145584c1d030a2172c7792ca7fc
|
||||
SIZE (ods2.zip) = 480695
|
15
sysutils/ods2/files/patch-ods2.c
Normal file
15
sysutils/ods2/files/patch-ods2.c
Normal file
@ -0,0 +1,15 @@
|
||||
--- ods2.c~ Fri Sep 7 23:17:04 2001
|
||||
+++ ods2.c Tue Jan 31 13:03:50 2006
|
||||
@@ -1094,8 +1094,10 @@
|
||||
#ifdef VMS
|
||||
if (getcmd (str, "$> ") == NULL) break;
|
||||
#else
|
||||
- printf("$> ");
|
||||
- if (gets(str) == NULL) break;
|
||||
+ printf("$> ");
|
||||
+ if (fgets(str, sizeof(str), stdin) == NULL)
|
||||
+ break;
|
||||
+ str[strlen(str)-1] = '\0'; /* strip newline from str */
|
||||
#endif
|
||||
}
|
||||
ptr = str;
|
15
sysutils/ods2/pkg-descr
Normal file
15
sysutils/ods2/pkg-descr
Normal file
@ -0,0 +1,15 @@
|
||||
From aaareadme.txt:
|
||||
|
||||
Say, what is this?
|
||||
ODS2 is a program to read VMS disk volumes written in VMS
|
||||
ODS2 format.
|
||||
|
||||
What can it do?
|
||||
Basically ODS2 provides cut down DIRECTORY, COPY and
|
||||
SEARCH commands for VMS volumes on non-VMS systems. These
|
||||
can be used to find out what is on a VMS volume, and copy
|
||||
files onto the local file sytem.
|
||||
|
||||
See aaareadme.txt and aaareadme.too for more information.
|
||||
|
||||
WWW: http://www.goatley.com/hunter/
|
Loading…
Reference in New Issue
Block a user