Received: from mail.netbsd.org (mail.netbsd.org [199.233.217.200]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.NetBSD.org", Issuer "mail.NetBSD.org CA" (not verified)) by mollari.NetBSD.org (Postfix) with ESMTPS id 7CB051A921F for ; Mon, 16 Nov 2020 08:41:27 +0000 (UTC) Received: by mail.netbsd.org (Postfix, from userid 605) id B9D2584DC7; Mon, 16 Nov 2020 08:41:26 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id F27A984CCD for ; Mon, 16 Nov 2020 08:41:25 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id zKoYR1JGJbgU for ; Mon, 16 Nov 2020 08:41:25 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 6FDE584C71 for ; Mon, 16 Nov 2020 08:41:25 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 68ECAFA9D; Mon, 16 Nov 2020 08:41:25 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1605516085226900" MIME-Version: 1.0 Date: Mon, 16 Nov 2020 08:41:25 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/net/opentracker To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20201116084125.68ECAFA9D@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1605516085226900 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: wiz Date: Mon Nov 16 08:41:25 UTC 2020 Modified Files: pkgsrc/net/opentracker: Makefile PLIST Added Files: pkgsrc/net/opentracker/files: opentracker.sh Log Message: opentracker: add some options and an rc.d script Install the configuration example file. Bump PKGREVISION. To generate a diff of this commit: cvs rdiff -u -r1.2 -r1.3 pkgsrc/net/opentracker/Makefile cvs rdiff -u -r1.1 -r1.2 pkgsrc/net/opentracker/PLIST cvs rdiff -u -r0 -r1.1 pkgsrc/net/opentracker/files/opentracker.sh Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1605516085226900 Content-Disposition: inline Content-Length: 2225 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/net/opentracker/Makefile diff -u pkgsrc/net/opentracker/Makefile:1.2 pkgsrc/net/opentracker/Makefile:1.3 --- pkgsrc/net/opentracker/Makefile:1.2 Sun Nov 15 10:29:04 2020 +++ pkgsrc/net/opentracker/Makefile Mon Nov 16 08:41:25 2020 @@ -1,6 +1,7 @@ -# $NetBSD: Makefile,v 1.2 2020/11/15 10:29:04 wiz Exp $ +# $NetBSD: Makefile,v 1.3 2020/11/16 08:41:25 wiz Exp $ DISTNAME= opentracker-0.0.20180526 +PKGREVISION= 1 CATEGORIES= net MASTER_SITES= # https://erdgeist.org/gitweb/opentracker/ @@ -12,12 +13,19 @@ LICENSE= beer-ware MAKE_FLAGS+= LIBOWFAT_HEADERS=${PREFIX}/include/libowfat MAKE_FLAGS+= LIBOWFAT_LIBRARY=${PREFIX}/lib MAKE_FLAGS+= BINDIR=${DESTDIR}${PREFIX}/bin -# turn on IPv6-only support -#MAKE_FLAGS+= -DWANT_V6 -INSTALLATION_DIRS+= bin +.include "options.mk" -WRKSRC= ${WRKDIR}/opentracker +INSTALLATION_DIRS+= bin ${EGDIR} + +WRKSRC= ${WRKDIR}/opentracker + +EGDIR= share/examples/opentracker +CONF_FILES= ${EGDIR}/opentracker.conf.sample ${PKG_SYSCONFDIR}/opentracker.conf +RCD_SCRIPTS= opentracker + +post-install: + ${INSTALL_DATA} ${WRKSRC}/opentracker.conf.sample ${DESTDIR}${PREFIX}/${EGDIR} .include "../../devel/libowfat/buildlink3.mk" .include "../../mk/bsd.pkg.mk" Index: pkgsrc/net/opentracker/PLIST diff -u pkgsrc/net/opentracker/PLIST:1.1 pkgsrc/net/opentracker/PLIST:1.2 --- pkgsrc/net/opentracker/PLIST:1.1 Sun Nov 15 10:28:05 2020 +++ pkgsrc/net/opentracker/PLIST Mon Nov 16 08:41:25 2020 @@ -1,2 +1,3 @@ -@comment $NetBSD: PLIST,v 1.1 2020/11/15 10:28:05 wiz Exp $ +@comment $NetBSD: PLIST,v 1.2 2020/11/16 08:41:25 wiz Exp $ bin/opentracker +share/examples/opentracker/opentracker.conf.sample Added files: Index: pkgsrc/net/opentracker/files/opentracker.sh diff -u /dev/null pkgsrc/net/opentracker/files/opentracker.sh:1.1 --- /dev/null Mon Nov 16 08:41:25 2020 +++ pkgsrc/net/opentracker/files/opentracker.sh Mon Nov 16 08:41:25 2020 @@ -0,0 +1,17 @@ +#!@RCD_SCRIPTS_SHELL@ +# +# $NetBSD: opentracker.sh,v 1.1 2020/11/16 08:41:25 wiz Exp $ +# + +# PROVIDE: opentracker +# REQUIRE: DAEMON LOGIN + +. /etc/rc.subr + +name="vsftpd" +rcvar=$name +command="@PREFIX@/bin/${name}" +command_args="&" + +load_rc_config $name +run_rc_command "$1" --_----------=_1605516085226900--