add the debian parts

This commit is contained in:
idk
2023-07-01 15:45:39 +00:00
parent 0ba80b3cfa
commit 4b7cdcd45e
4 changed files with 58 additions and 1 deletions

9
.gitignore vendored Normal file
View File

@ -0,0 +1,9 @@
/i2p.*/
/i2p-*/
/*.dsc
/*.build
/*.buildinfo
/*.changes
/*.tar.xz
/*.orig.tar.bz2
/*.upload

View File

@ -33,3 +33,5 @@ PRIVKEY_SU3="$HOME/.i2p-plugin-keys/news-su3-keystore.ks"
PRIVKEY_SU3_ID="70D2060738BEF80523ACAFF7D75C03B39B5E14E1"
SIGNER_PRIVKEY_SU3="hankhill19580@gmail.com"
LAUNCHPAD_ID="i2p-community"
I2P_COMMUNITY_PPA="ppa"

6
dput.cf Normal file
View File

@ -0,0 +1,6 @@
[i2p-community]
fqdn = ppa.launchpad.net
method = ftp
incoming = ~i2p-community/i2p-community/ubuntu/
login = anonymous
allow_unsigned_uploads = 0

42
env.sh
View File

@ -381,8 +381,48 @@ git_tag() {
home
}
# - `history.txt`
debian_bionic() {
export TZ=UTC
git clone "$I2P_REPOSITORY_DIR" "$I2P_REPOSITORY_DIR".bionic
cd "$I2P_REPOSITORY_DIR".bionic
cp -rv debian-alt/bionic/* debian/
ant debian-release-tarball
home
cd "i2p-$I2P_VERSION-"* || return
cp -rv "$I2P_REPOSITORY_DIR".bionic/debian-alt/bionic/* debian/
debuild -S -sa -k"$PRIVKEY_SU3_ID"
home
}
debian_focal() {
export TZ=UTC
cd "i2p-$I2P_VERSION-"* || return
cp -rv "$I2P_REPOSITORY_DIR".bionic/debian-alt/focal/* debian/
debuild -S -sa -k"$PRIVKEY_SU3_ID"
home
}
debian_lunar() {
export TZ=UTC
cd "i2p-$I2P_VERSION-"* || return
cp -rv "$I2P_REPOSITORY_DIR".bionic/debian-alt/lunar/* debian/
debuild -S -sa -k"$PRIVKEY_SU3_ID"
home
}
debian_all() {
debian_bionic
debian_dput
debian_focal
debian_dput
debian_lunar
debian_dput
home
}
debian_dput() {
dput -c dput.cf "$LAUNCHPAD_ID" "i2p_$I2P_VERSION-1ubuntu1_source.changes"
}
run_all() {
open_checklist