[arch-commits] Commit in perl-djabberd/repos (3 files)
Evangelos Foutras
foutrelis at archlinux.org
Mon May 24 10:48:32 UTC 2021
Date: Monday, May 24, 2021 @ 10:48:32
Author: foutrelis
Revision: 944347
archrelease: copy trunk to community-staging-any
Added:
perl-djabberd/repos/community-staging-any/
perl-djabberd/repos/community-staging-any/PKGBUILD
(from rev 944345, perl-djabberd/trunk/PKGBUILD)
perl-djabberd/repos/community-staging-any/djabberd.conf
(from rev 944346, perl-djabberd/trunk/djabberd.conf)
---------------+
PKGBUILD | 26 ++++++++++++++++++++++++++
djabberd.conf | 30 ++++++++++++++++++++++++++++++
2 files changed, 56 insertions(+)
Copied: perl-djabberd/repos/community-staging-any/PKGBUILD (from rev 944345, perl-djabberd/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-05-24 10:48:32 UTC (rev 944347)
@@ -0,0 +1,26 @@
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+
+pkgname=perl-djabberd
+pkgver=0.85
+pkgrel=8
+pkgdesc="Jabber daemon written on Perl"
+arch=('any')
+url="https://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=("https://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 944346, perl-djabberd/trunk/djabberd.conf)
===================================================================
--- community-staging-any/djabberd.conf (rev 0)
+++ community-staging-any/djabberd.conf 2021-05-24 10:48:32 UTC (rev 944347)
@@ -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