summaryrefslogtreecommitdiff
path: root/pcr/radicale
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2018-02-24 15:25:05 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2018-02-24 15:25:05 -0500
commit53a6f61293a2d065827dd9bb9adef2c0b2320fd8 (patch)
treec90b1523a070dee94b0c79422401c111b8697118 /pcr/radicale
parent80ea05737833b1661ed2268b9f349ed378a64a80 (diff)
downloadabslibre-53a6f61293a2d065827dd9bb9adef2c0b2320fd8.tar.gz
abslibre-53a6f61293a2d065827dd9bb9adef2c0b2320fd8.tar.bz2
abslibre-53a6f61293a2d065827dd9bb9adef2c0b2320fd8.zip
Removing radicale: This package is in [community] repo
Diffstat (limited to 'pcr/radicale')
-rw-r--r--pcr/radicale/PKGBUILD48
-rw-r--r--pcr/radicale/radicale-1.1.1.patch22
-rw-r--r--pcr/radicale/radicale.install16
-rw-r--r--pcr/radicale/radicale.service12
4 files changed, 0 insertions, 98 deletions
diff --git a/pcr/radicale/PKGBUILD b/pcr/radicale/PKGBUILD
deleted file mode 100644
index 652460778..000000000
--- a/pcr/radicale/PKGBUILD
+++ /dev/null
@@ -1,48 +0,0 @@
-# Maintainer (Arch): Moritz Lipp <mlq@pwmt.org>
-# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
-pkgname=radicale
-_pkgname=Radicale
-pkgver=1.1.1
-pkgrel=2
-pkgdesc="A Simple Calendar Server"
-arch=('any')
-url="http://www.radicale.org/"
-license=('GPL3')
-depends=('python>=3.2')
-makedepends=('python-setuptools')
-backup=('etc/radicale/config')
-install='radicale.install'
-source=(
- http://pypi.python.org/packages/source/R/Radicale/Radicale-$pkgver.tar.gz
- radicale-$pkgver.patch
- radicale.service
- radicale.install
-)
-md5sums=('a29dd538377ea24cec83237a636122ae'
- '7d6a8ecdcb02f43780d106d8946338b3'
- '62af2e07ad32a0fcece32fae68e92daf'
- '5613eec93efc5ef2ef68abd124fb6b61')
-optdepends=(
- 'python-pam: For PAM authentication'
- 'python-requests: For HTTP authentication'
- 'python-ldap: For LDAP authentication'
- )
-
-prepare() {
- cd $srcdir/$_pkgname-$pkgver
-
- patch -p1 < $startdir/$pkgname-$pkgver.patch
-}
-
-package() {
- cd $srcdir/$_pkgname-$pkgver
- python setup.py install --prefix=/usr --root="$pkgdir"
-
- install -m644 -D "$srcdir/$_pkgname-$pkgver/config" "$pkgdir/etc/radicale/config"
- install -m644 -D "$srcdir/radicale.service" "$pkgdir/usr/lib/systemd/system/radicale.service"
-
- install -m644 -D "$srcdir/$_pkgname-$pkgver/radicale.fcgi" \
- "$pkgdir/usr/share/$pkgname/radicale.fcgi"
- install -m644 -D "$srcdir/$_pkgname-$pkgver/radicale.wsgi" \
- "$pkgdir/usr/share/$pkgname/radicale.wsgi"
-}
diff --git a/pcr/radicale/radicale-1.1.1.patch b/pcr/radicale/radicale-1.1.1.patch
deleted file mode 100644
index be94195e7..000000000
--- a/pcr/radicale/radicale-1.1.1.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-diff --git a/config b/config
-index a2e36ec..66e5a25 100644
---- a/config
-+++ b/config
-@@ -146,7 +146,7 @@
- #custom_handler =
-
- # File for rights management from_file
--#file = ~/.config/radicale/rights
-+file = /etc/radicale/rights
-
-
- [storage]
-@@ -163,7 +163,7 @@
- #custom_handler =
-
- # Folder for storing local collections, created if not present
--#filesystem_folder = ~/.config/radicale/collections
-+filesystem_folder = /var/lib/radicale/collections
-
- # Database URL for SQLAlchemy
- # dialect+driver://user:password@host/dbname[?key=value..]
diff --git a/pcr/radicale/radicale.install b/pcr/radicale/radicale.install
deleted file mode 100644
index 720dc55f1..000000000
--- a/pcr/radicale/radicale.install
+++ /dev/null
@@ -1,16 +0,0 @@
-post_install() {
- getent group radicale &>/dev/null || groupadd radicale >/dev/null
- getent passwd radicale &>/dev/null || useradd -r -s /usr/bin/false \
- -g radicale -G radicale,http -d /etc/radicale/ radicale >/dev/null
- chown -R radicale:radicale /etc/radicale/
-}
-
-post_update() {
- chown -R radicale:radicale /etc/radicale/
-}
-
-pre_remove() {
- getent passwd radicale &>/dev/null && userdel radicale >/dev/null
- getent group radicale &>/dev/null && groupdel radicale >/dev/null
- true
-}
diff --git a/pcr/radicale/radicale.service b/pcr/radicale/radicale.service
deleted file mode 100644
index 490904d7b..000000000
--- a/pcr/radicale/radicale.service
+++ /dev/null
@@ -1,12 +0,0 @@
-[Unit]
-Description=RadiCAL Server
-After=syslog.target network.target
-
-[Service]
-Type=simple
-ExecStart=/usr/bin/radicale -f
-User=radicale
-Group=radicale
-
-[Install]
-WantedBy=multi-user.target