- replace dead MASTER_SITE with working ones (verified) plucked from

ftpsearch
- simplify build
- we don't preformat ports man pages
- use INSTALL_ macros
- respect CC and CFLAGS
- reformat DESCR
ok turan@
This commit is contained in:
naddy 2001-02-28 21:40:56 +00:00
parent ec1cf279ac
commit db5feb6b92
4 changed files with 45 additions and 36 deletions

View File

@ -1,14 +1,14 @@
# $OpenBSD: Makefile,v 1.12 2000/10/22 14:03:48 espie Exp $
# $OpenBSD: Makefile,v 1.13 2001/02/28 21:40:56 naddy Exp $
DISTNAME= stel
CATEGORIES= security
NEED_VERSION= 1.210
MASTER_SITES= ftp://idea.sec.dsi.unimi.it/pub/security/cert-it/
MASTER_SITES= ftp://ftp.ox.ac.uk/pub/crypto/misc/ \
ftp://ftp.mupad.de/pub/crypto/misc/ \
ftp://ftp.st.ryukoku.ac.jp/pub/security/tool/stel/
MAINTAINER= Christopher Turan <turan@openbsd.org>
LICENSE_TYPE= "GPL CRYPTO"
PERMIT_PACKAGE_CDROM= No
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= No
@ -16,15 +16,12 @@ PERMIT_DISTFILES_FTP= Yes
WRKDIST= ${WRKDIR}
do-build:
@cd ${WRKSRC}/stel; ${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} ${MAKE_FLAGS} -f ${MAKE_FILE} bsdi
nroff -mandoc ${WRKSRC}/man/stel.1 > ${WRKSRC}/man/stel.cat1
nroff -mandoc ${WRKSRC}/man/steld.8 > ${WRKSRC}/man/steld.cat8
ALL_TARGET= bsdi
do-install:
install -g wheel -m 0555 -o root ${WRKSRC}/stel/stel ${PREFIX}/bin
install -g wheel -m 0555 -o root ${WRKSRC}/stel/steld ${PREFIX}/sbin
install -g wheel -m 0444 -o root ${WRKSRC}/man/stel.cat1 ${PREFIX}/man/cat1/stel.0
install -g wheel -m 0444 -o root ${WRKSRC}/man/steld.cat8 ${PREFIX}/man/cat8/steld.0
${INSTALL_PROGRAM} ${WRKSRC}/stel/stel ${PREFIX}/bin
${INSTALL_PROGRAM} ${WRKSRC}/stel/steld ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/man/stel.1 ${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/steld.8 ${PREFIX}/man/man8
.include <bsd.port.mk>

View File

@ -1,8 +1,11 @@
--- stel/Makefile.orig Sat May 4 12:05:16 1996
+++ stel/Makefile Mon Nov 16 23:31:22 1998
@@ -48,14 +48,11 @@
--- stel/Makefile.orig Sat May 4 18:05:16 1996
+++ stel/Makefile Tue Feb 27 20:11:09 2001
@@ -46,16 +46,13 @@
# OFFSET_T=long for most architectures
# OFFSET_T=off_t for POSIX systems
CC = gcc
-CC = gcc
+#CC = gcc
DEFS = -DGENERICLOGIN -DCOMBOFLAG $(SYSDEFS) ### -DSECURID
-INCDIRS = -I$(DESDIR) -I$(DESCOREDIR) -I$(SKEYDIR) -I$(GMPDIR) $(OTHERINCDIR) ### -I$(SDIDIR)
+INCDIRS = -I$(DESCOREDIR) $(OTHERINCDIR) ### -I$(SDIDIR)
@ -16,20 +19,31 @@
GNUREGEX = ../regex-0.12
# SOCKS support
@@ -70,9 +67,9 @@
@@ -68,11 +65,11 @@
###SDILIB = $(SDIDIR)/sdiclient.a
###SDILIB = $(SDIDIR)/sdiclient.a
CFLAGS = -g $(OPTIMIZE) -fwritable-strings $(DEFS) $(INCDIRS)
-CFLAGS = -g $(OPTIMIZE) -fwritable-strings $(DEFS) $(INCDIRS)
+CFLAGS += $(OPTIMIZE) -fwritable-strings $(DEFS) $(INCDIRS)
-LDFLAGS = -g $(OPTIMIZE) -L$(DESDIR) -L$(DESCOREDIR) \
- -L$(GMPDIR) -L$(SKEYDIR) $(SOCKSLIB) $(OTHERLIBDIR) -lskey -ldes \
- -lgmp $(SYSLIBS) -lm -lsocks
+LDFLAGS = -g $(OPTIMIZE) -L$(DESCOREDIR) \
+LDFLAGS = $(OPTIMIZE) -L$(DESCOREDIR) \
+ $(SOCKSLIB) $(OTHERLIBDIR) -lskey -ldes \
+ -lgmp $(SYSLIBS) -lm ## -lsocks
S5R3OBJ = utmp_init.o utmp_login.o utmp_logout.o updwtmp.o
@@ -203,7 +200,7 @@
@@ -163,7 +160,6 @@
bsdi:
make all ALLMASTER="$(BSD4OBJ) $(MASTER)" \
ALLSLAVE="$(SLAVE)" \
- OPTIMIZE="-O2" \
SYSDEFS="-DBSDI -DIDEA32 -DLOGPRI=LOG_INFO -DOFFSET_T=off_t \
-DHAS_SYS_PARAM_H" \
SYSLIBS="$(DESCORELIB)"
@@ -203,7 +199,7 @@
lint :
lint \
-DIDEA32 -DHIGHFIRST -DLOGPRI=LOG_INFO -DOFFSET_T=long \

View File

@ -1,14 +1,11 @@
DESCRIPTION
stel(1) is intented to be a simple and practical plug and
play solution for logging into a remote system or execut-
ing commands on a remote system. stel offers a variety of
features which range from mutual authentication to file
transfer. The security of stel relies upon the underlying
cryptographic desing, not trusting the net in any way.
hostname is the name of the remote system. If no options
are provided, stel defaults to triple DES encryption, 1024
bits Diffie Hellman modulus, no protection from active
attacks, and the remote system user's shell as the command
to be executed on the remote system. This should be rea-
sonable for most systems, and it is believed to be a good
compromise between speed, ease of use and security.
stel(1) is intented to be a simple and practical plug and play
solution for logging into a remote system or executing commands on
a remote system. stel offers a variety of features which range
from mutual authentication to file transfer. The security of stel
relies upon the underlying cryptographic desing, not trusting the
net in any way. If no options are provided, stel defaults to triple
DES encryption, 1024-bits Diffie-Hellman modulus, no protection
from active attacks, and the remote system user's shell as the
command to be executed on the remote system. This should be
reasonable for most systems, and it is believed to be a good
compromise between speed, ease of use and security.

View File

@ -1,4 +1,5 @@
@comment $OpenBSD: PLIST,v 1.3 2001/02/28 21:40:56 naddy Exp $
bin/stel
man/cat1/stel.0
man/cat8/steld.0
man/man1/stel.1
man/man8/steld.8
sbin/steld