Koha/debian
Peter Crellan Kelly 58ef8feb1b Bug 9885 Passwords generated by command line scripts are weak
This changes the scripts so that:
- in koha-create, the zebra password and mysql passwords are set to 16 character "secure" passwords, ie generated with pwgen -s 16 1
- the patron password is set to a 12 character "memorable" password.

Signed-off-by: Magnus Enger <magnus@enger.priv.no>
Looks good. I did not actually build, install and test new packages,
but i did test pwgen with the new arguments and the changes make
sense.

Signed-off-by: Robin Sheat <robin@catalyst.net.nz>
QA signoff
Signed-off-by: Jared Camins-Esakov <jcamins@cpbibliography.com>
2013-03-30 21:39:43 -04:00
..
docs bug 9784: add koha-shell to the koha-common man page 2013-03-13 08:46:21 -04:00
scripts Bug 9885 Passwords generated by command line scripts are weak 2013-03-30 21:39:43 -04:00
source Switch to native source format. 2010-05-25 07:57:37 -04:00
templates Bug 7804 - Add Koha Plugin System 2013-03-20 14:49:47 -04:00
bd-to-depends Add missing build-dependencies (python, python-debian). 2010-06-02 07:14:37 -04:00
build-git-snapshot Bug 9918 - build script updates, default to building 3.12 2013-03-27 21:49:27 -04:00
changelog Bug 9918 - Changelog updates for 3.12 2013-03-27 21:49:09 -04:00
compat Replace old, non-functional Debian packaging with a new one. 2010-04-16 00:41:54 -04:00
control Bug 8816: Add warning about manual edits to top of debian/control 2013-03-30 20:40:12 -04:00
control.in Bug 8816: Add warning about manual edits to top of debian/control 2013-03-30 20:40:12 -04:00
copyright Update FSF address in debian/copyright. 2010-06-02 07:14:43 -04:00
koha-common.config Bug 6361 - make the packages work with koha 3.4 2011-06-03 11:06:31 +12:00
koha-common.cron.d Bug 5139 - packages now do email and other cron jobs 2010-10-06 08:12:14 -04:00
koha-common.cron.daily Bug 6275 - allow automated backups for packages 2011-08-11 12:45:53 +12:00
koha-common.cron.hourly Add koha-foreach, a script to run a command for each Koha instance. 2010-05-25 07:59:45 -04:00
koha-common.dirs Split off koha-common. 2010-05-25 07:58:56 -04:00
koha-common.docs Bug 7197 - add a Spanish readme file to the packages 2011-12-14 15:38:04 +01:00
koha-common.init Bug 4873 - Ensure that the required directories exist on init 2011-07-28 14:05:58 +12:00
koha-common.install Bug 9239 follow-up: update koha-conf.xml 2013-03-16 21:32:33 -04:00
koha-common.logrotate Split off koha-common. 2010-05-25 07:58:56 -04:00
koha-common.postinst Bug 6361 - make the packages work with koha 3.4 2011-06-03 11:06:31 +12:00
koha-common.README.Debian Bug 5139 - packages now do email and other cron jobs 2010-10-06 08:12:14 -04:00
koha-common.templates Bug 6361 - make the packages work with koha 3.4 2011-06-03 11:06:31 +12:00
koha-post-install-setup Add koha-post-install-setup, a script to be run by sysadmin post-install. 2010-05-25 07:59:19 -04:00
koha.apache-ports Replace old, non-functional Debian packaging with a new one. 2010-04-16 00:41:54 -04:00
koha.config Replace old, non-functional Debian packaging with a new one. 2010-04-16 00:41:54 -04:00
koha.dirs Replace old, non-functional Debian packaging with a new one. 2010-04-16 00:41:54 -04:00
koha.install Bug 7818 : Following, fixing so the packages build Still need to update koha-create to make use of the new file 2012-07-06 11:17:19 +02:00
koha.postinst Bug 4817: Point to README.Debian in koha package description, postinst output. 2010-05-27 05:19:03 -04:00
koha.postrm When purging, remove /var/log/koha. 2010-04-22 06:15:31 -04:00
koha.prerm Replace old, non-functional Debian packaging with a new one. 2010-04-16 00:41:54 -04:00
koha.README.Debian Bug 5550 - correct filename referenced in docs 2011-01-01 07:43:30 +13:00
list-deps Bug 9592 - update dependencies, allow blacklisting 2013-02-15 08:06:51 -05:00
README.build Bug 5602: Changes to account for the version update. 2011-08-04 10:26:39 +12:00
rules Bug 9802 - add test case to ensure man pages have correct XML 2013-03-20 15:11:10 -04:00
unavailable.html Add koha-disable, a script to disable a Koha instance. 2010-05-25 07:59:29 -04:00
update-control Add tools to update debian/control's build dependencies. 2010-06-02 07:14:36 -04:00

In order to build .deb packages, following debian packages need to be present
(installed): 
devscripts
pbuilder
dh-make
fakeroot

As root (or sudo) execute:
pbuilder create

Executing build-git-snapshot without any arguments will leave package and the
rest in some pbuilder dir, eg. /var/cache/pbuilder/result It is highly
recommended that --buildresult option is used.