diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2008-10-16 13:06:46 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2008-10-16 13:06:46 +0000 |
commit | 57f30b927343083a89b54439a7c75074775fd44a (patch) | |
tree | ef9f50251546c94db2c2f9e853178676bb98cd7b /news/nzbget | |
parent | aa535013fa5ddd2388118fbf6274ecea9f326d2e (diff) | |
download | ports-57f30b927343083a89b54439a7c75074775fd44a.tar.gz ports-57f30b927343083a89b54439a7c75074775fd44a.zip |
Notes
Diffstat (limited to 'news/nzbget')
-rw-r--r-- | news/nzbget/Makefile | 8 | ||||
-rw-r--r-- | news/nzbget/distinfo | 6 | ||||
-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 |
6 files changed, 89 insertions, 13 deletions
diff --git a/news/nzbget/Makefile b/news/nzbget/Makefile index e96022712036..7299bf064490 100644 --- a/news/nzbget/Makefile +++ b/news/nzbget/Makefile @@ -6,7 +6,7 @@ # PORTNAME= nzbget -PORTVERSION= 0.4.1 +PORTVERSION= 0.5.1 CATEGORIES= news MASTER_SITES= SF @@ -24,7 +24,7 @@ USE_GMAKE= yes OPTIONS= PARCHECK "Enable autopar/parcheck (Requires libpar2)" On -PLIST_FILES= bin/nzbget etc/nzbget.conf.example +PLIST_FILES= bin/nzbget PORTDOCS= README PORTEXAMPLES= nzbget.conf.example @@ -37,9 +37,7 @@ CONFIGURE_ARGS+= --enable-parcheck LIB_DEPENDS+= par2:${PORTSDIR}/archivers/libpar2 .endif -do-install: - @${INSTALL_DATA} ${WRKSRC}/nzbget.conf.example ${PREFIX}/etc - @${INSTALL_DATA} ${WRKSRC}/nzbget ${PREFIX}/bin +post-install: .if !defined(NOPORTDOCS) ${MKDIR} ${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR} diff --git a/news/nzbget/distinfo b/news/nzbget/distinfo index d39b4514f1d2..c47e23e2e0c3 100644 --- a/news/nzbget/distinfo +++ b/news/nzbget/distinfo @@ -1,3 +1,3 @@ -MD5 (nzbget-0.4.1.tar.gz) = 08803146d2ffc4792cc0f12cdbf03da0 -SHA256 (nzbget-0.4.1.tar.gz) = aae9e1b9b0eb7f4f6418a1e0e516c583fab43d37e6ecc1ffc4f729bdd7e4c69e -SIZE (nzbget-0.4.1.tar.gz) = 251338 +MD5 (nzbget-0.5.1.tar.gz) = 3ff7cb297bbe0fd3aa378343849d85f1 +SHA256 (nzbget-0.5.1.tar.gz) = 48af705afa1cb429562e1b9e27f854e60de62f3c4ef3775229051f82be9f57ff +SIZE (nzbget-0.5.1.tar.gz) = 278007 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() + { |