pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/net



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Dec 13 15:47:18 UTC 2020

Modified Files:
        pkgsrc/net: Makefile
Added Files:
        pkgsrc/net/hdl-dump: DESCR Makefile PLIST distinfo
        pkgsrc/net/hdl-dump/patches: patch-Makefile patch-config.h

Log Message:
Add net/hdl-dump.

Contributed by embr%liclac.eu@localhost in a private email, thx!

hdl_dump is a tool for installing games and homebrew software in HDLoader
format onto a PlayStation 2's hard drive, either over the network or by
directly attaching it to your machine.


To generate a diff of this commit:
cvs rdiff -u -r1.1366 -r1.1367 pkgsrc/net/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/net/hdl-dump/DESCR pkgsrc/net/hdl-dump/Makefile \
    pkgsrc/net/hdl-dump/PLIST pkgsrc/net/hdl-dump/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/hdl-dump/patches/patch-Makefile \
    pkgsrc/net/hdl-dump/patches/patch-config.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/Makefile
diff -u pkgsrc/net/Makefile:1.1366 pkgsrc/net/Makefile:1.1367
--- pkgsrc/net/Makefile:1.1366  Thu Dec 10 16:50:49 2020
+++ pkgsrc/net/Makefile Sun Dec 13 15:47:17 2020
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1366 2020/12/10 16:50:49 kardel Exp $
+# $NetBSD: Makefile,v 1.1367 2020/12/13 15:47:17 nia Exp $
 #
 
 COMMENT=       Networking tools
@@ -236,6 +236,7 @@ SUBDIR+=    gupnp-igd
 SUBDIR+=       gupnp-tools
 SUBDIR+=       gupnp12
 SUBDIR+=       haproxy
+SUBDIR+=       hdl-dump
 SUBDIR+=       hesiod
 SUBDIR+=       hf6to4
 SUBDIR+=       hlfl

Added files:

Index: pkgsrc/net/hdl-dump/DESCR
diff -u /dev/null pkgsrc/net/hdl-dump/DESCR:1.1
--- /dev/null   Sun Dec 13 15:47:18 2020
+++ pkgsrc/net/hdl-dump/DESCR   Sun Dec 13 15:47:18 2020
@@ -0,0 +1,3 @@
+hdl_dump is a tool for installing games and homebrew software in HDLoader
+format onto a PlayStation 2's hard drive, either over the network or by
+directly attaching it to your machine.
Index: pkgsrc/net/hdl-dump/Makefile
diff -u /dev/null pkgsrc/net/hdl-dump/Makefile:1.1
--- /dev/null   Sun Dec 13 15:47:18 2020
+++ pkgsrc/net/hdl-dump/Makefile        Sun Dec 13 15:47:18 2020
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1 2020/12/13 15:47:18 nia Exp $
+
+DISTNAME=      hdl-dump-20200727
+CATEGORIES=    net
+MASTER_SITES=  ${MASTER_SITE_GITHUB:=ps2homebrew/}
+GITHUB_TAG=    92213b57d0c6a89d14d01d5a71bedb2c92ebd421
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      https://github.com/ps2homebrew/hdl-dump
+COMMENT=       Install games in HDLoader format to a PS2 hard drive
+LICENSE=       gnu-gpl-v2
+
+MAKE_FLAGS+=   RELEASE=yes
+MAKE_FLAGS+=   PREFIX=${PREFIX}
+MAKE_FLAGS+=   MANPREFIX=${PREFIX}/${PKGMANDIR}
+
+USE_TOOLS+=    gmake
+
+INSTALLATION_DIRS+=    bin
+
+do-install:
+       ${INSTALL_PROGRAM} ${WRKSRC}/hdl_dump ${DESTDIR}${PREFIX}/bin
+
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/net/hdl-dump/PLIST
diff -u /dev/null pkgsrc/net/hdl-dump/PLIST:1.1
--- /dev/null   Sun Dec 13 15:47:18 2020
+++ pkgsrc/net/hdl-dump/PLIST   Sun Dec 13 15:47:18 2020
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1 2020/12/13 15:47:18 nia Exp $
+bin/hdl_dump
Index: pkgsrc/net/hdl-dump/distinfo
diff -u /dev/null pkgsrc/net/hdl-dump/distinfo:1.1
--- /dev/null   Sun Dec 13 15:47:18 2020
+++ pkgsrc/net/hdl-dump/distinfo        Sun Dec 13 15:47:18 2020
@@ -0,0 +1,8 @@
+$NetBSD: distinfo,v 1.1 2020/12/13 15:47:18 nia Exp $
+
+SHA1 (hdl-dump-20200727-92213b57d0c6a89d14d01d5a71bedb2c92ebd421.tar.gz) = 55665f9c3582915c8f6c1e47fbc86d1c88f37d35
+RMD160 (hdl-dump-20200727-92213b57d0c6a89d14d01d5a71bedb2c92ebd421.tar.gz) = ec442332194c51c4b0d177ce0f11a6b2f9d27ce4
+SHA512 (hdl-dump-20200727-92213b57d0c6a89d14d01d5a71bedb2c92ebd421.tar.gz) = 
717c43a3c3884e8c1ee1d9779390d9fd96c72e1e2ffc98f07df4ea43609e0382e7f41918b3c99d07a5471992e212376d0d1c2c75f455469f140158f73771a5e8
+Size (hdl-dump-20200727-92213b57d0c6a89d14d01d5a71bedb2c92ebd421.tar.gz) = 186679 bytes
+SHA1 (patch-Makefile) = 0046a41d2e3b8840338e66bb0deec4bf2e1b1da0
+SHA1 (patch-config.h) = bb0f059e20660db5047ad7ecbdf9fc81c3cfd96c

