FreeBSD Bugzilla – Attachment 144982 Details for
Bug 192120
[maintainer update] comms/qpage staging support
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to add staging support to comms/qpage
qpage.diff (text/plain), 1.97 KB, created by
jfb
on 2014-07-25 20:54:44 UTC
(
hide
)
Description:
patch to add staging support to comms/qpage
Filename:
MIME Type:
Creator:
jfb
Created:
2014-07-25 20:54:44 UTC
Size:
1.97 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- comms/qpage.old/Makefile (revision 362928) >+++ comms/qpage/Makefile (working copy) >@@ -3,7 +3,7 @@ > > PORTNAME= qpage > PORTVERSION= 3.3 >-PORTREVISION= 7 >+PORTREVISION= 8 > CATEGORIES= comms > MASTER_SITES= http://www.qpage.org/download/ > EXTRACT_SUFX= .tar.Z >@@ -17,9 +17,6 @@ > OPTIONS_DEFINE= IDENT_PATCH > IDENT_PATCH_DESC= Disable libwrap ident lookups > >-MAN1= qpage.1 >- >-NO_STAGE= yes > .include <bsd.port.options.mk> > > .if ${PORT_OPTIONS:MIDENT_PATCH} >@@ -69,14 +66,18 @@ > -e 's,%%WITH_QPAGE_USER%%,${WITH_QPAGE_USER},' \ > ${WRKSRC}/config.input > >+do-install: >+ ${INSTALL_PROGRAM} ${WRKSRC}/qpage ${STAGEDIR}${PREFIX}/bin >+ ${INSTALL_MAN} ${WRKSRC}/qpage.man ${STAGEDIR}${MAN1PREFIX}/man/man1/qpage.1 >+ > post-install: >- @if [ ! -f ${PREFIX}/etc/qpage-example.cf ]; then \ >- ${ECHO_MSG} "Install ${PREFIX}/etc/qpage-example.cf file."; \ >+ @if [ ! -f ${STAGEDIR}${PREFIX}/etc/qpage-example.cf ]; then \ >+ ${ECHO_MSG} "Install ${STAGEDIR}${PREFIX}/etc/qpage-example.cf file."; \ > ${INSTALL_DATA} -m 640 ${WRKDIR}/${PORTNAME}-${PORTVERSION}/example.cf \ >- ${PREFIX}/etc/qpage-example.cf; \ >+ ${STAGEDIR}${PREFIX}/etc/qpage-example.cf; \ > fi >- ${MKDIR} /var/spool/${PORTNAME} >- ${CHOWN} ${WITH_QPAGE_USER}:dialer /var/spool/${PORTNAME} >- ${CHMOD} 0775 /var/spool/${PORTNAME} >+ ${MKDIR} ${STAGEDIR}/var/spool/${PORTNAME} >+ ${CHOWN} ${WITH_QPAGE_USER}:dialer ${STAGEDIR}/var/spool/${PORTNAME} >+ ${CHMOD} 0775 ${STAGEDIR}/var/spool/${PORTNAME} > > .include <bsd.port.mk> >Index: pkg-plist >=================================================================== >--- comms/qpage.old/pkg-plist (revision 362928) >+++ comms/qpage/pkg-plist (working copy) >@@ -1,4 +1,5 @@ > bin/qpage > etc/qpage-example.cf >+man/man1/qpage.1.gz > @exec if [ ! -d /var/spool/qpage ]; then mkdir /var/spool/qpage; chown uucp:dialer /var/spool/qpage; chmod 0775 /var/spool/qpage; fi > @unexec if [ -d /var/spool/qpage ]; then rm -rf /var/spool/qpage; fi
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 192120
: 144982