aboutsummaryrefslogtreecommitdiffstats
path: root/main/ser2net
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-11-04 10:40:04 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-11-04 10:40:04 +0000
commit9c3d7803d404edf00aae12d4935aecf6e57e4acd (patch)
tree2d4e52b3892671bc15dcf5193fb7ffbe363287b3 /main/ser2net
parentd3da5b4c5af7ad9550a7521031f2546e3c645d7c (diff)
downloadaports-9c3d7803d404edf00aae12d4935aecf6e57e4acd.tar.bz2
aports-9c3d7803d404edf00aae12d4935aecf6e57e4acd.tar.xz
main/ser2net: upgrade to 2.10.0
Diffstat (limited to 'main/ser2net')
-rw-r--r--main/ser2net/APKBUILD15
-rw-r--r--main/ser2net/TIOCSRS485.patch14
2 files changed, 23 insertions, 6 deletions
diff --git a/main/ser2net/APKBUILD b/main/ser2net/APKBUILD
index 7318d6eeb0..af7bae4789 100644
--- a/main/ser2net/APKBUILD
+++ b/main/ser2net/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
-# Maintainer:
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ser2net
-pkgver=2.9.1
+pkgver=2.10.0
pkgrel=0
pkgdesc="A proxy that allows telnet/tcp connections to be made to serial ports"
url="http://sourceforge.net/projects/ser2net"
@@ -13,6 +13,7 @@ makedepends="$depends_dev"
install=""
subpackages="$pkgname-doc"
source="http://heanet.dl.sourceforge.net/project/ser2net/ser2net/ser2net-$pkgver.tar.gz
+ TIOCSRS485.patch
${pkgname}.confd
${pkgname}.initd"
@@ -29,7 +30,6 @@ prepare() {
build() {
cd "$_builddir"
- update_config_sub || return 1
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -54,12 +54,15 @@ package() {
rm -f "$pkgdir"/usr/lib/*.la
}
-md5sums="80011ac0e60bbdcb65f1d7a86251e3f3 ser2net-2.9.1.tar.gz
+md5sums="cd937041144de83d41d811521e72158c ser2net-2.10.0.tar.gz
+cfeb58eb6b059e5ff09357062ad0699d TIOCSRS485.patch
100fc9cc68a766afde182d14a26bfec0 ser2net.confd
d57ce51bc3d70cf66d3837bdc0a7df7c ser2net.initd"
-sha256sums="fdee1e69903cf409bdc6f32403a566cbc6006aa9e2a4d6f8f12b90dfd5ca0d0e ser2net-2.9.1.tar.gz
+sha256sums="98f6193225338e25f35302fef5e1f16688693ed43e7b3c3e9e09187eb54547ac ser2net-2.10.0.tar.gz
+444eea3752a3209ccbba87cf2374843011595ebf495b7e4e807e39e0d08412a7 TIOCSRS485.patch
3058368970e77b8b7fcf6fca9f3530b683d9e9c27c431531f8566dde01dab849 ser2net.confd
6993e7965e17d0498b50ac09be772da436447bb7ed07520818a70b82b3a6ef80 ser2net.initd"
-sha512sums="9fd0efc853993b70c0c632a7059df7a04c832f85491194c49dd8b384e1bb1a576ed9cfe28088cc181a2f7084c88dc6ef6dabbc4ead5ad9339a7becebaa6fb8e7 ser2net-2.9.1.tar.gz
+sha512sums="dd3e37619b10d8bf20d738e90c253bc2d109e0a57ee9f3a8b2a85a69399afa5a8459a4602b2856f0b655427023a36c78330851bf7f8d8da0f28d1fe22c1d5e10 ser2net-2.10.0.tar.gz
+c545b47f49857f2a83b7250c0f3d80787e29cc2f4ca2d9b579df9f41f50ba60da26f53ec75659eede712b182cac616e438af60fd6d11c8c4acc006f7827ee9e6 TIOCSRS485.patch
15054f7aa604f93bd5a54c2bb96c9a3168905be5ace50bcd2ebeeaf9dc9ae19426388e6118e9e4850125349090ee29542c24487e64c349593a76366be4a5e501 ser2net.confd
a1dac24c0a379b8deaef66a3e53717c59a11c94e10048ed810d2c673d79cd382671d19364b33de9dd676d19c0275dd22d66e102be0c2e644d959654fd5dbeeea ser2net.initd"
diff --git a/main/ser2net/TIOCSRS485.patch b/main/ser2net/TIOCSRS485.patch
new file mode 100644
index 0000000000..8afd46f57a
--- /dev/null
+++ b/main/ser2net/TIOCSRS485.patch
@@ -0,0 +1,14 @@
+--- ./devcfg.c.orig
++++ ./devcfg.c
+@@ -41,6 +41,11 @@
+
+ #include <assert.h>
+
++#ifndef TIOCSRS485
++#define TIOCSRS485 0x542F
++#endif
++
++
+ struct devcfg_data {
+ /* Information about the terminal device. */
+ char *devname; /* The full path to the device */