2 # Copyright (C) 2017 Bjørn Mork <bjorn@mork.no>
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
13 PKG_MAINTAINER
:=Bjørn Mork
<bjorn@mork.no
>
15 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
16 PKG_SOURCE_URL
:=http
://www.conserver.com
/
17 PKG_HASH
:=251ae01997e8f3ee75106a5b84ec6f2a8eb5ff2f8092438eba34384a615153d0
19 PKG_LICENSE
:=BSD-3-Clause
20 PKG_LICENSE_FILES
:=LICENSE
25 include $(INCLUDE_DIR
)/package.mk
27 define Package
/conserver
30 TITLE
:=Connect multiple user to a serial console with logging
31 URL
:=http
://www.conserver.com
/
35 define Package
/conserver
/description
36 Conserver is an application that allows multiple users to watch a
37 serial console at the same time. It can log the data
, allows users
38 to take write-access of a console
(one at a time
), and has a
39 variety of bells and whistles to accentuate that basic
40 functionality. The idea is that conserver will log
all your serial
41 traffic so you can go back and review why something crashed
, look
42 at changes
(if done on the console
), or tie the console logs into a
43 monitoring system
(just watch the logfiles it creates
). With
44 multi-user capabilities you can work on equipment with others
,
45 mentor
, train
, etc. It also does
all that client-server stuff so
46 that
, assuming you have a network connection
, you can interact with
47 any of the equipment from home or wherever.
50 define Package
/conserver
/conffiles
51 /etc
/conserver
/conserver.cf
52 /etc
/conserver
/conserver.passwd
53 /etc
/conserver
/console.cf
58 --sysconfdir
=/etc
/conserver \
60 --with-logfile
=/var
/log
/conserver
/server.log
62 define Package
/conserver
/install
63 $(INSTALL_DIR
) $(1)/usr
/sbin
64 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/sbin
/conserver
$(1)/usr
/sbin
/
65 $(INSTALL_DIR
) $(1)/usr
/bin
66 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/console
$(1)/usr
/bin
/
67 $(INSTALL_DIR
) $(1)/etc
/conserver
68 $(INSTALL_CONF
) .
/files
/conserver.cf
$(1)/etc
/conserver
/
69 $(INSTALL_CONF
) .
/files
/console.cf
$(1)/etc
/conserver
/
70 touch
$(1)/etc
/conserver
/conserver.passwd
71 $(INSTALL_DIR
) $(1)/etc
/init.d
72 $(INSTALL_BIN
) .
/files
/conserver.init
$(1)/etc
/init.d
/conserver
75 $(eval
$(call BuildPackage
,conserver
))