Debian package available
Debian package available
I just put up my zoneminder packages for debian:
http://www.spic.net/zoneminder/debian/
it's not an apt repository at this time, so just grab the binary or source
packages for now.
--francois
From the readme.debian:
zm for Debian
-------------
****************************************************************
THIS PACKAGE WILL NOT SET ZM TO AUTOMATICALLY START AT THIS TIME
----------------------------------------------------------------
this is by design. when the package matures this will change.
be sure to start zoneminder with:
/etc/init.d/zm start
and configure it to start at boot with
update-rc.d zm defaults
OR just use the web interface to start and stop zoneminder
****************************************************************
this is a rough debian package for zoneminder, and definately does not do all
you'd expect from a typical debian package.
everything should be in typical debian directories, and you should be able to
just install and be done with it. the db user & password is preset to zm/zmpass
but at least everything should just work.
to meet the dependencies I've compiled against you'll probably need to add the
the following line to your /etc/apt/sources.list
deb ftp://ftp.nerim.net/debian-marillat/ testing main
once i figure out what all the actual build dependencies are, this will be
considerably more useful as a source package.
There are a lot of ugly things done in postinst and postrm out of laziness
you'll notice a zmdata.sql in here, this is a mysqldump of the zm database
created by zmconfig.pl with defualts that work for me
if you use the source package to create your own binary, be sure to overwrite
the debian/zmdata.sql with an appropriate config or you'll be wondering what's
going on
after installation the package will create a user and database in mysql, as
well as chown all the appropriate directories to www-data.
when you remove the package, it will delete the zm user and db from mysql.
as the package is currently configured, upgrading or reinstalling will
completely wipe out your zoneminder configuration. this is because we
drop the database unconditionally in postrm. in the future we'll only
do that on a purge.
-- matrix <matrix@spic.net>, Mon, 7 Mar 2005 02:07:57 -0500
http://www.spic.net/zoneminder/debian/
it's not an apt repository at this time, so just grab the binary or source
packages for now.
--francois
From the readme.debian:
zm for Debian
-------------
****************************************************************
THIS PACKAGE WILL NOT SET ZM TO AUTOMATICALLY START AT THIS TIME
----------------------------------------------------------------
this is by design. when the package matures this will change.
be sure to start zoneminder with:
/etc/init.d/zm start
and configure it to start at boot with
update-rc.d zm defaults
OR just use the web interface to start and stop zoneminder
****************************************************************
this is a rough debian package for zoneminder, and definately does not do all
you'd expect from a typical debian package.
everything should be in typical debian directories, and you should be able to
just install and be done with it. the db user & password is preset to zm/zmpass
but at least everything should just work.
to meet the dependencies I've compiled against you'll probably need to add the
the following line to your /etc/apt/sources.list
deb ftp://ftp.nerim.net/debian-marillat/ testing main
once i figure out what all the actual build dependencies are, this will be
considerably more useful as a source package.
There are a lot of ugly things done in postinst and postrm out of laziness
you'll notice a zmdata.sql in here, this is a mysqldump of the zm database
created by zmconfig.pl with defualts that work for me
if you use the source package to create your own binary, be sure to overwrite
the debian/zmdata.sql with an appropriate config or you'll be wondering what's
going on
after installation the package will create a user and database in mysql, as
well as chown all the appropriate directories to www-data.
when you remove the package, it will delete the zm user and db from mysql.
as the package is currently configured, upgrading or reinstalling will
completely wipe out your zoneminder configuration. this is because we
drop the database unconditionally in postrm. in the future we'll only
do that on a purge.
-- matrix <matrix@spic.net>, Mon, 7 Mar 2005 02:07:57 -0500
- zoneminder
- Site Admin
- Posts: 5215
- Joined: Wed Jul 09, 2003 2:07 pm
- Location: Bristol, UK
- Contact:
Thanks for doing this. If the link you provided is likely to remain I'll add a link to it on the Downloads page if that's ok. It might also be helpful if you put a README type file in in the root of your site containing the additional information you have posted so people can read it before downloading anything more weighty from you.
Cheers
Phil
Cheers
Phil
-
- Posts: 45
- Joined: Fri May 06, 2005 7:30 pm
- Location: Kenai, Alaska
This package required liblame0 but...
the apt source mentioned above is using a different version of liblame0 . So the package won't install.
Tim Jordan
ZoneMinder 1.22
Debian Sarge
P4 1.7Ghz, 512MB, 160GB HD
(3) Panisonic KX-HCM10 Network Cameras
ZoneMinder 1.22
Debian Sarge
P4 1.7Ghz, 512MB, 160GB HD
(3) Panisonic KX-HCM10 Network Cameras
-
- Posts: 45
- Joined: Fri May 06, 2005 7:30 pm
- Location: Kenai, Alaska
depend problem
zm depends on liblame0 9>= 3.96.1-1);however;
Version of liblame0 on system is 3.96.1-0sarge1
Version of liblame0 on system is 3.96.1-0sarge1
Tim Jordan
ZoneMinder 1.22
Debian Sarge
P4 1.7Ghz, 512MB, 160GB HD
(3) Panisonic KX-HCM10 Network Cameras
ZoneMinder 1.22
Debian Sarge
P4 1.7Ghz, 512MB, 160GB HD
(3) Panisonic KX-HCM10 Network Cameras
My site has been up for a few years and won't be going anywhere anytime soon (although it may be unavailable from time to time for hardware upgrades and the occasional speakeasy network outages)
I fixed the postrm to only delete the zm database on a purge. still need to fix the postinst. this will be easier when i add in debconf support.
by the time the next version of zoneminder is released, i'll add in support to apply the appropriate zmalters during an upgrade.
Would it be possible to add a flag to zmconfig.pl to generate an sql file instead of inserting it directly to the db? this would be useful when regenerating the binary package with new options.
I've just updated http://www.spic.net/zoneminder/
I fixed the postrm to only delete the zm database on a purge. still need to fix the postinst. this will be easier when i add in debconf support.
by the time the next version of zoneminder is released, i'll add in support to apply the appropriate zmalters during an upgrade.
Would it be possible to add a flag to zmconfig.pl to generate an sql file instead of inserting it directly to the db? this would be useful when regenerating the binary package with new options.
I've just updated http://www.spic.net/zoneminder/
Code: Select all
This is an unofficial apt repository for the zoneminder debian package.
The binary package should include all dependencies. To use it, add the following 2 lines to your /etc/apt/sources.list then run " apt-get update ; apt-get install zm "
--
deb ftp://ftp.nerim.net/debian-marillat/ testing main
deb http://www.spic.net/zoneminder/debian ./
--
The source package probably does NOT include all dependencies. To use it, add the following line to your /etc/apt/sources.list
--
deb-src http://www.spic.net/zoneminder/debian ./
--
Re: depend problem
This was a bug in my 1.21.0-2 package which i compiled on my sid environment instead of sarge. 1.21.0-3 should fix it.tim@pcs-alaska.com wrote:zm depends on liblame0 9>= 3.96.1-1);however;
Version of liblame0 on system is 3.96.1-0sarge1
Thanks
--francois
-
- Posts: 45
- Joined: Fri May 06, 2005 7:30 pm
- Location: Kenai, Alaska
testing debian build
Did a clean build of Sarge today. Added your apt-get sources and installed zm. It looks like I have to install apache and php4? Will I need to install anything else prior to installing the zm package?
Thanks
Thanks
Tim Jordan
ZoneMinder 1.22
Debian Sarge
P4 1.7Ghz, 512MB, 160GB HD
(3) Panisonic KX-HCM10 Network Cameras
ZoneMinder 1.22
Debian Sarge
P4 1.7Ghz, 512MB, 160GB HD
(3) Panisonic KX-HCM10 Network Cameras
-
- Posts: 45
- Joined: Fri May 06, 2005 7:30 pm
- Location: Kenai, Alaska
Dependencies
Thanks for the quick reply. Here is what my clean Sarge build is looking for when trying to install zm:
ZM:/home/tim# apt-get install zm
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
apache-common apache2-utils ffmpeg gawk libapache-mod-php4 libapr0
libavcodec2 libavcodeccvs libdate-manip-perl libdbd-mysql-perl libdbi-perl
libfaac0 libfaad2-0 libimlib2 liblame0 libmysqlclient12 libmysqlclient14
libnet-daemon-perl libplrpc-perl libpostproc0 libxvidcore4 libzzip-0-12
mysql-client mysql-common mysql-server php4-common php4-mysql
Suggested packages:
apache apache-ssl apache-perl php4-pear dbishell libcompress-zlib-perl
mysql-doc
Recommended packages:
libmysqlclient14-dev
The following NEW packages will be installed:
apache-common apache2-utils ffmpeg gawk libapache-mod-php4 libapr0
libavcodec2 libavcodeccvs libdate-manip-perl libdbd-mysql-perl libdbi-perl
libfaac0 libfaad2-0 libimlib2 liblame0 libmysqlclient12 libmysqlclient14
libnet-daemon-perl libplrpc-perl libpostproc0 libxvidcore4 libzzip-0-12
mysql-client mysql-common mysql-server php4-common php4-mysql zm
0 upgraded, 28 newly installed, 0 to remove and 22 not upgraded.
Need to get 15.2MB of archives.
After unpacking 38.0MB of additional disk space will be used.
Do you want to continue? [Y/n]
When you include the Apache in let me know and I'll test. Also, will the libapache-mod-php4 installl what we need to have php4 running, I'm assuming so.
Thanks for your work on this package!
ZM:/home/tim# apt-get install zm
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
apache-common apache2-utils ffmpeg gawk libapache-mod-php4 libapr0
libavcodec2 libavcodeccvs libdate-manip-perl libdbd-mysql-perl libdbi-perl
libfaac0 libfaad2-0 libimlib2 liblame0 libmysqlclient12 libmysqlclient14
libnet-daemon-perl libplrpc-perl libpostproc0 libxvidcore4 libzzip-0-12
mysql-client mysql-common mysql-server php4-common php4-mysql
Suggested packages:
apache apache-ssl apache-perl php4-pear dbishell libcompress-zlib-perl
mysql-doc
Recommended packages:
libmysqlclient14-dev
The following NEW packages will be installed:
apache-common apache2-utils ffmpeg gawk libapache-mod-php4 libapr0
libavcodec2 libavcodeccvs libdate-manip-perl libdbd-mysql-perl libdbi-perl
libfaac0 libfaad2-0 libimlib2 liblame0 libmysqlclient12 libmysqlclient14
libnet-daemon-perl libplrpc-perl libpostproc0 libxvidcore4 libzzip-0-12
mysql-client mysql-common mysql-server php4-common php4-mysql zm
0 upgraded, 28 newly installed, 0 to remove and 22 not upgraded.
Need to get 15.2MB of archives.
After unpacking 38.0MB of additional disk space will be used.
Do you want to continue? [Y/n]
When you include the Apache in let me know and I'll test. Also, will the libapache-mod-php4 installl what we need to have php4 running, I'm assuming so.
Thanks for your work on this package!
Tim Jordan
ZoneMinder 1.22
Debian Sarge
P4 1.7Ghz, 512MB, 160GB HD
(3) Panisonic KX-HCM10 Network Cameras
ZoneMinder 1.22
Debian Sarge
P4 1.7Ghz, 512MB, 160GB HD
(3) Panisonic KX-HCM10 Network Cameras
-
- Posts: 45
- Joined: Fri May 06, 2005 7:30 pm
- Location: Kenai, Alaska
Debian package erroring out when I try to start zm
When I try to start zm now (after essentially upgrading from 1.20.xx to your 1.21-5) I get the following error. What have I failed to do?
FrontDesk:/etc/init.d# ./zm start
Starting ZoneMinder: Bareword "ZM_OPT_CONTROL" not allowed while "strict subs" in use at /usr/bin/zmpkg.pl line 274.
Execution of /usr/bin/zmpkg.pl aborted due to compilation errors.
failure
FrontDesk:/etc/init.d# ./zm start
Starting ZoneMinder: Bareword "ZM_OPT_CONTROL" not allowed while "strict subs" in use at /usr/bin/zmpkg.pl line 274.
Execution of /usr/bin/zmpkg.pl aborted due to compilation errors.
failure
Re: Debian package erroring out when I try to start zm
the config database has changed and the package doesn't yet apply zmalter-* .sql files to handle the upgrade between versions. I was going to implement that with the next release of zm.cavaughan wrote:When I try to start zm now (after essentially upgrading from 1.20.xx to your 1.21-5) I get the following error. What have I failed to do?
FrontDesk:/etc/init.d# ./zm start
Starting ZoneMinder: Bareword "ZM_OPT_CONTROL" not allowed while "strict subs" in use at /usr/bin/zmpkg.pl line 274.
Execution of /usr/bin/zmpkg.pl aborted due to compilation errors.
failure
in the interim, you can either manually run zmupdate with the zmalter-*.sql from the source tarball or if you don't mind losing your configuration, drop the zm database and run "/var/lib/dpkg/info/zm.postinst configure" to start from scratch.
I won't have time to work more on the package till the weekend. The dependencies should be fixed then, and i've been successfully running zm against libjpeg-mmx which seems a noticeable imporvement.
Thanks tim and cavaughan for the packaging bug reports
--francois
-
- Posts: 45
- Joined: Fri May 06, 2005 7:30 pm
- Location: Kenai, Alaska
Thank you for your efforts! I plan to install this at a client site tomorrow night. I was never able to get ZM working from my home network against my clients network.... Hopefully things will be alot easier with the server and the camera running off the same switch!
Thanks again!
Thanks again!
Tim Jordan
ZoneMinder 1.22
Debian Sarge
P4 1.7Ghz, 512MB, 160GB HD
(3) Panisonic KX-HCM10 Network Cameras
ZoneMinder 1.22
Debian Sarge
P4 1.7Ghz, 512MB, 160GB HD
(3) Panisonic KX-HCM10 Network Cameras
Re: Debian package available
Hi matrixmatrix wrote:I just put up my zoneminder packages for debian:
http://www.spic.net/zoneminder/debian/
it's not an apt repository at this time, so just grab the binary or source
packages for now.
-- matrix <matrix@spic.net>, Mon, 7 Mar 2005 02:07:57 -0500
i have just compiled ZM for Sarge/PPC. Seem that it works fine, but i cannot test all, because i haven't a usb camera running in my tibook G4.
If you want i can submit the packages in spic.net
If someone are interesting, please contact me.
ciao
MaX