2016-04-02 13:30:15 +00:00
|
|
|
To build a release:
|
|
|
|
|
|
|
|
Make sure workspace revision matches what you want to release.
|
|
|
|
|
|
|
|
# Make the source tarball
|
|
|
|
# only if you didn't already do it for launchpad!
|
|
|
|
# Otherwise make sure the i2p-0.9.xx.orig.tar.bz2 file is
|
|
|
|
# in the dir above the source directory, and skip to next step
|
|
|
|
ant debian-release-tarball
|
|
|
|
|
|
|
|
# Following instructions (and filenames) are for unstable.
|
|
|
|
# Repeat for each target.
|
|
|
|
|
|
|
|
# Go to the source directory created by ant debian-release-tarball
|
|
|
|
# Fix up the changelog
|
|
|
|
cd i2p_0.9.xx-x-xxxxxxxx/
|
|
|
|
ant debchange
|
|
|
|
vi debian/changelog
|
|
|
|
change i2p_0.9.xx-x-xxxxxxxx-1 to i2p_0.9.xx-1
|
2016-06-08 16:41:01 +00:00
|
|
|
change UNRELEASED to stable
|
2016-04-02 13:30:15 +00:00
|
|
|
change comment to "New upstream version 0.9.xx"
|
|
|
|
fix your name and email
|
|
|
|
# fix up the control and rules files as necessary
|
|
|
|
# fix up the patches/ files as necessary
|
|
|
|
|
|
|
|
# build the binary packages:
|
|
|
|
ant debian-binary
|
|
|
|
This will make the following files in .:
|
|
|
|
i2p-doc_0.9.xx-1_all.deb
|
|
|
|
i2p-router_0.9.xx-1_all.deb
|
|
|
|
i2p_0.9.xx-1_all.deb
|
|
|
|
libjbigi-jni_0.9.xx-1_amd64.deb
|
|
|
|
Note that you won't have a libjbigi-jni_0.9.xx-1_i386.deb file,
|
|
|
|
or one for any other architecture. Oh well.
|
|
|
|
|
2016-10-18 14:50:06 +00:00
|
|
|
# copy up so they don't get deleted
|
|
|
|
cp *.deb ..
|
|
|
|
# remove symlink (fixme?)
|
|
|
|
rm apps/susidns/src/lib/standard.jar
|
|
|
|
|
2016-04-02 13:30:15 +00:00
|
|
|
# build the source package, which will be in ..
|
|
|
|
# do gpg --list-keys to find your subkey id
|
|
|
|
debuild -S -sa -kYOURSUBKEYID
|
|
|
|
(note: no space allowed in -kkeyid)
|
|
|
|
This will make the following files in ..:
|
|
|
|
i2p_0.9.XX-1.dsc (the GPG signature)
|
|
|
|
i2p_0.9.XX-1.debian.tar.xz (basically the debian/ directory tarball)
|
|
|
|
i2p_0.9.XX-1_source.changes (the changelog text file)
|
2016-10-18 14:50:06 +00:00
|
|
|
# now do the same for jessie and wheezy and precise (NO, don't, we will copy below)
|
2016-04-02 13:30:15 +00:00
|
|
|
|
|
|
|
# scp the following files to the reprepro server:
|
|
|
|
i2p_0.9.XX-1.dsc (the GPG signature)
|
|
|
|
i2p_0.9.XX-1.tar.xz (basically the debian/ directory tarball)
|
|
|
|
i2p_0.9.XX-1_source.changes (the changelog text file)
|
|
|
|
i2p_0.9.XX.orig.tar.bz2 (the source tarball)
|
|
|
|
i2p-doc_0.9.xx-1_all.deb (docs)
|
|
|
|
i2p-router_0.9.xx-1_all.deb (binary)
|
|
|
|
i2p_0.9.xx-1_all.deb (top-level package)
|
|
|
|
libjbigi-jni_0.9.xx-1_amd64.deb (binary)
|
|
|
|
|
|
|
|
|
|
|
|
ssh to reprepro server
|
|
|
|
sudo su kytv (he owns the reprepro directories)
|
|
|
|
|
2016-06-08 16:41:01 +00:00
|
|
|
reprepro includedeb stable i2p-doc_0.9.xx-1_all.deb
|
|
|
|
reprepro includedeb stable i2p-router_0.9.xx-1_all.deb
|
|
|
|
reprepro includedeb stable libjbigi-jni_0.9.xx-1_amd64.deb
|
|
|
|
reprepro includedeb stable i2p_0.9.xx-1_all.deb
|
2016-04-02 13:30:15 +00:00
|
|
|
# if you already got the source from launchpad
|
2016-10-10 12:31:28 +00:00
|
|
|
# with reprepro update, skip this.
|
2016-06-08 16:41:01 +00:00
|
|
|
reprepro includedsc stable i2p_0.9.XX-1.dsc
|
2016-04-04 18:07:43 +00:00
|
|
|
|
2016-06-08 16:41:01 +00:00
|
|
|
# copy built packages from launchpad
|
2019-10-22 16:36:23 +00:00
|
|
|
for i in precise trusty xenial bionic disco eoan focal
|
|
|
|
do
|
|
|
|
reprepro -v update $i
|
|
|
|
done
|
|
|
|
|
2016-10-18 14:50:06 +00:00
|
|
|
# todo when set up
|
|
|
|
# To add or remove distributions, edit /var/www/debian/conf/distributions
|
|
|
|
# and /var/www/debian/conf/updates
|
2018-02-01 13:43:48 +00:00
|
|
|
# and then: reprepro -v export foo (for new foo)
|
2016-12-15 13:56:52 +00:00
|
|
|
# and then: reprepro -v update foo
|
Debian: Change debian files from stretch (Jetty 9.2, Tomcat 8, Java 8) to buster (Jetty 9.4, Tomcat 9, Java 11)
Add debian-alt/stretch files
Update debian-alt/precise, trusty, xenial, bionic, disco to include
the changes from buster, not stretch
Remove debian-alt/buster, unstable files
Doc updates
2019-07-26 12:48:17 +00:00
|
|
|
# and: reprepro -v copysrc foo buster i2p-keyring
|
2019-10-22 16:36:23 +00:00
|
|
|
# and: reprepro -v copysrc foo buster syndie
|
2016-10-18 14:50:06 +00:00
|
|
|
# If you remove, you must do: reprepro clearvanished
|
2016-04-04 18:07:43 +00:00
|
|
|
|
2016-06-08 16:41:01 +00:00
|
|
|
|
|
|
|
# To copy precise to wheezy:
|
2016-04-04 18:07:43 +00:00
|
|
|
# Note that syntax is reprepro copysrc TO FROM package!
|
2016-06-08 16:41:01 +00:00
|
|
|
reprepro -v copysrc wheezy precise i2p
|
2016-10-18 14:50:06 +00:00
|
|
|
|
2017-08-09 19:53:41 +00:00
|
|
|
# To copy trusty to jessie:
|
2016-10-18 14:50:06 +00:00
|
|
|
# Note that syntax is reprepro copysrc TO FROM package!
|
2017-08-09 19:53:41 +00:00
|
|
|
reprepro -v copysrc jessie trusty i2p
|
2016-10-18 14:50:06 +00:00
|
|
|
|
2019-05-18 14:43:13 +00:00
|
|
|
# To copy trusty to stretch:
|
2016-10-18 14:50:06 +00:00
|
|
|
# Note that syntax is reprepro copysrc TO FROM package!
|
2019-05-18 14:43:13 +00:00
|
|
|
# WARNING bionic (now with jetty 9.4) is no longer compatible with stretch (with jetty 9.2)
|
|
|
|
# WARNING xenial is not compatible with stretch,
|
|
|
|
# see https://www.reddit.com/r/i2p/comments/bnvcn4/i2p_router_console_inaccessible_to_firefox_on/
|
|
|
|
reprepro -v copysrc stretch trusty i2p
|
2019-01-24 12:29:22 +00:00
|
|
|
|
2019-05-18 14:43:13 +00:00
|
|
|
# To copy disco to sid and buster:
|
2019-01-24 12:29:22 +00:00
|
|
|
# Note that syntax is reprepro copysrc TO FROM package!
|
|
|
|
reprepro -v copysrc sid disco i2p
|
2019-05-18 14:43:13 +00:00
|
|
|
reprepro -v copysrc buster disco i2p
|
2016-10-18 14:50:06 +00:00
|
|
|
|
|
|
|
# check status
|
|
|
|
reprepro ls i2p
|
2017-03-06 20:41:43 +00:00
|
|
|
reprepro ls i2p-doc
|
|
|
|
reprepro ls i2p-router
|
2016-10-18 14:50:06 +00:00
|
|
|
reprepro ls libjbigi-jni
|