[arch-commits] Commit in minbif/repos (20 files)

Lukas Fleischer lfleischer at nymeria.archlinux.org
Wed Aug 14 09:31:13 UTC 2013


    Date: Wednesday, August 14, 2013 @ 11:31:13
  Author: lfleischer
Revision: 95562

archrelease: copy trunk to community-i686, community-x86_64

Added:
  minbif/repos/community-i686/PKGBUILD
    (from rev 95561, minbif/trunk/PKGBUILD)
  minbif/repos/community-i686/minbif-gcc-4.7.patch
    (from rev 95561, minbif/trunk/minbif-gcc-4.7.patch)
  minbif/repos/community-i686/minbif.install
    (from rev 95561, minbif/trunk/minbif.install)
  minbif/repos/community-i686/minbif.service
    (from rev 95561, minbif/trunk/minbif.service)
  minbif/repos/community-i686/minbif.tmpfiles.conf
    (from rev 95561, minbif/trunk/minbif.tmpfiles.conf)
  minbif/repos/community-x86_64/PKGBUILD
    (from rev 95561, minbif/trunk/PKGBUILD)
  minbif/repos/community-x86_64/minbif-gcc-4.7.patch
    (from rev 95561, minbif/trunk/minbif-gcc-4.7.patch)
  minbif/repos/community-x86_64/minbif.install
    (from rev 95561, minbif/trunk/minbif.install)
  minbif/repos/community-x86_64/minbif.service
    (from rev 95561, minbif/trunk/minbif.service)
  minbif/repos/community-x86_64/minbif.tmpfiles.conf
    (from rev 95561, minbif/trunk/minbif.tmpfiles.conf)
Deleted:
  minbif/repos/community-i686/PKGBUILD
  minbif/repos/community-i686/minbif-gcc-4.7.patch
  minbif/repos/community-i686/minbif.install
  minbif/repos/community-i686/minbif.service
  minbif/repos/community-i686/minbif.tmpfiles.conf
  minbif/repos/community-x86_64/PKGBUILD
  minbif/repos/community-x86_64/minbif-gcc-4.7.patch
  minbif/repos/community-x86_64/minbif.install
  minbif/repos/community-x86_64/minbif.service
  minbif/repos/community-x86_64/minbif.tmpfiles.conf

---------------------------------------+
 /PKGBUILD                             |   96 +++++++++++++++
 /minbif-gcc-4.7.patch                 |  196 ++++++++++++++++++++++++++++++++
 /minbif.install                       |   40 ++++++
 /minbif.service                       |   22 +++
 /minbif.tmpfiles.conf                 |    2 
 community-i686/PKGBUILD               |   48 -------
 community-i686/minbif-gcc-4.7.patch   |   98 ----------------
 community-i686/minbif.install         |   18 --
 community-i686/minbif.service         |   11 -
 community-i686/minbif.tmpfiles.conf   |    1 
 community-x86_64/PKGBUILD             |   48 -------
 community-x86_64/minbif-gcc-4.7.patch |   98 ----------------
 community-x86_64/minbif.install       |   18 --
 community-x86_64/minbif.service       |   11 -
 community-x86_64/minbif.tmpfiles.conf |    1 
 15 files changed, 356 insertions(+), 352 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2013-08-14 09:30:55 UTC (rev 95561)
+++ community-i686/PKGBUILD	2013-08-14 09:31:13 UTC (rev 95562)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
-# Contributor: AkiraYB <brunoyb!yahoo,com,br>
-
-pkgname=minbif
-pkgver=1.0.5
-pkgrel=3
-pkgdesc='An IRC gateway to IM networks that uses libpurple.'
-arch=('i686' 'x86_64')
-url='http://minbif.im/'
-license=('GPL2')
-depends=('gnutls' 'libcaca' 'libpurple')
-makedepends=('cmake')
-optdepends=('xinetd: to run minbif through xinetd')
-backup=('etc/minbif/minbif.conf'
-        'etc/minbif/minbif.motd')
-install='minbif.install'
-source=("http://minbif.im/attachments/download/148/${pkgname}-${pkgver}.tar.gz"
-        'minbif-gcc-4.7.patch'
-        'minbif.service'
-        'minbif.tmpfiles.conf')
-md5sums=('00c5c1abbe2b8a9d900961832c7909a8'
-         '2235c45d5bdb01e9ef4b11d2a41d49bb'
-         'b34876e339a37dfb1dc6cd0b9d8edf9d'
-         '3360f5d1bf9bc69fd9b7c9326f321dc3')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  # build fixes
-  patch -p1 -i ../minbif-gcc-4.7.patch
-
-  make PREFIX=/usr CONF_PREFIX=/etc/minbif ENABLE_MINBIF=ON ENABLE_IMLIB=ON ENABLE_CACA=ON \
-       ENABLE_VIDEO=OFF ENABLE_PLUGIN=OFF ENABLE_PAM=ON ENABLE_TLS=ON DEBUG=OFF
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  install -dm0755 "${pkgdir}/var/lib"
-  install -dm0770 -o67 -g67 "${pkgdir}/var/lib/minbif"
-  install -dm0770 -o67 -g67 "${pkgdir}/var/lib/minbif/users"
-
-  make DESTDIR="${pkgdir}" install
-
-  install -Dm0644 "${srcdir}/minbif.service" "${pkgdir}/usr/lib/systemd/system/minbif.service"
-  install -Dm0644 "${srcdir}/minbif.tmpfiles.conf" "${pkgdir}/usr/lib/tmpfiles.d/minbif.conf"
-}

