diff options
-rw-r--r-- | sysutils/cpbk/Makefile | 24 | ||||
-rw-r--r-- | sysutils/cpbk/distinfo | 1 | ||||
-rw-r--r-- | sysutils/cpbk/files/patch-aa | 63 | ||||
-rw-r--r-- | sysutils/cpbk/files/patch-ab | 30 | ||||
-rw-r--r-- | sysutils/cpbk/files/patch-ac | 7 | ||||
-rw-r--r-- | sysutils/cpbk/pkg-comment | 1 | ||||
-rw-r--r-- | sysutils/cpbk/pkg-descr | 17 | ||||
-rw-r--r-- | sysutils/cpbk/pkg-plist | 1 |
8 files changed, 144 insertions, 0 deletions
diff --git a/sysutils/cpbk/Makefile b/sysutils/cpbk/Makefile new file mode 100644 index 000000000000..2d67e0a47649 --- /dev/null +++ b/sysutils/cpbk/Makefile @@ -0,0 +1,24 @@ +# New ports collection makefile for: cpbk +# Version required: 2.0 +# Date created: 12 April 1999 +# Whom: Sergey Osokin aka oZZ <ozz@FreeBSD.org.ru> +# +# $Id: Makefile,v 1.01 1999/04/12 23:55:35 ozz Exp $ + +DISTNAME= cpbk-2.0 +CATEGORIES= sysutils +MASTER_SITES= http://pep.netnation.com/cpbk/ \ + ftp://mocha.mkintraweb.com/pub/linux/cpbk/ + +MAINTAINER= ozz@FreeBSD.org.ru + +MAN1= cpbk.1 +MANCOMPRESSED= yes + +do-install: + @${INSTALL_PROGRAM} ${WRKSRC}/cpbk ${PREFIX}/bin + +post-install: + @${INSTALL_MAN} $(WRKSRC)/cpbk.1.gz $(PREFIX)/man/man1 + +.include <bsd.port.mk> diff --git a/sysutils/cpbk/distinfo b/sysutils/cpbk/distinfo new file mode 100644 index 000000000000..9251b0e620c4 --- /dev/null +++ b/sysutils/cpbk/distinfo @@ -0,0 +1 @@ +MD5 (cpbk-2.0.tar.gz) = b8ee471dcc7a8a6e1508848815de7738 diff --git a/sysutils/cpbk/files/patch-aa b/sysutils/cpbk/files/patch-aa new file mode 100644 index 000000000000..b9c7bfde6414 --- /dev/null +++ b/sysutils/cpbk/files/patch-aa @@ -0,0 +1,63 @@ +--- Makefile.orig Tue Nov 17 10:15:33 1998 ++++ Makefile Mon Apr 12 23:23:28 1999 +@@ -21,47 +21,10 @@ + OS = $(shell uname -s) + OS_RELEASE = $(shell uname -r) + +-ifeq ($(OS),OSF1) +- CC = gcc +- SYS_LIBS = +- SYS_FLAGS = -g -O2 +- SYS_DEFS = -DOSF_CPBK +-endif +- +-ifeq ($(OS),SunOS) +- CC = gcc +- SYS_LIBS = +- SYS_FLAGS = -g -O2 +- SYS_DEFS = -DSOL26_CPBK -D__STDC__ +-endif +- +-ifeq ($(OS),AIX) +- CC = gcc +- SYS_LIBS = +- SYS_FLAGS = -g -O2 +- SYS_DEFS = -DAIX_CPBK +-endif +- +-ifeq ($(OS),HP-UX) +- CC = gcc +- SYS_LIBS = +- SYS_FLAGS = -g -O2 +- SYS_DEFS = -DHPUX_CPBK -D__STDC__ +-endif +- +-ifeq ($(OS),Linux) +- CC = gcc +- SYS_LIBS = +- SYS_FLAGS = -g -O2 +- SYS_DEFS = -DLINUX_CPBK +-endif +- +-ifeq ($(OS),IRIX) +- CC = gcc +- SYS_LIBS = +- SYS_FLAGS = -O2 -g +- SYS_DEFS = -DIRIX_CPBK +-endif ++CC = gcc ++SYS_LIBS = ++SYS_FLAGS = -O2 ++SYS_DEFS = -DFBSD_CPBK + + + CFLAGS = $(NDFLAGS) $(SYS_FLAGS) $(SYS_DEFS) +@@ -75,7 +38,7 @@ + make $(prog) + + $(prog): $(OBJS) +- $(CC) $(PG) $(LDFLAGS) -o $(prog) $(OBJS) ++ $(CC) -I. -I/usr/include $(PG) $(LDFLAGS) -o $(prog) $(OBJS) + + clean: + $(RM) $(CLEAN_FLAGS) $(prog) $(OBJS) diff --git a/sysutils/cpbk/files/patch-ab b/sysutils/cpbk/files/patch-ab new file mode 100644 index 000000000000..b898801accd0 --- /dev/null +++ b/sysutils/cpbk/files/patch-ab @@ -0,0 +1,30 @@ +--- config.h.orig Tue Nov 10 03:54:35 1998 ++++ config.h Mon Apr 12 23:31:15 1999 +@@ -7,22 +7,22 @@ + int mknod (const char *path, int mode, dev_t device); + #endif + +-#if defined (SOL26_CPBK) || (OSF_CPBK) || (AIX_CPBK) || (HPUX_CPBK) || (IRIX_CPBK) ++#if defined (SOL26_CPBK) || (OSF_CPBK) || (AIX_CPBK) || (HPUX_CPBK) || (IRIX_CPBK) || (FBSD_CPBK) + #define F_MODE mode_t + #else + #define F_MOD umode_t + #endif + +-#if defined (SOL26_CPBK) || (HPUX_CPBK) || (IRIX_CPBK) ++#if defined (SOL26_CPBK) || (HPUX_CPBK) || (IRIX_CPBK) || (FBSD_CPBK) + char *rindex(const char *string, int s); + #endif + +-#if defined (SOL26_CPBK) || (OSF_CPBK) || (AIX_CPBK) +-#include <wctype.h> ++#if defined (SOL26_CPBK) || (OSF_CPBK) || (AIX_CPBK) ++#include <ctype.h> + #define isblank(c) iswctype((c), _ISBLANK) + #endif + +-#ifdef AIX_CPBK ++#if defined (AIX_CPBK) || (FBSD_CPBK) + int strcasecmp(const char *s1, const char *s2); + #endif + diff --git a/sysutils/cpbk/files/patch-ac b/sysutils/cpbk/files/patch-ac new file mode 100644 index 000000000000..21ff97f4e357 --- /dev/null +++ b/sysutils/cpbk/files/patch-ac @@ -0,0 +1,7 @@ +--- link.h.orig Thu Oct 29 09:19:21 1998 ++++ link.h Mon Apr 12 23:28:34 1999 +@@ -1,3 +1,4 @@ ++#include <sys/time.h> + #include <time.h> + + /* 2 Dimensional Link List */ diff --git a/sysutils/cpbk/pkg-comment b/sysutils/cpbk/pkg-comment new file mode 100644 index 000000000000..abb691dfc1d0 --- /dev/null +++ b/sysutils/cpbk/pkg-comment @@ -0,0 +1 @@ +Backup Copy programm. diff --git a/sysutils/cpbk/pkg-descr b/sysutils/cpbk/pkg-descr new file mode 100644 index 000000000000..a1d699c5efb7 --- /dev/null +++ b/sysutils/cpbk/pkg-descr @@ -0,0 +1,17 @@ + Backup Copy is basically a smart copy program that allows a user +to copy mass files from one place to another. When coping over a +previous copy, the key features will allow coping only of new or +non existing files in the backup. This results in saving time and +less load on the drive. Built into the same feature of copying +new files only, is a file removal procedure. If a file is removed +from the source path, the same file will be removed when the next +backup is performed. This provides a backup that is exactly the same +as the source without filling up the drive. As an added option, all +files that will be overwritten or deleted when doing a copy over a +previous backup, have the opportunity to be stored in a trash bin. +You can leave this trash bin to grow and grow just in case you need a +backup of your backup. When you start running out of disk space you +will need to remove or clean up the trash bin. + +Autor: Kevin Lindsay <klindsay@mkintraweb.com> +Ported: Osokin Sergey aka oZZ <ozz@FreeBSD.org.ru> diff --git a/sysutils/cpbk/pkg-plist b/sysutils/cpbk/pkg-plist new file mode 100644 index 000000000000..8ef3c4c8f30c --- /dev/null +++ b/sysutils/cpbk/pkg-plist @@ -0,0 +1 @@ +bin/cpbk |