notbugAs an Amazon Associate I earn from qualifying purchases.
Want a good read? Try FreeBSD Mastery: Jails (IT Mastery Book 15)
Want a good monitor light? See my photosAll times are UTC
Ukraine
Port details
cops System secureness checker
1.04_1 security on this many watch lists=16 search for ports that depend on this port Find issues related to this port Report an issue related to this port View this port on Repology. pkg-fallout 1.04_1Version of this port present on the latest quarterly branch.
Maintainer: cy@FreeBSD.org search for ports maintained by this maintainer
Port Added: unknown
Last Update: 2023-02-15 16:55:03
Commit Hash: d74ee97
People watching this port, also watch:: nmap, wget, openssl, gettext, unzip
License: not specified in port
WWW:
http://www.fish2.com/cops/
Description:
Cops is a set of programs to check how secure your system is. It checks file and directory privileges, SUID programs, etc. It has support for checking passwords, but this port doesn't include it as it is DES based. This port installs cops in a single directory area. The directory has no non-user privileges and cops is meant to be run locally to that directory. The perl version of cops is also included in a subdirectory.
Homepage    cgit ¦ Codeberg ¦ GitHub ¦ GitLab ¦ SVNWeb - no subversion history for this port

Manual pages:
FreshPorts has no man page information for this port.
pkg-plist: as obtained via: make generate-plist
Expand this list (233 items)
Collapse this list.
  1. cops/MANIFEST
  2. cops/README.1
  3. cops/README.2.pl
  4. cops/README.2.sh
  5. cops/README.3
  6. cops/README.FIRST
  7. cops/XTRA_CREDIT
  8. cops/addto
  9. cops/bug.chk
  10. cops/bug.chk.aix
  11. cops/bug.chk.apollo
  12. cops/bug.chk.dec
  13. cops/bug.chk.next
  14. cops/bug.chk.sgi
  15. cops/bug.chk.sun
  16. cops/bug.chk.svr4
  17. cops/bug_cmp
  18. cops/carp/How2Change
  19. cops/carp/README
  20. cops/carp/carp
  21. cops/carp/carp.1
  22. cops/carp/carp.anlz
  23. cops/carp/carp.anlz.1
  24. cops/carp/carp.awk
  25. cops/carp/carp.table
  26. cops/carp/carp2ps
  27. cops/carp/carp2ps.1
  28. cops/checkacct/Article
  29. cops/checkacct/Intro
  30. cops/checkacct/Makefile
  31. cops/checkacct/README.FIRST
  32. cops/checkacct/bsd.m4
  33. cops/checkacct/ca.src
  34. cops/checkacct/chkacct.1l
  35. cops/checkacct/dotwrite
  36. cops/checkacct/effect.dotwrit
  37. cops/checkacct/effect.owners
  38. cops/checkacct/effect.read
  39. cops/checkacct/effect.rhosts
  40. cops/checkacct/effect.setuid
  41. cops/checkacct/effect.write
  42. cops/checkacct/owners
  43. cops/checkacct/prm.mm
  44. cops/checkacct/prompt.help
  45. cops/checkacct/readable
  46. cops/checkacct/rhosts
  47. cops/checkacct/rhosts.pl
  48. cops/checkacct/setuid
  49. cops/checkacct/sysV.m4
  50. cops/checkacct/write
  51. cops/chk_strings
  52. cops/clearfiles
  53. cops/cops
  54. cops/cops_filter
  55. cops/cover_letter
  56. cops/crc
  57. cops/crc.chk
  58. cops/crc_check
  59. cops/crc_list
  60. cops/cron.chk
  61. cops/dev.chk
  62. cops/disclaimer
  63. cops/docs/COPS.report
  64. cops/docs/COPS.report.ms
  65. cops/docs/COPS.tex
  66. cops/docs/CRC.README
  67. cops/docs/KUANG.README
  68. cops/docs/SUID.README
  69. cops/docs/bug.chk
  70. cops/docs/bug.chk.1
  71. cops/docs/cops
  72. cops/docs/cops.1
  73. cops/docs/cron.chk
  74. cops/docs/cron.chk.1
  75. cops/docs/dev.chk
  76. cops/docs/dev.chk.1
  77. cops/docs/ftp.chk
  78. cops/docs/group.chk
  79. cops/docs/group.chk.1
  80. cops/docs/home.chk
  81. cops/docs/home.chk.1
  82. cops/docs/is_able
  83. cops/docs/is_able.1
  84. cops/docs/is_able.chk
  85. cops/docs/is_able.chk.1
  86. cops/docs/is_writable
  87. cops/docs/is_writable.1
  88. cops/docs/kuang.1
  89. cops/docs/kuang.man
  90. cops/docs/kuang.man.ms
  91. cops/docs/makefile
  92. cops/docs/misc.chk
  93. cops/docs/misc.chk.1
  94. cops/docs/obligatory.album
  95. cops/docs/obligatory.joke
  96. cops/docs/pass.chk
  97. cops/docs/pass.chk.1
  98. cops/docs/pass_diff.chk
  99. cops/docs/pass_diff.chk.1
  100. cops/docs/passwd.chk
  101. cops/docs/passwd.chk.1
  102. cops/docs/rc.chk
  103. cops/docs/rc.chk.1
  104. cops/docs/readme.C2
  105. cops/docs/readme.apollo
  106. cops/docs/readme.cfilter
  107. cops/docs/readme.filters
  108. cops/docs/readme.ibm
  109. cops/docs/readme.sequent
  110. cops/docs/readme.shadow
  111. cops/docs/readme.svr4
  112. cops/docs/readme.xenix
  113. cops/docs/readme.yp
  114. cops/docs/release.notes
  115. cops/docs/root.chk
  116. cops/docs/root.chk.1
  117. cops/docs/suid.man
  118. cops/docs/suid.man.ms
  119. cops/docs/tilde
  120. cops/docs/user.chk
  121. cops/docs/user.chk.1
  122. cops/docs/warnings
  123. cops/extensions/THINGS_2_DO
  124. cops/extensions/YAR
  125. cops/extensions/crypto-stuff
  126. cops/extensions/netstuff
  127. cops/extensions/passwords
  128. cops/extensions/questions
  129. cops/extensions/uucp.hardening
  130. cops/extensions/writing.suid
  131. cops/extra_src/README
  132. cops/extra_src/bad_dir.pl
  133. cops/extra_src/diff_last.sh
  134. cops/extra_src/mail.chk
  135. cops/extra_src/pass.mail
  136. cops/extra_src/rhosts_sweeper
  137. cops/extra_src/stop.make
  138. cops/extra_src/trust.pl
  139. cops/extra_src/uucp_1.shar
  140. cops/extra_src/uucp_2.shar
  141. cops/extra_src/uucp_quick.chk
  142. cops/file.paths
  143. cops/filewriters
  144. cops/ftp.chk
  145. cops/gen_fix
  146. cops/group.chk
  147. cops/home.chk
  148. cops/init_kuang
  149. cops/is_able
  150. cops/is_able.chk
  151. cops/is_able.lst
  152. cops/is_writable
  153. cops/kuang
  154. cops/kuang.pl.shar
  155. cops/makefile
  156. cops/makefile.orig
  157. cops/members
  158. cops/misc.chk
  159. cops/pass.words
  160. cops/pass_diff.chk
  161. cops/passwd.chk
  162. cops/patchlevel.h
  163. cops/perl/README.kuang
  164. cops/perl/README.sgi
  165. cops/perl/chk_strings
  166. cops/perl/chk_strings.pl
  167. cops/perl/cops
  168. cops/perl/cops.cf
  169. cops/perl/cops.orig
  170. cops/perl/cron.chk
  171. cops/perl/dev.chk
  172. cops/perl/fgrep.pl
  173. cops/perl/file_mode.pl
  174. cops/perl/file_owner.pl
  175. cops/perl/ftp.chk
  176. cops/perl/get-cf
  177. cops/perl/getopts.pl
  178. cops/perl/glob.pl
  179. cops/perl/group.chk
  180. cops/perl/hostname.pl
  181. cops/perl/is_able.chk
  182. cops/perl/is_able.lst
  183. cops/perl/is_able.pl
  184. cops/perl/kuang
  185. cops/perl/kuang.1
  186. cops/perl/misc.chk
  187. cops/perl/pass.cache.pl
  188. cops/perl/pass.chk
  189. cops/perl/passwd.chk
  190. cops/perl/pathconf.pl
  191. cops/perl/pathconf.sh
  192. cops/perl/rc.chk
  193. cops/perl/reconfig.pl
  194. cops/perl/root.chk
  195. cops/perl/rules.pl
  196. cops/perl/shadow.sh
  197. cops/perl/stat.pl
  198. cops/perl/suckline.pl
  199. cops/perl/suid.chk
  200. cops/perl/suid.stop
  201. cops/perl/user.chk
  202. cops/perl/yagrip.pl
  203. cops/platform
  204. cops/quick_start
  205. cops/rc.chk
  206. cops/reconfig
  207. cops/res_diff
  208. cops/root.chk
  209. cops/src/addto.c
  210. cops/src/clearfiles.c
  211. cops/src/conf.h
  212. cops/src/crack-fcrypt.c
  213. cops/src/crack-lib.c
  214. cops/src/crack.h
  215. cops/src/crc.c
  216. cops/src/crc.c.orig
  217. cops/src/crc_check.c
  218. cops/src/filewriters.c
  219. cops/src/home.chk.c
  220. cops/src/is_able.c
  221. cops/src/is_something.c
  222. cops/src/members.c
  223. cops/src/pass.c
  224. cops/src/tilde.c
  225. cops/src/user.chk.c
  226. cops/suid.chk
  227. cops/suid.stop
  228. cops/tilde
  229. cops/user.chk
  230. cops/yp_pass.chk
  231. @owner
  232. @group
  233. @mode
