This is a port of motion, this version works with network cameras and with any
capture devices that supports bktr(4) with composite and svideo inputs. Tuner
support is not yet implemented. Latest port versions supports webcams supported
by pwcbsd.
===> The following configuration options are available for motion-4.7.1:
DOCS=on: Build and/or install documentation
EXAMPLES=on: Build and/or install examples
FFMPEG=on: FFmpeg support (WMA, AIFF, AC3, APE...)
MYSQL=off: MySQL database support
NLS=on: Native Language Support
PGSQL=off: PostgreSQL database support
SQLITE3=off: SQLite 3 database support
====> Video capture driver (Netcam support only if none selected): you can only select none or one of them
PWCBSD=off: PWCBSD based Webcams
WEBCAMD=on: Webcams using webcamd
===> Use 'make config' to modify these settings
multimedia/motion: Fix build with NLS=off: Can't exec "autopoint"
Can't exec "autopoint": No such file or directory at
/usr/local/share/autoconf2.72/Autom4te/FileUtils.pm line 318.
autoreconf2.72: error: autopoint failed with exit status: 2
===> Mk/Uses/autoreconf.mk: Error running /usr/local/bin/autoreconf2.72
While here remove GNU_CONFIGURE_MANPREFIX as it's a default value now.
No bump - the default build has not changed.
PR: 282531
Approved by: ports@blievers.net (maintainer)
MFH: 2025Q1
devel/gettext: Update to 0.22
Convert post-patch commands to real patches. This way there are errors
when the underlying code changes.
*/*: Fix gettext issues. The new gettext tools are more strict.
PR: 272210
Exp-run by: antoine
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
multimedia: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Aaron LI <aly@aaronly.me>
* Alexander Botero-Lowry <alexbl@FreeBSD.org>
* Alexander Logvinov <ports@logvinov.com>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Anders Nordby <anders@FreeBSD.org>
* Andrew Pantyukhin <infofarmer@FreeBSD.org>
* Andrew Thompson <andy@fud.org.nz>
* Andrew Thompson <thompsa@FreeBSD.org>
* Angel Carpintero <ack@telefonica.net>
* Anish Mistry (with help from mean)
* Anonymous <swell.k@gmail.com>
(Only the first 15 lines of the commit message are shown above )
multimedia/motion: unbreak the port's build against MYSQL option
This is not a 100% correct fix, more of a mitigation: ``pkg-config
--cflags mysqlclient'' fails with default OpenSSL, and thus MySQL
header files could be be found:
Package openssl was not found in the pkg-config search path.
Perhaps you should add the directory containing `openssl.pc'
to the PKG_CONFIG_PATH environment variable
Package 'openssl', required by 'mysqlclient', not found
The configure script makes several other bogus (at least in FreeBSD
context) assumptions, but those could be fixed in a separate commit.
Drop no longer supported options from the CONFIGURE_ARGS while here.
multimedia/motion: Remove KMODDIR
While this is technically fine, there is no reason to set it just
for the dependency check.
Reported by: portscan (KMODDIR without USES=kmod)
multimedia/motion:
- Add WEBCAMD option and enable by default
- Bump PORTREVISION
From the initiating PR:
The multimedia/pwcbsd port contains an kernel module that appears to no longer
work. The multimedia/pwcbsd port distfile has not been updated since 2014 so
it is very unlikely to work. The multimedia/pwcbsd port was long ago replaced
by the multimedia/webcamd port.
The current multimedia/motion port has a PWCBSD option. This sets
--with-pwcbsd in the configure step, create a build depend on v4l_compat and
creates a run depend on multimedia/pwcbsd, which is then built and installed
(Only the first 15 lines of the commit message are shown above )
multimedia/motion: unbreak with ffmpeg 4.0
ffmpeg.c:442:25: error: use of undeclared identifier 'CODEC_FLAG_QSCALE'
c->flags |= CODEC_FLAG_QSCALE;
^
ffmpeg.c:450:17: error: use of undeclared identifier 'CODEC_FLAG_GLOBAL_HEADER'
c->flags |= CODEC_FLAG_GLOBAL_HEADER;
^
ffmpeg.c:492:40: error: use of undeclared identifier 'AVFMT_RAWPICTURE'
if (!(ffmpeg->oc->oformat->flags & AVFMT_RAWPICTURE)) {
^
ffmpeg.c:708:38: error: use of undeclared identifier 'AVFMT_RAWPICTURE'
if (ffmpeg->oc->oformat->flags & AVFMT_RAWPICTURE) {
^
PR: 227726
- Fix an issue where netcams were not connecting [1]
- When motion was updated to 4.x, it was overlooked that the default
search path for the configuration files was changed. This was causing
existing configurations to not be read. Fix the port to install
default configuration in correct location and add an UPDATING message
giving users the proper instructions on where to place their existing
conf files. [2]
- Create an empty ${ETCDIR}/conf.d directory that can optionally be used
to dump camera configs in instead of creating separate lines for each
one in motion.conf
- Add some missing PORTDOCS and install with the correct mode
- Make the VIDEO options OPTIONS_RADIO instead of OPTIONS_SINGLE to
allow for netcam only support (suggested in [2])
- Fix bad logic in configure.ac that was causing V4L to not be dectected
when the PWCBSD option was enabled
PR: 216189 [1]
Reported by: Charles P <charlespigott@googlemail.com>
Patched by: <anthony@ury.org.uk>
Obtained from: upstream
PR: 216466 [2]
Reported by: <bakhur@inbox.ru>, tdb@
Pointy hat to: jhale
MFH: 2017Q1 (blanket)
Fix daemon inability to bind to the sockey with the following error:
http_bindsock: error binding on 127.0.0.1 port 8081
this problem was already fixed upstream.
Update to 4.0.1
Project has moved to Github and is under active development
Add support for Sqlite 3 database
Convert to options helpers
Move 3 line pkg-plist into the Makefile
Remove libjpeg.so.11 compatibility link that was added in r374303 to
prevent massive PORTREVISION bumps. Bump dependent ports that have not
been bumped since.
Remove BROKEN on Tier-2 systems statements which no longer true at least
on PowerPC (verified for all of them) and some also on SPARC (whenever I
was able to test those on flame.freebsd.org) and even IA64 (which should
be OK to remove anyways, because it was never really supported system in
ports land and was officially killed in -CURRENT a while ago.
The PWCBSD option requires V4L, so remove -DWITHOUT_V4L.
I'm not sure why this change was made, but it breaks the PWCBSD
option. It looked obviously wrong; it added a dependency on v4l_compat
and then disabled it by definining WITHOUT_V4L. Looking at the code
it's obvious V4L is required for anything other than network cameras
too.
- Bump PORTREVISION
- Use startup script via USE_RC_SUBR
- Add pkg-message to inform about startup script
- Fix a runtime error using wrong pid file in
daemonised process
Approved by: thierry (mentor)
MFH: 2014Q1
- Un-break port
- Stage support
- Replace USE_GMAKE by USES
- New format for LIB_DEPENDS
- Use /boot/modules via KMODDIR as in other ports
PR: ports/184406
Submitted by: Ildar Hizbulin <hizel@vyborg.ru>
Approved by: co-mentor (jadawin)
Mark as broken:
ffmpeg.c:81: error: expected ')' before '*' token
ffmpeg.c:117: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'mpeg1_file_protocol'
ffmpeg.c:136: error: expected ')' before '*' token
ffmpeg.c:160: error: expected ')' before '*' token
ffmpeg.c:166: error: expected ')' before '*' token
ffmpeg.c:172: error: expected ')' before '*' token
ffmpeg.c:178: error: expected ')' before '*' token
ffmpeg.c:184: error: expected '=', ',', ';', 'asm' or '__attribute__' before
'file_protocol'
ffmpeg.c: In function 'mpeg1_write_trailer':
ffmpeg.c:207: warning: implicit declaration of function 'put_buffer'
ffmpeg.c:208: warning: implicit declaration of function 'put_flush_packet'
ffmpeg.c: In function 'ffmpeg_init':
ffmpeg.c:230: error: 'mpeg1_file_protocol' undeclared (first use in this
function)
(Only the first 15 lines of the commit message are shown above )
- Please welcome back Chris Petrik as maintainer of
these ports [1]
- Trim headers
- Remove indefinite article from COMMENT
- Convert tab to space in WWW lines
PR: ports/175415 [1]
Submitted by: Chris Petrik <c.petrik.sosa@gmail.com> [1]
Discussed with: bapt
Revert Chris Petrik's ports to the pool. Thank you for all your work so far,
and should you desire to return just let us know.
PR: ports/174309
Submitted by: Chris Petrik
- Fix configure.in so it can get PACKAGE_VERSION/PACKAGE_NAME correctly
- Fix default pid name in configuration file
- Bump PORTREVISION
PR: ports/127903
Submitted by: Angel Carpintero <ack at telefonica.net> (maintainer)
Update CONFIGURE_ARGS for how we pass CONFIGURE_TARGET to configure script.
Specifically, newer autoconf (> 2.13) has different semantic of the
configure target. In short, one should use --build=CONFIGURE_TARGET
instead of CONFIGURE_TARGET directly. Otherwise, you will get a warning
and the old semantic may be removed in later autoconf releases.
To workaround this issue, many ports hack the CONFIGURE_TARGET variable
so that it contains the ``--build='' prefix.
To solve this issue, under the fact that some ports still have
configure script generated by the old autoconf, we use runtime detection
in the do-configure target so that the proper argument can be used.
Changes to Mk/*:
- Add runtime detection magic in bsd.port.mk
(Only the first 15 lines of the commit message are shown above )