aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p
diff options
context:
space:
mode:
authorpat <pat@FreeBSD.org>2002-08-06 08:52:52 +0800
committerpat <pat@FreeBSD.org>2002-08-06 08:52:52 +0800
commit69c70b2e5af348a4a8e9eb2d65a010dc6c63c9af (patch)
treed95bcdc47e81aef78993d21e250f719e2e5c1fdb /net-p2p
parent82a202995adf98ed63d2922cf055af43f9f21c73 (diff)
downloadfreebsd-ports-graphics-69c70b2e5af348a4a8e9eb2d65a010dc6c63c9af.tar.gz
freebsd-ports-graphics-69c70b2e5af348a4a8e9eb2d65a010dc6c63c9af.tar.zst
freebsd-ports-graphics-69c70b2e5af348a4a8e9eb2d65a010dc6c63c9af.zip
Update to 0.4.4
PR: ports/41358 Submitted by: KATO Tsuguru <tkato@prontomail.com>
Diffstat (limited to 'net-p2p')
-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 b41ae1ad155..fa55c8e5af0 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 f41bcaeb7ad..6fc3bebbd98 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 00000000000..7eb4798cdfa
--- /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);