Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add debconf / dbconfig support to debian8 folder #634

Merged
merged 43 commits into from
Dec 14, 2014

Conversation

manupap1
Copy link
Contributor

Features added during package installation:

  • Possibility to install a local or a remote database
  • The user can set a custom password for the mysql application account (zmuser), if empty an auto generated password will be used
  • The user can set a custom password for the ZoneMinder default administrative account (admin), if empty the default password will be used (admin)
  • The user can choose the webserver to configure (currently only apache is supported but the list could be extended)

Feature added during package removal:

  • Possibility to remove the database based on user decision

Feature added during package purge:

  • Possibility to delete remaining files in /var/cache/zoneminder based on user decision (confirmation required)

During package upgrade the database is updated by dbconfig.
I kept the call to zmupdate.pl at the end of the postinst script.
This is redundant but at least this shows that database upgrade is successfull.

The package can be reconfigured with sudo dpkg-reconfigure zoneminder.
The user can change the database location when reconfiguring.

I added the french translation for all debconf prompts.

Based on debian policy for web applications, I also change the file permissions of /etc/zm/zm.conf.

connortechnology added a commit that referenced this pull request Dec 14, 2014
Add debconf / dbconfig support to debian8 folder
@connortechnology connortechnology merged commit 0251500 into ZoneMinder:master Dec 14, 2014
@manupap1 manupap1 deleted the debconf_support branch December 15, 2014 10:25
connortechnology added a commit that referenced this pull request Dec 29, 2014
Add debconf / dbconfig support to debian8 folder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants