Port details |
- samesame Find duplicate files and optionally link them together
- 1.10_3 sysutils
=3 1.10_3Version of this port present on the latest quarterly branch. - Maintainer: samesame@akruijff.dds.nl
 - Port Added: 2009-04-30 15:31:28
- Last Update: 2025-02-11 13:25:54
- Commit Hash: 5992b81
- People watching this port, also watch:: py311-beautifulsoup, linux_dvbwrapper-kmod, monit, p5-MIME-Tools, gammu
- License: BSD2CLAUSE
- WWW:
- https://samesame.kruijff.org/
- Description:
- 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.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - Dependency lines:
-
- samesame>0:sysutils/samesame
- Conflicts:
- CONFLICTS:
- To install the port:
- cd /usr/ports/sysutils/samesame/ && make install clean
- To add the package, run one of these commands:
- pkg install sysutils/samesame
- pkg install samesame
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: samesame
- Flavors: there is no flavor information for this port.
- distinfo:
- SHA256 (samesame-1.10.tar.bz2) = 9793649925d70a2b9a44aeed4e8f475cfb544296371ddd7c37f8000d14e44d0a
SIZE (samesame-1.10.tar.bz2) = 121316
No package information for this port in our database- Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link:

- This port has no dependencies.
- There are no ports dependent upon this port
Configuration Options:
- ===> 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
- Options name:
- sysutils_samesame
- USES:
- tar:bzip2
- pkg-message:
- For install:
- A 2 clause BSD licence applies to this application:
http://samesame.kruijff.org/license.html
- Master Sites:
|
Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
Commit | Credits | Log message |
1.10_3 11 Feb 2025 13:25:54
    |
Robert Clausecker (fuz)  |
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 |
1.10_3 11 Jan 2024 13:59:36
    |
Baptiste Daroussin (bapt)  |
MANPREFIX: eliminate usage of MANPREFIX
While here move some manpages to share/man |
1.10_2 18 May 2023 16:09:11
    |
Muhammad Moinur Rahman (bofh)  |
sysutils/samesame: Mark BROKEN on 14
Fails to build with ld: error: undefined symbol: eprol
Approved by: portmgr (blanket) |
07 Sep 2022 21:58:51
    |
Stefan Eßer (se)  |
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) |
1.10_2 07 Sep 2022 21:10:59
    |
Stefan Eßer (se)  |
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 ) |
1.10_2 20 Jul 2022 14:23:05
    |
Tobias C. Berner (tcberner)  |
sysutils: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* <jsmith@resonatingmedia.com>
* Aaron Dalton <aaron@FreeBSD.org>
* Aaron Landwehr <aaron@snaphat.com>
* Adam Weinberger <adamw@FreeBSD.org>
* Adrian Chadd
* Adrian Chadd <adrian@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Alan Eldridge <alane@FreeBSD.org>
* Alan Eldridge <alane@geeksrus.net>
* Aldis Berjoza <aldis@bsdroot.lv>
* Alex Deiter <alex.deiter@gmail.com> (Only the first 15 lines of the commit message are shown above ) |
1.10_2 29 Oct 2021 09:50:18
    |
