notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Ukraine
Some details on the 2023-01-16 website outage.
We just rebooted with several updates: * new HMTLify code * no port maintainer is now highly visible (e.g. https://freshports.org/security/sssd/) * fixed search logic error when using plain/ text details at https://github.com/FreshPorts/freshports/releases/tag/2.2.34
Port details
patch GNU patch utility
2.7.6_2 devel on this many watch lists=58 search for ports that depend on this port An older version of this port was marked as vulnerable. Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout Version of this port present on the latest quarterly branch.
Maintainer: danfe@FreeBSD.org search for ports maintained by this maintainer
Port Added: unknown
Last Update: 2022-09-07 21:58:51
Commit Hash: fb16dfe
People watching this port, also watch:: unzip, gmake, gettext, libiconv, expat
License: GPLv3+
Description:
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port
pkg-plist: as obtained via: make generate-plist
Expand this list (5 items)
Collapse this list.
  1. bin/gpatch
  2. man/man1/gpatch.1.gz
  3. /usr/local/share/licenses/patch-2.7.6_2/catalog.mk
  4. /usr/local/share/licenses/patch-2.7.6_2/LICENSE
  5. /usr/local/share/licenses/patch-2.7.6_2/GPLv3+
Collapse this list.
Dependency lines:
  • patch>0:devel/patch
To install the port:
cd /usr/ports/devel/patch/ && make install clean
To add the package, run one of these commands:
  • pkg install devel/patch
  • pkg install patch
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: patch
Flavors: there is no flavor information for this port.
distinfo:

Packages (timestamps in pop-ups are UTC):
patch
ABIlatestquarterly
FreeBSD:11:aarch642.7.62.7.6_1
FreeBSD:11:amd642.7.6_22.7.6_2
FreeBSD:11:armv62.7.52.7.6_1
FreeBSD:11:i3862.7.6_22.7.6_2
FreeBSD:11:mipspkg-falloutpkg-fallout
FreeBSD:11:mips642.7.52.7.6_1
FreeBSD:12:aarch642.7.62.7.6_2
FreeBSD:12:amd642.7.6_22.7.6_2
FreeBSD:12:armv62.7.62.7.6_1
FreeBSD:12:armv72.7.62.7.6_1
FreeBSD:12:i3862.7.6_22.7.6_2
FreeBSD:12:mipspkg-falloutpkg-fallout
FreeBSD:12:mips642.7.62.7.6_1
FreeBSD:12:powerpc64pkg-fallout2.7.6_1
FreeBSD:13:aarch642.7.6_22.7.6_2
FreeBSD:13:amd642.7.6_22.7.6_2
FreeBSD:13:armv62.7.6_12.7.6_2
FreeBSD:13:armv72.7.6_22.7.6_2
FreeBSD:13:i3862.7.6_22.7.6_2
FreeBSD:13:mipspkg-falloutpkg-fallout
FreeBSD:13:mips642.7.6_12.7.6_1
FreeBSD:13:powerpc642.7.6_12.7.6_2
FreeBSD:13:riscv64pkg-fallout2.7.6_2
FreeBSD:14:aarch642.7.6_2pkg-fallout
FreeBSD:14:amd642.7.6_2pkg-fallout
FreeBSD:14:armv62.7.6_2pkg-fallout
FreeBSD:14:armv72.7.6_2pkg-fallout
FreeBSD:14:i3862.7.6_2pkg-fallout
FreeBSD:14:mipspkg-falloutpkg-fallout
FreeBSD:14:mips642.7.6_2pkg-fallout
FreeBSD:14:powerpc642.7.6_2pkg-fallout
FreeBSD:14:riscv642.7.6_2pkg-fallout
 
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. gmake>=4.3 : devel/gmake
This port is required by:
for Build
  1. archivers/dpkg
  2. devel/quilt
  3. devel/tla
  4. devel/xtensa-esp32-elf
  5. editors/openoffice-4
  6. editors/openoffice-devel
  7. math/sage

Deleted ports which required this port:

Expand this list of 11 deleted ports
  1. devel/baz*
  2. devel/bazaar*
  3. editors/libreoffice-legacy*
  4. editors/libreoffice4*
  5. editors/openoffice-3*
  6. editors/openoffice-3-devel*
  7. editors/openoffice.org-3*
  8. editors/openoffice.org-3-RC*
  9. editors/openoffice.org-3-devel*
  10. editors/openoffice.org-vcltesttool*
  11. java/eclipse-devel*
  12. Collapse this list of deleted ports.
for Extract
  1. www/ungoogled-chromium
for Run
  1. archivers/dpkg
  2. devel/ocaml-opam
  3. devel/quilt
  4. devel/tla

Deleted ports which required this port:

Expand this list of 2 deleted ports
  1. devel/baz*
  2. devel/bazaar*
  3. Collapse this list of deleted ports.
* - deleted ports are only shown under the This port is required by section. It was harder to do for the Required section. Perhaps later...

Configuration Options:
Options name:
USES:
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (12 items)
Collapse this list.
  1. ftp://ftp.fu-berlin.de/unix/gnu/patch/
  2. ftp://ftp.mirrorservice.org/sites/ftp.gnu.org/gnu/patch/
  3. ftp://mirrors.rit.edu/gnu/patch/
  4. http://download.xs4all.nl/gnu/patch/
  5. http://ftp.halifax.rwth-aachen.de/gnu/patch/
  6. http://ftp.kddilabs.jp/GNU/gnu/patch/
  7. http://mirror.navercorp.com/gnu/patch/
  8. https://ftp.gnu.org/gnu/patch/
  9. https://ftpmirror.gnu.org/patch/
  10. https://mirror.netcologne.de/gnu/patch/
  11. https://mirrors.kernel.org/gnu/patch/
  12. https://www.nic.funet.fi/pub/gnu/gnu/patch/
Collapse this list.

Number of commits found: 53

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
07 Sep 2022 21:58:51
commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4commit hash:fb16dfecae4a6efac9f3a78e0b759fb7a3c53de4 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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)
2.7.6_2
07 Sep 2022 21:10:59
commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52commit hash:b7f05445c00f2625aa19b4154ebcbce5ed2daa52 files touched by this commit
Stefan Eßer (se) search for other commits by this committer
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 View all of this commit message)
2.7.6_2
20 Jul 2022 14:21:35
commit hash:aa6eefd5e663357e8223399bc38c7987f5e35746commit hash:aa6eefd5e663357e8223399bc38c7987f5e35746commit hash:aa6eefd5e663357e8223399bc38c7987f5e35746commit hash:aa6eefd5e663357e8223399bc38c7987f5e35746 files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
devel: remove 'Created by' lines

