Bug 176042 - archivers/hlextract update and maintainer change
Summary: archivers/hlextract update and maintainer change
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Felippe de Meirelles Motta
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-12 01:00 UTC by Danilo Egêa Gondolfo
Modified: 2013-02-14 22:12 UTC (History)
0 users

See Also:


Attachments
file.diff (4.04 KB, patch)
2013-02-12 01:00 UTC, Danilo Egêa Gondolfo
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Danilo Egêa Gondolfo 2013-02-12 01:00:00 UTC
archivers/hlextract update and maintainer change.

Related PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=176040 (dependence of hlextract)

Changes:

- Patch to silence clang warnings
- Update from 2.4.3 to 2.4.4
- Maintainer change

Fix: Patch attached with submission follows:
Comment 1 Felippe de Meirelles Motta freebsd_committer freebsd_triage 2013-02-13 15:32:58 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lippe

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2013-02-14 22:05:29 UTC
Author: lippe
Date: Thu Feb 14 22:05:15 2013
New Revision: 312245
URL: http://svnweb.freebsd.org/changeset/ports/312245

Log:
  - Update to 2.4.4
  - Pass maintainership to submitter
  - Make CLANG happy
  
  PR:		ports/176042
  Submitted by:	Danilo Egea Gondolfo <danilogondolfo@gmail.com>

Added:
  head/archivers/hlextract/files/
  head/archivers/hlextract/files/patch-HLExtract-Main.c   (contents, props changed)
Modified:
  head/archivers/hlextract/Makefile   (contents, props changed)
  head/archivers/hlextract/distinfo   (contents, props changed)

Modified: head/archivers/hlextract/Makefile
==============================================================================
--- head/archivers/hlextract/Makefile	Thu Feb 14 22:04:06 2013	(r312244)
+++ head/archivers/hlextract/Makefile	Thu Feb 14 22:05:15 2013	(r312245)
@@ -2,26 +2,25 @@
 # $FreeBSD$
 
 PORTNAME=	hlextract