Collapse this list.
Dependency lines:
  • cops>0:security/cops
To install the port:
cd /usr/ports/security/cops/ && make install clean
To add the package, run one of these commands:
  • pkg install security/cops
  • pkg install cops
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.
PKGNAME: cops
Flavors: there is no flavor information for this port.
distinfo:
SHA256 (cops104+.tar.gz) = 5c673c4868fda0e0c0ac7f7b7aab7f31a2dff8266382b1c24dca94eedfa712b5 SIZE (cops104+.tar.gz) = 288663

Packages (timestamps in pop-ups are UTC):
cops
ABIaarch64amd64armv6armv7i386powerpcpowerpc64powerpc64le
FreeBSD:13:latest1.04_11.04_11.04_11.04_11.04_1-1.04_1-
FreeBSD:13:quarterly1.04_11.04_11.04_11.04_11.04_11.04_11.04_11.04_1
FreeBSD:14:latest1.04_11.04_11.04_11.04_11.04_11.04_1-1.04_1
FreeBSD:14:quarterly1.04_11.04_1-1.04_11.04_11.04_11.04_11.04_1
FreeBSD:15:latest1.04_11.04_1n/a1.04_1n/a1.04_11.04_11.04_1
Dependencies
NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
Build dependencies:
  1. groff : textproc/groff