A big Thank You to the original contributors of these ports:

  *  "Waitman Gobble" <uzimac@da3m0n8t3r.com>
  *  <jkoshy@FreeBSD.org>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Aaron Dalton <aaron@daltons.ca>
  *  Aaron H. K. Diep <ahkdiep@gmail.com>
  *  Aaron Hurt <ahurt@anbcs.com>
  *  Abel Chow <abel_chow@yahoo.com>
  *  Adam McLaurin
  *  Adam Saponara <as@php.net>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.7.6_2
24 Jun 2021 08:56:01
commit hash:2eae8d04cfa91cf36cc3a69cba8dc232b9ecebbecommit hash:2eae8d04cfa91cf36cc3a69cba8dc232b9ecebbecommit hash:2eae8d04cfa91cf36cc3a69cba8dc232b9ecebbecommit hash:2eae8d04cfa91cf36cc3a69cba8dc232b9ecebbe files touched by this commit
Alexey Dokuchaev (danfe) search for other commits by this committer
devel/patch: update Debian patchset to v7.

PR:		256591
Submitted by:	Daniel Engberg
2.7.6_1
06 Apr 2021 14:31:07
commit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344ebcommit hash:305f148f482daf30dcf728039d03d019f88344eb files touched by this commit
Mathieu Arnold (mat) search for other commits by this committer
Remove # $FreeBSD$ from Makefiles.
2.7.6_1
08 Nov 2019 03:58:25
Revision:517030Original commit files touched by this commit
danfe search for other commits by this committer
Enable tests again, but do not set SHELL to bash(1) globally which breaks
package installation; changing just LOG_COMPILER is enough and much safer.
2.7.6_1
07 Nov 2019 14:01:52
Revision:516973Original commit files touched by this commit
danfe search for other commits by this committer
Disable the tests temporarily until I figure out how to handle bash(1)
dependency properly.

Reported by:	antoine, kib
2.7.6_1
07 Nov 2019 11:35:35
Revision:516964Original commit files touched by this commit
danfe search for other commits by this committer
- Pull in security patches from Debian while upstream still CBA
  to release a new version after almost a year since those bugs
  and vulnerabilities had been reported
- Hook the test suite, which unfortunately requires bash(1), to
  our framework
