From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Apr 8 01:20:04 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 72BD737B401 for ; Tue, 8 Apr 2003 01:20:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6DA2443FA3 for ; Tue, 8 Apr 2003 01:20:03 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h388K3Up081543 for ; Tue, 8 Apr 2003 01:20:03 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h388K3Dx081542; Tue, 8 Apr 2003 01:20:03 -0700 (PDT) Resent-Date: Tue, 8 Apr 2003 01:20:03 -0700 (PDT) Resent-Message-Id: <200304080820.h388K3Dx081542@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Jose Rey Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 16F1337B401 for ; Tue, 8 Apr 2003 01:18:32 -0700 (PDT) Received: from v2project.com (cliente-212079143064.cm256.senpc.supercable.es [212.79.143.64]) by mx1.FreeBSD.org (Postfix) with SMTP id 2224743FBD for ; Tue, 8 Apr 2003 01:18:30 -0700 (PDT) (envelope-from king@v2project.com) Received: (qmail 60411 invoked from network); 7 Apr 2003 21:11:32 -0000 Received: from unknown (HELO tech2.local.) (192.168.192.6) by 0 with SMTP; 7 Apr 2003 21:11:32 -0000 Message-Id: <20030407231126.05eec879.king@v2project.com> Date: Mon, 7 Apr 2003 23:11:26 +0200 From: Jose Rey To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/50710: New port: misc/pxclient X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Apr 2003 08:20:04 -0000 >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: >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: >Fix: # 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 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@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@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 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@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