[arch-commits] Commit in ser2net/repos (3 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 16:10:31 UTC 2020


    Date: Tuesday, July 7, 2020 @ 16:10:31
  Author: felixonmars
Revision: 659154

archrelease: copy trunk to community-staging-x86_64

Added:
  ser2net/repos/community-staging-x86_64/
  ser2net/repos/community-staging-x86_64/PKGBUILD
    (from rev 659152, ser2net/trunk/PKGBUILD)
  ser2net/repos/community-staging-x86_64/ser2net.service
    (from rev 659153, ser2net/trunk/ser2net.service)

-----------------+
 PKGBUILD        |   29 +++++++++++++++++++++++++++++
 ser2net.service |   11 +++++++++++
 2 files changed, 40 insertions(+)

Copied: ser2net/repos/community-staging-x86_64/PKGBUILD (from rev 659152, ser2net/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 16:10:31 UTC (rev 659154)
@@ -0,0 +1,29 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Contributor: Shinlun Hsieh <yngwiexx at yahoo.com.tw>
+
+pkgname=ser2net
+pkgver=4.0
+pkgrel=3
+pkgdesc="A proxy that allows telnet/tcp connections to be made to serial ports"
+arch=(x86_64)
+url="https://sourceforge.net/projects/ser2net"
+license=('GPL')
+depends=('gensio' 'libyaml')
+backup=(etc/ser2net/ser2net.yaml)
+source=(https://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
+	ser2net.service)
+sha256sums=('8673311fe3d2726c7f12094f46cdf13ec4bf3cfdcb6620d121e2c3f7d0a7bcf0'
+            'b093e1f5bf7dd826816828623a5c6858f83a9f0dcb1a9785f545b29efd1c320c')
+
+build() {
+  cd "$srcdir"/${pkgname}-${pkgver/rc/-rc}
+  ./configure --prefix=/usr --sbindir=/usr/bin --sysconfdir=/etc
+  make
+}
+
+package() {
+  cd "$srcdir"/${pkgname}-${pkgver/rc/-rc}
+  make DESTDIR="$pkgdir" install
+  install -Dm0644 ser2net.yaml "$pkgdir"/etc/ser2net/ser2net.yaml
+  install -Dm0644 "$srcdir"/ser2net.service "$pkgdir"/usr/lib/systemd/system/ser2net.service
+}

Copied: ser2net/repos/community-staging-x86_64/ser2net.service (from rev 659153, ser2net/trunk/ser2net.service)
===================================================================
--- community-staging-x86_64/ser2net.service	                        (rev 0)
+++ community-staging-x86_64/ser2net.service	2020-07-07 16:10:31 UTC (rev 659154)
@@ -0,0 +1,11 @@
+[Unit]
+Description=Proxy that allows tcp connections to serial ports
+After=syslog.target network.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/ser2net -n
+
+[Install]
+WantedBy=multi-user.target
+



More information about the arch-commits mailing list