CVE and update status of the FreeBSD ports tree3,295 unaddressed CVEs in 670 portsAll times are CET
Port details

multimedia/motion 4.7.1

Motion detection application

Port info

Maintainer
ports@blievers.net
Packages
latest: 4.7.1
Upstream
up to date
Last update
to 4.7.1 · e1b71e0b5a
Quarterly
2026Q4: 4.7.1
WWW
https://motion-project.github.io/
Links
cgit · VuXML · Report wrong data

Install

Package
# pkg install motion
installs 4.7.1 from latest; from quarterly (2026Q4) 4.7.1
Port
# cd /usr/ports/multimedia/motion && make install clean
# make -C /usr/ports/multimedia/motion config  # change options first
Size
454 KiB download · 2.1 MiB installed
Depends on
devel/gettext-runtime 1.0_1, graphics/jpeg-turbo 3.1.4.1, graphics/webp 1.6.0, multimedia/ffmpeg 9.0.2_2,1, www/libmicrohttpd 1.0.10
License
GPLv2+
Options
5 of 9 on in the package: DOCS EXAMPLES FFMPEG NLS WEBCAMD
Show the 4 options that are off
MYSQL PGSQL PWCBSD SQLITE3
pkg-message
Shown after installing
To use the motion service properly, you should edit

	/usr/local/etc/motion/motion.conf

according to your needs.

To set up your capture device (if using BKTR):

  1. Load the bktr modules

    Type as root:
      kldload bktr_mem.ko
      kldload bktr.ko

    You can setup this in your /boot/loader.conf adding:
      bktr_mem_load="YES"
      bktr_load="YES"

  2. Configure your card settings (tuner type, format, and card)

    Type as root:
      sysctl hw.bt848.card=1 ( Miro pctv )
      sysctl hw.bt848.tuner=10 ( PHILIPS_FR1216_PAL )
      sysctl hw.bt848.format=0 ( PAL )

    or add to /etc/sysctl.conf adding:
      hw.bt848.card=1
      hw.bt848.tuner=10
      hw.bt848.format=0

To automatically start the service at boot time,
add the following line to /etc/rc.conf:

	motion_enable="YES"

Then, to start the service right now without reboot, execute

	service motion start

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 164.7.14.7.1–
FreeBSD 154.7.14.7.1–
FreeBSD 144.7.14.7.14.7.1

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 154.7.14.7.1–
FreeBSD 144.7.14.7.14.7.1

version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 4.7.1.

Fixed (1)

Show 1 fixed
VuXML entries whose affected range the packaged version has left.

Problem reports (1) · open in Bugzilla, most recently changed first

PRSummaryStatusChanged
279460maintainer-feedback? multimedia/motion: don't run as rootNew2025-05-19

Commits (99)

Thomas Zander (riggs) · 3.2.12_3
- 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
3869d09564
Thomas Zander (riggs) · 3.2.12_2
- 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)
a93d372da8
Baptiste Daroussin (bapt) · 3.2.12_1
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)
ffmpeg.c:230: error: (Each undeclared identifier is reported only once
ffmpeg.c:230: error: for each function it appears in.)
ffmpeg.c:230: error: 'file_protocol' undeclared (first use in this function)
ffmpeg.c:241:5: warning: #warning av_register_protocolXXX missing
ffmpeg.c: In function 'ffmpeg_open':
ffmpeg.c:406: warning: 'av_new_stream' is deprecated (declared at /usr/local/include/libavformat/avformat.h:1817)
ffmpeg.c:465: warning: implicit declaration of function 'av_set_parameters'
ffmpeg.c:491: warning: implicit declaration of function 'avcodec_open'
ffmpeg.c:546: warning: implicit declaration of function 'url_fopen'
ffmpeg.c:546: error: 'URL_WRONLY' undeclared (first use in this function)
ffmpeg.c:577: warning: implicit declaration of function 'av_write_header'
ffmpeg.c: In function 'ffmpeg_close':
ffmpeg.c:644: warning: implicit declaration of function 'url_fclose'
ffmpeg.c: In function 'ffmpeg_put_frame':
ffmpeg.c:708: warning: 'avcodec_encode_video' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:4261)
ffmpeg.c: In function 'ffmpeg_deinterlace':
ffmpeg.c:809: warning: 'avpicture_deinterlace' is deprecated (declared at /usr/local/include/libavcodec/avcodec.h:4506)
15117cc7ee
Alex Kozlov (ak) · 3.2.12_1
- Return ports to the pool

