diff --git a/srcpkgs/drist/patches/fix_permissions.patch b/srcpkgs/drist/patches/fix_permissions.patch new file mode 100644 index 00000000000..5bc7421ce56 --- /dev/null +++ b/srcpkgs/drist/patches/fix_permissions.patch @@ -0,0 +1,14 @@ +--- Makefile ++++ Makefile +@@ -11,9 +11,9 @@ + + install: + @echo installing executable to "${DESTDIR}${PREFIX}/bin" +- @install -D "${BIN}" "${DESTDIR}${BINDIR}/${BIN}" ++ @install -D -m 755 "${BIN}" "${DESTDIR}${BINDIR}/${BIN}" + @echo installing manual page to ${DESTDIR}${MANDIR}/man1 +- @install -D "${BIN}.1" "${DESTDIR}${MANDIR}/man1/${BIN}.1" ++ @install -D -m 644 "${BIN}.1" "${DESTDIR}${MANDIR}/man1/${BIN}.1" + + uninstall: + @echo removing executable file from "${DESTDIR}${PREFIX}/bin" diff --git a/srcpkgs/drist/template b/srcpkgs/drist/template new file mode 100644 index 00000000000..89f39b7eec8 --- /dev/null +++ b/srcpkgs/drist/template @@ -0,0 +1,20 @@ +# Template file for 'drist' +pkgname=drist +version=1.04 +revision=1 +archs=noarch +wrksrc=$pkgname-v$version +build_style=gnu-makefile +depends="openssh rsync" +short_desc="Remote deployment tool" +maintainer="Paper " +license="BSD-2-Clause" +homepage="gopher://bitreich.org/1/scm/drist/" +distfiles="ftp://bitreich.org/releases/drist/drist-v$version.tgz" +checksum=174e243b4ae41a3c3c9919b351f6fbe0c94e07b9b728310c78bfa767e810910d + +post_install() { + vlicense LICENSE + vmkdir usr/share/drist + vcopy examples /usr/share/drist/ +}