mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Backup Copy programm.
PR: 11101 Submitted by: Sergey Osokin aka oZZ <ozz@FreeBSD.org.ru>
This commit is contained in:
parent
1427c793d3
commit
c67ce03bf0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=18214
24
sysutils/cpbk/Makefile
Normal file
24
sysutils/cpbk/Makefile
Normal file
@ -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>
|
1
sysutils/cpbk/distinfo
Normal file
1
sysutils/cpbk/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (cpbk-2.0.tar.gz) = b8ee471dcc7a8a6e1508848815de7738
|
63
sysutils/cpbk/files/patch-aa
Normal file
63
sysutils/cpbk/files/patch-aa
Normal file
@ -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)
|
30
sysutils/cpbk/files/patch-ab
Normal file
30
sysutils/cpbk/files/patch-ab
Normal file
@ -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
|
||||
|
7
sysutils/cpbk/files/patch-ac
Normal file
7
sysutils/cpbk/files/patch-ac
Normal file
@ -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 */
|
1
sysutils/cpbk/pkg-comment
Normal file
1
sysutils/cpbk/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
Backup Copy programm.
|
17
sysutils/cpbk/pkg-descr
Normal file
17
sysutils/cpbk/pkg-descr
Normal file
@ -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>
|
1
sysutils/cpbk/pkg-plist
Normal file
1
sysutils/cpbk/pkg-plist
Normal file
@ -0,0 +1 @@
|
||||
bin/cpbk
|
Loading…
Reference in New Issue
Block a user