Date: Monday, February 7, 2022 @ 18:37:47 Author: spupykin Revision: 1128509
archrelease: copy trunk to community-x86_64 Added: unrealircd/repos/community-x86_64/PKGBUILD (from rev 1128508, unrealircd/trunk/PKGBUILD) unrealircd/repos/community-x86_64/install.pl (from rev 1128508, unrealircd/trunk/install.pl) unrealircd/repos/community-x86_64/source-date-epoch.patch (from rev 1128508, unrealircd/trunk/source-date-epoch.patch) unrealircd/repos/community-x86_64/unrealircd.install (from rev 1128508, unrealircd/trunk/unrealircd.install) unrealircd/repos/community-x86_64/unrealircd.service (from rev 1128508, unrealircd/trunk/unrealircd.service) unrealircd/repos/community-x86_64/unrealircd.sysusers.d (from rev 1128508, unrealircd/trunk/unrealircd.sysusers.d) unrealircd/repos/community-x86_64/unrealircd.tmpfiles.d (from rev 1128508, unrealircd/trunk/unrealircd.tmpfiles.d) Deleted: unrealircd/repos/community-x86_64/PKGBUILD unrealircd/repos/community-x86_64/install.pl unrealircd/repos/community-x86_64/source-date-epoch.patch unrealircd/repos/community-x86_64/unrealircd.install unrealircd/repos/community-x86_64/unrealircd.service unrealircd/repos/community-x86_64/unrealircd.sysusers.d unrealircd/repos/community-x86_64/unrealircd.tmpfiles.d -------------------------+ PKGBUILD | 152 +++++++++++++++++++++++----------------------- install.pl | 10 +-- source-date-epoch.patch | 32 ++++----- unrealircd.install | 18 ++--- unrealircd.service | 24 +++---- unrealircd.sysusers.d | 2 unrealircd.tmpfiles.d | 10 +-- 7 files changed, 124 insertions(+), 124 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-02-07 18:36:03 UTC (rev 1128508) +++ PKGBUILD 2022-02-07 18:37:47 UTC (rev 1128509) @@ -1,76 +0,0 @@ -# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> -# Contributor: Zerial <ferna...@zerial.org> - -pkgname=unrealircd -pkgver=6.0.1 -pkgrel=1 -pkgdesc="Open Source IRC Server" -arch=('x86_64') -url="https://www.unrealircd.org" -license=('GPL2') -depends=('openssl' 'curl' 'c-ares' 'tre' 'pcre2' 'libnsl' 'argon2') -conflicts=('ircd') -provides=('ircd') -backup=('etc/unrealircd/unrealircd.conf') -install=unrealircd.install -validpgpkeys=('1D2D2B03A0B68ED11D68A24BA7A21B0A108FF4A9') -source=(https://www.unrealircd.org/unrealircd4/unrealircd-$pkgver.tar.gz{,.asc} - unrealircd.service - unrealircd.tmpfiles.d - unrealircd.sysusers.d - install.pl - source-date-epoch.patch) -sha256sums=('dfd19c3971eac9c784938f52344db4ac00719ac2b6c59135c7ded454f1cead09' - 'SKIP' - '0a6d3c269ba5379f967b2ec035ad4c6226d42ce22ffaaf8c3e5b37ba8ee02ddd' - '75360541bc3aec9c1241c75e0ce60214c65cb618ffe5ca77144f01651ef5ab5b' - '9e595176e63b301476982b1456d6ed065c479ff913b6743417ab8a9efdda0e3a' - '43f07093ada8eb5c954f9e2e189610575906c690c0953fec041d4f2d31210d85' - '1b9b3d5560f6633d4f31a521bc0ae17094d3afa28e703b4790eaefedcc9a92a8') - -prepare() { - cd "$srcdir"/unrealircd-$pkgver - sed -i \ - -e 's|$(INSTALL) -m 0700|$(INSTALL) -m 0755|g' \ - -e 's|$(INSTALL) -m 0600|$(INSTALL) -m 0644|g' \ - Makefile.in -# patch -p1 < ../source-date-epoch.patch -} - -build() { - cd "$srcdir"/unrealircd-$pkgver - ./configure \ - --with-pidfile=/run/unrealircd/ircd.pid \ - --with-showlistmodes \ - --enable-ssl=/usr \ - --with-bindir=/usr/bin \ - --with-datadir=/var/lib/unrealircd \ - --with-confdir=/etc/unrealircd \ - --with-modulesdir=/usr/lib/unrealircd \ - --with-logdir=/var/log/unrealircd \ - --with-cachedir=/var/cache/unrealircd \ - --with-docdir=/usr/share/doc/unrealircd \ - --with-tmpdir=/tmp \ - --with-scriptdir=/usr \ - --with-nick-history=2000 \ - --with-sendq=3000000 \ - --with-permissions=0644 \ - --with-fd-setsize=1024 \ - --enable-dynamic-linking - make -} - -package() { - cd "$srcdir"/unrealircd-$pkgver - - export pkgdir -# make INSTALL="$srcdir"/install.pl install DESTDIR="$pkgdir" - make install DESTDIR="$pkgdir" - mv "$pkgdir"/usr/unrealircd "$pkgdir"/etc/unrealircd/unrealircd - cp "$pkgdir"/etc/unrealircd/examples/example.conf "$pkgdir"/etc/unrealircd/unrealircd.conf - rm -rf "$pkgdir"/tmp - - install -Dm0644 "$srcdir"/unrealircd.service "$pkgdir"/usr/lib/systemd/system/unrealircd.service - install -Dm0644 "$srcdir"/unrealircd.tmpfiles.d "$pkgdir"/usr/lib/tmpfiles.d/unrealircd.conf - install -Dm0644 "$srcdir"/unrealircd.sysusers.d "$pkgdir"/usr/lib/sysusers.d/unrealircd.conf -} Copied: unrealircd/repos/community-x86_64/PKGBUILD (from rev 1128508, unrealircd/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-02-07 18:37:47 UTC (rev 1128509) @@ -0,0 +1,76 @@ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Zerial <ferna...@zerial.org> + +pkgname=unrealircd +pkgver=6.0.2 +pkgrel=1 +pkgdesc="Open Source IRC Server" +arch=('x86_64') +url="https://www.unrealircd.org" +license=('GPL2') +depends=('openssl' 'curl' 'c-ares' 'tre' 'pcre2' 'libnsl' 'argon2') +conflicts=('ircd') +provides=('ircd') +backup=('etc/unrealircd/unrealircd.conf') +install=unrealircd.install +validpgpkeys=('1D2D2B03A0B68ED11D68A24BA7A21B0A108FF4A9') +source=(https://www.unrealircd.org/unrealircd4/unrealircd-$pkgver.tar.gz{,.asc} + unrealircd.service + unrealircd.tmpfiles.d + unrealircd.sysusers.d + install.pl + source-date-epoch.patch) +sha256sums=('9c75f193969a6654d1d4276b6f39cf6ecaef4fa2ba2b42ac162957c01eb2255e' + 'SKIP' + '0a6d3c269ba5379f967b2ec035ad4c6226d42ce22ffaaf8c3e5b37ba8ee02ddd' + '75360541bc3aec9c1241c75e0ce60214c65cb618ffe5ca77144f01651ef5ab5b' + '9e595176e63b301476982b1456d6ed065c479ff913b6743417ab8a9efdda0e3a' + '43f07093ada8eb5c954f9e2e189610575906c690c0953fec041d4f2d31210d85' + '1b9b3d5560f6633d4f31a521bc0ae17094d3afa28e703b4790eaefedcc9a92a8') + +prepare() { + cd "$srcdir"/unrealircd-$pkgver + sed -i \ + -e 's|$(INSTALL) -m 0700|$(INSTALL) -m 0755|g' \ + -e 's|$(INSTALL) -m 0600|$(INSTALL) -m 0644|g' \ + Makefile.in +# patch -p1 < ../source-date-epoch.patch +} + +build() { + cd "$srcdir"/unrealircd-$pkgver + ./configure \ + --with-pidfile=/run/unrealircd/ircd.pid \ + --with-showlistmodes \ + --enable-ssl=/usr \ + --with-bindir=/usr/bin \ + --with-datadir=/var/lib/unrealircd \ + --with-confdir=/etc/unrealircd \ + --with-modulesdir=/usr/lib/unrealircd \ + --with-logdir=/var/log/unrealircd \ + --with-cachedir=/var/cache/unrealircd \ + --with-docdir=/usr/share/doc/unrealircd \ + --with-tmpdir=/tmp \ + --with-scriptdir=/usr \ + --with-nick-history=2000 \ + --with-sendq=3000000 \ + --with-permissions=0644 \ + --with-fd-setsize=1024 \ + --enable-dynamic-linking + make +} + +package() { + cd "$srcdir"/unrealircd-$pkgver + + export pkgdir +# make INSTALL="$srcdir"/install.pl install DESTDIR="$pkgdir" + make install DESTDIR="$pkgdir" + mv "$pkgdir"/usr/unrealircd "$pkgdir"/etc/unrealircd/unrealircd + cp "$pkgdir"/etc/unrealircd/examples/example.conf "$pkgdir"/etc/unrealircd/unrealircd.conf + rm -rf "$pkgdir"/tmp + + install -Dm0644 "$srcdir"/unrealircd.service "$pkgdir"/usr/lib/systemd/system/unrealircd.service + install -Dm0644 "$srcdir"/unrealircd.tmpfiles.d "$pkgdir"/usr/lib/tmpfiles.d/unrealircd.conf + install -Dm0644 "$srcdir"/unrealircd.sysusers.d "$pkgdir"/usr/lib/sysusers.d/unrealircd.conf +} Deleted: install.pl =================================================================== --- install.pl 2022-02-07 18:36:03 UTC (rev 1128508) +++ install.pl 2022-02-07 18:37:47 UTC (rev 1128509) @@ -1,5 +0,0 @@ -#!/usr/bin/perl -w -use Env qw(pkgdir); -my $last = pop @ARGV; -my $cmd = "/usr/bin/install ".(join ' ',@ARGV)." $pkgdir/$last"; -system($cmd); Copied: unrealircd/repos/community-x86_64/install.pl (from rev 1128508, unrealircd/trunk/install.pl) =================================================================== --- install.pl (rev 0) +++ install.pl 2022-02-07 18:37:47 UTC (rev 1128509) @@ -0,0 +1,5 @@ +#!/usr/bin/perl -w +use Env qw(pkgdir); +my $last = pop @ARGV; +my $cmd = "/usr/bin/install ".(join ' ',@ARGV)." $pkgdir/$last"; +system($cmd); Deleted: source-date-epoch.patch =================================================================== --- source-date-epoch.patch 2022-02-07 18:36:03 UTC (rev 1128508) +++ source-date-epoch.patch 2022-02-07 18:37:47 UTC (rev 1128509) @@ -1,16 +0,0 @@ -diff --git a/src/version.c.SH b/src/version.c.SH -index 03b5b2881..9f7dcc40e 100644 ---- a/src/version.c.SH -+++ b/src/version.c.SH -@@ -22,7 +22,10 @@ generation=`expr $generation + 1` - export LANG=C - export LC_TIME=C - export LC_ALL=C --creation=`date | \ -+SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-$(date +%s)}" -+# fallback to -r seconds for BSD -+BUILD_DATE=$(date -u -d "@$SOURCE_DATE_EPOCH" 2>/dev/null || date -u -r "$SOURCE_DATE_EPOCH" 2>/dev/null || date -u) -+creation=`echo "$BUILD_DATE" | \ - awk '{if (NF == 6) \ - { print $1 " " $2 " " $3 " " $6 " at " $4 " " $5 } \ - else \ Copied: unrealircd/repos/community-x86_64/source-date-epoch.patch (from rev 1128508, unrealircd/trunk/source-date-epoch.patch) =================================================================== --- source-date-epoch.patch (rev 0) +++ source-date-epoch.patch 2022-02-07 18:37:47 UTC (rev 1128509) @@ -0,0 +1,16 @@ +diff --git a/src/version.c.SH b/src/version.c.SH +index 03b5b2881..9f7dcc40e 100644 +--- a/src/version.c.SH ++++ b/src/version.c.SH +@@ -22,7 +22,10 @@ generation=`expr $generation + 1` + export LANG=C + export LC_TIME=C + export LC_ALL=C +-creation=`date | \ ++SOURCE_DATE_EPOCH="${SOURCE_DATE_EPOCH:-$(date +%s)}" ++# fallback to -r seconds for BSD ++BUILD_DATE=$(date -u -d "@$SOURCE_DATE_EPOCH" 2>/dev/null || date -u -r "$SOURCE_DATE_EPOCH" 2>/dev/null || date -u) ++creation=`echo "$BUILD_DATE" | \ + awk '{if (NF == 6) \ + { print $1 " " $2 " " $3 " " $6 " at " $4 " " $5 } \ + else \ Deleted: unrealircd.install =================================================================== --- unrealircd.install 2022-02-07 18:36:03 UTC (rev 1128508) +++ unrealircd.install 2022-02-07 18:37:47 UTC (rev 1128509) @@ -1,9 +0,0 @@ -post_install() { - echo "SSL is enabled by default, so you need to create pem files" - echo "unrealircd.conf needs adjustments" - echo "See also: https://wiki.archlinux.org/index.php/UnrealIRCd" -} - -post_upgrade() { - post_install -} Copied: unrealircd/repos/community-x86_64/unrealircd.install (from rev 1128508, unrealircd/trunk/unrealircd.install) =================================================================== --- unrealircd.install (rev 0) +++ unrealircd.install 2022-02-07 18:37:47 UTC (rev 1128509) @@ -0,0 +1,9 @@ +post_install() { + echo "SSL is enabled by default, so you need to create pem files" + echo "unrealircd.conf needs adjustments" + echo "See also: https://wiki.archlinux.org/index.php/UnrealIRCd" +} + +post_upgrade() { + post_install +} Deleted: unrealircd.service =================================================================== --- unrealircd.service 2022-02-07 18:36:03 UTC (rev 1128508) +++ unrealircd.service 2022-02-07 18:37:47 UTC (rev 1128509) @@ -1,12 +0,0 @@ -[Unit] -Description=IRC daemon -After=network.target remote-fs.target nss-lookup.target - -[Service] -Type=forking -User=ircd -PIDFile=/run/unrealircd/ircd.pid -ExecStart=/usr/bin/unrealircd - -[Install] -WantedBy=multi-user.target Copied: unrealircd/repos/community-x86_64/unrealircd.service (from rev 1128508, unrealircd/trunk/unrealircd.service) =================================================================== --- unrealircd.service (rev 0) +++ unrealircd.service 2022-02-07 18:37:47 UTC (rev 1128509) @@ -0,0 +1,12 @@ +[Unit] +Description=IRC daemon +After=network.target remote-fs.target nss-lookup.target + +[Service] +Type=forking +User=ircd +PIDFile=/run/unrealircd/ircd.pid +ExecStart=/usr/bin/unrealircd + +[Install] +WantedBy=multi-user.target Deleted: unrealircd.sysusers.d =================================================================== --- unrealircd.sysusers.d 2022-02-07 18:36:03 UTC (rev 1128508) +++ unrealircd.sysusers.d 2022-02-07 18:37:47 UTC (rev 1128509) @@ -1 +0,0 @@ -u ircd - "IRC daemon" /var/empty Copied: unrealircd/repos/community-x86_64/unrealircd.sysusers.d (from rev 1128508, unrealircd/trunk/unrealircd.sysusers.d) =================================================================== --- unrealircd.sysusers.d (rev 0) +++ unrealircd.sysusers.d 2022-02-07 18:37:47 UTC (rev 1128509) @@ -0,0 +1 @@ +u ircd - "IRC daemon" /var/empty Deleted: unrealircd.tmpfiles.d =================================================================== --- unrealircd.tmpfiles.d 2022-02-07 18:36:03 UTC (rev 1128508) +++ unrealircd.tmpfiles.d 2022-02-07 18:37:47 UTC (rev 1128509) @@ -1,5 +0,0 @@ -d /run/unrealircd 0755 ircd root - -Z /etc/unrealircd - ircd ircd -Z /var/cache/unrealircd - ircd ircd -Z /var/log/unrealircd - ircd ircd -Z /var/lib/unrealircd - ircd ircd Copied: unrealircd/repos/community-x86_64/unrealircd.tmpfiles.d (from rev 1128508, unrealircd/trunk/unrealircd.tmpfiles.d) =================================================================== --- unrealircd.tmpfiles.d (rev 0) +++ unrealircd.tmpfiles.d 2022-02-07 18:37:47 UTC (rev 1128509) @@ -0,0 +1,5 @@ +d /run/unrealircd 0755 ircd root - +Z /etc/unrealircd - ircd ircd +Z /var/cache/unrealircd - ircd ircd +Z /var/log/unrealircd - ircd ircd +Z /var/lib/unrealircd - ircd ircd