Index: head/net/ntpa/pkg-deinstall =================================================================== --- head/net/ntpa/pkg-deinstall (revision 448207) +++ head/net/ntpa/pkg-deinstall (nonexistent) @@ -1,32 +0,0 @@ -#! /bin/sh - -delnewsyslog() { - tmp="/etc/#ntpa$$" - sed -e '/^\/var\/log\/ntpa\/ntpa.log /d' /etc/newsyslog.conf >${tmp} - cat ${tmp} > /etc/newsyslog.conf - rm ${tmp} -} - -newsyslog() { - ENTRY=`grep /var/log/ntpa/ntpa.log /etc/newsyslog.conf` - DEFAULT='/var/log/ntpa/ntpa.log root:ntpa 660 10 * @T00 C /var/run/ntpa/ntpa.pid SIGUSR2' - if [ -z "$ENTRY" ]; then - exit 0 - elif [ "$ENTRY" = "$DEFAULT" ]; then - delnewsyslog - else - echo "You have changed the default ntpa entry in \"/etc/newsyslog.conf\"". - echo "If you deinstall ntpa permanently, you have to manually remove it" - fi -} - - -case $2 in - DEINSTALL) - if [ -z "${PACKAGE_BUILDING}" ]; then - newsyslog - fi - ;; - POST-DEINSTALL) - ;; -esac Property changes on: head/net/ntpa/pkg-deinstall ___________________________________________________________________ Deleted: fbsd:nokeywords ## -1 +0,0 ## -yes \ No newline at end of property Deleted: svn:eol-style ## -1 +0,0 ## -native \ No newline at end of property Deleted: svn:mime-type ## -1 +0,0 ## -text/plain \ No newline at end of property Index: head/net/ntpa/pkg-install =================================================================== --- head/net/ntpa/pkg-install (revision 448207) +++ head/net/ntpa/pkg-install (nonexistent) @@ -1,21 +0,0 @@ -#! /bin/sh - -newsyslog() { - if grep -q /var/log/ntpa/ntpa.log /etc/newsyslog.conf; then - : - else - cat >> /etc/newsyslog.conf < # $FreeBSD$ PORTNAME= ntpa -PORTVERSION= 0.8.1 -PORTREVISION= 1 +PORTVERSION= 0.8.2 CATEGORIES= net -MASTER_SITES= http://dist.innolan.net/ +MASTER_SITES= http://dist1.innolan.net/ \ + http://dist2.innolan.net/ -MAINTAINER= cs@innolan.dk +MAINTAINER= cs@innolan.net COMMENT= NTP data collection and charting LICENSE= MIT BSD3CLAUSE PostgreSQL GPLv2 LICENSE_COMB= multi BUILD_DEPENDS= newtonsoft-json>=0:devel/newtonsoft-json RUN_DEPENDS= newtonsoft-json>=0:devel/newtonsoft-json USES= mono pkgconfig autoreconf gmake GNU_CONFIGURE= yes NO_ARCH= yes OPTIONS_SUB= yes USE_RC_SUBR= ntpa USERS= ntpa GROUPS= ntpa SUB_FILES= ntpad ntpav ntpac ntpag OPTIONS_DEFINE= WEBFILES GRAPH WEBFILES_DESC= Install web files GRAPH_DESC= Graph generation (requires Cairo) GRAPH_BUILD_DEPENDS= nplot>=0:graphics/nplot GRAPH_RUN_DEPENDS= nplot>=0:graphics/nplot CONFIGURE_ARGS+= --libdir=${LOCALBASE}/libexec --bindir=${LOCALBASE}/libexec/ntpa .include .if ! ${PORT_OPTIONS:MGRAPH} CONFIGURE_ENV+= NPLOT_CFLAGS=" " NPLOT_LIBS="-r:../packages/NPlot.0.9.10.0/lib/net20/NPlot.dll" .endif post-install-WEBFILES-on: ${MKDIR} ${STAGEDIR}${WWWDIR} (cd ${WRKSRC}/html && ${COPYTREE_SHARE} . ${STAGEDIR}${WWWDIR}) post-install: ${INSTALL_SCRIPT} ${WRKDIR}/ntpad ${STAGEDIR}${PREFIX}/sbin/ntpa ${INSTALL_SCRIPT} ${WRKDIR}/ntpav ${STAGEDIR}${PREFIX}/sbin ${INSTALL_SCRIPT} ${WRKDIR}/ntpag ${STAGEDIR}${PREFIX}/sbin ${INSTALL_SCRIPT} ${WRKDIR}/ntpac ${STAGEDIR}${PREFIX}/sbin ${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/graph.conf ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/ntpd.conf ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/openntp.conf ${STAGEDIR}${EXAMPLESDIR} ${INSTALL_DATA} ${WRKSRC}/examples/small.conf ${STAGEDIR}${EXAMPLESDIR} ${MKDIR} ${STAGEDIR}${PREFIX}/etc/ntpa/ ${INSTALL_DATA} ${WRKSRC}/examples/ntpa.conf ${STAGEDIR}${PREFIX}/etc/ntpa/ntpa.conf.sample ${INSTALL_MAN} ${WRKSRC}/docs/ntpa.1 ${STAGEDIR}${PREFIX}/man/man1 + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/CHANGES ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/DATABASE ${STAGEDIR}${DOCSDIR} + ${INSTALL_MAN} ${WRKSRC}/INSTALL ${STAGEDIR}${DOCSDIR} ${MKDIR} ${STAGEDIR}/var/log/ntpa ${MKDIR} ${STAGEDIR}/var/run/ntpa + ${INSTALL_DATA} ${FILESDIR}/newsyslog ${STAGEDIR}${ETCDIR}/ntpa.newsyslog .include Index: head/net/ntpa/distinfo =================================================================== --- head/net/ntpa/distinfo (revision 448207) +++ head/net/ntpa/distinfo (revision 448208) @@ -1,3 +1,3 @@ -TIMESTAMP = 1482761372 -SHA256 (ntpa-0.8.1.tar.gz) = 38954b130aaecb255961272080c800ec700db108deb2b05a18a98c575f7f5978 -SIZE (ntpa-0.8.1.tar.gz) = 1426223 +TIMESTAMP = 1501060995 +SHA256 (ntpa-0.8.2.tar.gz) = 26a763b64cd5bd8e9cfa35c9c51a1cf4b11fa84a26404623679008d1df6ec9eb +SIZE (ntpa-0.8.2.tar.gz) = 1422714 Index: head/net/ntpa/files/newsyslog =================================================================== --- head/net/ntpa/files/newsyslog (nonexistent) +++ head/net/ntpa/files/newsyslog (revision 448208) @@ -0,0 +1 @@ +/var/log/ntpa/ntpa.log root:ntpa 660 10 * @T00 C /var/run/ntpa/ntpa.pid SIGUSR2 Property changes on: head/net/ntpa/files/newsyslog ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/net/ntpa/pkg-descr =================================================================== --- head/net/ntpa/pkg-descr (revision 448207) +++ head/net/ntpa/pkg-descr (revision 448208) @@ -1,8 +1,8 @@ NTP Analyzer is a tool dedicated to analyze the operation of time servers. NTP Analyzer collects data from ntp daemons and can be configured to generate graphs and web pages to visualize the activities of supervised hosts and peers. -WWW: https://bitbucket.org/anguist/ntpa +WWW: http://ntpa.innolan.net/ Index: head/net/ntpa/pkg-message =================================================================== --- head/net/ntpa/pkg-message (revision 448207) +++ head/net/ntpa/pkg-message (revision 448208) @@ -1,9 +1,9 @@ ************************************************************************ NTP Analyzer has been installed. If this is the first time remember to -create a MySQL or PostgreSQL user and database first. +create a MariaDB, MySQL or PostgreSQL user and database first. If you are upgrading from a previous version of NTP Analyzer be sure to -make a backup of your database before starting ntpa in upgrade mode. +take a backup of your database before starting ntpa in upgrade mode. ************************************************************************ Index: head/net/ntpa/pkg-plist =================================================================== --- head/net/ntpa/pkg-plist (revision 448207) +++ head/net/ntpa/pkg-plist (revision 448208) @@ -1,58 +1,63 @@ sbin/ntpa sbin/ntpac sbin/ntpag sbin/ntpav libexec/ntpa/MySql.Data.dll libexec/ntpa/Npgsql.dll libexec/ntpa/Ntp.Analyzer.dll libexec/ntpa/Ntp.Analyzer.Cli.exe libexec/ntpa/Ntp.Analyzer.Data.dll libexec/ntpa/Ntp.Analyzer.Import.dll libexec/ntpa/Ntp.Analyzer.Monitor.Client.dll libexec/ntpa/Ntp.Analyzer.Monitor.Cli.exe libexec/ntpa/Ntp.Analyzer.Monitor.Server.dll libexec/ntpa/Ntp.Analyzer.Objects.dll libexec/ntpa/Ntp.Analyzer.Process.dll libexec/ntpa/Ntp.Analyzer.Validate.Cli.exe libexec/ntpa/Ntp.Analyzer.Validate.Gui.exe libexec/ntpa/Ntp.Common.dll libexec/ntpa/Ntp.Data.dll libexec/ntpa/Ntp.Data.Provider.dll man/man1/ntpa.1.gz +%%DOCSDIR%%/CHANGES +%%DOCSDIR%%/DATABASE +%%DOCSDIR%%/INSTALL +@dir etc/newsyslog.conf.d +@sample %%ETCDIR%%/ntpa.newsyslog etc/newsyslog.conf.d/ntpa @sample(,ntpa,640) %%ETCDIR%%/ntpa.conf.sample @owner www @group www %%WEBFILES%%%%WWWDIR%%/index.html %%WEBFILES%%%%WWWDIR%%/css/bootstrap.css %%WEBFILES%%%%WWWDIR%%/css/bootstrap.css.map %%WEBFILES%%%%WWWDIR%%/css/bootstrap.min.css %%WEBFILES%%%%WWWDIR%%/css/bootstrap.min.css.map %%WEBFILES%%%%WWWDIR%%/css/bootstrap-theme.css %%WEBFILES%%%%WWWDIR%%/css/bootstrap-theme.css.map %%WEBFILES%%%%WWWDIR%%/css/bootstrap-theme.min.css %%WEBFILES%%%%WWWDIR%%/css/bootstrap-theme.min.css.map %%WEBFILES%%%%WWWDIR%%/css/graph.css %%WEBFILES%%%%WWWDIR%%/css/host.css %%WEBFILES%%%%WWWDIR%%/css/peer.css %%WEBFILES%%%%WWWDIR%%/fonts/glyphicons-halflings-regular.eot %%WEBFILES%%%%WWWDIR%%/fonts/glyphicons-halflings-regular.svg %%WEBFILES%%%%WWWDIR%%/fonts/glyphicons-halflings-regular.ttf %%WEBFILES%%%%WWWDIR%%/fonts/glyphicons-halflings-regular.woff %%WEBFILES%%%%WWWDIR%%/fonts/glyphicons-halflings-regular.woff2 %%WEBFILES%%%%WWWDIR%%/js/bootstrap.js %%WEBFILES%%%%WWWDIR%%/js/bootstrap.min.js %%WEBFILES%%%%WWWDIR%%/js/jquery.js %%WEBFILES%%%%WWWDIR%%/js/jquery.min.js %%WEBFILES%%%%WWWDIR%%/js/npm.js @owner @group %%EXAMPLESDIR%%/graph.conf %%EXAMPLESDIR%%/ntpd.conf %%EXAMPLESDIR%%/openntp.conf %%EXAMPLESDIR%%/small.conf %%WEBFILES%%@dir(www,ntpa,775) %%WWWDIR%% %%WEBFILES%%@dir(www,www,) %%WWWDIR%%/css %%WEBFILES%%@dir(www,www,) %%WWWDIR%%/fonts %%WEBFILES%%@dir(www,www,) %%WWWDIR%%/js @dir(ntpa,ntpa,750) /var/log/ntpa @dir(ntpa,ntpa,755) /var/run/ntpa