Bug 86144 - New port: sysutils/freebsd-snapshot: ports version of RSE snapshot utilities
Summary: New port: sysutils/freebsd-snapshot: ports version of RSE snapshot utilities
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Marcus Alves Grando
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-09-15 06:20 UTC by Graham Todd
Modified: 2005-09-23 21:18 UTC (History)
0 users

See Also:


Attachments
file.shar (9.58 KB, text/plain)
2005-09-15 06:20 UTC, Graham Todd
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Graham Todd 2005-09-15 06:20:09 UTC
      Version of RSE snapshot utilities that installs in LOCALBASE as a port. For information on these utilities see:

      http://people.freebsd.org/~rse/snapshot/

Included below iw output of:

shar `find freebsd-snapshot-management` > freebsd-snapshot-management
Comment 1 Graham Todd 2005-09-15 23:03:44 UTC
Small fix so the periodic scripts can run: /usr/local/sbin is not in $PATH so
these small patches to the main scripts allow the $LOCALBASE installation to
function by adding /usr/local/sbin to the

Please review: perhaps a more general solution for $PATH is needed in case
LOCALBASE or PREFIX point at other locations.


/usr/ports/sysutils/freebsd-snapshot-management]# cat files/patch-snapshot
--- snapshot.orig       Thu Sep 15 17:44:46 2005
+++ snapshot    Thu Sep 15 17:47:59 2005
@@ -29,7 +29,7 @@
 ##

 #   make sure system tools are used first
-PATH="/bin:/usr/bin:/sbin:/usr/sbin:$PATH"
+PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/sbin:$PATH"

 #   option defaults
 fs_subdir=".snap"


cat files/patch-periodic-snapshot
--- periodic-snapshot.orig      Thu Sep 15 17:44:57 2005
+++ periodic-snapshot   Thu Sep 15 17:46:31 2005
@@ -29,7 +29,7 @@
 ##

 #   make sure system tools are used first
-PATH="/bin:/usr/bin:/sbin:/usr/sbin:$PATH"
+PATH="/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/sbin:$PATH"

 #   configuration defaults
 snapshot_enable="NO"

-- 
Graham Todd --  Bellanet Secretariat
tel/tél:613-236-6163 #2443
http://www.bellanet.org/
Comment 2 Marcus Alves Grando freebsd_committer freebsd_triage 2005-09-23 17:30:32 UTC
Responsible Changed
From-To: freebsd-ports-bugs->mnag

I'll take it.
Comment 3 Marcus Alves Grando freebsd_committer freebsd_triage 2005-09-23 21:18:14 UTC
State Changed
From-To: open->closed

New port added. Thanks!