SameSame is a collection of tools that fall in to the category of file
management software. These tools will prevent that you need to delete
files or buy more disk space. Instead they solve low disk space problems
by linking identical files together and thus free up waisted disk space.
This collection was inspired by the application samefile written by Jens
Schweikhardt. The collection comes with its own version of samefile that
is noticeable faster and is able to process a much larger file list.
This port containt two set of application: the first are duplicate files
finder search for identical files and the second are duplicate file
removers perform some kind of action based on those results.
Typical usage would be: find / | samefile -i | sameln
This would search for identical files and clean up wasted disk space by
linking them together. If you prefer removing one of the identical file,
then you should replace sameln with samerm. You can add the option -vn
after both application for a verbose dry-run.
Please see the man page samesame for a introduction to all applications.
===> The following configuration options are available for samesame-1.10_3:
DEBUG=off: Build with debugging support
DISK_STORAGE=off: Allows temporarily storage on disk
EXPERIMENTAL=off: Enables experimental functionality
LOW_MEMORY_PROFILE=off: Low memory profile reduces functionality
PROFILER=off: Enables gprof support
===> Use 'make config' to modify these settings
sysutils/samesame: fix build on FreeBSD 15-CURRENT
Requires old C++11 standard.
Also builds fine on FreeBSD 14.
Approved by: portmgr (build fix blanket)
MFH: 2025Q1
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
*/*: Remove redundant '-[0-9]*' from CONFLICTS
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").
Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".
Approved by: portmgr (blanket)
MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.
While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.
Also, replace some EXTRACT_SUFX occurences with USES=tar:*.
Checked by: make fetch-urlall-list
With hat: portmgr
Sponsored by: Absolight
sysutils/samesame: forgotten files!
In addition to the provided stage support:
* separate pkg-plist was created
* install-strip was implified with the use of INSTALL_TARGET
* most configure switches pulled into options framework
* redundant post-install pkg-message removed
* 2-clause BSD license documented
* USE_BZIP2 converted
* patch to buffer.cpp added by maintainer
PR: ports/190164
Submitted by: Stephan Esser
Approved by: maintainer (Alex de Kruijff)
Simplified by: marino
sysutils/samesame: Stage support and simplify
In addition to the provided stage support:
* separate pkg-plist was created
* install-strip was implified with the use of INSTALL_TARGET
* most configure switches pulled into options framework
* redundant post-install pkg-message removed
* 2-clause BSD license documented
* USE_BZIP2 converted
* patch to buffer.cpp added by maintainer
PR: ports/190164
Submitted by: Stephan Esser
Approved by: maintainer (Alex de Kruijff)
Simplified by: marino
Unbreak by removal of the assignment to malloc_options (which does not
exist in 10-CURRENT after the import of the new jemalloc).
Jason Evans announced in a mail to -current back in February 2008, that
the "H" option had been made obsolete due to a change in jemalloc, but
I leave the port unchanged for versions before 10-CURRENT.
These applications find identical / duplicate files and hard- or symlink
them to save space. This port was inspired by the application samefile
written by Jens Schweikhardt. It has a own version of samefile that is
noticeable faster and is able to process very large file list.
This port contains the applications: samefile, samelink and samearchive.
The latter does the same as samefile but for file-based archives. The
port also contains a version that uses just 10% of the resources compared
to samearchive. The application samelink (hard) links files for you.
Typical usage would be:
find / | samefile -i | samelink
This would search for identical files and clean up wasted disk space by
linking them together. Add the option -n after samelink for a dry-run.
PR: ports/133637
Submitted by: Alex de Kruijff <freebsd@akruijff.dds.nl> (maintainer)
Approved by: tabthorpe (co-mentor)