PR:	ports/183244
Submitted by:	Chris Petrik <c.petrik.sosa@gmail.com> (former maintainer)
546a9259a9
Baptiste Daroussin (bapt) · 3.2.12_1
Add NO_STAGE all over the place in preparation for the staging support (cat: multimedia)
855fb638fb
Alex Kozlov (ak) · 3.2.12_1
- Remove MAKE_JOBS_SAFE variable

Approved by:	portmgr (bdrewery)
d4041784dc
Rene Ladan (rene) · 3.2.12_1
Remove option for expired linuxhtreads port.

PR:		ports/179353
Submitted by:	myself
Approved by:	c.petrik.sosa@gmail.com (maintainer)
8edad71ccb
Matthias Andree (mandree) · 3.2.12_1
Fix an issue with bktr.

PR:		ports/173750
Submitted by:	c.petrik.sosa@gmail.com (maintainer)
5625d35cf7
Bryan Drewery (bdrewery) · 3.2.12
- 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
6910bf819a
Alex Kozlov (ak) · 3.2.12
- Fix all cases of 'No newline at end of file' in ports tree

Approved by: portmgr (bapt)
05a9235c98
Eitan Adler (eadler) · 3.2.12
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
a52b1a298c
Eitan Adler (eadler) · 3.2.12
Hand port over to cpet

PR:		ports/172344
Submitted by:	Chris Petrik <c.petrik.sosa@gmail.com>
f836031437
Sylvio Cesar Teixeira (sylvio) · 3.2.12
- Updatet to version 3.2.12

New file:
files/patch-configure.in
files/patch-ffmpeg.c

PR:		ports/169006
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
51eb180072
Thomas Abthorpe (tabthorpe) · 3.2.11.1_7
- Reset maintainer due to email bounce - We hope to see you back
36bf8e6a78
Chris Rees (crees) · 3.2.11.1_7
Remove obsolete OSVERSION check-- ports no longer work on 6.X

PR:		ports/168276
Submitted by:	crees
Approved by:	maintainer timeout (ack@telefonica.net, two weeks)
e1e5ad3a63
Dirk Meyer (dinoex) · 3.2.11.1_7
- update png to 1.5.10
2b74a89bc8
Ashish SHUKLA (ashish) · 3.2.11.1_6
- Bump PORTREVISION to chase the update of multimedia/libvpx
97ddb4e13d
Olli Hauer (ohauer) · 3.2.11.1_5
- remove MD5
4c503beb39
Martin Matuska (mm) · 3.2.11.1_5
Bump due to ffmpeg update to 0.7.1
c86cd8cae2
Ade Lovett (ade) · 3.2.11.1_4
Sync to new bsd.autotools.mk
4a8684e352
Ade Lovett (ade) · 3.2.11.1_4
Punt autoconf267->autoconf268
6abd00a86b
Ade Lovett (ade) · 3.2.11.1_4
Autotools update.   Read ports/UPDATING 20100915 for details.

Approved by:	portmgr (for Mk/bsd.port.mk part)
Tested by:	Multiple -exp runs
8262a7b51d
Martin Matuska (mm) · 3.2.11.1_3
- Update ffmpeg to 0.6
ab5c533c96
Dirk Meyer (dinoex) · 3.2.11.1_2
- update to jpeg-8
ca9c60461c
Martin Wilke (miwi) · 3.2.11.1_1
- Distfile was rerolled to fix the detection of ffmpeg

PR:		137698
Submitted by:	Angel Carpintero <ack@telefonica.net> (maintainer)
0e28e04360
Pav Lucistnik (pav) · 3.2.11.1
- Mark BROKEN: does not fetch due to size mismatch

Reported by:	pointyhat
0f3e47882a
Dmitry Marakasov (amdmi3) · 3.2.11.1
- Switch SourceForge ports to the new File Release System: categories starting with M
a13d9a603d
Martin Matuska (mm) · 3.2.11.1
- Update to 3.2.11.1

PR:		ports/137649
Submitted by:	Angel Carpintero <ack@telefonica.net> (maintainer)
75ecf0d2e3
Dirk Meyer (dinoex) · 3.2.11_2
- update to jpeg7 Tested by:	pav on pointyhat
3bbc108312
Pav Lucistnik (pav) · 3.2.11_1
- Remove conditional checks for FreeBSD 5.x and older
d203b12054
Rong-En Fan (rafan) · 3.2.11_1
- 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)
cc5060a005
Martin Wilke (miwi) · 3.2.11
- Update to 3.2.11

