cleanup: remove LEGAL and (support in) related tools.

LEGAL is badly maintained, LEGALlint notices quite a number of ports
which mismatch their line in LEGAL. The port itself is always leading.

* math/giacxcas: restrict RESTRICTED_FILES to giac_* only

Differential Revision: https://reviews.freebsd.org/D30061

Reviewed by:	portmgr (mat), dch, eadler, marcus
This commit is contained in:
Rene Ladan 2021-04-30 20:56:14 +02:00
parent a57cfc8fed
commit 0b673d6c5b
7 changed files with 3 additions and 284 deletions

226
LEGAL
View File

@ -1,226 +0,0 @@
# Creator: Jordan Hubbard
#
# **********************************************************************
# *** NOTE TO COMMITTERS ***
# *** ***
# *** If you are adding a port to this list that has previously been ***
# *** distributed, please inform portmgr@FreeBSD.org so that the ***
# *** distfile/packages can be removed from the FTP site. ***
# **********************************************************************
#
# Some of the ports in this directory have restrictive copyrights prohibiting
# their actual redistribution on mass media. When creating compilations
# of FreeBSD on such mass media, you should be sure and NOT distribute
# the original source tarballs for such ports in your distfiles directory.
# To do so will invite needless problems from the various parties involved.
#
# Since those connected to the net will also be able to use the ports framework
# to automatically fetch their own original sources and thus complete the puzzle,
# the hardship is not as severe as it might otherwise be.
#
# Such ports are listed below:
#
# This file can be linted with Tools/scripts/LEGALlint
#
# Dist Port Why
# ------------------------------------------------------------------------------
*-for-1.4.tgz net/dgd-lpmud May not be used for monetary gain
*_MegaCLI.zip sysutils/megacli Source recipient must acknowledge license. Reproduction or redistribution prohibited. See http://www.lsi.com/lookup/License.aspx
26410-800.zip audio/libaacplus unclear legal status, probably need licenses from 3GPP, Via Licensing and Coding Technologies
aacplusenc-* audio/aacplusenc unclear legal status, probably need licenses from 3GPP, Via Licensing and Coding Technologies
aestats-* games/aestats Commercial use is prohibited
agrep-* textproc/agrep No redistribution for profit
alephone/M1A1.zip games/alephone-data Bungie/Microsoft do not allow charging for Marathon data files
alephone/Marathon*.zip games/alephone-data Bungie/Microsoft do not allow charging for Marathon data files
apache2/mod_h264_streaming-* www/mod_h264_streaming No commercial use
astah-community-*.zip devel/astah-community License restrictions -- See http://astah.net/faq/community/enduser-license-agreement
atari800/* emulators/atari800 xf25 contains copyright ROMs and cannot be distributed
baudline_* audio/baudline No redistribution allowed
BCWipe-* security/bcwipe Non-commercial distribution and use only
bicom* archivers/bicom Contact author personally regarding commercial use
Browser*.tar.gz net/ldapbrowser No reply from author regarding redistribution licensing
citrix_ica-* net/citrix_ica License prohibits redistribution
arcconf-v* sysutils/arcconf May not be redistributed in binary form
cloudflare-cloudflared* net/cloudflared Not sure if we are allowed to redistribute it.
clustalw-* biology/clustalw No commercial use
cos-* java/cos Special conditions apply for commercial use
CrystalSVGforGnomeIcons* x11-themes/gnome-icons-crystal Themes may contain artwork not done by the author. Keep FreeBSD safe if theme author violated copyrights.
cyberbit/* x11-fonts/cyberbit-ttfonts Not free for commercial use
dbvis java/dbvis Redistribution is not permitted
dcl-*-C.tar.gz science/cdcl No commercial use
dcl-*.tar.gz science/dcl No commercial use
djbdns* dns/djbdns No license -- see http://cr.yp.to/softwarelaw.html
djbfft-* math/djbfft No license -- see http://cr.yp.to/softwarelaw.html
dlv lang/dlv Not sure if we can redistribute it
dn*.tgz emulators/darcnes Commercial use is restricted
doom3-linux-* games/linux-doom3 Redistribution is limited, see license; Requested by id Software
doom3-linux-* games/linux-doom3-demo Redistribution is limited, see license; Requested by id Software
doomsrc.zip games/doom Redistribution is limited, see license; Requested by id Software
dr_freebsd_*.zip sysutils/megarc Must be downloaded directly from the manufacturer
eagle-lin-*.run cad/linux-eagle5 Usage permitted for non-commercial purposes only
eawpats* audio/eawpats Some of the patches are not for commercial use
ecw_jpeg_2000_*.zip graphics/libecwj2 Registration required to download sources, but sources no longer available on ERDAS website
edith* editors/edith Redistribution not allowed
eijiro* japanese/eijiro-fpw The original dictionary is not free
emc2* math/emc2 No resale, contact author for commercial usage
emiclock-* x11-clocks/emiclock Changes on the code or repackaging requires author approval
et-linux-* games/linux-enemyterritory Redistribution limited
etqw* games/linux-etqw-demo-server Redistribution limited
etqw* games/linux-etqw-server Redistribution limited
ezmlm-* mail/ezmlm No license -- see http://cr.yp.to/softwarelaw.html
ezmlm-* mail/ezmlm-idx No license -- see http://cr.yp.to/softwarelaw.html
fahclient-* biology/linux-foldingathome Distribution without permission is prohibited
fasta2* biology/fasta May not be sold or incorporated into a commercial product
fasta3* biology/fasta3 May not be sold or incorporated into a commercial product
festival/festlex_OALD* audio/festlex-oald No commercial use
festival/OGIlexicon-* audio/festlex-ogi No commercial use
festlex-ogi audio/festlex-ogi No commercial use
fmsx*/* emulators/fmsx Legal status of distributed ROM images unclear
foiltex* textproc/foiltex Redistribution on a not-for-profit basis only
fp-freebsd-ws-* security/f-prot Free for personal users on personal workstations only
fuse-emulator-roms* emulators/fuse-roms No explicit permission to redistribute
Opus-22.rom emulators/fuse-roms No explicit permission to redistribute
freefonts-* x11-fonts/freefonts License prohibits redistribution; see individual .license files
fretsonfire/FretsOnFire-*-linux* games/fretsonfire-data Only Unreal Voodoo site is allowed to distribute the music
fvcom/sourcecode1.tar.gz science/fvcom Requires (free) registration
fvcom/sourcecode1.tar.gz science/fvcom-mpi Requires (free) registration
giac-* math/giacxcas The french documentation is for non commercial only use
giftool* graphics/giftool Do not redistribute for profit
gnome2/mcitymicrogui-default* x11-themes/metacity-theme-microgui Themes may contain artwork not done by the author. Keep FreeBSD safe if the theme author violated copyrights
GoogleEarthLinux-* astro/google-earth Not really sure about the redistribution terms
groupoffice-com-* www/groupoffice Free for personal use only
HeroesOfMightAndMagic-* games/HeroesOfMightAndMagic Software is commercial
homard-* french/homard The free downloading of HOMARD software is only allowed for coupling with Code_Aster. For any other use, a license agreement is requested. Please contact HOMARD project: <homard@edf.fr>.
hplip-*-plugin.run print/hplip-plugin License agreement is required
HyperSpec-* devel/clisp-hyperspec Commercial redistribution prohibited
HyperSpec-*.tar.gz devel/clisp-hyperspec Commercial redistribution prohibited
ICON-AquaFusion.* x11-themes/gnome-icons-aqua-fusion Themes may contain artwork not done by the author. Keep FreeBSD safe if theme author violated copyrights.
ICON-Gentoo-Test.* x11-themes/gnome-icons-gentoo-test Themes may contain artwork not done by the author. Keep FreeBSD safe if theme author violated copyrights.
ICON-Gnome-RH8.* x11-themes/gnome-icons-refined Themes may contain artwork not done by the author. Keep FreeBSD safe if theme author violated copyrights.
ICON-Iris* x11-themes/gnome-icons-iris Themes may contain artwork not done by the author. Keep FreeBSD safe if theme author violated copyrights.
ICON-Noia.* x11-themes/gnome-icons-noia-full Themes may contain artwork not done by the author. Keep FreeBSD safe if theme author violated copyrights.
ICON-NoiaWarm.* x11-themes/gnome-icons-noia-warm Themes may contain artwork not done by the author. Keep FreeBSD safe if theme author violated copyrights.
ICON-Slick.* x11-themes/gnome-icons-slick Themes may contain artwork not done by the author. Keep FreeBSD safe if theme author violated copyrights.
ICON-Snow-Apple.* x11-themes/gnome-icons-snow-apple Themes may contain artwork not done by the author. Keep FreeBSD safe if theme author violated copyrights.
ICON-Stylish.* x11-themes/gnome-icons-stylish Themes may contain artwork not done by the author. Keep FreeBSD safe if theme author violated copyrights.
ICON-Ximian-South-* x11-themes/gnome-icons-ximian-south Themes may contain artwork not done by the author. Keep FreeBSD safe if theme author violated copyrights.
jai-*-lib-linux-i586.* java/jai Redistribution is not permitted
java3d-sdk-*-linux-i386* java/java3d License does not allow distribution
jdk-8*-apidocs.zip java/jdk8-doc This documentation is under license and export control
jdk-8*-i586.tar.gz java/linux-oracle-jdk18 Redistribution of repackaged binaries not permitted
jfbuild-* games/jfsw Must be distributed only through the Internet and free of charge
jmf-*-alljava.zip java/jmf Redistribution of pre-compiled binaries is not permitted
jre-8*-i586.tar.gz java/linux-oracle-jre18 License does not allow distribution with fee
jta-*.zip java/jta See the license
komodo-* editors/komodo-edit Distribution not permitted
kzip-* archivers/kzip License does not allow commercial redistribution
l0phtcrack/* security/l0phtcrack Parts are under GPL, so binaries should not be distributed. Contains crypto code from OpenSSL
ladder.tar games/ladder Possible copyright problems
lha-1.14i-ac* archivers/lha-ac No redistribution allowed
libaacplus-* audio/libaacplus Unclear legal status
libamrnb/26104-*.zip audio/libamrnb unclear legal status, probably need licenses from 3GPP and more
libamrwb/26204-*.zip audio/libamrwb unclear legal status, probably need licenses from 3GPP and more
libdvdcss-*.tar.bz2 multimedia/libdvdcss CSS code may violate the DMCA
linux-nwnclient/* games/linux-nwnclient Distribution not allowed
linux-rkbin/* sysutils/linux-rkbin Unknown license
linux-unrealgold* games/linux-unrealgold Redistribution limited
linux-ut/* games/linux-ut Redistribution is limited, see license
linuxq3ademo-* games/linux-quake3 Restrictive license by Loki Software
linuxq3ademo-* games/linux-quake3-demo Restrictive license by Loki Software
linuxsampler-* audio/linuxsampler Commercial use is prohibited
Logitech-slimserver-* audio/logitechmediaserver Contains non-redistributable firmware, documentation, and images
lpac-* audio/lpac No commercial use
l_cc_p*_*.*.*.tar.gz lang/icc No redistribution allowed
macopix-*.tar.gz games/macopix Contains commercial character data
madfufw-* audio/madfufw No redistribution of firmware files
makemkv-bin-* multimedia/makemkv Do not sell. Do not redistribute modified binaries, but explicit permission to distribute a patched makemkvcon given by copyright owner
malo-fw-*.tar.gz net/malo-firmware-kmod Marvell refuses to grant distribution rights
mb339pan_* games/flightgear-mb339-pan Redistribution prohibited
mindfocus-* games/mindfocus Contains commercial character data
mindterm-* security/mindterm-binary Do not sell for profit
mist64-cbmbasic-* lang/cbmbasic Based on decompiled C64 KERNAL binary; not really sure about the legal status
molden* biology/molden Free for academic, non-profit usage; do not redistribute source and executable
nero2_linux_* games/linux-nerogame Freeware, but license terms are unclear
NetComponents-* java/netcomponents No redistribution except as part of a substantially different product
nntpcache-* news/nntpcache Free for individuals and non-military, non-profit organisations only
nttcp-* benchmarks/nttcp No commercial use
nwresources*.tar.gz games/nwndata Distribution not allowed
nyan--xmascot-* x11/xmascot Commercial use is prohibited
oneko-*.tar.gz games/oneko-sakura Including derivatives from CARDCAPTOR SAKURA
OptimFROG* audio/optimfrog No commercial use
oracle/* databases/jdbc-oracle11g This software is under license and export controls
oracle/sqldeveloper* databases/sqldeveloper This software is under license and export controls
oracle/instantclient-basic-linux* databases/linux-oracle-instantclient-basic Packaging prohibited by Oracle license
pcsv*fb.tar.gz lang/petite-chez User must accept license terms before installation
PDFlib-Lite-*.tar.gz print/pdflib Many odd restrictions on usage and distribution
ppsmall-* archivers/ppunpack No commercial redistribution
qtools-* mail/qtools No license -- see http://cr.yp.to/softwarelaw.html
quake4-linux-* games/linux-quake4 Redistribution is limited; see the license
quake4-linux-* games/linux-quake4-demo Redistribution is limited; see the license
Radiator/* net/radiator Commercial software
RakNet-* devel/raknet Special authorization granted to distribute version 3.x under GPLv3
rapid-* math/rapid For any commercial purpose, you must request a license from http://www.cs.unc.edu/~geom/OBB/OBBT.html
rarbsd-* archivers/rar only unmodified original package can be distributed
ricty-* japanese/font-ricty Redistribution not allowed
ringtonetools-* misc/ringtonetools Not free for commercial organizations
seatools_cli.tar sysutils/seatools Redistribution is not permitted
serialmail-* mail/serialmail No license -- see http://cr.yp.to/softwarelaw.html
serious.sam* games/linux-ssamtfe Redistribution limited
serious.sam* games/linux-ssamtse Redistribution limited
sharefonts-* x11-fonts/sharefonts Shareware: cannot be distributed without prior authorization
simian-* devel/simian Have to agree to license before download
STonX-* emulators/stonx Contains ROM (C) by Atari
stuffit* archivers/stuffit Only unmodified original package can be distributed
susv2.tar.bz2 misc/susv2 Redistribution of the documents is not permitted
susv3.tar.bz2 misc/susv3 Redistribution of the documents is not permitted
susv4tc2.tar.bz2 misc/susv4 Redistribution of the documents is not permitted
susv4-2018.tar.bz2 misc/susv4 Redistribution of the documents is not permitted
svm_light.tar.gz science/svmlight The software must not be further distributed without prior permission of the author
taetgen-* math/tetgen Academic or personal use only
tarsnap-* sysutils/tarsnap license restricts redistribution of source and binaries
tcetest_* games/linux-enemyterritory-tce Redistribution limited
teamspeak* audio/teamspeak3-server No redistribution
thundercache www/thundercache Commercial software with shareware license to 50 threads
triangle-*/* math/triangle No commercial use without prior arrangement with the author
Tripwire-*-1.tar.gz security/tripwire-131 Cannot be redistributed for more than the cost of duplication
TrueCrypt* security/truecrypt May not be redistributed. Must accept license to download.
tuc-* converters/tuc Author does not allow CD-ROM distribution
tw_cli-* sysutils/tw_cli Redistribution forbidden by license
ue*dev.zip editors/uemacs Resale allowed for media cost only
unifi-5*/UniFi.unix.zip net-mgmt/unifi5 Redistribution of bundled firmware images is not permitted
userApps.v*.src.tgz biology/ucsc-userapps Redistribution is limited, see license
uzap.tar.gz editors/uzap This software may not be used to make a profit in any way.
vdbench*.zip benchmarks/linux-vdbench Redistribution is not permitted
vdr-markad-* multimedia/vdr-plugin-markad Installs station logos
vice-* emulators/vice ROMs are copyrighted by Commodore Business Machines
VMware-vSphere-Perl* net/vmware-vsphere-cli May not be redistributed. Must accept license to download.
vpnc-* security/vpnc Redistribution is not allowed if linked against OpenSSL
vwnc7.3.1/* lang/visualworks Do not redistribute
waeijiro-fpw-* japanese/waeijiro-fpw The original dictionary is not free
webcopy-* www/webcopy This program cannot be distributed if modified in any way. Don't sell for profit without written permission
webfonts/* x11-fonts/webfonts Restrictive copyright
win32/* multimedia/win32-codecs Licensing status of the codecs is unknown
xanim-* multimedia/xanim Must be redistributed without fee
xchada01.lzh games/xchadance Contains commercial character data
xephem-* astro/xephem Personal use only
XFrisk-*.tar.gz games/xfrisk Possible trademark infringement
xhime*.tgz games/xhime Contains commercial character data
xinvaders-* games/xinvaders Do not sell for profit
xmdiary-* deskutils/xmdiary Do not sell for profit
xrisk-* games/xrisk Possible copyright/trademark violation
xtr1.50e* japanese/xtr Need to obtain permission for commercial redistribution
xzx-pro-*.tar.gz emulators/xzx Redistribution forbidden by license
yEd* graphics/yed Downloading requires acceptance of license agreement
zh-moettf/* chinese/moettf Contact Taiwan's Ministry of Education for commercial use
UrbanTerror*.zip games/urbanterror-data The mod files may not be sold or distributed on physical media unless with permission from id Software.
gmsh-* cad/gmsh Contact appropriate authors for commercial purposes if including Tetgen or Metis
sas2ircu-* sysutils/sas2ircu May not be redistributed. Must accept license to download.
snes9x-* emulators/snes9x-gtk Commercial users must seek permission from copyright holders.
rainloop-1.*.zip mail/rainloop Redistribution in any form is prohibited
lha-114i.tar.gz archivers/lha Binary only redistribution is prohibited. Non-network redistribution such as CDROM requires prior notification to author. Commercial use whose main purpose is to provide the functions of this program is prohibited.
charm-uiuc-* net/charm No commercial use: commercial use requires a commercial license
namd-* science/namd No commercial use: commercial use requires a commercial license
vmd-* science/vmd No commercial use: commercial use requires a commercial license
msms-* science/msms No commercial use, only for use by individuals in scientific research
netio* benchmarks/netio No commercial use: commercial use requires a commercial license
zerotier-* net/zerotier No SaaS or Govt usage: https://github.com/zerotier/ZeroTierOne/blob/master/LICENSE.txt

View File

@ -1,21 +0,0 @@
#!/bin/sh
PORTSDIR="${PORTSDIR:-/usr/ports}"
cd "$PORTSDIR" || exit 1
export IFS="${IFS}:"
grep -nv '#' "$PORTSDIR/LEGAL" | while read -r line _ port text
do
if [ ! -d "$port" ]
then
printf "%d (%s): port has been removed\\n" "$line" "$port"
continue
fi
actual_text="$(make -C "$port" -VLEGAL)"
if [ "$text" != "$actual_text" ]
then
printf "%d (%s): reason mismatch\\n" "$line" "$port"
fi
done

View File

@ -4,7 +4,6 @@ NOTE: These scripts need work and are *NOT* safe to use unless you know
script.
MOVEDlint.awk - checks MOVED for common errors
LEGALlint - checks LEGAL for common errors
ardiff - compare two archives easily
addport - replacement for easy-import
bad-pkgdescrs.sh - locate identical pkg descriptions

View File

@ -245,30 +245,6 @@ check_PRs()
return 0
}
# check if anything about the port is mentioned in ports/LEGAL
check_LEGAL()
{
catport=${1}
pkgname=${2}
for checkstr in ${pkgname} ${catport} ; do
msg="${catport}: checking if ${checkstr} is in ports/LEGAL"
log "${msg}"
while grep -i ${checkstr} LEGAL ; do
echo "" >&2
echo "${checkstr} is in ports/LEGAL" >&2
echo "remove it and hit <enter> when ready" >&2
echo "or hit 's' to skip this issue and continue anyway" >&2
read answer
if [ "${answer}" = "s" ] ; then
break
fi
log "${msg}"
done
done
${GIT} add LEGAL
}
# add port's entry to ports/MOVED
edit_MOVED()
{
@ -454,8 +430,6 @@ for catport in $* ; do
continue
fi
check_LEGAL ${catport} ${pkgname}
# everything seems ok, edit the files
edit_MOVED ${catport}
@ -483,7 +457,7 @@ while [ "${answer}" = "y" ] ; do
echo "you can now edit files by hand" >&2
answer=$(ask "do you want to recreate the diff")
if [ "${answer}" = "y" ] ; then
${GIT} add LEGAL MOVED
${GIT} add MOVED
fi
done

View File

@ -21,6 +21,7 @@ LICENSE_NAME_DOC= French documentation
LICENSE_TEXT_DOC= French documentation is for non-commercial use only
LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING
LICENSE_PERMS_DOC= dist-mirror pkg-mirror auto-accept
LICENSE_DISTFILES_DOC= giac_${DISTVERSION}${EXTRACT_SUFX}
BUILD_DEPENDS= bash:shells/bash
LIB_DEPENDS= libao.so:audio/libao \

View File

@ -2,6 +2,7 @@
PORTNAME= portlint
PORTVERSION= 2.19.6
PORTREVISION= 1
CATEGORIES= ports-mgmt
MASTER_SITES= # none
DISTFILES= # none

View File

@ -3449,15 +3449,6 @@ TEST_DEPENDS FETCH_DEPENDS DEPENDS_TARGET
}
}
# check RESTRICTED/NO_CDROM/NO_PACKAGE
print "OK: checking RESTRICTED/NO_CDROM/NO_PACKAGE.\n" if ($verbose);
my $lps = $makevar{LICENSE_PERMS} // '';
if ($committer && ($tmp =~ /\n(RESTRICTED|NO_CDROM|NO_PACKAGE)[+?]?=/ ||
$lps =~ /\bno-\b/)) {
&perror("WARN", $file, -1, "Possible restrictive licensing found. ".
"If there are, in fact, limitations to use or distribution, please update ports/LEGAL.");
}
if ($tmp =~ /\nNO_PACKAGE[+?]?=/) {
&perror("WARN", $file, -1, "NO_PACKAGE is obsolete. It should be ".
"replaced with \"LICENSE_PERMS=no-pkg-mirror\"");