pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Reduce difference with net/tor.
Module Name: pkgsrc-wip
Committed By: Alexander Nasonov <alnsn%yandex.ru@localhost>
Pushed By: alnsn
Date: Sat May 4 12:33:01 2019 +0100
Changeset: 35ae3cd47822d14029a8feccfeede8dfe0691a7f
Modified Files:
tor-dev/Makefile
Log Message:
Reduce difference with net/tor.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=35ae3cd47822d14029a8feccfeede8dfe0691a7f
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
tor-dev/Makefile | 31 +++++++++----------------------
1 file changed, 9 insertions(+), 22 deletions(-)
diffs:
diff --git a/tor-dev/Makefile b/tor-dev/Makefile
index 606882e5a8..8a1805ead7 100644
--- a/tor-dev/Makefile
+++ b/tor-dev/Makefile
@@ -3,7 +3,7 @@
DISTNAME= tor-0.4.0.4-rc
PKGNAME= ${DISTNAME:S/tor/tordev/:S/-alpha//:S/-rc/rc0/}
CATEGORIES= net security
-MASTER_SITES= http://www.torproject.org/dist/
+MASTER_SITES= https://dist.torproject.org/
MAINTAINER= alnsn%NetBSD.org@localhost
HOMEPAGE= http://www.torproject.org/
@@ -12,18 +12,14 @@ LICENSE= modified-bsd
USE_LANGUAGES= c99
USE_PKGLOCALEDIR= yes
+USE_TOOLS+= perl:test pkg-config
GNU_CONFIGURE= yes
-
-USE_TOOLS+= pkg-config
-
-CONFIGURE_ENV+= CPP=${CPP:Q}
-CONFIGURE_ENV+= CONFDIR=${PKG_SYSCONFDIR}
-CONFIGURE_ARGS+= --program-suffix=-dev
+CONFIGURE_ARGS+= --localstatedir=${VARBASE}
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASEDIR}
+CONFIGURE_ARGS+= --program-suffix=-dev
CONFIGURE_ARGS+= --docdir=${PREFIX}/share/doc/tordev
+CONFIGURE_ENV+= CPP=${CPP:Q}
-# one test failure in 0.3.5.3-alpha
-# https://trac.torproject.org/projects/tor/ticket/27948
TEST_TARGET= check
TOR_USER?= tordev
@@ -44,8 +40,6 @@ USER_GROUP= ${TOR_USER} ${TOR_GROUP}
OWN_DIRS_PERMS+= ${PKG_HOME.${TOR_USER}} ${USER_GROUP} 0700
-CONFIGURE_ARGS+= --localstatedir=${VARBASE}
-
CONF_FILES+= ${PREFIX}/share/examples/tordev/torrc.sample \
${PKG_SYSCONFDIR}/torrc
@@ -57,7 +51,9 @@ FILES_SUBST+= TOR_USER=${TOR_USER} TOR_GROUP=${TOR_GROUP}
INSTALL_MAKE_FLAGS+= sysconfdir=${PREFIX}/share/examples
-CHECK_PORTABILITY_SKIP+= contrib/*
+CHECK_PORTABILITY_SKIP+=contrib/*
+
+.include "options.mk"
.include "../../mk/bsd.prefs.mk"
@@ -65,18 +61,9 @@ CHECK_PORTABILITY_SKIP+= contrib/*
CFLAGS+= -c99
.endif
-.PHONY: post-install-paxctl-AM:
-post-install: post-install-paxctl-AM
-post-install-paxctl-AM:
- ${PAXCTL} +AM ${DESTDIR}${PREFIX}/bin/tor-dev
-
+.include "../../archivers/zstd/buildlink3.mk"
BUILDLINK_API_DEPENDS.libevent+= libevent>=2.0
.include "../../devel/libevent/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
-
-## We include this after other b3.mk files since we use PTHREAD_TYPE.
-##
-.include "options.mk"
-
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index