Bug 99791 - cups-base clobbers LPRng
Summary: cups-base clobbers LPRng
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ion-Mihai "IOnut" Tetcu
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-04 22:30 UTC by Leif Pedersen
Modified: 2006-08-06 10:16 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Leif Pedersen 2006-07-04 22:30:16 UTC
 	Installing cups after LPRng causes /usr/local/bin/lp* to be 
clobbered.  This is a serious problem, as cups is easily installed by 
accident as a dependency.

Fix: 

Cups and LPRng should be marked as conflicting with each other.
How-To-Repeat:  	Install LPRng, then install cups-base.  To get LPRng working 
again, it must be reinstalled.
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2006-07-04 23:46:09 UTC
State Changed
From-To: open->feedback

Awaiting maintainers feedback
Comment 2 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2006-07-06 06:58:15 UTC
Responsible Changed
From-To: freebsd-ports-bugs->itetcu

Take all cups PRs.
Comment 3 mwisnicki+freebsd 2006-07-07 17:02:36 UTC
* Set conflicts in sysutils/LPRng

I'm only setting it to 1.[2-9]* because before cups-1.2.0 conflicting
files were in cups-lpr port that was removed some time ago (should it
still conflict with cups-lpr-[0-9]* ?)

Cups side handled in ports/99624 (cups-1.2.1-2.patch).

Btw. I think that primary category for LPRng ports should be print.

--- LPRng-3.8.28_1.diff begins here ---
diff -ruN sysutils/LPRng.orig/Makefile sysutils/LPRng/Makefile
--- sysutils/LPRng.orig/Makefile	Thu Apr  6 03:10:32 2006
+++ sysutils/LPRng/Makefile	Fri Jul  7 17:53:24 2006
@@ -7,6 +7,7 @@
 
 PORTNAME=	LPRng
 PORTVERSION=	3.8.28
+PORTREVISION=	1
 CATEGORIES=	sysutils print
 MASTER_SITES=	ftp://ftp.lprng.com/pub/%SUBDIR%/ \
 		ftp://ftp.cise.ufl.edu/pub/mirrors/%SUBDIR%/ \
@@ -20,6 +21,7 @@
 COMMENT=	An Enhanced Printer Spooler
 
 LIB_DEPENDS=	gdbm.3:${PORTSDIR}/databases/gdbm
+CONFLICTS=	cups-base-1.[2-9]*
 
 GNU_CONFIGURE=	yes
 INSTALLS_SHLIB=	yes
--- LPRng-3.8.28_1.diff ends here ---
Comment 4 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2006-07-07 21:27:48 UTC
State Changed
From-To: feedback->patched

Should be fixed by patch in ports/99624
Comment 5 Leif Pedersen 2006-07-11 19:16:19 UTC
> * Set conflicts in sysutils/LPRng
> ...
> Cups side handled in ports/99624 (cups-1.2.1-2.patch).

Thanks for the quick response guys.  :)

> Btw. I think that primary category for LPRng ports should be print.

I agree -- that catches me off-guard every time.
Comment 6 Ion-Mihai "IOnut" Tetcu freebsd_committer freebsd_triage 2006-08-06 10:16:50 UTC
State Changed
From-To: patched->closed

Update to 1.2.2 and many fixes commiter. If problems perssist please 
open a new PR. Thanks for your effort.