From a298d11f29a24167627189f863d721ef564f6739 Mon Sep 17 00:00:00 2001 From: sthen Date: Tue, 15 Mar 2016 23:18:42 +0000 Subject: [PATCH] Remove cqcam, it's software for ancient parallel-port QuickCam webcams, is i386-only, setuid-root and uses iopl. "As the author of the port 14 years ago, I'm fine with it being deleted" jcs@ --- graphics/cqcam/Makefile | 43 -------------------- graphics/cqcam/distinfo | 2 - graphics/cqcam/patches/patch-Makefile_in | 22 ---------- graphics/cqcam/patches/patch-configure | 41 ------------------- graphics/cqcam/patches/patch-libcqcam-port_C | 12 ------ graphics/cqcam/pkg/DESCR | 4 -- graphics/cqcam/pkg/MESSAGE | 5 --- graphics/cqcam/pkg/PLIST | 18 -------- 8 files changed, 147 deletions(-) delete mode 100644 graphics/cqcam/Makefile delete mode 100644 graphics/cqcam/distinfo delete mode 100644 graphics/cqcam/patches/patch-Makefile_in delete mode 100644 graphics/cqcam/patches/patch-configure delete mode 100644 graphics/cqcam/patches/patch-libcqcam-port_C delete mode 100644 graphics/cqcam/pkg/DESCR delete mode 100644 graphics/cqcam/pkg/MESSAGE delete mode 100644 graphics/cqcam/pkg/PLIST diff --git a/graphics/cqcam/Makefile b/graphics/cqcam/Makefile deleted file mode 100644 index 13ef4b13409..00000000000 --- a/graphics/cqcam/Makefile +++ /dev/null @@ -1,43 +0,0 @@ -# $OpenBSD: Makefile,v 1.25 2015/04/09 14:58:28 naddy Exp $ - -ONLY_FOR_ARCHS= i386 - -COMMENT= color QuickCam control program - -DISTNAME= cqcam-0.91 -REVISION= 7 -CATEGORIES= graphics - -# GPLv2 -PERMIT_PACKAGE_CDROM= Yes - -WANTLIB= c m stdc++ jpeg>=62 - -HOMEPAGE= http://piki.org/patrick/cqcam/ -MASTER_SITES= ${HOMEPAGE} - -LIB_DEPENDS= graphics/jpeg - -CONFIGURE_STYLE= gnu dest -# asm uses %ebx, conflict with PIE -CONFIGURE_ARGS= --disable-asm \ - --enable-jpeg \ - --without-xview - -CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib" -MAKE_FLAGS= CLIENTS="cli webcam" - -NO_TEST= Yes - -post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/cqcam - ${INSTALL_DATA} ${WRKSRC}/docs/README.webcam \ - ${PREFIX}/share/doc/cqcam/README.webcam - ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/cqcam - ${INSTALL_DATA} ${WRKSRC}/.cqcrc \ - ${PREFIX}/share/examples/cqcam/dot.cqcrc - ${INSTALL_DATA} ${WRKSRC}/webcam/nph-webcam \ - ${PREFIX}/share/examples/cqcam/nph-webcam - -.include diff --git a/graphics/cqcam/distinfo b/graphics/cqcam/distinfo deleted file mode 100644 index d8d5764d336..00000000000 --- a/graphics/cqcam/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (cqcam-0.91.tar.gz) = dBoltOLxB8v5wwP9Bc09n0MifR7lGokVgczkqA0bCR0= -SIZE (cqcam-0.91.tar.gz) = 121252 diff --git a/graphics/cqcam/patches/patch-Makefile_in b/graphics/cqcam/patches/patch-Makefile_in deleted file mode 100644 index 0a2f62113aa..00000000000 --- a/graphics/cqcam/patches/patch-Makefile_in +++ /dev/null @@ -1,22 +0,0 @@ -$OpenBSD: patch-Makefile_in,v 1.3 2010/03/23 19:42:57 jasper Exp $ ---- Makefile.in.orig Wed Aug 23 20:21:16 2000 -+++ Makefile.in Tue Mar 23 16:23:55 2010 -@@ -21,10 +21,6 @@ subdirs: - done - - install: bininstall maninstall -- @echo;\ -- echo "You will probably want to copy \".cqcrc\" to your home directory";\ -- echo "and edit it for your system. Please read INSTALL if you are";\ -- echo "interested in installing webcam support." - - bininstall: all - set -e;\ -@@ -35,7 +31,6 @@ bininstall: all - done - - maninstall: docs/cqcam.1 -- @echo -n Installing man pages... - @$(MANINSTALL) -o root -g @bingroup@ -m 644 docs/cqcam.1 $(mandir)/man1 - @mkdir -p $(mandir)/man1 - @echo ".so man1/cqcam.1" > $(mandir)/man1/xcqcam.1 diff --git a/graphics/cqcam/patches/patch-configure b/graphics/cqcam/patches/patch-configure deleted file mode 100644 index 8fb911c013d..00000000000 --- a/graphics/cqcam/patches/patch-configure +++ /dev/null @@ -1,41 +0,0 @@ -$OpenBSD: patch-configure,v 1.2 2010/03/23 19:42:57 jasper Exp $ ---- configure.orig Wed Jul 11 22:58:54 2001 -+++ configure Tue Mar 23 16:25:08 2010 -@@ -1659,7 +1659,7 @@ if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set - echo $ac_n "(cached) $ac_c" 1>&6 - else - ac_save_LIBS="$LIBS" --LIBS="-ltk -ltcl -ldl -L$x_libraries -lX11 $LIBS" -+LIBS="-ltk83 -ltcl83 -L$x_libraries -lX11 $LIBS" - cat > conftest.$ac_ext <&6 -- REMOTE_OBJS='xqcctl-tk.o' ; REMOTE_LIBS='-ltk -ltcl -lXext -lX11 -ldl -lm' ; REMOTE_CFLAGS='-DREMOTE' -+ REMOTE_OBJS='xqcctl-tk.o' ; REMOTE_LIBS='-ltk83 -ltcl83 -lXext -lX11 -lm' ; REMOTE_CFLAGS='-DREMOTE' - else - echo "$ac_t""no" 1>&6 - echo "configure: warning: *** xcqcam will be built without the control panel ***" 1>&2 ; -@@ -1746,7 +1746,7 @@ fi - - echo $ac_n "checking GTK+ version""... $ac_c" 1>&6 - echo "configure:1749: checking GTK+ version" >&5 -- GTKV=`$gtkbin""gtk-config --version` -+ GTKV=`false` - echo "$ac_t""$GTKV" 1>&6 - case "$GTKV" in - 1.0.*) -@@ -1952,8 +1952,8 @@ case "$host_os" in - OS_LIBCQCAM_OBJS='' - ;; - openbsd*) -- OS_CFLAGS='-O2 -DOPENBSD' -- OS_LDFLAGS='-L/usr/local/lib' -+ OS_CFLAGS="${CFLAGS}"' -DOPENBSD -I${LOCALBASE}/include' -+ OS_LDFLAGS='-L${LOCALBASE}/lib' - OS_LIBCQCAM_OBJS='' - OS_LIBS='-li386' - ;; diff --git a/graphics/cqcam/patches/patch-libcqcam-port_C b/graphics/cqcam/patches/patch-libcqcam-port_C deleted file mode 100644 index bb3b470d736..00000000000 --- a/graphics/cqcam/patches/patch-libcqcam-port_C +++ /dev/null @@ -1,12 +0,0 @@ -$OpenBSD: patch-libcqcam-port_C,v 1.2 2001/08/28 00:06:29 jcs Exp $ ---- libcqcam/port.C.orig Sun Apr 29 20:26:13 2001 -+++ libcqcam/port.C Sun Apr 29 20:27:10 2001 -@@ -51,6 +51,8 @@ - #include - #elif defined(OPENBSD) - #include -+#include -+#include - #elif defined(LYNX) - #include "lynx-io.h" - #elif defined(SOLARIS) diff --git a/graphics/cqcam/pkg/DESCR b/graphics/cqcam/pkg/DESCR deleted file mode 100644 index 00a273c3bd3..00000000000 --- a/graphics/cqcam/pkg/DESCR +++ /dev/null @@ -1,4 +0,0 @@ -cqcam supports the color QuickCam and Color QuickCam 2. It does not -support black and white QuickCams, the QuickClip, the QuickCam VC, the -QuickCam Home, the QuickCam Express, the QuickCam Pro, or the QuickCam -Web. diff --git a/graphics/cqcam/pkg/MESSAGE b/graphics/cqcam/pkg/MESSAGE deleted file mode 100644 index 0a8f695624b..00000000000 --- a/graphics/cqcam/pkg/MESSAGE +++ /dev/null @@ -1,5 +0,0 @@ -You will probably want to copy - ${PREFIX}/share/examples/cqcam/dot.cqcrc -to ~/.cqcrc and edit it to your liking. Please read - ${PREFIX}/share/doc/cqcam/README.webcam -if you are interested in installing webcam support. diff --git a/graphics/cqcam/pkg/PLIST b/graphics/cqcam/pkg/PLIST deleted file mode 100644 index d3dd207c89b..00000000000 --- a/graphics/cqcam/pkg/PLIST +++ /dev/null @@ -1,18 +0,0 @@ -@comment $OpenBSD: PLIST,v 1.6 2014/12/12 19:44:45 naddy Exp $ -@conflict xawtv-* -@pkgpath graphics/cqcam,no_x11 -@mode u+s -@owner root -@bin bin/cqcam -bin/movify -@bin bin/webcam -@mode -@owner -@man man/man1/cqcam.1 -@man man/man1/webcam.1 -@comment @man man/man1/xcqcam.1 -share/doc/cqcam/ -share/doc/cqcam/README.webcam -share/examples/cqcam/ -share/examples/cqcam/dot.cqcrc -share/examples/cqcam/nph-webcam