Opened 20 years ago

Closed 20 years ago

Last modified 19 years ago

#2331 closed defect (fixed)

NEW: socat-1.4.0.2

Reported by: dornseif@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.0
Keywords: Cc:
Port:

Description

I found no guidelines on submitting new ports. Here is my unguided try:

sysutils/socat/Portfile: # $Id: Portfile,v 1.3 2003/10/22 07:14:30 rshaw Exp $

PortSystem 1.0 name socat version 1.4.0.2 categories sysutils net maintainers md@… platforms darwin description netcat on steroids long_description socat is a relay for bidirectional data transfer between two independent data \

channels. Each of these data channels may be a file, pipe, device (serial line \ etc. or a pseudo terminal), a socket (UNIX, IP4, IP6 - raw, UDP, TCP), an \ SSL socket, proxy CONNECT connection, a file descriptor (stdin etc.), the \ GNU line editor (readline), a program, or a combination of two of these.

master_sites http://www.dest-unreach.org/socat/download/ checksums md5 6d721d3b7b77f0df10da2c3ba696e58f worksrcdir socat-1.4

Change History (3)

comment:1 Changed 20 years ago by dornseif@…

rep_platform: ppcAll
Summary: New Port: socatNEW: socat-1.4.0.2

Now I found the guide. Fixed version:

# $Id:$

PortSystem 1.0 name socat version 1.4.0.2 categories sysutils net maintainers md@… platforms darwin description netcat on steroids long_description socat is a relay for bidirectional data transfer between two independent data \

channels. Each of these data channels may be a file, pipe, device (serial line \ etc. or a pseudo terminal), a socket (UNIX, IP4, IP6 - raw, UDP, TCP), an \ SSL socket, proxy CONNECT connection, a file descriptor (stdin etc.), the \ GNU line editor (readline), a program, or a combination of two of these.

master_sites http://www.dest-unreach.org/socat/download/ checksums md5 6d721d3b7b77f0df10da2c3ba696e58f worksrcdir socat-1.4 post-configure {

reinplace "s|\$(INSTALL) -m 644 socat.1 \$(DESTDIR)\$(MANDEST)/man1/|\$(INSTALL) -d -m 755

\$(DESTDIR)\$(M ANDEST)/man1/
\n
\t\$(INSTALL) -m 644 socat.1 \$(DESTDIR)\$(MANDEST)/man1/|g" \

"${workdir}/${worksrcdir}/Makefile"

}

comment:2 Changed 20 years ago by olegb@…

the post-configure breaks:

checking whether to include libwrap support... yes configure: checking for components of libwrap configure: checked for tcpd.h... yes checking for libwrap... yes configure: creating ./config.status config.status: creating Makefile config.status: creating config.h DEBUG: Executing proc-post-com.apple.configure-configure-0 Error: reinplace: sed: 1: "s|$(INSTALL) -m 644 soc ...": unescaped newline inside substitute pattern Error: Target com.apple.configure returned: reinplace failed Warning: the following items did not execute (for socat): com.apple.build com.apple.configure

comment:3 Changed 20 years ago by olegb@…

Resolution: fixed
Status: newclosed

sorry, i was wrong ...

i was fixed the man-page location according to porthier(7).

commited

Note: See TracTickets for help on using tickets.