diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2008-10-16 21:06:46 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2008-10-16 21:06:46 +0800 |
commit | d2d57f0e9dabca563dffcab533728c3a2c3d85e4 (patch) | |
tree | 8bb7f06205249a346beaac267d6c650e0c76ef86 /news/nzbget/files | |
parent | 7c64d0f239f540a310ecd9f06e137dbc2d131873 (diff) | |
download | freebsd-ports-gnome-d2d57f0e9dabca563dffcab533728c3a2c3d85e4.tar.gz freebsd-ports-gnome-d2d57f0e9dabca563dffcab533728c3a2c3d85e4.tar.zst freebsd-ports-gnome-d2d57f0e9dabca563dffcab533728c3a2c3d85e4.zip |
- Update to 0.5.1
- Add some patches to disable Linux-specific functionality
PR: 128106
Submitted by: Jeff Burchell <toxic at doobie dot com> (maintainer)
Diffstat (limited to 'news/nzbget/files')
-rw-r--r-- | news/nzbget/files/patch-ChangeLog | 10 | ||||
-rw-r--r-- | news/nzbget/files/patch-configure | 9 | ||||
-rw-r--r-- | news/nzbget/files/patch-nzbget.conf.example | 16 | ||||
-rw-r--r-- | news/nzbget/files/patch-nzbget.cpp | 53 |
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() + { |