diff --git a/databases/Makefile b/databases/Makefile index e0dbda24fff0..b9fbf622f3ef 100644 --- a/databases/Makefile +++ b/databases/Makefile @@ -225,6 +225,7 @@ SUBDIR += mysql57-server SUBDIR += mysqlbackup SUBDIR += mysqlbigram + SUBDIR += mysqldump-secure SUBDIR += mysqldumper SUBDIR += mysqlidxchk SUBDIR += mysqlreport diff --git a/databases/mysqldump-secure/Makefile b/databases/mysqldump-secure/Makefile new file mode 100644 index 000000000000..e1c086988819 --- /dev/null +++ b/databases/mysqldump-secure/Makefile @@ -0,0 +1,28 @@ +# Created by: +# $FreeBSD$ + +PORTNAME= mysqldump-secure +PORTVERSION= 0.16.3 +CATEGORIES= databases + +MAINTAINER= jsmith@resonatingmedia.com +COMMENT= Simple tool for dumping/backing up MySQL and MariaDB databases + +LICENSE= MIT + +USE_GITHUB= yes +GH_ACCOUNT= cytopia + +USES= mysql gmake + +HAS_CONFIGURE= yes +CONFIGURE_ARGS= --prefix=${PREFIX} + +do-install: + gzip ${GZIP} ${WRKSRC}/build/${PORTNAME}.1 + ${INSTALL_SCRIPT} ${WRKSRC}/build/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/build/${PORTNAME}.conf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.conf.sample + ${INSTALL_DATA} ${WRKSRC}/build/${PORTNAME}.cnf ${STAGEDIR}${PREFIX}/etc/${PORTNAME}.cnf.sample + ${INSTALL_MAN} ${WRKSRC}/build/${PORTNAME}.1.gz ${STAGEDIR}${PREFIX}/man/man1 + +.include diff --git a/databases/mysqldump-secure/distinfo b/databases/mysqldump-secure/distinfo new file mode 100644 index 000000000000..229812582c06 --- /dev/null +++ b/databases/mysqldump-secure/distinfo @@ -0,0 +1,3 @@ +TIMESTAMP = 1483117336 +SHA256 (cytopia-mysqldump-secure-0.16.3_GH0.tar.gz) = 13e9a43f0e113d8e509694def44e68c19b0c3498c4a1ef55b5a96b5e67a84a8d +SIZE (cytopia-mysqldump-secure-0.16.3_GH0.tar.gz) = 376949 diff --git a/databases/mysqldump-secure/pkg-descr b/databases/mysqldump-secure/pkg-descr new file mode 100644 index 000000000000..727f88e5210c --- /dev/null +++ b/databases/mysqldump-secure/pkg-descr @@ -0,0 +1,6 @@ +Mysqldump-secure is a POSIX compliant open-source backup tool for MySQL +databases with strong security in mind. It will backup every available database +(which is readable by the specified user) as a separate file with the +possibility to opt out via blacklisting. + +WWW: http://mysqldump-secure.org/ diff --git a/databases/mysqldump-secure/pkg-plist b/databases/mysqldump-secure/pkg-plist new file mode 100644 index 000000000000..ff3c4bfecb62 --- /dev/null +++ b/databases/mysqldump-secure/pkg-plist @@ -0,0 +1,4 @@ +bin/mysqldump-secure +@sample etc/mysqldump-secure.cnf.sample +@sample etc/mysqldump-secure.conf.sample +man/man1/mysqldump-secure.1.gz