ports/155252: Update mozplugger to 1.14.3
Rusty Nejdl
rnejdl at ringofsaturn.com
Fri Mar 4 06:00:36 UTC 2011
>Number: 155252
>Category: ports
>Synopsis: Update mozplugger to 1.14.3
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri Mar 04 06:00:35 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Rusty Nejdl
>Release: FreeBSD 8.2-STABLE amd64
>Organization:
>Environment:
System: FreeBSD tethys.ringofsaturn.com 8.2-STABLE FreeBSD 8.2-STABLE #1: Sun Feb 27 14:44:37 CST 2011 root at tethys.ringofsaturn.com:/usr/obj/usr/src/sys/SATURN amd64
>Description:
Use patch to update port
>How-To-Repeat:
Use patch to update port
>Fix:
--- mozplugger.diff begins here ---
diff -ruN mozplugger/Makefile mozplugger.new/Makefile
--- mozplugger/Makefile 2010-09-20 10:20:42.000000000 -0500
+++ mozplugger.new/Makefile 2011-03-03 16:29:38.000000000 -0600
@@ -6,7 +6,7 @@
#
PORTNAME= mozplugger
-PORTVERSION= 1.14.2
+PORTVERSION= 1.14.3
CATEGORIES= www
MASTER_SITES= http://mozplugger.mozdev.org/files/
diff -ruN mozplugger/distinfo mozplugger.new/distinfo
--- mozplugger/distinfo 2010-09-20 10:20:42.000000000 -0500
+++ mozplugger.new/distinfo 2011-03-03 16:29:59.000000000 -0600
@@ -1,3 +1,2 @@
-MD5 (mozplugger-1.14.2.tar.gz) = 76c4e2cdf14e41b6df1d60bd1a2f249d
-SHA256 (mozplugger-1.14.2.tar.gz) = ee768a2c04898da9525200f601ec1f1adeeb5116a0adecded0db6796ecc07b3d
-SIZE (mozplugger-1.14.2.tar.gz) = 93406
+SHA256 (mozplugger-1.14.3.tar.gz) = 2d56f0b224768276b9872499002cfed402ef86ef5c43af70e3466d8aece232f1
+SIZE (mozplugger-1.14.3.tar.gz) = 135099
diff -ruN mozplugger/files/patch-Makefile mozplugger.new/files/patch-Makefile
--- mozplugger/files/patch-Makefile 2009-08-28 09:49:27.000000000 -0500
+++ mozplugger.new/files/patch-Makefile 2011-03-03 16:37:44.000000000 -0600
@@ -1,5 +1,5 @@
---- Makefile.orig 2009-08-23 15:36:38.000000000 -0300
-+++ Makefile 2009-08-23 15:49:33.000000000 -0300
+--- Makefile.orig 2011-03-03 16:30:54.000000000 -0600
++++ Makefile 2011-03-03 16:37:18.000000000 -0600
@@ -1,5 +1,5 @@
# Where is your Xwindows located?
-X11=/usr/X11R6
@@ -7,16 +7,18 @@
#
# For building rpms
-@@ -7,7 +7,7 @@
+@@ -7,8 +7,8 @@
#
# For installing
-prefix=/usr
+-sysconfdir=/etc
+prefix=${PREFIX}
++sysconfdir=${prefix}/etc
+ exec_prefix=
# On 64 bit arch change libprefix to lib64
- libprefix=/lib
-@@ -18,7 +18,7 @@
+@@ -20,7 +20,7 @@
RPMDIR=/usr/src/RPM
# Choose compiler
@@ -25,7 +27,7 @@
LD=gcc
BINFORMAT=bin
-@@ -71,10 +71,10 @@
+@@ -74,10 +74,10 @@
${MAKE} all CC=cc LD=ld XLDFLAGS='-expect_unresolved "*" -shared -msym -O3'
freebsd-aout:
@@ -38,33 +40,31 @@
openbsd:
${MAKE} all CC=gcc XCFLAGS=-fPIC LD=gcc XLDFLAGS=-shared X11=/usr/X11R6/
-@@ -119,7 +119,7 @@
+@@ -122,7 +122,7 @@
mozplugger-controller \
mozplugger-linker
--DEFINES= -DXP_UNIX -DVERSION=\"$(VERSION)\" -D$(BUILD) #-D__amd64__
-+DEFINES= -DXP_UNIX -DVERSION=\"$(VERSION)\" -DPREFIX=\"$(prefix)\" -D$(BUILD) #-D__amd64__
+-DEFINES= -DXP_UNIX -DVERSION=\"$(VERSION)\" -D$(BUILD) -DSYSCONFDIR=\"${sysconfdir}\" #-D__amd64__
++DEFINES= -DXP_UNIX -DVERSION=\"$(VERSION)\" -DPREFIX=\"$(prefix)\" -D$(BUILD) -DSYSCONFDIR=\"${sysconfdir}\" #-D__amd64__
INCLUDES= -Inpapi/include -I$(X11)/include
RPM_OPT_FLAGS ?= -O2
COMMON_CFLAGS=$(RPM_OPT_FLAGS) $(INCLUDES) $(DEFINES)
-@@ -190,15 +190,15 @@
+@@ -202,15 +202,15 @@
install:
- - at mkdir -p $(root)$(prefix)/bin
-- - at mkdir -p $(root)$(prefix)$(libprefix)/mozilla/plugins
-- - at mkdir -p $(root)$(prefix)/share/man/man7
-- - at mkdir -p $(root)/etc
+ - at mkdir -p $(exec_prefix)/bin
+- - at mkdir -p $(prefix)$(libprefix)/mozilla/plugins
+- - at mkdir -p $(exec_prefix)/share/man/man7
+ - at mkdir -p $(root)${WEBPLUGINS_DIR}
+ - at mkdir -p $(root)$(prefix)/man/man7
-+ - at mkdir -p $(root)${prefix}/etc
- cp mozplugger-helper $(root)$(prefix)/bin/
- cp mozplugger-controller $(root)$(prefix)/bin/
- cp mozplugger-linker $(root)$(prefix)/bin/
-- cp mozplugger.so $(root)$(prefix)$(libprefix)/mozilla/plugins/
-- cp mozpluggerrc $(root)/etc/
-- cp mozplugger.7 $(root)$(prefix)/share/man/man7/
+ - at mkdir -p ${sysconfdir}
+ cp mozplugger-helper $(exec_prefix)/bin/
+ cp mozplugger-controller $(exec_prefix)/bin/
+ cp mozplugger-linker $(exec_prefix)/bin/
+- cp mozplugger.so $(prefix)$(libprefix)/mozilla/plugins/
+ cp mozplugger.so $(root)${WEBPLUGINS_DIR}
-+ cp mozpluggerrc $(root)$(prefix)/etc/
+ cp mozpluggerrc ${sysconfdir}/
+- cp mozplugger.7 $(exec_prefix)/share/man/man7/
+ cp mozplugger.7 $(root)$(prefix)/man/man7/
mozplugger.tar.gz: $(BASE_FILES) $(SOURCE_FILES)
diff -ruN mozplugger/pkg-plist mozplugger.new/pkg-plist
--- mozplugger/pkg-plist 2009-01-09 20:45:44.000000000 -0600
+++ mozplugger.new/pkg-plist 2011-03-03 16:45:54.000000000 -0600
@@ -1,6 +1,3 @@
-bin/mozplugger-controller
-bin/mozplugger-helper
-bin/mozplugger-linker
etc/mozpluggerrc
%%WEBPLUGINS_DIR%%/mozplugger.so
@dirrmtry %%WEBPLUGINS_DIR%%
--- mozplugger.diff ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list