[arch-commits] Commit in perl-djabberd/repos (3 files)

Felix Yan felixonmars at archlinux.org
Fri Jun 2 04:55:01 UTC 2017


    Date: Friday, June 2, 2017 @ 04:55:00
  Author: felixonmars
Revision: 232791

archrelease: copy trunk to community-staging-any

Added:
  perl-djabberd/repos/community-staging-any/
  perl-djabberd/repos/community-staging-any/PKGBUILD
    (from rev 232790, perl-djabberd/trunk/PKGBUILD)
  perl-djabberd/repos/community-staging-any/djabberd.conf
    (from rev 232790, perl-djabberd/trunk/djabberd.conf)

---------------+
 PKGBUILD      |   27 +++++++++++++++++++++++++++
 djabberd.conf |   30 ++++++++++++++++++++++++++++++
 2 files changed, 57 insertions(+)

Copied: perl-djabberd/repos/community-staging-any/PKGBUILD (from rev 232790, perl-djabberd/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2017-06-02 04:55:00 UTC (rev 232791)
@@ -0,0 +1,27 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=perl-djabberd
+pkgver=0.85
+pkgrel=3
+pkgdesc="Jabber daemon written on Perl"
+arch=('any')
+url="http://search.cpan.org/~bradfitz/DJabberd/"
+license=("GPL" "PerlArtistic")
+depends=("perl-danga-socket" "perl-log-log4perl" "perl-unicode-stringprep"
+	 "perl-net-dns" "perl-xml-libxml" "perl-net-ssleay")
+source=("http://search.cpan.org/CPAN/authors/id/M/MA/MART/DJabberd-$pkgver.tar.gz")
+md5sums=('120f7427034d707dd6666100374a180d')
+
+build() {
+  cd "$srcdir"/DJabberd-$pkgver
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+  make
+}
+
+package() {
+  cd "$srcdir"/DJabberd-$pkgver
+  make pure_install doc_install DESTDIR="$pkgdir"
+  find "$pkgdir" -name '.packlist' -delete
+  find "$pkgdir" -name '*.pod' -delete
+}

Copied: perl-djabberd/repos/community-staging-any/djabberd.conf (from rev 232790, perl-djabberd/trunk/djabberd.conf)
===================================================================
--- community-staging-any/djabberd.conf	                        (rev 0)
+++ community-staging-any/djabberd.conf	2017-06-02 04:55:00 UTC (rev 232791)
@@ -0,0 +1,30 @@
+OldSSL  disable
+
+# defaults:
+ClientPort 5222
+ServerPort 5269
+
+#PerlModule DJabberd::SixApart
+
+<VHost example.com>
+  S2S enable
+  RequireSSL no
+
+  <Plugin DJabberd::Authen::AllowedUsers>
+     Policy accept
+     AllowedUsers test
+  </Plugin>
+
+  <Plugin DJabberd::Authen::StaticPassword>
+      Password password
+  </Plugin>
+
+  <Plugin DJabberd::PresenceChecker::Local />
+  <Plugin DJabberd::Delivery::Local />
+  <Plugin DJabberd::Delivery::S2S   />
+
+  <Plugin DJabberd::RosterStorage::SQLite>
+     Database roster.sqlite
+  </Plugin>
+
+</VHost>



More information about the arch-commits mailing list