# $Id: PKGBUILD 82923 2013-01-25 21:39:24Z spupykin $ # Maintainer: Sergej Pupykin # Maintainer: Edward Tjörnhammar # Contributor: Edward Tjörnhammar pkgname=inn pkgver=2.5.3 pkgrel=2 pkgdesc="Complete open source Usenet system. De facto standard for handling news routing, news spool and serving the spool to customers." url="http://www.isc.org/software/inn/" arch=('i686' 'x86_64') license=("custom:INN") depends=('openssl' 'dovecot') makedepends=('make' 'bison' 'python2' 'gcc' 'smtp-forwarder' 'libsasl') optdepends=('perl' 'python2' 'libsasl') options=(emptydirs docs zipman) install=inn.install backup=(etc/inn/newsfeeds etc/inn/incoming.conf etc/inn/nnrpd.track etc/inn/passwd.nntp etc/inn/inn.conf etc/inn/moderators etc/inn/control.ctl etc/inn/expire.ctl etc/inn/nntpsend.ctl etc/inn/innreport.conf etc/inn/innwatch.ctl etc/inn/distrib.pats etc/inn/actsync.cfg etc/inn/actsync.ign etc/inn/motd.news etc/inn/storage.conf etc/inn/cycbuff.conf etc/inn/buffindexed.conf etc/inn/innfeed.conf etc/inn/news2mail.cf etc/inn/readers.conf etc/inn/radius.conf etc/inn/ovdb.conf etc/inn/subscriptions var/db/inn/active var/db/inn/active.times var/db/inn/history var/db/inn/history.dir var/db/inn/history.hash var/db/inn/history.index var/db/inn/newsgroups) source=(http://ftp.isc.org/isc/inn/inn-$pkgver.tar.gz innd.rc nnrpd.rc innd.conf nnrpd.conf innd.service inn.tmpfiles site.make.patch) md5sums=('353fe95232828ddbc80debff86c240bc' 'a243d9498568f1beee20da5684b5fbfc' 'a0b1ff8501ac8a31ce81a2f9c9b4bac9' 'fbf1d2c5b3c5a08ae3e515c71c2e2e4a' 'bb4bbe86ae52fbbf08b0f6f370dea052' '9da925a486fcf0cd67fdf462cbb9c0b4' '050b7bffff3361c673a118739e42349e' '960c800026ed6e03901cf0bafdfd53d8') build() { cd $srcdir/inn-$pkgver [ $NOEXTRACT -eq 1 ] || PYTHON=/usr/bin/python2 ./configure --prefix=/usr \ --includedir=/usr/include/inn \ --sbindir=/usr/sbin \ --with-libtool \ --with-gnu-id \ --with-db-dir=/var/db/inn \ --sysconfdir=/etc/inn \ --with-spool-dir=/var/spool/news \ --with-log-dir=/var/log/inn \ --with-run-dir=/var/run/inn \ --with-tmp-dir=/var/spool/inn/tmp \ --enable-largefiles \ --with-openssl=/usr \ --with-perl \ --with-python \ --with-sendmail=/usr/bin/msmtp \ --with-sasl=/usr \ --with-news-user=9 \ --with-news-group=13 # See https://wiki.archlinux.org/index.php/DeveloperWiki:UID_/_GID_Database test -f include/config.h cat >>include/config.h <