network/znc: Updated for version 0.076.
This commit is contained in:
parent
e6796da6d4
commit
359180cba8
|
@ -1,4 +1,4 @@
|
||||||
ZNC is an advanced IRC bouncer.
|
ZNC is an advanced IRC bouncer
|
||||||
|
|
||||||
ZNC will remain connected to an IPv4 or IPv6 IRC server even while you
|
ZNC will remain connected to an IPv4 or IPv6 IRC server even while you
|
||||||
are offline. You can reattach your client at a later time and catch up
|
are offline. You can reattach your client at a later time and catch up
|
||||||
|
@ -26,4 +26,4 @@ build script uses "znc" as the user. If you wish to change it, e.g.
|
||||||
to use the "nobody" user, then run the script as follows:
|
to use the "nobody" user, then run the script as follows:
|
||||||
ZNC_USER=nobody ./znc.SlackBuild
|
ZNC_USER=nobody ./znc.SlackBuild
|
||||||
|
|
||||||
See README.SLACKWARE for configuration information.
|
See README.SBo for configuration information.
|
||||||
|
|
|
@ -0,0 +1,18 @@
|
||||||
|
znc README.SBo
|
||||||
|
|
||||||
|
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.
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
# User account under which ZNC should run; only change this if you
|
# User account under which ZNC should run; only change this if you
|
||||||
# know what you are doing :-)
|
# know what you are doing :-)
|
||||||
ZNC_USER="@ZNC_USER@"
|
ZNC_USER="_ZNC_USER_"
|
||||||
|
|
||||||
# First, a sanity check
|
# First, a sanity check
|
||||||
if [[ ! -e /etc/znc/configs/znc.conf ]]; then
|
if [[ ! -e /etc/znc/configs/znc.conf ]]; then
|
||||||
|
|
|
@ -7,13 +7,13 @@
|
||||||
|
|
||||||
|-----handy-ruler------------------------------------------------------|
|
|-----handy-ruler------------------------------------------------------|
|
||||||
znc: ZNC (an advanced IRC bouncer)
|
znc: ZNC (an advanced IRC bouncer)
|
||||||
znc:
|
znc:
|
||||||
znc: ZNC will remain connected to an IPv4 or IPv6 IRC server even while you
|
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: 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: 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: add additional users under one running process, useful for public shells
|
||||||
znc: that limit background processes. ZNC also supports the dynamic loading
|
znc: that limit background processes. ZNC also supports the dynamic loading
|
||||||
znc: of C++ and Perl modules.
|
znc: of C++ and Perl modules.
|
||||||
znc:
|
znc:
|
||||||
znc: Homepage: http://en.znc.in/wiki/ZNC
|
znc: Homepage: http://en.znc.in/wiki/ZNC
|
||||||
znc:
|
znc:
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
#!/bin/sh
|
#!/bin/sh -e
|
||||||
|
|
||||||
# Slackware build script for ZNC
|
# Slackware build script for ZNC
|
||||||
|
|
||||||
|
@ -59,8 +59,6 @@ if ! grep -q "^$ZNC_USER:" /etc/passwd; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
rm -rf $PKG
|
rm -rf $PKG
|
||||||
mkdir -p $TMP $PKG $OUTPUT
|
mkdir -p $TMP $PKG $OUTPUT
|
||||||
cd $TMP
|
cd $TMP
|
||||||
|
@ -92,7 +90,6 @@ CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
|
||||||
--sysconfdir=/etc \
|
--sysconfdir=/etc \
|
||||||
--localstatedir=/var \
|
--localstatedir=/var \
|
||||||
--mandir=/usr/man \
|
--mandir=/usr/man \
|
||||||
|
@ -118,7 +115,7 @@ chown -R $ZNC_USER $PKG/etc/znc
|
||||||
|
|
||||||
# Install an init script
|
# Install an init script
|
||||||
mkdir -p $PKG/etc/rc.d
|
mkdir -p $PKG/etc/rc.d
|
||||||
sed -e "s/@ZNC_USER@/$ZNC_USER/g" -e "s/@VERSION@/$VERSION/g" $CWD/rc.znc \
|
sed -e "s/_ZNC_USER_/$ZNC_USER/g" -e "s/_VERSION_/$VERSION/g" $CWD/rc.znc \
|
||||||
> $PKG/etc/rc.d/rc.znc.new
|
> $PKG/etc/rc.d/rc.znc.new
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
|
@ -126,12 +123,12 @@ cp -a \
|
||||||
AUTHORS LICENSE* README \
|
AUTHORS LICENSE* README \
|
||||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
sed s/@ZNC_USER@/$ZNC_USER/g $CWD/README.SLACKWARE > \
|
sed s/_ZNC_USER_/$ZNC_USER/g $CWD/README.SBo > \
|
||||||
$PKG/usr/doc/$PRGNAM-$VERSION/README.SLACKWARE
|
$PKG/usr/doc/$PRGNAM-$VERSION/README.SBo
|
||||||
|
|
||||||
mkdir -p $PKG/install
|
mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
cat $CWD/doinst.sh > $PKG/install/doinst.sh
|
||||||
|
|
||||||
cd $PKG
|
cd $PKG
|
||||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
||||||
|
|
|
@ -7,4 +7,4 @@ DOWNLOAD_x86_64=""
|
||||||
MD5SUM_x86_64=""
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Sean Donner"
|
MAINTAINER="Sean Donner"
|
||||||
EMAIL="sean.donner at gmail dot com"
|
EMAIL="sean.donner at gmail dot com"
|
||||||
APPROVED="rworkman"
|
APPROVED="Erik Hanson"
|
||||||
|
|
Loading…
Reference in New Issue