diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2004-03-15 09:37:46 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2004-03-15 09:37:46 +0000 |
commit | a104e027ea8af55c12fcead42a3d5fbdfdd834ee (patch) | |
tree | 9f46ba2e264efacf279f10e1501f9661daa6ac74 /net-news/inn | |
parent | Removed bogus comment from -r6; marked -r5 stable on mips (diff) | |
download | historical-a104e027ea8af55c12fcead42a3d5fbdfdd834ee.tar.gz historical-a104e027ea8af55c12fcead42a3d5fbdfdd834ee.tar.bz2 historical-a104e027ea8af55c12fcead42a3d5fbdfdd834ee.zip |
don't unset/assign P; (bug #44712); use CFLAGS/CXXFLAGS; use use_with; don't assign default to S; header fix; tidy
Diffstat (limited to 'net-news/inn')
-rw-r--r-- | net-news/inn/ChangeLog | 6 | ||||
-rw-r--r-- | net-news/inn/Manifest | 4 | ||||
-rw-r--r-- | net-news/inn/inn-2.3.5.ebuild | 72 |
3 files changed, 42 insertions, 40 deletions
diff --git a/net-news/inn/ChangeLog b/net-news/inn/ChangeLog index c1bf5f2fa4df..e913bc762dd8 100644 --- a/net-news/inn/ChangeLog +++ b/net-news/inn/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-news/inn # Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-news/inn/ChangeLog,v 1.8 2004/03/15 07:57:29 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-news/inn/ChangeLog,v 1.9 2004/03/15 09:37:46 mr_bones_ Exp $ + + 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 diff --git a/net-news/inn/Manifest b/net-news/inn/Manifest index 5d5839c87094..cf90fd01cd0e 100644 --- a/net-news/inn/Manifest +++ b/net-news/inn/Manifest @@ -1,4 +1,4 @@ -MD5 154fa59eb2d5ec337d958f90636b29a5 ChangeLog 1178 -MD5 84d8331cf1d81e53997e06b5d2cde59c inn-2.3.5.ebuild 3333 +MD5 4d6bee14c74a54a9cad8e6acaa336b1b ChangeLog 1371 +MD5 f2757f7dc8b41d5909d618ba2e110635 inn-2.3.5.ebuild 3262 MD5 ce3c00651e354a874cc9c60ae4f0255e files/digest-inn-2.3.5 128 MD5 a0feaaa2fab0632187ea12c0441668d5 files/innd 445 diff --git a/net-news/inn/inn-2.3.5.ebuild b/net-news/inn/inn-2.3.5.ebuild index 9433230275c8..b2b2a2a85281 100644 --- a/net-news/inn/inn-2.3.5.ebuild +++ b/net-news/inn/inn-2.3.5.ebuild @@ -1,31 +1,35 @@ -# Copyright 1999-2003 Gentoo Technologies, Inc. +# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-news/inn/inn-2.3.5.ebuild,v 1.8 2003/12/08 05:48:57 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-news/inn/inn-2.3.5.ebuild,v 1.9 2004/03/15 09:37:46 mr_bones_ Exp $ -IUSE="ssl tcltk" - -S=${WORKDIR}/${P} 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 mirror://gentoo/${P}-gentoo.tar.gz" -HOMEPAGE="http://www.isc.org/products/INN" -SLOT="0" LICENSE="as-is BSD" +SLOT="0" KEYWORDS="x86" +IUSE="ssl tcltk" -DEPEND="app-crypt/gnupg +RDEPEND="app-crypt/gnupg virtual/mta tcltk? ( dev-lang/tcl ) ssl? ( dev-libs/openssl )" +DEPEND="${RDEPEND} + >=sys-apps/sed-4" -src_compile() { - local myconf - use tcltk && myconf="${myconf} --with-tcl" - use ssl && myconf="${myconf} --with-openssl" +src_unpack() { + unpack ${A} + cd ${S} + sed -i \ + -e 's/\$(P) //' site/Makefile storage/Makefile \ + || die "sed failed" +} - unset CFLAGS CXXFLAGS - ./configure --prefix=/usr/lib/news \ +src_compile() { + ./configure \ + --prefix=/usr/lib/news \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --with-etc-dir=/etc/news \ @@ -38,20 +42,16 @@ src_compile() { --enable-libtool \ --enable-setgid-inews \ --enable-uucp-rnews \ - --with-gnu-ld \ --with-python \ --without-perl \ - ${myconf} || die "configure died" + `use_with tcltk tcl` \ + `use_with ssl openssl` \ + || die "configure died" - OLD_P=${P} - unset P - make || die - P=${OLD_P} + emake -j1 || die "emake failed" } src_install() { - OLD_P=${P} - unset P make prefix=${D}/usr/lib/news \ PATHETC=${D}/etc/news \ PATHMAN=${D}/usr/share/man \ @@ -67,23 +67,21 @@ src_install() { MAN3=${D}/usr/share/man/man3 \ MAN5=${D}/usr/share/man/man5 \ MAN8=${D}/usr/share/man/man8 \ - install || die "make died" - P=${OLD_P} + install || die "make install failed" - keepdir /var/spool/news/tmp/ - keepdir /var/spool/news/outgoing/ - keepdir /var/spool/news/overview/ - keepdir /var/spool/news/innfeed/ - keepdir /var/spool/news/articles/ - keepdir /var/spool/news/incoming/ - keepdir /var/spool/news/incoming/bad/ - keepdir /var/spool/news/archive/ - keepdir /var/run/news/ - keepdir /var/log/news/ + keepdir \ + /var/spool/news/tmp/ \ + /var/spool/news/outgoing/ \ + /var/spool/news/overview/ \ + /var/spool/news/innfeed/ \ + /var/spool/news/articles/ \ + /var/spool/news/incoming/bad/ \ + /var/spool/news/archive/ \ + /var/run/news/ \ + /var/log/news/ - dodoc CONTRIBUTORS ChangeLog HACKING HISTORY INSTALL LICENSE - dodoc MANIFEST NEWS README* - dodoc doc/control-messages doc/sample-control + dodoc CONTRIBUTORS ChangeLog HACKING HISTORY INSTALL LICENSE \ + MANIFEST NEWS README* doc/control-messages doc/sample-control # So other programs can build against INN. (eg. Suck) insinto /usr/lib/news/include |