diff options
author | cjep <cjep> | 2002-12-13 15:39:28 +0000 |
---|---|---|
committer | cjep <cjep> | 2002-12-13 15:39:28 +0000 |
commit | b4aef3b4325d00f8b4b13d9b8ff19ae12974450b (patch) | |
tree | 9c7de56221e1e90522ffb0d348afebe9e2913adf /archivers | |
parent | 38d876b486162eff308f0014bef0632601daa474 (diff) | |
download | pkgsrc-b4aef3b4325d00f8b4b13d9b8ff19ae12974450b.tar.gz |
Initial import of arj-3.10b into the NetBSD packages collection
as archivers/arj.
This package is a GPL implementation of ARJ v2.7x for DOS on UNIX and
UNIX-like systems. It is assumed that the user is familiar with ARJ
operation on DOS before using this package.
New ARJ features on UNIX and UNIX-like platforms:
- Support for symbolic and hard links
- Archiving of special entities: pipes and devices
- Support for UID/GID storage in a variety of methods
- World's smallest native self-extracting modules
- Outstanding interoperability with ARJ for DOS, Windows and OS/2 Warp
From the FreeBSD port collections (with several changes by me).
Diffstat (limited to 'archivers')
-rw-r--r-- | archivers/arj/DESCR | 10 | ||||
-rw-r--r-- | archivers/arj/Makefile | 38 | ||||
-rw-r--r-- | archivers/arj/PLIST | 14 | ||||
-rw-r--r-- | archivers/arj/distinfo | 7 | ||||
-rw-r--r-- | archivers/arj/patches/patch-aa | 31 | ||||
-rw-r--r-- | archivers/arj/patches/patch-ab | 19 | ||||
-rw-r--r-- | archivers/arj/patches/patch-ac | 41 |
7 files changed, 160 insertions, 0 deletions
diff --git a/archivers/arj/DESCR b/archivers/arj/DESCR new file mode 100644 index 00000000000..e42ed280ea2 --- /dev/null +++ b/archivers/arj/DESCR @@ -0,0 +1,10 @@ +This package is a GPL implementation of ARJ v2.7x for DOS on UNIX and +UNIX-like systems. It is assumed that the user is familiar with ARJ +operation on DOS before using this package. + +New ARJ features on UNIX and UNIX-like platforms: + - Support for symbolic and hard links + - Archiving of special entities: pipes and devices + - Support for UID/GID storage in a variety of methods + - World's smallest native self-extracting modules + - Outstanding interoperability with ARJ for DOS, Windows and OS/2 Warp diff --git a/archivers/arj/Makefile b/archivers/arj/Makefile new file mode 100644 index 00000000000..5e0a36f62a4 --- /dev/null +++ b/archivers/arj/Makefile @@ -0,0 +1,38 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/12/13 15:39:28 cjep Exp $ +# FreeBSD Id: ports/archivers/arj/Makefile,v 1.2 2002/09/17 05:17:29 ijliao Exp + +DISTNAME= arj-3.10b +CATEGORIES= archivers +MASTER_SITES= http://testcase.newmail.ru/files/ + +MAINTAINER= packages@netbsd.org +HOMEPAGE= http://arj.sourceforge.net/ +COMMENT= Open-source ARJ + +USE_GMAKE= yes +GNU_CONFIGURE= yes +CONFIGURE_SCRIPT= ${WRKSRC}/gnu/configure +MAKEFILE= makefile.gnu + +ARJ_DOCSDIR= ${PREFIX}/share/doc/arj + +pre-configure: + ${CP} -f ${WRKSRC}/environ.c ${WRKSRC}/environ.c.1 + ${SED} -e 's|@PREFIX@|${PREFIX}|g' < ${WRKSRC}/environ.c.1 \ + > ${WRKSRC}/environ.c + ${RM} -f ${WRKSRC}/environ.c.1 + cd ${WRKSRC}/gnu; ${AUTOCONF} + +pre-build: + (cd ${WRKSRC}; ${SETENV} ${MAKE_ENV} ${GMAKE} -f ${MAKEFILE} ${MAKE_FLAGS} ${MAKE_ARGS} prepare) + +post-install: + ${INSTALL_DATA_DIR} ${ARJ_DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/doc/COPYING ${WRKSRC}/doc/debug.txt \ + ${ARJ_DOCSDIR} + for i in arjl.txt arjs.txt history.txt readme.txt unix.txt; do\ + ${INSTALL_DATA} ${WRKSRC}/resource/en/$$i ${ARJ_DOCSDIR};\ + done + +.include "../../mk/autoconf.mk" +.include "../../mk/bsd.pkg.mk" diff --git a/archivers/arj/PLIST b/archivers/arj/PLIST new file mode 100644 index 00000000000..5a8f0f367d7 --- /dev/null +++ b/archivers/arj/PLIST @@ -0,0 +1,14 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2002/12/13 15:39:28 cjep Exp $ +bin/arj +bin/arjdisp +bin/rearj +bin/register +lib/arjcrypt.so +share/doc/arj/COPYING +share/doc/arj/arjl.txt +share/doc/arj/arjs.txt +share/doc/arj/debug.txt +share/doc/arj/history.txt +share/doc/arj/readme.txt +share/doc/arj/unix.txt +@dirrm share/doc/arj diff --git a/archivers/arj/distinfo b/archivers/arj/distinfo new file mode 100644 index 00000000000..a3c014aa317 --- /dev/null +++ b/archivers/arj/distinfo @@ -0,0 +1,7 @@ +$NetBSD: distinfo,v 1.1.1.1 2002/12/13 15:39:28 cjep Exp $ + +SHA1 (arj-3.10b.tar.gz) = 26fa3c87a7200ebf8b193c988fefd528e9795f51 +Size (arj-3.10b.tar.gz) = 385626 bytes +SHA1 (patch-aa) = ed4546d8da7a8cf88d9e186689bdc157a193baca +SHA1 (patch-ab) = 75113a9fd64224bf1578a03078b437eaf0bc99a0 +SHA1 (patch-ac) = bf1258e936418c32a5550da3fa63966cf8b92f25 diff --git a/archivers/arj/patches/patch-aa b/archivers/arj/patches/patch-aa new file mode 100644 index 00000000000..b4b65f80a6d --- /dev/null +++ b/archivers/arj/patches/patch-aa @@ -0,0 +1,31 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/12/13 15:39:28 cjep Exp $ + +--- environ.c.orig Thu Mar 28 00:02:38 2002 ++++ environ.c +@@ -53,7 +53,7 @@ + #if defined(linux) + #include <sys/ioctl.h> + #include <linux/fs.h> +- #elif defined(__FreeBSD__) ++ #elif defined(__FreeBSD__) || defined(__NetBSD__) + #include <sys/param.h> + #include <sys/mount.h> + #else +@@ -2721,7 +2721,7 @@ void get_exe_name(char *dest, char *arg) + ps=pe+1; + } while(*pe!='\0'); + #if SFX_LEVEL==ARJ +- strcpy(dest, "/usr/bin/arj"); ++ strcpy(dest, "/usr/pkg/bin/arj"); + #elif SFX_LEVEL==ARJSFXV + strcpy(dest, "./arjsfxv"); + #elif SFX_LEVEL==ARJSFX +@@ -2729,7 +2729,7 @@ void get_exe_name(char *dest, char *arg) + #elif SFX_LEVEL==ARJSFXJR + strcpy(dest, "./arjsfxjr"); + #elif defined(REARJ) +- strcpy(dest, "/usr/bin/rearj"); ++ strcpy(dest, "/usr/pkg/bin/rearj"); + #else + dest[0]='\0'; + #endif diff --git a/archivers/arj/patches/patch-ab b/archivers/arj/patches/patch-ab new file mode 100644 index 00000000000..c8260074915 --- /dev/null +++ b/archivers/arj/patches/patch-ab @@ -0,0 +1,19 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/12/13 15:39:28 cjep Exp $ + +--- gnu/configure.in.orig Thu Mar 28 00:03:42 2002 ++++ gnu/configure.in +@@ -11,7 +11,7 @@ dnl Installation script (let it be, temp + AC_PROG_INSTALL(e:/os2apps/autoconf/install-sh) + + dnl Configuration parameters +-AC_CONFIG_HEADER(../c_defs.h:config.h.in) ++AC_CONFIG_HEADER(c_defs.h:config.h.in) + + dnl Checks for the canonical system name + AC_CANONICAL_HOST +@@ -115,4 +115,4 @@ AC_SUBST(LIBS) + AC_SUBST(DYN_LIBS) + AC_SUBST(LD_STRIP) + +-AC_OUTPUT(../makefile.gnu:makefile.in) ++AC_OUTPUT(makefile.gnu:makefile.in) diff --git a/archivers/arj/patches/patch-ac b/archivers/arj/patches/patch-ac new file mode 100644 index 00000000000..ce83944ac26 --- /dev/null +++ b/archivers/arj/patches/patch-ac @@ -0,0 +1,41 @@ +$NetBSD: patch-ac,v 1.1.1.1 2002/12/13 15:39:28 cjep Exp $ + +--- gnu/makefile.in.orig Mon Apr 8 23:14:22 2002 ++++ gnu/makefile.in +@@ -420,21 +420,21 @@ clean: + # + + install: +- cp $(ARJ_DIR)/arj$x /usr/local/bin/ +- -rm -f /usr/bin/arj$x +- ln -s /usr/local/bin/arj$x /usr/bin/arj$x +- cp $(ARJCRYPT_DIR)/arjcrypt$d /usr/local/lib/ +- -rm -f /usr/lib/arjcrypt$d +- ln -s /usr/local/lib/arjcrypt$d /usr/lib/arjcrypt$d +- cp $(REARJ_DIR)/rearj$x /usr/local/bin/ +- -rm -f /usr/bin/rearj$x +- ln -s /usr/local/bin/rearj$x /usr/bin/rearj$x +- cp $(ARJDISP_DIR)/arjdisp$x /usr/local/bin/ +- -rm -f /usr/bin/arjdisp$x +- ln -s /usr/local/bin/arjdisp$x /usr/bin/arjdisp$x +- cp $(REGISTER_DIR)/register$x /usr/local/bin/ +- -rm -f /usr/bin/register$x +- ln -s /usr/local/bin/register$x /usr/bin/register$x ++ cp $(ARJ_DIR)/arj$x @prefix@/bin ++# -rm -f /usr/bin/arj$x ++# ln -s /usr/local/bin/arj$x /usr/bin/arj$x ++ cp $(ARJCRYPT_DIR)/arjcrypt$d @prefix@/lib/ ++# -rm -f /usr/lib/arjcrypt$d ++# ln -s /usr/local/lib/arjcrypt$d /usr/lib/arjcrypt$d ++ cp $(REARJ_DIR)/rearj$x @prefix@/bin/ ++# -rm -f /usr/bin/rearj$x ++# ln -s /usr/local/bin/rearj$x /usr/bin/rearj$x ++ cp $(ARJDISP_DIR)/arjdisp$x @prefix@/bin/ ++# -rm -f /usr/bin/arjdisp$x ++# ln -s /usr/local/bin/arjdisp$x /usr/bin/arjdisp$x ++ cp $(REGISTER_DIR)/register$x @prefix@/bin/ ++# -rm -f /usr/bin/register$x ++# ln -s /usr/local/bin/register$x /usr/bin/register$x + + # + # Packaging (was: packager$x $(BASEDIR_C) $(BASEDIR)) |