https://kkeithle.fedorapeople.org/Debian.HOWTO

Install debuild, pbuilder, reprepro, etc., and generate a gpg key to sign with. If you're not going to sign the files you can omit the -kfoo and -k foo options.

clone g...@github.com:nfs-ganesha/nfs-ganesha-debian.git, checkout the branch for your particular Debian, e.g. stretch-nfs-ganesha-2.5

You will need to fixup debian/rules to checkout the ntirpc submodule and debian/control to elide the libntirpc dependency. Maybe more.

If you're not going to create an apt repo you can omit the reprepro steps in Debian.HOWTO and the following steps:

Manually `mkdir /var/www/repos/apt/debian/conf` Add the three attached files to the conf subdir. Change the SignWith: in .../conf/distributions
to the pubkey you're using.

All the above is for Debian 9 (stretch). If building for other Debian, e.g. Debian 8 (jessie), then s/stretch/jessie/g in the Debian.HOWTO and the three files in .../conf/ (change name of override.stretch to override.jessie)

In short the debuild is analogous to creating a .src.rpm. pbuilder is a chroot build, akin to mock. reprepro is like createrepo.

The packaging bits were derived from the original Debian packaging bits that were once in the ganesha sources, then heavily modified by me based on packaging bits originally written for glusterfs. I make not claims about their correctness. Suggestions, improvements, and fixes happily accepted.

Let me know if you have any questions.

--

Kaleb








verbose
basedir /var/www/repos/apt/debian
ask-passphrase
Origin: GlusterFS
Label: GlusterFS
Codename: stretch
Architectures: amd64 source
Components: main
Description: Apt repository for GlusterFS
DebOverride: override.stretch
DscOverride: override.stretch
SignWith: 9BCD55B2
your_package_name Priority        optional
your_package_name Section         admin
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Nfs-ganesha-devel mailing list
Nfs-ganesha-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel

Reply via email to