projects
/
monkeysphere.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
update changelog with work on MS #422
[monkeysphere.git]
/
packaging
/
macports
/
Portfile
diff --git
a/packaging/macports/Portfile
b/packaging/macports/Portfile
index 36c3635edc3b586ce6c6ea0e10b01cce8963cbe6..7d2f88e195dcd6e4e1284b75d0b6bce1e202a1d2 100644
(file)
--- a/
packaging/macports/Portfile
+++ b/
packaging/macports/Portfile
@@
-3,7
+3,7
@@
PortSystem 1.0
name monkeysphere
PortSystem 1.0
name monkeysphere
-version 0.2
4
+version 0.2
5
categories net security
maintainers nomaintainer
description use the OpenPGP web of trust to verify ssh connections
categories net security
maintainers nomaintainer
description use the OpenPGP web of trust to verify ssh connections
@@
-20,22
+20,22
@@
platforms darwin
depends_run bin:ssh:openssh \
port:gnupg \
depends_run bin:ssh:openssh \
port:gnupg \
- port:perl5
.10
\
+ port:perl5 \
port:p5-crypt-openssl-rsa \
port:p5-crypt-openssl-bignum \
port:p5-digest-sha1 \
port:p5-crypt-openssl-rsa \
port:p5-crypt-openssl-bignum \
port:p5-digest-sha1 \
- port:procmail \
- port:socat
+ port:procmail
master_sites http://archive.monkeysphere.info/debian/pool/monkeysphere/m/monkeysphere/
distname ${name}_${version}
extract.suffix .orig.tar.gz
worksrcdir ${name}-${version}
master_sites http://archive.monkeysphere.info/debian/pool/monkeysphere/m/monkeysphere/
distname ${name}_${version}
extract.suffix .orig.tar.gz
worksrcdir ${name}-${version}
-checksums md5
8590532f4702fa44027a6a583657c9ef
+checksums md5
1c6fedfa3cd89150ae75d5a26264c89d
use_configure no
post-build {
use_configure no
post-build {
+ # update paths to SYS*DIRs
exec sed -i .tmp -e "s|/etc/monkeysphere|${prefix}/etc/monkeysphere|g" \
${worksrcpath}/src/share/defaultenv \
${worksrcpath}/src/transitions/0.23 \
exec sed -i .tmp -e "s|/etc/monkeysphere|${prefix}/etc/monkeysphere|g" \
${worksrcpath}/src/share/defaultenv \
${worksrcpath}/src/transitions/0.23 \
@@
-55,6
+55,12
@@
post-build {
${worksrcpath}/src/monkeysphere-host \
${worksrcpath}/src/monkeysphere-authentication \
${worksrcpath}/src/monkeysphere
${worksrcpath}/src/monkeysphere-host \
${worksrcpath}/src/monkeysphere-authentication \
${worksrcpath}/src/monkeysphere
+
+ # fix perl shebang line to point to macports perl install
+ exec sed -i .tmp -e "s|^#!/usr/bin/perl -T$|#!/opt/local/bin/perl -T|" \
+ ${worksrcpath}/src/share/keytrans
+
+ # remove leftover sed cruft
exec find ${worksrcpath} -name *.tmp -delete
}
exec find ${worksrcpath} -name *.tmp -delete
}