mirror of
https://git.do.srb2.org/STJr/SRB2.git
synced 2024-11-23 12:52:57 +00:00
70 lines
2.7 KiB
Text
70 lines
2.7 KiB
Text
srb2 for Debian
|
|
---------------
|
|
|
|
SRB2 Debian package!
|
|
Hi there, to rebuild these packages just use debuild in the root source directory (not /src!).
|
|
You can build these with or without a key if you want, but if you want to put these on a repo,
|
|
generate your own GnuPG key as per the https://help.ubuntu.com/community/GnuPrivacyGuardHowto
|
|
instructions and pass the -k<keyid> command to debuild. Make sure you export the key footprint
|
|
and give them to your users to install with apt-key add. Thanks!
|
|
|
|
-- Callum Dickinson <gcfreak_ag20@hotmail.com> Fri, 26 Nov 2010 18:25:31 +1300
|
|
|
|
---------------
|
|
|
|
|
|
Templating
|
|
|
|
Note that you MUST run [repo-root]/debian_template.sh before running debuild
|
|
on these scripts! debian_template.sh fills these template files with working values.
|
|
|
|
You should also set PACKAGE_NAME_EMAIL="John Doe <jdoe@example.com>" to match
|
|
the identity of the key you will use to sign the package.
|
|
|
|
|
|
Building for Launchpad PPA
|
|
|
|
Use these steps to prepare building a source package for Launchpad:
|
|
|
|
1. cd [repo-root]
|
|
2. git reset --hard; git clean -fd; git clean -fx;
|
|
* Resets your repo folder to a committed state and removes untracked files
|
|
* If you built srb2-data in the assets/ folder, MAKE SURE THAT FOLDER DOES NOT HAVE ASSETS,
|
|
OR THEY MAY BE INCLUDED IN THE MAIN SOURCE PACKAGE!
|
|
|
|
Build the source package:
|
|
|
|
1. source [repo-root]/debian_template.sh
|
|
* Initializes defaults for the package variables and fills in templates.
|
|
2. debuild -S (builds the source package for Launchpad)
|
|
|
|
|
|
Signing for Launchpad PPA
|
|
|
|
First, follow Callum's instructions to generate a GnuPG key with your identity. You will need
|
|
to publish the fingerprint of that key to Ubuntu's key server.
|
|
|
|
https://help.ubuntu.com/community/GnuPrivacyGuardHowto#Uploading_the_key_to_Ubuntu_keyserver
|
|
|
|
Next, you will have to add that key fingerprint to your Launchpad account. Go to your Launchpad
|
|
profile and click the yellow Edit button next to "OpenPGP keys". Once you add the key, you can
|
|
upload signed source packages and publish them onto your PPA.
|
|
|
|
IF YOU UPLOAD A PACKAGE and Launchpad does NOT send you a confirmation or rejection email, that
|
|
means your key is not set up correctly with your Launchpad account.
|
|
|
|
Finally, if your packages have not already been signed, follow these steps:
|
|
|
|
1. cd ..
|
|
* Packages are located in the parent folder of where debuild was called
|
|
2. debsign "srb2_[version]_source.changes"
|
|
* You may need to specify -k [key-fingerprint]
|
|
|
|
|
|
Uploading for Launchpad PPA
|
|
|
|
Follow the instructions at <https://help.launchpad.net/Packaging/PPA/Uploading> to upload
|
|
to your PPA and have Launchpad build your binary deb packages.
|
|
|
|
|
|
-- Marco Zafra <marco.a.zafra@gmail.com> Mon, 26 Nov 2018 21:13:00 -0500
|