[arch-commits] Commit in unrealircd/trunk (PKGBUILD unrealircd.install)

Sergej Pupykin spupykin at nymeria.archlinux.org
Wed Nov 27 16:02:33 UTC 2013


    Date: Wednesday, November 27, 2013 @ 17:02:33
  Author: spupykin
Revision: 101547

upgpkg: unrealircd 3.2.10.2-1

upd

Added:
  unrealircd/trunk/unrealircd.install
Modified:
  unrealircd/trunk/PKGBUILD

--------------------+
 PKGBUILD           |   19 +++++++++++--------
 unrealircd.install |   14 ++++++++++++++
 2 files changed, 25 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-11-27 14:52:34 UTC (rev 101546)
+++ PKGBUILD	2013-11-27 16:02:33 UTC (rev 101547)
@@ -3,7 +3,7 @@
 # Contributor: Zerial <fernando at zerial.org>
 
 pkgname=unrealircd
-pkgver=3.2.10.1
+pkgver=3.2.10.2
 pkgrel=1
 pkgdesc="Open Source IRC Server"
 arch=('i686' 'x86_64')
@@ -12,26 +12,29 @@
 depends=('openssl' 'curl' 'c-ares')
 conflicts=('ircd')
 provides=('ircd')
-backup=('etc/unrealircd/unrealircd.conf'
-	'etc/conf.d/unrealircd')
+backup=('etc/unrealircd/unrealircd.conf')
+install=unrealircd.install
 source=(http://www.unrealircd.com/downloads/Unreal$pkgver.tar.gz
 	unrealircd.service
 	arch-fixes.patch)
-md5sums=('97b4bd68a804e517355efa756f401a90'
+md5sums=('21c460dc04d221b401a1701ca96e9e58'
          '93276a1cd426e4a811c072c35fc31e94'
          '77807313c4578f2c30286b9f9e3fb21c')
 
+prepare() {
+  cd $srcdir/Unreal$pkgver
+  patch -p1 <$srcdir/arch-fixes.patch
+}
+
 build() {
   cd $srcdir/Unreal$pkgver
 
-  patch -p1 <$srcdir/arch-fixes.patch
-
   ac_cv_ip6=yes ./configure --with-showlistmodes \
-      --enable-hub --enable-prefixaq --with-listen=5 \
+      --enable-prefixaq --with-listen=5 \
       --with-dpath=/etc/unrealircd \
       --with-spath=/usr/bin \
       --with-nick-history=2000 --with-sendq=3000000 \
-      --with-bufferpool=18 --with-hostname=archlinux \
+      --with-bufferpool=18 \
       --with-permissions=0600 --with-fd-setsize=1024 \
       --enable-dynamic-linking \
       --enable-ziplinks \

Added: unrealircd.install
===================================================================
--- unrealircd.install	                        (rev 0)
+++ unrealircd.install	2013-11-27 16:02:33 UTC (rev 101547)
@@ -0,0 +1,14 @@
+post_install() {
+  echo "Create ircd user and chown /etc/unrealircd and /var/log/unrealircd recursively"
+  echo "SSL is enabled by default, so you need to create pem files"
+  echo "Also unrealircd.conf needs adjustments"
+  echo "See also: https://wiki.archlinux.org/index.php/UnrealIRCd"
+}
+
+post_upgrade() {
+  post_install
+}
+
+post_remove() {
+  echo "Don't forget to remove ircd user"
+}




More information about the arch-commits mailing list