diff options
author | Bjørn Mork <bjorn@mork.no> | 2016-03-30 21:11:26 +0200 |
---|---|---|
committer | Bjørn Mork <bjorn@mork.no> | 2016-03-30 21:11:26 +0200 |
commit | 0d6edc97de3b299aea4f17f1aa604f83d59c7927 (patch) | |
tree | 16afe4dae277653476e24883ee21bd034bf870f4 | |
parent | e885edf73e69189ce2bb2ff43fb9ef977e4dac12 (diff) |
conserver: save config and use ssl
Signed-off-by: Bjørn Mork <bjorn@mork.no>
-rw-r--r-- | conserver/Makefile | 14 | ||||
-rw-r--r-- | conserver/files/conserver.init | 2 | ||||
-rw-r--r-- | conserver/files/console.cf | 4 |
3 files changed, 17 insertions, 3 deletions
diff --git a/conserver/Makefile b/conserver/Makefile index a1ef956..20f234c 100644 --- a/conserver/Makefile +++ b/conserver/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=conserver PKG_VERSION:=8.2.1 -PKG_RELEASE:=5 +PKG_RELEASE:=7 PKG_MAINTAINER:=Bjørn Mork <bjorn@mork.no> PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz @@ -29,6 +29,7 @@ define Package/conserver CATEGORY:=Administration TITLE:=Connect multiple user to a serial console with logging URL:=http://www.conserver.com/ + DEPENDS:=+libopenssl endef define Package/conserver/description @@ -46,9 +47,17 @@ define Package/conserver/description any of the equipment from home or wherever. endef +define Package/conserver/conffiles +/etc/conserver/conserver.cf +/etc/conserver/conserver.password +/etc/conserver/console.cf +endef + CONFIGURE_ARGS += \ + --with-openssl \ --sysconfdir=/etc/$(PKG_NAME) \ - --with-port=3109 + --with-port=3109 \ + --with-logfile=/var/log/$(PKG_NAME)/server.log define Package/conserver/install $(INSTALL_DIR) $(1)/usr/sbin @@ -58,6 +67,7 @@ define Package/conserver/install $(INSTALL_DIR) $(1)/etc/$(PKG_NAME) $(INSTALL_CONF) ./files/$(PKG_NAME).cf $(1)/etc/$(PKG_NAME)/ $(INSTALL_CONF) ./files/$(PKG_NAME).passwd $(1)/etc/$(PKG_NAME)/ + $(INSTALL_CONF) ./files/console.cf $(1)/etc/$(PKG_NAME)/ $(INSTALL_DIR) $(1)/etc/init.d $(INSTALL_BIN) ./files/$(PKG_NAME).init $(1)/etc/init.d/$(PKG_NAME) endef diff --git a/conserver/files/conserver.init b/conserver/files/conserver.init index cb91f2c..c8265ff 100644 --- a/conserver/files/conserver.init +++ b/conserver/files/conserver.init @@ -5,7 +5,7 @@ START=50 start() { mkdir -m 0755 -p /var/log/conserver - service_start /usr/sbin/conserver + service_start /usr/sbin/conserver -d } stop() { diff --git a/conserver/files/console.cf b/conserver/files/console.cf new file mode 100644 index 0000000..677b31c --- /dev/null +++ b/conserver/files/console.cf @@ -0,0 +1,4 @@ +config * { + master localhost; + port 3109; +} |