Index: pkgsrc/net/hdl-dump/patches/patch-Makefile
diff -u /dev/null pkgsrc/net/hdl-dump/patches/patch-Makefile:1.1
--- /dev/null   Sun Dec 13 15:47:18 2020
+++ pkgsrc/net/hdl-dump/patches/patch-Makefile  Sun Dec 13 15:47:18 2020
@@ -0,0 +1,29 @@
+$NetBSD: patch-Makefile,v 1.1 2020/12/13 15:47:18 nia Exp $
+
+1. Honour CFLAGS and LDFLAGS
+2. Don't compress the output binary (upx)
+
+--- Makefile.orig      2020-07-27 10:03:51.000000000 +0000
++++ Makefile
+@@ -50,9 +50,9 @@ WINMINGWPREFIX ?= i686-w64-mingw32
+ # configuration end
+ ###############################################################################
+ 
+-CFLAGS = -Wall -ansi -pedantic -Wno-long-long
++CFLAGS += -Wall -ansi -pedantic -Wno-long-long
+ 
+-LDFLAGS =
++LDFLAGS +=
+ 
+ # iin_hdloader.c iin_net.c
+ SOURCES = hdl_dump.c \
+@@ -184,9 +184,6 @@ rsrc.o: rsrc.rc
+ $(BINARY): $(OBJECTS)
+       @echo -e "\tLNK $@"
+       @$(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
+-ifeq ($(RELEASE), yes)
+-      -@upx -q -9 $@ > /dev/null
+-endif
+ 
+ 
+ %.o : %.c
Index: pkgsrc/net/hdl-dump/patches/patch-config.h
diff -u /dev/null pkgsrc/net/hdl-dump/patches/patch-config.h:1.1
--- /dev/null   Sun Dec 13 15:47:18 2020
+++ pkgsrc/net/hdl-dump/patches/patch-config.h  Sun Dec 13 15:47:18 2020
@@ -0,0 +1,15 @@
+$NetBSD: patch-config.h,v 1.1 2020/12/13 15:47:18 nia Exp $
+
+Do not attempt to use stat64 and friends on not-Linux.
+
+--- config.h.orig      2020-07-27 10:03:51.000000000 +0000
++++ config.h
+@@ -25,7 +25,7 @@
+ #define _CONFIG_H
+ 
+ /* MacOS X support patch; there is more in osal_unix.c */
+-#if defined (__APPLE__) || defined (__FreeBSD__)
++#if !defined(__linux__)
+ #  undef _BUILD_UNIX
+ #  define _BUILD_UNIX
+ #  define lseek64 lseek



Home | Main Index | Thread Index | Old Index