Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jul 2006 14:36:50 +0900 (JST)
From:      Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/99798: print/cups-base makes symbolic links without entity
Message-ID:  <200607050536.k655aoJD022788@polymer3.scphys.kyoto-u.ac.jp>
Resent-Message-ID: <200607050540.k655eFPw060745@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         99798
>Category:       ports
>Synopsis:       print/cups-base makes symbolic links without entity
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 05 05:40:14 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Tsurutani Naoki
>Release:        FreeBSD 6.1-STABLE i386
>Organization:
>Environment:
System: FreeBSD polymer3.scphys.kyoto-u.ac.jp 6.1-STABLE FreeBSD 6.1-STABLE #2: Tue May 30 06:56:45 JST 2006 turutani@polymer3.scphys.kyoto-u.ac.jp:/usr/local/work/usr/obj/usr/src/sys/POLYMER i386


	
>Description:
	print/cups-base installs ${PREFIX}/man/man8/reject.8 and
	 ${PREFIX}/man/man8/cupsdisable.8, both as symbolic link file.
	but their entity do not exist.
	
>How-To-Repeat:
	% cd /usr/ports/print/cups-base
	% make install
	
>Fix:
	link should be done to compressed man file if the target is compressed.
	this can often happen.
	add next patches:
	--- Makefile.orig	Fri Jun 30 04:32:04 2006
	+++ Makefile	Wed Jul  5 14:07:01 2006
	@@ -129,6 +129,9 @@
	 	lpmove.$(MAN8EXT) \
	 	lpc.$(MAN8EXT) \
	 
	+MLINKS=	cupsenable.$(MAN8EXT) cupsdisable.$(MAN8EXT) \
	+	accept.$(MAN8EXT) reject.$(MAN8EXT)
	+
	 pre-configure::
	 	@${ECHO_MSG} Configuring CUPS with options:
	 	@${ECHO_MSG} ${CONFIGURE_ARGS} | fmt
	--- pkg-plist.orig	Fri Jun 30 04:32:05 2006
	+++ pkg-plist	Wed Jul  5 13:05:19 2006
	@@ -43,9 +43,6 @@
	 lib/libcups.so.2
	 lib/libcupsimage.so
	 lib/libcupsimage.so.2
	-@comment Put man links here
	-man/man8/reject.8
	-man/man8/cupsdisable.8
	 sbin/cupsdisable
	 sbin/cupsenable
	 sbin/reject

	and use next patch file as files/patch-man-Makefile:
	--- Makefile.orig	Mon May  1 01:27:50 2006
	+++ Makefile	Wed Jul  5 13:04:49 2006
	@@ -124,10 +124,10 @@
	 		echo Installing $$file in $(AMANDIR)/man$(MAN8DIR)...; \
	 		$(INSTALL_MAN) $$file $(AMANDIR)/man$(MAN8DIR); \
	 	done
	-	$(RM) $(AMANDIR)/man$(MAN8DIR)/reject.$(MAN8EXT)
	-	$(LN) accept.$(MAN8EXT) $(AMANDIR)/man$(MAN8DIR)/reject.$(MAN8EXT)
	-	$(RM) $(AMANDIR)/man$(MAN8DIR)/cupsdisable.$(MAN8EXT)
	-	$(LN) cupsenable.$(MAN8EXT) $(AMANDIR)/man$(MAN8DIR)/cupsdisable.$(MAN8EXT)
	+#	$(RM) $(AMANDIR)/man$(MAN8DIR)/reject.$(MAN8EXT)
	+#	$(LN) accept.$(MAN8EXT) $(AMANDIR)/man$(MAN8DIR)/reject.$(MAN8EXT)
	+#	$(RM) $(AMANDIR)/man$(MAN8DIR)/cupsdisable.$(MAN8EXT)
	+#	$(LN) cupsenable.$(MAN8EXT) $(AMANDIR)/man$(MAN8DIR)/cupsdisable.$(MAN8EXT)
	 
	 
	 #
	@@ -150,8 +150,8 @@
	 	for file in $(MAN8); do \
	 		$(RM) $(AMANDIR)/man$(MAN8DIR)/$$file; \
	 	done
	-	$(RM) $(AMANDIR)/man$(MAN8DIR)/reject.$(MAN8EXT)
	-	$(RM) $(AMANDIR)/man$(MAN8DIR)/cupsdisable.$(MAN8EXT)
	+#	$(RM) $(AMANDIR)/man$(MAN8DIR)/reject.$(MAN8EXT)
	+#	$(RM) $(AMANDIR)/man$(MAN8DIR)/cupsdisable.$(MAN8EXT)
	 	-$(RMDIR) $(AMANDIR)/man$(MAN8DIR)
	 
	 

	


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607050536.k655aoJD022788>