diff options
author | Leonardo Arena <rnalrd@gmail.com> | 2011-05-18 06:02:28 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@gmail.com> | 2011-05-18 06:02:36 +0000 |
commit | 3c6b7e589016c540ed3fae032bf825c55475ac81 (patch) | |
tree | 5ec113328a540c22e8ef4b4b579a1333c3a980fe /testing | |
parent | 238961cca5cd7e51bf55672f0634022e8d6802fb (diff) | |
download | aports-3c6b7e589016c540ed3fae032bf825c55475ac81.tar.bz2 aports-3c6b7e589016c540ed3fae032bf825c55475ac81.tar.xz |
testing/perdition: move to main
Diffstat (limited to 'testing')
-rw-r--r-- | testing/perdition/APKBUILD | 53 | ||||
-rw-r--r-- | testing/perdition/perdition.confd | 50 | ||||
-rw-r--r-- | testing/perdition/perdition.initd | 76 | ||||
-rw-r--r-- | testing/perdition/perdition.post-install | 4 |
4 files changed, 0 insertions, 183 deletions
diff --git a/testing/perdition/APKBUILD b/testing/perdition/APKBUILD deleted file mode 100644 index ca7c4a62aa..0000000000 --- a/testing/perdition/APKBUILD +++ /dev/null @@ -1,53 +0,0 @@ -# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> -pkgname=perdition -pkgver=1.18 -pkgrel=2 -pkgdesc="A Mail retrieval proxy" -url="http://horms.net/projects/perdition/" -arch="all" -license="LGPL" -depends= -depends_dev="gdbm-dev openssl-dev popt-dev vanessa_adt-dev vanessa_logger-dev - vanessa_socket-dev" -makedepends="$depends_dev" -install=$pkgname.post-install -subpackages="$pkgname-doc" -source="http://horms.net/projects/perdition/download/$pkgver/$pkgname-$pkgver.tar.bz2" - - -_builddir="$srcdir"/$pkgname-$pkgver - -prepare() { - cd "$_builddir" - return 0 -} - -build() { - cd "$_builddir" - ./configure --prefix=/usr \ - --sysconfdir=/etc \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --disable-libtool-lock \ - --disable-mysql \ - --disable-odbc \ - --disable-db \ - --disable-pg \ - --disable-cdb \ - --disable-nis \ - --disable-posix-regex \ - --disable-ldap \ - --disable-daemon-map - - make || return 1 -} - -package() { - cd "$_builddir" - make DESTDIR="$pkgdir" install - - install -m755 -D ../../$pkgname.initd "$pkgdir"/etc/init.d/$pkgname - install -m644 -D ../../$pkgname.confd "$pkgdir"/etc/conf.d/$pkgname -} - -md5sums="df84d5fc4ab78b94a9baf17c5790ba38 perdition-1.18.tar.bz2" diff --git a/testing/perdition/perdition.confd b/testing/perdition/perdition.confd deleted file mode 100644 index 7b147286eb..0000000000 --- a/testing/perdition/perdition.confd +++ /dev/null @@ -1,50 +0,0 @@ -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/perdition/files/perdition.confd,v 1.1 2005/01/25 18:07:46 ferdy Exp $ - -# Run time configuration parameters for /etc/init.d/perdition - -# User to run perdition as -# ( change it only if you know what you're doing ) -PERDITION_USER=perdition - -# Where pid files will be stored -PIDDIR=/var/run/perdition - -# Command line parameters to pass to perdition when run in any mode. -# This is in addition to any mode specific flags. -# That is, it is in addtion to any command line options supplied -# by POP3_FLAGS, POP3S_FLAGS, IMAP4_FLAGS or IMAP4S_FLAGS -FLAGS="-f /etc/perdition/perdition.conf" - -# Run an instance of perdition in POP3 mode -# Set to "yes" to run this instance of perdition -# Set to any other valye to not run this instance of perdition -POP3=yes - -#Command line parameters to pass to perdition when run in POP3 mode -POP3_FLAGS= - -# Run an instance of perdition in POP3S mode -# Set to "yes" to run this instance of perdition -# Set to any other valye to not run this instance of perdition -POP3S=no - -#Command line parameters to pass to perdition when run in POP3S mode -POP3S_FLAGS= - -# Run an instance of perdition in IMAP4 mode -# Set to "yes" to run this instance of perdition -# Set to any other valye to not run this instance of perdition -IMAP4=yes - -#Command line parameters to pass to perdition when run in IMAP4 mode -IMAP4_FLAGS= - -# Run an instance of perdition in IMAP4S mode -# Set to "yes" to run this instance of perdition -# Set to any other valye to not run this instance of perdition -IMAP4S=no - -#Command line parameters to pass to perdition when run in IMAP4S mode -IMAP4S_FLAGS= diff --git a/testing/perdition/perdition.initd b/testing/perdition/perdition.initd deleted file mode 100644 index 0242169c4b..0000000000 --- a/testing/perdition/perdition.initd +++ /dev/null @@ -1,76 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2005 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-mail/perdition/files/perdition.initd,v 1.2 2008/06/10 18:28:27 dertobi123 Exp $ - -depend() { - need net -} - - -check_key() { - if [ ! -e /etc/perdition/perdition.crt.pem ] ; then - einfo "No SSL keys; see man perdition to create them. Or run: " - einfo "$ openssl req -new -x509 -nodes -out /etc/perdition/perdition.crt.pem -keyout /etc/perdition/perdition.key.pem -days 365" - return 1 - fi -} - -start() { - if [ "${POP3}" = "yes" ]; then - ebegin "Starting perdition services (POP3)" - start-stop-daemon --quiet --start --startas /usr/sbin/perdition.pop3 -p ${PIDDIR}/pop3.pid \ - -- ${FLAGS} ${POP3_FLAGS} -u ${PERDITION_USER} --pid_file ${PIDDIR}/pop3.pid - eend $? - fi - - if [ "${POP3S}" = "yes" ]; then - check_key || return 1 - ebegin "Starting perdition services (POP3S)" - start-stop-daemon --quiet --start --startas /usr/sbin/perdition.pop3s -p ${PIDDIR}/pop3s.pid \ - -- ${FLAGS} ${POP3S_FLAGS} -u ${PERDITION_USER} --pid_file ${PIDDIR}/pop3s.pid - eend $? - fi - - if [ "${IMAP4}" = "yes" ]; then - ebegin "Starting perdition services (IMAP4)" - start-stop-daemon --quiet --start --startas /usr/sbin/perdition.imap4 -p ${PIDDIR}/imap4.pid \ - -- ${FLAGS} ${IMAP4_FLAGS} -u ${PERDITION_USER} --pid_file ${PIDDIR}/imap4.pid - eend $? - fi - - if [ "${IMAP4S}" = "yes" ]; then - check_key || return 1 - ebegin "Starting perdition services (IMAP4S)" - start-stop-daemon --quiet --start --startas /usr/sbin/perdition.imap4s -p ${PIDDIR}/imap4s.pid \ - -- ${FLAGS} ${IMAP4S_FLAGS} -u ${PERDITION_USER} --pid_file ${PIDDIR}/imap4s.pid - eend $? - fi -} - - -stop() { - if [ "${POP3}" = "yes" ]; then - ebegin "Shutting down perdition services (POP3)" - start-stop-daemon -o --quiet --stop --pidfile ${PIDDIR}/pop3.pid - eend $? - fi - - if [ "${POP3S}" = "yes" ]; then - ebegin "Shutting down perdition services (POP3S)" - start-stop-daemon -o --quiet --stop --pidfile ${PIDDIR}/pop3s.pid - eend $? - fi - - if [ "${IMAP4}" = "yes" ]; then - ebegin "Shutting down perdition services (IMAP4)" - start-stop-daemon -o --quiet --stop --pidfile ${PIDDIR}/imap4.pid - eend $? - fi - - if [ "${IMAP4S}" = "yes" ]; then - ebegin "Shutting down perdition services (IMAP4S)" - start-stop-daemon -o --quiet --stop --pidfile ${PIDDIR}/imap4s.pid - eend $? - fi -} diff --git a/testing/perdition/perdition.post-install b/testing/perdition/perdition.post-install deleted file mode 100644 index b2820345e5..0000000000 --- a/testing/perdition/perdition.post-install +++ /dev/null @@ -1,4 +0,0 @@ -#!/bin/sh - -adduser -h /var/run/perdition -s /bin/false -S -D perdition &>/dev/null -chown perdition /var/run/perdition |