Commit 331eb52a authored by Dirk Meyer's avatar Dirk Meyer

- remove SUID bit, users must be added to group dialer

PR:		149462

- update MASTER_SITES
- make portlint happier


git-svn-id: svn+ssh://svn.freebsd.org/ports/[email protected] 35697150-7ecd-e111-bb59-0022644237b5
parent 3920f51c
......@@ -4,9 +4,7 @@
PORTNAME= minicom
PORTVERSION= 2.7.1
CATEGORIES= comms
MASTER_SITES= https://alioth.debian.org/frs/download.php/file/4215/ \
http://alioth.debian.org/frs/download.php/file/4215/ \
http://fossies.org/linux/misc/
MASTER_SITES= https://fossies.org/linux/misc/
MAINTAINER= [email protected]
COMMENT= MS-DOS Telix serial communication program "workalike"
......@@ -15,11 +13,6 @@ LICENSE= GPLv2+
RUN_DEPENDS= lrz:comms/lrzsz
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
USES= iconv ncurses
CPPFLAGS+= -I${LOCALBASE}/include
LIBS+= -L${LOCALBASE}/lib ${ICONV_LIB} -lncurses
......@@ -29,6 +22,11 @@ CONFIGURE_ARGS+= --enable-dfl-baud=57600 \
--enable-lock-dir=/var/spool/lock \
--enable-dfl-port=/dev/cuau0
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext
NLS_CONFIGURE_ENABLE= nls
post-patch:
${REINPLACE_CMD} -e "[email protected]/usr/local/bin/@${LOCALBASE}/bin/@; \
[email protected]/[email protected]/[email protected];[email protected]/[email protected]/[email protected];[email protected]/[email protected]/[email protected];[email protected]/[email protected]/[email protected]; \
......@@ -38,6 +36,8 @@ post-patch:
post-install:
${INSTALL} -d -m 0755 ${STAGEDIR}${PREFIX}/etc/minicom
post-install-DOCS-on:
${INSTALL} -d -m 0755 ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${WRKSRC}/AUTHORS ${STAGEDIR}${DOCSDIR}/
${INSTALL_DATA} ${WRKSRC}/COPYING ${STAGEDIR}${DOCSDIR}/
......
--- doc/minirc.dfl.orig 2009-12-12 16:47:47.000000000 +0100
+++ doc/minirc.dfl 2011-12-28 16:07:59.000000000 +0100
--- doc/minirc.dfl.orig 2009-12-12 15:47:47 UTC
+++ doc/minirc.dfl
@@ -1,2 +1,7 @@
# $Id: minirc.dfl,v 1.1.1.1 2003-03-30 18:55:39 al-guest Exp $
# Machine-generated file - use "minicom -s" to change parameters.
......
--- src/minicom.h.orig 2011-09-30 09:57:22.000000000 +0200
+++ src/minicom.h 2011-12-28 16:12:54.000000000 +0100
--- src/minicom.h.orig 2013-12-08 10:26:03 UTC
+++ src/minicom.h
@@ -35,6 +35,7 @@
#include <time.h>
......
--- src/script.c.orig 2013-10-29 12:07:42.000000000 +0100
+++ src/script.c 2014-01-02 20:30:55.000000000 +0100
--- src/script.c.orig 2013-10-29 11:07:42 UTC
+++ src/script.c
@@ -32,6 +32,7 @@
#include <config.h>
#endif
......
--- src/updown.c.orig 2013-12-08 11:25:06.000000000 +0100
+++ src/updown.c 2014-01-02 20:30:33.000000000 +0100
--- src/updown.c.orig 2013-12-08 10:25:06 UTC
+++ src/updown.c
@@ -298,7 +298,7 @@ void updown(int what, int nr)
do_log("%s", cmdline); /* jl 22.06.97 */
......
--- src/window.c.orig 2010-12-12 14:56:25.000000000 +0100
+++ src/window.c 2011-12-28 16:07:59.000000000 +0100
@@ -66,6 +66,7 @@ static const char *CE, *Al, *Dl, *AL, *D
--- src/window.c.orig 2010-12-12 13:56:25 UTC
+++ src/window.c
@@ -66,6 +66,7 @@ static const char *CE, *Al, *Dl, *AL, *DL;
static const char *CS, *SF, *SR, *VB, *BL;
static const char *VE, *VI, *KS, *KE;
static const char *CD, *CL, *IC, *DC;
......
--- src/sysdep1.c.orig 2009-12-12 16:47:47.000000000 +0100
+++ src/sysdep1.c 2011-12-28 16:07:59.000000000 +0100
--- src/sysdep1.c.orig 2009-12-12 15:47:47 UTC
+++ src/sysdep1.c
@@ -65,13 +65,13 @@ static void m_setrts(int fd)
if (portfd_is_socket)
return;
......
@owner uucp
@group dialer
@mode 4511
bin/minicom
@owner
@group
@mode
bin/xminicom
bin/runscript
bin/ascii-xfr
@dir %%ETCDIR%%
man/man1/minicom.1.gz
man/man1/runscript.1.gz
man/man1/ascii-xfr.1.gz
......@@ -30,7 +25,6 @@ man/man1/xminicom.1.gz
%%NLS%%share/locale/sv/LC_MESSAGES/minicom.mo
%%NLS%%share/locale/vi/LC_MESSAGES/minicom.mo
%%NLS%%share/locale/zh_TW/LC_MESSAGES/minicom.mo
@dir(uucp,,) etc/minicom
%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
%%PORTDOCS%%%%DOCSDIR%%/COPYING
%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment