Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Apr 2006 05:16:32 +0100
From:      Shaun Amott <shaun@inerd.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/96344: devel/zthread: update 2.3.1 -> 2.3.2; take maintainership
Message-ID:  <1146024992.14447@charon.picobyte.net>
Resent-Message-ID: <200604260420.k3Q4KHEI012522@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         96344
>Category:       ports
>Synopsis:       devel/zthread: update 2.3.1 -> 2.3.2; take maintainership
>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:   Wed Apr 26 04:20:16 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Shaun Amott
>Release:        FreeBSD 6.1-PRERELEASE i386
>Organization:
>Environment:

>Description:

- Update zthread to 2.3.2
- Use proper PLIST
- HTML docs no longer included
- Don't install pre-patched files

>How-To-Repeat:

>Fix:

--- zthread.diff begins here ---
diff -urN zthread.orig/Makefile zthread/Makefile
--- zthread.orig/Makefile	Thu Feb 23 14:11:27 2006
+++ zthread/Makefile	Wed Apr 26 04:49:07 2006
@@ -6,8 +6,7 @@
 #
 
 PORTNAME=	zthread
-PORTVERSION=	2.3.1
-PORTREVISION=	1
+PORTVERSION=	2.3.2
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -23,9 +22,7 @@
 MAKE_ENV+=	SED=sed # req'd for LIBTOOL?!
 INSTALLS_SHLIB=	yes
 
-.if !defined(NOPORTDOCS)
-PORTDOCS=	*
-.endif
+PORTDOCS=	AUTHORS ChangeLog NEWS README TODO
 
 .include <bsd.port.pre.mk>
 
@@ -36,16 +33,13 @@
 post-extract:
 	@${FIND} ${WRKSRC} -name CVS -type d -delete
 
+post-patch:
+	@${FIND} ${WRKSRC} \( -name '*.orig' -or -name '*.swp' \) -delete
+
 post-install:
-	@${FIND} ${PREFIX}/include/zthread -type f | \
-		${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST}
-	@${ECHO_CMD} "@dirrm include/zthread" >> ${TMPPLIST}
 .if !defined(NOPORTDOCS)
-	@${MKDIR} ${DOCSDIR}/html
-.for docfile in AUTHORS ChangeLog NEWS README TODO
-	${INSTALL_DATA} ${WRKSRC}/${docfile} ${DOCSDIR}
-.endfor
-	${CP} -R ${WRKSRC}/doc/html/ ${DOCSDIR}/html
+	@${MKDIR} ${DOCSDIR}
+	cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
 .endif
 
 .include <bsd.port.post.mk>
diff -urN zthread.orig/distinfo zthread/distinfo
--- zthread.orig/distinfo	Wed Jan 18 23:35:48 2006
+++ zthread/distinfo	Wed Apr 26 02:14:02 2006
@@ -1,3 +1,3 @@
-MD5 (ZThread-2.3.1.tar.gz) = 21c3075808b04949bec419010b0d188c
-SHA256 (ZThread-2.3.1.tar.gz) = 726eaa358ddce23e75eb3c24668ef334159b6a953e80bff0a2d1b8f7bca86f00
-SIZE (ZThread-2.3.1.tar.gz) = 427364
+MD5 (ZThread-2.3.2.tar.gz) = f2782d19b8ed6f1ff2ab8824dd4ba48e
+SHA256 (ZThread-2.3.2.tar.gz) = 950908b7473ac10abb046bd1d75acb5934344e302db38c2225b7a90bd1eda854
+SIZE (ZThread-2.3.2.tar.gz) = 412527
diff -urN zthread.orig/pkg-plist zthread/pkg-plist
--- zthread.orig/pkg-plist	Thu Feb 23 14:11:27 2006
+++ zthread/pkg-plist	Wed Apr 26 05:03:26 2006
@@ -1,7 +1,53 @@
 bin/zthread-config
 lib/libZThread-2.3.so
-lib/libZThread-2.3.so.1
+lib/libZThread-2.3.so.2
 lib/libZThread.la
 lib/libZThread.so
 share/aclocal/pthread.m4
 share/aclocal/zthread.m4
+include/zthread/AtomicCount.h
+include/zthread/BiasedReadWriteLock.h
+include/zthread/BlockingQueue.h
+include/zthread/BoundedQueue.h
+include/zthread/Cancelable.h
+include/zthread/ClassLockable.h
+include/zthread/ConcurrentExecutor.h
+include/zthread/Condition.h
+include/zthread/Config.h
+include/zthread/CountedPtr.h
+include/zthread/CountingSemaphore.h
+include/zthread/Exceptions.h
+include/zthread/Executor.h
+include/zthread/FairReadWriteLock.h
+include/zthread/FastMutex.h
+include/zthread/FastRecursiveMutex.h
+include/zthread/Guard.h
+include/zthread/GuardedClass.h
+include/zthread/Lockable.h
+include/zthread/Mutex.h
+include/zthread/LockedQueue.h
+include/zthread/MonitoredQueue.h
+include/zthread/NonCopyable.h
+include/zthread/PoolExecutor.h
+include/zthread/Priority.h
+include/zthread/PriorityCondition.h
+include/zthread/PriorityInheritanceMutex.h
+include/zthread/PriorityMutex.h
+include/zthread/PrioritySemaphore.h
+include/zthread/Queue.h
+include/zthread/ReadWriteLock.h
+include/zthread/RecursiveMutex.h
+include/zthread/Runnable.h
+include/zthread/Semaphore.h
+include/zthread/Singleton.h
+include/zthread/SynchronousExecutor.h
+include/zthread/Task.h
+include/zthread/Thread.h
+include/zthread/ThreadLocal.h
+include/zthread/ThreadLocalImpl.h
+include/zthread/ThreadedExecutor.h
+include/zthread/Time.h
+include/zthread/Waitable.h
+include/zthread/ZThread.h
+include/zthread/Barrier.h
+@dirrm include/zthread
--- zthread.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:



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