Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: haikuports/haikuports
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 9f3322c1e1ae
Choose a base ref
...
head repository: haikuports/haikuports
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 48616e9e8081
Choose a head ref
  • 1 commit
  • 4 files changed
  • 1 contributor

Commits on Jun 29, 2021

  1. Copy the full SHA
    48616e9 View commit details
10 changes: 10 additions & 0 deletions haiku-apps/beshare/additional-files/beshare-post-install.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/bash
# Make the writeable BeShare files directory, which is now needed
# since the application folder is read only due to the packaging
# system. AGMS20150113

mkdir --parents "`finddir B_USER_DIRECTORY`/BeShare/downloads"
mkdir --parents "`finddir B_USER_DIRECTORY`/BeShare/logs"
mkdir --parents "`finddir B_USER_DIRECTORY`/BeShare/shared"
notify --type information --group "BeShare Installer" --title "BeShare Folders" --timeout 45 "Folders for your shared files, downloads and logs have been created in `finddir B_USER_DIRECTORY`/BeShare/ Change them to symbolic links if you want to move them elsewhere."
notify --type information --group "BeShare Installer" --title "BeShare Documentation" --timeout 30 "Extra documentation has been installed in a documentation/packages/BeShare folder somewhere. Just do a desktop search for BeShare."
69 changes: 0 additions & 69 deletions haiku-apps/beshare/beshare-2.35.recipe

This file was deleted.

79 changes: 79 additions & 0 deletions haiku-apps/beshare/beshare-3.04.recipe
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
SUMMARY="A native file sharing and chat application"
DESCRIPTION="BeShare is a BeOS/Haiku-native file sharing program. \
It operates similarly to other such programs (IRC, Napster, Hotline, etc) \
but with a few advantages:
- BeShare allows you to upload or download any type of file, not just mp3.
- When browsing files, you can see their attributes (similar to Tracker's\
view).
- Your query is always \"live\", so if new files that match your query become\
available, you will see them added to the results list right away (you won't\
have to click \"refresh\" or anything first).
- BeShare includes a rudimentary chat mechanism for you social types.
- BeShare supports any number of simultaneous uploads and downloads\
in parallel, but will serialize simultaneous file requests to any\
given host for efficiency.
- BeShare connects to any MUSCLE server\
(see https://public.msli.com/lcs/muscle/ for details).
- BeShare source code is available, and serves as an example of how to write\
a MUSCLE client."
HOMEPAGE="
https://github.com/HaikuArchives/BeShare
http://web.ncf.ca/au829/BeOS/
"
COPYRIGHT="1999-2012 Jeremy Friesner"
LICENSE="Public Domain
libsanta"
# Use revision 3+ to take priority over existing 3.04 versions. AGMS20210622
REVISION="3"
SOURCE_URI="http://web.ncf.ca/au829/BeOS/BeShare_3.04.zip"
CHECKSUM_SHA256="37b9e590d2f3f5ce1395fdb6a31e8849ce0d286a79a53908476ea70f942987a2"
SOURCE_FILENAME="BeShare_3.04.zip"
SOURCE_DIR="BeShare"

ADDITIONAL_FILES="beshare-post-install.sh"
POST_INSTALL_SCRIPTS="$relativePostInstallDir/beshare-post-install.sh"

# Note this source code is portable and should compile on all platforms (PPC,
# all x86 varieties), and for both BeOS and Haiku. Please keep it that way.
ARCHITECTURES="x86_gcc2 ?x86 x86_64 ?arm ?ppc"

PROVIDES="
beshare$secondaryArchSuffix = $portVersion
app:BeShare = $portVersion
"

REQUIRES="haiku$secondaryArchSuffix"

BUILD_REQUIRES="haiku${secondaryArchSuffix}_devel"

BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
"

BUILD()
{
if [ $effectiveTargetArchitecture == x86_64 ]; then
CXXFLAGS="-DMUSCLE_64_BIT_PLATFORM"
fi
export CXXFLAGS="-D_BSD_SOURCE $CXXFLAGS"
cd source/beshare
make $jobArgs
}

INSTALL()
{
mkdir -p -v $appsDir
cp -av $sourceDir/source/beshare/BeShare $appsDir/BeShare
chmod -v a+rx $appsDir/BeShare
addAppDeskbarSymlink $appsDir/BeShare

mkdir -p -v $postInstallDir
cp -av $portDir/additional-files/beshare-post-install.sh $postInstallDir
chmod -v a+rx $postInstallDir/beshare-post-install.sh

mkdir -p -v $docDir
cp -av documentation/* $docDir
}
58 changes: 0 additions & 58 deletions haiku-apps/beshare/patches/muscle-6.11.patchset

This file was deleted.