Salvaged from an outdated source. This is not the correct way to package for Devuan, for my internal use only to dig out any useful content.
How to package for Devuan
This document describes how to contribute to Devuan packaging.
Devuan uses the same format for packaging as Debian, so this is very similar to Debian packaging except that we only use gitlab for hosting and building packages. Specifically we will cover how to remove the systemd dependency from packages to make them suitable for use in Devuan.
Debian new maintainers guide5Debian policy manual1Devuan maintainer workflowSetting up git repositories in Devuan9Jenkins autobuild infrastructure in Devuan8
If you are finished making changes you should now update the change log.
$ gbp dch -a -R -N +devuan1
We need to update the index again and make a final commit before pushing our changes back to your project files.
$ git add --all
$ git commit
If you are done making changes to the package you can tag it as a release. Append the string devuan1 to denote that this is the first Devuan release.
$ git tag -+devuan1
Finally, push the changes to gitlab.
$ git push --set-upstream origin suites/-proposed
Applying to be a maintainer
Packages forked from Debian are kept in the devuan-packages group3. Log in to your gitlab account and open an issue in the group named after the package. If your application is accepted you will be given master permission to the package.
Build the package on gitlab
First talk to the Devuan packaging masters in #devuan-dev on irc.freenode.net about getting your package added to the build system. Once your packaging skills and trustworthiness have been verified they will help you add your package to the build system.
When you are ready to build your package, create an issue with the title "build" and setting the label to -proposed.
Watch the output of the build in the #devuan-dev channel. Once you have solved any problems with the build, you can move your branch to the appropriate release codename for inclusion in the main distribution.
$ git branch -b suites/
You can now build your package again to have it included in the main distribution.
Contributing to packages
If you are not applying to be a maintainer, you can still contribute to Devuan packaging. To do this you can fork the package on gitlab and make a merge request to the original package. The maintainer will inspect your merge request and if accepted you will have successfully contributed to Devuan packaging.