forked from pool/ser2net
osc copypac from project:home:elvigia package:ser2net revision:2
OBS-URL: https://build.opensuse.org/package/show/network:utilities/ser2net?expand=0&rev=1
This commit is contained in:
commit
4cda3a7c94
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
## Default LFS
|
||||||
|
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.png filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||||
|
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
|||||||
|
.osc
|
3
ser2net-2.8-rc3.tar.gz
Normal file
3
ser2net-2.8-rc3.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:4548afc181242d885cb25866bf5276f4b0ec0bc23d768c53fa3952a6ea8bcee5
|
||||||
|
size 330795
|
14
ser2net.changes
Normal file
14
ser2net.changes
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Thu Dec 20 22:11:44 UTC 2012 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
- Initial version for factory, 2.8.rc3
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 26 11:03:05 AEST 2008 - developer@jefferyfernandez.id.au
|
||||||
|
|
||||||
|
- Cleaned up init script
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Mon Feb 25 22:42:05 AEST 2008 - developer@jefferyfernandez.id.au
|
||||||
|
|
||||||
|
- Initial release for openSUSE
|
||||||
|
-------------------------------------------------------------------
|
9
ser2net.service
Normal file
9
ser2net.service
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
[Unit]
|
||||||
|
Description=Proxy that allows tcp connections to serial ports
|
||||||
|
After=network.target
|
||||||
|
|
||||||
|
[Service]
|
||||||
|
ExecStart=/usr/sbin/ser2net -n
|
||||||
|
|
||||||
|
[Install]
|
||||||
|
WantedBy=multi-user.target
|
75
ser2net.spec
Normal file
75
ser2net.spec
Normal file
@ -0,0 +1,75 @@
|
|||||||
|
#
|
||||||
|
# spec file for package ser2net
|
||||||
|
#
|
||||||
|
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
|
#
|
||||||
|
# All modifications and additions to the file contributed by third parties
|
||||||
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
|
# upon. The license for this file, and modifications and additions to the
|
||||||
|
# file, is the same license as for the pristine package itself (unless the
|
||||||
|
# license for the pristine package is not an Open Source License, in which
|
||||||
|
# case the license is the MIT License). An "Open Source License" is a
|
||||||
|
# license that conforms to the Open Source Definition (Version 1.9)
|
||||||
|
# published by the Open Source Initiative.
|
||||||
|
|
||||||
|
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||||
|
#
|
||||||
|
|
||||||
|
|
||||||
|
%define extra_ver rc3
|
||||||
|
|
||||||
|
Name: ser2net
|
||||||
|
Version: 2.8
|
||||||
|
Release: 0
|
||||||
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
Url: http://ser2net.sourceforge.net/
|
||||||
|
Source: http://download.sourceforge.net/ser2net/%{name}-%{version}-%{extra_ver}.tar.gz
|
||||||
|
Source2: ser2net.service
|
||||||
|
Summary: Serial port to network proxy
|
||||||
|
License: GPL
|
||||||
|
Group: Productivity/Networking
|
||||||
|
BuildRequires: pkgconfig(systemd)
|
||||||
|
%{?systemd_requires}
|
||||||
|
|
||||||
|
%description
|
||||||
|
ser2net provides a way for a user to connect from a network connection to a
|
||||||
|
serial port. It provides all the serial port setup, a configuration file to
|
||||||
|
configure the ports, a control login for modifying port parameters,
|
||||||
|
monitoring ports, and controlling ports.
|
||||||
|
|
||||||
|
%prep
|
||||||
|
%setup -q -n %{name}-%{version}-%{extra_ver}
|
||||||
|
|
||||||
|
%build
|
||||||
|
%configure --disable-static
|
||||||
|
%{__make} %{?_smp_mflags}
|
||||||
|
|
||||||
|
%install
|
||||||
|
%make_install
|
||||||
|
%{__install} -D -m 0644 %{name}.conf %{buildroot}%{_sysconfdir}/%{name}.conf
|
||||||
|
%{__install} -D -m 0644 %{S:2} %{buildroot}%{_unitdir}/ser2net.service
|
||||||
|
|
||||||
|
%clean
|
||||||
|
rm -rf $RPM_BUILD_ROOT
|
||||||
|
|
||||||
|
%pre
|
||||||
|
%service_add_pre ser2net.service
|
||||||
|
|
||||||
|
%post
|
||||||
|
%service_add_post ser2net.service
|
||||||
|
|
||||||
|
%preun
|
||||||
|
%service_del_preun ser2net.service
|
||||||
|
|
||||||
|
%postun
|
||||||
|
%service_del_postun ser2net.service
|
||||||
|
|
||||||
|
%files
|
||||||
|
%defattr(-,root,root)
|
||||||
|
%doc COPYING ChangeLog AUTHORS README
|
||||||
|
%{_unitdir}/ser2net.service
|
||||||
|
%config(noreplace) %{_sysconfdir}/%{name}.conf
|
||||||
|
%{_sbindir}/%{name}
|
||||||
|
%{_mandir}/man8/%{name}*
|
||||||
|
|
||||||
|
%changelog
|
Loading…
Reference in New Issue
Block a user