Copied: minbif/repos/community-i686/PKGBUILD (from rev 95561, minbif/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2013-08-14 09:31:13 UTC (rev 95562)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+# Contributor: AkiraYB <brunoyb!yahoo,com,br>
+
+pkgname=minbif
+pkgver=1.0.5
+pkgrel=4
+pkgdesc='An IRC gateway to IM networks that uses libpurple.'
+arch=('i686' 'x86_64')
+url='http://minbif.im/'
+license=('GPL2')
+depends=('gnutls' 'libcaca' 'libpurple')
+makedepends=('cmake')
+optdepends=('xinetd: to run minbif through xinetd')
+backup=('etc/minbif/minbif.conf'
+        'etc/minbif/minbif.motd')
+install='minbif.install'
+source=("http://minbif.im/attachments/download/148/${pkgname}-${pkgver}.tar.gz"
+        'minbif-gcc-4.7.patch'
+        'minbif.service'
+        'minbif.tmpfiles.conf')
+md5sums=('00c5c1abbe2b8a9d900961832c7909a8'
+         '2235c45d5bdb01e9ef4b11d2a41d49bb'
+         'b34876e339a37dfb1dc6cd0b9d8edf9d'
+         '3360f5d1bf9bc69fd9b7c9326f321dc3')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  # build fixes
+  patch -p1 -i ../minbif-gcc-4.7.patch
+
+  make PREFIX=/usr CONF_PREFIX=/etc/minbif ENABLE_MINBIF=ON ENABLE_IMLIB=ON ENABLE_CACA=ON \
+       ENABLE_VIDEO=OFF ENABLE_PLUGIN=OFF ENABLE_PAM=ON ENABLE_TLS=ON DEBUG=OFF
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  install -dm0755 "${pkgdir}/var/lib"
+  install -dm0770 -o67 -g67 "${pkgdir}/var/lib/minbif"
+  install -dm0770 -o67 -g67 "${pkgdir}/var/lib/minbif/users"
+
+  make DESTDIR="${pkgdir}" install
+
+  install -Dm0644 "${srcdir}/minbif.service" "${pkgdir}/usr/lib/systemd/system/minbif.service"
+  install -Dm0644 "${srcdir}/minbif.tmpfiles.conf" "${pkgdir}/usr/lib/tmpfiles.d/minbif.conf"
+}

