*/*: sync with upstream
Taken from: FreeBSD
This commit is contained in:
parent
351685ee67
commit
61227005ac
86 changed files with 2285 additions and 2550 deletions
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= lha
|
||||
PORTVERSION= 0.8.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= archivers ruby
|
||||
MASTER_SITES= http://arton.no-ip.info/data/lhalib/
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
|
|
@ -13,7 +13,7 @@ DIST_SUBDIR= ruby
|
|||
MAINTAINER= ruby@FreeBSD.org
|
||||
COMMENT= Ruby extension to unpack LHA-compressed files
|
||||
|
||||
USES= zip
|
||||
USES= zip shebangfix
|
||||
USE_RUBY= yes
|
||||
USE_RUBY_EXTCONF= yes
|
||||
RUBY_EXTCONF= ext/extconf.rb
|
||||
|
|
@ -21,7 +21,7 @@ RUBY_EXTCONF= ext/extconf.rb
|
|||
CONFIGURE_ARGS= --rubyprog=${RUBY}
|
||||
|
||||
EXAMPLES= test/test.rb
|
||||
RUBY_SHEBANG_FILES= ${EXAMPLES}
|
||||
SHEBANG_FILES= ${EXAMPLES}
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
|
|
|
|||
31
audio/py-soundcloud/Makefile
Normal file
31
audio/py-soundcloud/Makefile
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
# Created by: Bernard Spil <brnrd@FreeBSD.org>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= soundcloud
|
||||
PORTVERSION= 0.5.0
|
||||
CATEGORIES= audio devel www python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= Bernard Spil <brnrd@FreeBSD.org>
|
||||
COMMENT= A friendly wrapper library for the Soundcloud API
|
||||
|
||||
LICENSE= BSD3CLAUSE
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}nose>=1.1.2:devel/py-nose
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
||||
PORTDOCS= README.rst
|
||||
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
|
||||
|
||||
post-install:
|
||||
${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_MAN} ${WRKSRC}/README.rst ${STAGEDIR}${DOCSDIR}
|
||||
|
||||
do-test:
|
||||
cd ${WRKSRC} ; nosetests --with-doctest
|
||||
|
||||
.include <bsd.port.mk>
|
||||
2
audio/py-soundcloud/distinfo
Normal file
2
audio/py-soundcloud/distinfo
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
SHA256 (soundcloud-0.5.0.tar.gz) = aad2003592cec945f835f158f7b41ba8bf805c5738a2fcc5629668ea1df653d5
|
||||
SIZE (soundcloud-0.5.0.tar.gz) = 10861
|
||||
3
audio/py-soundcloud/pkg-descr
Normal file
3
audio/py-soundcloud/pkg-descr
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
py-soundcloud is a friendly wrapper around the `Soundcloud API`
|
||||
|
||||
WWW: https://github.com/soundcloud/soundcloud-python
|
||||
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= smf
|
||||
PORTVERSION= 0.15.15
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= audio ruby
|
||||
MASTER_SITES= http://www.funaba.org/archive/
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
|
|
@ -14,9 +15,10 @@ COMMENT= Ruby module to handle Standard MIDI Files
|
|||
LICENSE= BSD2CLAUSE
|
||||
|
||||
USE_RUBY= yes
|
||||
USES= shebangfix
|
||||
USE_RUBY_SETUP= yes
|
||||
RUBY_SETUP= install.rb
|
||||
RUBY_SHEBANG_FILES= sample/*.rb
|
||||
SHEBANG_FILES= sample/*.rb
|
||||
|
||||
DOCS_EN= MANUAL.en MANUAL.en.html MANUAL.en.rd README.en
|
||||
DOCS_JA= MANUAL MANUAL.html MANUAL.rd README
|
||||
|
|
|
|||
|
|
@ -759,6 +759,7 @@
|
|||
SUBDIR += py-psycogreen
|
||||
SUBDIR += py-psycopg
|
||||
SUBDIR += py-psycopg2
|
||||
SUBDIR += py-psycopg2cffi
|
||||
SUBDIR += py-pyPgSQL
|
||||
SUBDIR += py-pyhs
|
||||
SUBDIR += py-pylibmc
|
||||
|
|
|
|||
23
databases/py-psycopg2cffi/Makefile
Normal file
23
databases/py-psycopg2cffi/Makefile
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# Created by: Joseph Mingrone <jrm@ftfl.ca>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= psycopg2cffi
|
||||
PORTVERSION= 2.7.4
|
||||
CATEGORIES= databases python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= jrm@ftfl.ca
|
||||
COMMENT= Implementation of the psycopg2 module using cffi
|
||||
|
||||
LICENSE= LGPL3+
|
||||
|
||||
BUILD_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/_cffi_backend.so:devel/py-cffi
|
||||
RUN_DEPENDS= ${PYTHONPREFIX_SITELIBDIR}/_cffi_backend.so:devel/py-cffi
|
||||
|
||||
NO_ARCH= yes
|
||||
|
||||
USE_PYTHON= autoplist distutils
|
||||
USES= pgsql python
|
||||
|
||||
.include <bsd.port.mk>
|
||||
2
databases/py-psycopg2cffi/distinfo
Normal file
2
databases/py-psycopg2cffi/distinfo
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
SHA256 (psycopg2cffi-2.7.4.tar.gz) = ade6927a58c8deeaddcde0dea57c2c0e822b3a3ec703cebb63b4c0fcf98d2ed1
|
||||
SIZE (psycopg2cffi-2.7.4.tar.gz) = 62017
|
||||
5
databases/py-psycopg2cffi/pkg-descr
Normal file
5
databases/py-psycopg2cffi/pkg-descr
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
psycopg2cffi is an implementation of the psycopg2 module using cffi, the C
|
||||
Foreign Function Interface for Python. psycopg2 is a PostgreSQL database
|
||||
adapter for the Python programming language.
|
||||
|
||||
WWW: https://github.com/chtd/psycopg2cffi
|
||||
|
|
@ -4407,6 +4407,7 @@
|
|||
SUBDIR += py-sh
|
||||
SUBDIR += py-shapely
|
||||
SUBDIR += py-should_dsl
|
||||
SUBDIR += py-simpleeval
|
||||
SUBDIR += py-simplegeneric
|
||||
SUBDIR += py-simplejson
|
||||
SUBDIR += py-simpleparse
|
||||
|
|
@ -4771,6 +4772,7 @@
|
|||
SUBDIR += rubygem-apipie-bindings
|
||||
SUBDIR += rubygem-apipie-params
|
||||
SUBDIR += rubygem-app_config
|
||||
SUBDIR += rubygem-arr-pm
|
||||
SUBDIR += rubygem-arrayfields
|
||||
SUBDIR += rubygem-ascii85
|
||||
SUBDIR += rubygem-asetus
|
||||
|
|
@ -4808,6 +4810,7 @@
|
|||
SUBDIR += rubygem-builder
|
||||
SUBDIR += rubygem-builder32
|
||||
SUBDIR += rubygem-byebug
|
||||
SUBDIR += rubygem-cabin
|
||||
SUBDIR += rubygem-caesars
|
||||
SUBDIR += rubygem-cairo-gobject
|
||||
SUBDIR += rubygem-capybara
|
||||
|
|
|
|||
|
|
@ -2,8 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= libqb
|
||||
PORTVERSION= 0.17.2
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 1.0
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= https://github.com/ClusterLabs/libqb/releases/download/v${PORTVERSION}/
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (libqb-0.17.2.tar.xz) = 9a419c649ed51f275dc780da8a15babb8a5d33633567bd9e0cb6193b6e21f4fe
|
||||
SIZE (libqb-0.17.2.tar.xz) = 373540
|
||||
SHA256 (libqb-1.0.tar.xz) = 7ee62e3d0542a39ede943927e1f4c3c9e3b922a175c3b246144ea48166afa01a
|
||||
SIZE (libqb-1.0.tar.xz) = 424436
|
||||
|
|
|
|||
|
|
@ -1,10 +0,0 @@
|
|||
--- lib/ipc_int.h.orig 2015-08-18 19:55:43 UTC
|
||||
+++ lib/ipc_int.h
|
||||
@@ -91,6 +91,7 @@ struct qb_ipcc_funcs {
|
||||
struct qb_ipcc_connection {
|
||||
char name[NAME_MAX];
|
||||
int32_t needs_sock_for_poll;
|
||||
+ gid_t egid;
|
||||
struct qb_ipc_one_way setup;
|
||||
struct qb_ipc_one_way request;
|
||||
struct qb_ipc_one_way response;
|
||||
|
|
@ -1,341 +0,0 @@
|
|||
--- lib/ipc_setup.c.orig 2015-08-18 19:55:43 UTC
|
||||
+++ lib/ipc_setup.c
|
||||
@@ -51,7 +51,10 @@ struct ipc_auth_ugp {
|
||||
struct ipc_auth_data {
|
||||
int32_t sock;
|
||||
struct qb_ipcs_service *s;
|
||||
- struct qb_ipc_connection_request msg;
|
||||
+ union {
|
||||
+ struct qb_ipc_connection_request req;
|
||||
+ struct qb_ipc_connection_response res;
|
||||
+ } msg;
|
||||
struct msghdr msg_recv;
|
||||
struct iovec iov_recv;
|
||||
struct ipc_auth_ugp ugp;
|
||||
@@ -311,12 +314,138 @@ qb_ipcc_us_sock_close(int32_t sock)
|
||||
close(sock);
|
||||
}
|
||||
|
||||
+static int32_t
|
||||
+qb_ipc_auth_creds(struct ipc_auth_data *data)
|
||||
+{
|
||||
+ int32_t res = 0;
|
||||
+
|
||||
+ /*
|
||||
+ * currently support getpeerucred, getpeereid, and SO_PASSCRED credential
|
||||
+ * retrieval mechanisms for various Platforms
|
||||
+ */
|
||||
+#ifdef HAVE_GETPEERUCRED
|
||||
+ /*
|
||||
+ * Solaris and some BSD systems
|
||||
+ */
|
||||
+ {
|
||||
+ ucred_t *uc = NULL;
|
||||
+
|
||||
+ if (getpeerucred(data->sock, &uc) == 0) {
|
||||
+ res = 0;
|
||||
+ data->ugp.uid = ucred_geteuid(uc);
|
||||
+ data->ugp.gid = ucred_getegid(uc);
|
||||
+ data->ugp.pid = ucred_getpid(uc);
|
||||
+ ucred_free(uc);
|
||||
+ } else {
|
||||
+ res = -errno;
|
||||
+ }
|
||||
+ }
|
||||
+#elif defined(HAVE_GETPEEREID)
|
||||
+ /*
|
||||
+ * Usually MacOSX systems
|
||||
+ */
|
||||
+ {
|
||||
+ /*
|
||||
+ * TODO get the peer's pid.
|
||||
+ * c->pid = ?;
|
||||
+ */
|
||||
+ if (getpeereid(data->sock, &data->ugp.uid, &data->ugp.gid) == 0) {
|
||||
+ res = 0;
|
||||
+ } else {
|
||||
+ res = -errno;
|
||||
+ }
|
||||
+ }
|
||||
+
|
||||
+#elif defined(SO_PASSCRED)
|
||||
+ /*
|
||||
+ * Usually Linux systems
|
||||
+ */
|
||||
+ {
|
||||
+ struct ucred cred;
|
||||
+ struct cmsghdr *cmsg;
|
||||
+
|
||||
+ res = -EINVAL;
|
||||
+ for (cmsg = CMSG_FIRSTHDR(&data->msg_recv); cmsg != NULL;
|
||||
+ cmsg = CMSG_NXTHDR(&data->msg_recv, cmsg)) {
|
||||
+ if (cmsg->cmsg_type != SCM_CREDENTIALS)
|
||||
+ continue;
|
||||
+
|
||||
+ memcpy(&cred, CMSG_DATA(cmsg), sizeof(struct ucred));
|
||||
+ res = 0;
|
||||
+ data->ugp.pid = cred.pid;
|
||||
+ data->ugp.uid = cred.uid;
|
||||
+ data->ugp.gid = cred.gid;
|
||||
+ break;
|
||||
+ }
|
||||
+ }
|
||||
+#else /* no credentials */
|
||||
+ data->ugp.pid = 0;
|
||||
+ data->ugp.uid = 0;
|
||||
+ data->ugp.gid = 0;
|
||||
+ res = -ENOTSUP;
|
||||
+#endif /* no credentials */
|
||||
+
|
||||
+ return res;
|
||||
+}
|
||||
+
|
||||
+static void
|
||||
+destroy_ipc_auth_data(struct ipc_auth_data *data)
|
||||
+{
|
||||
+ if (data->s) {
|
||||
+ qb_ipcs_unref(data->s);
|
||||
+ }
|
||||
+
|
||||
+#ifdef SO_PASSCRED
|
||||
+ free(data->cmsg_cred);
|
||||
+#endif
|
||||
+ free(data);
|
||||
+}
|
||||
+
|
||||
+static struct ipc_auth_data *
|
||||
+init_ipc_auth_data(int sock, size_t len)
|
||||
+{
|
||||
+ struct ipc_auth_data *data = calloc(1, sizeof(struct ipc_auth_data));
|
||||
+
|
||||
+ if (data == NULL) {
|
||||
+ return NULL;
|
||||
+ }
|
||||
+
|
||||
+ data->msg_recv.msg_iov = &data->iov_recv;
|
||||
+ data->msg_recv.msg_iovlen = 1;
|
||||
+ data->msg_recv.msg_name = 0;
|
||||
+ data->msg_recv.msg_namelen = 0;
|
||||
+
|
||||
+#ifdef SO_PASSCRED
|
||||
+ data->cmsg_cred = calloc(1, CMSG_SPACE(sizeof(struct ucred)));
|
||||
+ if (data->cmsg_cred == NULL) {
|
||||
+ destroy_ipc_auth_data(data);
|
||||
+ return NULL;
|
||||
+ }
|
||||
+ data->msg_recv.msg_control = (void *)data->cmsg_cred;
|
||||
+ data->msg_recv.msg_controllen = CMSG_SPACE(sizeof(struct ucred));
|
||||
+#endif
|
||||
+#ifdef QB_SOLARIS
|
||||
+ data->msg_recv.msg_accrights = 0;
|
||||
+ data->msg_recv.msg_accrightslen = 0;
|
||||
+#else
|
||||
+ data->msg_recv.msg_flags = 0;
|
||||
+#endif /* QB_SOLARIS */
|
||||
+
|
||||
+ data->len = len;
|
||||
+ data->iov_recv.iov_base = &data->msg;
|
||||
+ data->iov_recv.iov_len = data->len;
|
||||
+ data->sock = sock;
|
||||
+
|
||||
+ return data;
|
||||
+}
|
||||
+
|
||||
int32_t
|
||||
qb_ipcc_us_setup_connect(struct qb_ipcc_connection *c,
|
||||
struct qb_ipc_connection_response *r)
|
||||
{
|
||||
int32_t res;
|
||||
struct qb_ipc_connection_request request;
|
||||
+ struct ipc_auth_data *data;
|
||||
#ifdef QB_LINUX
|
||||
int off = 0;
|
||||
int on = 1;
|
||||
@@ -340,22 +469,33 @@ qb_ipcc_us_setup_connect(struct qb_ipcc_
|
||||
qb_ipcc_us_sock_close(c->setup.u.us.sock);
|
||||
return res;
|
||||
}
|
||||
+
|
||||
+ data = init_ipc_auth_data(c->setup.u.us.sock, sizeof(struct qb_ipc_connection_response));
|
||||
+ if (data == NULL) {
|
||||
+ qb_ipcc_us_sock_close(c->setup.u.us.sock);
|
||||
+ return -ENOMEM;
|
||||
+ }
|
||||
+
|
||||
+ qb_ipc_us_ready(&c->setup, NULL, -1, POLLIN);
|
||||
+ res = qb_ipc_us_recv_msghdr(data);
|
||||
+
|
||||
#ifdef QB_LINUX
|
||||
setsockopt(c->setup.u.us.sock, SOL_SOCKET, SO_PASSCRED, &off,
|
||||
sizeof(off));
|
||||
#endif
|
||||
|
||||
- res =
|
||||
- qb_ipc_us_recv(&c->setup, r,
|
||||
- sizeof(struct qb_ipc_connection_response), -1);
|
||||
- if (res < 0) {
|
||||
+ if (res != data->len) {
|
||||
+ destroy_ipc_auth_data(data);
|
||||
return res;
|
||||
}
|
||||
|
||||
- if (r->hdr.error != 0) {
|
||||
- return r->hdr.error;
|
||||
- }
|
||||
- return 0;
|
||||
+ memcpy(r, &data->msg.res, sizeof(struct qb_ipc_connection_response));
|
||||
+
|
||||
+ qb_ipc_auth_creds(data);
|
||||
+ c->egid = data->ugp.gid;
|
||||
+
|
||||
+ destroy_ipc_auth_data(data);
|
||||
+ return r->hdr.error;
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -561,19 +701,6 @@ send_response:
|
||||
return res;
|
||||
}
|
||||
|
||||
-static void
|
||||
-destroy_ipc_auth_data(struct ipc_auth_data *data)
|
||||
-{
|
||||
- if (data->s) {
|
||||
- qb_ipcs_unref(data->s);
|
||||
- }
|
||||
-
|
||||
-#ifdef SO_PASSCRED
|
||||
- free(data->cmsg_cred);
|
||||
-#endif
|
||||
- free(data);
|
||||
-}
|
||||
-
|
||||
static int32_t
|
||||
process_auth(int32_t fd, int32_t revents, void *d)
|
||||
{
|
||||
@@ -615,71 +742,7 @@ process_auth(int32_t fd, int32_t revents
|
||||
goto cleanup_and_return;
|
||||
}
|
||||
|
||||
- /*
|
||||
- * currently support getpeerucred, getpeereid, and SO_PASSCRED credential
|
||||
- * retrieval mechanisms for various Platforms
|
||||
- */
|
||||
-#ifdef HAVE_GETPEERUCRED
|
||||
- /*
|
||||
- * Solaris and some BSD systems
|
||||
- */
|
||||
- {
|
||||
- ucred_t *uc = NULL;
|
||||
-
|
||||
- if (getpeerucred(data->sock, &uc) == 0) {
|
||||
- res = 0;
|
||||
- data->ugp.uid = ucred_geteuid(uc);
|
||||
- data->ugp.gid = ucred_getegid(uc);
|
||||
- data->ugp.pid = ucred_getpid(uc);
|
||||
- ucred_free(uc);
|
||||
- } else {
|
||||
- res = -errno;
|
||||
- }
|
||||
- }
|
||||
-#elif HAVE_GETPEEREID
|
||||
- /*
|
||||
- * Usually MacOSX systems
|
||||
- */
|
||||
- {
|
||||
- /*
|
||||
- * TODO get the peer's pid.
|
||||
- * c->pid = ?;
|
||||
- */
|
||||
- if (getpeereid(data->sock, &data->ugp.uid, &data->ugp.gid) == 0) {
|
||||
- res = 0;
|
||||
- } else {
|
||||
- res = -errno;
|
||||
- }
|
||||
- }
|
||||
-
|
||||
-#elif SO_PASSCRED
|
||||
- /*
|
||||
- * Usually Linux systems
|
||||
- */
|
||||
- {
|
||||
- struct ucred cred;
|
||||
- struct cmsghdr *cmsg;
|
||||
-
|
||||
- res = -EINVAL;
|
||||
- for (cmsg = CMSG_FIRSTHDR(&data->msg_recv); cmsg != NULL;
|
||||
- cmsg = CMSG_NXTHDR(&data->msg_recv, cmsg)) {
|
||||
- if (cmsg->cmsg_type != SCM_CREDENTIALS)
|
||||
- continue;
|
||||
-
|
||||
- memcpy(&cred, CMSG_DATA(cmsg), sizeof(struct ucred));
|
||||
- res = 0;
|
||||
- data->ugp.pid = cred.pid;
|
||||
- data->ugp.uid = cred.uid;
|
||||
- data->ugp.gid = cred.gid;
|
||||
- break;
|
||||
- }
|
||||
- }
|
||||
-#else /* no credentials */
|
||||
- data->ugp.pid = 0;
|
||||
- data->ugp.uid = 0;
|
||||
- data->ugp.gid = 0;
|
||||
- res = -ENOTSUP;
|
||||
-#endif /* no credentials */
|
||||
+ res = qb_ipc_auth_creds(data);
|
||||
|
||||
cleanup_and_return:
|
||||
#ifdef SO_PASSCRED
|
||||
@@ -690,7 +753,7 @@ cleanup_and_return:
|
||||
|
||||
if (res < 0) {
|
||||
close(data->sock);
|
||||
- } else if (data->msg.hdr.id == QB_IPC_MSG_AUTHENTICATE) {
|
||||
+ } else if (data->msg.req.hdr.id == QB_IPC_MSG_AUTHENTICATE) {
|
||||
(void)handle_new_connection(data->s, res, data->sock, &data->msg, data->len, &data->ugp);
|
||||
} else {
|
||||
close(data->sock);
|
||||
@@ -709,7 +772,7 @@ qb_ipcs_uc_recv_and_auth(int32_t sock, s
|
||||
int on = 1;
|
||||
#endif
|
||||
|
||||
- data = calloc(1, sizeof(struct ipc_auth_data));
|
||||
+ data = init_ipc_auth_data(sock, sizeof(struct qb_ipc_connection_request));
|
||||
if (data == NULL) {
|
||||
close(sock);
|
||||
/* -ENOMEM */
|
||||
@@ -719,34 +782,6 @@ qb_ipcs_uc_recv_and_auth(int32_t sock, s
|
||||
data->s = s;
|
||||
qb_ipcs_ref(data->s);
|
||||
|
||||
- data->msg_recv.msg_iov = &data->iov_recv;
|
||||
- data->msg_recv.msg_iovlen = 1;
|
||||
- data->msg_recv.msg_name = 0;
|
||||
- data->msg_recv.msg_namelen = 0;
|
||||
-
|
||||
-#ifdef SO_PASSCRED
|
||||
- data->cmsg_cred = calloc(1,CMSG_SPACE(sizeof(struct ucred)));
|
||||
- if (data->cmsg_cred == NULL) {
|
||||
- close(sock);
|
||||
- destroy_ipc_auth_data(data);
|
||||
- /* -ENOMEM */
|
||||
- return;
|
||||
- }
|
||||
- data->msg_recv.msg_control = (void *)data->cmsg_cred;
|
||||
- data->msg_recv.msg_controllen = CMSG_SPACE(sizeof(struct ucred));
|
||||
-#endif
|
||||
-#ifdef QB_SOLARIS
|
||||
- data->msg_recv.msg_accrights = 0;
|
||||
- data->msg_recv.msg_accrightslen = 0;
|
||||
-#else
|
||||
- data->msg_recv.msg_flags = 0;
|
||||
-#endif /* QB_SOLARIS */
|
||||
-
|
||||
- data->len = sizeof(struct qb_ipc_connection_request);
|
||||
- data->iov_recv.iov_base = &data->msg;
|
||||
- data->iov_recv.iov_len = data->len;
|
||||
- data->sock = sock;
|
||||
-
|
||||
#ifdef SO_PASSCRED
|
||||
setsockopt(sock, SOL_SOCKET, SO_PASSCRED, &on, sizeof(on));
|
||||
#endif
|
||||
|
|
@ -1,130 +0,0 @@
|
|||
--- lib/ipc_socket.c.orig 2015-08-18 19:55:43 UTC
|
||||
+++ lib/ipc_socket.c
|
||||
@@ -60,7 +60,8 @@ set_sock_addr(struct sockaddr_un *addres
|
||||
|
||||
static int32_t
|
||||
qb_ipc_dgram_sock_setup(const char *base_name,
|
||||
- const char *service_name, int32_t * sock_pt)
|
||||
+ const char *service_name, int32_t * sock_pt,
|
||||
+ gid_t gid)
|
||||
{
|
||||
int32_t request_fd;
|
||||
struct sockaddr_un local_address;
|
||||
@@ -84,6 +85,10 @@ qb_ipc_dgram_sock_setup(const char *base
|
||||
#endif
|
||||
res = bind(request_fd, (struct sockaddr *)&local_address,
|
||||
sizeof(local_address));
|
||||
+#if !(defined(QB_LINUX) || defined(QB_CYGWIN))
|
||||
+ chmod(local_address.sun_path, 0660);
|
||||
+ chown(local_address.sun_path, -1, gid);
|
||||
+#endif
|
||||
if (res < 0) {
|
||||
goto error_connect;
|
||||
}
|
||||
@@ -107,7 +112,7 @@ set_sock_size(int sockfd, size_t max_msg
|
||||
|
||||
rc = getsockopt(sockfd, SOL_SOCKET, SO_SNDBUF, &optval, &optlen);
|
||||
|
||||
- qb_util_log(LOG_TRACE, "%d: getsockopt(%d, needed:%d) actual:%d",
|
||||
+ qb_util_log(LOG_TRACE, "%d: getsockopt(%d, SO_SNDBUF, needed:%d) actual:%d",
|
||||
rc, sockfd, max_msg_size, optval);
|
||||
|
||||
/* The optvat <= max_msg_size check is weird...
|
||||
@@ -121,6 +126,29 @@ set_sock_size(int sockfd, size_t max_msg
|
||||
optlen = sizeof(optval);
|
||||
rc = setsockopt(sockfd, SOL_SOCKET, SO_SNDBUF, &optval, optlen);
|
||||
}
|
||||
+
|
||||
+ if (rc != 0) {
|
||||
+ return -errno;
|
||||
+ }
|
||||
+
|
||||
+ rc = getsockopt(sockfd, SOL_SOCKET, SO_RCVBUF, &optval, &optlen);
|
||||
+
|
||||
+ qb_util_log(LOG_TRACE, "%d: getsockopt(%d, SO_RCVBUF, needed:%d) actual:%d",
|
||||
+ rc, sockfd, max_msg_size, optval);
|
||||
+
|
||||
+ /* Set the sockets receive buffer size to match the send buffer. Without
|
||||
+ * this calls to sendto() will result in an ENOBUFS error if the message
|
||||
+ * is larger than net.local.dgram.recvspace sysctl. */
|
||||
+ if (rc == 0 && optval <= max_msg_size) {
|
||||
+ optval = max_msg_size;
|
||||
+ optlen = sizeof(optval);
|
||||
+ rc = setsockopt(sockfd, SOL_SOCKET, SO_RCVBUF, &optval, optlen);
|
||||
+ }
|
||||
+
|
||||
+ if (rc != 0) {
|
||||
+ return -errno;
|
||||
+ }
|
||||
+
|
||||
return rc;
|
||||
}
|
||||
|
||||
@@ -218,12 +246,12 @@ static int32_t
|
||||
qb_ipc_dgram_sock_connect(const char *base_name,
|
||||
const char *local_name,
|
||||
const char *remote_name,
|
||||
- int32_t max_msg_size, int32_t * sock_pt)
|
||||
+ int32_t max_msg_size, int32_t * sock_pt, gid_t gid)
|
||||
{
|
||||
char sock_path[PATH_MAX];
|
||||
struct sockaddr_un remote_address;
|
||||
int32_t res = qb_ipc_dgram_sock_setup(base_name, local_name,
|
||||
- sock_pt);
|
||||
+ sock_pt, gid);
|
||||
if (res < 0) {
|
||||
return res;
|
||||
}
|
||||
@@ -544,14 +572,14 @@ qb_ipcc_us_connect(struct qb_ipcc_connec
|
||||
fd_hdr = -1;
|
||||
|
||||
res = qb_ipc_dgram_sock_connect(r->response, "response", "request",
|
||||
- r->max_msg_size, &c->request.u.us.sock);
|
||||
+ r->max_msg_size, &c->request.u.us.sock, c->egid);
|
||||
if (res != 0) {
|
||||
goto cleanup_hdr;
|
||||
}
|
||||
c->response.u.us.sock = c->request.u.us.sock;
|
||||
|
||||
res = qb_ipc_dgram_sock_connect(r->response, "event", "event-tx",
|
||||
- r->max_msg_size, &c->event.u.us.sock);
|
||||
+ r->max_msg_size, &c->event.u.us.sock, c->egid);
|
||||
if (res != 0) {
|
||||
goto cleanup_hdr;
|
||||
}
|
||||
@@ -773,10 +801,16 @@ qb_ipcs_us_connect(struct qb_ipcs_servic
|
||||
|
||||
/* request channel */
|
||||
res = qb_ipc_dgram_sock_setup(r->response, "request",
|
||||
- &c->request.u.us.sock);
|
||||
+ &c->request.u.us.sock, c->egid);
|
||||
if (res < 0) {
|
||||
goto cleanup_hdr;
|
||||
}
|
||||
+
|
||||
+ res = set_sock_size(c->request.u.us.sock, c->request.max_msg_size);
|
||||
+ if (res != 0) {
|
||||
+ goto cleanup_hdr;
|
||||
+ }
|
||||
+
|
||||
c->setup.u.us.sock_name = NULL;
|
||||
c->request.u.us.sock_name = NULL;
|
||||
|
||||
@@ -787,10 +821,16 @@ qb_ipcs_us_connect(struct qb_ipcs_servic
|
||||
|
||||
/* event channel */
|
||||
res = qb_ipc_dgram_sock_setup(r->response, "event-tx",
|
||||
- &c->event.u.us.sock);
|
||||
+ &c->event.u.us.sock, c->egid);
|
||||
if (res < 0) {
|
||||
goto cleanup_hdr;
|
||||
}
|
||||
+
|
||||
+ res = set_sock_size(c->event.u.us.sock, c->event.max_msg_size);
|
||||
+ if (res != 0) {
|
||||
+ goto cleanup_hdr;
|
||||
+ }
|
||||
+
|
||||
snprintf(path, PATH_MAX, "%s-%s", r->response, "event");
|
||||
c->event.u.us.sock_name = strdup(path);
|
||||
|
||||
|
|
@ -1,97 +0,0 @@
|
|||
--- lib/log.c.orig 2015-08-18 19:55:43 UTC
|
||||
+++ lib/log.c
|
||||
@@ -47,9 +47,15 @@ static int32_t logger_inited = QB_FALSE;
|
||||
static pthread_rwlock_t _listlock;
|
||||
static qb_log_filter_fn _custom_filter_fn = NULL;
|
||||
|
||||
+static QB_LIST_DECLARE(dlnames);
|
||||
static QB_LIST_DECLARE(tags_head);
|
||||
static QB_LIST_DECLARE(callsite_sections);
|
||||
|
||||
+struct dlname {
|
||||
+ char *dln_name;
|
||||
+ struct qb_list_head list;
|
||||
+};
|
||||
+
|
||||
struct callsite_section {
|
||||
struct qb_log_callsite *start;
|
||||
struct qb_log_callsite *stop;
|
||||
@@ -739,23 +745,45 @@ qb_log_filter_ctl(int32_t t, enum qb_log
|
||||
}
|
||||
|
||||
#ifdef QB_HAVE_ATTRIBUTE_SECTION
|
||||
+/* Some platforms (eg. FreeBSD 10+) don't support calling dlopen() from
|
||||
+ * within a dl_iterate_phdr() callback; so save all of the dlpi_names to
|
||||
+ * a list and iterate over them afterwards. */
|
||||
static int32_t
|
||||
_log_so_walk_callback(struct dl_phdr_info *info, size_t size, void *data)
|
||||
{
|
||||
+ struct dlname *dlname;
|
||||
+
|
||||
if (strlen(info->dlpi_name) > 0) {
|
||||
- void *handle;
|
||||
- void *start;
|
||||
- void *stop;
|
||||
- const char *error;
|
||||
+ dlname = calloc(1, sizeof(struct dlname));
|
||||
+ if (!dlname)
|
||||
+ return 0;
|
||||
+ dlname->dln_name = strdup(info->dlpi_name);
|
||||
+ qb_list_add_tail(&dlname->list, &dlnames);
|
||||
+ }
|
||||
|
||||
- handle = dlopen(info->dlpi_name, RTLD_LAZY);
|
||||
+ return 0;
|
||||
+}
|
||||
+
|
||||
+static void
|
||||
+_log_so_walk_dlnames(void)
|
||||
+{
|
||||
+ struct dlname *dlname;
|
||||
+ struct qb_list_head *iter;
|
||||
+ struct qb_list_head *next;
|
||||
+
|
||||
+ void *handle;
|
||||
+ void *start;
|
||||
+ void *stop;
|
||||
+ const char *error;
|
||||
+
|
||||
+ qb_list_for_each_safe(iter, next, &dlnames) {
|
||||
+ dlname = qb_list_entry(iter, struct dlname, list);
|
||||
+
|
||||
+ handle = dlopen(dlname->dln_name, RTLD_LAZY);
|
||||
error = dlerror();
|
||||
if (!handle || error) {
|
||||
qb_log(LOG_ERR, "%s", error);
|
||||
- if (handle) {
|
||||
- dlclose(handle);
|
||||
- }
|
||||
- return 0;
|
||||
+ goto done;
|
||||
}
|
||||
|
||||
start = dlsym(handle, "__start___verbose");
|
||||
@@ -773,9 +801,13 @@ _log_so_walk_callback(struct dl_phdr_inf
|
||||
qb_log_callsites_register(start, stop);
|
||||
}
|
||||
done:
|
||||
- dlclose(handle);
|
||||
+ if (handle)
|
||||
+ dlclose(handle);
|
||||
+ qb_list_del(iter);
|
||||
+ if (dlname->dln_name)
|
||||
+ free(dlname->dln_name);
|
||||
+ free(dlname);
|
||||
}
|
||||
- return 0;
|
||||
}
|
||||
#endif /* QB_HAVE_ATTRIBUTE_SECTION */
|
||||
|
||||
@@ -823,6 +855,7 @@ qb_log_init(const char *name, int32_t fa
|
||||
#ifdef QB_HAVE_ATTRIBUTE_SECTION
|
||||
qb_log_callsites_register(__start___verbose, __stop___verbose);
|
||||
dl_iterate_phdr(_log_so_walk_callback, NULL);
|
||||
+ _log_so_walk_dlnames();
|
||||
#endif /* QB_HAVE_ATTRIBUTE_SECTION */
|
||||
|
||||
conf[QB_LOG_STDERR].state = QB_LOG_STATE_DISABLED;
|
||||
|
|
@ -1,20 +0,0 @@
|
|||
--- lib/unix.c.orig 2015-08-18 19:55:43 UTC
|
||||
+++ lib/unix.c
|
||||
@@ -83,7 +83,7 @@ qb_sys_mmap_file_open(char *path, const
|
||||
#if defined(QB_LINUX) || defined(QB_CYGWIN)
|
||||
snprintf(path, PATH_MAX, "/dev/shm/%s", file);
|
||||
#else
|
||||
- snprintf(path, PATH_MAX, LOCALSTATEDIR "/run/%s", file);
|
||||
+ snprintf(path, PATH_MAX, "%s/%s", SOCKETDIR, file);
|
||||
is_absolute = path;
|
||||
#endif
|
||||
}
|
||||
@@ -91,7 +91,7 @@ qb_sys_mmap_file_open(char *path, const
|
||||
if (fd < 0 && !is_absolute) {
|
||||
qb_util_perror(LOG_ERR, "couldn't open file %s", path);
|
||||
|
||||
- snprintf(path, PATH_MAX, LOCALSTATEDIR "/run/%s", file);
|
||||
+ snprintf(path, PATH_MAX, "%s/%s", SOCKETDIR, file);
|
||||
fd = open_mmap_file(path, file_flags);
|
||||
if (fd < 0) {
|
||||
res = -errno;
|
||||
|
|
@ -15,10 +15,11 @@ include/qb/qbutil.h
|
|||
lib/libqb.a
|
||||
lib/libqb.so
|
||||
lib/libqb.so.0
|
||||
lib/libqb.so.0.17.2
|
||||
lib/libqb.so.0.18.0
|
||||
libdata/pkgconfig/libqb.pc
|
||||
%%DOXYGEN%%man/man3/qbarray.h.3.gz
|
||||
%%DOXYGEN%%man/man3/qbatomic.h.3.gz
|
||||
%%DOXYGEN%%man/man3/qbdefs.h.3.gz
|
||||
%%DOXYGEN%%man/man3/qbhdb.h.3.gz
|
||||
%%DOXYGEN%%man/man3/qbipc_common.h.3.gz
|
||||
%%DOXYGEN%%man/man3/qbipcc.h.3.gz
|
||||
|
|
@ -27,6 +28,7 @@ libdata/pkgconfig/libqb.pc
|
|||
%%DOXYGEN%%man/man3/qblog.h.3.gz
|
||||
%%DOXYGEN%%man/man3/qbloop.h.3.gz
|
||||
%%DOXYGEN%%man/man3/qbmap.h.3.gz
|
||||
%%DOXYGEN%%man/man3/qbrb.h.3.gz
|
||||
%%DOXYGEN%%man/man3/qbutil.h.3.gz
|
||||
%%DOXYGEN%%man/man8/qb-blackbox.8.gz
|
||||
sbin/qb-blackbox
|
||||
|
|
|
|||
|
|
@ -2,8 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= nspr
|
||||
PORTVERSION= 4.10.8
|
||||
PORTREVISION= 2
|
||||
PORTVERSION= 4.11.0
|
||||
CATEGORIES= devel linux
|
||||
MASTER_SITES= CENTOS_LINUX_UPDATES
|
||||
|
||||
|
|
@ -13,7 +12,7 @@ COMMENT= Netscape Portable Runtime (Linux CentOS ${LINUX_DIST_VER})
|
|||
CONFLICTS= linux-f10-nspr-[0-9]*
|
||||
|
||||
ONLY_FOR_ARCHS= i386 amd64
|
||||
RPMVERSION= 2.el6_7
|
||||
RPMVERSION= 0.1.el6_7
|
||||
USE_LINUX= c6
|
||||
|
||||
USE_LINUX_RPM= yes
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
SHA256 (rpm/i686/centos/6.7/nspr-4.10.8-2.el6_7.i686.rpm) = 4918a807ce01bae46183b6a1340c9df45625542a2ef912f305666dba8c60329b
|
||||
SIZE (rpm/i686/centos/6.7/nspr-4.10.8-2.el6_7.i686.rpm) = 118892
|
||||
SHA256 (rpm/i686/centos/6.7/nspr-4.10.8-2.el6_7.src.rpm) = 999b3e49fd18fc6982167b3e4059fb770ca228060b832804b2857018417ec3e9
|
||||
SIZE (rpm/i686/centos/6.7/nspr-4.10.8-2.el6_7.src.rpm) = 888909
|
||||
SHA256 (rpm/i686/centos/6.7/nspr-4.11.0-0.1.el6_7.i686.rpm) = 3b223ca6b209603975d7067ca45911b0f61f445196fb4b87e8e30b881ba9c2e5
|
||||
SIZE (rpm/i686/centos/6.7/nspr-4.11.0-0.1.el6_7.i686.rpm) = 119120
|
||||
SHA256 (rpm/i686/centos/6.7/nspr-4.11.0-0.1.el6_7.src.rpm) = 34bfff2b29fc9e980193a8cdc85aa65bae37e6c8e622de0882d0237365aa0c47
|
||||
SIZE (rpm/i686/centos/6.7/nspr-4.11.0-0.1.el6_7.src.rpm) = 904178
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
SHA256 (rpm/x86_64/centos/6.7/nspr-4.10.8-2.el6_7.x86_64.rpm) = bfdb7611d0a5f624f7193a504c12dbf44c863caf3077c5572bc485fb29ae6704
|
||||
SIZE (rpm/x86_64/centos/6.7/nspr-4.10.8-2.el6_7.x86_64.rpm) = 116196
|
||||
SHA256 (rpm/x86_64/centos/6.7/nspr-4.10.8-2.el6_7.i686.rpm) = 4918a807ce01bae46183b6a1340c9df45625542a2ef912f305666dba8c60329b
|
||||
SIZE (rpm/x86_64/centos/6.7/nspr-4.10.8-2.el6_7.i686.rpm) = 118892
|
||||
SHA256 (rpm/x86_64/centos/6.7/nspr-4.10.8-2.el6_7.src.rpm) = 999b3e49fd18fc6982167b3e4059fb770ca228060b832804b2857018417ec3e9
|
||||
SIZE (rpm/x86_64/centos/6.7/nspr-4.10.8-2.el6_7.src.rpm) = 888909
|
||||
SHA256 (rpm/x86_64/centos/6.7/nspr-4.11.0-0.1.el6_7.x86_64.rpm) = 3d109fb2c496edf99f41fd9db08769239caef7758ea6abf118ffe72b1de57c94
|
||||
SIZE (rpm/x86_64/centos/6.7/nspr-4.11.0-0.1.el6_7.x86_64.rpm) = 116468
|
||||
SHA256 (rpm/x86_64/centos/6.7/nspr-4.11.0-0.1.el6_7.i686.rpm) = 3b223ca6b209603975d7067ca45911b0f61f445196fb4b87e8e30b881ba9c2e5
|
||||
SIZE (rpm/x86_64/centos/6.7/nspr-4.11.0-0.1.el6_7.i686.rpm) = 119120
|
||||
SHA256 (rpm/x86_64/centos/6.7/nspr-4.11.0-0.1.el6_7.src.rpm) = 34bfff2b29fc9e980193a8cdc85aa65bae37e6c8e622de0882d0237365aa0c47
|
||||
SIZE (rpm/x86_64/centos/6.7/nspr-4.11.0-0.1.el6_7.src.rpm) = 904178
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ COMMENT= LLVM and Clang with support for the CHERI architecture
|
|||
|
||||
BROKEN_powerpc64= Does not build
|
||||
|
||||
LLVM_SUFFIX= -cheri
|
||||
LLVM_SUFFIX?= -cheri
|
||||
LLVM_PREFIX= ${PREFIX}/llvm${LLVM_SUFFIX}
|
||||
COMMAND_SUFFIX= ${LLVM_SUFFIX}
|
||||
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}${LLVM_SUFFIX}
|
||||
|
|
@ -23,7 +23,7 @@ SUB_FILES= llvm-wrapper.sh
|
|||
SUB_LIST= LLVM_PREFIX="${LLVM_PREFIX}" LLVM_SUFFIX="${LLVM_SUFFIX}"
|
||||
|
||||
CMAKE_INSTALL_PREFIX= ${LLVM_PREFIX}
|
||||
CMAKE_ARGS= -DBUILD_SHARED_LIBS=ON \
|
||||
CMAKE_ARGS+= -DBUILD_SHARED_LIBS=ON \
|
||||
-DLLVM_DEFAULT_TARGET_TRIPLE=cheri-unknown-freebsd
|
||||
|
||||
USE_GITHUB= yes
|
||||
|
|
@ -56,8 +56,10 @@ OPTIONS_SUB= yes
|
|||
|
||||
DOCS_BUILD_DEPENDS= sphinx-build:textproc/py-sphinx
|
||||
|
||||
LLVM_RELEASE= ${PORTVERSION:C/\.r[0-9]*//}
|
||||
PLIST_SUB+= LLVM_RELEASE=${LLVM_RELEASE}
|
||||
LLVM_RELEASE= ${PORTVERSION:C/\.d[0-9]*//}
|
||||
PLIST_SUB+= COMMAND_SUFFIX=${COMMAND_SUFFIX} \
|
||||
LLVM_RELEASE=${LLVM_RELEASE} \
|
||||
LLVM_SUFFIX=${LLVM_SUFFIX}
|
||||
|
||||
COMMANDS= bugpoint \
|
||||
llc \
|
||||
|
|
@ -213,20 +215,23 @@ regression-test: ${BUILD_COOKIE}
|
|||
build-plist:
|
||||
${RM} -f ${PLIST} ${PLIST}.tmp
|
||||
.for command in ${COMMANDS}
|
||||
${ECHO_CMD} bin/${COMMAND_PREFIX}${command}${COMMAND_SUFFIX} >> ${PLIST}.tmp
|
||||
${ECHO_CMD} bin/${COMMAND_PREFIX}${command}%%COMMAND_SUFFIX%% >> ${PLIST}.tmp
|
||||
.endfor
|
||||
.for command in ${LIT_COMMANDS}
|
||||
${ECHO_CMD} %%LIT%%bin/${COMMAND_PREFIX}${command}${COMMAND_SUFFIX} >> ${PLIST}.tmp
|
||||
${ECHO_CMD} %%LIT%%${LLVM_PREFIX:S|${PREFIX}/||}/bin/${command} >> ${PLIST}.tmp
|
||||
${ECHO_CMD} %%LIT%%bin/${COMMAND_PREFIX}${command}%%COMMAND_SUFFIX%% >> ${PLIST}.tmp
|
||||
${ECHO_CMD} %%LIT%%${LLVM_PREFIX:S|${PREFIX}/||:S|${LLVM_SUFFIX}|%%LLVM_SUFFIX%%|}/bin/${command} >> ${PLIST}.tmp
|
||||
.endfor
|
||||
${FIND} ${STAGEDIR}${LLVM_PREFIX} -type f -o -type l | \
|
||||
${GREP} -v '[/-]lit$$' | ${GREP} -v 'FileCheck$$' | \
|
||||
${GREP} -v man/man1 | ${SED} -e 's|${STAGEDIR}${PREFIX}/||' \
|
||||
-e 's|${PORTVERSION}|%%PORTVERSION%%|' \
|
||||
-e 's|release.cmake|%%CMAKE_BUILD_TYPE%%.cmake|' | \
|
||||
-e 's|release.cmake|%%CMAKE_BUILD_TYPE%%.cmake|' \
|
||||
-e 's|${LLVM_RELEASE}|%%LLVM_RELEASE%%|' \
|
||||
-e 's|${LLVM_SUFFIX}|%%LLVM_SUFFIX%%|' | \
|
||||
${SORT} >> ${PLIST}.tmp
|
||||
${FIND} ${STAGEDIR}${PYTHON_SITELIBDIR}/lit${LLVM_SUFFIX} -type f | \
|
||||
${SED} -e 's|${STAGEDIR}${PYTHON_SITELIBDIR}|%%LIT%%%%PYTHON_SITELIBDIR%%|' | \
|
||||
${SED} -e 's|${STAGEDIR}${PYTHON_SITELIBDIR}|%%LIT%%%%PYTHON_SITELIBDIR%%|' \
|
||||
-e 's|${LLVM_SUFFIX}|%%LLVM_SUFFIX%%|' | \
|
||||
${SORT} >> ${PLIST}.tmp
|
||||
awk '{if ($$0 ~ /clang/ && $$0 !~ /omp.h/) {printf "%%%%CLANG%%%%"} if ($$0 ~ /(argdumper|lldb)/) {printf "%%%%LLDB%%%%"} print}' ${PLIST}.tmp >> ${PLIST}
|
||||
${RM} -f ${PLIST}.tmp
|
||||
|
|
|
|||
|
|
@ -6,8 +6,8 @@
|
|||
#
|
||||
LLVM_MAJOR= 3.8
|
||||
LLVM_RELEASE= ${LLVM_MAJOR}.0
|
||||
SNAPDATE= 20160303
|
||||
SNAPDATE= 20160423
|
||||
|
||||
LLVM_COMMIT= 388f6926b8f9bb0557c65b74badb8a34734f13dc
|
||||
CLANG_COMMIT= 473591c52d2160071616e8574dc80305abfdda52
|
||||
LLVM_COMMIT= 84185b767e5dadecddece2b6161be42917389ab2
|
||||
CLANG_COMMIT= 5cb14ce28a05af60f3a31b8dc14403511ddaac80
|
||||
LLDB_COMMIT= 7ee5905d0109a13d543a127a9cda7c280c8103c8
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
SHA256 (CTSRD-CHERI-llvm-3.8.d20160303-388f6926b8f9bb0557c65b74badb8a34734f13dc_GH0.tar.gz) = 8ceac98a4bb053c328f7e689832100d94bf5748e4f4fb335f88860b787176521
|
||||
SIZE (CTSRD-CHERI-llvm-3.8.d20160303-388f6926b8f9bb0557c65b74badb8a34734f13dc_GH0.tar.gz) = 22354244
|
||||
SHA256 (CTSRD-CHERI-clang-473591c52d2160071616e8574dc80305abfdda52_GH0.tar.gz) = f5638a7845db7066b6453908bf9f1a77f41a3d45914b7b103dc7552290a1a4b0
|
||||
SIZE (CTSRD-CHERI-clang-473591c52d2160071616e8574dc80305abfdda52_GH0.tar.gz) = 12886568
|
||||
SHA256 (CTSRD-CHERI-llvm-3.8.d20160423-84185b767e5dadecddece2b6161be42917389ab2_GH0.tar.gz) = 84e9aa29d1d61c75c8463388e6b013c0a1d892389297d2ab7b9442950d3035ab
|
||||
SIZE (CTSRD-CHERI-llvm-3.8.d20160423-84185b767e5dadecddece2b6161be42917389ab2_GH0.tar.gz) = 22355018
|
||||
SHA256 (CTSRD-CHERI-clang-5cb14ce28a05af60f3a31b8dc14403511ddaac80_GH0.tar.gz) = 8de511db6d3754838aa2afafc7608ea94820331f6963d119aab83eabc6b93949
|
||||
SIZE (CTSRD-CHERI-clang-5cb14ce28a05af60f3a31b8dc14403511ddaac80_GH0.tar.gz) = 12888717
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
11
devel/llvm-cheri128/Makefile
Normal file
11
devel/llvm-cheri128/Makefile
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# Created by: Brooks Davis
|
||||
# $FreeBSD$
|
||||
|
||||
CMAKE_ARGS= -DLLVM_CHERI_IS_128=ON
|
||||
LLVM_SUFFIX= -cheri128
|
||||
|
||||
COMMENT= LLVM and Clang with support for the CHERI architecture (128-bit)
|
||||
|
||||
MASTERDIR= ${.CURDIR}/../llvm-cheri
|
||||
|
||||
.include <${MASTERDIR}/Makefile>
|
||||
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= icalendar
|
||||
PORTVERSION= 3.9.1
|
||||
PORTVERSION= 3.9.2
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (icalendar-3.9.1.tar.gz) = d8e05184f943713cbd56e7f1bb122b9befa3fd1e175eaef72abecb21db67193a
|
||||
SIZE (icalendar-3.9.1.tar.gz) = 63629
|
||||
SHA256 (icalendar-3.9.2.tar.gz) = 0b2d2610e039404e22a0a72fe5a59614374e7bd15ed824ead6ef6f8d36b41e2f
|
||||
SIZE (icalendar-3.9.2.tar.gz) = 66283
|
||||
|
|
|
|||
18
devel/py-simpleeval/Makefile
Normal file
18
devel/py-simpleeval/Makefile
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
# Created by: Joseph Mignrone <jrm@ftfl.ca>
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= simpleeval
|
||||
PORTVERSION= 0.8.7
|
||||
CATEGORIES= devel python
|
||||
MASTER_SITES= CHEESESHOP
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
MAINTAINER= jrm@ftfl.ca
|
||||
COMMENT= Simple, safe single expression evaluator python library
|
||||
|
||||
LICENSE= MIT
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= distutils autoplist
|
||||
|
||||
.include <bsd.port.mk>
|
||||
2
devel/py-simpleeval/distinfo
Normal file
2
devel/py-simpleeval/distinfo
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
SHA256 (simpleeval-0.8.7.tar.gz) = ea13bcbe38178eebb4d374cdcb6591e0cc281a63669c29c99a6aa4fec7640117
|
||||
SIZE (simpleeval-0.8.7.tar.gz) = 11654
|
||||
6
devel/py-simpleeval/pkg-descr
Normal file
6
devel/py-simpleeval/pkg-descr
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
simpleeval is a single-file library for easily adding evaluatable expressions
|
||||
into python projects. It can allow a user to, for example, set an alarm volume,
|
||||
which could depend on the time of day, alarm level, how many previous alarms had
|
||||
gone off, and if there is music playing at the time.
|
||||
|
||||
WWW: https://github.com/danthedeckie/simpleeval
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= rbison
|
||||
PORTVERSION= 0.0.7
|
||||
PORTREVISION= 3
|
||||
PORTREVISION= 4
|
||||
CATEGORIES= devel ruby
|
||||
MASTER_SITES= http://freebsd.unixfreunde.de/sources/
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
|
|
@ -12,10 +12,10 @@ DIST_SUBDIR= ruby
|
|||
MAINTAINER= ruby@FreeBSD.org
|
||||
COMMENT= Generates a Ruby parser class from a Bison-like specification file
|
||||
|
||||
USES= bison
|
||||
USES= bison shebangfix
|
||||
USE_RUBY= yes
|
||||
|
||||
RUBY_SHEBANG_FILES= ${WRKSRC}/rbison
|
||||
SHEBANG_FILES= rbison
|
||||
|
||||
DOCS= ChangeLog README
|
||||
EXAMPLES= CalcFileLexer.rb CalcStringLexer.rb \
|
||||
|
|
@ -23,6 +23,9 @@ EXAMPLES= CalcFileLexer.rb CalcStringLexer.rb \
|
|||
|
||||
NO_BUILD= yes
|
||||
|
||||
BROKEN_RUBY22= Builds but does not run
|
||||
BROKEN_RUBY23= Builds but does not run
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
do-install:
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= setup.rb
|
||||
PORTVERSION= 3.4.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel ruby
|
||||
MASTER_SITES= http://www.loveruby.net/archive/${PORTNAME:R}/
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
|
|
@ -18,8 +19,6 @@ NO_BUILD= yes
|
|||
|
||||
_SCRIPTS= setup.rb
|
||||
|
||||
RUBY_SHEBANG_FILES= ${_SCRIPTS:S:^:${WRKSRC}/ruby-:}
|
||||
|
||||
DOCS_EN= doc.en/* NEWS.en Usage_en.txt README.en ChangeLog TODO
|
||||
DOCS_JA= doc.ja/* NEWS.ja Usage_ja.txt README.ja
|
||||
|
||||
|
|
@ -30,6 +29,10 @@ post-extract:
|
|||
${CP} -p ${WRKSRC}/${f} ${WRKSRC}/ruby-${f}
|
||||
.endfor
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} 's!%%LOCALBASE%%!${LOCALBASE}!g' \
|
||||
${WRKSRC}/ruby-setup.rb
|
||||
|
||||
do-install:
|
||||
.for f in ${_SCRIPTS}
|
||||
${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}
|
||||
|
|
|
|||
7
devel/ruby-setup.rb/files/patch-ruby-setup.rb
Normal file
7
devel/ruby-setup.rb/files/patch-ruby-setup.rb
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
--- ruby-setup.rb.orig 2016-04-23 14:48:02 UTC
|
||||
+++ ruby-setup.rb
|
||||
@@ -1,3 +1,4 @@
|
||||
+#!%%LOCALBASE%%/bin/ruby
|
||||
#
|
||||
# setup.rb
|
||||
#
|
||||
16
devel/rubygem-arr-pm/Makefile
Normal file
16
devel/rubygem-arr-pm/Makefile
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= arr-pm
|
||||
PORTVERSION= 0.0.10
|
||||
CATEGORIES= devel rubygems
|
||||
MASTER_SITES= RG
|
||||
|
||||
MAINTAINER= swills@FreeBSD.org
|
||||
COMMENT= Read and write rpm packages
|
||||
|
||||
NO_ARCH= yes
|
||||
USE_RUBY= yes
|
||||
USE_RUBYGEMS= yes
|
||||
RUBYGEM_AUTOPLIST= yes
|
||||
|
||||
.include <bsd.port.mk>
|
||||
2
devel/rubygem-arr-pm/distinfo
Normal file
2
devel/rubygem-arr-pm/distinfo
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
SHA256 (rubygem/arr-pm-0.0.10.gem) = 0fa2d425a84eeeaf8f95268568e826723b41aeefa14511d1f0ed1368c30bdd1f
|
||||
SIZE (rubygem/arr-pm-0.0.10.gem) = 15360
|
||||
4
devel/rubygem-arr-pm/pkg-descr
Normal file
4
devel/rubygem-arr-pm/pkg-descr
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
This library allows to you to read and write rpm packages. Written in pure ruby
|
||||
because librpm is not available on all systems
|
||||
|
||||
WWW: https://rubygems.org/gems/arr-pm
|
||||
17
devel/rubygem-cabin/Makefile
Normal file
17
devel/rubygem-cabin/Makefile
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= cabin
|
||||
PORTVERSION= 0.8.1
|
||||
CATEGORIES= devel rubygems
|
||||
MASTER_SITES= RG
|
||||
|
||||
MAINTAINER= swills@FreeBSD.org
|
||||
COMMENT= Structured+contextual logging experiments in Ruby
|
||||
|
||||
NO_ARCH= yes
|
||||
USE_RUBY= yes
|
||||
USE_RUBYGEMS= yes
|
||||
RUBYGEM_AUTOPLIST= yes
|
||||
PLIST_FILES= bin/rubygems-cabin-test
|
||||
|
||||
.include <bsd.port.mk>
|
||||
2
devel/rubygem-cabin/distinfo
Normal file
2
devel/rubygem-cabin/distinfo
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
SHA256 (rubygem/cabin-0.8.1.gem) = 2be4f9415a5e6cd3b49880988e364891fe133ed73d05c2644f4d256144cc6519
|
||||
SIZE (rubygem/cabin-0.8.1.gem) = 21504
|
||||
3
devel/rubygem-cabin/pkg-descr
Normal file
3
devel/rubygem-cabin/pkg-descr
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
Structured+contextual logging experiments in Ruby
|
||||
|
||||
WWW: https://github.com/jordansissel/ruby-cabin
|
||||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= dns_balance
|
||||
PORTVERSION= 2.0
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= dns
|
||||
MASTER_SITES= http://www.netlab.cs.tsukuba.ac.jp/~yokota/archive/ \
|
||||
http://BSDforge.com/projects/source/dns/dns_balance/
|
||||
|
|
@ -13,13 +13,16 @@ MAINTAINER= portmaster@BSDforge.com
|
|||
COMMENT= Dynamic load-balancing DNS server
|
||||
|
||||
USE_RUBY= yes
|
||||
USES= shebangfix
|
||||
USE_RC_SUBR= dns_balance
|
||||
|
||||
NO_BUILD= yes
|
||||
BROKEN_RUBY22= yes
|
||||
BROKEN_RUBY23= yes
|
||||
|
||||
RUBY_SHEBANG_FILES= ${WRKSRC}/dns_balance.rb \
|
||||
${WRKSRC}/sample/makedb.rb \
|
||||
${WRKSRC}/sample/make_namespace.rb
|
||||
SHEBANG_FILES= ${WRKSRC}/dns_balance.rb \
|
||||
${WRKSRC}/sample/makedb.rb \
|
||||
${WRKSRC}/sample/make_namespace.rb
|
||||
|
||||
ETCS= addrdb.rb \
|
||||
namespace.rb
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= filezilla
|
||||
PORTVERSION= 3.16.0
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 3.17.0
|
||||
CATEGORIES= ftp
|
||||
MASTER_SITES= SF/${PORTNAME}/FileZilla_Client/${PORTVERSION}
|
||||
DISTNAME= FileZilla_${PORTVERSION}_src
|
||||
|
|
@ -19,6 +18,7 @@ LIB_DEPENDS= libfilezilla.so:ftp/libfilezilla \
|
|||
libgcrypt.so:security/libgcrypt \
|
||||
libgnutls.so:security/gnutls \
|
||||
libidn.so:dns/libidn \
|
||||
libnettle.so:security/nettle \
|
||||
libpugixml.so:textproc/pugixml
|
||||
|
||||
BROKEN_FreeBSD_9= requires C++14 complier, 9.x lacks C++11 standard library
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (FileZilla_3.16.0_src.tar.bz2) = 7dbd55a706ac1552ed4a0b86eeb59fcfc58cf6041b581c4dcf9a6cf560279b46
|
||||
SIZE (FileZilla_3.16.0_src.tar.bz2) = 4406422
|
||||
SHA256 (FileZilla_3.17.0_src.tar.bz2) = 3763cd5cf833b43d9d3da763bfea6561cabf6a63e9fc698f02d101b82ffe656d
|
||||
SIZE (FileZilla_3.17.0_src.tar.bz2) = 4399584
|
||||
|
|
|
|||
|
|
@ -1,8 +1,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= libfilezilla
|
||||
PORTVERSION= 0.4.0.1
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 0.5.0
|
||||
CATEGORIES= ftp
|
||||
MASTER_SITES= SF/filezilla/${PORTNAME}/${PORTVERSION}
|
||||
|
||||
|
|
@ -16,7 +15,7 @@ BROKEN_powerpc64= Does not build
|
|||
|
||||
BROKEN_FreeBSD_9= requires C++14 complier, 9.x lacks C++11 standard library
|
||||
|
||||
USES= compiler:c++14-lang gmake iconv:wchar_t libtool localbase pathfix pkgconfig tar:bzip2
|
||||
USES= compiler:c++14-lang gmake iconv libtool localbase pathfix pkgconfig tar:bzip2
|
||||
USE_LDCONFIG= yes
|
||||
GNU_CONFIGURE= yes
|
||||
INSTALL_TARGET= install-strip
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (libfilezilla-0.4.0.1.tar.bz2) = 6003689254e9d250bcdefc1414dcc4a0d324fda3d59436a497e249b225f4b1d1
|
||||
SIZE (libfilezilla-0.4.0.1.tar.bz2) = 373987
|
||||
SHA256 (libfilezilla-0.5.0.tar.bz2) = 8c6a1af13113bbb78e1c66ebbbffa84c0f0ee243c0789e9b92f8e11fcb84c51d
|
||||
SIZE (libfilezilla-0.5.0.tar.bz2) = 374549
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= feh
|
||||
PORTVERSION= 2.14.2
|
||||
PORTVERSION= 2.15.2
|
||||
CATEGORIES= graphics
|
||||
MASTER_SITES= http://feh.finalrewind.org/ \
|
||||
LOCAL/uqs
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (feh-2.14.2.tar.bz2) = c80f3d3297b3b6ee4898572d19692f5e19eb3066a9ca078c3099d39004a7e0cf
|
||||
SIZE (feh-2.14.2.tar.bz2) = 2119370
|
||||
SHA256 (feh-2.15.2.tar.bz2) = 38c89b5d3109ca06d8917da334726d2b9e1a34f79e5091449ebf50e14199ce2e
|
||||
SIZE (feh-2.15.2.tar.bz2) = 2120269
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= gcc
|
||||
PORTVERSION= 5.3.1.s20160412
|
||||
PORTVERSION= 5.3.1.s20160419
|
||||
CATEGORIES= lang java
|
||||
MASTER_SITES= GCC/snapshots/${DISTVERSION}
|
||||
PKGNAMESUFFIX= ${SUFFIX}-devel
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (gcc-5-20160412.tar.bz2) = cda2a329eaec96dee56169ed24ce0726028551463e1819f60fe5762885db1c53
|
||||
SIZE (gcc-5-20160412.tar.bz2) = 91308761
|
||||
SHA256 (gcc-5-20160419.tar.bz2) = 051cdb6168ff23cbb6303bb0c14fafc665494f33e33721e5b765f92da4853435
|
||||
SIZE (gcc-5-20160419.tar.bz2) = 91299820
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= gcc
|
||||
PORTVERSION= 6.0.0.s20160410
|
||||
PORTVERSION= 6.0.1.s20160421
|
||||
CATEGORIES= lang java
|
||||
MASTER_SITES= GCC/snapshots/${DISTVERSION}
|
||||
PKGNAMESUFFIX= ${SUFFIX}-devel
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (gcc-6-20160410.tar.bz2) = 7b4497f8cd802bb28469df1d3421387cf99c2195ab4450c2e8691b6f16de1d32
|
||||
SIZE (gcc-6-20160410.tar.bz2) = 95358365
|
||||
SHA256 (gcc-6-20160421.tar.bz2) = 36d733fcb2bdd8decf51bf014b6170c5775e8da64aafb05a95a9ec4bc5adc824
|
||||
SIZE (gcc-6-20160421.tar.bz2) = 95366098
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= lens
|
||||
PORTVERSION= 0.2
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= mail ruby
|
||||
MASTER_SITES= http://www.pitecan.com/Lens/ \
|
||||
LOCAL/tota/lens
|
||||
|
|
@ -12,10 +12,13 @@ MAINTAINER= tota@FreeBSD.org
|
|||
COMMENT= Mail filter written in Ruby
|
||||
|
||||
NO_BUILD= yes
|
||||
BROKEN_RUBY22= yes
|
||||
BROKEN_RUBY23= yes
|
||||
USE_RUBY= yes
|
||||
USES= shebangfix
|
||||
|
||||
LIB_FILES= lens.rb maildir.rb message.rb parsedate.rb classify.rb
|
||||
RUBY_SHEBANG_FILES= lens
|
||||
SHEBANG_FILES= lens
|
||||
|
||||
OPTIONS_DEFINE= DOCS EXAMPLES
|
||||
|
||||
|
|
|
|||
|
|
@ -2,9 +2,8 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= openblas
|
||||
PORTVERSION= 0.2.15
|
||||
PORTVERSION= 0.2.18
|
||||
DISTVERSIONPREFIX= v
|
||||
PORTREVISION= 1
|
||||
PORTEPOCH= 1
|
||||
CATEGORIES= math
|
||||
MASTER_SITES= GH NL/lapack/timing/:lapack_tmg
|
||||
|
|
@ -115,8 +114,8 @@ post-patch:
|
|||
${WRKSRC}/lapack-netlib/SRC/Makefile \
|
||||
${WRKSRC}/lapack-netlib/SRC/VARIANTS/Makefile \
|
||||
${WRKSRC}/lapack-netlib/TESTING/MATGEN/Makefile \
|
||||
${WRKSRC}/lapack-netlib/lapacke/src/Makefile \
|
||||
${WRKSRC}/lapack-netlib/lapacke/utils/Makefile \
|
||||
${WRKSRC}/lapack-netlib/LAPACKE/src/Makefile \
|
||||
${WRKSRC}/lapack-netlib/LAPACKE/utils/Makefile \
|
||||
${WRKSRC}/reference/Makefile
|
||||
${REINPLACE_CMD} -e "s+(ARCH)+(ARCH_)+" \
|
||||
-e 's+%%LDFLAGS%%+${LDFLAGS}+' \
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
SHA256 (openblas/xianyi-OpenBLAS-v0.2.15_GH0.tar.gz) = 73c40ace5978282224e5e122a41c8388c5a19e65a6f2329c2b7c0b61bacc9044
|
||||
SIZE (openblas/xianyi-OpenBLAS-v0.2.15_GH0.tar.gz) = 9966585
|
||||
SHA256 (openblas/xianyi-OpenBLAS-v0.2.18_GH0.tar.gz) = 7d9f8d4ea4a65ab68088f3bb557f03a7ac9cb5036ef2ba30546c3a28774a4112
|
||||
SIZE (openblas/xianyi-OpenBLAS-v0.2.18_GH0.tar.gz) = 10689322
|
||||
SHA256 (openblas/large.tgz) = f328d88b7fa97722f271d7d0cfea1c220e0f8e5ed5ff01d8ef1eb51d6f4243a1
|
||||
SIZE (openblas/large.tgz) = 2595
|
||||
SHA256 (openblas/timing.tgz) = 999c65f8ea8bd4eac7f1c7f3463d4946917afd20a997807300fe35d70122f3af
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
--- driver/others/blas_server.c.orig 2015-10-27 20:44:50 UTC
|
||||
--- driver/others/blas_server.c.orig 2016-04-12 19:29:19 UTC
|
||||
+++ driver/others/blas_server.c
|
||||
@@ -70,7 +70,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
/*********************************************************************/
|
||||
|
||||
#include "common.h"
|
||||
-#if defined(OS_LINUX) || defined(OS_NETBSD) || defined(OS_DARWIN) || defined(OS_ANDROID)
|
||||
+#if defined(OS_LINUX) || defined(OS_NETBSD) || defined(OS_DARWIN) || defined(OS_ANDROID) || defined(OS_FREEBSD)
|
||||
-#if defined(OS_LINUX) || defined(OS_NETBSD) || defined(OS_DARWIN) || defined(OS_ANDROID) || defined(OS_SUNOS)
|
||||
+#if defined(OS_LINUX) || defined(OS_NETBSD) || defined(OS_DARWIN) || defined(OS_ANDROID) || defined(OS_SUNOS) || defined(OS_FREEBSD)
|
||||
#include <dlfcn.h>
|
||||
#include <signal.h>
|
||||
#include <sys/resource.h>
|
||||
|
|
|
|||
|
|
@ -1,13 +1,13 @@
|
|||
Passing a priority level to constructor/destructor only works on GCC >= 4.3.0;
|
||||
improve the upstream check so that the build works with base GCC.
|
||||
--- driver/others/memory.c.orig 2015-10-27 20:44:50 UTC
|
||||
--- driver/others/memory.c.orig 2016-04-12 19:29:19 UTC
|
||||
+++ driver/others/memory.c
|
||||
@@ -142,7 +142,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
@@ -144,7 +144,7 @@ USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
||||
#if defined(_MSC_VER) && !defined(__clang__)
|
||||
#define CONSTRUCTOR __cdecl
|
||||
#define DESTRUCTOR __cdecl
|
||||
-#elif defined(OS_DARWIN) && defined(C_GCC)
|
||||
+#elif defined(OS_DARWIN) || (defined(C_GCC) && ((__GNUC__ == 4) && (__GNUC_MINOR__ < 3)))
|
||||
-#elif (defined(OS_DARWIN) || defined(OS_SUNOS)) && defined(C_GCC)
|
||||
+#elif (defined(OS_DARWIN) || defined(OS_SUNOS)) || (defined(C_GCC) && ((__GNUC__ == 4) && (__GNUC_MINOR__ < 3)))
|
||||
#define CONSTRUCTOR __attribute__ ((constructor))
|
||||
#define DESTRUCTOR __attribute__ ((destructor))
|
||||
#else
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= inplace
|
||||
PORTVERSION= 1.2.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= misc
|
||||
MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \
|
||||
LOCAL/knu
|
||||
|
|
@ -10,13 +11,13 @@ MASTER_SITES= ftp://ftp.iDaemons.org/pub/distfiles/ \
|
|||
MAINTAINER= knu@FreeBSD.org
|
||||
COMMENT= Tool to edit files in-place through given filter commands
|
||||
|
||||
USES= tar:bzip2 uidfix
|
||||
USES= tar:bzip2 uidfix shebangfix
|
||||
USE_RUBY= yes
|
||||
|
||||
MAKE_ARGS= PREFIX="${PREFIX}" MANPREFIX="${MANPREFIX}"
|
||||
MAKEFILE= BSDmakefile
|
||||
|
||||
RUBY_SHEBANG_FILES= lib/inplace.rb
|
||||
SHEBANG_FILES= lib/inplace.rb
|
||||
|
||||
PLIST_FILES= bin/inplace \
|
||||
man/man1/inplace.1.gz
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= mkvtoolnix
|
||||
PORTVERSION= 9.0.1
|
||||
PORTVERSION= 9.1.0
|
||||
CATEGORIES= multimedia audio
|
||||
MASTER_SITES= http://www.bunkus.org/videotools/mkvtoolnix/sources/ \
|
||||
https://mkvtoolnix.download/sources/
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (mkvtoolnix-9.0.1.tar.xz) = 292504633d714c42f73f08474137e462827f6d8d570292005bbaebb8fee8e52e
|
||||
SIZE (mkvtoolnix-9.0.1.tar.xz) = 3682892
|
||||
SHA256 (mkvtoolnix-9.1.0.tar.xz) = 1471370251ff8414f3c02a0e21ec41c644f9d54bf4f1f5253d0cd9406281ce60
|
||||
SIZE (mkvtoolnix-9.1.0.tar.xz) = 3702480
|
||||
|
|
|
|||
|
|
@ -1,22 +1,81 @@
|
|||
--- lib/nlohmann-json/src/json.hpp.orig 2015-12-31 12:23:52 UTC
|
||||
--- lib/nlohmann-json/src/json.hpp.orig 2016-04-23 13:52:02 UTC
|
||||
+++ lib/nlohmann-json/src/json.hpp
|
||||
@@ -5737,7 +5737,9 @@ class basic_json
|
||||
/// use integer array index as key
|
||||
case (value_t::array):
|
||||
@@ -87,6 +87,14 @@ struct has_mapped_type
|
||||
static constexpr bool value = sizeof(test<T>(0)) == 1;
|
||||
};
|
||||
|
||||
+template<typename T>
|
||||
+std::string ToString(T val)
|
||||
+{
|
||||
+ std::ostringstream TempStream;
|
||||
+ TempStream << val;
|
||||
+ return TempStream.str();
|
||||
+}
|
||||
+
|
||||
}
|
||||
|
||||
/*!
|
||||
@@ -3029,7 +3037,7 @@ class basic_json
|
||||
catch (std::out_of_range&)
|
||||
{
|
||||
// create better exception explanation
|
||||
- throw std::out_of_range("array index " + std::to_string(idx) + " is out of range");
|
||||
+ throw std::out_of_range("array index " + ToString(idx) + " is out of range");
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -3073,7 +3081,7 @@ class basic_json
|
||||
catch (std::out_of_range&)
|
||||
{
|
||||
// create better exception explanation
|
||||
- throw std::out_of_range("array index " + std::to_string(idx) + " is out of range");
|
||||
+ throw std::out_of_range("array index " + ToString(idx) + " is out of range");
|
||||
}
|
||||
}
|
||||
else
|
||||
@@ -6224,7 +6232,7 @@ class basic_json
|
||||
// use integer array index as key
|
||||
case value_t::array:
|
||||
{
|
||||
- return std::to_string(array_index);
|
||||
+ std::ostringstream TempStream;
|
||||
+ TempStream << array_index;
|
||||
+ return TempStream.str();
|
||||
+ return ToString(array_index);
|
||||
}
|
||||
|
||||
/// use key from the object
|
||||
@@ -6902,7 +6904,7 @@ basic_json_parser_59:
|
||||
// use key from the object
|
||||
@@ -8204,7 +8212,7 @@ basic_json_parser_63:
|
||||
*/
|
||||
long double str_to_float_t(long double* /* type */, char** endptr) const
|
||||
{
|
||||
// conversion
|
||||
typename string_t::value_type* endptr;
|
||||
- const auto float_val = std::strtold(reinterpret_cast<typename string_t::const_pointer>(m_start),
|
||||
+ const auto float_val = std::strtod(reinterpret_cast<typename string_t::const_pointer>(m_start),
|
||||
&endptr);
|
||||
- return std::strtold(reinterpret_cast<typename string_t::const_pointer>(m_start), endptr);
|
||||
+ return std::strtod(reinterpret_cast<typename string_t::const_pointer>(m_start), endptr);
|
||||
}
|
||||
|
||||
// return float_val if the whole number was translated and NAN
|
||||
/*!
|
||||
@@ -8244,7 +8252,8 @@ basic_json_parser_63:
|
||||
*/
|
||||
float str_to_float_t(float* /* type */, char** endptr) const
|
||||
{
|
||||
- return std::strtof(reinterpret_cast<typename string_t::const_pointer>(m_start), endptr);
|
||||
+ auto v = std::strtod(reinterpret_cast<typename string_t::const_pointer>(m_start), endptr);
|
||||
+ return (float)v;
|
||||
}
|
||||
|
||||
/*!
|
||||
@@ -8316,7 +8325,7 @@ basic_json_parser_63:
|
||||
{
|
||||
// positive, parse with strtoull and attempt cast to
|
||||
// number_unsigned_t
|
||||
- if (attempt_cast(std::strtoull(reinterpret_cast<typename string_t::const_pointer>(m_start), &endptr,
|
||||
+ if (attempt_cast(strtoull(reinterpret_cast<typename string_t::const_pointer>(m_start), &endptr,
|
||||
10), result.m_value.number_unsigned))
|
||||
{
|
||||
result.m_type = value_t::number_unsigned;
|
||||
@@ -8331,7 +8340,7 @@ basic_json_parser_63:
|
||||
{
|
||||
// Negative, parse with strtoll and attempt cast to
|
||||
// number_integer_t
|
||||
- if (attempt_cast(std::strtoll(reinterpret_cast<typename string_t::const_pointer>(m_start), &endptr,
|
||||
+ if (attempt_cast(strtoll(reinterpret_cast<typename string_t::const_pointer>(m_start), &endptr,
|
||||
10), result.m_value.number_integer))
|
||||
{
|
||||
result.m_type = value_t::number_integer;
|
||||
|
|
|
|||
|
|
@ -252,6 +252,7 @@
|
|||
SUBDIR += iodine
|
||||
SUBDIR += ip2location
|
||||
SUBDIR += ip6_int
|
||||
SUBDIR += ipdecap
|
||||
SUBDIR += ipgrab
|
||||
SUBDIR += iplog
|
||||
SUBDIR += ipsorc
|
||||
|
|
|
|||
29
net/ipdecap/Makefile
Normal file
29
net/ipdecap/Makefile
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= ipdecap
|
||||
PORTVERSION= 0.7.1
|
||||
CATEGORIES= net
|
||||
|
||||
MAINTAINER= loic-freebsd@loicp.eu
|
||||
COMMENT= Decapsulate traffic encapsulated within GRE, IPIP, 6in4, ESP protocols
|
||||
|
||||
LICENSE= GPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
BUILD_DEPENDS= ${LOCALBASE}/include/pcap/vlan.h:net/libpcap
|
||||
LIB_DEPENDS= libpcap.so:net/libpcap
|
||||
|
||||
PLIST_FILES= bin/ipdecap\
|
||||
man/man1/ipdecap.1.gz
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= lpefferkorn
|
||||
GH_TAGNAME= e9c6ba5
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
USES= autoreconf gmake
|
||||
|
||||
regression-test: extract
|
||||
cd ${WRKSRC}/unit_tests && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} check
|
||||
|
||||
.include <bsd.port.mk>
|
||||
2
net/ipdecap/distinfo
Normal file
2
net/ipdecap/distinfo
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
SHA256 (lpefferkorn-ipdecap-0.7.1-e9c6ba5_GH0.tar.gz) = 1def11eb0afb0a5fcbc2de045e71b7c82a140b489ca344b6b543050998cea9fd
|
||||
SIZE (lpefferkorn-ipdecap-0.7.1-e9c6ba5_GH0.tar.gz) = 818781
|
||||
6
net/ipdecap/pkg-descr
Normal file
6
net/ipdecap/pkg-descr
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
Decapsulate traffic encapsulated within GRE, IPIP, 6in4 and ESP protocols
|
||||
from a pcap file.
|
||||
|
||||
Can also remove IEEE 802.1Q (virtual lan - vlan) header.
|
||||
|
||||
WWW: https://loicpefferkorn.net/ipdecap/
|
||||
|
|
@ -22,10 +22,11 @@ OPTIONS_DEFINE= DOCS
|
|||
|
||||
NO_ARCH= yes
|
||||
USE_RUBY= yes
|
||||
USES= shebangfix
|
||||
USE_RUBY_SETUP= yes
|
||||
RUBY_SETUP= install.rb
|
||||
|
||||
RUBY_SHEBANG_FILES= ${WRKSRC}/rdict
|
||||
SHEBANG_FILES= ${WRKSRC}/rdict
|
||||
|
||||
DOCS= Changelog README doc/dict.html doc/rdict.html
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= tserver
|
||||
PORTVERSION= 0.2.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= net ruby
|
||||
MASTER_SITES= http://www.tmtm.org/ruby/tserver/
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
|
|
@ -12,8 +13,9 @@ MAINTAINER= ruby@FreeBSD.org
|
|||
COMMENT= Ruby library for writing a preforking server like Apache
|
||||
|
||||
USE_RUBY= yes
|
||||
USES= shebangfix
|
||||
|
||||
RUBY_SHEBANG_FILES= ${WRKSRC}/sample/*
|
||||
SHEBANG_FILES= ${WRKSRC}/sample/*
|
||||
|
||||
NO_BUILD= yes
|
||||
|
||||
|
|
|
|||
|
|
@ -2,8 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= InsightToolkit
|
||||
PORTVERSION= 4.9.0
|
||||
PORTREVISION= 1
|
||||
PORTVERSION= 4.9.1
|
||||
CATEGORIES= science biology
|
||||
MASTER_SITES= SF/itk/itk/4.9
|
||||
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (InsightToolkit-4.9.0.tar.gz) = 4aa26e3cd3503b08e92a16e812d2be474275b218d015143a9e890063eb0f4f5b
|
||||
SIZE (InsightToolkit-4.9.0.tar.gz) = 18087947
|
||||
SHA256 (InsightToolkit-4.9.1.tar.gz) = 4f3f0842bf10a5ba160ac1276f9e8e47e54dcd1fe45b2d93162fe2280eefed0e
|
||||
SIZE (InsightToolkit-4.9.1.tar.gz) = 18088281
|
||||
|
|
|
|||
|
|
@ -2,6 +2,7 @@
|
|||
# $FreeBSD$
|
||||
|
||||
PORTNAME= dradis
|
||||
PORTREVISION= 1
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 2.6.1
|
||||
CATEGORIES= security
|
||||
|
|
@ -33,7 +34,8 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION:R}
|
|||
NO_ARCH= yes
|
||||
NO_BUILD= yes
|
||||
USE_RUBY= yes
|
||||
RUBY_SHEBANG_FILES= server/script/rails server/script/delayed_job
|
||||
USES= shebangfix
|
||||
SHEBANG_FILES= server/script/rails server/script/delayed_job
|
||||
RUBY_NO_BUILD_DEPENDS= yes
|
||||
|
||||
USES= dos2unix
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@ MASTER_SITES= http://fwlogwatch.inside-security.de/sw/
|
|||
MAINTAINER= cy@FreeBSD.org
|
||||
COMMENT= Packet filter and firewall log analyzer
|
||||
|
||||
BROKEN_FreeBSD_9= Fails to build due to outdated flex
|
||||
|
||||
USES= gettext tar:bzip2
|
||||
MAKE_ENV= MKDIR="${MKDIR}"
|
||||
INSTALL_TARGET= install install-config install-i18n
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= password
|
||||
PORTVERSION= 0.5.3
|
||||
PORTREVISION= 6
|
||||
PORTREVISION= 7
|
||||
CATEGORIES= security ruby
|
||||
MASTER_SITES= http://www.caliban.org/files/ruby/
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
|
|
@ -17,9 +17,13 @@ OPTIONS_DEFINE= DOCS EXAMPLES
|
|||
LIB_DEPENDS= libcrack.so:security/cracklib
|
||||
RUN_DEPENDS= rubygem-ruby-termios>=0:comms/rubygem-ruby-termios
|
||||
|
||||
BROKEN_RUBY22= yes
|
||||
BROKEN_RUBY23= yes
|
||||
|
||||
USE_RUBY= yes
|
||||
USES= shebangfix
|
||||
USE_RUBY_EXTCONF= yes
|
||||
RUBY_SHEBANG_FILES= example/*
|
||||
SHEBANG_FILES= example/*
|
||||
SADIR= lib/ruby/site_ruby/${RUBY_VER}/${RUBY_ARCH}
|
||||
|
||||
CONFIGURE_ARGS= --with-crack-dict="${LOCALBASE}/libdata/cracklib/cracklib-words.pwd"
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= ansible
|
||||
PORTVERSION?= 2.0.2.0
|
||||
PORTREVISION?= 1
|
||||
CATEGORIES= sysutils python
|
||||
MASTER_SITES= http://releases.ansible.com/ansible/
|
||||
|
||||
|
|
@ -17,6 +18,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>0:devel/py-yaml \
|
|||
${PYTHON_PKGNAMEPREFIX}paramiko>0:security/py-paramiko \
|
||||
${PYTHON_PKGNAMEPREFIX}Jinja2>0:devel/py-Jinja2
|
||||
|
||||
EXTRA_PATCHES?= ${FILESDIR}/extra-patch-8aac5ae
|
||||
|
||||
NO_ARCH= yes
|
||||
USES= cpe python:2 shebangfix
|
||||
USE_PYTHON= autoplist distutils
|
||||
|
|
|
|||
16
sysutils/ansible/files/extra-patch-8aac5ae
Normal file
16
sysutils/ansible/files/extra-patch-8aac5ae
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
--- lib/ansible/modules/core/system/service.py.orig 2016-04-19 21:55:24 UTC
|
||||
+++ lib/ansible/modules/core/system/service.py
|
||||
@@ -1003,7 +1003,12 @@ class FreeBsdService(Service):
|
||||
if self.action == "reload":
|
||||
self.action = "onereload"
|
||||
|
||||
- return self.execute_command("%s %s %s %s" % (self.svc_cmd, self.name, self.action, self.arguments))
|
||||
+ ret = self.execute_command("%s %s %s %s" % (self.svc_cmd, self.name, self.action, self.arguments))
|
||||
+
|
||||
+ if self.sleep:
|
||||
+ time.sleep(self.sleep)
|
||||
+
|
||||
+ return ret
|
||||
|
||||
# ===========================================
|
||||
# Subclass: OpenBSD
|
||||
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= mcollective
|
||||
PORTVERSION= 2.8.2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://downloads.puppetlabs.com/${PORTNAME}/
|
||||
|
||||
|
|
@ -16,9 +17,10 @@ RUN_DEPENDS= rubygem-stomp>=0:devel/rubygem-stomp
|
|||
|
||||
NO_BUILD= yes
|
||||
USE_RUBY= yes
|
||||
USES= shebangfix
|
||||
USE_RC_SUBR= mcollectived
|
||||
|
||||
RUBY_SHEBANG_FILES= bin/mcollectived bin/mco
|
||||
SHEBANG_FILES= bin/mcollectived bin/mco
|
||||
CFG_FILES= client.cfg data-help.erb discovery-help.erb facts.yaml \
|
||||
metadata-help.erb rpc-help.erb server.cfg
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= pdumpfs
|
||||
PORTVERSION= 1.3
|
||||
PORTREVISION= 4
|
||||
PORTREVISION= 5
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://0xcc.net/pdumpfs/
|
||||
|
||||
|
|
@ -14,9 +14,10 @@ LICENSE= GPLv2
|
|||
LICENSE_FILE= ${WRKSRC}/COPYING
|
||||
|
||||
USE_RUBY= yes
|
||||
USES= shebangfix
|
||||
NO_ARCH= yes
|
||||
|
||||
RUBY_SHEBANG_FILES= ${WRKSRC}/pdumpfs.in
|
||||
SHEBANG_FILES= ${WRKSRC}/pdumpfs.in
|
||||
ALL_TARGET= pdumpfs
|
||||
|
||||
PLIST_FILES= man/ja/man8/pdumpfs.8.gz \
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= zfs-snapshot-mgmt
|
||||
PORTVERSION= 20090201
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 3
|
||||
CATEGORIES= sysutils
|
||||
MASTER_SITES= http://marcin.studio4plus.com/files/
|
||||
|
||||
|
|
@ -11,8 +11,9 @@ MAINTAINER= ports@FreeBSD.org
|
|||
COMMENT= Automatic ZFS snapshot management tool
|
||||
|
||||
USE_RUBY= yes
|
||||
USES= shebangfix
|
||||
RUBY_NO_BUILD_DEPENDS= yes
|
||||
RUBY_SHEBANG_FILES= zfs-snapshot-mgmt
|
||||
SHEBANG_FILES= zfs-snapshot-mgmt
|
||||
|
||||
NO_BUILD= yes
|
||||
NO_ARCH= yes
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
PORTNAME= rss
|
||||
PORTVERSION= 0.9.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= textproc ruby
|
||||
MASTER_SITES= http://www.chadfowler.com/ruby/rss/
|
||||
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
||||
|
|
@ -20,11 +20,12 @@ RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/xmlparser.so:textproc/ruby-xmlparser
|
|||
CONFLICTS= ruby-rss.alt-*
|
||||
|
||||
USE_RUBY= yes
|
||||
USES= shebangfix
|
||||
|
||||
NO_BUILD= yes
|
||||
INSTALL_TARGET= site-install
|
||||
|
||||
RUBY_SHEBANG_FILES= ${WRKSRC}/rssdrb.rb ${WRKSRC}/samples/rsstest.rb
|
||||
SHEBANG_FILES= ${WRKSRC}/rssdrb.rb ${WRKSRC}/samples/rsstest.rb
|
||||
DOCS= ChangeLog README
|
||||
|
||||
do-install:
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= rttool
|
||||
PORTVERSION= 1.0.3
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= textproc ruby
|
||||
MASTER_SITES= http://www.rubyist.net/~rubikitch/archive/ \
|
||||
LOCAL/tota/ruby-rttool
|
||||
|
|
@ -15,10 +16,11 @@ COMMENT= RT into HTML and plain text converter
|
|||
LICENSE= RUBY
|
||||
|
||||
USE_RUBY= yes
|
||||
USES= shebangfix
|
||||
USE_RUBY_SETUP= yes
|
||||
USE_RUBY_RDTOOL= yes
|
||||
|
||||
RUBY_SHEBANG_FILES= bin/rt/* lib/rt/*
|
||||
SHEBANG_FILES= bin/rt/* lib/rt/*
|
||||
RUBY_MODNAME= rt
|
||||
|
||||
DOCS_EN= rttool.en.html rttool.en.rd
|
||||
|
|
|
|||
|
|
@ -3,19 +3,21 @@
|
|||
|
||||
PORTNAME= xhtml
|
||||
PORTVERSION= 1.1.${RECDATE}
|
||||
PORTREVISION= 2
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= textproc
|
||||
MASTER_SITES= http://www.w3.org/TR/2007/WD-xhtml11-${RECDATE}/
|
||||
DISTNAME= xhtml11
|
||||
MASTER_SITES= http://www.w3.org/TR/2010/REC-xhtml11-${RECDATE}/
|
||||
PKGNAMESUFFIX= -11
|
||||
EXTRACT_SUFX= .tgz
|
||||
DISTNAME= xhtml11
|
||||
DIST_SUBDIR= ${DISTNAME}-${RECDATE}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
MAINTAINER= mandree@FreeBSD.org
|
||||
COMMENT= W3C's XHTML 1.1 DTD
|
||||
|
||||
RUN_DEPENDS= ${XMLCATMGR}:textproc/xmlcatmgr
|
||||
|
||||
RECDATE= 20070216
|
||||
USES= tar:tgz
|
||||
|
||||
RECDATE= 20101123
|
||||
|
||||
WRKSRC= ${WRKDIR}/xhtml11-${RECDATE}
|
||||
NO_BUILD= yes
|
||||
|
|
|
|||
|
|
@ -1,2 +1,2 @@
|
|||
SHA256 (xhtml11.tgz) = 9ff808fcb264ca2c13d540194cdd2286d1cdd7c346e622620d2e4c0e39265945
|
||||
SIZE (xhtml11.tgz) = 192036
|
||||
SHA256 (xhtml11-20101123/xhtml11.tgz) = 87893d097307cbf6b92fda5656ca3bc46536eeb389ab30b99ea95044d54d4d40
|
||||
SIZE (xhtml11-20101123/xhtml11.tgz) = 236494
|
||||
|
|
|
|||
|
|
@ -3,6 +3,6 @@
|
|||
"http://www.oasis-open.org/committees/entity/release/1.0/catalog.dtd">
|
||||
|
||||
<catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
|
||||
<public publicId="-//W3C//DTD XHTML 1.1//EN" uri="xhtml11.dtd" />
|
||||
<public publicId="-//W3C//DTD XHTML 1.1//EN" uri="xhtml11-flat.dtd" />
|
||||
<public publicId="-//W3C//ENTITIES XHTML 1.1 Document Model 1.0//EN" uri="xhtml11-model-1.mod" />
|
||||
</catalog>
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
@unexec %%SGMLCAT_RM%%
|
||||
@unexec %%XMLCAT_RM%%
|
||||
@preunexec %%SGMLCAT_RM%%
|
||||
@preunexec %%XMLCAT_RM%%
|
||||
share/xml/xhtml/1.1/dtd/VERSION
|
||||
share/xml/xhtml/1.1/dtd/catalog.xml
|
||||
share/xml/xhtml/1.1/dtd/xhtml11-flat.dtd
|
||||
|
|
@ -8,8 +8,9 @@ share/xml/xhtml/1.1/dtd/xhtml11.cat
|
|||
share/xml/xhtml/1.1/dtd/xhtml11.dtd
|
||||
share/xml/xhtml/1.1/dtd/xml1.dcl
|
||||
share/xml/xhtml/1.1/dtd/xml1n.dcl
|
||||
share/xml/xhtml/1.1/xsd/xhtml-ruby-1.xsd
|
||||
share/xml/xhtml/1.1/xsd/xhtml11-model-1.xsd
|
||||
share/xml/xhtml/1.1/xsd/xhtml11-modules-1.xsd
|
||||
share/xml/xhtml/1.1/xsd/xhtml11.xsd
|
||||
@exec %%XMLCAT_ADD%%
|
||||
@exec %%SGMLCAT_ADD%%
|
||||
@postexec %%XMLCAT_ADD%%
|
||||
@postexec %%SGMLCAT_ADD%%
|
||||
|
|
|
|||
|
|
@ -16,10 +16,10 @@ LICENSE_COMB= dual
|
|||
|
||||
RUN_DEPENDS= ${RUBY_SITELIBDIR}/htree.rb:textproc/ruby-htree
|
||||
|
||||
USES= gmake
|
||||
USES= gmake shebangfix
|
||||
USE_RUBY= yes
|
||||
|
||||
RUBY_SHEBANG_FILES= main.rb rb-link rb2rm rm2rb
|
||||
SHEBANG_FILES= main.rb rb-link rb2rm rm2rb
|
||||
PORTDOCS= README README.ja
|
||||
PORTEXAMPLES= config.yml t.latest.html
|
||||
|
||||
|
|
|
|||
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
PORTNAME= tdiary
|
||||
PORTVERSION= 4.2.1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES?= www ruby
|
||||
MASTER_SITES= http://www.tdiary.org/download/
|
||||
DISTNAME= ${PORTNAME}-full-v${PORTVERSION}
|
||||
|
|
@ -22,17 +23,16 @@ RUN_DEPENDS= rubygem-emot>=0.0.4:textproc/rubygem-emot \
|
|||
NO_ARCH= yes
|
||||
NO_BUILD= yes
|
||||
USE_RUBY= yes
|
||||
USES= shebangfix
|
||||
|
||||
RUBY_SHEBANG_FILES= index.fcgi \
|
||||
index.rb \
|
||||
update.fcgi \
|
||||
update.rb \
|
||||
bin/tdiary \
|
||||
misc/convert2.rb \
|
||||
misc/migrate.rb \
|
||||
misc/plugin/amazon/amazonimg.rb \
|
||||
misc/plugin/squeeze.rb \
|
||||
misc/plugin/xmlrpc/xmlrpc.rb
|
||||
SHEBANG_FILES= index.fcgi \
|
||||
index.rb \
|
||||
update.fcgi \
|
||||
update.rb \
|
||||
bin/tdiary \
|
||||
misc/plugin/amazon/amazonimg.rb \
|
||||
misc/plugin/squeeze.rb \
|
||||
misc/plugin/xmlrpc/xmlrpc.rb
|
||||
|
||||
DOCFILES= HOWTO-authenticate-in-rack HOWTO-make-io \
|
||||
HOWTO-make-plugin HOWTO-make-theme \
|
||||
|
|
@ -88,8 +88,9 @@ pre-patch:
|
|||
pre-install:
|
||||
@${SED} -e 's,#!/usr/bin/env ruby,#!${RUBY},' \
|
||||
${WRKDIR}/tdiaryinst.rb > ${WRKDIR}/${TDIARY_SCRIPT}
|
||||
@${REINPLACE_CMD} '/#!\/usr\/bin\/env ruby/d' ${WRKSRC}/misc/convert2.rb
|
||||
@${REINPLACE_CMD} '/#!\/usr\/bin\/env ruby/d' ${WRKSRC}/misc/migrate.rb
|
||||
@${REINPLACE_CMD} 's!%%LOCALBASE%%!${LOCALBASE}!g' \
|
||||
${WRKSRC}/misc/convert2.rb \
|
||||
${WRKSRC}/misc/migrate.rb
|
||||
@${FIND} ${WRKSRC} -name "*.orig" -delete
|
||||
|
||||
do-install:
|
||||
|
|
|
|||
10
www/tdiary/files/patch-misc_convert2.rb
Normal file
10
www/tdiary/files/patch-misc_convert2.rb
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
--- misc/convert2.rb.orig 2016-04-23 13:50:46 UTC
|
||||
+++ misc/convert2.rb
|
||||
@@ -1,5 +1,6 @@
|
||||
+#!%%LOCALBASE%%/bin/ruby
|
||||
+#
|
||||
# -*- coding: utf-8; -*-
|
||||
-#!/usr/bin/env ruby
|
||||
#
|
||||
# convert2: convert diary data file format tDiary1 to tDiary2.
|
||||
#
|
||||
10
www/tdiary/files/patch-misc_migrate.rb
Normal file
10
www/tdiary/files/patch-misc_migrate.rb
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
--- misc/migrate.rb.orig 2016-04-23 13:50:46 UTC
|
||||
+++ misc/migrate.rb
|
||||
@@ -1,5 +1,6 @@
|
||||
+#!%%LOCALBASE%%/bin/ruby
|
||||
+#
|
||||
# -*- coding: utf-8; -*-
|
||||
-#!/usr/bin/env ruby
|
||||
#
|
||||
# migrate.rb $Revision: 1.2 $
|
||||
#
|
||||
Loading…
Add table
Reference in a new issue