add 3G CN: osmo-hlr, osmocom-3g, osmo-iuh, libasn1c
Copy openbsc to osmocom-3g (for lack of a better name) to build the vlr_3G
branch of openbsc.git, producing osmo-msc, osmo-sgsn with Iu capabilities and
osmo-bsc_mgcp (now a misnomer) to direct RTP streams.
Add osmo-hlr.
Add osmo-iuh for osmo-hnbgw, and libosmo-ranap dependency of osmocom-3g.
Add libasn1c.
diff --git a/recipes-osmocom/osmo-iuh/osmo-iuh/osmo-hnbgw.init b/recipes-osmocom/osmo-iuh/osmo-iuh/osmo-hnbgw.init
new file mode 100755
index 0000000..34c21fb
--- /dev/null
+++ b/recipes-osmocom/osmo-iuh/osmo-iuh/osmo-hnbgw.init
@@ -0,0 +1,48 @@
+!/bin/sh
+### BEGIN INIT INFO
+# Provides: osmo-hnbgw
+# Required-Start: $syslog $networking
+# Required-Stop: $syslog
+# Default-Start: 5
+# Default-Stop: 1
+# Short-Description: Osmocom HNBGW
+### END INIT INFO
+
+DAEMON=/usr/bin/osmo-hnbgw
+NAME=osmo-hnbgw
+DESC="Osmocom HNBGW"
+NORMAL_ARGS="-D -c /etc/osmocom/osmo-hnbgw.cfg"
+
+OSMOHNBGW_EXTRA_ARGS=""
+NO_START=1
+
+set -e
+
+test ! -r /etc/default/osmo-hnbgw || . /etc/default/osmo-hnbgw
+test "$NO_START" = "0" || exit 0
+test -x "$DAEMON" || exit 0
+
+case "$1" in
+ start)
+ echo -n "Starting $DESC: "
+ start-stop-daemon -S \
+ -x "$DAEMON" -- $NORMAL_ARGS $OSMOHNBGW_EXTRA_ARGS
+ echo "$NAME."
+ ;;
+ stop)
+ echo -n "Stopping $DESC: "
+ start-stop-daemon -K -x "$DAEMON"
+ echo "$NAME."
+ ;;
+ restart|force-reload)
+ $0 stop
+ $0 start
+ ;;
+ *)
+ N=/etc/init.d/$NAME
+ echo "Usage: $N {start|stop|restart}" >&2
+ exit 1
+ ;;
+esac
+
+exit 0