From pi@fbsd8i.referenz.nepustil.net  Wed Jan 11 12:10:49 2012
Return-Path: <pi@fbsd8i.referenz.nepustil.net>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 1EE84106566B
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 11 Jan 2012 12:10:49 +0000 (UTC)
	(envelope-from pi@fbsd8i.referenz.nepustil.net)
Received: from fbsd8i.referenz.nepustil.net (unknown [IPv6:2001:14f8:2:3::fc])
	by mx1.freebsd.org (Postfix) with ESMTP id 8CD2F8FC13
	for <FreeBSD-gnats-submit@freebsd.org>; Wed, 11 Jan 2012 12:10:48 +0000 (UTC)
Received: from pi by fbsd8i.referenz.nepustil.net with local (Exim 4.77 (FreeBSD))
	(envelope-from <pi@fbsd8i.referenz.nepustil.net>)
	id 1Rkx0w-000Mc4-OD; Wed, 11 Jan 2012 13:10:46 +0100
Message-Id: <E1Rkx0w-000Mc4-OD@fbsd8i.referenz.nepustil.net>
Date: Wed, 11 Jan 2012 13:10:46 +0100
From: Kurt Jaeger <fbsd-ports@opsec.eu>
Reply-To: Kurt Jaeger <fbsd-ports@opsec.eu>
To: FreeBSD-gnats-submit@freebsd.org
Cc: buganini@gmail.com
Subject: [patch update] security/chntpw 100627 -> 110511
X-Send-Pr-Version: 3.113
X-GNATS-Notify: buganini@gmail.com

>Number:         164014
>Category:       ports
>Synopsis:       [patch update] security/chntpw 100627 -> 110511
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    miwi
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jan 11 12:20:04 UTC 2012
>Closed-Date:    Sat Jan 14 19:11:42 UTC 2012
>Last-Modified:  Sat Jan 14 19:20:22 UTC 2012
>Originator:     Kurt Jaeger
>Release:        FreeBSD 8.1-RELEASE i386
>Organization:
-
>Environment:
System: FreeBSD fbsd8i.referenz.nepustil.net 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:55:53 UTC 2010 root@almeida.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386


>Description:
	[patch update] security/chntpw 100627 -> 110511
>How-To-Repeat:
	-
>Fix:

diff -r -u security/chntpw/Makefile /usr/home/pi/myp/security/chntpw/Makefile
--- security/chntpw/Makefile	2010-08-13 22:36:23.000000000 +0200
+++ /usr/home/pi/myp/security/chntpw/Makefile	2012-01-11 12:52:38.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}
diff -r -u security/chntpw/distinfo /usr/home/pi/myp/security/chntpw/distinfo
--- security/chntpw/distinfo	2011-07-03 22:44:10.000000000 +0200
+++ /usr/home/pi/myp/security/chntpw/distinfo	2012-01-11 12:52:51.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

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Wed Jan 11 12:20:15 UTC 2012 
State-Changed-Why:  
Awaiting maintainers feedback (via the GNATS Auto Assign Tool) 

http://www.freebsd.org/cgi/query-pr.cgi?pr=164014 

From: Edwin Groothuis <edwin@FreeBSD.org>
To: buganini@gmail.com
Cc: bug-followup@FreeBSD.org
Subject: Re: ports/164014: [patch update] security/chntpw 100627 -> 110511
Date: Wed, 11 Jan 2012 12:20:13 UT

 Maintainer of security/chntpw,
 
 Please note that PR ports/164014 has just been submitted.
 
 If it contains a patch for an upgrade, an enhancement or a bug fix
 you agree on, reply to this email stating that you approve the patch
 and a committer will take care of it.
 
 The full text of the PR can be found at:
     http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/164014
 
 -- 
 Edwin Groothuis via the GNATS Auto Assign Tool
 edwin@FreeBSD.org

From: Buganini <buganini@gmail.com>
To: bug-followup@FreeBSD.org, fbsd-ports@opsec.eu
Cc:  
Subject: Re: ports/164014: [patch update] security/chntpw 100627 -&gt; 110511
Date: Wed, 11 Jan 2012 20:40:39 +0800

 Approved, thanks!
 
 build log
 https://redports.org/~buganini/20120111133010-56641-5363/chntpw-110511.log

From: Kurt Jaeger <pi@opsec.eu>
To: Buganini <buganini@gmail.com>
Cc: bug-followup@FreeBSD.org, fbsd-ports@opsec.eu
Subject: Re: ports/164014: [patch update] security/chntpw 100627 -&gt;
 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@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--

From: Buganini <buganini@gmail.com>
To: Kurt Jaeger <pi@opsec.eu>
Cc: bug-followup@freebsd.org, fbsd-ports@opsec.eu
Subject: Re: ports/164014: [patch update] security/chntpw 100627 -&gt; 110511
Date: Wed, 11 Jan 2012 21:59:49 +0800

 Are you sure the binary could work correctly?
 It may be able to be built and executed, but I'm not sure if it can
 manipulate hive correctly.
 
 Regards,
 Buganini
 
 2012/1/11 Kurt Jaeger <pi@opsec.eu>:
 > 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@opsec.eu =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0+49 171 3101372 =C2=
 =A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =
 =C2=A0 8 years to go !

From: Kurt Jaeger <pi@opsec.eu>
To: Buganini <buganini@gmail.com>
Cc: bug-followup@freebsd.org, fbsd-ports@opsec.eu
Subject: Re: ports/164014: [patch update] security/chntpw 100627 -&gt;
 110511
Date: Wed, 11 Jan 2012 15:03:32 +0100

 Hi!
 
 > Are you sure the binary could work correctly?
 
 I tested reged on an amd64 and had identical crashes 8-) 
 See my error report to pnh@pogostick.net I forwarded to you.
 
 > It may be able to be built and executed, but I'm not sure if it can
 > manipulate hive correctly.
 
 I had no chance to test it en detail.
 
 There's one thing, a few warnings during compilation, all of them like:
 
 ntreg.c: In function 'parse_db':
 ntreg.c:660: warning: format '%04x' expects type 'unsigned int', but argument 2 has type 'long int'
 
 I'm not sure this is critical.
 
 -- 
 pi@opsec.eu            +49 171 3101372                         8 years to go !
State-Changed-From-To: feedback->open 
State-Changed-By: linimon 
State-Changed-When: Wed Jan 11 14:12:45 UTC 2012 
State-Changed-Why:  
Maintainer approved, but see discussion. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=164014 
Responsible-Changed-From-To: freebsd-ports-bugs->miwi 
Responsible-Changed-By: miwi 
Responsible-Changed-When: Sat Jan 14 03:56:33 UTC 2012 
Responsible-Changed-Why:  
I'll take it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=164014 
State-Changed-From-To: open->closed 
State-Changed-By: miwi 
State-Changed-When: Sat Jan 14 19:11:41 UTC 2012 
State-Changed-Why:  
Committed. Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=164014 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/164014: commit references a PR
Date: Sat, 14 Jan 2012 19:12:57 +0000 (UTC)

 miwi        2012-01-14 19:11:50 UTC
 
   FreeBSD ports repository
 
   Modified files:
     security/chntpw      Makefile distinfo 
   Log:
   - Update to 110511
   
   PR:             164014
   Submitted by:   Kurt Jaeger <fbsd-ports@opsec.eu>
   Approved by:    maintainer
   
   Revision  Changes    Path
   1.6       +1 -1      ports/security/chntpw/Makefile
   1.6       +2 -2      ports/security/chntpw/distinfo
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