Stefan Eßer (se)  |
*/*: 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) |
1.10_2 06 Apr 2021 14:31:13
    |
Mathieu Arnold (mat)  |
all: Remove all other $FreeBSD keywords. |
1.10_2 06 Apr 2021 14:31:07
    |
Mathieu Arnold (mat)  |
Remove # $FreeBSD$ from Makefiles. |
1.10_2 18 Oct 2019 22:44:24
  |
tobik  |
sysutils/samesame: Spell PROFILER_CONFIGURE_ENABLE correctly |
1.10_1 14 Aug 2019 12:16:13
  |
mat  |
Convert to UCL & cleanup pkg-message (categories s) |
1.10_1 12 Apr 2018 06:34:30
  |
krion  |
Fix build on CURRENT
PR: 225670
Submitted by: maintainer |
1.10_1 28 Mar 2018 08:33:26
  |
amdmi3  |
- Switch to new test framework
- Switch to options helpers
Approved by: portmgr blanket |
1.10_1 20 Mar 2017 00:00:02
  |
jbeich  |
sysutils/samesame: unbreak with clang 4.0
src/mainAction.cpp:184:19: error: ordered comparison between pointer and zero
('FILE *' (aka '__sFILE *') and 'int')
if (pipeLeafs < 0)
~~~~~~~~~ ^ ~
src/mainAction.cpp:197:21: error: ordered comparison between pointer and zero
('FILE *' (aka '__sFILE *') and 'int')
if (outputLeafs < 0)
~~~~~~~~~~~ ^ ~
PR: 216636
Submitted by: akruijff@dds.nl
Approved by: portmgr blanket |
1.10 14 May 2015 10:15:09
  |
mat  |
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 |
1.10 06 Jun 2014 22:23:55
  |
marino  |
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 |
1.10 06 Jun 2014 22:22:47
  |
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 |
1.10 20 Sep 2013 23:06:00
  |
bapt  |
Add NO_STAGE all over the place in preparation for the staging support (cat:
sysutils) |
1.10 28 Apr 2013 20:01:07
  |
bapt  |
Convert left sysutils ports to new options framework |
1.10 18 Jun 2012 09:48:49
 |
se  |
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. |
1.10 17 Jun 2012 23:59:58
 |
sylvio  |
- Update to 1.10
PR: ports/168680[1]
ports/161981[2]
Submitted by: Muhammad Moinur Rahman <5u623l20@gmail.com>[1]
Alex de Kruijff <akruijff@www.kruijff.org>[2]
Approved by: Alex de Kruijff <samesame@akruijff.dds.nl> (maintainer) |
1.9 19 Mar 2011 12:38:54
 |
miwi  |
- Get Rid MD5 support |
1.9 16 Feb 2010 11:23:06
 |
lwhsu  |
- Update to 1.9
PR: ports/143997
Submitted by: Alex de Kruijff <samesame AT akruijff.dds.nl> (maintainer)
Feature safe: yes |
1.8 24 Dec 2009 23:21:07
 |
miwi  |
- Update to 1.8
PR: 141941
Submitted by: Alex de Kruijff <samesame@akruijff.dds.nl> (maintainer) |
1.7 02 Dec 2009 15:33:35
 |
miwi  |
- Update to 1.7
PR: 141056
Submitted by: Alex de Kruijff <samesame@akruijff.dds.nl> (maintainer) |
1.6 17 Nov 2009 14:53:46
 |
miwi  |
- Update to 1.6
PR: 140587 140601
Submitted by: Alex de Kruijff <samesame@akruijff.dds.nl> (maintainer) |
1.5 09 Sep 2009 00:09:06
 |
amdmi3  |
- Update to 1.5
PR: 138590
Submitted by: Alex de Kruijff <samesame@akruijff.dds.nl> (maintainer) |
1.4 22 Aug 2009 20:41:02
 |
miwi  |
- Update to 1.4
PR: 137986
Submitted by: Alex de Kruijff <samesame@akruijff.dds.nl> (maintainer) |
1.3 07 Jul 2009 22:08:29
 |
dhn  |
- Update to 1.3
PR: ports/136307
Submitted by: Alex de Kruijff <samesame@akruijff.dds.nl> (maintainer) |
1.2_1 30 Jun 2009 20:43:11
 |
dhn  |
- Fix a small Bug in samefile/samearchive
- Bump PORTREVISION
PR: ports/136194
Submitted by: Alex de Kruijff <samesame@akruijff.dds.nl> (maintainer) |
1.2 22 Jun 2009 17:19:11
 |
wxs  |
- Fix typo and WWW in pkg-descr.
PR: ports/135912
Submitted by: Alex de Kruijff <samesame@akruijff.dds.nl> (maintainer) |
1.2 28 May 2009 16:15:04
 |
dhn  |
- Update distinfo
PR: ports/135015
Submitted by: Alex de Kruijff <samesame@akruijff.dds.nl> (maintainer) |
1.2 27 May 2009 20:43:39
 |
dhn  |
- Update to 1.2
- Fix build
PR: ports/134970
ports/134982
ports/134999
Submitted by: Alex de Kruijff <samesame@akruijff.dds.nl> (maintainer) |
1.1 25 May 2009 19:56:45
 |
dhn  |
- Update to 1.1
PR: ports/134769
Submitted by: Alex de Kruijff <samesame@akruijff.dds.nl> (maintainer) |
1.0 19 May 2009 14:25:13
 |
dhn  |
- Update pkg-descr
- Update maintainer mail address
PR: ports/134634
Submitted by: Alex de Kruijff <akruijff@dds.nl> (maintainer)
Approved by: miwi (mentor implicit) |
1.0 15 May 2009 11:13:53
 |
pav  |
- Really disable tests
PR: ports/134234
Submitted by: Ulrich Spoerlein <uspoerlein@gmail.com>
Approved by: maintainer |
1.0 01 May 2009 18:25:32
 |
dhn  |
- Fix build
Reported by: QAT
Tested by: tabthorpe
Approved by: tabthorpe (co-mentor implicit) |
1.0 30 Apr 2009 15:31:00
 |
dhn  |
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) |