ports/164014: [patch update] security/chntpw 100627 -> 110511
Kurt Jaeger
pi at opsec.eu
Wed Jan 11 13:00:29 UTC 2012
The following reply was made to PR ports/164014; it has been noted by GNATS.
From: Kurt Jaeger <pi at opsec.eu>
To: Buganini <buganini at gmail.com>
Cc: bug-followup at FreeBSD.org, fbsd-ports at opsec.eu
Subject: Re: ports/164014: [patch update] security/chntpw 100627 ->
110511
Date: Wed, 11 Jan 2012 13:51:19 +0100
--zhXaljGHf11kAtnf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Hi!
> Approved, thanks!
Here's a more detailed patch, which allows it to build on amd64 as well,
and it adds bin/reged to the installed files.
Would that be OK as well ?
--
pi at opsec.eu +49 171 3101372 8 years to go !
--zhXaljGHf11kAtnf
Content-Type: text/plain; charset=us-ascii
Content-Disposition: attachment; filename=patch-chntpw
diff -N -r -u security/chntpw/Makefile /usr/home/pi/myp/security/chntpw/Makefile
--- security/chntpw/Makefile 2010-08-19 10:09:59.000000000 +0200
+++ /usr/home/pi/myp/security/chntpw/Makefile 2012-01-11 13:46:21.000000000 +0100
@@ -6,7 +6,7 @@
#
PORTNAME= chntpw
-PORTVERSION= 100627
+PORTVERSION= 110511
CATEGORIES= security sysutils
MASTER_SITES= http://pogostick.net/~pnh/ntpasswd/
DISTNAME= ${PORTNAME}-source-${PORTVERSION}
@@ -18,9 +18,7 @@
USE_GMAKE= yes
USE_OPENSSL= yes
-ONLY_FOR_ARCHS= i386
-
-PLIST_FILES= bin/chntpw
+PLIST_FILES= bin/chntpw bin/reged
PORTDOCS= README.txt WinReg.txt regedit.txt
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
@@ -31,6 +29,7 @@
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/chntpw ${PREFIX}/bin
+ @${INSTALL_PROGRAM} ${WRKSRC}/reged ${PREFIX}/bin
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${DOCSDIR}
diff -N -r -u security/chntpw/distinfo /usr/home/pi/myp/security/chntpw/distinfo
--- security/chntpw/distinfo 2011-07-03 23:31:38.000000000 +0200
+++ /usr/home/pi/myp/security/chntpw/distinfo 2012-01-11 13:06:11.000000000 +0100
@@ -1,2 +1,2 @@
-SHA256 (chntpw-source-100627.zip) = e972252c39f426c0acaf807ec682eacde817caa7bafa2a2c7f83539d0dcc9c9e
-SIZE (chntpw-source-100627.zip) = 668647
+SHA256 (chntpw-source-110511.zip) = 593514ca8601adb4091d951499b916dfdac2bd34b325d307237fa52ca572b5b7
+SIZE (chntpw-source-110511.zip) = 758936
diff -N -r -u security/chntpw/files/patch-Makefile /usr/home/pi/myp/security/chntpw/files/patch-Makefile
--- security/chntpw/files/patch-Makefile 1970-01-01 01:00:00.000000000 +0100
+++ /usr/home/pi/myp/security/chntpw/files/patch-Makefile 2012-01-11 13:14:48.000000000 +0100
@@ -0,0 +1,19 @@
+--- Makefile.orig 2012-01-11 13:13:45.000000000 +0100
++++ Makefile 2012-01-11 13:14:31.000000000 +0100
+@@ -13,12 +13,12 @@
+ CC=gcc
+
+ # Force 32 bit
+-CFLAGS= -DUSEOPENSSL -g -I. -I$(OSSLINC) -Wall -m32
+-OSSLLIB=$(OSSLPATH)/lib
++#CFLAGS= -DUSEOPENSSL -g -I. -I$(OSSLINC) -Wall -m32
++#OSSLLIB=$(OSSLPATH)/lib
+
+ # 64 bit if default for compiler setup
+-#CFLAGS= -DUSEOPENSSL -g -I. -I$(OSSLINC) -Wall
+-#OSSLLIB=$(OSSLPATH)/lib64
++CFLAGS= -DUSEOPENSSL -g -I. -I$(OSSLINC) -Wall
++OSSLLIB=$(OSSLPATH)/lib
+
+
+ # This is to link with whatever we have, SSL crypto lib we put in static
--zhXaljGHf11kAtnf--
More information about the freebsd-ports-bugs
mailing list