diff options
author | Rene Ladan <rene@FreeBSD.org> | 2017-09-03 09:51:31 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2017-09-03 09:51:31 +0000 |
commit | 54f629eb0ef1be2fa022d67150e1743d17a06e9a (patch) | |
tree | 6da900978e2b116c426e730e0d877f9276ed02ad /ports-mgmt | |
parent | 166d12ce5c9f651376f618a43b8ce107302c92f2 (diff) | |
download | ports-54f629eb0ef1be2fa022d67150e1743d17a06e9a.tar.gz ports-54f629eb0ef1be2fa022d67150e1743d17a06e9a.zip |
Notes
Diffstat (limited to 'ports-mgmt')
-rw-r--r-- | ports-mgmt/Makefile | 1 | ||||
-rw-r--r-- | ports-mgmt/fbsdmon/Makefile | 36 | ||||
-rw-r--r-- | ports-mgmt/fbsdmon/distinfo | 2 | ||||
-rw-r--r-- | ports-mgmt/fbsdmon/files/600.fbsdmon.in | 25 | ||||
-rw-r--r-- | ports-mgmt/fbsdmon/files/fbsdmon.in | 27 | ||||
-rw-r--r-- | ports-mgmt/fbsdmon/files/patch-src_io.c | 18 | ||||
-rw-r--r-- | ports-mgmt/fbsdmon/files/pkg-message.in | 10 | ||||
-rw-r--r-- | ports-mgmt/fbsdmon/pkg-descr | 6 | ||||
-rw-r--r-- | ports-mgmt/fbsdmon/pkg-plist | 3 |
9 files changed, 0 insertions, 128 deletions
diff --git a/ports-mgmt/Makefile b/ports-mgmt/Makefile index e8a44212ece8..7319b87895d1 100644 --- a/ports-mgmt/Makefile +++ b/ports-mgmt/Makefile @@ -11,7 +11,6 @@ SUBDIR += dialog4ports-static SUBDIR += distilator SUBDIR += fastest_sites - SUBDIR += fbsdmon SUBDIR += freebsd-bugzilla-cli SUBDIR += genpatch SUBDIR += genplist diff --git a/ports-mgmt/fbsdmon/Makefile b/ports-mgmt/fbsdmon/Makefile deleted file mode 100644 index fee6efbcd9f2..000000000000 --- a/ports-mgmt/fbsdmon/Makefile +++ /dev/null @@ -1,36 +0,0 @@ -# Created by: Grzegorz Blach <gblach@FreeBSD.org> -# $FreeBSD$ - -PORTNAME= fbsdmon -PORTVERSION= 1.01 -PORTREVISION= 2 -CATEGORIES= ports-mgmt sysutils -MASTER_SITES= LOCAL/gblach/ - -MAINTAINER= ports@FreeBSD.org -COMMENT= Submit system and ports statistics to fbsdmon.org - -LIB_DEPENDS= libcurl.so:ftp/curl \ - libjansson.so:devel/jansson - -DEPRECATED= no longer maintained, web site it sends data to has been taken over by cybersquatters -EXPIRATION_DATE=2017-09-01 - -.if !defined(PACKAGE_BUILDING) -IGNORE= ${DEPRECATED} -.endif - -SUB_FILES= 600.fbsdmon pkg-message -USE_RC_SUBR= fbsdmon - -post-patch: - @${REINPLACE_CMD} '/^LIBS =/s/$$/ -lz/' ${WRKSRC}/Makefile - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/fbsdmon ${STAGEDIR}${PREFIX}/sbin - ${MKDIR} ${STAGEDIR}/var/db/fbsdmon - ${MKDIR} ${STAGEDIR}${PREFIX}/etc/periodic/weekly - ${INSTALL_SCRIPT} ${WRKDIR}/600.fbsdmon \ - ${STAGEDIR}${PREFIX}/etc/periodic/weekly - -.include <bsd.port.mk> diff --git a/ports-mgmt/fbsdmon/distinfo b/ports-mgmt/fbsdmon/distinfo deleted file mode 100644 index dbf33e5aeb07..000000000000 --- a/ports-mgmt/fbsdmon/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (fbsdmon-1.01.tar.gz) = e42a3a6822e23b84e662227d177b63fcd297f14f3691d641e0b9af63cbc93de1 -SIZE (fbsdmon-1.01.tar.gz) = 3864 diff --git a/ports-mgmt/fbsdmon/files/600.fbsdmon.in b/ports-mgmt/fbsdmon/files/600.fbsdmon.in deleted file mode 100644 index bf5e882f64a3..000000000000 --- a/ports-mgmt/fbsdmon/files/600.fbsdmon.in +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# If there is a global system configuration file, suck it in. -# -if [ -r /etc/defaults/periodic.conf ] -then - . /etc/defaults/periodic.conf - source_periodic_confs -fi - -case "$weekly_fbsdmon_enable" in - [Yy][Ee][Ss]) - echo "" - echo "Sending statistic to fbsdmon.org" - - %%PREFIX%%/sbin/fbsdmon -D -s - rc=$?;; - - *) rc=0;; -esac - -exit $rc diff --git a/ports-mgmt/fbsdmon/files/fbsdmon.in b/ports-mgmt/fbsdmon/files/fbsdmon.in deleted file mode 100644 index 8d0b7d65c9ca..000000000000 --- a/ports-mgmt/fbsdmon/files/fbsdmon.in +++ /dev/null @@ -1,27 +0,0 @@ -#!/bin/sh -# -# $FreeBSD$ -# - -# PROVIDE: fbsdmon -# REQUIRE: LOGIN -# KEYWORD: shutdown - -# Add the following line to /etc/rc.conf to enable `fbsdmon': -# -# fbsdmon_enable="YES" -# - - -. /etc/rc.subr - -name=fbsdmon -rcvar=fbsdmon_enable - -load_rc_config "$name" -: ${fbsdmon_enable="NO"} - -command="%%PREFIX%%/sbin/$name" -command_args="-D" - -run_rc_command "$1" diff --git a/ports-mgmt/fbsdmon/files/patch-src_io.c b/ports-mgmt/fbsdmon/files/patch-src_io.c deleted file mode 100644 index 260471c80648..000000000000 --- a/ports-mgmt/fbsdmon/files/patch-src_io.c +++ /dev/null @@ -1,18 +0,0 @@ ---- src/io.c.orig 2014-09-06 23:04:23 UTC -+++ src/io.c -@@ -16,6 +16,15 @@ extern char *fbsdmon_url(char *path) - if(NULL != prefix) prefix = strdup(prefix); - else prefix = strdup("http://fbsdmon.org/"); - -+ if (strstr(prefix, "fbsdmon.org") != NULL) { -+ fprintf(stderr, "fbsdmon is no longer supported, and the " -+ "web site it sends data to (http://fbsdmon.org/), " -+ "has been taken over by cybersquatters. Refusing " -+ "to send system info to an unknown party. Please " -+ "deinstall fbsdmon package.\n\n"); -+ exit(1); -+ } -+ - char *url = malloc(strlen(prefix) + strlen(path) + 1); - bzero(url, 1); - strcat(url, prefix); diff --git a/ports-mgmt/fbsdmon/files/pkg-message.in b/ports-mgmt/fbsdmon/files/pkg-message.in deleted file mode 100644 index a6ec40605528..000000000000 --- a/ports-mgmt/fbsdmon/files/pkg-message.in +++ /dev/null @@ -1,10 +0,0 @@ - - To enable weekly reporting, add this line to /etc/periodic.conf: - weekly_fbsdmon_enable="YES" - - To enable boottime reporting, add this line to /etc/rc.conf: - fbsdmon_enable="YES" - - To run it manually, run command: - %%PREFIX%%/sbin/fbsdmon - diff --git a/ports-mgmt/fbsdmon/pkg-descr b/ports-mgmt/fbsdmon/pkg-descr deleted file mode 100644 index 15590c742e20..000000000000 --- a/ports-mgmt/fbsdmon/pkg-descr +++ /dev/null @@ -1,6 +0,0 @@ -Submit system and ports statistics to fbsdmon.org. - -Statistics can be sent from command line, from rc script -or from periodic script. - -WWW: http://fbsdmon.org/ diff --git a/ports-mgmt/fbsdmon/pkg-plist b/ports-mgmt/fbsdmon/pkg-plist deleted file mode 100644 index 0ed0b1b67a2d..000000000000 --- a/ports-mgmt/fbsdmon/pkg-plist +++ /dev/null @@ -1,3 +0,0 @@ -sbin/fbsdmon -etc/periodic/weekly/600.fbsdmon -@dir /var/db/fbsdmon |