summaryrefslogtreecommitdiff
path: root/net-p2p/gnunet
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-08-06 00:52:52 +0000
committerPatrick Li <pat@FreeBSD.org>2002-08-06 00:52:52 +0000
commit3758bc8567bef998267f6b1f5f7672c2f2b38da8 (patch)
tree9084cad3ef1a52aa4300ba181d1a608ff3916ec4 /net-p2p/gnunet
parentUpdate to 0.6.0 (diff)
Update to 0.4.4
PR: ports/41358 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'net-p2p/gnunet')
-rw-r--r--net-p2p/gnunet/Makefile9
-rw-r--r--net-p2p/gnunet/distinfo2
-rw-r--r--net-p2p/gnunet/files/patch-src::textui::gnunetsearch.c11
3 files changed, 17 insertions, 5 deletions
diff --git a/net-p2p/gnunet/Makefile b/net-p2p/gnunet/Makefile
index b41ae1ad1552..fa55c8e5af05 100644
--- a/net-p2p/gnunet/Makefile
+++ b/net-p2p/gnunet/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= gnunet
-PORTVERSION= 0.4.3
+PORTVERSION= 0.4.4
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -26,12 +26,13 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-MAN1= gnunet-download.1 gnunet-gtk.1 gnunet-insert-multi.1 \
- gnunet-insert.1 gnunet-search.1 gnunetd.1 gnunet-check.1
+MAN1= gnunet-check.1 gnunet-download.1 gnunet-gtk.1 \
+ gnunet-insert-multi.1 gnunet-insert.1 gnunet-search.1 gnunetd.1
MAN5= gnunet.conf.5
post-patch:
- @${REINPLACE_CMD} 's|-pthread [\$$]CFLAGS|\$$CFLAGS|g ; \
+ @${REINPLACE_CMD} -e \
+ 's|-pthread [\$$]CFLAGS|${PTHREAD_CFLAGS} \$$CFLAGS|g ; \
s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
.for file in src/include/server/startup.h src/server/startup.c \
src/textui/gnunetdownload.c src/textui/insertmain.c \
diff --git a/net-p2p/gnunet/distinfo b/net-p2p/gnunet/distinfo
index f41bcaeb7ad7..6fc3bebbd98a 100644
--- a/net-p2p/gnunet/distinfo
+++ b/net-p2p/gnunet/distinfo
@@ -1 +1 @@
-MD5 (GNUnet-0.4.3.tar.bz2) = 19d7cc5c7850c4a403e980171811e1e3
+MD5 (GNUnet-0.4.4.tar.bz2) = 92e9b9708577b677af0242c3880949a8
diff --git a/net-p2p/gnunet/files/patch-src::textui::gnunetsearch.c b/net-p2p/gnunet/files/patch-src::textui::gnunetsearch.c
new file mode 100644
index 000000000000..7eb4798cdfaa
--- /dev/null
+++ b/net-p2p/gnunet/files/patch-src::textui::gnunetsearch.c
@@ -0,0 +1,11 @@
+--- src/textui/gnunetsearch.c.orig Wed Jul 31 10:18:44 2002
++++ src/textui/gnunetsearch.c Fri Aug 2 18:38:36 2002
+@@ -222,7 +222,7 @@
+ &sig.sa_mask,
+ &sig.sa_mask); /* essentially: zero out */
+
+- sig.sa_flags = SA_ONESHOT;
++ sig.sa_flags = SA_RESETHAND;
+
+ sigaction(SIGINT, &sig, &oldsig);
+ sigaction(SIGTERM, &sig, &oldsig);