Runtime dependencies:
  1. perl5>=5.32.r0<5.33 : lang/perl5.32
There are no ports dependent upon this port

Configuration Options:
No options to configure
Options name:
security_cops
USES:
groff perl5 shebangfix
FreshPorts was unable to extract/find any pkg message
Master Sites:
Expand this list (1 items)
Collapse this list.
  1. https://cschubert.com/distfiles/
Collapse this list.

Number of commits found: 33

Commit History - (may be incomplete: for full details, see links to repositories near top of page)
CommitCreditsLog message
1.04_1
15 Feb 2023 16:55:03
commit hash: d74ee97ef91d49d94749cc595ddc7ee9f37571adcommit hash: d74ee97ef91d49d94749cc595ddc7ee9f37571adcommit hash: d74ee97ef91d49d94749cc595ddc7ee9f37571adcommit hash: d74ee97ef91d49d94749cc595ddc7ee9f37571ad files touched by this commit
Cy Schubert (cy) search for other commits by this committer
security/cops: Permanently fix LLVM15 errors

Fix:

src/addto.c:48:17: error: incompatible pointer to integer conversion
assigning to 'char' from 'void *' [-Wint-conversion]
        keypending[0] = NULL;
                      ^ ~~~~
1.04_1
11 Feb 2023 04:05:55
commit hash: 44f86b3060a1eb90ee251d7915abdfcee60ad842commit hash: 44f86b3060a1eb90ee251d7915abdfcee60ad842commit hash: 44f86b3060a1eb90ee251d7915abdfcee60ad842commit hash: 44f86b3060a1eb90ee251d7915abdfcee60ad842 files touched by this commit
Cy Schubert (cy) search for other commits by this committer
seecurity/cops: Fix build with LLVM15
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)
1.04_1
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)
1.04_1
20 Jul 2022 14:22:56
commit hash: 857c05f8674c5f4c990f49f9d0fb7034ebd340fecommit hash: 857c05f8674c5f4c990f49f9d0fb7034ebd340fecommit hash: 857c05f8674c5f4c990f49f9d0fb7034ebd340fecommit hash: 857c05f8674c5f4c990f49f9d0fb7034ebd340fe files touched by this commit
Tobias C. Berner (tcberner) search for other commits by this committer
security: remove 'Created by' lines

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

  *  <ports@c0decafe.net>
  *  Aaron Dalton <aaron@FreeBSD.org>
  *  Adam Weinberger <adamw@FreeBSD.org>
  *  Ade Lovett <ade@FreeBSD.org>
  *  Aldis Berjoza <aldis@bsdroot.lv>
  *  Alex Dupre <ale@FreeBSD.org>
  *  Alex Kapranoff <kappa@rambler-co.ru>
  *  Alex Samorukov <samm@freebsd.org>
  *  Alexander Botero-Lowry <alex@foxybanana.com>
  *  Alexander Kriventsov <avk@vl.ru>
  *  Alexander Leidinger <netchild@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above View all of this commit message)
