aboutsummaryrefslogtreecommitdiff
path: root/news/nzbget/files
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2008-10-16 13:06:46 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2008-10-16 13:06:46 +0000
commit57f30b927343083a89b54439a7c75074775fd44a (patch)
treeef9f50251546c94db2c2f9e853178676bb98cd7b /news/nzbget/files
parentaa535013fa5ddd2388118fbf6274ecea9f326d2e (diff)
downloadports-57f30b927343083a89b54439a7c75074775fd44a.tar.gz
ports-57f30b927343083a89b54439a7c75074775fd44a.zip
Notes
Diffstat (limited to 'news/nzbget/files')
-rw-r--r--news/nzbget/files/patch-ChangeLog10
-rw-r--r--news/nzbget/files/patch-configure9
-rw-r--r--news/nzbget/files/patch-nzbget.conf.example16
-rw-r--r--news/nzbget/files/patch-nzbget.cpp53
4 files changed, 83 insertions, 5 deletions
diff --git a/news/nzbget/files/patch-ChangeLog b/news/nzbget/files/patch-ChangeLog
new file mode 100644
index 000000000000..2d17af7d1bc8
--- /dev/null
+++ b/news/nzbget/files/patch-ChangeLog
@@ -0,0 +1,10 @@
+--- 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 --git a/news/nzbget/files/patch-configure b/news/nzbget/files/patch-configure
index 94929759b9d5..626fac9b14fc 100644
--- a/news/nzbget/files/patch-configure
+++ b/news/nzbget/files/patch-configure
@@ -1,14 +1,13 @@
---- configure.old 2008-02-29 12:18:26.000000000 -0300
-+++ configure 2008-02-29 12:20:35.000000000 -0300
-@@ -2362,7 +2362,10 @@
- CPPFLAGS1="${CPPFLAGS} -D_GNU_SOURCE"
+--- 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}"
-+ PLATFORM="FreeBSD"
;;
*-solaris*)
LIBPREF1="/usr"
diff --git a/news/nzbget/files/patch-nzbget.conf.example b/news/nzbget/files/patch-nzbget.conf.example
new file mode 100644
index 000000000000..f461a99a314c
--- /dev/null
+++ b/news/nzbget/files/patch-nzbget.conf.example
@@ -0,0 +1,16 @@
+--- 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 --git a/news/nzbget/files/patch-nzbget.cpp b/news/nzbget/files/patch-nzbget.cpp
new file mode 100644
index 000000000000..b5e45be1d54a
--- /dev/null
+++ b/news/nzbget/files/patch-nzbget.cpp
@@ -0,0 +1,53 @@
+--- 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()
+ {