From 3f05fc4f46aace751b13ce253365e28707102c73 Mon Sep 17 00:00:00 2001 From: "Philip M. Gollucci" Date: Tue, 19 Oct 2010 05:56:15 +0000 Subject: - Regenerate patches at maintainer/submitter request to be by function name instead of file name. PR: ports/151339 Requested by swell.k@gmail.com (maintainer) --- www/py-rssdler/Makefile | 2 +- www/py-rssdler/files/patch-_main | 12 ++++++++++++ www/py-rssdler/files/patch-main | 14 ++++++++++++++ www/py-rssdler/files/patch-rssdler.py | 10 ---------- 4 files changed, 27 insertions(+), 11 deletions(-) create mode 100644 www/py-rssdler/files/patch-_main create mode 100644 www/py-rssdler/files/patch-main delete mode 100644 www/py-rssdler/files/patch-rssdler.py (limited to 'www/py-rssdler') diff --git a/www/py-rssdler/Makefile b/www/py-rssdler/Makefile index eff548290e60..29b70f1c62e1 100644 --- a/www/py-rssdler/Makefile +++ b/www/py-rssdler/Makefile @@ -7,7 +7,7 @@ PORTNAME= rssdler PORTVERSION= 0.4.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= www python MASTER_SITES= GOOGLE_CODE PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} diff --git a/www/py-rssdler/files/patch-_main b/www/py-rssdler/files/patch-_main new file mode 100644 index 000000000000..5f07dd60ab26 --- /dev/null +++ b/www/py-rssdler/files/patch-_main @@ -0,0 +1,12 @@ +Index: rssdler.py +=================================================================== +--- rssdler.py (revision 169) ++++ rssdler.py (working copy) +@@ -2180,6 +2180,7 @@ + elif param == "--purge-saved": _action = 'purge-saved' + elif param == "--comment-config": _action = 'comment-config' + signal.signal(signal.SIGINT, signalHandler) ++ signal.signal(signal.SIGTERM, signalHandler) + sys.excepthook = setDebug #this is NOT supposed to be called! + if _action == 'comment-config': + print(commentConfig) diff --git a/www/py-rssdler/files/patch-main b/www/py-rssdler/files/patch-main new file mode 100644 index 000000000000..d45b908b33a7 --- /dev/null +++ b/www/py-rssdler/files/patch-main @@ -0,0 +1,14 @@ +Index: rssdler.py +=================================================================== +--- rssdler.py (revision 169) ++++ rssdler.py (working copy) +@@ -2085,6 +2085,9 @@ + raise + if _runOnce: + logging.info( u"[Complete] %s" % time.asctime() ) ++ try: codecs.open(os.path.join(getConfig()['global']['workingDir'], ++ getConfig()['global']['daemonInfo']), 'w', 'utf-8').write('') ++ except IOError, m: pass + break + logging.info( u"[Sleeping] %s" % time.asctime() ) + checkSleep( getConfig()['global']['scanMins'] * 60 ) diff --git a/www/py-rssdler/files/patch-rssdler.py b/www/py-rssdler/files/patch-rssdler.py deleted file mode 100644 index aa94ab3cb40a..000000000000 --- a/www/py-rssdler/files/patch-rssdler.py +++ /dev/null @@ -1,10 +0,0 @@ ---- ./rssdler.py.orig 2010-10-10 03:58:44.112133159 +0000 -+++ ./rssdler.py 2010-10-10 03:59:10.937002223 +0000 -@@ -2180,6 +2180,7 @@ - elif param == "--purge-saved": _action = 'purge-saved' - elif param == "--comment-config": _action = 'comment-config' - signal.signal(signal.SIGINT, signalHandler) -+ signal.signal(signal.SIGTERM, signalHandler) - sys.excepthook = setDebug #this is NOT supposed to be called! - if _action == 'comment-config': - print(commentConfig) -- cgit v1.2.3