FreeBSD Bugzilla – Attachment 80114 Details for
Bug 114994
sysutils/3dm: install/uninstall issues that impact the config file
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
pr114994_followup.diff
pr114994_followup.diff (text/plain), 1.44 KB, created by
ports.maintainer
on 2007-08-06 01:45:00 UTC
(
hide
)
Description:
pr114994_followup.diff
Filename:
MIME Type:
Creator:
ports.maintainer
Created:
2007-08-06 01:45:00 UTC
Size:
1.44 KB
patch
obsolete
>--- Makefile.orig Fri Jan 26 06:57:30 2007 >+++ Makefile Sun Aug 5 14:15:18 2007 >@@ -8,6 +8,7 @@ > PORTNAME= 3dm > PORTVERSION= 2.04.00.035 > PORTEPOCH= 1 >+PORTREVISION= 1 > CATEGORIES= sysutils > MASTER_SITES= http://3ware.com/download/Escalade9650SE-Series/9.4.0.1/ > DISTNAME= 3DM2-freebsd-9.4.0.1 >@@ -96,10 +97,11 @@ > > post-install: > ${INSTALL_DATA} ${WRKSRC}/3dm2.conf.sample ${PREFIX}/etc/3dm2/ >- [ -f ${PREFIX}/etc/3dm2/3dm2.conf ] || \ >- ${CP} ${PREFIX}/etc/3dm2/3dm2.conf.sample \ >- ${PREFIX}/etc/3dm2/3dm2.conf >- @${CHMOD} 600 ${PREFIX}/etc/3dm2/3dm2.conf.sample ${PREFIX}/etc/3dm2/3dm2.conf >+ ${CHMOD} 400 ${PREFIX}/etc/3dm2/3dm2.conf.sample >+ [ -f ${PREFIX}/etc/3dm2/3dm2.conf ] || ( \ >+ ${INSTALL_DATA} ${WRKSRC}/3dm2.conf.sample ${PREFIX}/etc/3dm2/3dm2.conf && \ >+ ${CHMOD} 600 ${PREFIX}/etc/3dm2/3dm2.conf \ >+ ) > > # 3ware uses a hardcoded config dir location that doesn't match hier(9) > >--- pkg-plist.orig Fri Jan 26 06:57:30 2007 >+++ pkg-plist Sun Aug 5 14:20:27 2007 >@@ -1,7 +1,7 @@ >-@unexec %D/etc/rc.d/3dm2.sh stop > /dev/null 2>&1 || true >+@unexec %D/etc/rc.d/3dm2 stop > /dev/null 2>&1 || true > @unexec if cmp -s %D/etc/3dm2/3dm2.conf.sample %D/etc/3dm2/3dm2.conf; then rm -f %D/etc/3dm2/3dm2.conf; fi > etc/3dm2/3dm2.conf.sample >-@exec if [ -f %B/3dm2.conf ] ; then cp -p %D/%F %B/3dm2.conf; fi >+@exec if [ ! -f %B/3dm2.conf ] ; then cp -p %D/%F %B/3dm2.conf && chmod 600 %B/3dm2.conf; fi > etc/3dm2/msg/tdm_msg_en > etc/3dm2/msg/tw_msg_en > sbin/3dm2
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 114994
: 80114