ports/80238: Update port: security/mhash to 0.9.2

Vasil Dimov vd at datamax.bg
Fri Apr 22 09:40:12 UTC 2005


>Number:         80238
>Category:       ports
>Synopsis:       Update port: security/mhash to 0.9.2
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 22 09:40:11 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Vasil Dimov
>Release:        FreeBSD 5.4-STABLE i386
>Organization:
DataMax
>Environment:

System: FreeBSD sinanica.bg.datamax 5.4-STABLE FreeBSD 5.4-STABLE #5: Mon Apr 11 14:07:32 EEST 2005     root at sinanica.bg.datamax:/usr/obj/usr/src/sys/SINANICA-SMP  i386

>Description:

Update mhash to the most recent version - 0.9.2

* mhash.3 does not come with the archive anymore so we need to build it
  outselves. For that reason pod2man must be used and we add perl build
  dependency to the port.

* add patch for doc/Makefile.in to make it work with natural bsd make -
  $< evaluates to empty string with bsd make instead of expected
  mhash.pod (or whatever).

>How-To-Repeat:
>Fix:

--- mhash_update-0.9.1-0.9.2.diff begins here ---
diff -urN mhash-0.9.1/Makefile mhash/Makefile
--- mhash-0.9.1/Makefile	Wed Apr 13 02:22:04 2005
+++ mhash/Makefile	Fri Apr 22 12:15:50 2005
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	mhash
-PORTVERSION=	0.9.1
+PORTVERSION=	0.9.2
 CATEGORIES=	security
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -16,6 +16,7 @@
 
 INSTALLS_SHLIB=	yes
 USE_LIBTOOL_VER=13
+USE_PERL5_BUILD=yes
 CONFIGURE_TARGET=--build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
 CONFIGURE_ARGS+=	--with-LDFLAGS="${PTHREAD_LIBS}" --enable-static \
 			--with-gnu-ld
diff -urN mhash-0.9.1/distinfo mhash/distinfo
--- mhash-0.9.1/distinfo	Tue Feb  1 10:39:04 2005
+++ mhash/distinfo	Fri Apr 22 10:08:05 2005
@@ -1,2 +1,2 @@
-MD5 (mhash-0.9.1.tar.gz) = 8ade81ae33ccbf75e096c1baeecfd153
-SIZE (mhash-0.9.1.tar.gz) = 371330
+MD5 (mhash-0.9.2.tar.gz) = bf31627548376891e4f42ace54db4c2d
+SIZE (mhash-0.9.2.tar.gz) = 853662
diff -urN mhash-0.9.1/files/patch-doc::Makefile.in mhash/files/patch-doc::Makefile.in
--- mhash-0.9.1/files/patch-doc::Makefile.in	Thu Jan  1 02:00:00 1970
+++ mhash/files/patch-doc::Makefile.in	Fri Apr 22 12:32:32 2005
@@ -0,0 +1,19 @@
+--- doc/Makefile.in.orig	Fri Apr 22 11:43:32 2005
++++ doc/Makefile.in	Fri Apr 22 11:44:46 2005
+@@ -391,13 +391,13 @@
+ mhash-doc: $(dist_targets)
+ 
+ $(srcdir)/mhash.html: $(srcdir)/mhash.pod
+-	pod2html --noindex --netscape --title="mhash library" $< | sed 's/MHASH_VERSION/@MHASH_VERSION@/' > $@
++	pod2html --noindex --netscape --title="mhash library" $(srcdir)/mhash.pod | sed 's/MHASH_VERSION/@MHASH_VERSION@/' > $@
+ 
+ $(srcdir)/mhash.0: $(srcdir)/mhash.3
+-	nroff -man $< > $@
++	nroff -man $(srcdir)/mhash.3 > $@
+ 
+ $(srcdir)/mhash.3: $(srcdir)/mhash.pod
+-	pod2man $(PODPARAMS) $< | sed 's/MHASH_VERSION/@MHASH_VERSION@/' > $@
++	pod2man $(PODPARAMS) $(srcdir)/mhash.pod | sed 's/MHASH_VERSION/@MHASH_VERSION@/' > $@
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
--- mhash_update-0.9.1-0.9.2.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list