summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-print')
-rw-r--r--net-print/cups/cups-1.1.12.ebuild99
-rw-r--r--net-print/cups/cups-1.1.13-r1.ebuild96
-rw-r--r--net-print/cups/cups-1.1.13-r3.ebuild (renamed from net-print/cups/cups-1.1.13-r2.ebuild)6
-rw-r--r--net-print/cups/files/digest-cups-1.1.121
-rw-r--r--net-print/cups/files/digest-cups-1.1.13-r11
-rw-r--r--net-print/cups/files/digest-cups-1.1.13-r21
-rw-r--r--net-print/cups/files/digest-cups-1.1.13-r3 (renamed from net-print/cups/files/digest-cups-1.1.13)0
7 files changed, 3 insertions, 201 deletions
diff --git a/net-print/cups/cups-1.1.12.ebuild b/net-print/cups/cups-1.1.12.ebuild
deleted file mode 100644
index 550b2e7db91c..000000000000
--- a/net-print/cups/cups-1.1.12.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# 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.12.ebuild,v 1.3 2002/01/09 01:55:05 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_unpack() {
-
- unpack ${A} ; cd ${S}
- # make sure libcupsimage gets linked with libjpeg
- patch -p0 < ${FILESDIR}/configure-jpeg-buildfix.diff
- assert "bad patchfile"
- autoconf || die
-}
-
-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
-
- # lets do it this way
- make \
- LOCALEDIR=${D}/usr/share/locale \
- DOCDIR=${D}/usr/share/doc/${PF} \
- 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"
-
- # add a few more docs; pdfs and html get inserted for us in DOCDIR above :)
- dodoc {CHANGES,CREDITS,ENCRYPTION,LICENSE,README}.txt
- insinto /usr/share/doc/${PF} ; doins 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/doc/${PF}:" /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/cups-1.1.13-r1.ebuild b/net-print/cups/cups-1.1.13-r1.ebuild
deleted file mode 100644
index e311ed05dd33..000000000000
--- a/net-print/cups/cups-1.1.13-r1.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# 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-r1.ebuild,v 1.1 2002/02/08 16:58:29 drobbins 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_unpack() {
- unpack ${A} ; cd ${S}
- # make sure libcupsimage gets linked with libjpeg
- patch -p0 < ${FILESDIR}/configure-jpeg-buildfix.diff
- # This patch is stillr required for 1.1.13 and closes bug #608
- assert "bad patchfile"
- autoconf || die
-}
-
-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/cups-1.1.13-r2.ebuild b/net-print/cups/cups-1.1.13-r3.ebuild
index 64749d851e41..c0faae6fffcd 100644
--- a/net-print/cups/cups-1.1.13-r2.ebuild
+++ b/net-print/cups/cups-1.1.13-r3.ebuild
@@ -2,11 +2,11 @@
# 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-r2.ebuild,v 1.1 2002/02/10 03:37:26 drobbins Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-print/cups/cups-1.1.13-r3.ebuild,v 1.1 2002/02/10 13:22:20 verwilst Exp $
DESCRIPTION="The Common Unix Printing System"
HOMEPAGE="http://www.cups.org"
-
+SLOT="0"
S=${WORKDIR}/${P}
SRC_URI="ftp://ftp.easysw.com/pub/cups/${PV}/${P}-source.tar.bz2"
PROVIDE="virtual/lpr"
@@ -104,7 +104,7 @@ pkg_postinst() {
install -d ${ROOT}/var/log/cups
install -d ${ROOT}/var/spool
install -m0700 -o lp -d ${ROOT}/var/spool/cups
- install -m1700 -o lp -d ${ROOT} /var/spool/cups/tmp
+ install -m1700 -o lp -d ${ROOT}/var/spool/cups/tmp
install -m0711 -o lp -d ${ROOT}/etc/cups/certs
install -d -m0755 ${ROOT}/etc/cups/{interfaces,ppd}
}
diff --git a/net-print/cups/files/digest-cups-1.1.12 b/net-print/cups/files/digest-cups-1.1.12
deleted file mode 100644
index 9ec695c4b440..000000000000
--- a/net-print/cups/files/digest-cups-1.1.12
+++ /dev/null
@@ -1 +0,0 @@
-MD5 18e74aa115e9fdaa569685e6351f0ebc cups-1.1.12-source.tar.bz2 5397921
diff --git a/net-print/cups/files/digest-cups-1.1.13-r1 b/net-print/cups/files/digest-cups-1.1.13-r1
deleted file mode 100644
index bf61983f40dc..000000000000
--- a/net-print/cups/files/digest-cups-1.1.13-r1
+++ /dev/null
@@ -1 +0,0 @@
-MD5 b2ebc4b2ea4947e83e69804146a9a8b4 cups-1.1.13-source.tar.bz2 5432116
diff --git a/net-print/cups/files/digest-cups-1.1.13-r2 b/net-print/cups/files/digest-cups-1.1.13-r2
deleted file mode 100644
index bf61983f40dc..000000000000
--- a/net-print/cups/files/digest-cups-1.1.13-r2
+++ /dev/null
@@ -1 +0,0 @@
-MD5 b2ebc4b2ea4947e83e69804146a9a8b4 cups-1.1.13-source.tar.bz2 5432116
diff --git a/net-print/cups/files/digest-cups-1.1.13 b/net-print/cups/files/digest-cups-1.1.13-r3
index bf61983f40dc..bf61983f40dc 100644
--- a/net-print/cups/files/digest-cups-1.1.13
+++ b/net-print/cups/files/digest-cups-1.1.13-r3