aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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
-rw-r--r--net/gnunet/Makefile9
-rw-r--r--net/gnunet/distinfo2
-rw-r--r--net/gnunet/files/patch-src::textui::gnunetsearch.c11
6 files changed, 34 insertions, 10 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);
diff --git a/net/gnunet/Makefile b/net/gnunet/Makefile
index b41ae1ad1552..fa55c8e5af05 100644
--- a/net/gnunet/Makefile
+++ b/net/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/gnunet/distinfo b/net/gnunet/distinfo
index f41bcaeb7ad7..6fc3bebbd98a 100644
--- a/net/gnunet/distinfo
+++ b/net/gnunet/distinfo
@@ -1 +1 @@
-MD5 (GNUnet-0.4.3.tar.bz2) = 19d7cc5c7850c4a403e980171811e1e3
+MD5 (GNUnet-0.4.4.tar.bz2) = 92e9b9708577b677af0242c3880949a8
diff --git a/net/gnunet/files/patch-src::textui::gnunetsearch.c b/net/gnunet/files/patch-src::textui::gnunetsearch.c
new file mode 100644
index 000000000000..7eb4798cdfaa
--- /dev/null
+++ b/net/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);