1.04_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.
1.04_1
24 Mar 2020 17:21:21
Revision:529054Original commit files touched by this commit
cy search for other commits by this committer
Make fetchable again.

Switch from komquats.com to cschubert.com.
1.04_1
06 Nov 2019 16:26:35
Revision:516897Original commit files touched by this commit
antoine search for other commits by this committer
Mark a few ports BROKEN (unfetchable)
1.04_1
30 May 2017 20:45:41
Revision:442122Original commit files touched by this commit
bapt search for other commits by this committer
Register dependency on groff

PR:		213725
1.04_1
19 Oct 2015 14:50:52
Revision:399684Original commit files touched by this commit
amdmi3 search for other commits by this committer
Improve shebangfix framework

- Support multiple values in *_OLD_CMD, i.e. we can now fix both
"/usr/bin/python" and "/usr/bin/env python" at the same time
- Default *_OLD_CMD values are now always appended, so you don't need to specify
them in individual ports
- Add lua support (depends on USES=lua)
- Add more default values, such as "/usr/bin/env foo" for python, perl, bash,
ruby and lua
- Shebangfix now matches whole words, e.g. we will no longer (erroneously)
replace "/usr/bin/perl5.005" with "${perl_CMD}5.005" (but "/usr/bin/perl -tt" is
still (correctly) replaced with "${perl_CMD} -tt")

Note that *_OLD_CMD items containing spaces must now be quoted (e.g.
perl_OLD_CMD=/bin/perl /usr/bin/perl "/usr/bin/env perl")

Update shebangfix usage according to new rules in many ports:

- Remove *_OLD_CMD for patterns now replaced by default
- Quote custom *_OLD_CMD which contain spaces

Fix shebangfix usage in many ports (irrelevant to infrastructure change):

- Remove redundant SHEBANG_LANG (no need to duplicate default langs)
- Remove redundant *_CMD (such as
python_CMD=${LOCALBASE}/bin/python${PYTHON_VER} when USES=python is present)
- Never use *_OLD_CMD in REINPLACE_CMD matchers, these should always look for
exact string

Approved by:	portmgr (bapt)
Differential Revision:	D3756
1.04_1
15 Jul 2015 17:39:47
Revision:392175Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Note that the previous commit has added missing USES=perl5
- This commit fixes it as it should only be a run-dependency

Approved by:	portmgr blanket
1.04_1
14 Jul 2015 20:32:40
Revision:392085Original commit files touched by this commit
amdmi3 search for other commits by this committer
- Fix shebangs

Approved by:	portmgr blanket
MFH:		2015Q3 (blanket)
1.04
13 Nov 2014 09:02:57
Revision:372514Original commit files touched by this commit
antoine search for other commits by this committer
Cleanup plist
1.04
12 Sep 2014 15:56:05
Revision:368033Original commit files touched by this commit
antoine search for other commits by this committer
Allow staging as a regular user
1.04
29 Jul 2014 14:30:10
Revision:363328Original commit files touched by this commit
adamw search for other commits by this committer
Rename security/ patches to reflect the files they modify.
1.04
01 May 2014 01:42:38
Revision:352710Original commit files touched by this commit Sanity Test Failure
adamw search for other commits by this committer
STAGE support, and general cleanups. Some of the changes are a
bit more aggressive, but at this point, if I'm staging your port,
you've likely stopped caring what's done to it.
1.04
20 Sep 2013 22:55:26
Revision:327769Original commit files touched by this commit
bapt search for other commits by this committer
Add NO_STAGE all over the place in preparation for the staging support (cat:
security)
1.04
18 Sep 2013 13:38:49
Revision:327545Original commit files touched by this commit
cy search for other commits by this committer
Fix up plist.
1.04
18 Sep 2013 08:20:02
Revision:327533Original commit files touched by this commit
cy search for other commits by this committer
Fix build under 10-CURRENT.
1.04
29 Mar 2013 19:33:42
Revision:315566Original commit files touched by this commit
cs search for other commits by this committer
- Remove A/An in COMMENT
- Trim Header where applicable
1.04
25 Sep 2011 14:56:49
Original commit files touched by this commit
cy search for other commits by this committer
Remove MD5 sum.
1.04
04 Sep 2011 13:29:30
Original commit files touched by this commit
mandree search for other commits by this committer
Mark MAKE_JOBS_UNSAFE.
Reported by: eadler@.
1.04
03 Sep 2011 08:03:36
Original commit files touched by this commit
cy search for other commits by this committer
Bring this old-school tool back from the dead.

