diff options
author | Donny Davies <woodchip@gentoo.org> | 2002-02-02 04:27:49 +0000 |
---|---|---|
committer | Donny Davies <woodchip@gentoo.org> | 2002-02-02 04:27:49 +0000 |
commit | 7858a15c566e2ad323ee147293c7d8e361f52e80 (patch) | |
tree | 66419f0a16ec8fbe9383e2a37cdf2289ac156622 /net-print | |
parent | Added second line to catch media-sound/grip-2.98.3-r1; * on the end doesn't s... (diff) | |
download | historical-7858a15c566e2ad323ee147293c7d8e361f52e80.tar.gz historical-7858a15c566e2ad323ee147293c7d8e361f52e80.tar.bz2 historical-7858a15c566e2ad323ee147293c7d8e361f52e80.zip |
no longer using the jpeg configure patch, seems to be fixed now.
updated to lastest version.
now installing html docs into /usr/share/cups/docs. lets users
upgrade without having to edit /etc/cups/cupsd.conf.
Diffstat (limited to 'net-print')
-rw-r--r-- | net-print/cups/ChangeLog | 11 | ||||
-rw-r--r-- | net-print/cups/cups-1.1.13.ebuild | 87 | ||||
-rw-r--r-- | net-print/cups/files/digest-cups-1.1.13 | 1 |
3 files changed, 98 insertions, 1 deletions
diff --git a/net-print/cups/ChangeLog b/net-print/cups/ChangeLog index 85e52448a80a..bf819fc9c772 100644 --- a/net-print/cups/ChangeLog +++ b/net-print/cups/ChangeLog @@ -1,6 +1,15 @@ # ChangeLog for net-print/cups # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/net-print/cups/ChangeLog,v 1.1 2002/02/01 21:53:36 gbevin Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-print/cups/ChangeLog,v 1.2 2002/02/02 04:27:49 woodchip Exp $ + +*cups-1.1.13 (1 Feb 2002) + + 1 Feb 2002; Donny Davies <woodchip@gentoo.org> /etc/cupsd.conf: + + Updated to the latest release, cups-1.1.13. Now installing the html docs + into /usr/share/cups/docs, which will let people upgrade cups in the + future without having to change /etc/cupsd.conf to point to a new + directory. Makes things a little more user friendly. *cups-1.1.12 (1 Feb 2002) diff --git a/net-print/cups/cups-1.1.13.ebuild b/net-print/cups/cups-1.1.13.ebuild new file mode 100644 index 000000000000..c5d0b74e9b8d --- /dev/null +++ b/net-print/cups/cups-1.1.13.ebuild @@ -0,0 +1,87 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License, v2 or later +# Author: Donny Davies <woodchip@gentoo.org> +# Maintainer: System Team <system@gentoo.org> +# $Header: /var/cvsroot/gentoo-x86/net-print/cups/cups-1.1.13.ebuild,v 1.1 2002/02/02 04:27:49 woodchip Exp $ + +DESCRIPTION="The Common Unix Printing System" +HOMEPAGE="http://www.cups.org" + +S=${WORKDIR}/${P} +SRC_URI="ftp://ftp.easysw.com/pub/cups/${PV}/${P}-source.tar.bz2" +PROVIDE="virtual/lpr" + +DEPEND="virtual/glibc + pam? ( >=sys-libs/pam-0.75 ) + ssl? ( >=dev-libs/openssl-0.9.6b ) + slp? ( >=net-libs/openslp-1.0.4 ) + >=media-libs/libpng-1.0.12 + >=media-libs/tiff-3.5.5 + >=media-libs/jpeg-6b" +RDEPEND="${DEPEND} !virtual/lpr" + +src_compile() { + + local myconf + use pam || myconf="${myconf} --disable-pam" + use ssl || myconf="${myconf} --disable-ssl" + use slp || myconf="${myconf} --disable-slp" + + ./configure --host=${CHOST} ${myconf} --with-cups-user=lp --with-cups-group=lp + assert "bad ./configure" + + make || die "compile problem" +} + +src_install() { + + # set these up now or make install will.. and that aint pretty! + diropts -m 755 ; dodir /var/spool + diropts -m 755 ; dodir /var/log/cups + diropts -m 755 ; dodir /etc/cups + + make \ + LOCALEDIR=${D}/usr/share/locale \ + DOCDIR=${D}/usr/share/cups/docs \ + REQUESTS=${D}/var/spool/cups \ + SERVERBIN=${D}/usr/lib/cups \ + DATADIR=${D}/usr/share/cups \ + INCLUDEDIR=${D}/usr/include \ + AMANDIR=${D}/usr/share/man \ + PMANDIR=${D}/usr/share/man \ + MANDIR=${D}/usr/share/man \ + SERVERROOT=${D}/etc/cups \ + LOGDIR=${D}/var/log/cups \ + SBINDIR=${D}/usr/sbin \ + PAMDIR=${D}/etc/pam.d \ + EXEC_PREFIX=${D}/usr \ + LIBDIR=${D}/usr/lib \ + BINDIR=${D}/usr/bin \ + bindir=${D}/usr/bin \ + INITDIR=${D}/etc \ + PREFIX=${D} \ + install || die "install problem" + + dodoc {CHANGES,CREDITS,ENCRYPTION,LICENSE,README}.txt LICENSE.html + + # cleanups and fixups + rm -rf ${D}/etc/init.d + rm -rf ${D}/etc/pam.d + rm -rf ${D}/etc/rc* + rm -rf ${D}/usr/share/man/cat* + dosed "s:#DocumentRoot /usr/share/doc/cups:DocumentRoot /usr/share/cups/docs:" /etc/cups/cupsd.conf + dosed "s:#SystemGroup sys:SystemGroup lp:" /etc/cups/cupsd.conf + dosed "s:#User lp:User lp:" /etc/cups/cupsd.conf + dosed "s:#Group sys:Group lp:" /etc/cups/cupsd.conf + + # sanity checks + chown lp.root ${D}/usr/bin/lppasswd ; chmod 4755 ${D}/usr/bin/lppasswd + chown lp.root ${D}/etc/cups/certs ; chmod 711 ${D}/etc/cups/certs + chown lp.root ${D}/var/spool/cups ; chmod 0700 ${D}/var/spool/cups + chown lp.root ${D}/var/spool/cups/tmp ; chmod 01700 ${D}/var/spool/cups/tmp + + # gentoo config stuff + insinto /etc/pam.d ; newins ${FILESDIR}/cups.pam cups + exeinto /etc/init.d ; newexe ${FILESDIR}/cupsd.rc6 cupsd + insinto /etc/xinetd.d ; newins ${FILESDIR}/cups.xinetd cups-lpd +} diff --git a/net-print/cups/files/digest-cups-1.1.13 b/net-print/cups/files/digest-cups-1.1.13 new file mode 100644 index 000000000000..bf61983f40dc --- /dev/null +++ b/net-print/cups/files/digest-cups-1.1.13 @@ -0,0 +1 @@ +MD5 b2ebc4b2ea4947e83e69804146a9a8b4 cups-1.1.13-source.tar.bz2 5432116 |