1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00

- Update to 1.4.2

This commit is contained in:
Nicola Vitale 2007-04-19 20:20:08 +00:00
parent e0cce1991b
commit e85c7a8487
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=190382
4 changed files with 10 additions and 48 deletions

View File

@ -6,8 +6,8 @@
#
PORTNAME= tunapie
PORTVERSION= 1.4.1
PORTREVISION= 1
PORTVERSION= 1.4.2
#PORTREVISION= 0
CATEGORIES= multimedia audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}

View File

@ -1,3 +1,3 @@
MD5 (tunapie-1.4.1.tar.gz) = 99a0b7c77a43782a381de4fb14c17596
SHA256 (tunapie-1.4.1.tar.gz) = 3eff5dd91ec171a6e2895abae83024a4abfe3c104fb412b801878ab3e559dbb9
SIZE (tunapie-1.4.1.tar.gz) = 40644
MD5 (tunapie-1.4.2.tar.gz) = 0a5e344269ab3ef26ba56fa4c44fe7af
SHA256 (tunapie-1.4.2.tar.gz) = c3dab8b884eaf9874fde2dcaf79e1d3a084535f777bebe55e47b19b7e82e0b60
SIZE (tunapie-1.4.2.tar.gz) = 40782

View File

@ -1,3 +1,4 @@
$FreeBSD$
--- install.sh Tue Apr 10 23:54:02 2007
+++ install.sh.port Wed Apr 11 09:15:43 2007
@@ -1,14 +1,12 @@

View File

@ -1,46 +1,7 @@
--- src/tuner.py Wed Apr 11 00:20:17 2007
+++ src/tuner.py.port Tue Apr 17 14:57:55 2007
@@ -14,7 +14,7 @@
#along with this program; if not, write to the Free Software
#Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
#
-#Version 0.3.19 08/04/07
+#Version 0.3.20 11/04/07
import urllib
import popen2
@@ -29,9 +29,12 @@
import time
def pkill(program):
+ flag=""
rip = program
me = commands.getoutput("whoami")
- p = commands.getoutput("ps -u %s -o comm -o pid" % me)
+ if sys.platform.find("linux")==-1:
+ flag="-"
+ p = commands.getoutput("ps "+flag+"U "+me+" "+flag+"o pid "+flag+"o command")
ids = p.split("\n")
found=0
firstrun=1
@@ -44,10 +47,13 @@
else:
found=1
firstrun=0
- regex = re.compile(r'(\d+).*',re.I)
- id = regex.sub(r'\1', id)
+ id=id.split(" ")
+ try:
+ id=str(int(id[0]))
+ except:
+ id=str(int(id[1]))
commands.getoutput("kill -15 %s" % id)
- if commands.getoutput("ps -u %s -o fname -o pid" % me).find(id) > -1:
+ if commands.getoutput("ps "+flag+"U "+me+" "+flag+"o pid "+flag+"o command").find(id) > -1:
commands.getoutput("kill -9 %s" % id)
return found
@@ -290,7 +296,7 @@
$FreeBSD$
--- src/tuner.py Sun Apr 15 13:04:12 2007
+++ src/tuner.py.port Wed Apr 18 23:23:51 2007
@@ -296,7 +296,7 @@
popen2.Popen4(browser+' '+url)
def adultset():