Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Apr 2009 00:33:18 GMT
From:      Jeff Burchell <toxic@doobie.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/133737: Update Port: news/nzbget  from 0.5.1 to 0.6.0
Message-ID:  <200904150033.n3F0XINC081297@www.freebsd.org>
Resent-Message-ID: <200904150040.n3F0e2W3066256@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         133737
>Category:       ports
>Synopsis:       Update Port: news/nzbget  from 0.5.1 to 0.6.0
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Wed Apr 15 00:40:02 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Jeff Burchell
>Release:        7.1-RELEASE-p4
>Organization:
>Environment:
FreeBSD freebsd-dev.zyxyz.org 7.1-RELEASE-p4 FreeBSD 7.1-RELEASE-p4 #0: Sun Mar 22 09:43:46 UTC 2009     root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  amd64
>Description:

nzbget-0.6.0 was released as stable on 20 March 2009.  The attached patch updates the FreeBSD port to that version of nzbget.

Be aware that this patch removes all of the patches in files/.  Those patches (against 0.5.1) have been adopted upstream. 

>How-To-Repeat:

>Fix:


Patch attached with submission follows:

diff -ruN nzbget-0.5.1/Makefile nzbget.new/Makefile
--- nzbget-0.5.1/Makefile	2008-10-16 06:06:45.000000000 -0700
+++ nzbget-0.6.0/Makefile	2009-04-14 16:55:03.000000000 -0700
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	nzbget
-PORTVERSION=	0.5.1
+PORTVERSION=	0.6.0
 CATEGORIES=	news
 MASTER_SITES=	SF
 
diff -ruN nzbget-0.5.1/distinfo nzbget-0.6.0/distinfo
--- nzbget-0.5.1/distinfo	2008-10-16 06:06:45.000000000 -0700
+++ nzbget-0.6.0/distinfo	2009-04-14 16:55:16.000000000 -0700
@@ -1,3 +1,3 @@
-MD5 (nzbget-0.5.1.tar.gz) = 3ff7cb297bbe0fd3aa378343849d85f1
-SHA256 (nzbget-0.5.1.tar.gz) = 48af705afa1cb429562e1b9e27f854e60de62f3c4ef3775229051f82be9f57ff
-SIZE (nzbget-0.5.1.tar.gz) = 278007
+MD5 (nzbget-0.6.0.tar.gz) = eb95b3930abffb570e37af8d284c1f9d
+SHA256 (nzbget-0.6.0.tar.gz) = b0bc8740db7ed9ea269b29e9a936cb2c4dd61a911b80b623fe18729b94de3030
+SIZE (nzbget-0.6.0.tar.gz) = 296298
diff -ruN nzbget-0.5.1/files/patch-ChangeLog nzbget-0.6.0/files/patch-ChangeLog
--- nzbget-0.5.1/files/patch-ChangeLog	2008-10-16 06:06:46.000000000 -0700
+++ nzbget-0.6.0/files/patch-ChangeLog	1969-12-31 16:00:00.000000000 -0800
@@ -1,10 +0,0 @@
---- ChangeLog	2008-09-21 09:16:48.000000000 -0700
-+++ ChangeLog	2008-10-02 16:59:34.000000000 -0700
-@@ -1,3 +1,7 @@
-+nzbget-0.5.1 FreeBSD Port:
-+  - Removed the <DumpCore> option, introduced in 0.5.0.  It uses 
-+    Linux-specific code.
-+
- nzbget-0.5.1:
-   - improved the check of server responses to prevent unnecessary retrying
-     if the article does not exist on server;
diff -ruN nzbget-0.5.1/files/patch-configure nzbget-0.6.0/files/patch-configure
--- nzbget-0.5.1/files/patch-configure	2008-10-16 06:06:46.000000000 -0700
+++ nzbget-0.6.0/files/patch-configure	1969-12-31 16:00:00.000000000 -0800
@@ -1,13 +0,0 @@
---- configure	2008-09-21 09:18:06.000000000 -0700
-+++ configure	2008-10-02 17:12:54.000000000 -0700
-@@ -2389,7 +2389,9 @@
-     LIBPREF1="/usr"
-     ;;
-   *-freebsd*)
--    LIBPREF1="/usr/local"
-+    LIBPREF1="${LOCALBASE}"
-+    CFLAGS="${CFLAGS}"
-+    CPPFLAGS="${CPPFLAGS}"
-     ;;
-   *-solaris*)
-     LIBPREF1="/usr"
diff -ruN nzbget-0.5.1/files/patch-nzbget.conf.example nzbget-0.6.0/files/patch-nzbget.conf.example
--- nzbget-0.5.1/files/patch-nzbget.conf.example	2008-10-16 06:06:46.000000000 -0700
+++ nzbget-0.6.0/files/patch-nzbget.conf.example	1969-12-31 16:00:00.000000000 -0800
@@ -1,16 +0,0 @@
---- nzbget.conf.example	2008-08-22 07:50:40.000000000 -0700
-+++ nzbget.conf.example	2008-10-02 17:00:00.000000000 -0700
-@@ -307,11 +307,11 @@
- # the names of broken files
- CreateBrokenLog=yes
- 
--# Create memory dump (core-file) on abnormal termination (POSIX only) (yes, no)
-+# Create memory dump (core-file) on abnormal termination (Linux only) (yes, no)
- # Core-files are very helpful for debugging.
- # NOTE: core-files may contain sensible data, like your login/password to
- # newsserver etc.
--DumpCore=no
-+# DumpCore=no
- 
- # See also option "logfile" in secion "PATHS"
- 
diff -ruN nzbget-0.5.1/files/patch-nzbget.cpp nzbget-0.6.0/files/patch-nzbget.cpp
--- nzbget-0.5.1/files/patch-nzbget.cpp	2008-10-16 06:06:46.000000000 -0700
+++ nzbget-0.6.0/files/patch-nzbget.cpp	1969-12-31 16:00:00.000000000 -0800
@@ -1,53 +0,0 @@
---- nzbget.cpp	2008-09-11 13:42:36.000000000 -0700
-+++ nzbget.cpp	2008-10-02 16:57:26.000000000 -0700
-@@ -41,7 +41,9 @@
- #include <pwd.h>
- #include <grp.h>
- #include <sys/resource.h>
-+#ifndef __FreeBSD__
- #include <sys/prctl.h>
-+#endif
- #include <signal.h>
- #endif
- #include <sys/types.h>
-@@ -82,7 +84,9 @@
- void InstallSignalHandlers();
- void Daemonize();
- void PrintBacktrace();
-+#ifndef __FreeBSD__
- void EnableDumpCore();
-+#endif
- #ifdef DEBUG
- void MakeSegFault();
- #endif
-@@ -170,11 +174,13 @@
- 	}
- 
- #ifndef WIN32
-+#ifndef __FreeBSD__
- 	if (g_pOptions->GetDumpCore())
- 	{
- 		EnableDumpCore();
- 	}
- #endif
-+#endif
- 
- 	Run();
- 
-@@ -518,6 +524,7 @@
- }
- #endif
- 
-+#ifndef __FreeBSD__
- /**
- * activates the creation of core-files
- */
-@@ -530,6 +537,8 @@
- 	prctl(PR_SET_DUMPABLE, 1);
- }
- #endif
-+#endif
-+
- 
- void Cleanup()
- {


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200904150033.n3F0XINC081297>