ports/124132: [NEW PORT] net/p5-Socket: Load the C socket.h defines and structure manipulators
BluePex Security Solutions
freebsd-ports at bluepex.com
Fri May 30 13:50:05 UTC 2008
>Number: 124132
>Category: ports
>Synopsis: [NEW PORT] net/p5-Socket: Load the C socket.h defines and structure manipulators
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri May 30 13:50:04 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator: BluePex Security Solutions
>Release: FreeBSD 7.0-STABLE i386
>Organization:
BluePex Security Solutions
>Environment:
System: FreeBSD botelhor.bplab.local 7.0-STABLE FreeBSD 7.0-STABLE #26: Thu May 15 11:53:37 BRT 2008
>Description:
This module is just a translation of the C socket.h file. Unlike the old
mechanism of requiring a translated socket.ph file, this uses the h2xs program
(see the Perl source distribution) and your native C compiler. This means
that it has a far more likely chance of getting the numbers right. This includes
all of the commonly used pound-defines like AF_INET, SOCK_STREAM, etc.
WWW: http://search.cpan.org/dist/Socket/
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- p5-Socket-1.5.shar begins here ---
# This is a shell archive. Save it in a file, remove anything before
# this line, and then unpack it by entering "sh file". Note, it may
# create directories; files and directories will be owned by you and
# have default permissions.
#
# This archive contains:
#
# p5-Socket
# p5-Socket/pkg-descr
# p5-Socket/Makefile
# p5-Socket/pkg-plist
# p5-Socket/distinfo
#
echo c - p5-Socket
mkdir -p p5-Socket > /dev/null 2>&1
echo x - p5-Socket/pkg-descr
sed 's/^X//' >p5-Socket/pkg-descr << 'END-of-p5-Socket/pkg-descr'
XThis module is just a translation of the C socket.h file. Unlike the old
Xmechanism of requiring a translated socket.ph file, this uses the h2xs program
X(see the Perl source distribution) and your native C compiler. This means
Xthat it has a far more likely chance of getting the numbers right. This includes
Xall of the commonly used pound-defines like AF_INET, SOCK_STREAM, etc.
X
XWWW: http://search.cpan.org/dist/Socket/
END-of-p5-Socket/pkg-descr
echo x - p5-Socket/Makefile
sed 's/^X//' >p5-Socket/Makefile << 'END-of-p5-Socket/Makefile'
X# New ports collection makefile for: p5-Socket
X# Date created: 2008-05-30
X# Whom: BluePex Security Solutions <freebsd-ports at bluepex.com>
X#
X# $FreeBSD$
X#
X
XPORTNAME= Socket
XPORTVERSION= 1.5
XCATEGORIES= net perl5
XMASTER_SITES= CPAN
XPKGNAMEPREFIX= p5-
X
XMAINTAINER= freebsd-ports at bluepex.com
XCOMMENT= Load the C socket.h defines and structure manipulators
X
XPERL_CONFIGURE= yes
X
XMAN3= Socket.3
X
Xpost-patch:
X @${REINPLACE_CMD} -e '/MAN3PODS/d' ${WRKSRC}/Makefile.PL
X
X.include <bsd.port.mk>
END-of-p5-Socket/Makefile
echo x - p5-Socket/pkg-plist
sed 's/^X//' >p5-Socket/pkg-plist << 'END-of-p5-Socket/pkg-plist'
X at comment $FreeBSD$
X%%SITE_PERL%%/%%PERL_ARCH%%/Socket.pm
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Socket/.packlist
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Socket/Socket.bs
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Socket/Socket.so
X%%SITE_PERL%%/%%PERL_ARCH%%/auto/Socket/autosplit.ix
X at dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/Socket
END-of-p5-Socket/pkg-plist
echo x - p5-Socket/distinfo
sed 's/^X//' >p5-Socket/distinfo << 'END-of-p5-Socket/distinfo'
XMD5 (Socket-1.5.tar.gz) = 5cc739b14a329140f7995e99b91a4e8d
XSHA256 (Socket-1.5.tar.gz) = a64659d8b719dd253414cede1a221f736323db6a70a071c6d066bd5b8034e6a6
XSIZE (Socket-1.5.tar.gz) = 5193
END-of-p5-Socket/distinfo
exit
--- p5-Socket-1.5.shar ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list