Bug 86144

Summary: New port: sysutils/freebsd-snapshot: ports version of RSE snapshot utilities
Product: Ports & Packages Reporter: Graham Todd <gtodd>
Component: Individual Port(s)Assignee: Marcus Alves Grando <mnag>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.shar none

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!