pkgsrc-WIP-changes archive

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

i2pd: Don't install LICENSE and src/* files



Module Name:	pkgsrc-wip
Committed By:	Jake Slazenger <jake.slazenger%yandex.com@localhost>
Pushed By:	jakeSlaz
Date:		Thu Feb 21 23:07:31 2019 +0300
Changeset:	c79a4c7aab735ea63c0ba425a7fcc6d19e57d94c

Modified Files:
	i2pd/PLIST
	i2pd/distinfo
Added Files:
	i2pd/patches/patch-CMakeLists.txt

Log Message:
i2pd: Don't install LICENSE and src/* files

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

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

diffstat:
 i2pd/PLIST                        | 70 ---------------------------------------
 i2pd/distinfo                     |  4 +--
 i2pd/patches/patch-CMakeLists.txt | 29 ++++++++++++++++
 3 files changed, 30 insertions(+), 73 deletions(-)

diffs:
diff --git a/i2pd/PLIST b/i2pd/PLIST
index 28e12081a8..59857da0d0 100644
--- a/i2pd/PLIST
+++ b/i2pd/PLIST
@@ -1,146 +1,76 @@
 @comment $NetBSD$
-LICENSE
 bin/i2pd
 man/man1/i2pd.1
 share/examples/i2pd/i2pd.conf
 share/examples/i2pd/i2pd.conf.NetBSD
 share/examples/i2pd/tunnels.conf
-src/AddressBook.cpp
 src/AddressBook.h
-src/BOB.cpp
 src/BOB.h
-src/Base.cpp
 src/Base.h
-src/BloomFilter.cpp
 src/BloomFilter.h
-src/CPU.cpp
 src/CPU.h
-src/ChaCha20.cpp
 src/ChaCha20.h
-src/ClientContext.cpp
 src/ClientContext.h
-src/Config.cpp
 src/Config.h
-src/Crypto.cpp
 src/Crypto.h
-src/CryptoKey.cpp
 src/CryptoKey.h
 src/CryptoWorker.h
-src/Daemon.cpp
 src/Daemon.h
-src/Datagram.cpp
 src/Datagram.h
-src/Destination.cpp
 src/Destination.h
-src/Ed25519.cpp
 src/Ed25519.h
-src/Event.cpp
 src/Event.h
-src/FS.cpp
 src/FS.h
-src/Family.cpp
 src/Family.h
-src/Garlic.cpp
 src/Garlic.h
-src/Gost.cpp
 src/Gost.h
-src/Gzip.cpp
 src/Gzip.h
-src/HTTP.cpp
 src/HTTP.h
-src/HTTPProxy.cpp
 src/HTTPProxy.h
-src/HTTPServer.cpp
 src/HTTPServer.h
-src/I2CP.cpp
 src/I2CP.h
-src/I2NPProtocol.cpp
 src/I2NPProtocol.h
-src/I2PControl.cpp
 src/I2PControl.h
-src/I2PEndian.cpp
 src/I2PEndian.h
-src/I2PService.cpp
 src/I2PService.h
-src/I2PTunnel.cpp
 src/I2PTunnel.h
-src/Identity.cpp
 src/Identity.h
-src/LeaseSet.cpp
 src/LeaseSet.h
 src/LittleBigEndian.h
-src/Log.cpp
 src/Log.h
-src/Makefile
-src/Makefile.bsd
-src/Makefile.homebrew
-src/Makefile.linux
-src/Makefile.mingw
-src/Makefile.osx
-src/MatchedDestination.cpp
 src/MatchedDestination.h
-src/NTCP2.cpp
 src/NTCP2.h
-src/NTCPSession.cpp
 src/NTCPSession.h
-src/NetDb.cpp
-src/NetDbRequests.cpp
 src/NetDbRequests.h
-src/Poly1305.cpp
 src/Poly1305.h
-src/Profiling.cpp
 src/Profiling.h
 src/Queue.h
-src/Reseed.cpp
 src/Reseed.h
-src/RouterContext.cpp
 src/RouterContext.h
-src/RouterInfo.cpp
 src/RouterInfo.h
-src/SAM.cpp
 src/SAM.h
-src/SOCKS.cpp
 src/SOCKS.h
-src/SSU.cpp
 src/SSU.h
-src/SSUData.cpp
 src/SSUData.h
-src/SSUSession.cpp
 src/SSUSession.h
-src/Signature.cpp
 src/Signature.h
 src/Siphash.h
-src/Streaming.cpp
 src/Streaming.h
 src/Tag.h
-src/Timestamp.cpp
 src/Timestamp.h
-src/TransitTunnel.cpp
 src/TransitTunnel.h
 src/TransportSession.h
-src/Transports.cpp
 src/Transports.h
-src/Tunnel.cpp
 src/Tunnel.h
 src/TunnelBase.h
 src/TunnelConfig.h
-src/TunnelEndpoint.cpp
 src/TunnelEndpoint.h
-src/TunnelGateway.cpp
 src/TunnelGateway.h
-src/TunnelPool.cpp
 src/TunnelPool.h
-src/UPnP.cpp
 src/UPnP.h
-src/UnixDaemon.cpp
-src/WebSocks.cpp
 src/WebSocks.h
-src/Websocket.cpp
 src/Websocket.h
-src/api.cpp
 src/api.h
-src/i2pd.cpp
-src/util.cpp
 src/util.h
 src/version.h
 var/i2pd/certificates/family/gostcoin.crt
diff --git a/i2pd/distinfo b/i2pd/distinfo
index fd15d6cfe0..5a1f9aacda 100644
--- a/i2pd/distinfo
+++ b/i2pd/distinfo
@@ -4,6 +4,4 @@ SHA1 (i2pd/i2pd-2.23.0.tar.gz) = 62ae337bb5ca84db6223327359c817936f09af6c
 RMD160 (i2pd/i2pd-2.23.0.tar.gz) = 284b8804eba2e67e9e396a9b61bef5ef0be5a3f4
 SHA512 (i2pd/i2pd-2.23.0.tar.gz) = b547fa5b4ab3fbdf51cded846966b702304cc3dcbafbf3b4fc0e93e1907e45a649dd19eabc851309dfb7d3aa8ef84eefcb2cf1a3cda8549f90200da54df06923
 Size (i2pd/i2pd-2.23.0.tar.gz) = 1008677 bytes
-SHA1 (patch-CMakeLists.txt) = 1a8eecd49068d3a55351640da96d2d83ef0eeeb7
-SHA1 (patch-I2PEndian.h) = c627fe0f6d8bfe10badd2b4cb8e6513c2c31767d
-SHA1 (patch-NTCPSession.cpp) = ae87892d65a0e6e088059f14c9a1c62c37feaca3
+SHA1 (patch-CMakeLists.txt) = 58c70126307b7f74b709871bfa38c5b51baf3013
diff --git a/i2pd/patches/patch-CMakeLists.txt b/i2pd/patches/patch-CMakeLists.txt
new file mode 100644
index 0000000000..61e8e1dc05
--- /dev/null
+++ b/i2pd/patches/patch-CMakeLists.txt
@@ -0,0 +1,29 @@
+$NetBSD$
+
+# Don't install LICENSE and src/* files.
+--- build/CMakeLists.txt	2019-01-21 15:51:04.000000000 +0000
++++ build/CMakeLists.txt
+@@ -484,10 +484,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 .
+@@ -497,7 +497,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


Home | Main Index | Thread Index | Old Index