From 67df1ff63664c4250e7cad51ed658e70c4a21e83 Mon Sep 17 00:00:00 2001 From: Robby Workman Date: Sun, 21 Mar 2010 14:20:16 -0500 Subject: network/znc: Misc buildscript fixes. --- network/znc/README.SLACKWARE | 18 ------------------ network/znc/slack-desc | 6 +++--- network/znc/znc.SlackBuild | 7 +++++-- 3 files changed, 8 insertions(+), 23 deletions(-) delete mode 100644 network/znc/README.SLACKWARE diff --git a/network/znc/README.SLACKWARE b/network/znc/README.SLACKWARE deleted file mode 100644 index 25e686201d..0000000000 --- a/network/znc/README.SLACKWARE +++ /dev/null @@ -1,18 +0,0 @@ -znc README.SLACKWARE - -Once the package is installed, you should create your config file using -znc's own interactive utility; run the following command: - su - @ZNC_USER@ -c '/usr/bin/znc --makeconf --datadir /etc/znc' - -Since znc is configured to run as a nonprivileged user by default in -this build script, you must choose a listening port higher than 1024. - -Once you have answered all the questions, your znc.conf file will be -located at /etc/znc/configs/znc.conf - -It should be noted that by default (if run without any arguments), ZNC -will look for its configuation file in ~/.znc (which is /etc/znc/.znc -as suggested by the build script). This is irrelevant if you are using -the init script supplied with the package, but it might be worth knowing -just in case. - diff --git a/network/znc/slack-desc b/network/znc/slack-desc index 73aa173012..28b1fad159 100644 --- a/network/znc/slack-desc +++ b/network/znc/slack-desc @@ -7,13 +7,13 @@ |-----handy-ruler------------------------------------------------------| znc: ZNC (an advanced IRC bouncer) -znc: +znc: znc: ZNC will remain connected to an IPv4 or IPv6 IRC server even while you znc: are offline. You can reattach your client at a later time and catch up znc: with what happened while you were gone via the history buffer. You can znc: add additional users under one running process, useful for public shells znc: that limit background processes. ZNC also supports the dynamic loading znc: of C++ and Perl modules. -znc: +znc: znc: Homepage: http://en.znc.in/wiki/ZNC -znc: +znc: diff --git a/network/znc/znc.SlackBuild b/network/znc/znc.SlackBuild index 3b5388be8f..8b92e73a64 100644 --- a/network/znc/znc.SlackBuild +++ b/network/znc/znc.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # Slackware build script for ZNC @@ -59,6 +59,8 @@ if ! grep -q "^$ZNC_USER:" /etc/passwd; then exit 1 fi +set -e + rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP @@ -90,6 +92,7 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ @@ -131,4 +134,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} -- cgit v1.2.3