A set of licenses, based on the GPL, with additional clauses to prevent the use of the software for nefarious purposes.

EDIT: After some issues raised, I am rebasing the license on the Apache License 2.0 and taking more care in keeping it open.

EDIT 2: I’ve rebased it. I plan to submit it to OSI as soon as my law student friend has a look at it.

      • sik0fewl@kbin.social
        link
        fedilink
        arrow-up
        22
        ·
        1 year ago

        It’s neither free software (as defined by the Free Software Foundation) or open source (as defined by the Open Source Initiative).

          • sik0fewl@kbin.social
            link
            fedilink
            arrow-up
            14
            ·
            1 year ago

            The Open Source Definition from the OSI has the clause:

            The license must not discriminate against any person or group of persons.

            And most people (that actually care about such things) would insist that “open source” must meet the criteria of the OSD to actually be open source.

            • Hellfire103@sopuli.xyzOP
              link
              fedilink
              English
              arrow-up
              9
              ·
              1 year ago

              But does the license do that? It’s not discriminating against groups, it’s discriminating against actions.

                 a. You may not use this software, or any derivative works based on it, for any activities that promote or incite violence, hate, discrimination, or harm towards individuals or groups based on race, religion, gender, nationality, or any other characteristic.
                 b. You may not use this software, or any derivative works based on it, for any activities that violate international human rights laws, including but not limited to activities that may lead to genocide, war crimes, or crimes against humanity.
              
              • mpldr@beehaw.org
                link
                fedilink
                arrow-up
                11
                ·
                1 year ago

                Yes, even if the group is racist bigots, warlords, or plain malicious idiots, those are still covered under “any group”. And I would argue that that is a good thing. Not that these groups exist, but that there are no exceptions one might use to create trouble for users.

                Seeing how the nouveau-right loves playing their victim card, that will just be gasoline for their hate-engine.

              • sik0fewl@kbin.social
                link
                fedilink
                arrow-up
                5
                ·
                1 year ago

                Then maybe this clause is more appropriate:

                The license must not restrict anyone from making use of the program in a specific field of endeavor. For example, it may not restrict the program from being used in a business, or from being used for genetic research.

                • sweng@programming.dev
                  link
                  fedilink
                  arrow-up
                  2
                  ·
                  1 year ago

                  But it does restrict making use of the program in specific fields of endeavor. That’s the entire point of the license. I would e.g. not be able to use it in a business that sells hate speech literature.

  • pm_me_some_serotonin@lemmy.zip
    link
    fedilink
    arrow-up
    22
    ·
    1 year ago

    From the juridical point of view, citing the gpl in your license is terrible (you didn’t specify the version either). The best thing is to actually write everything from the gpl that you want.

  • SSUPII@sopuli.xyz
    link
    fedilink
    arrow-up
    14
    ·
    1 year ago

    I love the idea! But as other have said it can be argued it would make the software non-FOSS. It’s still a nice license!

  • interolivary@beehaw.org
    link
    fedilink
    arrow-up
    4
    ·
    edit-2
    1 year ago

    You’ll likely get pushback from people who are convinced that free and open software means you have to allow literally everything. Possibly a large overlap with the sort of people who at least claim they’re free speech maximalists

  • HubertManne@kbin.social
    link
    fedilink
    arrow-up
    4
    ·
    1 year ago

    The problem I see is that its very easy to argue that X is violence or hate or discrimination. We see this in american politics. Trump gets impeached for things like telling a foreign leader he won’t release funds congress allocated to his country unless he does him a personal favor. Then calls come for bidens impeachment because maybe one of his kids did something somewhere. Ones obviously very legitamate while the other is not. Most open source orgs bend over backwards to not litigate. To be effective this would have to be in constant litigation trying to prove things that can be argued to death.

    • Hellfire103@sopuli.xyzOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      1 year ago

      Yeah, I was thinking that. The bad guys probably aren’t exactly known for obeying the law.

      Still, I guess it’s the thought that counts. Also, it would be funny for some dictator to be put on trial and have to answer to NATO, the UN, their own country, and then just this 17-year-old hobbyist calling themself Hellfire103.

  • BrikoX@lemmy.zip
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    While it is a nice idea, as it currently stands it is pointless. You need to define each of the nefarious purpose listed or it will fall under individual jurisdictions and judge interpretations.

    Also don’t even bother submitting to OSI as it will be rejected based on their OSD.