From owner-svn-ports-all@freebsd.org Tue Jun 18 15:57:12 2019 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 4BF5715C1A82; Tue, 18 Jun 2019 15:57:12 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E1D3483784; Tue, 18 Jun 2019 15:57:11 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id BAB92F5DC; Tue, 18 Jun 2019 15:57:11 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x5IFvBFd028274; Tue, 18 Jun 2019 15:57:11 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x5IFvA5S028268; Tue, 18 Jun 2019 15:57:10 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <201906181557.x5IFvA5S028268@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Tue, 18 Jun 2019 15:57:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r504488 - in head/sysutils: . eclat eclat/files X-SVN-Group: ports-head X-SVN-Commit-Author: danfe X-SVN-Commit-Paths: in head/sysutils: . eclat eclat/files X-SVN-Commit-Revision: 504488 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: E1D3483784 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.95 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.999,0]; NEURAL_HAM_SHORT(-0.95)[-0.949,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 Jun 2019 15:57:12 -0000 Author: danfe Date: Tue Jun 18 15:57:10 2019 New Revision: 504488 URL: https://svnweb.freebsd.org/changeset/ports/504488 Log: Add a port of Eclat (EC2 Command Line Administrator Tool). Requested by: Zeus Panchenko (maintainer) Added: head/sysutils/eclat/ head/sysutils/eclat/Makefile (contents, props changed) head/sysutils/eclat/distinfo (contents, props changed) head/sysutils/eclat/files/ head/sysutils/eclat/files/patch-lib_ldapmap.c (contents, props changed) head/sysutils/eclat/pkg-descr (contents, props changed) head/sysutils/eclat/pkg-plist (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Tue Jun 18 15:26:00 2019 (r504487) +++ head/sysutils/Makefile Tue Jun 18 15:57:10 2019 (r504488) @@ -294,6 +294,7 @@ SUBDIR += dwatch-pwsnoop SUBDIR += e2fsprogs SUBDIR += ec2-scripts + SUBDIR += eclat SUBDIR += edid-decode SUBDIR += eject SUBDIR += eksctl Added: head/sysutils/eclat/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/eclat/Makefile Tue Jun 18 15:57:10 2019 (r504488) @@ -0,0 +1,37 @@ +# Created by: Alexey Dokuchaev +# $FreeBSD$ + +PORTNAME= eclat +PORTVERSION= 2.0 +CATEGORIES= sysutils +MASTER_SITES= http://download.gnu.org.ua/pub/release/${PORTNAME}/ \ + http://download.gnu.org.ua/pub/alpha/${PORTNAME}/ + +MAINTAINER= zeus@gnu.org.ua +COMMENT= EC2 command line administration tool + +LICENSE= GPLv3 + +LIB_DEPENDS= libcurl.so:ftp/curl \ + libexpat.so:textproc/expat2 + +USES= localbase tar:xz +GNU_CONFIGURE= yes +MAKE_JOBS_UNSAFE= yes + +PORTDOCS= AUTHORS ChangeLog NEWS README THANKS TODO + +OPTIONS_DEFINE= DOCS GDBM LDAP +OPTIONS_DEFAULT= GDBM + +GDBM_LIB_DEPENDS= libgdbm.so:databases/gdbm +GDBM_CONFIGURE_WITH= gdbm + +LDAP_USE= OPENLDAP=yes +LDAP_CONFIGURE_WITH= ldap + +post-install-DOCS-on: + @${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR} + +.include Added: head/sysutils/eclat/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/eclat/distinfo Tue Jun 18 15:57:10 2019 (r504488) @@ -0,0 +1,3 @@ +TIMESTAMP = 1521176820 +SHA256 (eclat-2.0.tar.xz) = 72ce20a15adc624917fa2ed989da7f60fea73bd1f46fb118c3917105b12dc8b2 +SIZE (eclat-2.0.tar.xz) = 408832 Added: head/sysutils/eclat/files/patch-lib_ldapmap.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/eclat/files/patch-lib_ldapmap.c Tue Jun 18 15:57:10 2019 (r504488) @@ -0,0 +1,56 @@ +--- lib/ldapmap.c.orig 2018-03-16 04:58:17 UTC ++++ lib/ldapmap.c +@@ -201,7 +201,7 @@ ldap_map_free(int dbg, void *data) + } + + +-static void ldap_unbind(LDAP *ld); ++static void eclat_ldap_unbind(LDAP *ld); + + static void + dns2txtacc(struct grecs_txtacc *acc, LDAPURLDesc *lud) +@@ -353,7 +353,7 @@ ldap_connect(int dbg, struct ldap_map *map) + ldap_memfree(msg); + + if (map->tls == tls_only) { +- ldap_unbind(ld); ++ eclat_ldap_unbind(ld); + return NULL; + } + /* try to continue anyway */ +@@ -365,7 +365,7 @@ ldap_connect(int dbg, struct ldap_map *map) + } + + static int +-ldap_bind(int dbg, struct ldap_map *map) ++eclat_ldap_bind(int dbg, struct ldap_map *map) + { + int msgid, ec, rc; + LDAPMessage *result; +@@ -441,7 +441,7 @@ ldap_bind(int dbg, struct ldap_map *map) + } + + static void +-ldap_unbind(LDAP *ld) ++eclat_ldap_unbind(LDAP *ld) + { + if (ld) { + ldap_set_option(ld, LDAP_OPT_SERVER_CONTROLS, NULL); +@@ -515,7 +515,7 @@ ldap_map_open(int dbg, void *data) + map->ld = ldap_connect(dbg, map); + if (!map->ld) + return eclat_map_failure; +- if (ldap_bind(dbg, map)) ++ if (eclat_ldap_bind(dbg, map)) + return eclat_map_failure; + return eclat_map_ok; + } +@@ -524,7 +524,7 @@ static int + ldap_map_close(int dbg, void *data) + { + struct ldap_map *map = data; +- ldap_unbind(map->ld); ++ eclat_ldap_unbind(map->ld); + return 0; + } + Added: head/sysutils/eclat/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/eclat/pkg-descr Tue Jun 18 15:57:10 2019 (r504488) @@ -0,0 +1,7 @@ +Eclat stands for EC2 Command Line Administrator Tool. It allows you to +manage Amazon EC2 services from the command line, fast and easy. It does +not require resource-consuming libraries. It is written in plain C, +depends only on libraries which are always installed on any decent system, +and has low resource requirements. + +WWW: http://puszcza.gnu.org.ua/software/eclat/ Added: head/sysutils/eclat/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/eclat/pkg-plist Tue Jun 18 15:57:10 2019 (r504488) @@ -0,0 +1,49 @@ +bin/eclat +bin/ispeek +etc/eclat.conf +man/man1/eclat-assocaddr.1.gz +man/man1/eclat-atvol.1.gz +man/man1/eclat-clrsattr.1.gz +man/man1/eclat-cpimg.1.gz +man/man1/eclat-cpsnap.1.gz +man/man1/eclat-deimg.1.gz +man/man1/eclat-devol.1.gz +man/man1/eclat-disasaddr.1.gz +man/man1/eclat-dmesg.1.gz +man/man1/eclat-lsaattr.1.gz +man/man1/eclat-lsaddr.1.gz +man/man1/eclat-lsiattr.1.gz +man/man1/eclat-lsimg.1.gz +man/man1/eclat-lsinst.1.gz +man/man1/eclat-lsistat.1.gz +man/man1/eclat-lsreg.1.gz +man/man1/eclat-lssattr.1.gz +man/man1/eclat-lssg.1.gz +man/man1/eclat-lssnap.1.gz +man/man1/eclat-lstag.1.gz +man/man1/eclat-lsvol.1.gz +man/man1/eclat-lszon.1.gz +man/man1/eclat-mkaddr.1.gz +man/man1/eclat-mkimg.1.gz +man/man1/eclat-mkinst.1.gz +man/man1/eclat-mksg.1.gz +man/man1/eclat-mksnap.1.gz +man/man1/eclat-mktag.1.gz +man/man1/eclat-mkvol.1.gz +man/man1/eclat-mkvpc.1.gz +man/man1/eclat-reboot.1.gz +man/man1/eclat-rmaddr.1.gz +man/man1/eclat-rmsg.1.gz +man/man1/eclat-rmsnap.1.gz +man/man1/eclat-rmtag.1.gz +man/man1/eclat-setaattr.1.gz +man/man1/eclat-setiattr.1.gz +man/man1/eclat-setsattr.1.gz +man/man1/eclat-sg.1.gz +man/man1/eclat-start.1.gz +man/man1/eclat-stop.1.gz +man/man1/eclat.1.gz +man/man1/ispeek.1.gz +man/man5/eclat.conf.5.gz +%%DATADIR%%/compl.sh +%%DATADIR%%/eclat.forlan