FreeBSD Bugzilla – Attachment 69482 Details for
Bug 101669
[maintainer update] audio/shoutcast
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
audio-shoutcast.diff
audio-shoutcast.diff (text/plain), 2.04 KB, created by
Gabor Kovesdan
on 2006-08-08 21:00:30 UTC
(
hide
)
Description:
audio-shoutcast.diff
Filename:
MIME Type:
Creator:
Gabor Kovesdan
Created:
2006-08-08 21:00:30 UTC
Size:
2.04 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /usr/cvs/ports/audio/shoutcast/Makefile,v >retrieving revision 1.8 >diff -u -r1.8 Makefile >--- Makefile 18 Jul 2006 13:00:25 -0000 1.8 >+++ Makefile 8 Aug 2006 19:38:02 -0000 >@@ -37,7 +37,7 @@ > .endif > > post-patch: >- ${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' \ >+ @${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' \ > -e 's|=sc_serv.log|=/var/log/sc_serv.log|' \ > -e 's|=sc_w3c.log|=/var/log/sc_w3c.log|' \ > -e 's|ScreenLog=1|ScreenLog=0|' \ >@@ -47,17 +47,17 @@ > ${WRKSRC}/sc_serv.conf > > do-install: >- ${INSTALL_PROGRAM} ${WRKSRC}/sc_serv ${PREFIX}/sbin >- ${MKDIR} ${PREFIX}/etc/shoutcast >- ${INSTALL_DATA} ${WRKSRC}/sc_serv.conf ${PREFIX}/etc/shoutcast/sc_serv.conf.sample >- @[ -f ${PREFIX}/etc/shoutcast/sc_serv.conf ] || \ >- ${INSTALL_DATA} ${WRKSRC}/sc_serv.conf ${PREFIX}/etc/shoutcast/sc_serv.conf >+ @${INSTALL_PROGRAM} ${WRKSRC}/sc_serv ${TARGETDIR}/sbin >+ @${MKDIR} ${TARGETDIR}/etc/shoutcast >+ @${INSTALL_DATA} ${WRKSRC}/sc_serv.conf ${TARGETDIR}/etc/shoutcast/sc_serv.conf.sample >+ @[ -f ${TARGETDIR}/etc/shoutcast/sc_serv.conf ] || \ >+ ${INSTALL_DATA} ${WRKSRC}/sc_serv.conf ${TARGETDIR}/etc/shoutcast/sc_serv.conf > .if !defined(NOPORTDOCS) >- ${MKDIR} ${DOCSDIR} >- ${INSTALL_DATA} ${WRKSRC}/README.TXT ${DOCSDIR} >+ @${MKDIR} ${DOCSDIR} >+ @${INSTALL_DATA} ${WRKSRC}/README.TXT ${DOCSDIR} > .endif > > post-install: >- ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL >+ @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL > > .include <bsd.port.post.mk> >Index: pkg-install >=================================================================== >RCS file: /usr/cvs/ports/audio/shoutcast/pkg-install,v >retrieving revision 1.2 >diff -u -r1.2 pkg-install >--- pkg-install 5 Jun 2006 10:35:35 -0000 1.2 >+++ pkg-install 8 Aug 2006 19:34:19 -0000 >@@ -8,7 +8,12 @@ > SC_USER=shoutcast > SC_SHELL=/bin/sh > SC_HOME=/nonexistent >-PW=/usr/sbin/pw >+ >+if [ -n "${DESTDIR}" ] ; then >+ PW="/usr/sbin/chroot ${DESTDIR} /usr/sbin/pw" >+else >+ PW="/usr/sbin/pw" >+fi > > if ! ${PW} show group ${SC_GROUP} -q >/dev/null; then > gid=210
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 101669
: 69482