Skip to content

Commit

Permalink
Can't believe this never got merged. Oops.
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Petersen committed Mar 15, 2017
2 parents 0484dba + db3a47c commit cb22c80
Show file tree
Hide file tree
Showing 11 changed files with 65 additions and 3 deletions.
12 changes: 11 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ NOTE: The OpenSSL dev package is needed in order to compile with SSL support.
8. sudo /etc/init.d/ser2sock start
9. To run more than one instantiation follow instructions in the init/ser2sock script

Installation (Debian/Ubuntu)
============================

1. sudo apt-get install build-essential autotools-dev devscripts
2. debuild -i -us -uc -b
3. sudo dpkg -i ../ser2sock*.deb
4. sudo update-rc.d ser2sock defaults
5. sudo /etc/init.d/ser2sock start
6. To run more than one instantiation follow instructions in the /etc/init.d/ser2sock script

Installation (Mac OS X)
=======================

Expand Down Expand Up @@ -64,7 +74,7 @@ Using with more than one serial port (multiple daemon)
======================================================

1. Follow basic installation instructions above.
2. Make an additional copy of the /etc/init.d/ser2sock scrip for each serial
2. Make an additional copy of the /etc/init.d/ser2sock script for each serial
port you wish to use but use a unique filename such as /etc/init.d/ser2sock.1 ,
ser2sock.2 , etc.
3. Edit each file and change the "Provides:" line to use the same name that you
Expand Down
5 changes: 5 additions & 0 deletions debian/changelog
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ser2sock (1.4.4-1) unstable; urgency=low

* Initial release

-- Lionel Ains <[email protected]> Tue, 22 Apr 2014 14:11:17 +0200
1 change: 1 addition & 0 deletions debian/compat
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
8
17 changes: 17 additions & 0 deletions debian/control
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
Source: ser2sock
Section: comm
Priority: extra
Maintainer: Lionel Ains <[email protected]>
Build-Depends: debhelper (>= 8.0.0), autotools-dev, libssl-dev
Standards-Version: 3.9.3
Homepage: https://github.com/nutechsoftware/ser2sock
#Vcs-Git: git:https://git.debian.org/collab-maint/ser2sock.git
#Vcs-Browser: http:https://git.debian.org/?p=collab-maint/ser2sock.git;a=summary

Package: ser2sock
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, libssl1.0.0
Recommends: openssl
Description: Serial to Socket Redirector
The ser2sock utility allows sharing of a serial device over a TCP/IP
network. It also supports encryption and authentication via OpenSSL.
12 changes: 12 additions & 0 deletions debian/copyright
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
Format: http:https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: ser2sock
Upstream-Contact: [email protected]
Source: https://github.com/nutechsoftware/ser2sock

Files: *
Copyright: 2010 Sean Mathews <[email protected]>
2013 Scott Petersen <[email protected]>
License: GPL-3
The full text of the GNU General Public License version 3 is available on
Debian systems in /usr/share/common-licenses/GPL-3.

2 changes: 2 additions & 0 deletions debian/docs
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
NEWS
README.md
1 change: 1 addition & 0 deletions debian/init.d
2 changes: 2 additions & 0 deletions debian/install
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
ser2sock usr/bin

13 changes: 13 additions & 0 deletions debian/rules
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#!/usr/bin/make -f
# -*- makefile -*-
# Sample debian/rules that uses debhelper.
# This file was originally written by Joey Hess and Craig Small.
# As a special exception, when this file is copied by dh-make into a
# dh-make output file, you may use that output file without restriction.
# This special exception was added by Craig Small in version 0.37 of dh-make.

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

%:
dh $@ --with autotools-dev
1 change: 1 addition & 0 deletions debian/source/format
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.0 (quilt)
2 changes: 0 additions & 2 deletions init/ser2sock
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@
# SER2SOCK

### BEGIN INIT INFO
#
# Provides: ser2sock
# Required-Start: $remote_fs
# Required-Stop: $remote_fs
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: init script for ser2sock instantiation
# Description: This is the initialization script for ser2sock.
#
### END INIT INFO


Expand Down

0 comments on commit cb22c80

Please sign in to comment.