diff options
Diffstat (limited to 'devel/baz')
-rw-r--r-- | devel/baz/Makefile | 63 | ||||
-rw-r--r-- | devel/baz/distinfo | 2 | ||||
-rw-r--r-- | devel/baz/files/patch-pfs-sftp.c | 11 | ||||
-rw-r--r-- | devel/baz/files/patch-pfs-signatures.c | 19 | ||||
-rw-r--r-- | devel/baz/files/patch-pfs.c | 89 | ||||
-rw-r--r-- | devel/baz/files/patch-unit-sftp.c | 20 | ||||
-rw-r--r-- | devel/baz/pkg-descr | 7 | ||||
-rw-r--r-- | devel/baz/pkg-plist | 34 |
8 files changed, 0 insertions, 245 deletions
diff --git a/devel/baz/Makefile b/devel/baz/Makefile deleted file mode 100644 index 32bb0e1ba9e9..000000000000 --- a/devel/baz/Makefile +++ /dev/null @@ -1,63 +0,0 @@ -# Ports collection makefile for: bazaar -# Date created: 11 October 2005 -# Whom: Ulf Lilleengen -# -# $FreeBSD$ -# - -PORTNAME= bazaar -PORTVERSION= 1.4.2 -PORTREVISION= 12 -CATEGORIES= devel -MASTER_SITES= http://bazaar-vcs.org/releases/src/obsolete/ -DISTNAME= bazaar_${PORTVERSION} - -MAINTAINER= ulf.lilleengen@gmail.com -COMMENT= An implementation of the GNU Arch RCS protocol in C by Canonical - -BUILD_DEPENDS= gpatch:${PORTSDIR}/devel/patch \ - gdiff:${PORTSDIR}/textproc/diffutils \ - gtar:${PORTSDIR}/archivers/gtar -RUN_DEPENDS= ${BUILD_DEPENDS} -LIB_DEPENDS= neon.27:${PORTSDIR}/www/neon29 \ - gpgme.19:${PORTSDIR}/security/gpgme - -CONFLICTS= gd-2.* - -USE_GMAKE= yes -USE_GETTEXT= yes -USE_PERL5_BUILD=yes -GNU_CONFIGURE= yes -MAKE_JOBS_UNSAFE= yes - -MAN1= baz.1 - -MAJORVERSION= 1.4 -BASEWRKDIR= ${WRKDIR}/thelove@canonical.com---dists--bazaar--${MAJORVERSION} -WRKSRC= ${BASEWRKDIR}/src/=build -PATCH_WRKSRC= ${BASEWRKDIR} -LDFLAGS+= -L ${LOCALBASE}/lib -CFLAGS+= -I ${LOCALBASE}/include ${LDFLAGS} - -.include <bsd.port.pre.mk> - -pre-patch: - ${MKDIR} ${WRKSRC} - -# I know the CFLAGS export is ugly, but it's the only way i've gotten bazaars -# own autotools to detect libraries the "correct" way. -do-configure: - cd ${WRKSRC} && export CFLAGS="${CFLAGS}" \ - && ../configure --prefix ${PREFIX} \ - --with-gnu-patch gpatch \ - --with-gnu-diff gdiff \ - --with-gnu-diff3 gdiff3 \ - --with-gnu-tar gtar - -post-install: - cd ${BASEWRKDIR}/src/baz-manpage && ${PERL} generate-manpage.pl ${MAN1}\ - && \ - ${INSTALL_MAN} ${BASEWRKDIR}/src/baz-manpage/${MAN1} \ - ${MAN1PREFIX}/man/man1 - -.include <bsd.port.post.mk> diff --git a/devel/baz/distinfo b/devel/baz/distinfo deleted file mode 100644 index 3e63ca92b114..000000000000 --- a/devel/baz/distinfo +++ /dev/null @@ -1,2 +0,0 @@ -SHA256 (bazaar_1.4.2.tar.gz) = 4ad40013fb6572c9e7a5d14cd055ef98ca583893425c005697a5881b8ac0cc4e -SIZE (bazaar_1.4.2.tar.gz) = 6264573 diff --git a/devel/baz/files/patch-pfs-sftp.c b/devel/baz/files/patch-pfs-sftp.c deleted file mode 100644 index be725a45a68f..000000000000 --- a/devel/baz/files/patch-pfs-sftp.c +++ /dev/null @@ -1,11 +0,0 @@ ---- src/baz/libarch/pfs-sftp.c.orig Mon Jun 20 23:59:37 2005 -+++ src/baz/libarch/pfs-sftp.c Thu Apr 5 09:16:19 2007 -@@ -1496,7 +1496,7 @@ - */ - arch_uri_heuristics (&parsed_uri); - -- *user = str_save (0, parsed_uri.authinfo); -+ *user = str_save (0, parsed_uri.userinfo); - *hostname = str_save (0, parsed_uri.host); - if (parsed_uri.port) - { diff --git a/devel/baz/files/patch-pfs-signatures.c b/devel/baz/files/patch-pfs-signatures.c deleted file mode 100644 index bba90405458b..000000000000 --- a/devel/baz/files/patch-pfs-signatures.c +++ /dev/null @@ -1,19 +0,0 @@ ---- src/baz/libarch/pfs-signatures.c.old Wed Nov 2 21:46:56 2005 -+++ src/baz/libarch/pfs-signatures.c Wed Nov 2 21:47:09 2005 -@@ -29,7 +29,7 @@ - #include "libarch/namespace.h" - #include "libarch/archives.h" - #include "libarch/cached-archive.h" --#include <gpgme.h> -+#include <gpgme/gpgme.h> - #include "libarch/pfs-signatures.h" - - -@@ -1154,6 +1154,7 @@ - gpgme_ctx_t context; - gpgme_data_t signature_data; - gpgme_data_t signed_content; -+ gpgme_check_version (NULL); - invariant (GPG_ERR_NO_ERROR == gpgme_new (&context)); - invariant (GPG_ERR_NO_ERROR == gpgme_data_new_from_mem (&signature_data, *signed_message, str_length (*signed_message), 0)); - invariant (GPG_ERR_NO_ERROR == gpgme_data_new (&signed_content)); diff --git a/devel/baz/files/patch-pfs.c b/devel/baz/files/patch-pfs.c deleted file mode 100644 index 22399f9c314d..000000000000 --- a/devel/baz/files/patch-pfs.c +++ /dev/null @@ -1,89 +0,0 @@ ---- src/baz/libarch/pfs.c.orig Mon Jun 20 23:59:37 2005 -+++ src/baz/libarch/pfs.c Thu Apr 5 09:23:25 2007 -@@ -513,13 +513,73 @@ - char *at_pos = str_chr_index (parsed_uri->host, '@'); - if (!at_pos) - return; -- parsed_uri->authinfo = str_replace (parsed_uri->authinfo, -- str_alloc_cat (0, parsed_uri->authinfo, "@")); -- parsed_uri->authinfo = str_replace (parsed_uri->authinfo, -- str_alloc_cat_n (0, parsed_uri->authinfo, parsed_uri->host, at_pos - parsed_uri->host)); -+ parsed_uri->userinfo = str_replace (parsed_uri->userinfo, -+ str_alloc_cat (0, parsed_uri->userinfo, "@")); -+ parsed_uri->userinfo = str_replace (parsed_uri->userinfo, -+ str_alloc_cat_n (0, parsed_uri->userinfo, parsed_uri->host, at_pos - parsed_uri->host)); - parsed_uri->host = str_replace (parsed_uri->host, str_save (0, at_pos + 1)); - } - -+/* RFC2396 spake: -+ * "Data must be escaped if it does not have a representation -+ * using an unreserved character". -+ */ -+ -+/* Lookup table: character classes from 2396. (This is overkill) */ -+ -+#define SP 0 /* space = <US-ASCII coded character 20 hexadecimal> */ -+#define CO 0 /* control = <US-ASCII coded characters 00-1F and 7F hexadecimal> */ -+#define DE 0 /* delims = "<" | ">" | "#" | "%" | <"> */ -+#define UW 0 /* unwise = "{" | "}" | "|" | "\" | "^" | "[" | "]" | "`" */ -+#define MA 1 /* mark = "-" | "_" | "." | "!" | "~" | "*" | "'" | "(" | ")" */ -+#define AN 2 /* alphanum = alpha | digit */ -+#define RE 2 /* reserved = ";" | "/" | "?" | ":" | "@" | "&" | "=" | "+" | "$" | "," */ -+ -+static const char uri_chars[128] = { -+/* +2 +4 +6 +8 +10 +12 +14 */ -+/* 0 */ CO, CO, CO, CO, CO, CO, CO, CO, CO, CO, CO, CO, CO, CO, CO, CO, -+/* 16 */ CO, CO, CO, CO, CO, CO, CO, CO, CO, CO, CO, CO, CO, CO, CO, CO, -+/* 32 */ SP, MA, DE, DE, RE, DE, RE, MA, MA, MA, MA, RE, RE, MA, MA, RE, -+/* 48 */ AN, AN, AN, AN, AN, AN, AN, AN, AN, AN, RE, RE, DE, RE, DE, RE, -+/* 64 */ RE, AN, AN, AN, AN, AN, AN, AN, AN, AN, AN, AN, AN, AN, AN, AN, -+/* 80 */ AN, AN, AN, AN, AN, AN, AN, AN, AN, AN, AN, UW, UW, UW, UW, MA, -+/* 96 */ UW, AN, AN, AN, AN, AN, AN, AN, AN, AN, AN, AN, AN, AN, AN, AN, -+/* 112 */ AN, AN, AN, AN, AN, AN, AN, AN, AN, AN, AN, UW, UW, UW, MA, CO -+}; -+ -+#define ESCAPE(ch) (((const signed char)(ch) < 0 || \ -+ uri_chars[(unsigned int)(ch)] == 0)) -+ -+char *oldneon_ne_path_escape(const char *abs_path) -+{ -+ const char *pnt; -+ char *ret, *retpos; -+ int count = 0; -+ for (pnt = abs_path; *pnt != '\0'; pnt++) { -+ if (ESCAPE(*pnt)) { -+ count++; -+ } -+ } -+ if (count == 0) { -+ return ne_strdup(abs_path); -+ } -+ /* An escaped character is "%xx", i.e., two MORE -+ * characters than the original string */ -+ retpos = ret = ne_malloc(strlen(abs_path) + 2*count + 1); -+ for (pnt = abs_path; *pnt != '\0'; pnt++) { -+ if (ESCAPE(*pnt)) { -+ /* Escape it - %<hex><hex> */ -+ sprintf(retpos, "%%%02x", (unsigned char) *pnt); -+ retpos += 3; -+ } else { -+ /* It's cool */ -+ *retpos++ = *pnt; -+ } -+ } -+ *retpos = '\0'; -+ return ret; -+} -+ - /** - * \brief escape a location - * -@@ -528,7 +588,7 @@ - t_uchar * - escape_location (t_uchar const *location) - { -- return ne_path_escape(location); -+ return oldneon_ne_path_escape(location); - } - - /** diff --git a/devel/baz/files/patch-unit-sftp.c b/devel/baz/files/patch-unit-sftp.c deleted file mode 100644 index f0a049289de8..000000000000 --- a/devel/baz/files/patch-unit-sftp.c +++ /dev/null @@ -1,20 +0,0 @@ ---- src/baz/libarch/tests/unit-sftp.c.orig Mon Jun 20 23:59:37 2005 -+++ src/baz/libarch/tests/unit-sftp.c Thu Apr 5 09:58:45 2007 -@@ -35,7 +35,7 @@ - char *host; - unsigned int port; - char *path; -- char *authinfo; -+ char *userinfo; - } ne_uri; - */ - invariant_int_cmp (ne_uri_parse ("sftp://user@email.com@host.phwoar/root/path", &parsed_uri), 0); -@@ -44,7 +44,7 @@ - invariant_str_cmp (parsed_uri.host, "email.com@host.phwoar"); - arch_uri_heuristics (&parsed_uri); - invariant_str_cmp (parsed_uri.host, "host.phwoar"); -- invariant_str_cmp (parsed_uri.authinfo, "user@email.com"); -+ invariant_str_cmp (parsed_uri.userinfo, "user@email.com"); - invariant_int_cmp (parsed_uri.port, 0); - ne_uri_free(&parsed_uri); - diff --git a/devel/baz/pkg-descr b/devel/baz/pkg-descr deleted file mode 100644 index 55e2aba86c39..000000000000 --- a/devel/baz/pkg-descr +++ /dev/null @@ -1,7 +0,0 @@ -Bazaar is an implementation of GNU arch in C from canonical. Arch is a version -control system, which allows you to keep old versions of files and directories -(usually source code), keep a log of who, when, and why changes occurred, etc., -like SVN, CVS, or RCS. Arch is distributed, which gives it significant -advantages and some disadvantages compared to SVN and CVS. - -WWW: http://bazaar.canonical.com/ diff --git a/devel/baz/pkg-plist b/devel/baz/pkg-plist deleted file mode 100644 index d9a6d4f384b0..000000000000 --- a/devel/baz/pkg-plist +++ /dev/null @@ -1,34 +0,0 @@ -bin/annotate -bin/baz -share/locale/af/LC_MESSAGES/bazaar.mo -share/locale/ca/LC_MESSAGES/bazaar.mo -share/locale/cs/LC_MESSAGES/bazaar.mo -share/locale/cy/LC_MESSAGES/bazaar.mo -share/locale/da/LC_MESSAGES/bazaar.mo -share/locale/de/LC_MESSAGES/bazaar.mo -share/locale/en_AU/LC_MESSAGES/bazaar.mo -share/locale/en_CA/LC_MESSAGES/bazaar.mo -share/locale/es/LC_MESSAGES/bazaar.mo -share/locale/es_AR/LC_MESSAGES/bazaar.mo -share/locale/es_ES/LC_MESSAGES/bazaar.mo -share/locale/fi/LC_MESSAGES/bazaar.mo -share/locale/fr/LC_MESSAGES/bazaar.mo -share/locale/fr_BE/LC_MESSAGES/bazaar.mo -share/locale/fr_FR/LC_MESSAGES/bazaar.mo -share/locale/hr/LC_MESSAGES/bazaar.mo -share/locale/it_IT/LC_MESSAGES/bazaar.mo -share/locale/ja/LC_MESSAGES/bazaar.mo -share/locale/lt/LC_MESSAGES/bazaar.mo -share/locale/nl/LC_MESSAGES/bazaar.mo -share/locale/nl_BE/LC_MESSAGES/bazaar.mo -share/locale/pt_BR/LC_MESSAGES/bazaar.mo -share/locale/pt_PT/LC_MESSAGES/bazaar.mo -share/locale/zh_CN/LC_MESSAGES/bazaar.mo -@dirrmtry share/locale/nl_BE/LC_MESSAGES -@dirrmtry share/locale/nl_BE -@dirrmtry share/locale/it_IT/LC_MESSAGES -@dirrmtry share/locale/it_IT -@dirrmtry share/locale/fr_BE/LC_MESSAGES -@dirrmtry share/locale/fr_BE -@dirrmtry share/locale/es_AR/LC_MESSAGES -@dirrmtry share/locale/es_AR |