[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Commit-gnuradio] r10953 - gnuradio/branches/developers/jcorgan/deb/debi
From: |
jcorgan |
Subject: |
[Commit-gnuradio] r10953 - gnuradio/branches/developers/jcorgan/deb/debian |
Date: |
Mon, 4 May 2009 14:57:11 -0600 (MDT) |
Author: jcorgan
Date: 2009-05-04 14:57:10 -0600 (Mon, 04 May 2009)
New Revision: 10953
Added:
gnuradio/branches/developers/jcorgan/deb/debian/libusrp2.dirs
gnuradio/branches/developers/jcorgan/deb/debian/libusrp2.install
gnuradio/branches/developers/jcorgan/deb/debian/libusrp2.limits
gnuradio/branches/developers/jcorgan/deb/debian/libusrp2.postinst
gnuradio/branches/developers/jcorgan/deb/debian/libusrp2.postrm
Modified:
gnuradio/branches/developers/jcorgan/deb/debian/control
gnuradio/branches/developers/jcorgan/deb/debian/gen-install-files.sh
gnuradio/branches/developers/jcorgan/deb/debian/rules
Log:
adds new libusrp2, libusrp2-dev package
Modified: gnuradio/branches/developers/jcorgan/deb/debian/control
===================================================================
--- gnuradio/branches/developers/jcorgan/deb/debian/control 2009-05-04
17:39:56 UTC (rev 10952)
+++ gnuradio/branches/developers/jcorgan/deb/debian/control 2009-05-04
20:57:10 UTC (rev 10953)
@@ -181,6 +181,39 @@
.
This package contains header files needed by developers.
+Package: libusrp2
+Section: comm
+Architecture: any
+Depends: ${shlibs:Depends}
+Suggests: usrp-doc
+Description: Client side library for the USRP2 hardware
+ The Universal Software Radio Peripheral 2 (USRP2) is a GbE-connected,
+ low-cost and open board. It features two high-speed analog-to-digital
+ and digital-to-analog converters, an FPGA and a microcontroller. It's
+ ideal for capturing or transmitting various signals, usually in
+ combination with GNU Radio. The design schemas are available under a
+ free license.
+ .
+ This package contains the client-side C++ library, providing the low-
+ level (non-GNU Radio) hardware interface.
+
+Package: libusrp2-dev
+Section: libdevel
+Architecture: any
+Depends: libusrp (= ${binary:Version}), libboost1.37-dev,
libgnuradio-omnithread-dev, libgruel-dev
+Description: Client side library for the USRP(1) hardware
+ The Universal Software Radio Peripheral 2 (USRP2) is a GbE-connected,
+ low-cost and open board. It features two high-speed analog-to-digital
+ and digital-to-analog converters, an FPGA and a microcontroller. It's
+ ideal for capturing or transmitting various signals, usually in
+ combination with GNU Radio. The design schemas are available under a
+ free license.
+ .
+ This package contains the client-side C++ library, providing the low-
+ level (non-GNU Radio) hardware interface.
+ .
+ This package contains header files needed by developers.
+
Package: gnuradio-doc
Section: doc
Architecture: all
Modified: gnuradio/branches/developers/jcorgan/deb/debian/gen-install-files.sh
===================================================================
--- gnuradio/branches/developers/jcorgan/deb/debian/gen-install-files.sh
2009-05-04 17:39:56 UTC (rev 10952)
+++ gnuradio/branches/developers/jcorgan/deb/debian/gen-install-files.sh
2009-05-04 20:57:10 UTC (rev 10953)
@@ -67,6 +67,14 @@
echo usr/lib/libusrp.so >>$NAME
echo usr/lib/pkgconfig/usrp.pc >>$NAME
+# libusrp2-dev
+NAME=debian/libusrp2-dev.install
+rm -f $NAME
+touch $NAME
+$EXTRACT usrp2/host/include/usrp2/Makefile usrp2include_HEADERS >>$NAME
+echo usr/lib/libusrp2.so >>$NAME
+echo usr/lib/pkgconfig/usrp2.pc >>$NAME
+
exit 0
# python-gnuradio-core
Added: gnuradio/branches/developers/jcorgan/deb/debian/libusrp2.dirs
===================================================================
--- gnuradio/branches/developers/jcorgan/deb/debian/libusrp2.dirs
(rev 0)
+++ gnuradio/branches/developers/jcorgan/deb/debian/libusrp2.dirs
2009-05-04 20:57:10 UTC (rev 10953)
@@ -0,0 +1,2 @@
+etc/security/limits.d
+
Added: gnuradio/branches/developers/jcorgan/deb/debian/libusrp2.install
===================================================================
--- gnuradio/branches/developers/jcorgan/deb/debian/libusrp2.install
(rev 0)
+++ gnuradio/branches/developers/jcorgan/deb/debian/libusrp2.install
2009-05-04 20:57:10 UTC (rev 10953)
@@ -0,0 +1,5 @@
+usr/lib/libusrp2.la
+usr/lib/libusrp2.so.*
+usr/bin/usrp2_socket_opener
+usr/bin/find_usrps
+etc/security/limits.d/libusrp2.limits
Added: gnuradio/branches/developers/jcorgan/deb/debian/libusrp2.limits
===================================================================
--- gnuradio/branches/developers/jcorgan/deb/debian/libusrp2.limits
(rev 0)
+++ gnuradio/branches/developers/jcorgan/deb/debian/libusrp2.limits
2009-05-04 20:57:10 UTC (rev 10953)
@@ -0,0 +1 @@
address@hidden - rtprio 50
Added: gnuradio/branches/developers/jcorgan/deb/debian/libusrp2.postinst
===================================================================
--- gnuradio/branches/developers/jcorgan/deb/debian/libusrp2.postinst
(rev 0)
+++ gnuradio/branches/developers/jcorgan/deb/debian/libusrp2.postinst
2009-05-04 20:57:10 UTC (rev 10953)
@@ -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/socket_opener
+chmod 04750 /usr/bin/socket_opener
+
+exit 0
Added: gnuradio/branches/developers/jcorgan/deb/debian/libusrp2.postrm
===================================================================
--- gnuradio/branches/developers/jcorgan/deb/debian/libusrp2.postrm
(rev 0)
+++ gnuradio/branches/developers/jcorgan/deb/debian/libusrp2.postrm
2009-05-04 20:57:10 UTC (rev 10953)
@@ -0,0 +1,11 @@
+#! /bin/sh
+
+set -e
+
+if [ "$1" != "remove" ]; then
+ exit 0
+fi
+
+rm -f /etc/security/limits.d/libusrp2.limits
+
+exit 0
Modified: gnuradio/branches/developers/jcorgan/deb/debian/rules
===================================================================
--- gnuradio/branches/developers/jcorgan/deb/debian/rules 2009-05-04
17:39:56 UTC (rev 10952)
+++ gnuradio/branches/developers/jcorgan/deb/debian/rules 2009-05-04
20:57:10 UTC (rev 10953)
@@ -85,6 +85,10 @@
install -m 0644 -D debian/libusrp.udev \
debian/tmp/etc/udev/rules.d/40-usrp.rules
+ : # Deposit rule to allow group 'usrp' access to USRP2 hardware
+ install -m 0644 -D debian/libusrp2.limits \
+ debian/tmp/etc/security/limits.d/libusrp2.limits
+
dh_install --sourcedir=debian/tmp
touch $@
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Commit-gnuradio] r10953 - gnuradio/branches/developers/jcorgan/deb/debian,
jcorgan <=