Import of pkgsrc-2013Q2

This commit is contained in:
2013-09-26 17:14:40 +02:00
commit 785076ae39
74991 changed files with 4380255 additions and 0 deletions

11
sysutils/pdumpfs/DESCR Normal file
View File

@@ -0,0 +1,11 @@
pdumpfs is a simple daily backup system similar to Plan9's dumpfs
which preserves every daily snapshot. pdumpfs is written in Ruby.
You can access the past snapshots at any time for retrieving a certain
day's file. Let's backup your home directory with pdumpfs!
pdumpfs constructs the snapshot YYYY/MM/DD in the destination
directory. All source files are copied to the snapshot directory for
the first time. On and after the second time, pdumpfs copies only
updated or newly created files and stores unchanged files as hard
links to the files of the previous day's snapshot for saving a disk
space.

34
sysutils/pdumpfs/Makefile Normal file
View File

@@ -0,0 +1,34 @@
# $NetBSD: Makefile,v 1.12 2012/10/23 19:51:19 asau Exp $
#
DISTNAME= pdumpfs-${VER}
PKGREVISION= 3
CATEGORIES= sysutils
MASTER_SITES= http://0xcc.net/pdumpfs/
MAINTAINER= obache@NetBSD.org
HOMEPAGE= http://0xcc.net/pdumpfs/
COMMENT= Simple daily backup system similar to Plan9's dumpfs
LICENSE= gnu-gpl-v2
CONFLICTS+= ruby[1-9][0-9]-pdumpfs-[0-9]* pdumpfs-[0-9]*
USE_TOOLS+= pax
VER= 1.3
BUILD_TARGET= pdumpfs
REPLACE_RUBY= pdumpfs.in
INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8 ${PKGMANDIR}/ja_JP.EUC/man8 \
share/doc/pdumpfs
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/pdumpfs ${DESTDIR}${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/man/man8/pdumpfs.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8
${INSTALL_MAN} ${WRKSRC}/man/ja/man8/pdumpfs.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/ja_JP.EUC/man8
cd ${WRKSRC}/doc && \
pax -rw -pp -pm . ${DESTDIR}${PREFIX}/share/doc/pdumpfs
.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"

10
sysutils/pdumpfs/PLIST Normal file
View File

@@ -0,0 +1,10 @@
@comment $NetBSD: PLIST,v 1.3 2011/01/28 13:28:08 obache Exp $
man/ja_JP.EUC/man8/pdumpfs.8
man/man8/pdumpfs.8
sbin/pdumpfs
share/doc/pdumpfs/images/pdumpfs-ja-mini.png
share/doc/pdumpfs/images/pdumpfs-ja.png
share/doc/pdumpfs/images/pdumpfs-mini.png
share/doc/pdumpfs/images/pdumpfs.png
share/doc/pdumpfs/pdumpfs-ja.html
share/doc/pdumpfs/pdumpfs.html

View File

@@ -0,0 +1,6 @@
$NetBSD: distinfo,v 1.3 2011/01/28 13:28:08 obache Exp $
SHA1 (pdumpfs-1.3.tar.gz) = 1ce91f0429d730fbc6e6f253d04e80226c145cdf
RMD160 (pdumpfs-1.3.tar.gz) = a9730349347d50d06dd101b0c1d9a7b3e25777c1
Size (pdumpfs-1.3.tar.gz) = 68210 bytes
SHA1 (patch-aa) = 74b5aefb3272d3e65fb257566896bb7ee27730cf

View File

@@ -0,0 +1,43 @@
$NetBSD: patch-aa,v 1.1 2011/01/28 13:28:08 obache Exp $
`ftools' is not recommented prior ruby-1.8 and removed prior 1.9.
--- pdumpfs.in.orig 2004-12-21 02:43:12.000000000 +0000
+++ pdumpfs.in
@@ -47,8 +47,8 @@
# --exclude-* support by Takeshi Komiya <katsuwo@monochrome.jp>
#
+require 'fileutils'
require 'find'
-require 'ftools'
require 'getoptlong'
require 'date'
@@ -868,7 +868,7 @@ module Pdumpfs
today = File.join(dest, datedir(start_time), base)
File.umask(0077)
- File.mkpath(today) unless @dry_run
+ FileUtils.mkpath(today) unless @dry_run
if latest
update_snapshot(src, latest, today)
else
@@ -1018,7 +1018,7 @@ module Pdumpfs
case type
when "directory"
- File.mkpath(today)
+ FileUtils.mkpath(today)
when "unchanged"
File.force_link(latest, today)
when "updated"
@@ -1089,7 +1089,7 @@ module Pdumpfs
case type
when "directory"
- File.mkpath(t)
+ FileUtils.mkpath(t)
when "new_file"
copy(s, t)
when "symlink"