-PORTVERSION=	2.4.3
+PORTVERSION=	2.4.4
 CATEGORIES=	archivers games
 MASTER_SITES=	http://nemesis.thewavelength.net/files/files/
 DISTNAME=	hllib${PORTVERSION:S/.//g}
 
-MAINTAINER=	ports@FreeBSD.org
+MAINTAINER=	danilogondolfo@gmail.com
 COMMENT=	Utility to extract data from various Half-Life file formats
 
 LICENSE=	GPLv2
 
 LIB_DEPENDS=	hl:${PORTSDIR}/games/hllib
 
+USE_DOS2UNIX=	yes
 USE_ZIP=	yes
 WRKSRC=		${WRKDIR}/HLExtract
 
-PLIST_FILES=	bin/${PORTNAME}
+PATCH_WRKSRC=	${WRKDIR}
 
-post-patch:
-	@${REINPLACE_CMD} -e 's,linux/limits,sys/param, ; \
-		s,HLExtract\.exe,${PORTNAME},' ${WRKSRC}/Main.c
+PLIST_FILES=	bin/${PORTNAME}
 
 do-build:
 	${CC} ${CFLAGS} -I${LOCALBASE}/include -L${LOCALBASE}/lib \

Modified: head/archivers/hlextract/distinfo
==============================================================================
--- head/archivers/hlextract/distinfo	Thu Feb 14 22:04:06 2013	(r312244)
+++ head/archivers/hlextract/distinfo	Thu Feb 14 22:05:15 2013	(r312245)
@@ -1,2 +1,2 @@
-SHA256 (hllib243.zip) = 2eafa706ab4cccea0c9966f45e5eabf4bad27b5b4b224cc6592ba68debd54ae0
-SIZE (hllib243.zip) = 591480
+SHA256 (hllib244.zip) = cb94da1c32e9577dce1aa2bbb77f283212684afcd7814d42228c9ffff71d3699
+SIZE (hllib244.zip) = 593745

Added: head/archivers/hlextract/files/patch-HLExtract-Main.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/archivers/hlextract/files/patch-HLExtract-Main.c	Thu Feb 14 22:05:15 2013	(r312245)
@@ -0,0 +1,82 @@
+diff -ru ../orig/HLExtract/Main.c ./HLExtract/Main.c
+--- ../orig/HLExtract/Main.c	2011-09-17 00:41:54.000000000 -0300
++++ ./HLExtract/Main.c	2013-02-11 18:29:02.880217165 -0200
+@@ -52,7 +52,7 @@
+ #	define WIN32_LEAN_AND_MEAN
+ #	include <windows.h>
+ #else
+-#	include <linux/limits.h>
++#	include <sys/param.h>
+ #	define MAX_PATH PATH_MAX
+ 
+ #	define FOREGROUND_BLUE      0x0001
+@@ -618,15 +618,15 @@
+ 	printf("\n");
+ 	printf("Example HLExtract usage:\n");
+ #ifdef _WIN32
+-	printf("HLExtract.exe -p \"C:\\half-life.gcf\" -d \"C:\\backup\" -e \"root\\valve\\models\" -e \"root\\valve\\config.cfg\"\n");
+-	printf("HLExtract.exe -p \"C:\\half-life.gcf\" -c -m -v\n");
+-	printf("HLExtract.exe -p \"C:\\half-life.gcf\" -lf \"C:\\half-life.txt\" -m -s\n");
+-	printf("HLExtract.exe -p \"C:\\half-life.gcf\" -m -f\n");
++	printf("hlextract -p \"C:\\half-life.gcf\" -d \"C:\\backup\" -e \"root\\valve\\models\" -e \"root\\valve\\config.cfg\"\n");
++	printf("hlextract -p \"C:\\half-life.gcf\" -c -m -v\n");
++	printf("hlextract -p \"C:\\half-life.gcf\" -lf \"C:\\half-life.txt\" -m -s\n");
++	printf("hlextract -p \"C:\\half-life.gcf\" -m -f\n");
+ #else
+-	printf("HLExtract.exe -p \"~/half-life.gcf\" -d \"~/backup\" -e \"root/valve/models\" -e \"root/valve/config.cfg\"\n");
+-	printf("HLExtract.exe -p \"~/half-life.gcf\" -c -m -v\n");
+-	printf("HLExtract.exe -p \"~/half-life.gcf\" -lf \"~/half-life.txt\" -m -s\n");
+-	printf("HLExtract.exe -p \"~/half-life.gcf\" -m -f\n");
++	printf("hlextract -p \"~/half-life.gcf\" -d \"~/backup\" -e \"root/valve/models\" -e \"root/valve/config.cfg\"\n");
++	printf("hlextract -p \"~/half-life.gcf\" -c -m -v\n");
++	printf("hlextract -p \"~/half-life.gcf\" -lf \"~/half-life.txt\" -m -s\n");
++	printf("hlextract -p \"~/half-life.gcf\" -m -f\n");
+ #endif
+ }
+ 
+@@ -657,6 +657,8 @@
+ 			fprintf(pFile, "%s\n", lpPath);
+ 		}
+ 		break;
++	default:
++		;
+ 	}
+ }
+ 
+@@ -843,6 +845,8 @@
+ 				PrintValidation(eValidation);
+ 				printf("\n");
+ 				break;
++			default:
++				;
+ 			}
+ 		}
+ 		else
+@@ -851,6 +855,8 @@
+ 			printf("  \n");
+ 		}
+ 		break;
++	default:
++		;
+ 	}
+ 
+ 	return eValidation;
+@@ -882,6 +888,8 @@
+ 	case HL_ATTRIBUTE_STRING:
+ 		printf("%s%s: %s%s\n", lpPrefix, pAttribute->lpName, pAttribute->Value.String.lpValue, lpPostfix);
+ 		break;
++	default:
++		;
+ 	}
+ }
+ 
+@@ -1151,6 +1159,8 @@
+ 						printf("  Size: %u B\n", hlFileGetSize(pSubItem));
+ 						printf("  Size On Disk: %u B\n", hlFileGetSizeOnDisk(pSubItem));
+ 						break;
++					default:
++						;
+ 					}
+ 
+ 					uiItemCount = hlPackageGetItemAttributeCount();
+Only in ./HLExtract: Main.c.bak
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Felippe de Meirelles Motta freebsd_committer freebsd_triage 2013-02-14 22:12:06 UTC
State Changed
From-To: open->closed

Committed. Thanks!