Deleted: community-i686/minbif-gcc-4.7.patch
===================================================================
--- community-i686/minbif-gcc-4.7.patch	2013-08-14 09:30:55 UTC (rev 95561)
+++ community-i686/minbif-gcc-4.7.patch	2013-08-14 09:31:13 UTC (rev 95562)
@@ -1,98 +0,0 @@
-diff --git a/src/im/account.cpp b/src/im/account.cpp
-index f155334..21baa5f 100644
---- a/src/im/account.cpp
-+++ b/src/im/account.cpp
-@@ -18,6 +18,7 @@
- 
- #include <cassert>
- #include <cstring>
-+#include <unistd.h>
- #ifdef HAVE_IMLIB
- 	#include <Imlib2.h>
- #endif /* HAVE_IMLIB */
-diff --git a/src/im/request.cpp b/src/im/request.cpp
-index e72cbc9..a247e3b 100644
---- a/src/im/request.cpp
-+++ b/src/im/request.cpp
-@@ -18,6 +18,7 @@
- 
- #include <errno.h>
- #include <string.h>
-+#include <unistd.h>
- 
- #include "request.h"
- #include "buddy.h"
-diff --git a/src/irc/dcc.cpp b/src/irc/dcc.cpp
-index 6d05034..231122c 100644
---- a/src/irc/dcc.cpp
-+++ b/src/irc/dcc.cpp
-@@ -23,6 +23,7 @@
- #include <string.h>
- #include <sys/types.h>
- #include <netinet/in.h>
-+#include <unistd.h>
- 
- #include "dcc.h"
- #include "nick.h"
-diff --git a/src/irc/irc.cpp b/src/irc/irc.cpp
-index 5d28acb..116d9db 100644
---- a/src/irc/irc.cpp
-+++ b/src/irc/irc.cpp
-@@ -246,7 +246,7 @@ Nick* IRC::getNick(string nickname, bool case_sensitive) const
- Buddy* IRC::getNick(const im::Buddy& buddy) const
- {
- 	map<string, Nick*>::const_iterator it;
--	Buddy* nb;
-+	Buddy* nb = NULL;
- 	for(it = users.begin();
- 	    it != users.end() && (!(nb = dynamic_cast<Buddy*>(it->second)) || nb->getBuddy() != buddy);
- 	    ++it)
-@@ -261,7 +261,7 @@ Buddy* IRC::getNick(const im::Buddy& buddy) const
- ConvNick* IRC::getNick(const im::Conversation& conv) const
- {
- 	map<string, Nick*>::const_iterator it;
--	ConvNick* n;
-+	ConvNick* n = NULL;
- 	for(it = users.begin();
- 	    it != users.end() && (!(n = dynamic_cast<ConvNick*>(it->second)) || n->getConversation() != conv);
- 	    ++it)
-diff --git a/src/server_poll/daemon_fork.cpp b/src/server_poll/daemon_fork.cpp
-index 53606a0..e205a61 100644
---- a/src/server_poll/daemon_fork.cpp
-+++ b/src/server_poll/daemon_fork.cpp
-@@ -20,7 +20,7 @@
- #include <cassert>
- #include <cstring>
- #include <cerrno>
--#include <glib/gmain.h>
-+#include <glib.h>
- #include <sys/socket.h>
- #include <sys/stat.h>
- #include <arpa/inet.h>
-diff --git a/src/server_poll/inetd.cpp b/src/server_poll/inetd.cpp
-index 291c40f..f747e74 100644
---- a/src/server_poll/inetd.cpp
-+++ b/src/server_poll/inetd.cpp
-@@ -17,7 +17,8 @@
-  */
- 
- #include <cassert>
--#include <glib/gmain.h>
-+#include <glib.h>
-+#include <unistd.h>
- 
- #include "inetd.h"
- #include "irc/irc.h"
-diff --git a/src/sockwrap/sockwrap.cpp b/src/sockwrap/sockwrap.cpp
-index f10755c..478c616 100644
---- a/src/sockwrap/sockwrap.cpp
-+++ b/src/sockwrap/sockwrap.cpp
-@@ -16,6 +16,8 @@
-  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-  */
- 
-+#include <unistd.h>
-+
- #include "sockwrap.h"
- #include "sockwrap_plain.h"
- #ifdef HAVE_TLS

Copied: minbif/repos/community-i686/minbif-gcc-4.7.patch (from rev 95561, minbif/trunk/minbif-gcc-4.7.patch)
===================================================================
--- community-i686/minbif-gcc-4.7.patch	                        (rev 0)
+++ community-i686/minbif-gcc-4.7.patch	2013-08-14 09:31:13 UTC (rev 95562)
@@ -0,0 +1,98 @@
+diff --git a/src/im/account.cpp b/src/im/account.cpp
+index f155334..21baa5f 100644
+--- a/src/im/account.cpp
++++ b/src/im/account.cpp
+@@ -18,6 +18,7 @@
+ 
+ #include <cassert>
+ #include <cstring>
++#include <unistd.h>
+ #ifdef HAVE_IMLIB
+ 	#include <Imlib2.h>
+ #endif /* HAVE_IMLIB */
+diff --git a/src/im/request.cpp b/src/im/request.cpp
+index e72cbc9..a247e3b 100644
+--- a/src/im/request.cpp
++++ b/src/im/request.cpp
+@@ -18,6 +18,7 @@
+ 
+ #include <errno.h>
+ #include <string.h>
++#include <unistd.h>
+ 
+ #include "request.h"
+ #include "buddy.h"
+diff --git a/src/irc/dcc.cpp b/src/irc/dcc.cpp
+index 6d05034..231122c 100644
+--- a/src/irc/dcc.cpp
++++ b/src/irc/dcc.cpp
+@@ -23,6 +23,7 @@
+ #include <string.h>
+ #include <sys/types.h>
+ #include <netinet/in.h>
++#include <unistd.h>
+ 
+ #include "dcc.h"
+ #include "nick.h"
+diff --git a/src/irc/irc.cpp b/src/irc/irc.cpp
+index 5d28acb..116d9db 100644
+--- a/src/irc/irc.cpp
++++ b/src/irc/irc.cpp
+@@ -246,7 +246,7 @@ Nick* IRC::getNick(string nickname, bool case_sensitive) const
+ Buddy* IRC::getNick(const im::Buddy& buddy) const
+ {
+ 	map<string, Nick*>::const_iterator it;
+-	Buddy* nb;
++	Buddy* nb = NULL;
+ 	for(it = users.begin();
+ 	    it != users.end() && (!(nb = dynamic_cast<Buddy*>(it->second)) || nb->getBuddy() != buddy);
+ 	    ++it)
+@@ -261,7 +261,7 @@ Buddy* IRC::getNick(const im::Buddy& buddy) const
+ ConvNick* IRC::getNick(const im::Conversation& conv) const
+ {
+ 	map<string, Nick*>::const_iterator it;
+-	ConvNick* n;
++	ConvNick* n = NULL;
+ 	for(it = users.begin();
+ 	    it != users.end() && (!(n = dynamic_cast<ConvNick*>(it->second)) || n->getConversation() != conv);
+ 	    ++it)
+diff --git a/src/server_poll/daemon_fork.cpp b/src/server_poll/daemon_fork.cpp
+index 53606a0..e205a61 100644
+--- a/src/server_poll/daemon_fork.cpp
++++ b/src/server_poll/daemon_fork.cpp
+@@ -20,7 +20,7 @@
+ #include <cassert>
+ #include <cstring>
+ #include <cerrno>
+-#include <glib/gmain.h>
++#include <glib.h>
+ #include <sys/socket.h>
+ #include <sys/stat.h>
+ #include <arpa/inet.h>
+diff --git a/src/server_poll/inetd.cpp b/src/server_poll/inetd.cpp
+index 291c40f..f747e74 100644
+--- a/src/server_poll/inetd.cpp
++++ b/src/server_poll/inetd.cpp
+@@ -17,7 +17,8 @@
+  */
+ 
+ #include <cassert>
+-#include <glib/gmain.h>
++#include <glib.h>
++#include <unistd.h>
+ 
+ #include "inetd.h"
+ #include "irc/irc.h"
+diff --git a/src/sockwrap/sockwrap.cpp b/src/sockwrap/sockwrap.cpp
+index f10755c..478c616 100644
+--- a/src/sockwrap/sockwrap.cpp
++++ b/src/sockwrap/sockwrap.cpp
+@@ -16,6 +16,8 @@
+  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+  */
+ 
++#include <unistd.h>
++
+ #include "sockwrap.h"
+ #include "sockwrap_plain.h"
+ #ifdef HAVE_TLS

Deleted: community-i686/minbif.install
===================================================================
--- community-i686/minbif.install	2013-08-14 09:30:55 UTC (rev 95561)
+++ community-i686/minbif.install	2013-08-14 09:31:13 UTC (rev 95562)
@@ -1,18 +0,0 @@
-post_install() {
-  grep -qs ^minbif: /etc/group || groupadd -g 67 minbif
-  grep -qs ^minbif: /etc/passwd || useradd -u 67 -g minbif \
-    -d /var/lib/minbif -s /bin/false minbif
-
-  chown -R minbif:minbif /var/lib/minbif
-  chmod 0770 /var/lib/minbif
-  chmod 0770 /var/lib/minbif/users
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-pre_remove() {
-  grep -qs ^minbif: /etc/passwd && userdel minbif
-  grep -qs ^minbif: /etc/group && groupdel minbif
-}

Copied: minbif/repos/community-i686/minbif.install (from rev 95561, minbif/trunk/minbif.install)
===================================================================
--- community-i686/minbif.install	                        (rev 0)
+++ community-i686/minbif.install	2013-08-14 09:31:13 UTC (rev 95562)
@@ -0,0 +1,20 @@
+post_install() {
+  grep -qs ^minbif: /etc/group || groupadd -g 67 minbif
+  grep -qs ^minbif: /etc/passwd || useradd -u 67 -g minbif \
+    -d /var/lib/minbif -s /bin/false minbif
+
+  chown -R minbif:minbif /var/lib/minbif
+  chmod 0770 /var/lib/minbif
+  chmod 0770 /var/lib/minbif/users
+
+  systemd-tmpfiles --create minbif.conf
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  grep -qs ^minbif: /etc/passwd && userdel minbif
+  grep -qs ^minbif: /etc/group && groupdel minbif
+}

Deleted: community-i686/minbif.service
===================================================================
--- community-i686/minbif.service	2013-08-14 09:30:55 UTC (rev 95561)
+++ community-i686/minbif.service	2013-08-14 09:31:13 UTC (rev 95562)
@@ -1,11 +0,0 @@
-[Unit]
-Description=minbif daemon
-
-[Service]
-Type=forking
-PIDFile=/run/minbif/minbif.pid
-User=minbif
-ExecStart=/usr/bin/minbif --pidfile /run/minbif/minbif.pid /etc/minbif/minbif.conf
-
-[Install]
-WantedBy=multi-user.target

Copied: minbif/repos/community-i686/minbif.service (from rev 95561, minbif/trunk/minbif.service)
===================================================================
--- community-i686/minbif.service	                        (rev 0)
+++ community-i686/minbif.service	2013-08-14 09:31:13 UTC (rev 95562)
@@ -0,0 +1,11 @@
+[Unit]
+Description=minbif daemon
+
+[Service]
+Type=forking
+PIDFile=/run/minbif/minbif.pid
+User=minbif
+ExecStart=/usr/bin/minbif --pidfile /run/minbif/minbif.pid /etc/minbif/minbif.conf
+
+[Install]
+WantedBy=multi-user.target

Deleted: community-i686/minbif.tmpfiles.conf
===================================================================
--- community-i686/minbif.tmpfiles.conf	2013-08-14 09:30:55 UTC (rev 95561)
+++ community-i686/minbif.tmpfiles.conf	2013-08-14 09:31:13 UTC (rev 95562)
@@ -1 +0,0 @@
-d /run/minbif - minbif minbif -

Copied: minbif/repos/community-i686/minbif.tmpfiles.conf (from rev 95561, minbif/trunk/minbif.tmpfiles.conf)
===================================================================
--- community-i686/minbif.tmpfiles.conf	                        (rev 0)
+++ community-i686/minbif.tmpfiles.conf	2013-08-14 09:31:13 UTC (rev 95562)
@@ -0,0 +1 @@
+d /run/minbif - minbif minbif -

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2013-08-14 09:30:55 UTC (rev 95561)
+++ community-x86_64/PKGBUILD	2013-08-14 09:31:13 UTC (rev 95562)
@@ -1,48 +0,0 @@
-# $Id$
-# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
-# Contributor: AkiraYB <brunoyb!yahoo,com,br>
-
-pkgname=minbif
-pkgver=1.0.5
-pkgrel=3
-pkgdesc='An IRC gateway to IM networks that uses libpurple.'
-arch=('i686' 'x86_64')
-url='http://minbif.im/'
-license=('GPL2')
-depends=('gnutls' 'libcaca' 'libpurple')
-makedepends=('cmake')
-optdepends=('xinetd: to run minbif through xinetd')
-backup=('etc/minbif/minbif.conf'
-        'etc/minbif/minbif.motd')
-install='minbif.install'
-source=("http://minbif.im/attachments/download/148/${pkgname}-${pkgver}.tar.gz"
-        'minbif-gcc-4.7.patch'
-        'minbif.service'
-        'minbif.tmpfiles.conf')
-md5sums=('00c5c1abbe2b8a9d900961832c7909a8'
-         '2235c45d5bdb01e9ef4b11d2a41d49bb'
-         'b34876e339a37dfb1dc6cd0b9d8edf9d'
-         '3360f5d1bf9bc69fd9b7c9326f321dc3')
-
-build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  # build fixes
-  patch -p1 -i ../minbif-gcc-4.7.patch
-
-  make PREFIX=/usr CONF_PREFIX=/etc/minbif ENABLE_MINBIF=ON ENABLE_IMLIB=ON ENABLE_CACA=ON \
-       ENABLE_VIDEO=OFF ENABLE_PLUGIN=OFF ENABLE_PAM=ON ENABLE_TLS=ON DEBUG=OFF
-}
-
-package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-
-  install -dm0755 "${pkgdir}/var/lib"
-  install -dm0770 -o67 -g67 "${pkgdir}/var/lib/minbif"
-  install -dm0770 -o67 -g67 "${pkgdir}/var/lib/minbif/users"
-
-  make DESTDIR="${pkgdir}" install
-
-  install -Dm0644 "${srcdir}/minbif.service" "${pkgdir}/usr/lib/systemd/system/minbif.service"
-  install -Dm0644 "${srcdir}/minbif.tmpfiles.conf" "${pkgdir}/usr/lib/tmpfiles.d/minbif.conf"
-}

Copied: minbif/repos/community-x86_64/PKGBUILD (from rev 95561, minbif/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2013-08-14 09:31:13 UTC (rev 95562)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+# Contributor: AkiraYB <brunoyb!yahoo,com,br>
+
+pkgname=minbif
+pkgver=1.0.5
+pkgrel=4
+pkgdesc='An IRC gateway to IM networks that uses libpurple.'
+arch=('i686' 'x86_64')
+url='http://minbif.im/'
+license=('GPL2')
+depends=('gnutls' 'libcaca' 'libpurple')
+makedepends=('cmake')
+optdepends=('xinetd: to run minbif through xinetd')
+backup=('etc/minbif/minbif.conf'
+        'etc/minbif/minbif.motd')
+install='minbif.install'
+source=("http://minbif.im/attachments/download/148/${pkgname}-${pkgver}.tar.gz"
+        'minbif-gcc-4.7.patch'
+        'minbif.service'
+        'minbif.tmpfiles.conf')
+md5sums=('00c5c1abbe2b8a9d900961832c7909a8'
+         '2235c45d5bdb01e9ef4b11d2a41d49bb'
+         'b34876e339a37dfb1dc6cd0b9d8edf9d'
+         '3360f5d1bf9bc69fd9b7c9326f321dc3')
+
+build() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  # build fixes
+  patch -p1 -i ../minbif-gcc-4.7.patch
+
+  make PREFIX=/usr CONF_PREFIX=/etc/minbif ENABLE_MINBIF=ON ENABLE_IMLIB=ON ENABLE_CACA=ON \
+       ENABLE_VIDEO=OFF ENABLE_PLUGIN=OFF ENABLE_PAM=ON ENABLE_TLS=ON DEBUG=OFF
+}
+
+package() {
+  cd "${srcdir}/${pkgname}-${pkgver}"
+
+  install -dm0755 "${pkgdir}/var/lib"
+  install -dm0770 -o67 -g67 "${pkgdir}/var/lib/minbif"
+  install -dm0770 -o67 -g67 "${pkgdir}/var/lib/minbif/users"
+
+  make DESTDIR="${pkgdir}" install
+
+  install -Dm0644 "${srcdir}/minbif.service" "${pkgdir}/usr/lib/systemd/system/minbif.service"
+  install -Dm0644 "${srcdir}/minbif.tmpfiles.conf" "${pkgdir}/usr/lib/tmpfiles.d/minbif.conf"
+}

Deleted: community-x86_64/minbif-gcc-4.7.patch
===================================================================
--- community-x86_64/minbif-gcc-4.7.patch	2013-08-14 09:30:55 UTC (rev 95561)
+++ community-x86_64/minbif-gcc-4.7.patch	2013-08-14 09:31:13 UTC (rev 95562)
@@ -1,98 +0,0 @@
-diff --git a/src/im/account.cpp b/src/im/account.cpp
-index f155334..21baa5f 100644
---- a/src/im/account.cpp
-+++ b/src/im/account.cpp
-@@ -18,6 +18,7 @@
- 
- #include <cassert>
- #include <cstring>
-+#include <unistd.h>
- #ifdef HAVE_IMLIB
- 	#include <Imlib2.h>
- #endif /* HAVE_IMLIB */
-diff --git a/src/im/request.cpp b/src/im/request.cpp
-index e72cbc9..a247e3b 100644
---- a/src/im/request.cpp
-+++ b/src/im/request.cpp
-@@ -18,6 +18,7 @@
- 
- #include <errno.h>
- #include <string.h>
-+#include <unistd.h>
- 
- #include "request.h"
- #include "buddy.h"
-diff --git a/src/irc/dcc.cpp b/src/irc/dcc.cpp
-index 6d05034..231122c 100644
---- a/src/irc/dcc.cpp
-+++ b/src/irc/dcc.cpp
-@@ -23,6 +23,7 @@
- #include <string.h>
- #include <sys/types.h>
- #include <netinet/in.h>
-+#include <unistd.h>
- 
- #include "dcc.h"
- #include "nick.h"
-diff --git a/src/irc/irc.cpp b/src/irc/irc.cpp
-index 5d28acb..116d9db 100644
---- a/src/irc/irc.cpp
-+++ b/src/irc/irc.cpp
-@@ -246,7 +246,7 @@ Nick* IRC::getNick(string nickname, bool case_sensitive) const
- Buddy* IRC::getNick(const im::Buddy& buddy) const
- {
- 	map<string, Nick*>::const_iterator it;
--	Buddy* nb;
-+	Buddy* nb = NULL;
- 	for(it = users.begin();
- 	    it != users.end() && (!(nb = dynamic_cast<Buddy*>(it->second)) || nb->getBuddy() != buddy);
- 	    ++it)
-@@ -261,7 +261,7 @@ Buddy* IRC::getNick(const im::Buddy& buddy) const
- ConvNick* IRC::getNick(const im::Conversation& conv) const
- {
- 	map<string, Nick*>::const_iterator it;
--	ConvNick* n;
-+	ConvNick* n = NULL;
- 	for(it = users.begin();
- 	    it != users.end() && (!(n = dynamic_cast<ConvNick*>(it->second)) || n->getConversation() != conv);
- 	    ++it)
-diff --git a/src/server_poll/daemon_fork.cpp b/src/server_poll/daemon_fork.cpp
-index 53606a0..e205a61 100644
---- a/src/server_poll/daemon_fork.cpp
-+++ b/src/server_poll/daemon_fork.cpp
-@@ -20,7 +20,7 @@
- #include <cassert>
- #include <cstring>
- #include <cerrno>
--#include <glib/gmain.h>
-+#include <glib.h>
- #include <sys/socket.h>
- #include <sys/stat.h>
- #include <arpa/inet.h>
-diff --git a/src/server_poll/inetd.cpp b/src/server_poll/inetd.cpp
-index 291c40f..f747e74 100644
---- a/src/server_poll/inetd.cpp
-+++ b/src/server_poll/inetd.cpp
-@@ -17,7 +17,8 @@
-  */
- 
- #include <cassert>
--#include <glib/gmain.h>
-+#include <glib.h>
-+#include <unistd.h>
- 
- #include "inetd.h"
- #include "irc/irc.h"
-diff --git a/src/sockwrap/sockwrap.cpp b/src/sockwrap/sockwrap.cpp
-index f10755c..478c616 100644
---- a/src/sockwrap/sockwrap.cpp
-+++ b/src/sockwrap/sockwrap.cpp
-@@ -16,6 +16,8 @@
-  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-  */
- 
-+#include <unistd.h>
-+
- #include "sockwrap.h"
- #include "sockwrap_plain.h"
- #ifdef HAVE_TLS

Copied: minbif/repos/community-x86_64/minbif-gcc-4.7.patch (from rev 95561, minbif/trunk/minbif-gcc-4.7.patch)
===================================================================
--- community-x86_64/minbif-gcc-4.7.patch	                        (rev 0)
+++ community-x86_64/minbif-gcc-4.7.patch	2013-08-14 09:31:13 UTC (rev 95562)
@@ -0,0 +1,98 @@
+diff --git a/src/im/account.cpp b/src/im/account.cpp
+index f155334..21baa5f 100644
+--- a/src/im/account.cpp
++++ b/src/im/account.cpp
+@@ -18,6 +18,7 @@
+ 
+ #include <cassert>
+ #include <cstring>
++#include <unistd.h>
+ #ifdef HAVE_IMLIB
+ 	#include <Imlib2.h>
+ #endif /* HAVE_IMLIB */
+diff --git a/src/im/request.cpp b/src/im/request.cpp
+index e72cbc9..a247e3b 100644
+--- a/src/im/request.cpp
++++ b/src/im/request.cpp
+@@ -18,6 +18,7 @@
+ 
+ #include <errno.h>
+ #include <string.h>
++#include <unistd.h>
+ 
+ #include "request.h"
+ #include "buddy.h"
+diff --git a/src/irc/dcc.cpp b/src/irc/dcc.cpp
+index 6d05034..231122c 100644
+--- a/src/irc/dcc.cpp
++++ b/src/irc/dcc.cpp
+@@ -23,6 +23,7 @@
+ #include <string.h>
+ #include <sys/types.h>
+ #include <netinet/in.h>
++#include <unistd.h>
+ 
+ #include "dcc.h"
+ #include "nick.h"
+diff --git a/src/irc/irc.cpp b/src/irc/irc.cpp
+index 5d28acb..116d9db 100644
+--- a/src/irc/irc.cpp
++++ b/src/irc/irc.cpp
+@@ -246,7 +246,7 @@ Nick* IRC::getNick(string nickname, bool case_sensitive) const
+ Buddy* IRC::getNick(const im::Buddy& buddy) const
+ {
+ 	map<string, Nick*>::const_iterator it;
+-	Buddy* nb;
++	Buddy* nb = NULL;
+ 	for(it = users.begin();
+ 	    it != users.end() && (!(nb = dynamic_cast<Buddy*>(it->second)) || nb->getBuddy() != buddy);
+ 	    ++it)
+@@ -261,7 +261,7 @@ Buddy* IRC::getNick(const im::Buddy& buddy) const
+ ConvNick* IRC::getNick(const im::Conversation& conv) const
+ {
+ 	map<string, Nick*>::const_iterator it;
+-	ConvNick* n;
++	ConvNick* n = NULL;
+ 	for(it = users.begin();
+ 	    it != users.end() && (!(n = dynamic_cast<ConvNick*>(it->second)) || n->getConversation() != conv);
+ 	    ++it)
+diff --git a/src/server_poll/daemon_fork.cpp b/src/server_poll/daemon_fork.cpp
+index 53606a0..e205a61 100644
+--- a/src/server_poll/daemon_fork.cpp
++++ b/src/server_poll/daemon_fork.cpp
+@@ -20,7 +20,7 @@
+ #include <cassert>
+ #include <cstring>
+ #include <cerrno>
+-#include <glib/gmain.h>
++#include <glib.h>
+ #include <sys/socket.h>
+ #include <sys/stat.h>
+ #include <arpa/inet.h>
+diff --git a/src/server_poll/inetd.cpp b/src/server_poll/inetd.cpp
+index 291c40f..f747e74 100644
+--- a/src/server_poll/inetd.cpp
++++ b/src/server_poll/inetd.cpp
+@@ -17,7 +17,8 @@
+  */
+ 
+ #include <cassert>
+-#include <glib/gmain.h>
++#include <glib.h>
++#include <unistd.h>
+ 
+ #include "inetd.h"
+ #include "irc/irc.h"
+diff --git a/src/sockwrap/sockwrap.cpp b/src/sockwrap/sockwrap.cpp
+index f10755c..478c616 100644
+--- a/src/sockwrap/sockwrap.cpp
++++ b/src/sockwrap/sockwrap.cpp
+@@ -16,6 +16,8 @@
+  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+  */
+ 
++#include <unistd.h>
++
+ #include "sockwrap.h"
+ #include "sockwrap_plain.h"
+ #ifdef HAVE_TLS

Deleted: community-x86_64/minbif.install
===================================================================
--- community-x86_64/minbif.install	2013-08-14 09:30:55 UTC (rev 95561)
+++ community-x86_64/minbif.install	2013-08-14 09:31:13 UTC (rev 95562)
@@ -1,18 +0,0 @@
-post_install() {
-  grep -qs ^minbif: /etc/group || groupadd -g 67 minbif
-  grep -qs ^minbif: /etc/passwd || useradd -u 67 -g minbif \
-    -d /var/lib/minbif -s /bin/false minbif
-
-  chown -R minbif:minbif /var/lib/minbif
-  chmod 0770 /var/lib/minbif
-  chmod 0770 /var/lib/minbif/users
-}
-
-post_upgrade() {
-  post_install $1
-}
-
-pre_remove() {
-  grep -qs ^minbif: /etc/passwd && userdel minbif
-  grep -qs ^minbif: /etc/group && groupdel minbif
-}

Copied: minbif/repos/community-x86_64/minbif.install (from rev 95561, minbif/trunk/minbif.install)
===================================================================
--- community-x86_64/minbif.install	                        (rev 0)
+++ community-x86_64/minbif.install	2013-08-14 09:31:13 UTC (rev 95562)
@@ -0,0 +1,20 @@
+post_install() {
+  grep -qs ^minbif: /etc/group || groupadd -g 67 minbif
+  grep -qs ^minbif: /etc/passwd || useradd -u 67 -g minbif \
+    -d /var/lib/minbif -s /bin/false minbif
+
+  chown -R minbif:minbif /var/lib/minbif
+  chmod 0770 /var/lib/minbif
+  chmod 0770 /var/lib/minbif/users
+
+  systemd-tmpfiles --create minbif.conf
+}
+
+post_upgrade() {
+  post_install $1
+}
+
+pre_remove() {
+  grep -qs ^minbif: /etc/passwd && userdel minbif
+  grep -qs ^minbif: /etc/group && groupdel minbif
+}

Deleted: community-x86_64/minbif.service
===================================================================
--- community-x86_64/minbif.service	2013-08-14 09:30:55 UTC (rev 95561)
+++ community-x86_64/minbif.service	2013-08-14 09:31:13 UTC (rev 95562)
@@ -1,11 +0,0 @@
-[Unit]
-Description=minbif daemon
-
-[Service]
-Type=forking
-PIDFile=/run/minbif/minbif.pid
-User=minbif
-ExecStart=/usr/bin/minbif --pidfile /run/minbif/minbif.pid /etc/minbif/minbif.conf
-
-[Install]
-WantedBy=multi-user.target

Copied: minbif/repos/community-x86_64/minbif.service (from rev 95561, minbif/trunk/minbif.service)
===================================================================
--- community-x86_64/minbif.service	                        (rev 0)
+++ community-x86_64/minbif.service	2013-08-14 09:31:13 UTC (rev 95562)
@@ -0,0 +1,11 @@
+[Unit]
+Description=minbif daemon
+
+[Service]
+Type=forking
+PIDFile=/run/minbif/minbif.pid
+User=minbif
+ExecStart=/usr/bin/minbif --pidfile /run/minbif/minbif.pid /etc/minbif/minbif.conf
+
+[Install]
+WantedBy=multi-user.target

Deleted: community-x86_64/minbif.tmpfiles.conf
===================================================================
--- community-x86_64/minbif.tmpfiles.conf	2013-08-14 09:30:55 UTC (rev 95561)
+++ community-x86_64/minbif.tmpfiles.conf	2013-08-14 09:31:13 UTC (rev 95562)
@@ -1 +0,0 @@
-d /run/minbif - minbif minbif -

Copied: minbif/repos/community-x86_64/minbif.tmpfiles.conf (from rev 95561, minbif/trunk/minbif.tmpfiles.conf)
===================================================================
--- community-x86_64/minbif.tmpfiles.conf	                        (rev 0)
+++ community-x86_64/minbif.tmpfiles.conf	2013-08-14 09:31:13 UTC (rev 95562)
@@ -0,0 +1 @@
+d /run/minbif - minbif minbif -




More information about the arch-commits mailing list