pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

+i2pd-git: a git version of i2pd



Module Name:	pkgsrc-wip
Committed By:	Jake Slazenger <jake.slazenger%yandex.com@localhost>
Pushed By:	jakeSlaz
Date:		Wed Mar 14 00:28:52 2018 +0300
Changeset:	5b7c5f7c64c066bde25d2396f794367d142338d7

Added Files:
	i2pd-git/DESCR
	i2pd-git/Makefile
	i2pd-git/PLIST
	i2pd-git/TODO
	i2pd-git/distinfo
	i2pd-git/patches/patch-CMakeLists.txt

Log Message:
+i2pd-git: a git version of i2pd

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=5b7c5f7c64c066bde25d2396f794367d142338d7

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 i2pd-git/DESCR                        |  0
 i2pd-git/Makefile                     | 39 +++++++++++++++++++++++++++++++++++
 i2pd-git/PLIST                        |  2 ++
 i2pd-git/TODO                         |  1 +
 i2pd-git/distinfo                     |  7 +++++++
 i2pd-git/patches/patch-CMakeLists.txt | 37 +++++++++++++++++++++++++++++++++
 6 files changed, 86 insertions(+)

diffs:
diff --git a/i2pd-git/DESCR b/i2pd-git/DESCR
new file mode 100644
index 0000000000..e69de29bb2
diff --git a/i2pd-git/Makefile b/i2pd-git/Makefile
new file mode 100644
index 0000000000..db24b7e1c4
--- /dev/null
+++ b/i2pd-git/Makefile
@@ -0,0 +1,39 @@
+# $NetBSD$
+
+.include	"../../wip/libi2pd/Makefile.common"
+
+GIT_SHA=	ce8d701ecb92be1563681ec9ce98a9e4d02041fd
+DISTNAME=	i2pd-${GIT_SHA}
+PKGNAME=	i2pd-git-${GIT_SHA}
+MASTER_SITES= -https://github.com/PurpleI2P/i2pd/archive/${GIT_SHA}.tar.gz
+WRKSRC=		${WRKDIR}/i2pd-${GIT_SHA}/build
+
+COMMENT=	Full-featured C++ implementation of I2P client
+
+CMAKE_ARGS+=	-DWITH_BINARY=yes
+CMAKE_ARGS+=	-DWITH_LIBRARY=no
+
+I2PD_USER=	i2pd
+I2PD_GROUP=	i2pd
+
+CONFLICTS+= i2pd-[0-9]*
+
+PKG_USERS=	${I2PD_USER}:${I2PD_GROUP}
+PKG_GROUPS=	${I2PD_GROUP}
+
+MAKE_DIRS+=${PREFIX}/etc/i2pd
+MAKE_DIRS+=${VARBASE}/db/i2pd
+MAKE_DIRS+=${VARBASE}/log/i2pd
+MAKE_DIRS+=${VARBASE}/run/i2pd
+
+MAKE_DIRS_PERMS+=${VARBASE}/db/i2pd \
+				 ${I2PD_USER} ${I2PD_GROUP} 0755
+MAKE_DIRS_PERMS+=${VARBASE}/log/i2pd \
+				 ${I2PD_USER} ${I2PD_GROUP} 0755
+MAKE_DIRS_PERMS+=${VARBASE}/run/i2pd \
+				 ${I2PD_USER} ${I2PD_GROUP} 0755
+
+post-install:
+	${INSTALL_DATA} ${DESTDIR}/${PREFIX}/etc/i2pd
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/i2pd-git/PLIST b/i2pd-git/PLIST
new file mode 100644
index 0000000000..8d2f90f8da
--- /dev/null
+++ b/i2pd-git/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD$
+bin/i2pd
diff --git a/i2pd-git/TODO b/i2pd-git/TODO
new file mode 100644
index 0000000000..5e9265cfd1
--- /dev/null
+++ b/i2pd-git/TODO
@@ -0,0 +1 @@
+* Rewrite Makefile like one in wip/i2pd
diff --git a/i2pd-git/distinfo b/i2pd-git/distinfo
new file mode 100644
index 0000000000..01b06cbad9
--- /dev/null
+++ b/i2pd-git/distinfo
@@ -0,0 +1,7 @@
+$NetBSD$
+
+SHA1 (i2pd/i2pd-ce8d701ecb92be1563681ec9ce98a9e4d02041fd.tar.gz) = 2bbaa598d7dcfb1b5e3e9a06798ed54194d7d13a
+RMD160 (i2pd/i2pd-ce8d701ecb92be1563681ec9ce98a9e4d02041fd.tar.gz) = 9ce3aaccddfdef32d58e19427edf8d59bc724ee7
+SHA512 (i2pd/i2pd-ce8d701ecb92be1563681ec9ce98a9e4d02041fd.tar.gz) = 9cf23be13c6ba044d4eaeb51c9560e20f0fe8fef518d458d626e999b68e3dfae2c8f69de8ec2bc08fb85ba8173c01e2a20538ce4e2307f424bd595cfb0f15fc9
+Size (i2pd/i2pd-ce8d701ecb92be1563681ec9ce98a9e4d02041fd.tar.gz) = 1878557 bytes
+SHA1 (patch-CMakeLists.txt) = a1ee29bcef6e69297e31b10f609d376bc30e890d
diff --git a/i2pd-git/patches/patch-CMakeLists.txt b/i2pd-git/patches/patch-CMakeLists.txt
new file mode 100644
index 0000000000..e73c1d8aea
--- /dev/null
+++ b/i2pd-git/patches/patch-CMakeLists.txt
@@ -0,0 +1,37 @@
+$NetBSD$
+
+--- work/i2pd-ce8d701ecb92be1563681ec9ce98a9e4d02041fd/build/CMakeLists.txt	2018-03-11 16:20:47.000000000 +0000
++++ CMakeLists.txt
+@@ -479,10 +479,10 @@ if (WITH_BINARY)
+   endif ()
+ endif ()
+ 
+-install(FILES ../LICENSE
+-  DESTINATION .
+-  COMPONENT Runtime
+-  )
++#install(FILES ../LICENSE
++#  DESTINATION .
++#  COMPONENT Runtime
++#  )
+ # Take a copy on Appveyor
+ install(FILES "C:/projects/openssl-$ENV{OPENSSL}/LICENSE"
+   DESTINATION .
+@@ -492,7 +492,7 @@ install(FILES "C:/projects/openssl-$ENV{
+   )
+ 
+ file(GLOB_RECURSE I2PD_SOURCES "../libi2pd/*.cpp" "../libi2pd_client/*.cpp" "../daemon/*.cpp" "../build" "../Win32" "../Makefile*")
+-install(FILES ${I2PD_SOURCES} DESTINATION src/ COMPONENT Source)
++#install(FILES ${I2PD_SOURCES} DESTINATION src/ COMPONENT Source)
+ # install(DIRECTORY ../ DESTINATION src/
+ #   # OPTIONAL
+ #   COMPONENT Source FILES_MATCHING
+@@ -501,7 +501,7 @@ install(FILES ${I2PD_SOURCES} DESTINATIO
+ #   )
+ 
+ file(GLOB I2PD_HEADERS "../libi2pd/*.h" "../libi2pd_client/*.h" "../daemon/*.h")
+-install(FILES ${I2PD_HEADERS} DESTINATION src/ COMPONENT Headers)
++#install(FILES ${I2PD_HEADERS} DESTINATION src/ COMPONENT Headers)
+ # install(DIRECTORY ../ DESTINATION src/
+ #   # OPTIONAL
+ #   COMPONENT Headers FILES_MATCHING


Home | Main Index | Thread Index | Old Index