source: debian-alt/doc/debian-build.txt @ bfbd159

Last change on this file since bfbd159 was 5c8eab9, checked in by zzz <zzz@…>, 4 years ago

Debian: Add dependency on glassfish-javaee for jstl.jar and standard.jar version 1.2
don't echo comments in debian/rules

  • Property mode set to 100644
File size: 2.6 KB
Line 
1To build a release:
2
3Make sure workspace revision matches what you want to release.
4
5# Make the source tarball
6# only if you didn't already do it for launchpad!
7# Otherwise make sure the i2p-0.9.xx.orig.tar.bz2 file is
8# in the dir above the source directory, and skip to next step
9ant debian-release-tarball
10
11# Following instructions (and filenames) are for unstable.
12# Repeat for each target.
13
14# Go to the source directory created by ant debian-release-tarball
15# Fix up the changelog
16cd i2p_0.9.xx-x-xxxxxxxx/
17ant debchange
18vi debian/changelog
19   change i2p_0.9.xx-x-xxxxxxxx-1 to i2p_0.9.xx-1
20   change UNRELEASED to unstable
21   change comment to "New upstream version 0.9.xx"
22   fix your name and email
23# fix up the control and rules files as necessary
24# fix up the patches/ files as necessary
25
26# build the binary packages:
27ant debian-binary
28This will make the following files in .:
29  i2p-doc_0.9.xx-1_all.deb
30  i2p-router_0.9.xx-1_all.deb
31  i2p_0.9.xx-1_all.deb
32  libjbigi-jni_0.9.xx-1_amd64.deb
33Note that you won't have a libjbigi-jni_0.9.xx-1_i386.deb file,
34or one for any other architecture. Oh well.
35
36# build the source package, which will be in ..
37# do gpg --list-keys to find your subkey id
38debuild -S -sa -kYOURSUBKEYID
39  (note: no space allowed in -kkeyid)
40This will make the following files in ..:
41  i2p_0.9.XX-1.dsc            (the GPG signature)
42  i2p_0.9.XX-1.debian.tar.xz  (basically the debian/ directory tarball)
43  i2p_0.9.XX-1_source.changes (the changelog text file)
44# now do the same for jessie and wheezy and precise
45
46# scp the following files to the reprepro server:
47  i2p_0.9.XX-1.dsc            (the GPG signature)
48  i2p_0.9.XX-1.tar.xz  (basically the debian/ directory tarball)
49  i2p_0.9.XX-1_source.changes (the changelog text file)
50  i2p_0.9.XX.orig.tar.bz2            (the source tarball)
51  i2p-doc_0.9.xx-1_all.deb           (docs)
52  i2p-router_0.9.xx-1_all.deb        (binary)
53  i2p_0.9.xx-1_all.deb               (top-level package)
54  libjbigi-jni_0.9.xx-1_amd64.deb    (binary)
55
56
57ssh to reprepro server
58sudo su kytv (he owns the reprepro directories)
59
60reprepro includedeb unstable i2p-doc_0.9.xx-1_all.deb
61reprepro includedeb unstable i2p-router_0.9.xx-1_all.deb
62reprepro includedeb unstable i2p_0.9.xx-1_all.deb
63reprepro includedeb unstable libjbigi-jni_0.9.xx-1_amd64.deb
64# if you already got the source from launchpad
65# with reprepro update, skip this?
66reprepro includedsc unstable i2p_0.9.XX-1.dsc
67
68
69# To copy precise to wheezy if you build precise on launchpad
70# and then did a reprepro update:
71# Note that syntax is reprepro copysrc TO FROM package!
72reprepro copysrc wheezy precise i2p
Note: See TracBrowser for help on using the repository browser.