pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/opentracker
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.
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"
Home |
Main Index |
Thread Index |
Old Index