From 7ba45330afdb91a818c0b4cb3360d080f144e788 Mon Sep 17 00:00:00 2001 From: Mrowqa Date: Sun, 1 Dec 2013 00:37:04 +0100 Subject: [PATCH 1/6] Added RDesktop and BeRDP, work by GCI2013 student Artur Jamro (Mrowqa) --- net-misc/berdp/berdp-1.recipe | 47 ++++++++++++++++++++ net-misc/rdesktop/rdesktop-1.8.0.recipe | 58 +++++++++++++++++++++++++ 2 files changed, 105 insertions(+) create mode 100644 net-misc/berdp/berdp-1.recipe create mode 100644 net-misc/rdesktop/rdesktop-1.8.0.recipe diff --git a/net-misc/berdp/berdp-1.recipe b/net-misc/berdp/berdp-1.recipe new file mode 100644 index 000000000..f3bf87da4 --- /dev/null +++ b/net-misc/berdp/berdp-1.recipe @@ -0,0 +1,47 @@ +DESCRIPTION="BeRDP is a project dedicated to bringing the RDP protocol to the BeOS platform utilizing the rdesktop project. RDP is a protocol designed by Microsoft to remotely administer / run a session on Windows 2000/2003 Servers / Windows XP Professional workstations." +SUMMARY="BeRDP is a project dedicated to bringing the RDP protocol to the BeOS." +HOMEPAGE="https://github.com/HaikuArchives/BeRDP/" +SRC_URI="git+https://github.com/HaikuArchives/BeRDP.git#3db6f86f8409984d1a9b18b3c877042a42ebe849" +REVISION="1" +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" + +PROVIDES=" + berdp = $portVersion + app:BeRDP = $portVersion + " + +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + makefile_engine + cmd:gcc + cmd:make + cmd:mkdepend + " + + +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + " + +REQUIRES=" + bin:rdesktop + " + + +COPYRIGHT="2003-2004 Giovani Zamboni, Eduardo Luis Voltolini Tafner, Phil Greenway" +LICENSE="GNU GPL v2" + +BUILD() +{ + cd Source + make + cd .. +} + +INSTALL() +{ + mkdir -p $appsDir/BeRDP + objDir=Source/objects.$(echo $buildArchitecture|sed -r s/_/-/g)-release + cp $objDir/BeRDP $appsDir/BeRDP + addAppDeskbarSymlink $appsDir/BeRDP/BeRDP +} diff --git a/net-misc/rdesktop/rdesktop-1.8.0.recipe b/net-misc/rdesktop/rdesktop-1.8.0.recipe new file mode 100644 index 000000000..8e705a5ed --- /dev/null +++ b/net-misc/rdesktop/rdesktop-1.8.0.recipe @@ -0,0 +1,58 @@ +DESCRIPTION=" + rdesktop is an open source client for Windows Remote Desktop Services, capable of natively speaking + Remote Desktop Protocol (RDP) in order to present the user's Windows desktop. rdesktop is known to + work with Windows versions such as NT 4 Terminal Server, 2000, XP, 2003, 2003 R2, Vista, 2008, 7, and 2008 R2. + " +SUMMARY="An open source client for Windows Remote Desktop Services." +HOMEPAGE="http://rdesktop.org/" +SRC_URI="git+https://github.com/threedeyes/rdesktop.git#dc04b43ccb443f8245e5cda69ab063624e0d6f8c" +REVISION="1" +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" + +PROVIDES=" + rdesktop = $portVersion + bin:rdesktop = $portVersion + cmd:rdesktop = $portVersion + " + +BUILD_PREREQUIRES=" + haiku_devel >= $haikuVersion + makefile_engine + openssl + openssl_devel + cmd:gcc + cmd:make + cmd:mkdepend + " + +BUILD_REQUIRES=" + haiku_devel >= $haikuVersion + devel:libssl + " + +REQUIRES=" + haiku >= $haikuVersion + lib:libcrypto + lib:libssl + " + + +COPYRIGHT="1999-2013 Matthew Chapman" +LICENSE="GNU GPL v3" + +BUILD() +{ + cd haiku + makefile=makefile_gcc4 + if [[ "$buildArchitecture" == *gcc2* ]]; then + makefile=makefile_gcc2 + fi + make -f $makefile + cd .. +} + +INSTALL() +{ + mkdir -p $binDir + cp haiku/rdesktop $binDir +} From 8ae8ec61b43cd5788eee2b739176c1f68509facc Mon Sep 17 00:00:00 2001 From: Mrowqa Date: Mon, 2 Dec 2013 17:31:29 +0100 Subject: [PATCH 2/6] Some BeRDP and RDesktop recipes fixes. --- net-misc/berdp/berdp-1.recipe | 9 ++++----- net-misc/rdesktop/rdesktop-1.8.0.recipe | 5 ----- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/net-misc/berdp/berdp-1.recipe b/net-misc/berdp/berdp-1.recipe index f3bf87da4..8cd0d9609 100644 --- a/net-misc/berdp/berdp-1.recipe +++ b/net-misc/berdp/berdp-1.recipe @@ -1,7 +1,7 @@ DESCRIPTION="BeRDP is a project dedicated to bringing the RDP protocol to the BeOS platform utilizing the rdesktop project. RDP is a protocol designed by Microsoft to remotely administer / run a session on Windows 2000/2003 Servers / Windows XP Professional workstations." SUMMARY="BeRDP is a project dedicated to bringing the RDP protocol to the BeOS." HOMEPAGE="https://github.com/HaikuArchives/BeRDP/" -SRC_URI="git+https://github.com/HaikuArchives/BeRDP.git#3db6f86f8409984d1a9b18b3c877042a42ebe849" +SRC_URI="git+https://github.com/HaikuArchives/BeRDP.git#8d73363b567361a5f14bf36173bf68f01260013a" REVISION="1" ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" @@ -11,7 +11,6 @@ PROVIDES=" " BUILD_PREREQUIRES=" - haiku_devel >= $haikuVersion makefile_engine cmd:gcc cmd:make @@ -24,18 +23,18 @@ BUILD_REQUIRES=" " REQUIRES=" + haiku >= $haikuVersion bin:rdesktop " -COPYRIGHT="2003-2004 Giovani Zamboni, Eduardo Luis Voltolini Tafner, Phil Greenway" -LICENSE="GNU GPL v2" +COPYRIGHT="2003-2004 Sikos" +LICENSE="BSDv1" BUILD() { cd Source make - cd .. } INSTALL() diff --git a/net-misc/rdesktop/rdesktop-1.8.0.recipe b/net-misc/rdesktop/rdesktop-1.8.0.recipe index 8e705a5ed..022a4a146 100644 --- a/net-misc/rdesktop/rdesktop-1.8.0.recipe +++ b/net-misc/rdesktop/rdesktop-1.8.0.recipe @@ -11,15 +11,11 @@ ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" PROVIDES=" rdesktop = $portVersion - bin:rdesktop = $portVersion cmd:rdesktop = $portVersion " BUILD_PREREQUIRES=" - haiku_devel >= $haikuVersion makefile_engine - openssl - openssl_devel cmd:gcc cmd:make cmd:mkdepend @@ -48,7 +44,6 @@ BUILD() makefile=makefile_gcc2 fi make -f $makefile - cd .. } INSTALL() From 5dea7c1783d041d8d8adffee74003b6cfed4205e Mon Sep 17 00:00:00 2001 From: Mrowqa Date: Tue, 3 Dec 2013 00:43:08 +0100 Subject: [PATCH 3/6] Corrected license string for BeRDP. --- net-misc/berdp/berdp-1.recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/berdp/berdp-1.recipe b/net-misc/berdp/berdp-1.recipe index 8cd0d9609..6aa7572f7 100644 --- a/net-misc/berdp/berdp-1.recipe +++ b/net-misc/berdp/berdp-1.recipe @@ -29,7 +29,7 @@ REQUIRES=" COPYRIGHT="2003-2004 Sikos" -LICENSE="BSDv1" +LICENSE="BSD (4-clause)" BUILD() { From ccdd4279397e7d1cd193dd9934477fa47dc20d37 Mon Sep 17 00:00:00 2001 From: Mrowqa Date: Tue, 3 Dec 2013 21:43:22 +0100 Subject: [PATCH 4/6] Tested and fixed errors in BeRDP and RDesktop. --- net-misc/berdp/berdp-1.recipe | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-misc/berdp/berdp-1.recipe b/net-misc/berdp/berdp-1.recipe index 6aa7572f7..4a6741dc2 100644 --- a/net-misc/berdp/berdp-1.recipe +++ b/net-misc/berdp/berdp-1.recipe @@ -24,7 +24,7 @@ BUILD_REQUIRES=" REQUIRES=" haiku >= $haikuVersion - bin:rdesktop + cmd:rdesktop " From a59d836c266ec3abf66f7a5dfd166f37ac3fe28b Mon Sep 17 00:00:00 2001 From: Mrowqa Date: Wed, 4 Dec 2013 21:54:00 +0100 Subject: [PATCH 5/6] Moved COPYRIGHT and LICENSE entries up to other general informations strings --- net-misc/berdp/berdp-1.recipe | 7 +++---- net-misc/rdesktop/rdesktop-1.8.0.recipe | 5 ++--- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/net-misc/berdp/berdp-1.recipe b/net-misc/berdp/berdp-1.recipe index 4a6741dc2..cbceeaa2c 100644 --- a/net-misc/berdp/berdp-1.recipe +++ b/net-misc/berdp/berdp-1.recipe @@ -1,7 +1,9 @@ DESCRIPTION="BeRDP is a project dedicated to bringing the RDP protocol to the BeOS platform utilizing the rdesktop project. RDP is a protocol designed by Microsoft to remotely administer / run a session on Windows 2000/2003 Servers / Windows XP Professional workstations." -SUMMARY="BeRDP is a project dedicated to bringing the RDP protocol to the BeOS." +SUMMARY="BeRDP is a project dedicated to bringing the RDP protocol to the BeOS" HOMEPAGE="https://github.com/HaikuArchives/BeRDP/" SRC_URI="git+https://github.com/HaikuArchives/BeRDP.git#8d73363b567361a5f14bf36173bf68f01260013a" +COPYRIGHT="2003-2004 Sikos" +LICENSE="BSD (4-clause)" REVISION="1" ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" @@ -28,9 +30,6 @@ REQUIRES=" " -COPYRIGHT="2003-2004 Sikos" -LICENSE="BSD (4-clause)" - BUILD() { cd Source diff --git a/net-misc/rdesktop/rdesktop-1.8.0.recipe b/net-misc/rdesktop/rdesktop-1.8.0.recipe index 022a4a146..f770cfe9f 100644 --- a/net-misc/rdesktop/rdesktop-1.8.0.recipe +++ b/net-misc/rdesktop/rdesktop-1.8.0.recipe @@ -6,6 +6,8 @@ DESCRIPTION=" SUMMARY="An open source client for Windows Remote Desktop Services." HOMEPAGE="http://rdesktop.org/" SRC_URI="git+https://github.com/threedeyes/rdesktop.git#dc04b43ccb443f8245e5cda69ab063624e0d6f8c" +COPYRIGHT="1999-2013 Matthew Chapman" +LICENSE="GNU GPL v3" REVISION="1" ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" @@ -31,10 +33,7 @@ REQUIRES=" lib:libcrypto lib:libssl " - -COPYRIGHT="1999-2013 Matthew Chapman" -LICENSE="GNU GPL v3" BUILD() { From 039942fc66c97d0c05649d7693e013ce6cbf9a73 Mon Sep 17 00:00:00 2001 From: Mrowqa Date: Thu, 5 Dec 2013 13:21:43 +0100 Subject: [PATCH 6/6] Wrapped DESCRIPTION strings to no more than 70 characters per line. --- net-misc/berdp/berdp-1.recipe | 7 ++++++- net-misc/rdesktop/rdesktop-1.8.0.recipe | 8 +++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/net-misc/berdp/berdp-1.recipe b/net-misc/berdp/berdp-1.recipe index cbceeaa2c..69afb62fc 100644 --- a/net-misc/berdp/berdp-1.recipe +++ b/net-misc/berdp/berdp-1.recipe @@ -1,4 +1,9 @@ -DESCRIPTION="BeRDP is a project dedicated to bringing the RDP protocol to the BeOS platform utilizing the rdesktop project. RDP is a protocol designed by Microsoft to remotely administer / run a session on Windows 2000/2003 Servers / Windows XP Professional workstations." +DESCRIPTION=" + BeRDP is a project dedicated to bringing the RDP protocol to the BeOS + platform utilizing the rdesktop project. RDP is a protocol designed by + Microsoft to remotely administer / run a session on Windows 2000/2003 + Servers / Windows XP Professional workstations. + " SUMMARY="BeRDP is a project dedicated to bringing the RDP protocol to the BeOS" HOMEPAGE="https://github.com/HaikuArchives/BeRDP/" SRC_URI="git+https://github.com/HaikuArchives/BeRDP.git#8d73363b567361a5f14bf36173bf68f01260013a" diff --git a/net-misc/rdesktop/rdesktop-1.8.0.recipe b/net-misc/rdesktop/rdesktop-1.8.0.recipe index f770cfe9f..c45c74b94 100644 --- a/net-misc/rdesktop/rdesktop-1.8.0.recipe +++ b/net-misc/rdesktop/rdesktop-1.8.0.recipe @@ -1,7 +1,9 @@ DESCRIPTION=" - rdesktop is an open source client for Windows Remote Desktop Services, capable of natively speaking - Remote Desktop Protocol (RDP) in order to present the user's Windows desktop. rdesktop is known to - work with Windows versions such as NT 4 Terminal Server, 2000, XP, 2003, 2003 R2, Vista, 2008, 7, and 2008 R2. + rdesktop is an open source client for Windows Remote Desktop Services, + capable of natively speaking Remote Desktop Protocol (RDP) in order to + present the user's Windows desktop. rdesktop is known to work with + Windows versions such as NT 4 Terminal Server, 2000, XP, 2003, + 2003 R2, Vista, 2008, 7, and 2008 R2. " SUMMARY="An open source client for Windows Remote Desktop Services." HOMEPAGE="http://rdesktop.org/"