PR:		127621
Submitted by:	Angel Carpintero <ack@telefonica.net> (maintainer)
d57c11ffca
Rong-En Fan (rafan) · 3.2.10.1
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
 - Remove CONFIGURE_TARGET hack in various bsd.*.mk
 - USE_GNOME=gnometarget is now an no-op

Changes to individual ports, other than removing the CONFIGURE_TARGET hack:

= pkg-plist changed (due to the ugly CONFIGURE_TARGET prefix in * executables)
  - comms/gnuradio
  - science/abinit
  - science/elmer-fem
  - science/elmer-matc
  - science/elmer-meshgen2d
  - science/elmerfront
  - science/elmerpost

= use x86_64 as ARCH
  - devel/g-wrap

= other changes
  - print/magicfilter
    GNU_CONFIGURE -> HAS_CONFIGURE since it's not generated by autoconf

Total # of ports modified:  1,027
Total # of ports affected: ~7,000 (set GNU_CONFIGURE to yes)

PR:		126524 (obsoletes 52917)
Submitted by:	rafan
Tested on:	two pointyhat 7-amd64 exp runs (by pav)
Approved by:	portmgr (pav)
741aa71483
Ade Lovett (ade) · 3.2.10.1
Conversion from (now defunct) autoconf-2.61 to autoconf-2.62

Tested by:	exp build run (erwin)
771ea13f41
Pav Lucistnik (pav) · 3.2.10.1
- Remove USE_GCC where it can be satisfied with base compiler on following   FreeBSD versions: 5.3 and up, 6.x, 7.x, 8-CURRENT
efa63f6ba4
Pav Lucistnik (pav) · 3.2.10.1
- Remove duplicates from MAKE_ENV after inclusion of CC and CXX in default MAKE_ENV
fa38ed02cc
Martin Wilke (miwi) · 3.2.10.1
- Respect NOPORTEXAMPLES

PR:		124757
Submitted by:	Angel Carpintero <ack@telefonica.net>
Reported by:	ionbot
b4ee4e602f
Lars Engels (lme) · 3.2.10.1
Security update to 3.2.10.1

PR:		ports/124498
Submitted by:	Angel Carpintero (maintainer)
935505d214
Lars Engels (lme) · 3.2.10
- Update to 3.2.10 - Enable support for PWCBSD-based Webcams - Install rc-script

PR:		ports/123808
Submitted by:	Angel Carpintero <ack (AT) telefonica.net>
b30475c7e0
Martin Wilke (miwi) · 3.2.9_1
- Fix creation of new multimedia/motion detected videos - Bump PORTREVISION

PR:		119938
Submitted by:	Angel Carpintero <ack@telefonica.net> (maintainer)
9e2c03b880
Martin Wilke (miwi) · 3.2.9
- Update to 3.2.9

PR:		119372
Submitted by:	Angel Carpintero <ack@telefonica.net> (maintainer)
a2dd31329c
Edwin Groothuis (edwin) · 3.2.8_2
Remove always-false/true conditions based on OSVERSION 500000
fa9509791f
Pav Lucistnik (pav) · 3.2.8_2
- Fix the ffmpeg problem on runtime too

Submitted by:	Angel Carpintero <ack@telefonica.net> (maintainer)
57ca83abc6
Pav Lucistnik (pav) · 3.2.8_1
- Fix build after recent ffmpeg update

Submitted by:	Angel Carpintero <ack@telefonica.net> (maintainer)
6420cce43a
Mark Linimon (linimon) · 3.2.8_1
Switch autoconf dependencies from 2.53 or 2.59 to 2.61.

PR:		ports/116639
Submitted by:	aDe
48420a5ebd
Rong-En Fan (rafan) · 3.2.8
- Update to 3.2.8

PR:		ports/114702
Submitted by:	Angel Carpintero <ack at telefonica.net> (maintainer)
4da8d6ce1f
Martin Wilke (miwi) · 3.2.7
- Update to 3.2.7

PR:             ports/105986
Submitted by:   Angel Carpintero<ack@telefonica.net> (maintainer)
5560cc299b
Michael Landin (mich) · 3.2.6
- update to last stable version 3.2.6

PR:		ports/98270
Submitted by:	Angel Carpintero <ack@telefonica.net> (maintainer)
f39a50d8ef
Emanuel Haupt (ehaupt) · 3.2.4
Add motion 3.2.4, a motion detection application.

PR:		90892
Submitted by:	Angel Carpintero <ack@telefonica.net>
81a573d7c6