summaryrefslogtreecommitdiff
path: root/net/ssync
diff options
context:
space:
mode:
authorkim <kim>2013-03-14 16:36:48 +0000
committerkim <kim>2013-03-14 16:36:48 +0000
commit81415a7c065b2d337503243a4b0235d6fc845eef (patch)
tree583552e398f28fb3df7a0a434e07de7b5313dd70 /net/ssync
parent8efaacaabe282876028111b5fae9aa5bb0dab9f0 (diff)
downloadpkgsrc-81415a7c065b2d337503243a4b0235d6fc845eef.tar.gz
Revive MASTER_SITES.
Update net/ssync to 1.9.1: - Add configuration file (ssync.conf). - Change the default netgroup to dist-os-rel-arch and add options to not use the release (-c) and/or architecture (-g).
Diffstat (limited to 'net/ssync')
-rw-r--r--net/ssync/Makefile20
-rw-r--r--net/ssync/PLIST5
-rw-r--r--net/ssync/distinfo9
-rw-r--r--net/ssync/patches/patch-aa25
4 files changed, 47 insertions, 12 deletions
diff --git a/net/ssync/Makefile b/net/ssync/Makefile
index 9bc16af8132..b7c47306e80 100644
--- a/net/ssync/Makefile
+++ b/net/ssync/Makefile
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.12 2012/10/23 17:19:10 asau Exp $
+# $NetBSD: Makefile,v 1.13 2013/03/14 16:36:48 kim Exp $
#
-DISTNAME= ssync-1.6
+DISTNAME= ssync-1.9.1
CATEGORIES= net
-MASTER_SITES= # ftp://ftp.gw.com/pub/people/kim/
+MASTER_SITES= http://oss.gw.com/people/kim/
MAINTAINER= kim@tac.nyc.ny.us
COMMENT= Invoke rsync to distribute files to a set of hosts
@@ -17,9 +17,17 @@ DEPENDS+= srsh-[0-9]*:../../net/srsh
SSYNC_PAWD?= pwd
+BUILD_DEFS+= SSYNC_PAWD
+
+EGDIR= share/examples/${PKGBASE}
+
+CONF_FILES= ${PREFIX}/${EGDIR}/${PKGBASE}.conf \
+ ${PKG_SYSCONFDIR}/${PKGBASE}.conf
+
+INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8 ${EGDIR}
NO_CONFIGURE= yes
-BUILD_TARGET= all PREFIX=${PREFIX} PAWD=${SSYNC_PAWD}
-INSTALL_TARGET= install PREFIX=${DESTDIR}${PREFIX}
-INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8
+BUILD_MAKE_FLAGS+= PAWD=${SSYNC_PAWD}
+INSTALL_MAKE_FLAGS+= EGDIR=${EGDIR}
+MAKE_FLAGS+= PREFIX=${PREFIX}
.include "../../mk/bsd.pkg.mk"
diff --git a/net/ssync/PLIST b/net/ssync/PLIST
index 414b4157852..45e9f9624a0 100644
--- a/net/ssync/PLIST
+++ b/net/ssync/PLIST
@@ -1,3 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:59:12 zuntum Exp $
-sbin/ssync
+@comment $NetBSD: PLIST,v 1.2 2013/03/14 16:36:48 kim Exp $
man/man8/ssync.8
+sbin/ssync
+share/examples/ssync/ssync.conf
diff --git a/net/ssync/distinfo b/net/ssync/distinfo
index 8ad4b46e950..8045287fa3b 100644
--- a/net/ssync/distinfo
+++ b/net/ssync/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.3 2005/02/24 12:14:04 agc Exp $
+$NetBSD: distinfo,v 1.4 2013/03/14 16:36:48 kim Exp $
-SHA1 (ssync-1.6.tar.gz) = 3b5c00c5508e101b76b627d7771246603b1b1986
-RMD160 (ssync-1.6.tar.gz) = 3afcd5d119ad1dcd6d33f0a58f32014e6a26fac1
-Size (ssync-1.6.tar.gz) = 2540 bytes
+SHA1 (ssync-1.9.1.tar.gz) = d292d4cf7678c64cb174ae098c5d59223c9492ed
+RMD160 (ssync-1.9.1.tar.gz) = 0d85e42dee4b34d087c30e1a80160ca4eccc187b
+Size (ssync-1.9.1.tar.gz) = 5458 bytes
+SHA1 (patch-aa) = 1e24690586544ba25fd683ca5e1f8dbfbf4f7170
diff --git a/net/ssync/patches/patch-aa b/net/ssync/patches/patch-aa
new file mode 100644
index 00000000000..fca14a8c2b7
--- /dev/null
+++ b/net/ssync/patches/patch-aa
@@ -0,0 +1,25 @@
+$NetBSD: patch-aa,v 1.1 2013/03/14 16:36:48 kim Exp $
+
+--- Makefile.orig 2013-03-14 18:20:27.000000000 +0200
++++ Makefile 2013-03-14 18:27:07.000000000 +0200
+@@ -24,16 +24,16 @@
+ chmod a+rx $@
+
+ .PHONY: install
+-install: install-bin install-man
++install: install-bin install-conf install-man
+
+ install-bin: ${CMD}
+- install -c -m 755 ${CMD} ${PREFIX}/${BIN}/${CMD}
++ ${BSD_INSTALL_SCRIPT} $(CMD) ${DESTDIR}${PREFIX}/${BIN}/$(CMD)
+
+ install-conf:
+- install -c -m 644 ${CMD}.conf ${PREFIX}/etc/${CMD}.conf
++ ${BSD_INSTALL_DATA} ${CMD}.conf ${DESTDIR}${PREFIX}/${EGDIR}/${CMD}.conf
+
+ install-man:
+- install -c -m 444 ${CMD}.man ${PREFIX}/man/man${MAN}/${CMD}.${MAN}
++ ${BSD_INSTALL_MAN} $(CMD).man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man${MAN}/$(CMD).${MAN}
+
+ clean:
+ rm -f ${CMD}