Select Git revision
buffer-test.c
Forked from
Nettle / nettle
Source project has a limited visibility.
-
Niels Möller authoredNiels Möller authored
makepkg 1.72 KiB
#!/bin/bash
version="1.8.2"
pkgver="3"
srcdir="znc-$version"
pkgdir="$srcdir-$pkgver-package"
archive="$srcdir.tar.gz"
url="https://znc.in/releases/$archive"
set -x
test -f $archive || wget $url || exit 1
test -f $srcdir || tar xzf $archive || exit 1
rm -r $pkgdir
mkdir $pkgdir
mkdir $pkgdir/DEBIAN
here="$PWD"
cp lysconf.cpp $srcdir/modules/
pushd $srcdir
./configure --prefix="/usr" --enable-cyrus
make -j
make install DESTDIR="$here/$pkgdir"
popd
find $pkgdir -type f -exec md5sum {} + \
| sed "s/$pkgdir\\///g" \
> $pkgdir/DEBIAN/md5sums
cat - > $pkgdir/DEBIAN/control << EOF
Package: znc
Version: ${version}-${pkgver}
Architecture: amd64
Maintainer: Hugo Hörnquist <hugo@lysator.liu.se>
Installed-Size: $(du -s $pkgdir | grep -o '^[0-9]*')
Depends: libc6 (>= 2.14), libgcc1 (>= 1:3.0), libicu60 (>= 60.1-1~), libsasl2-2, libssl1.1 (>= 1.1.0), libstdc++6 (>= 5.2), zlib1g (>= 1:1.1.4)
Replaces: znc, znc-dev
Section: net
Priority: optional
Homepage: https://www.znc.in/
Description: advanced modular IRC bouncer
znc is an IRC proxy. It runs as a daemon and connects to IRC server,
then allows you to connect from a workstation and work as the user that
is logged in to the IRC server. After you disconnect, it maintains the
connection to the server. It acts like any normal IRC server, so you can
use any IRC client to connect to it.
.
Some of its features include support for multiple users, multiple clients,
and multiple IRC servers; playback buffers to catch up with what happened
while you were detached, SSL encryption, DCC proxying, and a plugin
interface with many plugins supporting other features.
Original-Maintainer: Patrick Matthäi <pmatthaei@debian.org>
EOF
dpkg-deb --build $pkgdir
mv $pkgdir.deb $srcdir-$pkgver.deb