summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2013-12-04 07:20:10 +0000
committerSergey Popov <pinkbyte@gentoo.org>2013-12-04 07:20:10 +0000
commitd47571b311bf7dd826750fa80cdef16f875a5939 (patch)
tree16832a7945dcd50f5f75c8710afed730f9debff7 /net-im/jabberd2/files
parentVersion bump. (diff)
downloadgentoo-2-d47571b311bf7dd826750fa80cdef16f875a5939.tar.gz
gentoo-2-d47571b311bf7dd826750fa80cdef16f875a5939.tar.bz2
gentoo-2-d47571b311bf7dd826750fa80cdef16f875a5939.zip
Security cleanup, bug #369739
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Diffstat (limited to 'net-im/jabberd2/files')
-rw-r--r--net-im/jabberd2/files/jabberd2-2.2.1.init77
-rw-r--r--net-im/jabberd2/files/jabberd2-2.2.1.pamd6
-rw-r--r--net-im/jabberd2/files/jabberd2-2.2.4.init81
-rw-r--r--net-im/jabberd2/files/jabberd2-2.2.4.pamd6
-rw-r--r--net-im/jabberd2/files/jabberd2-2.2.5.init77
-rw-r--r--net-im/jabberd2/files/jabberd2-2.2.5.pamd6
6 files changed, 0 insertions, 253 deletions
diff --git a/net-im/jabberd2/files/jabberd2-2.2.1.init b/net-im/jabberd2/files/jabberd2-2.2.1.init
deleted file mode 100644
index 085e6d0853e2..000000000000
--- a/net-im/jabberd2/files/jabberd2-2.2.1.init
+++ /dev/null
@@ -1,77 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd2/files/jabberd2-2.2.1.init,v 1.1 2008/07/30 11:34:36 gentoofan23 Exp $
-
-depend() {
- need net
- use mysql postgresql slapd
- provide jabber-server
-}
-
-stopJabberServices() {
-
- eindent
- for pidfile in /var/run/jabber/*.pid; do
- if [ -f "${pidfile}" ]; then
- service=$(basename ${pidfile} .pid)
- ebegin "Stopping ${service}"
- start-stop-daemon \
- --stop \
- --pidfile ${pidfile}
- eend $?
- fi
- done
- eoutdent
-
-}
-
-start() {
-
- einfo "Starting Jabber Server ..."
- local services
- services=$(grep -v ^# /etc/jabber/jabberd.cfg | grep '..*' | awk '{print $1 ":" $2}')
- eindent
- for service in ${services}; do
-
- cfgfile=$(echo ${service} | cut -d ':' -f 2)
- service=$(echo ${service} | cut -d ':' -f 1)
- if [ ! -f "${cfgfile}" ]; then
- if [ -f "/etc/jabber/${service}.xml" ]; then
- cfgfile="/etc/jabber/${service}.xml"
- else
- eerror "Can't find: ${cfgfile} or default /etc/jabber/${service}.xml"
- stopJabberServices
- return 1
- fi
- fi
-
- executable=/usr/bin/${service}
-
- if [ ! -f "${executable}" ]; then
- eerror "Can't find executable: ${executable}"
- stopJabberServices
- return 1
- fi
-
- ebegin "Starting ${service} (${cfgfile})"
- start-stop-daemon \
- --background \
- --start \
- --chuid jabber:jabber \
- --exec /usr/bin/${service} \
- --pid /var/run/jabber/$(basename ${cfgfile%.xml}).pid \
- -- -c ${cfgfile}
- eend $?
-
- done
- eoutdent
-
-}
-
-stop() {
-
- einfo "Stopping Jabber Server"
- stopJabberServices
-
-}
diff --git a/net-im/jabberd2/files/jabberd2-2.2.1.pamd b/net-im/jabberd2/files/jabberd2-2.2.1.pamd
deleted file mode 100644
index 2c5a5347ad6a..000000000000
--- a/net-im/jabberd2/files/jabberd2-2.2.1.pamd
+++ /dev/null
@@ -1,6 +0,0 @@
-#%PAM-1.0
-
-auth required pam_nologin.so
-auth include system-auth
-account include system-auth
-session include system-auth
diff --git a/net-im/jabberd2/files/jabberd2-2.2.4.init b/net-im/jabberd2/files/jabberd2-2.2.4.init
deleted file mode 100644
index aa4b88876285..000000000000
--- a/net-im/jabberd2/files/jabberd2-2.2.4.init
+++ /dev/null
@@ -1,81 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd2/files/jabberd2-2.2.4.init,v 1.2 2013/07/23 10:01:35 pinkbyte Exp $
-
-depend() {
- need net
- use mysql postgresql slapd
- provide jabber-server
-}
-
-stopJabberServices() {
-
- eindent
- for pidfile in /var/run/jabber/*.pid; do
- if [ -f "${pidfile}" ]; then
- service=$(basename ${pidfile} .pid)
- ebegin "Stopping ${service}"
- start-stop-daemon \
- --stop \
- --pidfile ${pidfile}
- eend $?
- fi
- done
- eoutdent
-
-}
-
-start_pre() {
- checkpath -d -o jabber /var/run/jabber
-}
-
-start() {
-
- einfo "Starting Jabber Server ..."
- local services
- services=$(grep -v ^# /etc/jabber/jabberd.cfg | grep '..*' | awk '{print $1 ":" $2}')
- eindent
- for service in ${services}; do
-
- cfgfile=$(echo ${service} | cut -d ':' -f 2)
- service=$(echo ${service} | cut -d ':' -f 1)
- if [ ! -f "${cfgfile}" ]; then
- if [ -f "/etc/jabber/${service}.xml" ]; then
- cfgfile="/etc/jabber/${service}.xml"
- else
- eerror "Can't find: ${cfgfile} or default /etc/jabber/${service}.xml"
- stopJabberServices
- return 1
- fi
- fi
-
- executable=/usr/bin/${service}
-
- if [ ! -f "${executable}" ]; then
- eerror "Can't find executable: ${executable}"
- stopJabberServices
- return 1
- fi
-
- ebegin "Starting ${service} (${cfgfile})"
- start-stop-daemon \
- --background \
- --start \
- --chuid jabber:jabber \
- --exec /usr/bin/${service} \
- --pid /var/run/jabber/$(basename ${cfgfile%.xml}).pid \
- -- -c ${cfgfile}
- eend $?
-
- done
- eoutdent
-
-}
-
-stop() {
-
- einfo "Stopping Jabber Server"
- stopJabberServices
-
-}
diff --git a/net-im/jabberd2/files/jabberd2-2.2.4.pamd b/net-im/jabberd2/files/jabberd2-2.2.4.pamd
deleted file mode 100644
index 2c5a5347ad6a..000000000000
--- a/net-im/jabberd2/files/jabberd2-2.2.4.pamd
+++ /dev/null
@@ -1,6 +0,0 @@
-#%PAM-1.0
-
-auth required pam_nologin.so
-auth include system-auth
-account include system-auth
-session include system-auth
diff --git a/net-im/jabberd2/files/jabberd2-2.2.5.init b/net-im/jabberd2/files/jabberd2-2.2.5.init
deleted file mode 100644
index e6f2032bdb97..000000000000
--- a/net-im/jabberd2/files/jabberd2-2.2.5.init
+++ /dev/null
@@ -1,77 +0,0 @@
-#!/sbin/runscript
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/jabberd2/files/jabberd2-2.2.5.init,v 1.1 2009/01/24 14:53:23 kingtaco Exp $
-
-depend() {
- need net
- use mysql postgresql slapd
- provide jabber-server
-}
-
-stopJabberServices() {
-
- eindent
- for pidfile in /var/run/jabber/*.pid; do
- if [ -f "${pidfile}" ]; then
- service=$(basename ${pidfile} .pid)
- ebegin "Stopping ${service}"
- start-stop-daemon \
- --stop \
- --pidfile ${pidfile}
- eend $?
- fi
- done
- eoutdent
-
-}
-
-start() {
-
- einfo "Starting Jabber Server ..."
- local services
- services=$(grep -v ^# /etc/jabber/jabberd.cfg | grep '..*' | awk '{print $1 ":" $2}')
- eindent
- for service in ${services}; do
-
- cfgfile=$(echo ${service} | cut -d ':' -f 2)
- service=$(echo ${service} | cut -d ':' -f 1)
- if [ ! -f "${cfgfile}" ]; then
- if [ -f "/etc/jabber/${service}.xml" ]; then
- cfgfile="/etc/jabber/${service}.xml"
- else
- eerror "Can't find: ${cfgfile} or default /etc/jabber/${service}.xml"
- stopJabberServices
- return 1
- fi
- fi
-
- executable=/usr/bin/${service}
-
- if [ ! -f "${executable}" ]; then
- eerror "Can't find executable: ${executable}"
- stopJabberServices
- return 1
- fi
-
- ebegin "Starting ${service} (${cfgfile})"
- start-stop-daemon \
- --background \
- --start \
- --chuid jabber:jabber \
- --exec /usr/bin/${service} \
- --pid /var/run/jabber/$(basename ${cfgfile%.xml}).pid \
- -- -c ${cfgfile}
- eend $?
-
- done
- eoutdent
-
-}
-
-stop() {
-
- einfo "Stopping Jabber Server"
- stopJabberServices
-
-}
diff --git a/net-im/jabberd2/files/jabberd2-2.2.5.pamd b/net-im/jabberd2/files/jabberd2-2.2.5.pamd
deleted file mode 100644
index 2c5a5347ad6a..000000000000
--- a/net-im/jabberd2/files/jabberd2-2.2.5.pamd
+++ /dev/null
@@ -1,6 +0,0 @@
-#%PAM-1.0
-
-auth required pam_nologin.so
-auth include system-auth
-account include system-auth
-session include system-auth