- Chase redirection in the WWW line of the port description

Security:	791841a3-d484-4878-8909-92ef9ce424f4
PR:		233455
2.7.6
05 Nov 2019 08:18:17
Revision:516778Original commit files touched by this commit This port version is marked as vulnerable.
danfe search for other commits by this committer
Assume maintainership of several GNU tools I've been keeping an eye to
and updating as of recently.
2.7.6
04 Nov 2019 21:21:04
Revision:516744Original commit files touched by this commit This port version is marked as vulnerable.
rene search for other commits by this committer
Returns johans's ports to the pool after safekeeping his commit bit.
2.7.6
15 Feb 2018 10:24:19
Revision:461876Original commit files touched by this commit This port version is marked as vulnerable.
johans search for other commits by this committer
Update to GNU patch 2.7.6
2.7.5
09 Sep 2016 19:42:46
Revision:421635Original commit files touched by this commit This port version is marked as vulnerable.
amdmi3 search for other commits by this committer
Most commonly used build systems support silent builds, when they
hide actual commands executed and only show short summary line (like
"CC foo.c"). CMake and ninja enable this by default, some autotools
using ports do as well. This is unacceptable because we need complete
build logs at any time, so we now switch to verbose build logs
unconditionally. Note that this change deliberately affects ALL
builds and not only package builds on cluster, because we need to
be sure that user experiencing failure can always provide informative
build log regardless of settings and without rerunning the build.

Change summary:

- Always do verbose builds for cmake, ninja and GNU configure (the
  latter includes check if --disable-silent-rules is actually supported
  by the configure script; there are isolated cases when it's not true)
(Only the first 15 lines of the commit message are shown above View all of this commit message)
2.7.5
09 Mar 2015 20:09:17
Revision:380876Original commit files touched by this commit This port version is marked as vulnerable.
johans search for other commits by this committer
- Update to GNU patch 2.7.5
- Add CPE info, based on assignment in CVE-2015-1196
2.7.4
07 Feb 2015 15:13:33
Revision:378596Original commit files touched by this commit This port version is marked as vulnerable.
johans search for other commits by this committer
Include patch forgotten in previous commit
2.7.4
07 Feb 2015 14:29:27
Revision:378592Original commit files touched by this commit This port version is marked as vulnerable.
johans search for other commits by this committer
Update to GNU patch 2.7.4 (bugfix release)

MFH:		2015Q1
Security:	CVE-2015-1196
2.7.3
24 Jan 2015 14:32:32
Revision:377793Original commit files touched by this commit This port version is marked as vulnerable.
johans search for other commits by this committer
Update to GNU patch 2.7.3 (bugfix release)
2.7.1
05 Jun 2014 18:01:18
Revision:356660Original commit files touched by this commit This port version is marked as vulnerable.
amdmi3 search for other commits by this committer
- Convert USE_XZ to USES

Approved by:	portmgr blanket
2.7.1
14 Jan 2014 15:53:25
Revision:339691Original commit files touched by this commit This port version is marked as vulnerable.
johans search for other commits by this committer
Adopt port
2.7.1
03 Jan 2014 23:49:10
Revision:338600Original commit files touched by this commit This port version is marked as vulnerable.
danilo search for other commits by this committer
- Update from 2.7 to 2.7.1
- Update MASTER_SITES

PR:		ports/185338
Submitted by:	KATO Tsuguru <tkato432@yahoo.com>
2.7_1
24 Dec 2013 03:20:07
Revision:337316Original commit files touched by this commit This port version is marked as vulnerable.
amdmi3 search for other commits by this committer
- Support staging
- Convert USE_GMAKE to USES
2.7_1
16 Dec 2013 18:24:49
Revision:336656Original commit files touched by this commit This port version is marked as vulnerable.
glarkin search for other commits by this committer
[Errno 11] Resource Temporarily Unavailable

Reassigning my ports back to the pool with the hope of freeing up
to do more FreeBSD work in the future.

Submitted by:	glarkin
2.7_1
20 Sep 2013 17:13:47
Revision:327724Original commit files touched by this commit This port version is marked as vulnerable.
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
devel part 3)
2.7_1
18 Mar 2013 11:40:04
Revision:314556Original commit files touched by this commit This port version is marked as vulnerable.
bapt search for other commits by this committer
Fix a long standing bug of lib/charset.alias being overwritten, modified, and
badly tracked by ports.