Assume maintainership of this port.
1.04
01 May 2011 20:14:20
Original commit files touched by this commit
bapt search for other commits by this committer
Remove unmaintained expired ports from security

2011-05-01 security/aafid2: Upstream disapear and distfile is no more available
2011-05-01 security/bjorb: Upstream disapear and distfile is no more available
2011-05-01 security/borzoi: Upstream disapear and distfile is no more available
2011-05-01 security/cmd5checkpw: Upstream disapear and distfile is no more
available
2011-05-01 security/cops: Upstream disapear and distfile is no more available
2011-05-01 security/find_ddos: Upstream disapear and distfile is no more
available
2011-05-01 security/ftpmap: Upstream disapear and distfile is no more available
2011-05-01 security/hafiye: Upstream disapear and distfile is no more available
2011-05-01 security/ident2: Upstream disapear and distfile is no more available
2011-05-01 security/liedentd: Upstream disapear and distfile is no more
available
2011-05-01 security/pam_pop3: Upstream disapear and distfile is no more
available
2011-05-01 security/poc: Upstream disapear and distfile is no more available
2011-05-01 security/portscanner: Upstream disapear and distfile is no more
available
2011-05-01 security/ppgen: Upstream disapear and distfile is no more available
2011-05-01 security/qident: Upstream disapear and distfile is no more available
2011-05-01 security/quintuple-agent: Upstream disapear and distfile is no more
available
2011-05-01 security/rc5pipe: Upstream disapear and distfile is no more available
2011-05-01 security/rid: Upstream disapear and distfile is no more available
2011-05-01 security/ssh: Upstream disapear and distfile is no more available
2011-05-01 security/tea-total: Upstream disapear and distfile is no more
available
2011-05-01 security/uberkey: Upstream disapear and distfile is no more available
1.04
13 Mar 2011 21:30:59
Original commit files touched by this commit
bapt search for other commits by this committer
Deprecate unmaintained ports from security where upstream disapear and/or
where no distfiles can be found and are not used by maintained ports
1.04
21 Dec 2009 02:19:12
Original commit files touched by this commit
dougb search for other commits by this committer
For ports maintained by ports@FreeBSD.org, remove names and/or
e-mail addresses from the pkg-descr file that could reasonably
be mistaken for maintainer contact information in order to avoid
confusion on the part of users looking for support. As a pleasant
side effect this also avoids confusion and/or frustration for people
who are no longer maintaining those ports.
1.04
26 May 2006 03:59:53
Original commit files touched by this commit
mnag search for other commits by this committer
- Re-add primary master site, while here fix WWW

Notified by:    sam
1.04
25 May 2006 01:46:00
Original commit files touched by this commit
mnag search for other commits by this committer
- Fix master sites

PR:             97827
Submitted by:   Martin Wilke <freebsd___unixfreunde.de>
1.04
25 Nov 2005 18:01:16
Original commit files touched by this commit
pav search for other commits by this committer
- Add SHA256
1.04
17 Mar 2004 18:29:46
Original commit files touched by this commit
trevor search for other commits by this committer
SIZEify.
1.04
20 Feb 2003 18:59:13
Original commit files touched by this commit
knu search for other commits by this committer
De-pkg-comment.
08 Oct 2000 07:30:58
commit hash: fp1.4801@dev.null.freshports.orgcommit hash: fp1.4801@dev.null.freshports.orgcommit hash: fp1.4801@dev.null.freshports.orgcommit hash: fp1.4801@dev.null.freshports.org files touched by this commit
asami search for other commits by this committer
Convert category security to new layout.  
15 Jul 2000 18:35:29
commit hash: fp1.1995@dev.null.freshports.orgcommit hash: fp1.1995@dev.null.freshports.orgcommit hash: fp1.1995@dev.null.freshports.orgcommit hash: fp1.1995@dev.null.freshports.org files touched by this commit
will search for other commits by this committer
Fix MASTER_SITES; add WWW.  Add MAINTAINER while I'm here.    

Number of commits found: 33