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@
This commit is contained in:
parent
01c202e90c
commit
a298d11f29
@ -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 <bsd.port.mk>
|
@ -1,2 +0,0 @@
|
||||
SHA256 (cqcam-0.91.tar.gz) = dBoltOLxB8v5wwP9Bc09n0MifR7lGokVgczkqA0bCR0=
|
||||
SIZE (cqcam-0.91.tar.gz) = 121252
|
@ -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
|
@ -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 <<EOF
|
||||
#line 1665 "configure"
|
||||
#include "confdefs.h"
|
||||
@@ -1690,7 +1690,7 @@ LIBS="$ac_save_LIBS"
|
||||
fi
|
||||
if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
|
||||
echo "$ac_t""yes" 1>&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'
|
||||
;;
|
@ -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 <machine/inline.h>
|
||||
#elif defined(OPENBSD)
|
||||
#include <machine/pio.h>
|
||||
+#include <sys/types.h>
|
||||
+#include <machine/sysarch.h>
|
||||
#elif defined(LYNX)
|
||||
#include "lynx-io.h"
|
||||
#elif defined(SOLARIS)
|
@ -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.
|
@ -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.
|
@ -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
|
Loading…
Reference in New Issue
Block a user