Make lib/charset.alias a file only provided by converters/libiconv
Create a new USES: charsetfix, that will modify in post patch the Makefile.in to
prevent a port from modifying/overwritting the charset.alias file during make
install.
Prevent devel/gettext from installing that files.
Fix a couple of ports that actually touch charset.alias during the build phase.

Based on a patch by ale
(http://lists.freebsd.org/pipermail/freebsd-gnome/2012-October/027747.html)

Approved by:	kwm (gnome)
Exp-run by:	miwi
2.7_1
05 Oct 2012 16:22:33
Revision:305306Original commit files touched by this commit This port version is marked as vulnerable.
glarkin search for other commits by this committer
- Prevent installation of charset.alias by inlining its contents like
  other platforms do.  This avoids a file installation conflict with
  gettext.
- Bumped PORTREVISION

Reported by:	avg, ale, QAT
2.7
05 Oct 2012 00:06:21
Revision:305291Original commit files touched by this commit This port version is marked as vulnerable.
glarkin search for other commits by this committer
- Updated to 2.7
  ChangeLog: http://savannah.gnu.org/forum/forum.php?forum_id=7361
- Removed unnecessary patch files
- Fixed configuration phase
- Added LICENSE
2.6.1_1
24 Oct 2011 04:17:38
Original commit files touched by this commit This port version is marked as vulnerable.
dougb search for other commits by this committer
Remove more tags from pkg-descr files fo the form:

- Name
em@i.l

or variations thereof. While I'm here also fix some whitespace and other
formatting errors, including moving WWW: to the last line in the file.
2.6.1_1
03 Jul 2011 14:59:23
Original commit files touched by this commit This port version is marked as vulnerable.
ohauer search for other commits by this committer
-remove MD5
2.6.1_1
04 Dec 2010 07:34:27
Original commit files touched by this commit This port version is marked as vulnerable.
ade search for other commits by this committer
Sync to new bsd.autotools.mk
2.6.1_1
16 Oct 2010 11:52:47
Original commit files touched by this commit This port version is marked as vulnerable.
ade search for other commits by this committer
Punt autoconf267->autoconf268
2.6.1_1
05 Oct 2010 19:57:56
Original commit files touched by this commit This port version is marked as vulnerable.
ade search for other commits by this committer
Round one migration of ports from automake{19,110} to automake111
2.6.1_1
15 Sep 2010 18:35:24
Original commit files touched by this commit This port version is marked as vulnerable.
ade search for other commits by this committer
Autotools update.   Read ports/UPDATING 20100915 for details.

Approved by:    portmgr (for Mk/bsd.port.mk part)
Tested by:      Multiple -exp runs
2.6.1
04 Jun 2010 08:09:20
Original commit files touched by this commit This port version is marked as vulnerable.
pav search for other commits by this committer
- Introduce a new USE_XZ knob that handles lzma/xz compressed distfiles
- Convert a bunch of ports to use it

PR:             ports/146329
Submitted by:   mm
With hat:       portmgr
2.6.1
02 Jun 2010 15:24:43
Original commit files touched by this commit This port version is marked as vulnerable.
glarkin search for other commits by this committer
- Removed unnecessary config.hin patch, since the configure script
  correctly detects if the platform has a DOS-compliant setmode function.

PR:             ports/147006
Submitted by:   swell.k@gmail.com
2.6.1
06 May 2010 13:53:59
Original commit files touched by this commit This port version is marked as vulnerable.
glarkin search for other commits by this committer
- Fixed USE_AUTOTOOLS value

PR:             ports/146340
Submitted by:   garga
2.6.1
05 Jan 2010 22:43:48
Original commit files touched by this commit This port version is marked as vulnerable.
glarkin search for other commits by this committer
- Commit the files that were removed during the upgrade to 2.6.1

Reported by:    QAT
2.6.1
05 Jan 2010 20:30:32
Original commit files touched by this commit This port version is marked as vulnerable.
glarkin search for other commits by this committer
- Updated to 2.6.1
- Removed patches that have now been incorporated upstream
2.6
15 Nov 2009 21:04:58
Original commit files touched by this commit This port version is marked as vulnerable.
glarkin search for other commits by this committer
- Updated to 2.6, including some gymnastics to get it to link on
  FreeBSD 6.x/7.x
2.5.9
21 Apr 2009 19:14:12
Original commit files touched by this commit This port version is marked as vulnerable.
glarkin search for other commits by this committer
- Update to 2.5.9
2.5.4
18 Jul 2008 21:05:20
Original commit files touched by this commit This port version is marked as vulnerable.
glarkin search for other commits by this committer
Changed my MAINTAINER address to
glarkin@FreeBSD.org.

Approved by:    beech (mentor)
2.5.4
17 May 2008 12:41:03
Original commit files touched by this commit This port version is marked as vulnerable.
miwi search for other commits by this committer
- Pass maintainership to submitter

PR:             123646 123647 123648 123650
Submitted by:   Greg Larkin <glarkin@sourcehosting.net>
2.5.4
04 May 2006 21:41:12
Original commit files touched by this commit This port version is marked as vulnerable.
edwin search for other commits by this committer
Remove USE_REINPLACE from all categories starting with D
2.5.4
14 Apr 2006 20:45:44
Original commit files touched by this commit This port version is marked as vulnerable.
linimon search for other commits by this committer
Reset petef due to no response to email.  We hope to see him back sometime.

Hat:    portmgr
2.5.4
22 Jan 2006 08:30:12
Original commit files touched by this commit This port version is marked as vulnerable.
edwin search for other commits by this committer
SHA256ify

Approved by:    krion@
2.5.4
31 Mar 2004 03:12:58
Original commit files touched by this commit This port version is marked as vulnerable.
trevor search for other commits by this committer
SIZEify (maintainer timeout)
2.5.4
06 Feb 2004 13:12:53
Original commit files touched by this commit This port version is marked as vulnerable.
trevor search for other commits by this committer
Use PLIST_FILES (bento-tested, marcus-reviewed).
2.5.4
07 Mar 2003 06:01:16
Original commit files touched by this commit This port version is marked as vulnerable.
ade search for other commits by this committer
Clear moonlight beckons.
Requiem mors pacem pkg-comment,
And be calm ports tree.

E Nomini Patri, E Fili, E Spiritu Sancti.
2.5.4
04 Nov 2002 05:46:38
Original commit files touched by this commit This port version is marked as vulnerable.
edwin search for other commits by this committer
PERL -> REINPLACE
And some ports have USE_PERL5=yes now.
23 Aug 2001 00:07:25
commit hash:fp1.17652@dev.null.freshports.orgcommit hash:fp1.17652@dev.null.freshports.orgcommit hash:fp1.17652@dev.null.freshports.orgcommit hash:fp1.17652@dev.null.freshports.org files touched by this commit
petef search for other commits by this committer
Change my email address to petef@FreeBSD.org for the ports I maintain.    
23 Jul 2001 04:36:31
commit hash:fp1.16408@dev.null.freshports.orgcommit hash:fp1.16408@dev.null.freshports.orgcommit hash:fp1.16408@dev.null.freshports.orgcommit hash:fp1.16408@dev.null.freshports.org files touched by this commit
dwcjr search for other commits by this committer
Update to 2.5.4   Give petef@databits.net maintainership   Add WWW to pkg-descr 
  
11 Jan 2001 01:22:11
commit hash:fp1.8367@dev.null.freshports.orgcommit hash:fp1.8367@dev.null.freshports.orgcommit hash:fp1.8367@dev.null.freshports.orgcommit hash:fp1.8367@dev.null.freshports.org files touched by this commit
trevor search for other commits by this committer
Bump PORTREVISION for the name change to gpatch.    
11 Jan 2001 00:56:26
commit hash:fp1.8366@dev.null.freshports.orgcommit hash:fp1.8366@dev.null.freshports.orgcommit hash:fp1.8366@dev.null.freshports.orgcommit hash:fp1.8366@dev.null.freshports.org files touched by this commit
trevor search for other commits by this committer
Avoid conflict with /usr/bin/patch by installing the version from   the ports
collection as "gpatch".  Beautify the descriptions.   Update the ports which
depend on this version.    
10 Jan 2001 08:01:24
commit hash:fp1.8339@dev.null.freshports.orgcommit hash:fp1.8339@dev.null.freshports.orgcommit hash:fp1.8339@dev.null.freshports.orgcommit hash:fp1.8339@dev.null.freshports.org files touched by this commit
ache search for other commits by this committer
Remove myself from MAINTAINER    
08 Oct 2000 02:10:04
commit hash:fp1.4741@dev.null.freshports.orgcommit hash:fp1.4741@dev.null.freshports.orgcommit hash:fp1.4741@dev.null.freshports.orgcommit hash:fp1.4741@dev.null.freshports.org files touched by this commit
asami search for other commits by this committer
Convert category devel to new layout.  

Number of commits found: 53