From dee9f17b595ea903a982d31d1124b302bb17e2ff Mon Sep 17 00:00:00 2001 From: root Date: Wed, 17 Jul 2013 00:58:52 -0700 Subject: Wed Jul 17 00:58:51 PDT 2013 --- community/inn/PKGBUILD | 125 ------------------------------------------ community/inn/inn.install | 22 -------- community/inn/inn.tmpfiles | 1 - community/inn/innd.service | 16 ------ community/inn/site.make.patch | 32 ----------- 5 files changed, 196 deletions(-) delete mode 100644 community/inn/PKGBUILD delete mode 100644 community/inn/inn.install delete mode 100644 community/inn/inn.tmpfiles delete mode 100644 community/inn/innd.service delete mode 100644 community/inn/site.make.patch (limited to 'community/inn') diff --git a/community/inn/PKGBUILD b/community/inn/PKGBUILD deleted file mode 100644 index adc62dab0..000000000 --- a/community/inn/PKGBUILD +++ /dev/null @@ -1,125 +0,0 @@ -# $Id: PKGBUILD 92442 2013-06-05 11:48:40Z spupykin $ -# Maintainer: Sergej Pupykin -# Maintainer: Edward Tjörnhammar -# Contributor: Edward Tjörnhammar - -pkgname=inn -pkgver=2.5.3 -pkgrel=7 -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.service - inn.tmpfiles - site.make.patch) -md5sums=('353fe95232828ddbc80debff86c240bc' - '9da925a486fcf0cd67fdf462cbb9c0b4' - '050b7bffff3361c673a118739e42349e' - '960c800026ed6e03901cf0bafdfd53d8') - -prepare() { - cd $srcdir/inn-$pkgver -# sed -i 's|-export-dynamic gnu|-export-dynamic|' Makefile.global - [ $NOEXTRACT -eq 1 ] || patch -p3 < $srcdir/site.make.patch - sed -i 's|#define L_NOTICE.*|#define L_NOTICE LOG_NOTICE|' include/inn/options.h -} - -build() { - cd $srcdir/inn-$pkgver - 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 <&- >&- || groupadd -g 13 -r news 2>&- >&- - grep -e "^news:" /etc/passwd 2>&- >&- || useradd -u 9 -r -m -g news news 2>&- >&- - - /usr/bin/makedbz -i -o 2>&- >&- - mkdir /var/log/news 2>&- >&- - - chown news:news -R var/spool/news 2>&- >&- - chown news:news var/log/news 2>&- >&- - chown news:news -R var/db/inn 2>&- >&- - - echo "" - echo "->" - echo "-> If this is a first-time installation, a minimal active file and" - echo "-> history database have been installed. Do not forget to update" - echo "-> your cron entries and configure INN. See INSTALL for more" - echo "-> information." - echo "->" - echo "-> The default user:group for inn is news:news" - echo "->" - echo "" -} diff --git a/community/inn/inn.tmpfiles b/community/inn/inn.tmpfiles deleted file mode 100644 index 234b97c2c..000000000 --- a/community/inn/inn.tmpfiles +++ /dev/null @@ -1 +0,0 @@ -d /run/inn 0755 news news - diff --git a/community/inn/innd.service b/community/inn/innd.service deleted file mode 100644 index 724baf90c..000000000 --- a/community/inn/innd.service +++ /dev/null @@ -1,16 +0,0 @@ -[Unit] -Description=Inetnet News Daemon -After=syslog.target network.target -ConditionPathExists=/etc/inn/inn.conf - -[Service] -User=news -PermissionsStartOnly=true -PIDFile=/run/inn/innd.pid -Type=forking -ExecStart=/usr/bin/rc.news -ExecStop=/bin/su -m news -c '/usr/bin/rc.news stop' -KillMode=control-group - -[Install] -WantedBy=multi-user.target diff --git a/community/inn/site.make.patch b/community/inn/site.make.patch deleted file mode 100644 index 5af6e1162..000000000 --- a/community/inn/site.make.patch +++ /dev/null @@ -1,32 +0,0 @@ ---- old/src/inn-2.4.5/site/Makefile 2008-06-29 19:56:57.000000000 +0200 -+++ new/src/inn-2.4.5/site/Makefile 2008-10-09 19:27:59.613208825 +0200 -@@ -52,7 +52,6 @@ - - PATH_ACTIVE = ${PATHDB}/active - PATH_ACTIVE_TIMES = ${PATHDB}/active.times --PATH_HISTORY = ${PATHDB}/history - PATH_NEWSGROUPS = ${PATHDB}/newsgroups - - ## Scripts from above, plus site-specific config files. -@@ -98,7 +97,7 @@ - ALL_INSTALLED = $(MOST_INSTALLED) $(REST_INSTALLED) - - SPECIAL = $D$(PATH_ACTIVE) $D$(PATH_ACTIVE_TIMES) \ -- $D$(PATH_NEWSGROUPS) $D$(PATH_HISTORY) -+ $D$(PATH_NEWSGROUPS) - - ## Get new versions of everything from samples directory. - all: $(ALL) config -@@ -143,12 +142,6 @@ - chown $(RUNASUSER) $@ - chgrp $(RUNASGROUP) $@ - chmod $(FILEMODE) $@ --$D$(PATH_HISTORY): -- touch $@ -- chown $(RUNASUSER) $@ -- chgrp $(RUNASGROUP) $@ -- chmod $(FILEMODE) $@ -- test -z "$D" && $(PATHBIN)/makedbz -i -o - - bootstrap: - -- cgit v1.2.3-54-g00ecf