# This package provides the com_err library, which is also in e2fsprogs (but # marked as a collision there). GARNAME = krb5 GARVERSION = 1.6.3 CATEGORIES = net MASTER_SITES = tar:// http://web.mit.edu/kerberos/dist/krb5/1.6/ DISTFILES = $(DISTNAME)-signed.tar $(DISTNAME).tar.gz SIGFILES = $(DISTNAME).tar.gz.asc LIBDEPS = devel/tcl sys/ncurses net/openssl DESCRIPTION = A distributed authentication system HOME_URL = http://web.mit.edu/kerberos/ CONFIGURE_SCRIPTS = $(WORKSRC)/src/configure BUILD_SCRIPTS = $(WORKSRC)/src/Makefile INSTALL_SCRIPTS = $(WORKSRC)/src/Makefile-DESTDIR rename CONFIGURE_ARGS = $(DIRPATHS) \ --enable-shared \ --without-krb4 \ --with-tcl=$(prefix) include ../../gar.mk # The shipped file is a tar archive containing the real distfile and the # signature; use a magic protocol to extract them. tar//$(DISTNAME).tar.gz tar//$(DISTNAME).tar.gz.asc: $(DOWNLOADDIR)/$(DISTNAME)-signed.tar cd $(DOWNLOADDIR) && tar -xf $(DISTNAME)-signed.tar $(notdir $@) # I don't want to prefix all the executables, since things like kinit don't # need it. However, ftp, telnet etc. will collide with other packages, so we # append .krb5 to their names. install-rename: for x in ftp rcp rlogin rsh telnet ; do \ mv -f $(packageprefix)/bin/$$x $(packageprefix)/bin/$$x.krb5 ; \ mv -f $(packageprefix)/man/man1/$$x.1 $(packageprefix)/man/man1/$$x.krb5.1 ; \ done for x in ftpd telnetd ; do \ mv -f $(packageprefix)/sbin/$$x $(packageprefix)/sbin/$$x.krb5 ; \ mv -f $(packageprefix)/man/man8/$$x.8 $(packageprefix)/man/man8/$$x.krb5.8 ; \ done $(MAKECOOKIE)