Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 2013 10:00:08 +0000 (UTC)
From:      Philippe Audeoud <jadawin@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r334566 - in head/sysutils/isomd5sum: . files
Message-ID:  <201311221000.rAMA08mb023324@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jadawin
Date: Fri Nov 22 10:00:08 2013
New Revision: 334566
URL: http://svnweb.freebsd.org/changeset/ports/334566

Log:
  - Update to 1.0.11
  - No more BROKEN
  - Support STAGE
  
  PR:		ports/184144
  Submitted by:	"Charlie &" <root@portaone.com>
  Approved by:	maintainer

Modified:
  head/sysutils/isomd5sum/Makefile   (contents, props changed)
  head/sysutils/isomd5sum/distinfo   (contents, props changed)
  head/sysutils/isomd5sum/files/patch-Makefile   (contents, props changed)
  head/sysutils/isomd5sum/files/patch-md5.c   (contents, props changed)
  head/sysutils/isomd5sum/pkg-plist   (contents, props changed)

Modified: head/sysutils/isomd5sum/Makefile
==============================================================================
--- head/sysutils/isomd5sum/Makefile	Fri Nov 22 09:44:08 2013	(r334565)
+++ head/sysutils/isomd5sum/Makefile	Fri Nov 22 10:00:08 2013	(r334566)
@@ -2,7 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	isomd5sum
-PORTVERSION=	1.0.9
+PORTVERSION=	1.0.11
 PORTREVISION=	1
 CATEGORIES=	sysutils
 MASTER_SITES=	http://git.fedorahosted.org/cgit/isomd5sum.git/snapshot/
@@ -12,16 +12,12 @@ COMMENT=	Implanting and checking checksu
 
 LICENSE=	GPLv2
 
-LIB_DEPENDS=	popt.0:${PORTSDIR}/devel/popt
+LIB_DEPENDS=	popt:${PORTSDIR}/devel/popt
 
-BROKEN=		Unfetchable due to checksum mismatch
 USES=		gmake
 USE_BZIP2=	yes
 USE_PYTHON=	yes
 
-MAN1=	implantisomd5.1 checkisomd5.1
-
 MAKE_ENV+=	PYTHONPREFIX_SITELIBDIR=${PYTHONPREFIX_SITELIBDIR} PYTHON_INCLUDEDIR=${PYTHON_INCLUDEDIR}
 
-NO_STAGE=	yes
 .include <bsd.port.mk>

Modified: head/sysutils/isomd5sum/distinfo
==============================================================================
--- head/sysutils/isomd5sum/distinfo	Fri Nov 22 09:44:08 2013	(r334565)
+++ head/sysutils/isomd5sum/distinfo	Fri Nov 22 10:00:08 2013	(r334566)
@@ -1,2 +1,2 @@
-SHA256 (isomd5sum-1.0.9.tar.bz2) = 307736e466a84bcf15a34af301d93cba5fcb23f8bd75624dbabdf75d37eeec8d
-SIZE (isomd5sum-1.0.9.tar.bz2) = 18143
+SHA256 (isomd5sum-1.0.11.tar.bz2) = f37a2ed2a4cd9ac518627d73165c3ca103d09a84986b57fee5865c5aa792c6fe
+SIZE (isomd5sum-1.0.11.tar.bz2) = 18120

Modified: head/sysutils/isomd5sum/files/patch-Makefile
==============================================================================
--- head/sysutils/isomd5sum/files/patch-Makefile	Fri Nov 22 09:44:08 2013	(r334565)
+++ head/sysutils/isomd5sum/files/patch-Makefile	Fri Nov 22 10:00:08 2013	(r334566)
@@ -1,17 +1,17 @@
---- ./Makefile.orig	2012-03-09 21:51:31.000000000 +0200
-+++ ./Makefile	2012-10-10 06:07:15.000000000 +0300
+--- ./Makefile.orig	2013-07-17 21:42:23.000000000 +0000
++++ ./Makefile	2013-11-21 15:37:41.000000000 +0000
 @@ -1,16 +1,16 @@
  PYVER  := $(shell python -c 'import sys; print sys.version[0:3]')
  PYTHON = python$(PYVER)
 -PYTHONINCLUDE = /usr/include/$(PYTHON)
 +PYTHONINCLUDE = ${PYTHON_INCLUDEDIR}
  
- VERSION=1.0.9
+ VERSION=1.0.11
  
--ifneq (,$(filter sparc64 ppc64 x86_64 s390x,$(shell uname -m)))
+-ifneq (,$(filter sparc64 ppc64 x86_64 s390x aarch64,$(shell uname -m)))
 -LIBDIR = lib64
 -else
