Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 23 Feb 2013 19:16:57 -0600 (CST)
From:      Rusty Nejdl <rnejdl@ringofsaturn.com>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/176384: Update port www/mozplugger to latest 2.1.3
Message-ID:  <assp.1767d95948.201302240116.r1O1GvDA083321@tethys.ringofsaturn.com>
Resent-Message-ID: <201302240130.r1O1U02k057999@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         176384
>Category:       ports
>Synopsis:       Update port www/mozplugger to latest 2.1.3
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Feb 24 01:30:00 UTC 2013
>Closed-Date:
>Last-Modified:
>Originator:     Rusty Nejdl
>Release:        FreeBSD 9.1-STABLE amd64
>Organization:
>Environment:
System: FreeBSD tethys.ringofsaturn.com 9.1-STABLE FreeBSD 9.1-STABLE #0 r245164: Tue Jan 8 10:10:22 CST 2013 root@tethys.ringofsaturn.com:/usr/obj/usr/src/sys/SATURN amd64


>Description:
	After working through bugs with the developer, I am happy to report a working 2.x version of mozplugger.

>How-To-Repeat:
	Use patch to upgrade.
>Fix:


--- mozplugger-2.1.3.diff begins here ---
diff -ruN mozplugger/Makefile mozplugger.new/Makefile
--- mozplugger/Makefile	2012-11-17 08:24:46.000000000 -0600
+++ mozplugger.new/Makefile	2013-02-18 21:57:54.000000000 -0600
@@ -2,7 +2,7 @@
 # $FreeBSD: head/www/mozplugger/Makefile 305111 2012-10-01 12:03:48Z jhale $
 
 PORTNAME=	mozplugger
-PORTVERSION=	1.14.6
+PORTVERSION=	2.1.3
 CATEGORIES=	www
 MASTER_SITES=	http://mozplugger.mozdev.org/files/
 
@@ -11,6 +11,7 @@
 
 GNU_CONFIGURE=	yes
 USE_XORG=	x11 xt
+USE_GMAKE=	yes
 MAN7=		mozplugger.7
 SUB_FILES=	pkg-message
 
diff -ruN mozplugger/distinfo mozplugger.new/distinfo
--- mozplugger/distinfo	2012-11-17 08:24:46.000000000 -0600
+++ mozplugger.new/distinfo	2013-02-18 21:57:57.000000000 -0600
@@ -1,2 +1,2 @@
-SHA256 (mozplugger-1.14.6.tar.gz) = 3fd73b51d1c0b1c310cecac90155a86ef59c748dff677df542e39282ea7ecba7
-SIZE (mozplugger-1.14.6.tar.gz) = 140735
+SHA256 (mozplugger-2.1.3.tar.gz) = d19b6063d0aba87430e5ce2e3a4230807288eb45acec1d412009c7f530d8b30a
+SIZE (mozplugger-2.1.3.tar.gz) = 153715
diff -ruN mozplugger/files/patch-Makefile.in mozplugger.new/files/patch-Makefile.in
--- mozplugger/files/patch-Makefile.in	2013-02-01 11:19:23.000000000 -0600
+++ mozplugger.new/files/patch-Makefile.in	2013-02-23 16:48:20.000000000 -0600
@@ -1,44 +1,36 @@
---- Makefile.in.orig	2012-09-26 15:43:37.000000000 -0500
-+++ Makefile.in	2012-09-26 15:46:01.000000000 -0500
-@@ -22,7 +22,7 @@
+--- Makefile.in.orig	2013-02-23 16:46:10.000000000 -0600
++++ Makefile.in	2013-02-23 16:48:17.000000000 -0600
+@@ -37,7 +37,7 @@
  RPMDIR=/usr/src/RPM
  
- # Choose compiler
+ # Choose tool set
 -CC=@CC@
 +CC?=@CC@
- MKDIR=mkdir -p
- 
- SOURCE_FILES=mozplugger.c \
-@@ -161,21 +161,20 @@
+ LD=@CC@
+ MKDEP=@CC@ -MM
+ BIN2O=@BIN2O@
+@@ -267,12 +267,12 @@
  
  install:
- 	-@install -d @bindir@
--	-@install -d $(prefix)$(libprefix)/mozilla/plugins
-+	-@install -d $(root)${WEBPLUGINS_DIR}
- 	-@install -d @mandir@/man7
- 	-@install -d @sysconfdir@
- 	install mozplugger-helper     @bindir@
+ 	-install -d @bindir@
++	-install -d $(root)${WEBPLUGINS_DIR}
+ 	install mozplugger-helper @bindir@
  	install mozplugger-controller @bindir@
- 	install mozplugger-linker     @bindir@
+ 	install mozplugger-linker @bindir@
+ 	install mozplugger-update @bindir@
+-	-for a in ${PLUGINDIRS}; do install -d $$a ; done
 -	for a in ${PLUGINDIRS}; do install mozplugger.so $$a ; done
--#	cp mozplugger.so $(prefix)$(libprefix)/mozilla/plugins/
 +	cp mozplugger.so $(root)${WEBPLUGINS_DIR}
- 	install $(srcdir)/mozpluggerrc  @sysconfdir@
- 	install $(srcdir)/mozplugger.7  @mandir@/man7/
- 
+ 	-install -d @sysconfdir@
+ 	install $(srcdir)/mozpluggerrc @sysconfdir@
+ 	-install -d @mandir@/man7
+@@ -281,7 +281,8 @@
  uninstall:
- 	rm -f @mandir@/man7/mozplugger.7
- 	rm -f @sysconfdir@/mozpluggerrc
--	for target in ${PLUGINDIRS}; do rm -f $${target}/mozplugger.so; done
+ 	-rm -f @sysconfdir@/mozpluggerrc
+ 	-rmdir @sysconfdir@
+-	-for a in ${PLUGINDIRS}; do rm -f $$a/mozplugger.so ; done
++	rm -f $(root)${WEBPLUGINS_DIR}/mozplugger.so
 +	rm -f $(root)${WEBPLUGINS_DIR}/mozplugger.so
- 	rm -f @bindir@/mozplugger-linker
- 	rm -f @bindir@/mozplugger-controller
- 	rm -f @bindir@/mozplugger-helper
-@@ -183,6 +182,7 @@
+ 	-rm -f @mandir@/man7/mozplugger.7
  	-rmdir @mandir@/man7
  	-rmdir @mandir@
- 	-rmdir @bindir@
-+	-rmdir $(root)${WEBPLUGINS_DIR}
- 
- MOZ_PACKAGE=mozplugger-@PACKAGE_VERSION@
- 
--- mozplugger-2.1.3.diff ends here ---


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?assp.1767d95948.201302240116.r1O1GvDA083321>