Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Debian packaging changes (from review) #128

Merged
merged 9 commits into from
May 9, 2017
Merged

Conversation

bdrung
Copy link
Contributor

@bdrung bdrung commented May 9, 2017

I continued the review on the combined source packages. See the individual commits for details. Please review them carefully and ask in case of questions.

bdrung added 9 commits May 9, 2017 15:38
The Debian packaging for rdma-core was derived from the individual
source packages from the Debian project. Thus the copyright of the files
in debian needs to be carried over.

The debian directory in libibumad and libibcm was licensed under GPL-2+
by Genome Research Ltd. The debian directory in ibacm was licensed under
GPL-2+ by Ana Beatriz Guerrero Lopez <ana@debian.org>.

Jason Gunthorpe and Talat Batheesh agreed on relicensing their
contribution to the debian directory under the GPL-2+.

Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
The Debian packaging should be a thin layer around the upstream package
and the upstream package should not know anything about the debian/
directory.

Thus remove the copying of debian/srptools.init and
debian/srptools.default from srp_daemon/CMakeLists.txt and let the
Debian package handle the installation instead.

Instead of shipping custom sysvinit scripts in Debian, upstream should
provide sysvinit and systemd service files that can be used in Debian as
well. An additional srp_daemon.sh shell script should not be necessary
for it.

Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
See Debian policy Priorities, Section 2.5:
https://www.debian.org/doc/debian-policy/ch-archive.html#s-priorities

Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
The synopsis (first line in the package "Description:" field, the
short description) ends with a full stop "." character. This is not
necessary, as the synopsis doesn't need to be a full sentence. It is
recommended that a descriptive phrase is used instead.

Note also that the synopsis is not part of the rest of the
"Description:" field.

Refer to Debian Developer's Reference section 6.2.2 (The package
synopsis, or short description) for details.

Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
Sort the list of binary packages in debian/control, but group libraries
and their corresponding script/service packages together. Also move the
overall rmda-core binary package to the top.

Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
Lintian complains about a missing install key in the rdma-ndd.service,
but this service is started by udev. Thus override the complain.

Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
Upstream does not ship /etc/rsyslog.d/srp_daemon.conf any more.

Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
ibverbs-providers uses the private symbols of libibverbs1. Thus
libibverbs1 will not work with an old version version of
ibverbs-providers if the private symbol version is bumped.

Bump the ibverbs-providers version that libibverbs1 breaks which was
forgotten on the symbol version bump. See also commit
611b7cc

Signed-off-by: Benjamin Drung <benjamin.drung@profitbricks.com>
@dledford dledford merged commit 6f91062 into linux-rdma:master May 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants