summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkim <kim>2013-03-14 16:02:39 +0000
committerkim <kim>2013-03-14 16:02:39 +0000
commitfd2098f7614b007701ab108746bdb479452b923e (patch)
tree7d3f088cede4cc9356f1238086e182cead59b2f3
parentca43a3361f983f30200c57d57e95b3bb832fe538 (diff)
downloadpkgsrc-fd2098f7614b007701ab108746bdb479452b923e.tar.gz
Revive MASTER_SITES.
Updated net/srsh to 1.3: - No functional changes (upstream added Debian packaging support).
-rw-r--r--net/srsh/Makefile15
-rw-r--r--net/srsh/distinfo9
-rw-r--r--net/srsh/patches/patch-aa17
3 files changed, 26 insertions, 15 deletions
diff --git a/net/srsh/Makefile b/net/srsh/Makefile
index a18f2b063ec..9dc4438a932 100644
--- a/net/srsh/Makefile
+++ b/net/srsh/Makefile
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.13 2012/10/23 17:19:10 asau Exp $
+# $NetBSD: Makefile,v 1.14 2013/03/14 16:02:39 kim Exp $
#
-DISTNAME= srsh-1.2
-PKGREVISION= 1
+DISTNAME= srsh-1.3
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= Emulate rsh client behavior using ssh
@@ -15,12 +14,6 @@ DEPENDS+= {ssh{,6}-[0-9]*,openssh-[0-9]*}:../../security/openssh
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
NO_CONFIGURE= yes
-BUILD_MAKE_FLAGS+= PREFIX=${PREFIX}
-INSTALL_MAKE_FLAGS+= PREFIX=${DESTDIR}${PREFIX}
-
-SUBST_CLASSES+= manpath
-SUBST_STAGE.manpath= post-extract
-SUBST_FILES.manpath= Makefile
-SUBST_SED.manpath= -e 's,/man/,/${PKGMANDIR}/,'
+MAKE_FLAGS+= PREFIX=${PREFIX}
.include "../../mk/bsd.pkg.mk"
diff --git a/net/srsh/distinfo b/net/srsh/distinfo
index 6b40cae18b4..5fe17fba60d 100644
--- a/net/srsh/distinfo
+++ b/net/srsh/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:02:39 kim Exp $
-SHA1 (srsh-1.2.tar.gz) = 5b8c70572e7a52557b3b874ec51cec9ee4e71c0d
-RMD160 (srsh-1.2.tar.gz) = 7fbc027c71205d295c28b6629585950ba6beaee4
-Size (srsh-1.2.tar.gz) = 679 bytes
+SHA1 (srsh-1.3.tar.gz) = db01cab9e559157016a6455197f7ac484266b685
+RMD160 (srsh-1.3.tar.gz) = b8dd3a3df49c47d1ec4ab5e33a7e6111f52cdb81
+Size (srsh-1.3.tar.gz) = 686 bytes
+SHA1 (patch-aa) = dfe99342bb038989a147918441f996cb234a021b
diff --git a/net/srsh/patches/patch-aa b/net/srsh/patches/patch-aa
new file mode 100644
index 00000000000..401fd1c0329
--- /dev/null
+++ b/net/srsh/patches/patch-aa
@@ -0,0 +1,17 @@
+$NetBSD: patch-aa,v 1.1 2013/03/14 16:02:39 kim Exp $
+
+--- Makefile.orig 2011-09-02 02:43:42.000000000 +0300
++++ Makefile 2013-03-14 17:57:09.000000000 +0200
+@@ -12,10 +12,10 @@
+ install: install-bin install-man
+
+ install-bin: ${CMD}
+- install -c -m 755 ${CMD} ${PREFIX}/bin
++ ${BSD_INSTALL_SCRIPT} ${CMD} ${DESTDIR}${PREFIX}/bin
+
+ 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}