ports/50710: New port: misc/pxclient

Jose Rey king at v2project.com
Tue Apr 8 08:20:04 UTC 2003


>Number:         50710
>Category:       ports
>Synopsis:       New port: misc/pxclient
>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:   Tue Apr 08 01:20:02 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Jose Rey
>Release:        
>Organization:
<organization of PR author (multiple lines)>
>Environment:

>Description:
	New port: misc/pxclient
	The goal of Operation Project X is to crack the 2048-bit RSA 
	private encryption key Microsoft uses to sign Xbox media. 
	The goal of this project is to make it possible to run Linux 
	on a Microsoft Xbox console without a so-called modchip.
	
>How-To-Repeat:
	<code/input/activities to reproduce the problem (multiple lines)>
>Fix:

	<how to correct or work around the problem, if known (multiple lines)>

# 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:
#
#       pxclient
#       pxclient/files
#       pxclient/files/patch-Makefile
#       pxclient/Makefile
#       pxclient/distinfo
#       pxclient/pkg-descr
#       pxclient/pkg-plist
#       pxclient/pkg-message
#
echo c - pxclient
mkdir -p pxclient > /dev/null 2>&1
echo c - pxclient/files
mkdir -p pxclient/files > /dev/null 2>&1
echo x - pxclient/files/patch-Makefile
sed 's/^X//' >pxclient/files/patch-Makefile <<
'END-of-pxclient/files/patch-Makefile'
X--- Makefile.orig      Mon Apr  7 21:45:39 2003
X+++ Makefile   Mon Apr  7 21:48:11 2003
X@@ -6,13 +6,13 @@
X #TARGET               = athlon-xp
X CC            = g++
X STRIP         = strip
X-CFLAGS                = -march=$(TARGET) -O2 -pipe -Wall
-Wno-deprecated 
X+CFLAGS                = -march=${CPUTYPE} -O2 -pipe -Wall
-Wno-deprecated 
X BINARY                = pxclient
X CONVERTER     = transform
X-NTL_DIR               = ../ntl-5.3.1
X-NTL_INC               = -I$(NTL_DIR)/include
X-GMP_AR                = $(TARGET)/libgmp.a
X-NTL_AR                = $(TARGET)/ntl.a
X+PREFIX                = /usr/local
X+NTL_INC               = -I$(PREFIX)/include
X+GMP_AR                = $(PREFIX)/lib/libgmp.a
X+NTL_AR                = $(PREFIX)/lib/libntl.a
X 
X
########################################################################
X #                                                                     
#
X@@ -27,7 +27,7 @@
X transform:     transform.o
X       $(CC) $(CFLAGS) -o dist/dynamic/$(TARGET)/transform transform.o
X       strip dist/dynamic/$(TARGET)/transform
X-      $(CC) $(CFLAGS) -static -static-libgcc -o
dist/static/$(TARGET)/transform transform.o
X+      $(CC) $(CFLAGS) -static -o dist/static/$(TARGET)/transform
transform.o
X       strip dist/static/$(TARGET)/transform
X 
X dynamic:      $(OBJS)
X@@ -35,7 +35,7 @@
X       strip dist/dynamic/$(TARGET)/$(BINARY)
X 
X static:       $(OBJS)
X-      $(CC) $(CFLAGS) -static -static-libgcc -o
dist/static/$(TARGET)/$(BINARY) $(OBJS) $(NTL_AR) $(GMP_AR) 
X+      $(CC) $(CFLAGS) -static -o dist/static/$(TARGET)/$(BINARY)
$(OBJS) $(NTL_AR) $(GMP_AR) 
X       strip dist/static/$(TARGET)/$(BINARY)
X 
X .c.o:
X@@ -44,3 +44,4 @@
X clean:
X       rm -f $(BINARY) $(OBJS) transform.o core
X 
X+.include <bsd.cpu.mk>
END-of-pxclient/files/patch-Makefile
echo x - pxclient/Makefile
sed 's/^X//' >pxclient/Makefile << 'END-of-pxclient/Makefile'
X# New ports collection makefile for:   pxclient
X# Date created:                                Mon Apr  7 20:35:02 CEST
X# 2003 Whom:                                        king at v2project.com
X#
X# $FreeBSD:$
X#
X
XPORTNAME=      pxclient
XPORTVERSION=   1.2.1
XCATEGORIES=    misc
XMASTER_SITES=  http://opx.ventfest.com/linux/
XDISTNAME=       ${PORTNAME}_${PORTVERSION}
X
XMAINTAINER=    king at v2project.com
XCOMMENT=       Operation Project X - Linux client version 1.2.1
X
XBUILD_DEPENDS= ${LOCALBASE}/include/NTL/FFT.h:${PORTSDIR}/math/ntl
X
Xdo-install:
X       ${CP} ${WRKSRC}/dist/dynamic/pxclient ${PREFIX}/bin
X       ${CP} ${WRKSRC}/dist/dynamic/transform ${PREFIX}/bin
X       ${MKDIR} ${DATADIR}
X       ${INSTALL_DATA} ${WRKSRC}/opx.cfg ${DATADIR}
X
Xpost-install:
X       @${CAT} ${PKGMESSAGE}
X
X.include <bsd.port.mk>
END-of-pxclient/Makefile
echo x - pxclient/distinfo
sed 's/^X//' >pxclient/distinfo << 'END-of-pxclient/distinfo'
XMD5 (pxclient_1.2.1.tar.gz) = 46a30d3da267d38480f82383d9266a67
END-of-pxclient/distinfo
echo x - pxclient/pkg-descr
sed 's/^X//' >pxclient/pkg-descr << 'END-of-pxclient/pkg-descr'
XThe goal of Operation Project X is to crack the 2048-bit RSA 
Xprivate encryption key Microsoft uses to sign Xbox media. 
XThe goal of this project is to make it possible to run Linux 
Xon a Microsoft Xbox console without a so-called modchip. 
XA total of US$ 100,000 will be awarded by Michael Robertson ("donor"). 
X
XWWW: http://www.operationprojectx.com
END-of-pxclient/pkg-descr
echo x - pxclient/pkg-plist
sed 's/^X//' >pxclient/pkg-plist << 'END-of-pxclient/pkg-plist'
Xbin/pxclient
Xbin/transform
Xshare/pxclient/opx.cfg
X at dirrm share/pxclient
END-of-pxclient/pkg-plist
echo x - pxclient/pkg-message
sed 's/^X//' >pxclient/pkg-message << 'END-of-pxclient/pkg-message'
X##################################################################
XYou need to make your config file copy 
X$PREFIX/share/pxclient/opx.cfg to a directory al read the 
Xcoments of the file
X
X##################################################################
END-of-pxclient/pkg-message
exit                                     
>Release-Note:
>Audit-Trail:
>Unformatted:
 >maintainer-update ] (one line)> Release:	FreeBSD 4.6-STABLE i386



More information about the freebsd-ports-bugs mailing list