Bug 170599 - [NEW PORT] devel/npth: New GNU portable threads
Summary: [NEW PORT] devel/npth: New GNU portable threads
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Michael Scheidell
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-13 11:20 UTC by Jason E. Hale
Modified: 2012-08-14 13:10 UTC (History)
0 users

See Also:


Attachments
npth.shar (2.14 KB, text/plain)
2012-08-13 11:20 UTC, Jason E. Hale
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jason E. Hale 2012-08-13 11:20:01 UTC
Add new port devel/npth

nPth - The New GNU Portable Threads Library

This is a library to provide the GNU Pth API and thus a non-preemptive threads
implementation.

In contrast to GNU Pth is is based on the system's standard threads 
implementation.  This allows the use of libraries which are not compatible to
GNU Pth.  Experience with a Windows Pth emulation showed that this is a solid
way to provide a co-routine based framework.

WWW: http://www.gnupg.org


Announcement here:
http://lists.gnupg.org/pipermail/gnupg-announce/2012q3/000317.html

How-To-Repeat: - Use attached shar
- Build tests on Redports: https://redports.org/buildarchive/20120813100100-90820/
Comment 1 Michael Scheidell freebsd_committer freebsd_triage 2012-08-14 12:56:05 UTC
Responsible Changed
From-To: freebsd-ports-bugs->scheidell

I'll take it.
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-08-14 13:04:55 UTC
Author: scheidell
Date: Tue Aug 14 12:04:40 2012
New Revision: 302520
URL: http://svn.freebsd.org/changeset/ports/302520

Log:
  nPth - The New GNU Portable Threads Library
  
  This is a library to provide the GNU Pth API and thus a non-preemptive threads
  implementation.
  
  In contrast to GNU Pth is is based on the system's standard threads
  implementation.  This allows the use of libraries which are not compatible to
  GNU Pth.  Experience with a Windows Pth emulation showed that this is a solid
  way to provide a co-routine based framework.
  
  WWW: http://www.gnupg.org
  
  PR:		ports/170599
  Submitted by:	Jason E. Hale <bsdkaffee@gmail.com>

Added:
  head/devel/npth/
  head/devel/npth/Makefile   (contents, props changed)
  head/devel/npth/distinfo   (contents, props changed)
  head/devel/npth/pkg-descr   (contents, props changed)
  head/devel/npth/pkg-plist   (contents, props changed)
Modified:
  head/devel/Makefile

Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile	Tue Aug 14 12:01:37 2012	(r302519)
+++ head/devel/Makefile	Tue Aug 14 12:04:40 2012	(r302520)
@@ -1170,6 +1170,7 @@
     SUBDIR += node-thrift
     SUBDIR += notify-sharp
     SUBDIR += noweb
+    SUBDIR += npth
     SUBDIR += nspr
     SUBDIR += nxt-python
     SUBDIR += oaf

Added: head/devel/npth/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/npth/Makefile	Tue Aug 14 12:04:40 2012	(r302520)
@@ -0,0 +1,29 @@
+# New ports collection makefile for:	npth
+# Date Created:				2012-08-12
+# Whom:					Jason E. Hale <bsdkaffee@gmail.com>
+#
+# $FreeBSD$
+#
+
+PORTNAME=	npth
+PORTVERSION=	0.91
+CATEGORIES=	devel
+MASTER_SITES=	${MASTER_SITE_GNUPG}
+MASTER_SITE_SUBDIR=	${PORTNAME}
+
+MAINTAINER=	bsdkaffee@gmail.com
+COMMENT=	New GNU Portable Threads
+
+LICENSE=	LGPL3 GPLv2
+LICENSE_COMB=	dual
+
+USE_BZIP2=	yes
+USE_AUTOTOOLS=	libtool
+GNU_CONFIGURE=	yes
+CONFIGURE_ENV+=	ac_cv_search_pthread_create=""
+CFLAGS+=	${PTHREAD_CFLAGS}
+LDFLAGS+=	${PTHREAD_LIBS}
+MAKE_JOBS_SAFE=	yes
+USE_LDCONFIG=	yes
+
+.include <bsd.port.mk>

Added: head/devel/npth/distinfo
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/npth/distinfo	Tue Aug 14 12:04:40 2012	(r302520)
@@ -0,0 +1,2 @@
+SHA256 (npth-0.91.tar.bz2) = caef86ced4a331e162897818a5b924860c8d6003e52da5bdf76da00e8e0dfae1
+SIZE (npth-0.91.tar.bz2) = 299702

Added: head/devel/npth/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/npth/pkg-descr	Tue Aug 14 12:04:40 2012	(r302520)
@@ -0,0 +1,11 @@
+nPth - The New GNU Portable Threads Library
+
+This is a library to provide the GNU Pth API and thus a non-preemptive threads
+implementation.
+
+In contrast to GNU Pth is is based on the system's standard threads 
+implementation.  This allows the use of libraries which are not compatible to
+GNU Pth.  Experience with a Windows Pth emulation showed that this is a solid
+way to provide a co-routine based framework.
+
+WWW: http://www.gnupg.org

Added: head/devel/npth/pkg-plist
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/npth/pkg-plist	Tue Aug 14 12:04:40 2012	(r302520)
@@ -0,0 +1,7 @@
+bin/npth-config
+include/npth.h
+lib/libnpth.a
+lib/libnpth.la
+lib/libnpth.so
+lib/libnpth.so.0
+share/aclocal/npth.m4
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Michael Scheidell freebsd_committer freebsd_triage 2012-08-14 13:05:02 UTC
State Changed
From-To: open->closed

New port added. Thanks!