Patch for cups-base

看板DFBSD_submit作者時間21年前 (2004/07/23 10:01), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串1/3 (看更多)
This is a multi-part message in MIME format. --------------090300060408090309060607 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Hello.. since I need cups I decided to make a patch for cups-base's /usr/local/etc/rc.d/cups.sh.sample just cp -r cups-base from freebsd's ports into dfports, patch the Makefile and copy the patch-cups-sh-in into files. Matthias --------------090300060408090309060607 Content-Type: text/plain; name="Makefile.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="Makefile.patch" --- Makefile.orig 2004-07-22 19:39:39.000000000 +0200 +++ Makefile 2004-07-22 19:29:38.000000000 +0200 @@ -52,7 +52,7 @@ ${CHMOD} -R g+w ${CUPS_SPOOLDIR} @${CAT} ${PKGMESSAGE} -.include "${.CURDIR}/../../print/cups/Makefile.common" -.include <bsd.port.pre.mk> +.include "${.CURDIR}/../../../ports/print/cups/Makefile.common" +.include <bsd.dfport.pre.mk> .include "${FILESDIR}/manpages.mk" -.include <bsd.port.post.mk> +.include <bsd.dfport.post.mk> --------------090300060408090309060607 Content-Type: text/plain; name="patch-cups-sh-in" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="patch-cups-sh-in" --- cups.sh.in.orig 2004-07-22 19:17:28.000000000 +0200 +++ cups.sh.in 2004-07-22 19:18:48.000000000 +0200 @@ -57,7 +57,7 @@ ECHO_ERROR=: ;; - *BSD*) + *BSD* | Dragon*) IS_ON=: ECHO=echo ECHO_OK=: @@ -145,7 +145,7 @@ OSF1*) pid=`ps -e | awk '{if (match($5, ".*/cupsd$") || $5 == "cupsd") print $1}'` ;; - Linux* | *BSD* | Darwin*) + Linux* | *BSD* | Darwin* | Dragon*) pid=`ps ax | awk '{if (match($5, ".*/cupsd$") || $5 == "cupsd") print $1}'` ;; *) --------------090300060408090309060607--
文章代碼(AID): #11076F00 (DFBSD_submit)
文章代碼(AID): #11076F00 (DFBSD_submit)