diff --git a/distpackages/build_deb_packages.sh b/distpackages/build_deb_packages.sh index 117fb7a8a52..c51b7ecbc6a 100755 --- a/distpackages/build_deb_packages.sh +++ b/distpackages/build_deb_packages.sh @@ -61,6 +61,8 @@ do # Adjust mode for some files in the package find $tmp_dir/$pkg_name -type d | xargs chmod 755 + find $tmp_dir/$pkg_name -type f | xargs chmod 644 + chmod 755 $tmp_dir/$pkg_name/DEBIAN/{postinst,postrm} # Build the debian package fakeroot dpkg-deb --build $tmp_dir/$pkg_name || { echo "dpkg-deb failed"; exit 1; } diff --git a/distpackages/deb/libgrpc-dev.deb b/distpackages/deb/libgrpc-dev.deb index 4cadcebb2ae..854633d955f 100644 Binary files a/distpackages/deb/libgrpc-dev.deb and b/distpackages/deb/libgrpc-dev.deb differ diff --git a/distpackages/deb/libgrpc.deb b/distpackages/deb/libgrpc.deb index f80c48408a9..c9c6840fb7e 100644 Binary files a/distpackages/deb/libgrpc.deb and b/distpackages/deb/libgrpc.deb differ diff --git a/distpackages/templates/libgrpc-dev/DEBIAN/control b/distpackages/templates/libgrpc-dev/DEBIAN/control index 3e6363c523c..d6a96a87fb4 100644 --- a/distpackages/templates/libgrpc-dev/DEBIAN/control +++ b/distpackages/templates/libgrpc-dev/DEBIAN/control @@ -6,4 +6,4 @@ Section: libdevel Priority: optional Homepage: https://github.com/grpc/grpc Description: gRPC C Core - header files - Core C libraries for gRPC - An RPC library and framework. + Core C libraries for gRPC - An RPC library and framework. diff --git a/distpackages/templates/libgrpc-dev/usr/share/doc/libgrpc-dev/changelog.gz b/distpackages/templates/libgrpc-dev/usr/share/doc/libgrpc-dev/changelog.gz new file mode 100644 index 00000000000..eabdf46e6e2 Binary files /dev/null and b/distpackages/templates/libgrpc-dev/usr/share/doc/libgrpc-dev/changelog.gz differ diff --git a/distpackages/templates/libgrpc/DEBIAN/control b/distpackages/templates/libgrpc/DEBIAN/control index 295f45fea15..71616936571 100644 --- a/distpackages/templates/libgrpc/DEBIAN/control +++ b/distpackages/templates/libgrpc/DEBIAN/control @@ -5,5 +5,5 @@ Maintainer: Jan Tattermusch Section: libs Priority: optional Homepage: https://github.com/grpc/grpc -Description: The gRPC C Core - Core C libraries for gRPC - An RPC library and framework. +Description: gRPC C Core + Core C libraries for gRPC - An RPC library and framework. diff --git a/distpackages/templates/libgrpc/DEBIAN/postinst b/distpackages/templates/libgrpc/DEBIAN/postinst new file mode 100644 index 00000000000..379f1fae0c1 --- /dev/null +++ b/distpackages/templates/libgrpc/DEBIAN/postinst @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +# Automatically added by dh_makeshlibs +if [ "$1" = "configure" ]; then + ldconfig +fi +# End automatically added section diff --git a/distpackages/templates/libgrpc/DEBIAN/postrm b/distpackages/templates/libgrpc/DEBIAN/postrm new file mode 100644 index 00000000000..3e73d38a7e3 --- /dev/null +++ b/distpackages/templates/libgrpc/DEBIAN/postrm @@ -0,0 +1,7 @@ +#!/bin/sh +set -e +# Automatically added by dh_makeshlibs +if [ "$1" = "remove" ]; then + ldconfig +fi +# End automatically added section diff --git a/distpackages/templates/libgrpc/DEBIAN/shlibs b/distpackages/templates/libgrpc/DEBIAN/shlibs new file mode 100644 index 00000000000..31d0e0a3b3d --- /dev/null +++ b/distpackages/templates/libgrpc/DEBIAN/shlibs @@ -0,0 +1,3 @@ +libgpr 0 +libgrpc 0 +libgrpc_unsecure 0 diff --git a/distpackages/templates/libgrpc/usr/share/doc/libgrpc/changelog.gz b/distpackages/templates/libgrpc/usr/share/doc/libgrpc/changelog.gz new file mode 100644 index 00000000000..c07b4d26371 Binary files /dev/null and b/distpackages/templates/libgrpc/usr/share/doc/libgrpc/changelog.gz differ