aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-01-29 02:19:32 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-01-29 02:20:04 +0100
commitc0756ad6450664d5e284418696eb09fa7268b25f (patch)
tree1a370bd7a737b953b9fd58ab5327fe9a29211ef9 /main
parent9ccd5db1f8f154a87e0edadf400d31a95af6f2ed (diff)
downloadaports-c0756ad6450664d5e284418696eb09fa7268b25f.tar.bz2
aports-c0756ad6450664d5e284418696eb09fa7268b25f.tar.xz
Cleanup unused files and patches
Diffstat (limited to 'main')
-rw-r--r--main/dahdi-linux/wget-tar.patch29
-rw-r--r--main/doas/doas.conf4
-rw-r--r--main/docbook-xsl/docbook-xsl.install47
-rw-r--r--main/fuse/fuse.initd35
-rw-r--r--main/iproute2-qos/qos.confd314
-rw-r--r--main/ircservices/ircservices.confd6
-rw-r--r--main/kamailio/kamailio.cfg108
-rw-r--r--main/lm-sensors/sensors.install12
-rw-r--r--main/monit/monitrc246
-rw-r--r--main/pptpd/rcpptpd67
10 files changed, 0 insertions, 868 deletions
diff --git a/main/dahdi-linux/wget-tar.patch b/main/dahdi-linux/wget-tar.patch
deleted file mode 100644
index ca3ebfa35d..0000000000
--- a/main/dahdi-linux/wget-tar.patch
+++ /dev/null
@@ -1,29 +0,0 @@
---- ./drivers/dahdi/firmware/Makefile.orig
-+++ ./drivers/dahdi/firmware/Makefile
-@@ -60,7 +60,7 @@
-
- # If "fetch" is used, --continue is not a valid option.
- ifeq ($(WGET),wget)
--WGET_ARGS:=--continue
-+WGET_ARGS:=-c
- endif
-
- all: $(FIRMWARE)
-@@ -82,7 +82,7 @@
- echo "Attempting to download $@"; \
- if test ! -f $@; then $(DOWNLOAD) $(WGET_ARGS) $(FIRMWARE_URL)/$@; fi; \
- if test ! -f $@; then exit 1; fi; \
-- (cat $@ | gzip -d | tar --no-same-owner -xf -) \
-+ (cat $@ | gzip -d | tar -xf -) \
- fi
-
- firmware-loaders: $(FWLOADERS)
-@@ -91,7 +91,7 @@
- dahdi-fwload-vpmadt032-$(VPMADT032_VERSION).tar.gz:
- @if test ! -f $@; then echo "Attempting to download $@"; $(DOWNLOAD) $(WGET_ARGS) $(FIRMWARE_URL)/$@; fi; \
- if test ! -f $@; then exit 1; fi; \
-- (cd ../../..; cat drivers/dahdi/firmware/$@ | gzip -d | tar --no-same-owner -xf -)
-+ (cd ../../..; cat drivers/dahdi/firmware/$@ | gzip -d | tar -xf -)
-
- # Create object files suitable for linking against
- object-build: $(FIRMWARE) $(OBJECT_FILES)
diff --git a/main/doas/doas.conf b/main/doas/doas.conf
deleted file mode 100644
index 57907748ab..0000000000
--- a/main/doas/doas.conf
+++ /dev/null
@@ -1,4 +0,0 @@
-# see doas.conf(5) for configuration details
-
-# Uncomment to allow group "admin" to become root
-# permit :admin
diff --git a/main/docbook-xsl/docbook-xsl.install b/main/docbook-xsl/docbook-xsl.install
deleted file mode 100644
index a8ea3e72b2..0000000000
--- a/main/docbook-xsl/docbook-xsl.install
+++ /dev/null
@@ -1,47 +0,0 @@
-post_install() {
- if [ ! -f /etc/xml/catalog ]; then
- xmlcatalog --noout --create /etc/xml/catalog
- fi
- _NEW=`echo $1 | sed 's|\(.*\)\-.*|\1|'`
-
- xmlcatalog --noout --add "rewriteSystem" \
- "http://docbook.sourceforge.net/release/xsl/${_NEW}" \
- "/usr/share/xml/docbook/xsl-stylesheets-${_NEW}" \
- etc/xml/catalog
-
- xmlcatalog --noout --add "rewriteURI" \
- "http://docbook.sourceforge.net/release/xsl/${_NEW}" \
- "/usr/share/xml/docbook/xsl-stylesheets-${_NEW}" \
- etc/xml/catalog &&
-
- xmlcatalog --noout --add "rewriteSystem" \
- "http://docbook.sourceforge.net/release/xsl/current" \
- "/usr/share/xml/docbook/xsl-stylesheets-${_NEW}" \
- etc/xml/catalog &&
-
- xmlcatalog --noout --add "rewriteURI" \
- "http://docbook.sourceforge.net/release/xsl/current" \
- "/usr/share/xml/docbook/xsl-stylesheets-${_NEW}" \
- etc/xml/catalog
-}
-
-post_upgrade() {
- post_remove $2
- post_install $1
-}
-
-post_remove() {
- _OLD=`echo $1 | sed 's|\(.*\)\-.*|\1|'`
- xmlcatalog --noout --del "/usr/share/xml/docbook/xsl-stylesheets-${_OLD}" etc/xml/catalog
-
- if [ $(vercmp $1 1.72.0-3) -lt 0 ]; then
- xmlcatalog --noout --del "/usr/share/xml/docbook" etc/xml/catalog
- xmlcatalog --noout --del "file:///etc/xml/docbook" etc/xml/catalog
- fi
-}
-
-op=$1
-shift
-
-$op $*
-
diff --git a/main/fuse/fuse.initd b/main/fuse/fuse.initd
deleted file mode 100644
index 6c99929c22..0000000000
--- a/main/fuse/fuse.initd
+++ /dev/null
@@ -1,35 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2007 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-MOUNTPOINT=/sys/fs/fuse/connections
-
-depend() {
- need localmount
-}
-
-start() {
-
- ebegin "Starting fuse"
- if ! grep -qw fuse /proc/filesystems; then
- modprobe fuse >/dev/null 2>&1 || eerror $? "Error loading fuse module"
- fi
- if grep -qw fusectl /proc/filesystems && \
- ! grep -qw $MOUNTPOINT /proc/mounts; then
- mount -t fusectl none $MOUNTPOINT >/dev/null 2>&1 || \
- eerror $? "Error mounting control filesystem"
- fi
- eend ${?}
-
-}
-
-stop() {
-
- ebegin "Stopping fuse"
- if grep -qw $MOUNTPOINT /proc/mounts; then
- umount $MOUNTPOINT >/dev/null 2>&1 || \
- eerror $? "Error unmounting control filesystem"
- fi
- eend ${?}
-
-}
diff --git a/main/iproute2-qos/qos.confd b/main/iproute2-qos/qos.confd
deleted file mode 100644
index 60d4093726..0000000000
--- a/main/iproute2-qos/qos.confd
+++ /dev/null
@@ -1,314 +0,0 @@
-###########################################################################################################
-#
-# Traffic Control configuration
-#
-# Copyright (c) 2009 iilluzion
-#
-# Distributed under GPL-2
-#
-###########################################################################################################
-##### MAIN CONFIGURATION PARAMETERS
-####
-### uplink and downlink rates should be set very precisely
-## RATE_SUB_PERCENT should be set to allow the Router to control a queue
-#
-###########################################################################################################
-# Specify the upload speed of your internet connection (kbit, mbit).
-# Since ISPs tend to overestimate the speeds they offer, it would
-# probably be best if you measure this on a free line.
-#
-### UPLINK_RATE=128kbit
-### UPLINK_RATE=256kbit
-UPLINK_RATE=512kbit
-
-
-###########################################################################################################
-# Specify the download speed of your internet connection (kbit, mbit).
-#
-### DOWNLINK_RATE=256kbit
-### DOWNLINK_RATE=512kbit
-DOWNLINK_RATE=1024kbit
-
-
-###########################################################################################################
-# In order to prevent traffic queuing at the ISP side or in your modem,
-# we shape to a slightly lower rate. This way the bottleneck is the router,
-# not the ISP or modem, which allows us more direct control of shaping.
-#
-### RATE_SUB_PERCENT=20
-### RATE_SUB_PERCENT=15
-RATE_SUB_PERCENT=10
-
-
-###########################################################################################################
-# Specify the local network speed (kbit, mbit)
-#
-LAN_RATE=9mbit
-
-
-###########################################################################################################
-##### ADVANCED CONFIGURATION PARAMETERS
-####
-###
-##
-#
-###########################################################################################################
-# Helper Functions
-#
-# Convert rate to bites per second format (bits)
-bits()
-{
- RATE=0
- R_RATE=$1
- R_NUMBER=`echo "$R_RATE" | sed -e "s/[^0-9]//g"`
- R_UNIT=`echo "$R_RATE" | sed -e "s/[0-9]//g"`
-
- if [ "$R_UNIT" == "" ]; then
- R_UNIT="kbit"
- fi
-
- if [ "$R_UNIT" == "kbps" ]; then R_RATE=$(($R_NUMBER * 1024 * 8))
- elif [ "$R_UNIT" == "mbps" ]; then R_RATE=$(($R_NUMBER * 1024 * 1024 * 8))
- elif [ "$R_UNIT" == "mbit" ]; then R_RATE=$(($R_NUMBER * 1024 * 1024))
- elif [ "$R_UNIT" == "kbit" ]; then R_RATE=$(($R_NUMBER * 1024))
- elif [ "$R_UNIT" == "bps" ]; then R_RATE=$(($R_NUMBER * 8))
- else
- echo "Unknown unit '$R_UNIT' (mbps, mbit, kbit, bps)"
- fi
-
- echo "$R_RATE"
-}
-
-###########################################################################################################
-# Define supported Queuing Disciplines
-#
-QDISCS="prio|tbf|htb|hfsc|sfq|red|pfifo"
-
-
-###########################################################################################################
-# Traffic Control parameters will be calculated depending on link directions
-#
-DIRECTION=$1
-
-
-###########################################################################################################
-# Specify the network devices that are connected to the internet.
-# If you are a dialup or PPPoE user, you have to re-run the QoS script
-# every time you connect.
-#
-### WAN_DEVICES="ppp0"
-WAN_DEVICES="$(ip route show 0.0.0.0/0 | grep dev | sed 's/.*dev //' | awk '{print $1}')"
- WAN_DEVICES="$WAN_DEVICES $(ip addr | grep gre | egrep -v "gre0" | awk '/^[0-9]/ { gsub(":", ""i, $2); print $2}' | cut -f 1 -d'@')"
-
-
-###########################################################################################################
-# Specify the network devices which are connected with your local network segments.
-#
-### LAN_DEVICES="eth1"
-LAN_DEVICES=`awk -F: 'NR > 2 { print $1 }' /proc/net/dev | egrep -v "lo|gre0|$(echo $WAN_DEVICES | sed s/" "/"|"/g)"`
-
-
-###########################################################################################################
-# Calculaton of WAN up/down link rates
-#
-DIRECTION=${DIRECTION:-ALL}
- if [ $DIRECTION = "ALL" ]; then
- DEVICES="$WAN_DEVICES $LAN_DEVICES"
- fi
-
- if [ $DIRECTION = "UP" ]; then
- WAN_RATE=`bits $UPLINK_RATE`
- DEVICES=$WAN_DEVICES
- fi
-
- if [ $DIRECTION = "DOWN" ]; then
- WAN_RATE=`bits $DOWNLINK_RATE`
- DEVICES=$LAN_DEVICES
- fi
-
- WAN_SUB_RATE=$((WAN_RATE - (RATE_SUB_PERCENT * WAN_RATE / 100)))
- INTERACTIVE_RATE=$((WAN_SUB_RATE / 5))
- PRIVILEGED_RATE=$((WAN_SUB_RATE / 2))
- BESTEFFORT_RATE=$((WAN_SUB_RATE / 3))
-
- OUT_OF_WAN_RATE=`bits $LAN_RATE`
- OUT_OF_WAN_RATE=$((OUT_OF_WAN_RATE - WAN_RATE))
-
-
-###########################################################################################################
-# Specify root Queuing Disciplines
-#
-# Recommendations:
-# htb: if link is not congested or you want to control busrts of traffic; recommended for downstream.
-# hfsc: if link is congested and you need to control guarantees of delay; recommended for upstream.
-# dmax = 50-100 [ms] = 50000-100000 [microsec]
-# umax = MIN (rate * (dmax / 1000), 1500) [b]
-# prio: if rate is variable and you want to be sure that interactive traffic has ultimate priority
-# none: if no egress shaping is desired
-# (in this case you may want to setup only ingress policing)
-#
-DOWNLINK_QDISC=htb
-### DOWNLINK_QDISC=hfsc
-### DOWNLINK_QDISC=prio
-### DOWNLINK_QDISC=none
-#
-UPLINK_QDISC=hfsc
-### UPLINK_QDISC=htb
-### UPLINK_QDISC=prio
-### UPLINK_QDISC=none
-
-
-###########################################################################################################
-# Calculation of Queuing Discipline parameters
-#
-INTERACTIVE_PRIO_LATENCY=50000
-INTERACTIVE_PRIO_BURST=$((INTERACTIVE_RATE / 100 / 8))
-#
-INTERACTIVE_HFSC_DMAX=50000
-INTERACTIVE_HFSC_UMAX=$((INTERACTIVE_RATE * INTERACTIVE_HFSC_DMAX / 1000 / 1000))
- [ $INTERACTIVE_HFSC_UMAX -gt 1500 ] && INTERACTIVE_HFSC_UMAX=1500
-#
-PRIVILEGED_HFSC_DMAX=100000
-PRIVILEGED_HFSC_UMAX=$((PRIVILEGED_RATE * PRIVILEGED_HFSC_DMAX / 1000 / 1000))
- [ $PRIVILEGED_HFSC_UMAX -gt 1500 ] && PRIVILEGED_HFSC_UMAX=1500
-
-
-###########################################################################################################
-# Specify INGRESS policing
-#
-# Recommendations:
-# none: if link is not congested
-# police: if link is constantly congested
-#
-### DOWNLINK_INGRESS=police
-DOWNLINK_INGRESS=none
-### UPLINK_INGRESS=police
-UPLINK_INGRESS=none
-
-
-###########################################################################################################
-# Calculation of policing bursts
-# burst = rate / 17 (taken basing on experemental results)
-#
-POLICE_BURST_SCALE=17
- INTERACTIVE_POLICE_BURST=$((INTERACTIVE_RATE / POLICE_BURST_SCALE))
- PRIVILEGED_POLICE_BURST=$((PRIVILEGED_RATE / POLICE_BURST_SCALE))
- BESTEFFORT_POLICE_BURST=$((BESTEFFORT_RATE / POLICE_BURST_SCALE))
-
-
-###########################################################################################################
-# Specify leaf Queuing Disciplines
-# Recommendations:
-# "pfifo limit 5": Interactive, Priviledged (real-time streams, IPSEC)
-# "sfq perturb 10": Best-Effort (TCP sessions or best-effort class traffic)
-# "red <parameters>": Best-Effort (hightly congested links or high-speed Internet [> 10Mbit/sec])
-# Random Early Detect (RED) parameters calculation:
-# min = maximum delay * rate (dalay ~ 200ms = 0.2sec) [b]
-# max = 3 * min [b]
-# avpkt = 1000 (MTU 1500)
-# limit = 8 * max [b]
-# burst = (min + min + max)/(3 * avpkt) [b]
-# probability = 0.02
-INTERACTIVE_LEAF_QDISC="pfifo limit 5"
-PRIVILEGED_LEAF_QDISC="pfifo limit 5"
-### BESTEFFORT_LEAF_QDISC="sfq perturb 10"
-#
-RED_DELAY=200
-RED_MIN=$((RED_DELAY * BESTEFFORT_RATE / 1000 / 8)) # devided on 8 since rate given in bit/s so we get bytes
-RED_MAX=$((3 * RED_MIN))
-RED_AVPKT=1000
-RED_PROB=0.02
-RED_BURST=$(((RED_MIN + RED_MIN + RED_MAX) / (3 * RED_AVPKT)))
-RED_LIMIT=$((8 * RED_MAX))
-#
- BESTEFFORT_LEAF_QDISC="red min $RED_MIN max $RED_MAX burst $RED_BURST limit $RED_LIMIT probability $RED_PROB avpkt $RED_AVPKT"
-#
-LAN_LEAF_QDISC="sfq perturb 10"
-
-
-###########################################################################################################
-# Specify filter rules (see tc, tc-filters man page).
-# You may have multiple <CLASS-NAME>_FILTER_<n> items.
-# Maximum 100 filter items are allowed for each class
-#
-# Interactive Class Traffic Filters
-#
-# UDP
-#
-INTERACTIVE_FILTER_1="protocol ip prio 100 u32 match ip protocol 0x11 0xff"
-#
-# ICMP
-#
-INTERACTIVE_FILTER_2="protocol ip prio 100 u32 match ip protocol 0x1 0xff"
-#
-# ACK with payload < 64 bytes (32-bit version)
-#
-INTERACTIVE_FILTER_3="protocol ip prio 100 u32 match ip protocol 6 0xff match u8 0x05 0x0f at 0 match u16 0x0000 0xffc0 at 2 match u8 0x10 0xff at 33"
-#
-# ACK with payload < 64 bytes
-#
-INTERACTIVE_FILTER_4="protocol ip prio 100 u32 match ip protocol 6 0xff match u8 0x10 0xff at nexthdr+13 match u16 0x0000 0xffc0 at 2"
-#
-# TOS: 0x10, 0x18, 0xb8(ef)
-#
-INTERACTIVE_FILTER_5="protocol ip prio 100 u32 match ip tos 0x10 0xff"
-INTERACTIVE_FILTER_6="protocol ip prio 100 u32 match ip tos 0x18 0xff"
-INTERACTIVE_FILTER_7="protocol ip prio 100 u32 match ip tos 0xb8 0xff"
-
-
-###########################################################################################################
-# Priviledged Class Traffic Filters
-#
-# SSH
-#
-PRIVILEGED_FILTER_1="protocol ip prio 100 u32 match ip dport 22 0xffff"
-PRIVILEGED_FILTER_2="protocol ip prio 100 u32 match ip sport 22 0xffff"
-#
-# Remote Desktop
-#
-PRIVILEGED_FILTER_3="protocol ip prio 100 u32 match ip dport 3389 0xffff"
-PRIVILEGED_FILTER_4="protocol ip prio 100 u32 match ip sport 3389 0xffff"
-#
-# ESP
-#
-PRIVILEGED_FILTER_5="protocol ip prio 100 u32 match ip protocol 0x32 0xff"
-#
-# AH
-#
-PRIVILEGED_FILTER_6="protocol ip prio 100 u32 match ip protocol 0x33 0xff"
-#
-# TOS: 0x88(af41)
-#
-PRIVILEGED_FILTER_7="protocol ip prio 100 u32 match ip tos 0x88 0xff"
-#
-# IPSEC-NAT
-#
-PRIVILEGED_FILTER_8="protocol ip prio 90 u32 match ip protocol 0x11 0xff match ip dport 4500 0xffff"
-PRIVILEGED_FILTER_9="protocol ip prio 90 u32 match ip protocol 0x11 0xff match ip sport 4500 0xffff"
-
-
-###########################################################################################################
-# Best-Effort Class Traffic Filters
-# By default ALL unclassified traffic is being assined to Best-Effort class
-# You may specify additional filters here
-#
-# Examples: Any traffic from/to 192.168.1.0/24 network will be unconditionally classified as best-effort
-#
-### BESTEFFORT_FILTER_1="protocol ip prio 3 u32 match ip src 192.168.1.0/24"
-### BESTEFFORT_FILTER_2="protocol ip prio 4 u32 match ip dst 192.168.1.0/24"
-#
-
-###########################################################################################################
-# LAN Class Traffic Filters
-#
-# Traffic Originated from router
-#
-# Example:
-###LAN_FILTER_1="protocol ip prio 10 u32 match ip src 192.168.1.10"
-
-#
-##
-###
-####
-##### END OF GENERIC ALPINE SETUP
-###########################################################################################################
diff --git a/main/ircservices/ircservices.confd b/main/ircservices/ircservices.confd
deleted file mode 100644
index 31cc902d21..0000000000
--- a/main/ircservices/ircservices.confd
+++ /dev/null
@@ -1,6 +0,0 @@
-# Copyright 1999-2005 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/net-irc/ircservices/files/ircservices.conf.d,v 1.2 2005/05/16 15:36:11 swegener Exp $
-
-# Se this to true to have ircservices depend on a local ircd to be up
-LOCALIRCD="false"
diff --git a/main/kamailio/kamailio.cfg b/main/kamailio/kamailio.cfg
deleted file mode 100644
index a8ca9990e9..0000000000
--- a/main/kamailio/kamailio.cfg
+++ /dev/null
@@ -1,108 +0,0 @@
-# Sample Kamailio Configuration
-# 23 June 2010 - For Alpine Linux
-# Accepts all registrations; routes calls to any registered AOR
-
-#--------------------------------------------------------
-# Section 1: Global Definitions
-#--------------------------------------------------------
-debug = 2
-fork = yes
-log_stderror = no
-# listen = 0.0.0.0
-port = 5060
-children = 4
-
-dns = no
-rev_dns = no
-
-mpath = "/usr/lib/kamailio/modules_k/:/usr/lib/kamailio/modules/"
-
-#--------------------------------------------------------
-# Section 2: Modules
-#--------------------------------------------------------
-
-loadmodule "tm.so"
-loadmodule "sl.so"
-loadmodule "tmx.so"
-loadmodule "rr.so"
-loadmodule "maxfwd.so"
-loadmodule "usrloc.so"
-loadmodule "registrar.so"
-loadmodule "mi_fifo.so"
-loadmodule "pv.so"
-loadmodule "xlog.so"
-
-#--------------------------------------------------------
-# Section 3: Module Configuration
-#--------------------------------------------------------
-
-modparam ( "usrloc", "db_mode", 0 )
-modparam ( "rr", "enable_full_lr", 1 )
-modparam ( "mi_fifo", "fifo_name", "/var/run/kamailio/kamailio_fifo")
-
-
-#--------------------------------------------------------
-# Section 4: Main Route Block
-#--------------------------------------------------------
-
-route
- {
- # Uncomment next line if you want to see
- # each incoming message
- xlog( "L_INFO", "$rm: $fu -> $ru" );
-
- if (!mf_process_maxfwd_header("10"))
- {
- sl_send_reply("483", "Too Many Hops");
- return;
- }
-
- if (msg:len > 4096)
- {
- sl_send_reply("513", "Message too big" );
- return;
- }
-
- if (method == "REGISTER" )
- {
- route(REGISTER);
- return;
- }
-
- loose_route();
-
- if (!lookup("location")) {
- sl_send_reply("404", "User Not Found");
- return;
- }
-
- route(RELAY);
-
-}
-#--------------------------------------------------------
-# Section 5: Secondary Route Blocks
-#--------------------------------------------------------
-
-# - Default message handler
-route[RELAY] {
- if (!t_relay()) {
- sl_reply_error();
- }
-}
-
-#- Registration Request
-route[REGISTER] {
- if (!save("location")) {
- sl_reply_error();
- }
-}
-
-#--------------------------------------------------------
-# Section 6: Reply Route Block
-#--------------------------------------------------------
-
-
-#--------------------------------------------------------
-# Section 7: Failure Route Block
-#--------------------------------------------------------
-
diff --git a/main/lm-sensors/sensors.install b/main/lm-sensors/sensors.install
deleted file mode 100644
index d593f84144..0000000000
--- a/main/lm-sensors/sensors.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install() {
- echo ">>> to control the lm_sensors daemon type"
- echo ">>> \"/etc/rc.d/sensors start|stop|restart\" "
- echo ">>> --------------------------------------"
- echo ">>> before you can use the fancontrol daemon"
- echo ">>> first create a fancontrol config file, use \"pwmconfig\""
- echo ">>> then type \"/etc/rc.d/fancontrol start|stop|restart\" "
- echo ">>> --------------------------------------"
- echo ">>> to decode memory SPD timings modprobe eeprom module"
- echo ">>> and get this perl script from"
- echo ">>> \"http://www.lm-sensors.org/browser/lm-sensors/trunk/prog/eeprom/decode-dimms.pl\""
-}
diff --git a/main/monit/monitrc b/main/monit/monitrc
deleted file mode 100644
index 816ff07697..0000000000
--- a/main/monit/monitrc
+++ /dev/null
@@ -1,246 +0,0 @@
-###############################################################################
-## Monit control file
-###############################################################################
-##
-## Comments begin with a '#' and extend through the end of the line. Keywords
-## are case insensitive. All path's MUST BE FULLY QUALIFIED, starting with '/'.
-##
-## Below you will find examples of some frequently used statements. For
-## information about the control file and a complete list of statements and
-## options, please have a look in the Monit manual.
-##
-##
-###############################################################################
-## Global section
-###############################################################################
-##
-## Start Monit in the background (run as a daemon):
-#
-set daemon 60 # check services at 1-minute intervals
-# with start delay 240 # optional: delay the first check by 4-minutes (by
-# # default Monit check immediately after Monit start)
-#
-#
-## Set syslog logging with the 'daemon' facility. If the FACILITY option is
-## omitted, Monit will use 'user' facility by default. If you want to log to
-## a standalone log file instead, specify the full path to the log file
-#
-# set logfile syslog facility log_daemon
-#
-#
-## Set the location of the Monit id file which stores the unique id for the
-## Monit instance. The id is generated and stored on first Monit start. By
-## default the file is placed in $HOME/.monit.id.
-#
-# set idfile /var/.monit.id
-#
-## Set the location of the Monit state file which saves monitoring states
-## on each cycle. By default the file is placed in $HOME/.monit.state. If
-## the state file is stored on a persistent filesystem, Monit will recover
-## the monitoring state across reboots. If it is on temporary filesystem, the
-## state will be lost on reboot which may be convenient in some situations.
-#
-# set statefile /var/.monit.state
-#
-## Set the list of mail servers for alert delivery. Multiple servers may be
-## specified using a comma separator. If the first mail server fails, Monit
-# will use the second mail server in the list and so on. By default Monit uses
-# port 25 - it is possible to override this with the PORT option.
-#
-# set mailserver mail.bar.baz, # primary mailserver
-# backup.bar.baz port 10025, # backup mailserver on port 10025
-# localhost # fallback relay
-#
-#
-## By default Monit will drop alert events if no mail servers are available.
-## If you want to keep the alerts for later delivery retry, you can use the
-## EVENTQUEUE statement. The base directory where undelivered alerts will be
-## stored is specified by the BASEDIR option. You can limit the maximal queue
-## size using the SLOTS option (if omitted, the queue is limited by space
-## available in the back end filesystem).
-#
-# set eventqueue
-# basedir /var/monit # set the base directory where events will be stored
-# slots 100 # optionally limit the queue size
-#
-#
-## Send status and events to M/Monit (for more informations about M/Monit
-## see http://mmonit.com/). By default Monit registers credentials with
-## M/Monit so M/Monit can smoothly communicate back to Monit and you don't
-## have to register Monit credentials manually in M/Monit. It is possible to
-## disable credential registration using the commented out option below.
-## Though, if safety is a concern we recommend instead using https when
-## communicating with M/Monit and send credentials encrypted.
-#
-# set mmonit http://monit:monit@192.168.1.10:8080/collector
-# # and register without credentials # Don't register credentials
-#
-#
-## Monit by default uses the following format for alerts if the the mail-format
-## statement is missing::
-## --8<--
-## set mail-format {
-## from: monit@$HOST
-## subject: monit alert -- $EVENT $SERVICE
-## message: $EVENT Service $SERVICE
-## Date: $DATE
-## Action: $ACTION
-## Host: $HOST
-## Description: $DESCRIPTION
-##
-## Your faithful employee,
-## Monit
-## }
-## --8<--
-##
-## You can override this message format or parts of it, such as subject
-## or sender using the MAIL-FORMAT statement. Macros such as $DATE, etc.
-## are expanded at runtime. For example, to override the sender, use:
-#
-# set mail-format { from: monit@foo.bar }
-#
-#
-## You can set alert recipients whom will receive alerts if/when a
-## service defined in this file has errors. Alerts may be restricted on
-## events by using a filter as in the second example below.
-#
-# set alert sysadm@foo.bar # receive all alerts
-## Do not alert when Monit start,stop or perform a user initiated action
-# set alert manager@foo.bar not on { instance, action }
-#
-#
-## Monit has an embedded web server which can be used to view status of
-## services monitored and manage services from a web interface. See the
-## Monit Wiki if you want to enable SSL for the web server.
-#
-set httpd port 2812 and
- use address localhost # only accept connection from localhost
- allow localhost # allow localhost to connect to the server and
- allow admin:monit # require user 'admin' with password 'monit'
-# allow @monit # allow users of group 'monit' to connect (rw)
-# allow @users readonly # allow users of group 'users' to connect readonly
-
-###############################################################################
-## Services
-###############################################################################
-##
-## Check general system resources such as load average, cpu and memory
-## usage. Each test specifies a resource, conditions and the action to be
-## performed should a test fail.
-#
-# check system myhost.mydomain.tld
-# if loadavg (1min) > 4 then alert
-# if loadavg (5min) > 2 then alert
-# if memory usage > 75% then alert
-# if swap usage > 25% then alert
-# if cpu usage (user) > 70% then alert
-# if cpu usage (system) > 30% then alert
-# if cpu usage (wait) > 20% then alert
-#
-#
-## Check if a file exists, checksum, permissions, uid and gid. In addition
-## to alert recipients in the global section, customized alert can be sent to
-## additional recipients by specifying a local alert handler. The service may
-## be grouped using the GROUP option. More than one group can be specified by
-## repeating the 'group name' statement.
-#
-# check file apache_bin with path /usr/local/apache/bin/httpd
-# if failed checksum and
-# expect the sum 8f7f419955cefa0b33a2ba316cba3659 then unmonitor
-# if failed permission 755 then unmonitor
-# if failed uid root then unmonitor
-# if failed gid root then unmonitor
-# alert security@foo.bar on {
-# checksum, permission, uid, gid, unmonitor
-# } with the mail-format { subject: Alarm! }
-# group server
-#
-#
-## Check that a process is running, in this case Apache, and that it respond
-## to HTTP and HTTPS requests. Check its resource usage such as cpu and memory,
-## and number of children. If the process is not running, Monit will restart
-## it by default. In case the service is restarted very often and the
-## problem remains, it is possible to disable monitoring using the TIMEOUT
-## statement. This service depends on another service (apache_bin) which
-## is defined above.
-#
-# check process apache with pidfile /usr/local/apache/logs/httpd.pid
-# start program = "/etc/init.d/httpd start" with timeout 60 seconds
-# stop program = "/etc/init.d/httpd stop"
-# if cpu > 60% for 2 cycles then alert
-# if cpu > 80% for 5 cycles then restart
-# if totalmem > 200.0 MB for 5 cycles then restart
-# if children > 250 then restart
-# if loadavg(5min) greater than 10 for 8 cycles then stop
-# if failed host www.tildeslash.com port 80 protocol http
-# and request "/somefile.html"
-# then restart
-# if failed port 443 type tcpssl protocol http
-# with timeout 15 seconds
-# then restart
-# if 3 restarts within 5 cycles then timeout
-# depends on apache_bin
-# group server
-#
-#
-## Check filesystem permissions, uid, gid, space and inode usage. Other services,
-## such as databases, may depend on this resource and an automatically graceful
-## stop may be cascaded to them before the filesystem will become full and data
-## lost.
-#
-# check filesystem datafs with path /dev/sdb1
-# start program = "/bin/mount /data"
-# stop program = "/bin/umount /data"
-# if failed permission 660 then unmonitor
-# if failed uid root then unmonitor
-# if failed gid disk then unmonitor
-# if space usage > 80% for 5 times within 15 cycles then alert
-# if space usage > 99% then stop
-# if inode usage > 30000 then alert
-# if inode usage > 99% then stop
-# group server
-#
-#
-## Check a file's timestamp. In this example, we test if a file is older
-## than 15 minutes and assume something is wrong if its not updated. Also,
-## if the file size exceed a given limit, execute a script
-#
-# check file database with path /data/mydatabase.db
-# if failed permission 700 then alert
-# if failed uid data then alert
-# if failed gid data then alert
-# if timestamp > 15 minutes then alert
-# if size > 100 MB then exec "/my/cleanup/script" as uid dba and gid dba
-#
-#
-## Check directory permission, uid and gid. An event is triggered if the
-## directory does not belong to the user with uid 0 and gid 0. In addition,
-## the permissions have to match the octal description of 755 (see chmod(1)).
-#
-# check directory bin with path /bin
-# if failed permission 755 then unmonitor
-# if failed uid 0 then unmonitor
-# if failed gid 0 then unmonitor
-#
-#
-## Check a remote host availability by issuing a ping test and check the
-## content of a response from a web server. Up to three pings are sent and
-## connection to a port and an application level network check is performed.
-#
-# check host myserver with address 192.168.1.1
-# if failed icmp type echo count 3 with timeout 3 seconds then alert
-# if failed port 3306 protocol mysql with timeout 15 seconds then alert
-# if failed url http://user:password@www.foo.bar:8080/?querystring
-# and content == 'action="j_security_check"'
-# then alert
-#
-#
-###############################################################################
-## Includes
-###############################################################################
-##
-## It is possible to include additional configuration parts from other files or
-## directories.
-#
-# include /etc/monit.d/*
-#
diff --git a/main/pptpd/rcpptpd b/main/pptpd/rcpptpd
deleted file mode 100644
index 83afd0ce76..0000000000
--- a/main/pptpd/rcpptpd
+++ /dev/null
@@ -1,67 +0,0 @@
-#!/bin/sh
-# Copyright (c) 2000-2001 SuSE GmbH Nuernberg, Germany. All rights reserved.
-#
-# Author: Bernd Kaindl
-#
-# /etc/init.d/pptpd
-#
-
-### BEGIN INIT INFO
-# Provides: pptpd
-# Required-Start: $remote_fs $network
-# Required-Stop: $remote_fs $network
-# Default-Start: 3 5
-# Default-Stop:
-# Description: start pptp daemon
-# Short-Description: pptp daemon
-### END INIT INFO
-
-PPTPD_BIN=/usr/sbin/pptpd
-test -x $PPTPD_BIN || exit 5
-
-# Shell functions sourced from /etc/rc.status:
-. /etc/rc.status
-
-# First reset status of this service
-rc_reset
-
-case "$1" in
- start)
- echo -n "Starting MS VPN server pptpd"
- if modprobe ppp_mppe ; then
- startproc -sq $PPTPD_BIN
- rc_status -v
- else
- rc_failed 3
- fi
- ;;
- stop)
- echo -n "Shutting down MS VPN server pptpd"
- killproc -TERM $PPTPD_BIN
- rc_status -v
- rmmod ppp_mppe > /dev/null 2>&1
- ;;
- restart)
- $0 stop
- $0 start
- rc_status
- ;;
- force-reload)
- $0 stop && $0 start
- rc_status
- ;;
- reload)
- rc_failed 3
- rc_status -v
- ;;
- status)
- echo -n "Checking for MS VPN server pptpd: "
- checkproc $PPTPD_BIN
- rc_status -v
- ;;
- *)
- echo "Usage: $0 {start|stop|status|restart|force-reload|reload}"
- exit 1
- ;;
-esac
-rc_exit