Skip to content
Snippets Groups Projects
Commit cf4cd823 authored by Marco d'Itri's avatar Marco d'Itri
Browse files

Debian release 2.5.2-1

parent 2ee5ef49
No related branches found
No related tags found
No related merge requests found
inn2 (2.5.2-1) unstable; urgency=low
* New upstream release. Fixes:
+ perl warning in mailpost. (Closes: #565163)
+ hardcoded maximum number of header fields. (Closes: #566548)
* Enabled SSL support in the standard nnrpd and replaced the nnrpd-ssl
binary with a symlink.
-- Marco d'Itri <md@linux.it> Mon, 12 Apr 2010 03:27:28 +0200
inn2 (2.5.1-1) unstable; urgency=low
* New upstream release.
......
......@@ -2,8 +2,8 @@ Source: inn2
Section: news
Priority: extra
Maintainer: Marco d'Itri <md@linux.it>
Build-Depends: bison, debhelper (>> 5), quilt (>= 0.40), groff-base, libperl-dev (>= 5.8.0), libdb4.7-dev, libkrb5-dev, libpam0g-dev, libsasl2-dev, libssl-dev (>= 0.9.7), zlib1g-dev
Standards-Version: 3.8.2
Build-Depends: bison, debhelper (>> 5), quilt (>= 0.40), groff-base, libperl-dev (>= 5.8.0), libdb4.8-dev, libkrb5-dev, libpam0g-dev, libsasl2-dev, libssl-dev (>= 0.9.7), zlib1g-dev
Standards-Version: 3.8.4
Package: inn2
Architecture: any
......@@ -84,6 +84,7 @@ Description: NNTP client news injector, from InterNetNews (INN)
Package: inn2-dev
Section: devel
Architecture: any
Depends: ${misc:Depends}
Conflicts: inn, inn-dev
Description: The libinn.a library, headers and man pages
You will only need this if you are going to compile programs that
......
......@@ -50,10 +50,6 @@ scanlogs tool to be able to rotate them properly.
SSL
~~~
To enable SSL you need to start /usr/lib/news/bin/nnrpd-ssl with the -S
flag from inetd or the command line.
See nnrpd(8) for details.
You need a certificate/key pair, by default named /etc/news/cert.pem and
/etc/news/key.pem respectively.
......@@ -69,14 +65,6 @@ chown root:news /etc/news/key.pem
chmod 640 /etc/news/key.pem
STARTTLS
~~~~~~~~
STARTTLS support will not work when nnrpd is started by innd using
"MODE READER" unless the nnrpd binary is replaced by nnrpd-ssl (e.g.
by using dpkg-divert(8)).
The upstream maintainer recommends running nnrpd as a standalone process.
Kerberos Authentication
~~~~~~~~~~~~~~~~~~~~~~~
To enable support for kerberos authentication the dependencies of
......
......@@ -21,12 +21,10 @@ start () {
chmod 775 /var/run/news
fi
su news -c /usr/lib/news/bin/rc.news > /var/log/news/rc.news 2>&1
# su news -c '/usr/lib/news/bin/nnrpd-ssl -D -c /etc/news/readers-ssl.conf -p 563 -S'
}
stop () {
su news -c '/usr/lib/news/bin/rc.news stop' >> /var/log/news/rc.news 2>&1
# start-stop-daemon --stop --name nnrpd-ssl --quiet --oknodo
}
case "$1" in
......
......@@ -103,19 +103,12 @@ configure: $(addprefix .stamp-configure-, $(FLAVORS))
--with-sendmail=/usr/sbin/sendmail \
--with-zlib=/usr \
$($*_configure_flags) $(configure_flags)
cd $B && \
mkdir ssl/ ssl/nnrpd/ && \
cd ssl/ && \
ln -s ../Makefile.global ../include ../storage ../history . && \
cd nnrpd/ && ln -s ../../nnrpd/* .
touch $@
build: $(addprefix .stamp-build-, $(FLAVORS))
.stamp-build-%: .stamp-configure-%
dh_testdir
cd $B && $(MAKE)
cd $B/ssl/nnrpd/ && $(MAKE) \
SSL_LIBS='-lssl -lcrypto -ldl' SSL_CPPFLAGS='-DHAVE_SSL=1'
touch $@
install1-%: .stamp-build-%
......@@ -140,10 +133,10 @@ install1-%: .stamp-build-%
$D/usr/lib/news/doc/ $D/usr/include/ \
$D/var/lib/news/* $D/var/run/news/ $D/var/www/
cp $B/ssl/nnrpd/nnrpd $D/usr/lib/news/bin/nnrpd-ssl
# compatibility symlink for nnrpd-ssl which was removed in 2.5.2-1
ln -s nnrpd $D/usr/lib/news/bin/nnrpd-ssl
install -m 755 extra/buildinnkeyring extra/ginpaths2 \
$D/usr/lib/news/bin/
install -m 755 contrib/showtoken.in $D/usr/lib/news/bin/showtoken
mkdir $D/var/log/news/path
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment