ports/79963: Update news/nzbget to 0.2.0

Mathieu Arnold mat at FreeBSD.org
Fri Apr 15 14:10:12 UTC 2005


>Number:         79963
>Category:       ports
>Synopsis:       Update news/nzbget to 0.2.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Apr 15 14:10:11 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Mathieu Arnold
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
Absolight
>Environment:
System: FreeBSD aragorn.in.absolight.net 4.8-RELEASE FreeBSD 4.8-RELEASE #0: Wed Sep 3 12:54:37 CEST 2003 root at aragorn.reaumur.absolight.net:/usr/src/sys/compile/ARAGORN i386

>Description:
>How-To-Repeat:
>Fix:

--- nzbget-0.2.0.diff begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/news/nzbget/Makefile,v
retrieving revision 1.2
diff -u -r1.2 Makefile
--- Makefile	8 Apr 2005 03:41:18 -0000	1.2
+++ Makefile	15 Apr 2005 14:00:44 -0000
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	nzbget
-PORTVERSION=	0.1.1
+PORTVERSION=	0.2.0
 CATEGORIES=	news
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	nzbget
@@ -23,11 +23,12 @@
 		LOCALBASE="${LOCALBASE}"
 USE_GMAKE=	yes
 USE_REINPLACE=	yes
+USE_GETOPT_LONG=	yes
 
 PLIST_FILES=	bin/nzbget etc/nzbget.cfg.example
 
 post-patch:
