summaryrefslogtreecommitdiff
path: root/emulators/pipelight
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/pipelight')
-rw-r--r--emulators/pipelight/Makefile71
-rw-r--r--emulators/pipelight/distinfo6
-rw-r--r--emulators/pipelight/files/patch-src_linux_libpipelight_configloader.c17
-rw-r--r--emulators/pipelight/files/pipelight-mkufs.in97
-rw-r--r--emulators/pipelight/pkg-descr5
-rw-r--r--emulators/pipelight/pkg-message24
-rw-r--r--emulators/pipelight/pkg-plist45
7 files changed, 0 insertions, 265 deletions
diff --git a/emulators/pipelight/Makefile b/emulators/pipelight/Makefile
deleted file mode 100644
index f1b8e7de6109..000000000000
--- a/emulators/pipelight/Makefile
+++ /dev/null
@@ -1,71 +0,0 @@
-# Created by: Kris Moore <kmoore@FreeBSD.org>
-# $FreeBSD$
-
-PORTNAME= pipelight
-PORTVERSION= 0.2.8.2
-PORTREVISION= 9
-CATEGORIES= emulators
-MASTER_SITES= https://bitbucket.org/mmueller2012/pipelight/get/ \
- http://repos.fds-team.de/pluginloader/v${DISTVERSION}/:plg
-DISTNAME= v${DISTVERSION}
-DISTFILES= ${DISTNAME}${EXTRACT_SUFX} pluginloader.tar.gz:plg pluginloader.tar.gz.sig:plg
-DIST_SUBDIR= pipelight
-EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= Wrapper for using windows plugins in web browsers
-
-LICENSE= LGPL21
-LICENSE_FILE= ${WRKSRC}/LICENSE
-
-BROKEN= unfetchable
-DEPRECATED= Unfetchable, unmaintained
-EXPIRATION_DATE= 2019-10-16
-
-BUILD_DEPENDS= ${LOCALBASE}/bin/gpg2:security/gnupg \
- ${LOCALBASE}/bin/bash:shells/bash
-LIB_DEPENDS= libxml2.so:textproc/libxml2
-RUN_DEPENDS= ${LOCALBASE}/bin/bash:shells/bash \
- ${LOCALBASE}/bin/wget:ftp/wget \
- ${LOCALBASE}/bin/zenity:x11/zenity \
- ${LOCALBASE}/bin/cabextract:archivers/cabextract \
- ${LOCALBASE}/bin/flock:sysutils/flock \
- ${LOCALBASE}/bin/gpg2:security/gnupg
-
-WRKSRC= ${WRKDIR}/mmueller2012-pipelight-792e7a4885a6
-USES= compiler:c++11-lib gmake localbase:ldflags shebangfix
-GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --verbose --wine-path=${LOCALBASE}/bin/wine --win32-prebuilt \
- --win64-prebuilt --moz-plugin-path=${LOCALBASE}/lib/browser_plugins \
- --cxx=${CXX} --bash-interp=${LOCALBASE}/bin/bash \
- --gpg-exec=${LOCALBASE}/bin/gpg2
-SHEBANG_FILES= configure \
- share/install-dependency
-USE_XORG= x11
-MAKE_JOBS_UNSAFE=yes
-USE_LDCONFIG= yes
-
-SUB_FILES= pipelight-mkufs
-
-.include <bsd.port.pre.mk>
-
-.if ${ARCH} == "i386"
-BUILD_DEPENDS+= ${LOCALBASE}/bin/wine:emulators/wine
-RUN_DEPENDS+= ${LOCALBASE}/bin/wine:emulators/wine
-.elif ${ARCH} == "amd64"
-BUILD_DEPENDS+= ${LOCALBASE}/bin/wine:emulators/i386-wine
-RUN_DEPENDS+= ${LOCALBASE}/bin/wine:emulators/i386-wine
-.endif
-
-pre-configure:
- @${LN} -s ${DISTDIR}/${DIST_SUBDIR}/pluginloader.tar.gz \
- ${WRKSRC}/pluginloader-v${DISTVERSION}.tar.gz
- @${LN} -s ${DISTDIR}/${DIST_SUBDIR}/pluginloader.tar.gz.sig \
- ${WRKSRC}/pluginloader-v${DISTVERSION}.tar.gz.sig
- @${MKDIR} ${WRKDIR}/.gnupg
-
-post-install:
- ${INSTALL_SCRIPT} ${WRKDIR}/pipelight-mkufs ${STAGEDIR}${PREFIX}/bin/
- @${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/pipelight/libpipelight.so
-
-.include <bsd.port.post.mk>
diff --git a/emulators/pipelight/distinfo b/emulators/pipelight/distinfo
deleted file mode 100644
index 110ce873531e..000000000000
--- a/emulators/pipelight/distinfo
+++ /dev/null
@@ -1,6 +0,0 @@
-SHA256 (pipelight/v0.2.8.2.tar.gz) = 13ca5fb18cd68f63137a0dded5a4d0811aa78b033918a3331953903ced34decf
-SIZE (pipelight/v0.2.8.2.tar.gz) = 153877
-SHA256 (pipelight/pluginloader.tar.gz) = 1a2c2a94c171152545b1b86d48392d2179ab2339826f5bd8fda81a3094c6174b
-SIZE (pipelight/pluginloader.tar.gz) = 1107980
-SHA256 (pipelight/pluginloader.tar.gz.sig) = e00c657ba0a7351e08dd66e91ba3f2125c50b4e66af7a66ca1881a4038453e9c
-SIZE (pipelight/pluginloader.tar.gz.sig) = 543
diff --git a/emulators/pipelight/files/patch-src_linux_libpipelight_configloader.c b/emulators/pipelight/files/patch-src_linux_libpipelight_configloader.c
deleted file mode 100644
index 822452113622..000000000000
--- a/emulators/pipelight/files/patch-src_linux_libpipelight_configloader.c
+++ /dev/null
@@ -1,17 +0,0 @@
---- src/linux/libpipelight/configloader.c.orig 2015-01-11 04:48:05 UTC
-+++ src/linux/libpipelight/configloader.c
-@@ -46,6 +46,7 @@
- #include <string> // for std::string
- #include <map> // for std::map
- #include <dlfcn.h>
-+#include <errno.h>
-
- #include "common/common.h"
- #include "configloader.h"
-@@ -663,4 +664,4 @@ bool loadPluginInformation(){
- err:
- fclose(file);
- return false;
--}
-\ No newline at end of file
-+}
diff --git a/emulators/pipelight/files/pipelight-mkufs.in b/emulators/pipelight/files/pipelight-mkufs.in
deleted file mode 100644
index 24ee77d99526..000000000000
--- a/emulators/pipelight/files/pipelight-mkufs.in
+++ /dev/null
@@ -1,97 +0,0 @@
-#!/bin/sh
-# Helper script for ZFS users that want to view DRM protected content
-# with pipelight
-# Author: Kris Moore <kris@pcbsd.org>
-# License: BSD
-
-destroy_old()
-{
- umount ${userhome}/.wine-pipelight
- zfs destroy ${zpool}/$username-pipelight
- cat /etc/fstab | grep -v "$zpool/$username-pipelight " > /etc/fstab.new
- mv /etc/fstab.new /etc/fstab
-}
-
-if [ -z "$1" ] ; then
- echo "Create UFS formatted ZVOL:
-${0} <username>
-
-Remove UFS formatted ZVOL:
-${0} --remove <username>"
- exit 1
-fi
-
-doDestroy=0
-if [ "$1" = '--remove' ] ; then
- doDestroy=1
- username="$2"
-else
- username="$1"
-fi
-
-# Get users HOME
-userhome=`cat /etc/passwd | grep "^$username:" | cut -d ':' -f 6`
-if [ -z "$userhome" ] ; then
- echo "No such user: $userhome"
- exit 1
-fi
-if [ ! -d "$userhome" ] ; then
- echo "No such home directory: $userhome"
- exit 1
-fi
-
-zpool=`mount | grep 'on / ' | awk '{print $1}' | cut -d '/' -f 1`
-if [ -z "$zpool" ] ; then
- echo "Unable to detect zpool!"
- exit 1
-fi
-
-# If the user wants to remove the zvol
-if [ $doDestroy -eq 1 ] ; then
- destroy_old
- exit 0
-fi
-
-# Running this on a user which already has the file-system, lets remove it first
-zfs list ${zpool}/$username-pipelight >/dev/null 2>/dev/null
-if [ $? -eq 0 ] ; then
- echo "Removing old UFS ZVOL"
- destroy_old
-fi
-
-# Create the ZVOL
-zfs create -V 400M $zpool/$username-pipelight
-if [ $? -ne 0 ] ; then
- echo "Failed creating ZVOL"
- exit 1
-fi
-
-# Format it with UFS
-newfs -U /dev/zvol/$zpool/$username-pipelight
-if [ $? -ne 0 ] ; then
- echo "Failed formatting ZVOL"
- exit 1
-fi
-
-# Create the directory
-if [ ! -d "${userhome}/.wine-pipelight" ] ; then
- mkdir ${userhome}/.wine-pipelight
-fi
-
-# Mount the directory
-mount /dev/zvol/$zpool/$username-pipelight ${userhome}/.wine-pipelight
-if [ $? -ne 0 ] ; then
- echo "Failed mounting ZVOL"
- exit 1
-fi
-
-# Get user group
-usergroup=`groups $username | cut -d " " -f 1`
-
-# Chown the directory
-chown $username:$usergroup ${userhome}/.wine-pipelight
-
-# Save to fstab
-echo "/dev/zvol/$zpool/$username-pipelight ${userhome}/.wine-pipelight ufs rw,late 0 0" >> /etc/fstab
-
-echo "ZVOL created and mounted to: ${userhome}/.wine-pipelight"
diff --git a/emulators/pipelight/pkg-descr b/emulators/pipelight/pkg-descr
deleted file mode 100644
index 3971ad8bb7ce..000000000000
--- a/emulators/pipelight/pkg-descr
+++ /dev/null
@@ -1,5 +0,0 @@
-Pipelight is a wrapper for using Windows plugins in FreeBSD browsers
-and therefore giving you the possibility to access services which
-are otherwise not available for FreeBSD users.
-
-WWW: http://www.pipelight.net/
diff --git a/emulators/pipelight/pkg-message b/emulators/pipelight/pkg-message
deleted file mode 100644
index 1e4443fa4241..000000000000
--- a/emulators/pipelight/pkg-message
+++ /dev/null
@@ -1,24 +0,0 @@
-[
-{ type: install
- message: <<EOM
-This port installs the Pipelight plugin wrapper for running Silverlight,
-Flash and others. Before enabling Pipelight for your users, run the
-following as root:
-
-# pipelight-plugin --create-mozilla-plugins
-
-NOTE:
-
-For users running with ZFS on root, watching DRM protected content
-requires extensive xattr support. If you run into issues with DRM failing,
-you can use the "pipelight-mkufs" command to create a UFS formatted ZVOL
-mounted on your users ~/.wine-pipelight directory.
-
-To create the UFS filesystem
-# pipelight-mkufs <username>
-
-To remove the UFS filesystem
-# pipelight-mkufs --delete <username>
-EOM
-}
-]
diff --git a/emulators/pipelight/pkg-plist b/emulators/pipelight/pkg-plist
deleted file mode 100644
index 7657cccebdab..000000000000
--- a/emulators/pipelight/pkg-plist
+++ /dev/null
@@ -1,45 +0,0 @@
-bin/pipelight-plugin
-bin/pipelight-mkufs
-lib/pipelight/libpipelight.so
-man/man1/pipelight-plugin.1.gz
-%%DATADIR%%/configs/pipelight-adobereader
-%%DATADIR%%/configs/pipelight-flash
-%%DATADIR%%/configs/pipelight-foxitpdf
-%%DATADIR%%/configs/pipelight-grandstream
-%%DATADIR%%/configs/pipelight-hikvision
-%%DATADIR%%/configs/pipelight-npactivex
-%%DATADIR%%/configs/pipelight-roblox
-%%DATADIR%%/configs/pipelight-shockwave
-%%DATADIR%%/configs/pipelight-silverlight4
-%%DATADIR%%/configs/pipelight-silverlight5.0
-%%DATADIR%%/configs/pipelight-silverlight5.1
-%%DATADIR%%/configs/pipelight-unity3d
-%%DATADIR%%/configs/pipelight-viewright-caiway
-%%DATADIR%%/configs/pipelight-vizzedrgr
-%%DATADIR%%/configs/pipelight-widevine
-%%DATADIR%%/configs/pipelight-x64-flash
-%%DATADIR%%/configs/pipelight-x64-unity3d
-%%DATADIR%%/install-dependency
-%%DATADIR%%/licenses/license-adobereader.txt
-%%DATADIR%%/licenses/license-flash.txt
-%%DATADIR%%/licenses/license-foxitpdf.txt
-%%DATADIR%%/licenses/license-grandstream.txt
-%%DATADIR%%/licenses/license-hikvision.txt
-%%DATADIR%%/licenses/license-mpg2splt.txt
-%%DATADIR%%/licenses/license-mspatcha.txt
-%%DATADIR%%/licenses/license-roblox.txt
-%%DATADIR%%/licenses/license-shockwave.txt
-%%DATADIR%%/licenses/license-silverlight4.txt
-%%DATADIR%%/licenses/license-silverlight5.0.txt
-%%DATADIR%%/licenses/license-silverlight5.1.txt
-%%DATADIR%%/licenses/license-unity3d.txt
-%%DATADIR%%/licenses/license-viewright-caiway.txt
-%%DATADIR%%/licenses/license-widevine.txt
-%%DATADIR%%/licenses/license-wininet.txt
-%%DATADIR%%/pluginloader.exe
-%%DATADIR%%/scripts/configure-flash
-%%DATADIR%%/scripts/configure-silverlight
-%%DATADIR%%/sig-install-dependency.gpg
-%%DATADIR%%/wine
-%%DATADIR%%/winecheck.exe
-@dir lib/browser_plugins