summaryrefslogtreecommitdiff
path: root/net/sdist
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>2013-03-14 15:49:10 +0000
committerkim <kim@pkgsrc.org>2013-03-14 15:49:10 +0000
commitd1362325a108a122535f85a35011fdbe43250b3c (patch)
tree10e34a89fbee5a66f86afacfe093ebec75907dc6 /net/sdist
parent434e8dc6e22f06763f12b9926bf08195d4d8dc3f (diff)
downloadpkgsrc-d1362325a108a122535f85a35011fdbe43250b3c.tar.gz
Revive MASTER_SITES.
Update net/sdist to version 1.9: - Add configuration file (sdist.conf). - Change the default netgroup to dist-os-rel-arch and add options to not use the release (-norel) and/or architecture (-noarch).
Diffstat (limited to 'net/sdist')
-rw-r--r--net/sdist/Makefile24
-rw-r--r--net/sdist/PLIST3
-rw-r--r--net/sdist/distinfo9
-rw-r--r--net/sdist/patches/patch-aa25
4 files changed, 44 insertions, 17 deletions
diff --git a/net/sdist/Makefile b/net/sdist/Makefile
index cc145fba0bb..44b7401c60e 100644
--- a/net/sdist/Makefile
+++ b/net/sdist/Makefile
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.16 2012/10/23 17:19:08 asau Exp $
+# $NetBSD: Makefile,v 1.17 2013/03/14 15:49:10 kim Exp $
#
-DISTNAME= sdist-1.7
-PKGREVISION= 1
+DISTNAME= sdist-1.9
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 rdist to distribute files to a set of hosts
@@ -20,14 +19,15 @@ SDIST_PAWD?= pwd
BUILD_DEFS+= SDIST_PAWD
-INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8
-NO_CONFIGURE= yes
-BUILD_MAKE_FLAGS+= PREFIX=${PREFIX} PAWD=${SDIST_PAWD}
-INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX}
+EGDIR= share/examples/${PKGBASE}
+
+CONF_FILES= ${PREFIX}/${EGDIR}/sdist.conf \
+ ${PKG_SYSCONFDIR}/sdist.conf
-SUBST_CLASSES+= manpath
-SUBST_STAGE.manpath= post-extract
-SUBST_FILES.manpath= Makefile
-SUBST_SED.manpath= -e 's,/man/,/${PKGMANDIR}/,'
+INSTALLATION_DIRS= sbin ${PKGMANDIR}/man8 ${EGDIR}
+NO_CONFIGURE= yes
+BUILD_MAKE_FLAGS+= PAWD=${SDIST_PAWD}
+INSTALL_MAKE_FLAGS+= EGDIR=${EGDIR}
+MAKE_FLAGS+= PREFIX=${PREFIX}
.include "../../mk/bsd.pkg.mk"
diff --git a/net/sdist/PLIST b/net/sdist/PLIST
index 53cae536af7..dc24e122de3 100644
--- a/net/sdist/PLIST
+++ b/net/sdist/PLIST
@@ -1,3 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2007/12/24 08:07:42 obache Exp $
+@comment $NetBSD: PLIST,v 1.3 2013/03/14 15:49:10 kim Exp $
man/man8/sdist.8
sbin/sdist
+share/examples/sdist/sdist.conf
diff --git a/net/sdist/distinfo b/net/sdist/distinfo
index e0bb308e827..98e10783532 100644
--- a/net/sdist/distinfo
+++ b/net/sdist/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.5 2006/06/04 07:58:36 kim Exp $
+$NetBSD: distinfo,v 1.6 2013/03/14 15:49:10 kim Exp $
-SHA1 (sdist-1.7.tar.gz) = 661e6061f23a0b93fbb3f594f320fad6a0d08795
-RMD160 (sdist-1.7.tar.gz) = ce2bc68d5db77bc724d9b4ffa42d410742b411f9
-Size (sdist-1.7.tar.gz) = 2879 bytes
+SHA1 (sdist-1.9.tar.gz) = ccbbffc7debac08be5164603df5645ad01859156
+RMD160 (sdist-1.9.tar.gz) = 8491ed4f23a750a80372779f5903ac038e50659c
+Size (sdist-1.9.tar.gz) = 5947 bytes
+SHA1 (patch-aa) = 03b8ce66b8930ee04487754bdb822790896b9998
diff --git a/net/sdist/patches/patch-aa b/net/sdist/patches/patch-aa
new file mode 100644
index 00000000000..3c212230b8b
--- /dev/null
+++ b/net/sdist/patches/patch-aa
@@ -0,0 +1,25 @@
+$NetBSD: patch-aa,v 1.3 2013/03/14 15:49:10 kim Exp $
+
+--- Makefile.orig 2011-09-02 17:44:12.000000000 +0300
++++ Makefile 2013-03-14 17:18:21.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}