-	@${REINPLACE_CMD} -e 's|/usr/bin/nzbget|${PREFIX}/bin/nzbget|' ${WRKSRC}/Makefile.in
+	@${REINPLACE_CMD} -e 's/-lpthread/${PTHREAD_LIBS}/g' ${WRKSRC}/configure
 
 post-install:
 	${INSTALL_DATA} ${WRKSRC}/nzbget.cfg.example ${PREFIX}/etc
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/news/nzbget/distinfo,v
retrieving revision 1.1
diff -u -r1.1 distinfo
--- distinfo	17 Apr 2004 21:26:30 -0000	1.1
+++ distinfo	15 Apr 2005 13:28:50 -0000
@@ -1,2 +1,2 @@
-MD5 (nzbget-0.1.1.tar.gz) = a653120fac3dde326e0305fb4a1fb27d
-SIZE (nzbget-0.1.1.tar.gz) = 82928
+MD5 (nzbget-0.2.0.tar.gz) = 4e51fb8461b651bf14b1b3f52003a43e
+SIZE (nzbget-0.2.0.tar.gz) = 377173
Index: files/patch-ArticleDownloader.cpp
===================================================================
RCS file: files/patch-ArticleDownloader.cpp
diff -N files/patch-ArticleDownloader.cpp
--- files/patch-ArticleDownloader.cpp	17 Apr 2004 21:26:30 -0000	1.1
+++ /dev/null	1 Jan 1970 00:00:00 -0000
@@ -1,11 +0,0 @@
---- ArticleDownloader.cpp.orig	Fri Apr  2 18:55:19 2004
-+++ ArticleDownloader.cpp	Sat Apr 17 22:57:09 2004
-@@ -27,6 +27,8 @@
- #include <config.h>
- #endif
- 
-+#include <unistd.h>
-+
- #include "ArticleDownloader.h"
- #include "Decoder.h"
- #include "global.h"
Index: files/patch-Coordinator.cpp
===================================================================
RCS file: files/patch-Coordinator.cpp
diff -N files/patch-Coordinator.cpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-Coordinator.cpp	15 Apr 2005 13:41:58 -0000
@@ -0,0 +1,10 @@
+--- Coordinator.cpp~	Wed Feb 23 09:05:23 2005
++++ Coordinator.cpp	Fri Apr 15 15:41:42 2005
+@@ -28,6 +28,7 @@
+ #endif
+ 
+ #include <unistd.h>
++#include <libgen.h>
+ 
+ #include "global.h"
+ #include "Coordinator.h"
Index: files/patch-Makefile.in
===================================================================
RCS file: files/patch-Makefile.in
diff -N files/patch-Makefile.in
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-Makefile.in	15 Apr 2005 13:47:07 -0000
@@ -0,0 +1,55 @@
+--- Makefile.in.bak	Sun Feb 27 12:59:05 2005
++++ Makefile.in	Fri Apr 15 15:46:45 2005
+@@ -19,8 +19,8 @@
+ CP		= @CP@
+ CFLAGS		= @CFLAGS@ 
+ DEFS		= @DEFS@ -DVERSION=\"$(VERSION)\"
+-CPPFLAGS	= -I./uulib @CPPFLAGS@
+-LDFLAGS		= -L./uulib @LDFLAGS@
++CPPFLAGS	= @CPPFLAGS@
++LDFLAGS		= @LDFLAGS@
+ LIBS		= -luu -lncurses @LIBS@
+ INSTALL		= @INSTALL@
+ 
+@@ -94,19 +94,14 @@
+ 
+ # Executable programmes
+ #
+-nzbget: $(OBJECTS) nzbget.o ./uulib/libuu.a
++nzbget: $(OBJECTS) nzbget.o
+ 	$(CXX) $(CFLAGS) -o $@ $(OBJECTS) nzbget.o $(LDFLAGS) $(LIBS)
+ 	@echo "Build succeeded."
+ 
+-./uulib/libuu.a:
+-	make -C uulib
+-
+ clean:
+-	-cd ./uulib && make clean && cd ..
+ 	-$(RM) -f *.o $(PROGRAMS) .depend libuu.a
+ 
+ distclean: clean
+-	-cd ./uulib && make distclean && cd ..
+ 	-$(RM) -f Makefile config.status config.log config.h .depend
+ 
+ 
+@@ -123,17 +118,15 @@
+ 
+ distrib:
+ 	$(MKDIR) nzbget-$(VERSION)
+-	$(MKDIR) nzbget-$(VERSION)/uulib
+ 	$(CP) -av $(DISTFILES) nzbget-$(VERSION)
+-	$(CP) -av $(UUDISTFILES) nzbget-$(VERSION)/uulib
+ 	cd nzbget-$(VERSION) && ./configure
+-	cd nzbget-$(VERSION) && make
+-	cd nzbget-$(VERSION) && make distclean
++	cd nzbget-$(VERSION) && ${MAKE}
++	cd nzbget-$(VERSION) && ${MAKE} distclean
+ 	tar -czf nzbget-$(VERSION).tar.gz nzbget-$(VERSION)
+ 	$(RM) -r nzbget-$(VERSION)
+ 
+ install: nzbget
+-	$(INSTALL) nzbget /usr/bin/nzbget
++	$(INSTALL) nzbget /usr/local/bin/nzbget
+ 
+ 
+ -include .depend
Index: files/patch-NCursesFrontend.cpp
===================================================================
RCS file: files/patch-NCursesFrontend.cpp
diff -N files/patch-NCursesFrontend.cpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-NCursesFrontend.cpp	15 Apr 2005 13:43:56 -0000
@@ -0,0 +1,19 @@
+--- NCursesFrontend.cpp~	Wed Feb 23 09:05:23 2005
++++ NCursesFrontend.cpp	Fri Apr 15 15:43:27 2005
+@@ -27,6 +27,7 @@
+ #include <unistd.h>
+ #include <stdarg.h>
+ #include <signal.h>
++#include <libgen.h>
+ 
+ #include "NCursesFrontend.h"
+ 
+@@ -342,7 +343,7 @@
+ 					  NCURSES_COLORPAIR_DEBUG};
+ 
+ 	NCOLORON( iMessageTypeColor[Msg.m_eType] );
+-	mvprintw( iRow, 0, szMessageType[ Msg.m_eType ] );
++	mvprintw( iRow, 0, (char *)szMessageType[ Msg.m_eType ] );
+ 	NCOLOROFF( iMessageTypeColor[Msg.m_eType] );
+ 
+ 	char szBuffer[512];
Index: files/patch-NZBQueue.cpp
===================================================================
RCS file: files/patch-NZBQueue.cpp
diff -N files/patch-NZBQueue.cpp
--- /dev/null	1 Jan 1970 00:00:00 -0000
+++ files/patch-NZBQueue.cpp	15 Apr 2005 13:41:12 -0000
@@ -0,0 +1,10 @@
+--- NZBQueue.cpp~	Wed Feb 23 09:05:23 2005
++++ NZBQueue.cpp	Fri Apr 15 15:40:41 2005
+@@ -26,6 +26,7 @@
+ #ifdef HAVE_CONFIG_H
+ #include <config.h>
+ #endif
++#include <libgen.h>
+ 
+ #include "NZBQueue.h"
+ #include "global.h"
--- nzbget-0.2.0.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list