Date: Thu, 3 Feb 2000 13:11:40 -0800 (PST) From: Archie Cobbs <archie@whistle.com> To: freebsd-ports@freebsd.org Subject: need help with portlint Message-ID: <200002032111.NAA99204@bubba.whistle.com>
next in thread | raw e-mail | index | archive | help
Hello, Need some help with portlint (for the security/skip port).. WARN: use of IS_INTERACTIVE discouraged. provide batch mode by using BATCH and/or FOR_CDROM. Until there is a batch mode (which right now there isn't), should I just leave the IS_INTERACTIVE in there? WARN: no MASTER_SITES found. is it ok? FATAL: no MAINTAINER listed in Makefile. WARN: "MASTER_SITES" has to appear earlier in Makefile. WARN: "EXTRACT_SUFX" has to appear earlier in Makefile. WARN: "DISTFILES" has to appear earlier in Makefile. WARN: "MAINTAINER" has to appear earlier in Makefile. WARN: "LIB_DEPENDS" has to appear earlier in Makefile. WARN: "BUILD_DEPENDS" has to appear earlier in Makefile. These I don't understand. Every time I try to reorder things (I'm randomly reordering things because I have no idea what to do), I still get that all this stuff ``has to appear earlier in Makefile'' Everything can't appear earlier than everything else! How about portlint telling me what the right order is because I can't try all factorial(21) possibilities. And MAINTAINER is listed.. why is it compliaining that it's not? I read http://www.freebsd.org/~asami/cvsguide.txt but it doesn't comment on Makefile preparation. The Makefile is included below. Thanks for any help. -Archie P.S. Please include me on replies because I don't subscribe to this list. ___________________________________________________________________________ Archie Cobbs * Whistle Communications, Inc. * http://www.whistle.com # New ports collection makefile for: skip # Version required: 1.0 # Date created: 26 November 1997 # Whom: Archie L. Cobbs <archie@whistle.com> # # $FreeBSD: ports/security/skip/Makefile,v 1.17 2000/02/01 18:39:05 archie Exp $ DISTNAME= skip-1.0 CATEGORIES= security # Note: the original source comes from Sun, via this web page: # http://skip.incog.com/src-form.html # The site below is outside of the U.S. MASTER_SITES= ftp://ftp.replaytv.com/pub/replay/crypto/APPS/skip/ \ ftp://ftp.internat.freebsd.org/pub/FreeBSD/distfiles/ DISTFILES= skipsrc-1.0.tar.Z EXTRACT_SUFX= tar.Z MAINTAINER= archie@freebsd.org BUILD_DEPENDS= ${X11BASE}/lib/libxview.a:${PORTSDIR}/x11-toolkits/xview \ ${X11BASE}/lib/X11/config/XView.cf:${PORTSDIR}/x11-toolkits/xview LIB_DEPENDS= xview.3:${PORTSDIR}/x11-toolkits/xview # The SKIP code is restricted from export from the United States and Canada. # See the file doc/00README for legal details. RESTRICTED= Contains strong crypto; no export from U.S./Canada NO_PACKAGE= ${RESTRICTED} NO_CDROM= ${RESTRICTED} IS_INTERACTIVE= yes NO_WRKSUBDIR= defined PATCH_STRIP= -p1 HAS_CONFIGURE= defined CONFIGURE_SCRIPT= Configure CONFIGURE_ARGS= freebsd USE_GMAKE= defined MTREE_FILE= ${FILESDIR}/skip.mtree MAN1= certreq.1 skiphost.1 skipstat.1 skiptool.1 skipd.1 \ skipdb.1 skipca.1 skiplocal.1 install_skip_keys.1 \ skipd_restart.1 skipif.1 skip_conf.1 skiplog.1 \ print_cert.1 MAN4= skipd.conf.4 raw_keys.4 # SKIP has a lot of hard coded paths in it. Our patches replace # them with @@PREFIX@@, which we then replace with ${PREFIX}. # Also, we remove all the "#pragma ident" lines that generate # a bazillion warnings from the compiler. post-patch: @find ${WRKSRC} -name '*.orig' -print | xargs ${RM} @cd ${WRKSRC}; \ FILES=`find . -type f -print | xargs ${GREP} -l @@PREFIX@@`; \ for FILE in $$FILES; do \ ${SED} 's!@@PREFIX@@!${PREFIX}!g' < $$FILE > $$FILE.new ; \ ${MV} $$FILE.new $$FILE; \ done; \ FILES=`find . -type f -name '*.[cCh]' -print \ | xargs ${GREP} -l '^#pragma ident'`; \ for FILE in $$FILES; do \ ${SED} '/^#pragma ident/d' < $$FILE > $$FILE.new ; \ ${MV} $$FILE.new $$FILE; \ done # This is for port maintenance, uncomment to regenerate patch set #diffs: # rm -rf patches/patch-* # diff -ur --unidirectional-new-file skipsrc-1.0.orig work.new \ # | split -p ^diff - patches/patch- .include <bsd.port.mk> To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200002032111.NAA99204>