View | Details | Raw Unified | Return to bug 133737
Collapse All | Expand All

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

Return to bug 133737