Update to 0.4.4

PR:		ports/41358
Submitted by:	KATO Tsuguru <tkato@prontomail.com>
This commit is contained in:
Patrick Li 2002-08-06 00:52:52 +00:00
parent d8ac619d79
commit 3758bc8567
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=64083
6 changed files with 34 additions and 10 deletions

View file

@ -7,7 +7,7 @@
# #
PORTNAME= gnunet PORTNAME= gnunet
PORTVERSION= 0.4.3 PORTVERSION= 0.4.4
CATEGORIES= net CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME} MASTER_SITE_SUBDIR= ${PORTNAME}
@ -26,12 +26,13 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" LDFLAGS="-L${LOCALBASE}/lib"
MAN1= gnunet-download.1 gnunet-gtk.1 gnunet-insert-multi.1 \ MAN1= gnunet-check.1 gnunet-download.1 gnunet-gtk.1 \
gnunet-insert.1 gnunet-search.1 gnunetd.1 gnunet-check.1 gnunet-insert-multi.1 gnunet-insert.1 gnunet-search.1 gnunetd.1
MAN5= gnunet.conf.5 MAN5= gnunet.conf.5
post-patch: 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 s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
.for file in src/include/server/startup.h src/server/startup.c \ .for file in src/include/server/startup.h src/server/startup.c \
src/textui/gnunetdownload.c src/textui/insertmain.c \ src/textui/gnunetdownload.c src/textui/insertmain.c \

View file

@ -1 +1 @@
MD5 (GNUnet-0.4.3.tar.bz2) = 19d7cc5c7850c4a403e980171811e1e3 MD5 (GNUnet-0.4.4.tar.bz2) = 92e9b9708577b677af0242c3880949a8

View file

@ -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);

View file

@ -7,7 +7,7 @@
# #
PORTNAME= gnunet PORTNAME= gnunet
PORTVERSION= 0.4.3 PORTVERSION= 0.4.4
CATEGORIES= net CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_GNU} MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= ${PORTNAME} MASTER_SITE_SUBDIR= ${PORTNAME}
@ -26,12 +26,13 @@ GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" LDFLAGS="-L${LOCALBASE}/lib"
MAN1= gnunet-download.1 gnunet-gtk.1 gnunet-insert-multi.1 \ MAN1= gnunet-check.1 gnunet-download.1 gnunet-gtk.1 \
gnunet-insert.1 gnunet-search.1 gnunetd.1 gnunet-check.1 gnunet-insert-multi.1 gnunet-insert.1 gnunet-search.1 gnunetd.1
MAN5= gnunet.conf.5 MAN5= gnunet.conf.5
post-patch: 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 s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure
.for file in src/include/server/startup.h src/server/startup.c \ .for file in src/include/server/startup.h src/server/startup.c \
src/textui/gnunetdownload.c src/textui/insertmain.c \ src/textui/gnunetdownload.c src/textui/insertmain.c \

View file

@ -1 +1 @@
MD5 (GNUnet-0.4.3.tar.bz2) = 19d7cc5c7850c4a403e980171811e1e3 MD5 (GNUnet-0.4.4.tar.bz2) = 92e9b9708577b677af0242c3880949a8

View file

@ -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);