diff options
author | danfe <danfe@FreeBSD.org> | 2018-02-04 16:54:30 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2018-02-04 16:54:30 +0800 |
commit | fbb51f9b7c410f77450566744e2e6bd9807dc034 (patch) | |
tree | d8d0d1537b2cd6d1562fc824ed10fcf9983ab8cd /comms/ser2net | |
parent | 4398933bb4961b77e87ee08e081374587a0a9ce3 (diff) | |
download | freebsd-ports-gnome-fbb51f9b7c410f77450566744e2e6bd9807dc034.tar.gz freebsd-ports-gnome-fbb51f9b7c410f77450566744e2e6bd9807dc034.tar.zst freebsd-ports-gnome-fbb51f9b7c410f77450566744e2e6bd9807dc034.zip |
- Update `comms/ser2net' to version 3.5
- Drop unneeded `autoreconf' from USES list
- Unroll .for loop when installing documentation
PR: 225507
Diffstat (limited to 'comms/ser2net')
-rw-r--r-- | comms/ser2net/Makefile | 10 | ||||
-rw-r--r-- | comms/ser2net/distinfo | 5 | ||||
-rw-r--r-- | comms/ser2net/files/patch-devcfg.c | 21 |
3 files changed, 14 insertions, 22 deletions
diff --git a/comms/ser2net/Makefile b/comms/ser2net/Makefile index 9c1f9606806a..3d60c484f168 100644 --- a/comms/ser2net/Makefile +++ b/comms/ser2net/Makefile @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= ser2net -PORTVERSION= 2.10.0 +PORTVERSION= 3.5 CATEGORIES= comms net MASTER_SITES= SF/${PORTNAME}/${PORTNAME} @@ -14,7 +14,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING USE_RC_SUBR= ${PORTNAME} -USES= autoreconf libtool +USES= libtool GNU_CONFIGURE= yes PORTDOCS= AUTHORS ChangeLog NEWS README @@ -32,6 +32,8 @@ post-patch: @${REINPLACE_CMD} -e \ 's!ttyS!cuad!g' ${WRKSRC}/${i} .endfor + @${REINPLACE_CMD} -e '/#include <values\.h>/d' \ + ${WRKSRC}/readconfig.c do-install: ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} \ @@ -43,8 +45,6 @@ do-install: do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} -.for i in ${PORTDOCS} - (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR}) -.endfor + ${INSTALL_DATA} ${PORTDOCS:S!^!${WRKSRC}/!} ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> diff --git a/comms/ser2net/distinfo b/comms/ser2net/distinfo index eb4b4ae90a94..826c40ad805a 100644 --- a/comms/ser2net/distinfo +++ b/comms/ser2net/distinfo @@ -1,2 +1,3 @@ -SHA256 (ser2net-2.10.0.tar.gz) = 98f6193225338e25f35302fef5e1f16688693ed43e7b3c3e9e09187eb54547ac -SIZE (ser2net-2.10.0.tar.gz) = 364322 +TIMESTAMP = 1511367623 +SHA256 (ser2net-3.5.tar.gz) = ba9e1d60a89fd7ed075553b4a2074352902203f7fbd9b65b15048c05f0e3f3be +SIZE (ser2net-3.5.tar.gz) = 436782 diff --git a/comms/ser2net/files/patch-devcfg.c b/comms/ser2net/files/patch-devcfg.c index e648e5aee6eb..75fc2b43536e 100644 --- a/comms/ser2net/files/patch-devcfg.c +++ b/comms/ser2net/files/patch-devcfg.c @@ -1,20 +1,11 @@ ---- devcfg.c.orig 2014-12-28 21:15:39.000000000 +0200 -+++ devcfg.c 2014-12-28 21:18:04.000000000 +0200 -@@ -31,7 +31,7 @@ - #include <signal.h> - #include <errno.h> - #include <syslog.h> --#include <linux/serial.h> -+#include <sys/serial.h> - - #include "ser2net.h" - #include "selector.h" -@@ -133,7 +133,7 @@ get_rate_from_baud_rate(int baud_rate, i +--- devcfg.c.orig 2017-10-23 12:43:23 UTC ++++ devcfg.c +@@ -144,7 +144,7 @@ get_rate_from_baud_rate(int baud_rate, int *val, int c } #ifdef USE_UUCP_LOCKING --static char *uucp_lck_dir = "/var/lock"; -+static char *uucp_lck_dir = "/var/spool/lock"; +-static char *uucp_lck_dir = "/var/lock/"; ++static char *uucp_lck_dir = "/var/spool/lock/"; + static char *dev_prefix = "/dev/"; static int - uucp_fname_lock_size(char *devname) |