Skip to content

Commit

Permalink
remove osipsconsole
Browse files Browse the repository at this point in the history
  • Loading branch information
razvancrainea committed Apr 16, 2019
1 parent 2e284aa commit 456fb4c
Show file tree
Hide file tree
Showing 14 changed files with 6 additions and 7,957 deletions.
23 changes: 1 addition & 22 deletions Makefile
Expand Up @@ -475,7 +475,7 @@ install-app: app mk-install-dirs install-cfg install-bin \
install-modules-all: install-modules install-modules-doc

# Install everything (except modules-docbook?)
install: install-app install-console install-modules-all
install: install-app install-modules-all

opensipsmc: $(cfg_prefix)/$(cfg_dir) $(data_prefix)/$(data_dir)
$(MAKE) -C menuconfig proper
Expand Down Expand Up @@ -521,27 +521,6 @@ install-cfg: $(cfg_prefix)/$(cfg_dir)
mv -f $(cfg_prefix)/$(cfg_dir)/opensipsctlrc.sample \
$(cfg_prefix)/$(cfg_dir)/opensipsctlrc; \
fi
# osipsconsole config
$(INSTALL_TOUCH) $(cfg_prefix)/$(cfg_dir)/osipsconsolerc.sample
$(INSTALL_CFG) scripts/osipsconsolerc \
$(cfg_prefix)/$(cfg_dir)/osipsconsolerc.sample
if [ ! -f $(cfg_prefix)/$(cfg_dir)/osipsconsolerc ]; then \
mv -f $(cfg_prefix)/$(cfg_dir)/osipsconsolerc.sample \
$(cfg_prefix)/$(cfg_dir)/osipsconsolerc; \
fi

install-console: $(bin_prefix)/$(bin_dir)
# install osipsconsole
cat scripts/osipsconsole | \
sed -e "s#PATH_BIN[ \t]*=[ \t]*\"\./\"#PATH_BIN = \"$(bin-target)\"#g" | \
sed -e "s#PATH_CTLRC[ \t]*=[ \t]*\"\./scripts/\"#PATH_CTLRC = \"$(cfg_target)\"#g" | \
sed -e "s#PATH_LIBS[ \t]*=[ \t]*\"\./scripts/\"#PATH_LIBS = \"$(lib-target)/opensipsctl/\"#g" | \
sed -e "s#PATH_SHARE[ \t]*=[ \t]*\"\./scripts/\"#PATH_SHARE = \"$(data_target)\"#g" | \
sed -e "s#PATH_ETC[ \t]*=[ \t]*\"\./etc/\"#PATH_ETC = \"$(cfg_target)\"#g" \
> /tmp/osipsconsole
$(INSTALL_TOUCH) $(bin_prefix)/$(bin_dir)/osipsconsole
$(INSTALL_BIN) /tmp/osipsconsole $(bin_prefix)/$(bin_dir)
rm -fr /tmp/osipsconsole

install-bin: $(bin_prefix)/$(bin_dir) opensipsmc utils
# install opensips binary
Expand Down
1 change: 0 additions & 1 deletion bdb_recover.8
@@ -1,4 +1,3 @@
.\" $Id: osipsconsole.8 5891 2009-11-22 12:53:09Z alerios $
.TH bdb_recover 8 22.11.2009 opensips-berkeley-module "OpenSIPS"
.\" Process with
.\" groff -man -Tascii bdb_recover.8
Expand Down
2 changes: 1 addition & 1 deletion opensipsdbctl.8
Expand Up @@ -95,7 +95,7 @@ based on opensipsctl manpage by Bogdan-Andrei Iancu <bogdan@opensips.org>,
for the Debian project (and may be used by others).

.SH SEE ALSO
.BR opensips(8), opensips.cfg(5), opensipsctl(8), osipsconsole(8)
.BR opensips(8), opensips.cfg(5), opensipsctl(8)
.PP
Full documentation on opensips is available at
.I http://www.opensips.org/.
Expand Down
2 changes: 1 addition & 1 deletion osipsconfig.8
Expand Up @@ -53,7 +53,7 @@ based on osipsconsole manpage by Alejandro Rios P. <alerios@debian.org>,
for the Debian project (and may be used by others).

.SH SEE ALSO
.BR opensips(8), opensips.cfg(5), opensipsctl(8), osipsconsole(8)
.BR opensips(8), opensips.cfg(5), opensipsctl(8)
.PP
Full documentation on opensips is available at
.I http://www.opensips.org/.
Expand Down

0 comments on commit 456fb4c

Please sign in to comment.