mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-22 04:17:44 +00:00
- Update to 1.0.w
PR: ports/117211 Submitted by: Cristian KLEIN <cristi@net.utcluj.ro> (maintainer)
This commit is contained in:
parent
c28ddca546
commit
f6212fcdb3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=202156
@ -6,7 +6,7 @@
|
||||
#
|
||||
|
||||
PORTNAME= nedi
|
||||
DISTVERSION= 1.0.w-rc4
|
||||
DISTVERSION= 1.0.w
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
@ -50,11 +50,17 @@ NEDIDIR= ${PREFIX}/www/nedi
|
||||
SUB_FILES= pkg-message
|
||||
SUB_LIST= NEDIDIR=${NEDIDIR}
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e 's|/var/nedi|${NEDIDIR}|' ${WRKSRC}/html/inc/libgraph.php
|
||||
@${REINPLACE_CMD} -e "s|'/etc|'${PREFIX}/etc|" ${WRKSRC}/html/inc/libmisc.php
|
||||
@${FIND} ${WRKSRC} -name *.bak -or -name *.orig | ${XARGS} ${RM}
|
||||
|
||||
do-install:
|
||||
@ ${MKDIR} -m 755 ${NEDIDIR}
|
||||
@ ${CP} -r ${WRKSRC}/* ${NEDIDIR}
|
||||
@ ${MV} ${NEDIDIR}/seedlist ${PREFIX}/etc/nedi.seedlist.sample
|
||||
@ ${MV} ${NEDIDIR}/nedi.conf ${PREFIX}/etc/nedi.conf.sample
|
||||
@ ${CHOWN} www ${NEDIDIR}/rrd
|
||||
|
||||
post-install:
|
||||
@ ${CAT} ${PKGMESSAGE}
|
||||
|
@ -1,3 +1,3 @@
|
||||
MD5 (nedi-1.0.w-rc4.tgz) = 050933375bb23537ad34e382ee977e07
|
||||
SHA256 (nedi-1.0.w-rc4.tgz) = 66c5c6bf1b950b9c657724584838a9f752c5ad6a541305def4a882544786337f
|
||||
SIZE (nedi-1.0.w-rc4.tgz) = 1668711
|
||||
MD5 (nedi-1.0.w.tgz) = cd1ce2df6bac11d51679bd491619f564
|
||||
SHA256 (nedi-1.0.w.tgz) = 0ddbafcad509fde42eea137bc6c1ba16eb0c078146372d539ba61eaa482fe168
|
||||
SIZE (nedi-1.0.w.tgz) = 1688828
|
||||
|
@ -1,11 +0,0 @@
|
||||
--- html/inc/drawrrd.php.orig Wed Dec 20 17:09:25 2006
|
||||
+++ html/inc/drawrrd.php Mon Feb 5 19:51:47 2007
|
||||
@@ -7,7 +7,7 @@
|
||||
//===============================
|
||||
*/
|
||||
$rrdcmd = "rrdtool"; # point to rrdtool
|
||||
-$rrdpath = "/var/nedi/rrd"; # point to rrds
|
||||
+$rrdpath = "/usr/local/www/nedi/rrd"; # point to rrds
|
||||
|
||||
# The above is the FASTEST way. People may argue to put this in nedi.conf. This enables 2 more ways, but I won't do it...
|
||||
# LITTLE SLOWER and as dirty as above:
|
@ -1,13 +0,0 @@
|
||||
--- html/inc/libmisc.php.orig Mon Feb 5 17:51:32 2007
|
||||
+++ html/inc/libmisc.php Mon Feb 5 17:51:32 2007
|
||||
@@ -16,8 +16,8 @@
|
||||
// Read configuration
|
||||
function ReadConf($group) {
|
||||
|
||||
- if (file_exists('/etc/nedi.conf')) {
|
||||
- $conf = file('/etc/nedi.conf');
|
||||
+ if (file_exists('/usr/local/etc/nedi.conf')) {
|
||||
+ $conf = file('/usr/local/etc/nedi.conf');
|
||||
}elseif (file_exists('/var/nedi/nedi.conf')) {
|
||||
$conf = file('/var/nedi/nedi.conf');
|
||||
}else{
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user