From f2ad5c061e65d6306f14abedec8329d2e024f0ea Mon Sep 17 00:00:00 2001 From: cjep Date: Fri, 13 Dec 2002 15:39:28 +0000 Subject: 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). --- archivers/arj/DESCR | 10 ++++++++++ archivers/arj/Makefile | 38 ++++++++++++++++++++++++++++++++++++++ archivers/arj/PLIST | 14 ++++++++++++++ archivers/arj/distinfo | 7 +++++++ archivers/arj/patches/patch-aa | 31 +++++++++++++++++++++++++++++++ archivers/arj/patches/patch-ab | 19 +++++++++++++++++++ archivers/arj/patches/patch-ac | 41 +++++++++++++++++++++++++++++++++++++++++ 7 files changed, 160 insertions(+) create mode 100644 archivers/arj/DESCR create mode 100644 archivers/arj/Makefile create mode 100644 archivers/arj/PLIST create mode 100644 archivers/arj/distinfo create mode 100644 archivers/arj/patches/patch-aa create mode 100644 archivers/arj/patches/patch-ab create mode 100644 archivers/arj/patches/patch-ac (limited to 'archivers') 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 + #include +- #elif defined(__FreeBSD__) ++ #elif defined(__FreeBSD__) || defined(__NetBSD__) + #include + #include + #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)) -- cgit v1.2.3