Do not install this with special permissions (setuid uucp), and write tty
locking files in /var/spool/lock rather than /var/spool/uucp. Users need to be in group dialer for that, and to open the serial devices now; this matches OpenBSD tip(1) behaviour; itojun said it looks ok
This commit is contained in:
parent
071dc2bbed
commit
c88e83ddde
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.24 2002/06/16 13:33:49 kevlo Exp $
|
||||
# $OpenBSD: Makefile,v 1.25 2002/09/27 16:24:41 pvalchev Exp $
|
||||
|
||||
COMMENT= "X11-based presentation tool"
|
||||
|
||||
DISTNAME= magicpoint-1.09a
|
||||
PKGNAME= ${DISTNAME}p1
|
||||
CATEGORIES= misc productivity
|
||||
NEED_VERSION= 1.499
|
||||
MASTER_SITES= ftp://ftp.mew.org/pub/MagicPoint/
|
||||
|
||||
HOMEPAGE= http://www.mew.org/mgp/
|
||||
|
14
misc/magicpoint/patches/patch-contrib_xmindpath_Makefile_in
Normal file
14
misc/magicpoint/patches/patch-contrib_xmindpath_Makefile_in
Normal file
@ -0,0 +1,14 @@
|
||||
$OpenBSD: patch-contrib_xmindpath_Makefile_in,v 1.1 2002/09/27 16:24:42 pvalchev Exp $
|
||||
--- contrib/xmindpath/Makefile.in.orig Fri Sep 27 01:41:37 2002
|
||||
+++ contrib/xmindpath/Makefile.in Fri Sep 27 01:43:19 2002
|
||||
@@ -24,8 +24,8 @@ main.o: $(srcdir)/main.c
|
||||
uucplock.o: $(srcdir)/uucplock.c
|
||||
|
||||
install::
|
||||
- $(INSTALL) -s -o uucp -g bin -m 4755 $(TARGET) $(bindir)
|
||||
- $(INSTALL) -o bin -g bin -m 444 $(TARGET).1 $(mandir)/man1
|
||||
+ $(INSTALL) -s -o root -g bin $(TARGET) $(bindir)
|
||||
+ $(INSTALL) -o root -g bin -m 444 $(TARGET).1 $(mandir)/man1
|
||||
|
||||
includes::
|
||||
|
12
misc/magicpoint/patches/patch-contrib_xmindpath_pathnames_h
Normal file
12
misc/magicpoint/patches/patch-contrib_xmindpath_pathnames_h
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-contrib_xmindpath_pathnames_h,v 1.1 2002/09/27 16:24:42 pvalchev Exp $
|
||||
--- contrib/xmindpath/pathnames.h.orig Fri Sep 27 01:36:26 2002
|
||||
+++ contrib/xmindpath/pathnames.h Fri Sep 27 01:37:26 2002
|
||||
@@ -38,7 +38,7 @@
|
||||
#endif
|
||||
|
||||
#define _PATH_ACULOG "/var/log/aculog"
|
||||
-#if defined(__NetBSD__) || defined(__FreeBSD__)
|
||||
+#if defined(__NetBSD__) || defined(__FreeBSD__) || defined(__OpenBSD__)
|
||||
#define _PATH_LOCKDIRNAME "/var/spool/lock/LCK..%s"
|
||||
#else
|
||||
#define _PATH_LOCKDIRNAME "/var/spool/uucp/LCK..%s"
|
Loading…
Reference in New Issue
Block a user