1 How to create these debian packages?
2 ===================================
4 1. Completely checkout the major subversion trunk area.
6 2. aptitude install libversion-perl libmodule-build-perl \
7 liblog-log4perl-perl libdatetime-perl libexception-class-perl \
8 libapache-request-perl libxml-sax-perl libxml-sax-writer-perl \
9 libtree-dagnode-perl liburi-perl libclass-factory-perl \
10 libxml-simple-perl libdatetime-format-strptime-perl \
11 libhttp-server-simple-perl libdata-page-perl
13 3. cd trunk/package/debian/
15 4. make cpan_dependency
17 5. dpkg -i deb/cpan/*.deb
21 7. dpkg -i deb/core/libopenxpki-perl*.deb
23 8. make perl-client-api
25 9. dpkg -i deb/client_api/libopenxpki-client-perl*.deb
27 10. make i18n && make deployment && make scep-client && \
28 make mason-html-client
30 11. dpkg -i deb/client/openxpki-i18n_*.deb \
31 dpkg -i deb/client/libopenxpki-client-html-mason-perl_*.deb \
32 dpkg -i deb/client/openxpki-deployment_*.deb \
33 dpkg -i deb/client/libopenxpki-client-scep-perl_*.deb
35 The steps 6 to 9 are necessary because the packages libopenxpki-perl and
36 libopenxpki-client-perl are required for package builds.
38 How to create a special debian package like libopenxpki-perl?
39 =============================================================
41 1. Completely checkout the major subversion trunk area.
43 2. cd trunk/package/debian/core
48 How to handle outdated Perl packages?
49 =====================================
51 1. Switch deb-src to an actual distribution.
53 2. apt-get -y build-dep MODULE
55 3. apt-get -t testing -b source MODULE
57 4. dpkg -i libMODULE-perl_*.deb
61 apt-get build-dep libclass-std-perl
62 apt-get -b source libclass-std-perl
63 dpkg -i libclass-std-perl_0.0.9-2_all.deb
67 apt-get -y build-dep libhook-lexwrap-perl
68 apt-get -t testing -b source libhook-lexwrap-perl
69 dpkg -i libhook-lexwrap-perl_0.20-2_all.deb
71 How to handle missing Perl packages?
72 ====================================
74 1. apt-get install dh-make-perl
76 2. dh-make-perl --build --cpan MODULE (or you use dh-make-perl PERL_SRC_DIR)
78 3. dpkg -i libMODULE-perl_*.deb
82 dh-make-perl --build --cpan XML::Filter::XInclude
83 dh-make-perl --build --cpan XML::Validator::Schema
84 dh-make-perl --build --cpan Data::Password
85 dpkg -i libxml-filter-xinclude-perl_1.0-1_all.deb
86 dpkg -i libxml-validator-schema-perl_1.08-1_all.deb
87 dpkg -i libdata-password-perl_1.07-1_all.deb