diff options
author | Sven Wegener <swegener@gentoo.org> | 2005-01-17 19:41:24 +0000 |
---|---|---|
committer | Sven Wegener <swegener@gentoo.org> | 2005-01-17 19:41:24 +0000 |
commit | 2c7c228aa3b6e2807cd4c1f4b77a53f349e1f98a (patch) | |
tree | 8ba5cc9c8cab49e9f099f68ac5d6813b7d6fc953 /net-news | |
parent | Moved from net-news/inn to net-nntp/inn. (diff) | |
download | historical-2c7c228aa3b6e2807cd4c1f4b77a53f349e1f98a.tar.gz historical-2c7c228aa3b6e2807cd4c1f4b77a53f349e1f98a.tar.bz2 historical-2c7c228aa3b6e2807cd4c1f4b77a53f349e1f98a.zip |
Moved to net-nntp/nntpswitch.
Diffstat (limited to 'net-news')
-rw-r--r-- | net-news/inn/ChangeLog | 69 | ||||
-rw-r--r-- | net-news/inn/Manifest | 6 | ||||
-rw-r--r-- | net-news/inn/inn-2.4.1.ebuild | 264 | ||||
-rw-r--r-- | net-news/inn/metadata.xml | 5 | ||||
-rw-r--r-- | net-news/nntpswitch/ChangeLog | 10 | ||||
-rw-r--r-- | net-news/nntpswitch/Manifest | 15 | ||||
-rw-r--r-- | net-news/nntpswitch/files/digest-nntpswitch-0.11 | 1 | ||||
-rw-r--r-- | net-news/nntpswitch/files/nntpswitch.init.d | 21 | ||||
-rw-r--r-- | net-news/nntpswitch/metadata.xml | 5 | ||||
-rw-r--r-- | net-news/nntpswitch/nntpswitch-0.11.ebuild | 75 |
10 files changed, 0 insertions, 471 deletions
diff --git a/net-news/inn/ChangeLog b/net-news/inn/ChangeLog deleted file mode 100644 index 7ab68021964d..000000000000 --- a/net-news/inn/ChangeLog +++ /dev/null @@ -1,69 +0,0 @@ -# ChangeLog for net-news/inn -# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-news/inn/ChangeLog,v 1.17 2004/10/17 20:56:51 dholm Exp $ - - 15 Oct 2004; David Holm <dholm@gentoo.org> inn-2.4.1.ebuild: - Added to ~ppc. - - 02 Oct 2004; Sven Wegener <swegener@gentoo.org> -inn-2.3.5.ebuild: - Removed old ebuild. - - 27 Sep 2004; Sven Wegener <swegener@gentoo.org> inn-2.4.1.ebuild: - Added elibtoolize to src_unpack() because the included libtool is broken. - Modified to not use lazy bindings. - - 12 Sep 2004; Sven Wegener <swegener@gentoo.org> files/2.4.1-berkdb.patch, - inn-2.4.1.ebuild: - Added a patch from Maurice Mueller <maurice_mueller@gmx.de> to make inn - compile with BerkeleyDB 4.x. Modified ebuild to correctly initialize tagged - hash table in pkg_config and install SSL certificates into the right location - to prevent overwriting them when upgrading. - - 08 Sep 2004; Sven Wegener <swegener@gentoo.org> +files/2.4.1-berkdb.patch, - files/innd, inn-2.4.1.ebuild: - Added support for BerkeleyDB via the USE flag berkdb. Added support for the - local USE flags innkeywords and inntaggedhash that enable automatic keyword - generation support and use a tagged hash table for history. - -*inn-2.4.1 (07 Sep 2004) - - 07 Sep 2004; Sven Wegener <swegener@gentoo.org> +inn-2.4.1.ebuild: - Version bump, package.mask'ed for testing, please report bugs to bug #29020. - - 19 Jun 2004; Sven Wegener <swegener@gentoo.org> +metadata.xml: - Added metadata.xml - - 15 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> inn-2.3.5.ebuild: - don't unset/assign P; (bug #44712); use CFLAGS/CXXFLAGS; use use_with; don't - assign default to S; header fix; tidy - - 14 Mar 2004; Michael Sterrett <mr_bones_@gentoo.org> inn-2.3.3.ebuild: - clean older version - - 07 Dec 2003; Michael Sterrett <mr_bones_@gentoo.org> inn-2.3.5.ebuild: - chown x.y -> chown x:y (bug 35127) - - 05 Dec 2003; Chuck Short <zul@gentoo.org> inn-2.3.5.ebuild: - Chown fixes - - 12 Jun 2003; <msterret@gentoo.org> inn-2.3.3.ebuild, inn-2.3.5.ebuild: - add Header - -*inn-2.3.5 (17 Apr 2003) - - 17 Apr 2003; Martin Holzer <mholzer@gentoo.org> Manifest, inn-2.3.5.ebuild: - Version bumped. Ebuild submitted by Stefan Förster <gentoo@stefan-foerster.de> - in #14601. - -*inn-2.3.3 (13 Jun 2002) - - 26 Aug 2002; Seemant Kulleen <seemant@gentoo.org> inn-2.3.3.ebuild : - - The compile process does not like parallel make (emake). Thanks to: - psi-jack@myrealbox.com (Eric Renfro) in bug #7021 for finding and - reporting. - - 13 Jun 2002; Preston A. Elder <prez@gentoo.org> inn-2.3.3.ebuild, - files/digest-inn-2.3.3, files/innd, ChangeLog : - - - Added for the first time diff --git a/net-news/inn/Manifest b/net-news/inn/Manifest deleted file mode 100644 index e4dc99993765..000000000000 --- a/net-news/inn/Manifest +++ /dev/null @@ -1,6 +0,0 @@ -MD5 92eade8ea983c3b5aee3b56ed8362512 ChangeLog 2679 -MD5 d4764f5c17f5e0b416f7ddf271c77d71 metadata.xml 161 -MD5 13c9fb371216ef57405b76b04f282d4e inn-2.4.1.ebuild 8193 -MD5 9bfea7a0644e2f3adc2738d86bfa2254 files/innd 436 -MD5 69e1740d0d4d85a272e0491fa1a7ddb7 files/2.4.1-berkdb.patch 1393 -MD5 12b5b155a7df558664f522f72ab5f723 files/digest-inn-2.4.1 118 diff --git a/net-news/inn/inn-2.4.1.ebuild b/net-news/inn/inn-2.4.1.ebuild deleted file mode 100644 index aeddb188c939..000000000000 --- a/net-news/inn/inn-2.4.1.ebuild +++ /dev/null @@ -1,264 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-news/inn/inn-2.4.1.ebuild,v 1.7 2004/10/17 20:56:51 dholm Exp $ - -inherit fixheadtails ssl-cert eutils libtool flag-o-matic - -DESCRIPTION="The Internet News daemon, fully featured NNTP server" -HOMEPAGE="http://www.isc.org/products/INN" -SRC_URI="ftp://ftp.isc.org/isc/inn/${P}.tar.gz - http://mauricem.com/inn_db4.tar.gz" -SLOT="0" -LICENSE="as-is BSD GPL-2" -KEYWORDS="~x86 ~ppc" -IUSE="ipv6 kerberos sasl ssl perl python tcltk berkdb inntaggedhash innkeywords" - -RDEPEND="virtual/mta - kerberos? ( virtual/krb5 ) - sasl? ( >=dev-libs/cyrus-sasl-2 ) - ssl? ( dev-libs/openssl ) - perl? ( dev-lang/perl ) - python? ( dev-lang/python ) - tcltk? ( dev-lang/tcl ) - berkdb? ( sys-libs/db ) - virtual/gzip" -DEPEND="${RDEPEND} - >=sys-devel/autoconf-2.13 - sys-devel/libtool - >=sys-apps/sed-4" - -append-ldflags -Wl,-z,now - -src_unpack() { - unpack ${A} - cd ${S} - - epatch ${FILESDIR}/2.4.1-berkdb.patch - epatch ${WORKDIR}/db_patch.patch - - ht_fix_file configure.in support/fixscript.in - - export WANT_AUTOCONF="2.1" - autoconf || die "autoconf failed" - - sed -i \ - -e "s/ -B .OLD//" \ - Makefile.global.in \ - control/Makefile \ - doc/man/Makefile - - elibtoolize || die "elibtoolize failed" -} - -src_compile() { - econf \ - --prefix=/usr/lib/news \ - --mandir=/usr/share/man \ - --infodir=/usr/share/info \ - --with-control-dir=/usr/lib/news/bin/control \ - --with-etc-dir=/etc/news \ - --with-filter-dir=/usr/lib/news/bin/filter \ - --with-db-dir=/var/spool/news/db \ - --with-doc-dir=/usr/share/doc/${PF} \ - --with-spool-dir=/var/spool/news \ - --with-log-dir=/var/log/news \ - --with-run-dir=/var/run/news \ - --with-tmp-path=/var/spool/news/tmp \ - --enable-libtool \ - --enable-setgid-inews \ - --enable-uucp-rnews \ - --with-gnu-ld \ - $(use_with perl) \ - $(use_with python) \ - $(use_with tcltk tcl) \ - $(use_with kerberos kerberos /usr) \ - $(use_with sasl) \ - $(use_with ssl openssl) \ - $(use_with berkdb berkeleydb) \ - $(use_enable ipv6) \ - $(use_enable !inntaggedhash largefiles) \ - $(use_enable inntaggedhash tagged-hash) \ - $(use_enable innkeywords keywords) \ - || die "econf failed" - emake -j1 P="" || die "emake failed" -} - -src_install() { - make DESTDIR=${D} P="" install || die "make install failed" - - chown -R root.root ${D}/usr/{lib/news/{lib,include},share/{doc,man}} - chmod 644 ${D}/etc/news/* - for file in control.ctl expire.ctl incoming.conf nntpsend.ctl passwd.nntp readers.conf - do - chmod 640 ${D}/etc/news/${file} - done - - # Prevent old db/* files from being overwritten - dodir /usr/share/doc/${PF}/dbexamples - for db_file in active active.times distributions history newsgroups - do - if [ -f ${D}/var/spool/news/db/${db_file} ] - then - mv ${D}/var/spool/news/db/${db_file} ${D}/usr/share/doc/${PF}/dbexamples - fi - done - - keepdir \ - /var/{log,run}/news \ - /var/spool/news/{,archive,articles,db,incoming{,/bad},innfeed,outgoing,overview,tmp} - - dodoc ChangeLog MANIFEST README* doc/checklist - use ipv6 && dodoc doc/IPv6-info - - # So other programs can build against INN. (eg. Suck) - insinto /usr/lib/news/include - doins include/*.h - - exeinto /etc/init.d - doexe ${FILESDIR}/innd innd - - if use ssl - then - insinto /etc/news/cert - - docert cert - fowners news:news /etc/news/cert/cert.{crt,csr,key,pem} - - for cert in cert.{crt,csr,key,pem} - do - dosym "/etc/news/cert/${cert}" "/usr/lib/news/lib/${cert}" - done - fi -} - -pkg_postinst() { - for db_file in active active.times distributions history newsgroups - do - if [ -f ${ROOT}/usr/share/doc/${PF}/dbexamples/${db_file} \ - -a ! -f ${ROOT}/var/spool/news/db/${db_file} ] - then - cp -p ${ROOT}/usr/share/doc/${PF}/dbexamples/${db_file} \ - ${ROOT}/var/spool/news/db/${db_file} - chmod 664 ${ROOT}/var/spool/news/db/${db_file} - fi - done - - chown -R news:news ${ROOT}/var/{log,spool}/news - - einfo "Do not forget to update your cron entries, and also run" - einfo "makedbz if you need to. If this is a first-time installation" - einfo "a minimal active file has been installed. You will need to" - einfo "touch history and run 'makedbz -i' to initialize the history" - einfo "database. See INSTALL for more information." - einfo - einfo "You need to assign a real shell to the news user, or else" - einfo "starting inn will fail. You can use 'usermod -s /bin/bash news'" - einfo "for this." - - if use ssl - then - einfo - einfo "You may want to start nnrpd manually for native ssl support." - einfo "If you choose to do so, automating this with a bootscript might" - einfo "also be a good choice." - einfo "Have a look at man nnrpd for valid parameters." - fi -} - -pkg_postrm() { - einfo - einfo "If you want your newsspool or altered configuration files" - einfo "to be removed, please do so now manually." - einfo -} - -pkg_config() { - NEWSSPOOL_DIR="${ROOT}/var/spool/news" - NEWS_SHELL="`awk -F':' '/^news:/ {print $7;}' ${ROOT}/etc/passwd`" - NEWS_ERRFLAG="0" - - if [ "${NEWS_SHELL}" == "/bin/false" -o "${NEWS_SHELL}" == "/dev/null" ] - then - if [ ${UID} -eq 0 ] - then - einfo 'Changing shell to /bin/bash for user news...' - usermod -s /bin/bash news - else - NEWS_ERRFLAG=1 - eerror '' - eerror 'Could not change shell for user news.' - eerror 'Please run "usermod -s /bin/bash news" as root.' - fi - else - einfo "Shell for user news unchanged ('${NEWS_SHELL}')." - if [ "${NEWS_SHELL}" != "/bin/sh" -a "${NEWS_SHELL}" != "/bin/bash" ] - then - ewarn "You might want to change it to '/bin/bash', though." - fi - fi - - if [ ! -e "${NEWSSPOOL_DIR}/db/history}" ] - then - if [ ! -f "${NEWSSPOOL_DIR}/db/history.dir" \ - -a ! -f "${NEWSSPOOL_DIR}/db/history.pag" \ - -a ! -f "${NEWSSPOOL_DIR}/db/history.hash" \ - -a ! -f "${NEWSSPOOL_DIR}/db/history.index" ] - then - einfo 'Building history database...' - touch "${NEWSSPOOL_DIR}/db/history" - chown news:news "${NEWSSPOOL_DIR}/db/history" - chmod 644 "${NEWSSPOOL_DIR}/db/history" - su - news -c "/usr/lib/news/bin/makedbz -i" - mv -f "${NEWSSPOOL_DIR}/db/history.n.dir" "${NEWSSPOOL_DIR}/db/history.dir" - [ -f "${NEWSSPOOL_DIR}/db/history.n.pag" ] && mv -f "${NEWSSPOOL_DIR}/db/history.n.pag" "${NEWSSPOOL_DIR}/db/history.pag" - [ -f "${NEWSSPOOL_DIR}/db/history.n.hash" ] && mv -f "${NEWSSPOOL_DIR}/db/history.n.hash" "${NEWSSPOOL_DIR}/db/history.hash" - [ -f "${NEWSSPOOL_DIR}/db/history.n.index" ] && mv -f "${NEWSSPOOL_DIR}/db/history.n.index" "${NEWSSPOOL_DIR}/db/history.index" - su - news -c "/usr/lib/news/bin/makehistory" - else - NEWS_ERRFLAG="1" - eerror - eerror "Your installation seems to be screwed up." - eerror "${NEWSSPOOL_DIR}/db/history does not exist, but there's" - eerror "one of the files history.dir, history.hash or history.index" - eerror "within ${NEWSSPOOL_DIR}/db." - eerror "Use your backup to restore the history database." - fi - else - einfo "${NEWSSPOOL_DIR}/db/history found. Leaving history database as it is." - fi - - INNCFG_INODES="`sed -e '/innwatchspoolnodes/ ! d' /etc/news/inn.conf | sed -e 's/[^ ]*[ ]*\([^ ]*\)/\1/'`" - INNSPOOL_INODES="`df -Pi ${NEWSSPOOL_DIR} | sed -e 's/[^ ]*[ ]*\([^ ]*\).*/\1/' | sed -e '1 d'`" - if [ ${INNCFG_INODES} -gt ${INNSPOOL_INODES} ] - then - ewarn "Setting innwatchspoolinodes to zero, because the filesystem behind" - ewarn "$NEWSSPOOL_DIR works without inodes." - ewarn - cp /etc/news/inn.conf /etc/news/inn.conf.OLD - einfo "A copy of your old inn.conf has been saved to /etc/news/inn.conf.OLD." - sed -i -e '/innwatchspoolnodes/ s/\([^ ]*\)\([ ]*\).*/\1\20/' /etc/news/inn.conf - chown news:news /etc/news/inn.conf - chmod 644 /etc/news/inn.conf - fi - - INNCHECK_LINES="`su - news -c "/usr/lib/news/bin/inncheck | wc -l"`" - if [ "${INNCHECK_LINES}" -gt 0 ] - then - NEWS_ERRFLAG="1" - ewarn "inncheck most certainly found an error." - ewarn "Please check its output:" - eerror "`su - news -c /usr/lib/news/bin/inncheck`" - fi - - if [ "${NEWS_ERRFLAG}" -gt 0 ] - then - eerror - eerror "There were one or more errors/warnings checking your configuration." - eerror "Please read inn's documentation and fix them accordingly." - else - einfo - einfo "Inn configuration tests passed successfully." - einfo - ewarn "Please ensure you configured inn properly." - fi -} diff --git a/net-news/inn/metadata.xml b/net-news/inn/metadata.xml deleted file mode 100644 index 4d0ebe73a55f..000000000000 --- a/net-news/inn/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>net-news</herd> -</pkgmetadata> diff --git a/net-news/nntpswitch/ChangeLog b/net-news/nntpswitch/ChangeLog deleted file mode 100644 index da3d4f608a18..000000000000 --- a/net-news/nntpswitch/ChangeLog +++ /dev/null @@ -1,10 +0,0 @@ -# ChangeLog for net-news/nntpswitch -# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-news/nntpswitch/ChangeLog,v 1.1 2004/12/01 21:26:13 swegener Exp $ - -*nntpswitch-0.11 (01 Dec 2004) - - 01 Dec 2004; Sven Wegener <swegener@gentoo.org> +metadata.xml, - +files/nntpswitch.init.d, +nntpswitch-0.11.ebuild: - Initial import, ebuild written by me. - diff --git a/net-news/nntpswitch/Manifest b/net-news/nntpswitch/Manifest deleted file mode 100644 index 8c795f646076..000000000000 --- a/net-news/nntpswitch/Manifest +++ /dev/null @@ -1,15 +0,0 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 97c82a17da9f8033de96e75011380e1c nntpswitch-0.11.ebuild 2070 -MD5 48b1336cd730a53b886cb09231412687 ChangeLog 404 -MD5 d4764f5c17f5e0b416f7ddf271c77d71 metadata.xml 161 -MD5 43a13b7a5681200f7038c535e4f18243 files/digest-nntpswitch-0.11 66 -MD5 712cf4e650fe165063e51192847bc374 files/nntpswitch.init.d 519 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.9.10 (GNU/Linux) - -iD8DBQFBrjb9I1lqEGTUzyQRAopCAKC6CezK+Q/5JdvBT52+YuCdn2QVlQCfUPHo -UfOr7Q3na58jHFkHBfx96Cc= -=cpJa ------END PGP SIGNATURE----- diff --git a/net-news/nntpswitch/files/digest-nntpswitch-0.11 b/net-news/nntpswitch/files/digest-nntpswitch-0.11 deleted file mode 100644 index 09e59410eda2..000000000000 --- a/net-news/nntpswitch/files/digest-nntpswitch-0.11 +++ /dev/null @@ -1 +0,0 @@ -MD5 e032f2944c1afa86c83e52048ccc0665 nntpswitch-0.11.tar.gz 86116 diff --git a/net-news/nntpswitch/files/nntpswitch.init.d b/net-news/nntpswitch/files/nntpswitch.init.d deleted file mode 100644 index 9b5a8be712a0..000000000000 --- a/net-news/nntpswitch/files/nntpswitch.init.d +++ /dev/null @@ -1,21 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License, v2 or later -# $Header: /var/cvsroot/gentoo-x86/net-news/nntpswitch/files/nntpswitch.init.d,v 1.1 2004/12/01 21:26:13 swegener Exp $ - -depend() { - use net -} - -start() { - ebegin "Starting NNTP Switch" - /usr/sbin/nntpswitchd &>/dev/null - eend $? -} - -stop() { - ebegin "Stopping NNTP Switch" - start-stop-daemon --stop --quiet --pidfile /var/run/nntpswitchd.pid - eend $? - rm -f /var/run/nntpswitchd.pid -} diff --git a/net-news/nntpswitch/metadata.xml b/net-news/nntpswitch/metadata.xml deleted file mode 100644 index 4d0ebe73a55f..000000000000 --- a/net-news/nntpswitch/metadata.xml +++ /dev/null @@ -1,5 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> -<pkgmetadata> -<herd>net-news</herd> -</pkgmetadata> diff --git a/net-news/nntpswitch/nntpswitch-0.11.ebuild b/net-news/nntpswitch/nntpswitch-0.11.ebuild deleted file mode 100644 index 9e3bbb9eb181..000000000000 --- a/net-news/nntpswitch/nntpswitch-0.11.ebuild +++ /dev/null @@ -1,75 +0,0 @@ -# Copyright 1999-2004 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-news/nntpswitch/nntpswitch-0.11.ebuild,v 1.1 2004/12/01 21:26:13 swegener Exp $ - -DESCRIPTION="Load Balancing NNTP Router" -HOMEPAGE="http://www.nntpswitch.org/" -SRC_URI="http://www.nntpswitch.org/download/${P}.tar.gz" -LICENSE="as-is" -SLOT="0" -KEYWORDS="~x86" -IUSE="ldap mysql postgres" - -RDEPEND="mysql? ( dev-db/mysql ) - postgres? ( dev-db/postgresql ) - ldap? ( net-nds/openldap )" - -DEPEND="${RDEPEND} - >=sys-apps/sed-4" - -S=${WORKDIR}/${PN} - -src_unpack() { - unpack ${A} - - sed -i \ - -e "s/-O3/${CFLAGS}/" \ - -e "s:lib/nntpswitch:$(get_libdir)/nntpswitch:" \ - ${S}/Makefile - sed -i \ - -e "s:/usr/local/lib:/usr/$(get_libdir)/nntpswitch:" \ - ${S}/nntpswitch.conf.in - sed -i \ - -e "s:/usr/local/etc/nntpswitch/passwd:/etc/nntpswitch/passwd:" \ - ${S}/etc/access.conf -} - -src_compile() { - emake -j1 || die "emake failed" - - if use mysql - then - emake -j1 mysql || die "emake mysql failed" - fi - if use postgres - then - emake -j1 postgres || die "emake postgres failed" - fi - if use ldap - then - emake -j1 ldap || die "emake ldap failed" - fi -} - -src_install() { - dodir /usr/sbin /usr/$(get_libdir)/nntpswitch - make PREFIX="${D}/usr" install || die "make install failed" - - insinto /etc/nntpswitch - newins nntpswitch.conf-dist nntpswitch.conf || die "newins failed" - doins etc/{{access,servers}.conf,passwd,overview.fmt} || die "doins failed" - - keepdir /var/lib/nntpswitch || die "keepdir failed" - dosym /var/lib/nntpswitch/active /etc/nntpswitch/active || die "dosym failed" - dosym /var/lib/nntpswitch/newsgroups /etc/nntpswitch/newsgroups || die "dosym failed" - - newinitd ${FILESDIR}/nntpswitch.init.d nntpswitch || die "newinitd failed" -} - -pkg_postinst() { - einfo "Please configure nntpswitch using the files in /etc/nntpswitch!" - einfo - einfo "After this, you need to generate a nntpswitch-compatible active file," - einfo "before you can start nntpswitch for the first time. Use 'updategroups'" - einfo "to perform this step." -} |