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.
State Changed From-To: open->feedback Awaiting maintainers feedback
Responsible Changed From-To: freebsd-ports-bugs->itetcu Take all cups PRs.
* 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 ---
State Changed From-To: feedback->patched Should be fixed by patch in ports/99624
> * 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.
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.