diff options
author | jcorgan <jcorgan@221aa14e-8319-0410-a670-987f0aec2ac5> | 2009-05-07 00:11:08 +0000 |
---|---|---|
committer | jcorgan <jcorgan@221aa14e-8319-0410-a670-987f0aec2ac5> | 2009-05-07 00:11:08 +0000 |
commit | d8b0bea3d4350b8450d612ed461c5bdf26b562b0 (patch) | |
tree | 8e5c9faaec43331cb45d7ec9ab48aa228a82a612 /debian/libusrp2.postinst | |
parent | 705e883e3d1aef11725bc5c12418d7ab585d8ae7 (diff) |
Merged r10948:10959 from jcorgan/deb into trunk. Trunk passes
distcheck.
Part 1 of Debian/Ubuntu binary packaging update for 3.2 release.
Creates all C++ API binary and dev packages, with their associated
runtime dependencies.
* Runtime shared-library packages:
-libgruel
-libgnuradio-omnithread
-libpmt
-libmblock
-libgnuradio-core
-libgnuradio-alsa
-libgnuradio-qtgui
-libusrp
-libusrp2
-libgnuradio-usrp
-libgnuradio-usrp2
* C++ development headers and pkg-config files for the above:
-libgruel-dev
-libgnuradio-omnithread-dev
-libpmt-dev
-libmblock-dev
-libgnuradio-core-dev
-libgnuradio-alsa-dev
-libgnuradio-qtgui-dev
-libusrp-dev
-libusrp2-dev
NOTE: For consistency, libqtgui.so has been renamed to libgnuradio-qtgui.so,
and libgr-usrp2.so has been renamed to libgnuradio-usrp2.so.
A 'gnuradio-dev' virtual package will be created that will depend upon the
above -dev packages, so installing that one package will pull in all that is needed
to do pure C++ development in GNU Radio.
git-svn-id: http://gnuradio.org/svn/gnuradio/trunk@10981 221aa14e-8319-0410-a670-987f0aec2ac5
Diffstat (limited to 'debian/libusrp2.postinst')
-rw-r--r-- | debian/libusrp2.postinst | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/debian/libusrp2.postinst b/debian/libusrp2.postinst new file mode 100644 index 0000000000..dc1a6440d8 --- /dev/null +++ b/debian/libusrp2.postinst @@ -0,0 +1,18 @@ +#! /bin/sh + +set -e + +if [ "$1" != "configure" ]; then + exit 0 +fi + +# Create usrp group for access +if ! getent group usrp >/dev/null; then + addgroup --system usrp +fi + +# Create setuid root for group usrp on socket opener +chown root.usrp /usr/bin/usrp2_socket_opener +chmod 04750 /usr/bin/usrp2_socket_opener + +exit 0 |