-+#ifneq (,$(filter sparc64 ppc64 x86_64 s390x,$(shell uname -m)))
++#ifneq (,$(filter sparc64 ppc64 x86_64 s390x aarch64,$(shell uname -m)))
 +#LIBDIR = lib64
 +#else
  LIBDIR = lib
@@ -23,20 +23,25 @@
  
  OBJECTS = md5.o libimplantisomd5.o checkisomd5.o implantisomd5
  SOURCES = $(patsubst %.o,%.c,$(OBJECTS))
-@@ -24,10 +24,10 @@
- 	$(CC) -c -O $(CFLAGS) -o $@ $<
+@@ -24,39 +24,39 @@
+ 	$(CC) $(CPPFLAGS) $(CFLAGS) -c -O -o $@ $<
  
  implantisomd5: implantisomd5.o libimplantisomd5.a
--	$(CC) $(CFLAGS) implantisomd5.o libimplantisomd5.a -lpopt -o implantisomd5
-+	$(CC) $(CFLAGS) -L${LOCALBASE}/lib implantisomd5.o libimplantisomd5.a -lpopt -o implantisomd5
+-	$(CC) $(CPPFLAGS) $(CFLAGS) implantisomd5.o libimplantisomd5.a -lpopt $(LDFLAGS) -o implantisomd5
++	$(CC) $(CPPFLAGS) $(CFLAGS) -L${LOCALBASE}/lib implantisomd5.o libimplantisomd5.a -lpopt $(LDFLAGS) -o implantisomd5
  
  checkisomd5: checkisomd5.o libcheckisomd5.a
--	$(CC) $(CFLAGS) checkisomd5.o libcheckisomd5.a -lpopt -o checkisomd5
-+	$(CC) $(CFLAGS) -L${LOCALBASE}/lib checkisomd5.o libcheckisomd5.a -lpopt -o checkisomd5
+-	$(CC) $(CPPFLAGS) $(CFLAGS) checkisomd5.o libcheckisomd5.a -lpopt $(LDFLAGS) -o checkisomd5
++	$(CC) $(CPPFLAGS) $(CFLAGS) -L${LOCALBASE}/lib checkisomd5.o libcheckisomd5.a -lpopt $(LDFLAGS) -o checkisomd5
  
  libimplantisomd5.a: libimplantisomd5.a(libimplantisomd5.o md5.o)
  
-@@ -39,24 +39,24 @@
+ libcheckisomd5.a: libcheckisomd5.a(libcheckisomd5.o md5.o)
+ 
+ pyisomd5sum.so: $(PYOBJS)
+-	$(CC) $(CPPFLAGS) $(CFLAGS) -shared -g -fpic $(PYOBJS) $(LDFLAGS) -o pyisomd5sum.so
++	$(CC) $(CPPFLAGS) $(CFLAGS) -shared -fpic $(PYOBJS) $(LDFLAGS) -o pyisomd5sum.so
+ 
  install: all install-bin install-python install-devel
  
  install-bin:

Modified: head/sysutils/isomd5sum/files/patch-md5.c
==============================================================================
--- head/sysutils/isomd5sum/files/patch-md5.c	Fri Nov 22 09:44:08 2013	(r334565)
+++ head/sysutils/isomd5sum/files/patch-md5.c	Fri Nov 22 10:00:08 2013	(r334566)
@@ -17,12 +17,3 @@
  
  static void byteReverse(unsigned char *buf, unsigned longs);
  
-@@ -157,7 +157,7 @@
- 	MD5_Transform(ctx->buf, (uint32 *) ctx->in);
- 	if (ctx->doByteReverse) byteReverse((unsigned char *) ctx->buf, 4);
- 	memcpy(digest, ctx->buf, 16);
--	memset(ctx, 0, sizeof(ctx));	/* In case it's sensitive */
-+	memset(ctx, 0, sizeof(*ctx));	/* In case it's sensitive */
- }
- 
- #ifndef ASM_MD5

Modified: head/sysutils/isomd5sum/pkg-plist
==============================================================================
--- head/sysutils/isomd5sum/pkg-plist	Fri Nov 22 09:44:08 2013	(r334565)
+++ head/sysutils/isomd5sum/pkg-plist	Fri Nov 22 10:00:08 2013	(r334566)
@@ -1,5 +1,7 @@
 bin/implantisomd5
 bin/checkisomd5
+man/man1/checkisomd5.1.gz
+man/man1/implantisomd5.1.gz
 include/libimplantisomd5.h
 include/libcheckisomd5.h
 lib/libimplantisomd5.a



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311221000.rAMA08mb023324>