diff --git a/comms/minicom/Makefile b/comms/minicom/Makefile index c538d80e7b9..d400af78054 100644 --- a/comms/minicom/Makefile +++ b/comms/minicom/Makefile @@ -1,11 +1,11 @@ -# $OpenBSD: Makefile,v 1.37 2002/09/01 18:49:00 mpech Exp $ +# $OpenBSD: Makefile,v 1.38 2002/09/28 00:46:11 pvalchev Exp $ COMMENT= "MS-DOS Telix-like serial communication program" -DISTNAME= ${PKGNAME}.src -PKGNAME= minicom-2.00.0 +VER= 2.00.0 +DISTNAME= minicom-${VER}.src +PKGNAME= minicom-${VER}p1 CATEGORIES= comms -NEED_VERSION= 1.528 MASTER_SITES= ${MASTER_SITE_BACKUP} \ ${MASTER_SITE_SUNSITE:=apps/serialcomm/dialout/} @@ -20,7 +20,7 @@ PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes -WRKDIST= ${WRKDIR}/${PKGNAME} +WRKDIST= ${WRKDIR}/minicom-${VER} COPTS= -DHAS_EUID CONFIGURE_STYLE= autoconf @@ -34,8 +34,6 @@ post-patch: post-install: - @chown uucp:dialer ${PREFIX}/bin/minicom - @chmod 4111 ${PREFIX}/bin/minicom ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/minicom ${INSTALL_DATA} ${WRKDIST}/doc/minicom.users \ ${PREFIX}/share/examples/minicom/minicom.users.sample diff --git a/comms/minicom/pkg/MESSAGE b/comms/minicom/pkg/MESSAGE new file mode 100644 index 00000000000..8eca6e81359 --- /dev/null +++ b/comms/minicom/pkg/MESSAGE @@ -0,0 +1,12 @@ ++------------------- +| +| minicom is installed with permissions set at 555. +| +| To allow users to run minicom, you should put them in group dialer. +| +| If you wish to use ${SYSCONFDIR}/minicom/minicom.users to restrict +| user behaviour to specific configurations or ports, then you +| must change the permissions on ${PREFIX}/bin/minicom to be mode 4551 +| owned by uucp:dialer and *not* put users in group dialer. +| ++------------------- diff --git a/comms/minicom/pkg/PLIST b/comms/minicom/pkg/PLIST index 6e54bd504b9..009031893d3 100644 --- a/comms/minicom/pkg/PLIST +++ b/comms/minicom/pkg/PLIST @@ -1,11 +1,7 @@ -@comment $OpenBSD: PLIST,v 1.11 2002/03/22 05:31:37 form Exp $ +@comment $OpenBSD: PLIST,v 1.12 2002/09/28 00:46:11 pvalchev Exp $ bin/ascii-xfr -@owner uucp -@group dialer -@mode 6111 +@mode 555 bin/minicom -@owner -@group @mode bin/runscript man/man1/ascii-xfr.1