Updating to version 101.0.4951.64

master
Meliurwen 3 years ago
commit 323d5968d7
Signed by: meliurwen
GPG Key ID: 818A8B35E9F1CE10
  1. 3
      .gitignore
  2. 1
      checksums/chromium-ungoogled-101.0.4951.64-x86_64-1alien.txz.md5
  3. 77
      debian/README
  4. 5
      debian/changelog
  5. 22
      debian/control
  6. 51
      debian/copyright
  7. 1
      debian/install
  8. 12
      debian/postinst.ex
  9. 10
      debian/prerm.ex
  10. 5
      debian/rules
  11. 1
      debian/source/format
  12. 49
      main.sh

3
.gitignore vendored

@ -0,0 +1,3 @@
archive/
tree/
chromium-ungoogled-*.txz

@ -0,0 +1 @@
1287a142fcbddae46f4b13e21d004d29 chromium-ungoogled-101.0.4951.64-x86_64-1alien.txz

77
debian/README vendored

@ -0,0 +1,77 @@
Command-line Flags
==================
Chromium has an extensive set of command-line flags that change rapidly, so
it's not really practical to include documentation in the package. This page
is kept relatively up to date with that information:
http://peter.sh/experiments/chromium-command-line-switches
Omnibox Search
==============
The omnibox search feature, which sends information entered into the url
entry bar to a selected search provider, can be disabled by setting
"disabled" "disabled" "http://%s" as the three fields and then selecting
"Make default" in the Default search settings dialog:
chrome://settings/searchEngines
Built-in Extensions
===================
The debian package disables most built-in upstream extensions by default
since users have stated concern about enabled features that they have not
specifically requested. This includes things like Google Hangouts, etc.
There are two exceptions, the pdfium extension for viewing pdf files
directly in the browser and the two-factor authentication extension.
If you would like to use one of the upstream built-ins that are currently
disabled, please edit debian/rules to enable it and rebuild the package
from source. See debian bug #886358 for more information.
Widevine Extension
==================
Widevine is a non-free library that cannot be distributed directly by Debian.
If you would like chromium to use it, you need to obtain it from google first
and install it to one of these locations ~/.config/chromium/WidevineCdm/ or
/usr/lib/chromium/WidevineCdm/.
Debugging
=========
To produce meaningful debugging information, please install the chromium-dbgsym
package and launch chromium with the "-g" flag.
$ chromium -g
If you try to install chromium-dbgsym and it fails, you may not have Debian's
dbgsym package repository configured and enabled. To set this up, first as
root add one or more of the following lines to your /etc/apt/sources.list file
(select the one appropriate to the Debian release you are using):
deb http://debug.mirrors.debian.org/debian-debug stable-debug main
deb http://debug.mirrors.debian.org/debian-debug testing-debug main
deb http://debug.mirrors.debian.org/debian-debug unstable-debug main
Then execute these commands (also as root):
# apt update
# apt install chromium-dbgsym
Information about installing dbgsym packages can be found on the Debian wiki:
http://wiki.debian.org/AutomaticDebugPackages
Additional information about debugging chromium can also be found on the Debian
wiki, but it is often out of date:
http://wiki.debian.org/Chromium/Debugging
Running as Root
===============
First of all, this is a very bad idea for a large number of reasons, so please
do not do this unless you really know what you are doing. However, if you want
to accept the risks, you can use the --no-sandbox command line argument to be
able to run chromium as root:
# chromium --no-sandbox

5
debian/changelog vendored

@ -0,0 +1,5 @@
chromium-ungoogled (96.0.4664.45) unstable; urgency=medium
* Initial release.
-- Meliurwen <meliurwen@gmail.com> Sat, 11 Dec 2021 09:58:47 +0100

22
debian/control vendored

@ -0,0 +1,22 @@
Source: chromium-ungoogled
Section: web
Priority: optional
Maintainer: Meliurwen <meliurwen@gmail.com>
Rules-Requires-Root: no
Build-Depends:
debhelper-compat (= 13),
Standards-Version: 4.6.1
#Homepage: <insert the upstream URL, if relevant>
Package: chromium-ungoogled
Architecture: amd64
Depends:
${misc:Depends},
Provides:
www-browser,
gnome-www-browser,
Description: web browser
Web browser that aims to build a safer, faster, and more stable internet
browsing experience.
.
This package contains the web browser component.

51
debian/copyright vendored

@ -0,0 +1,51 @@
Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: <url://example.com>
Upstream-Name: chromium-ungoogled
Upstream-Contact: <preferred name and address to reach the upstream project>
Files:
*
Copyright:
<years> <put author's name and email here>
<years> <likewise for another author>
License: BSD-3-clause
Files:
debian/*
Copyright:
2022 Meliurwen <meliurwen@gmail.com>
License: BSD-3-clause
License: BSD-3-clause
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
3. Neither the name of the University nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE HOLDERS OR
CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# Please also look if there are files or directories which have a
# different copyright/license attached and list them here.
# Please avoid picking licenses with terms that are more restrictive than the
# packaged work, as it may make Debian's contributions unacceptable upstream.
#
# If you need, there are some extra license texts available in two places:
# /usr/share/debhelper/dh_make/licenses/
# /usr/share/common-licenses/

1
debian/install vendored

@ -0,0 +1 @@
tree/* /

12
debian/postinst.ex vendored

@ -0,0 +1,12 @@
#!/bin/sh
set -e
if [ "$1" = "configure" ] || [ "$1" = "abort-upgrade" ] ; then
update-alternatives --install /usr/bin/x-www-browser \
x-www-browser /usr/bin/chromium-ungoogled 40
update-alternatives --install /usr/bin/gnome-www-browser \
gnome-www-browser /usr/bin/chromium-ungoogled 40
fi
#DEBHELPER#

10
debian/prerm.ex vendored

@ -0,0 +1,10 @@
#!/bin/sh
set -e
if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ] ; then
update-alternatives --remove x-www-browser /usr/bin/chromium-ungoogled
update-alternatives --remove gnome-www-browser /usr/bin/chromium-ungoogled
fi
#DEBHELPER#

5
debian/rules vendored

@ -0,0 +1,5 @@
#!/usr/bin/make -f
%:
dh $@

@ -0,0 +1 @@
3.0 (native)

@ -0,0 +1,49 @@
#!/bin/sh
set -e
prepare() {
mkdir archive && cd archive
tar -xf "../${archive_pkg}" 2>/dev/null
# Move a couple of things in order to conform to Debian's standards
mv usr/lib64 usr/lib
mv usr/man usr/share/
# Remove Slackware-specific folder
rm -rf install/
cd ..
}
package() {
cp -r archive/etc ${pkgdir}/
cp -r archive/usr ${pkgdir}/
dch --newversion $pkgver --distribution unstable --controlmaint "New relase."
}
pkgver=101.0.4951.64
srcdir="$PWD"
archive_pkg="chromium-ungoogled-${pkgver}-x86_64-1alien.txz"
if [ ! -f "${archive_pkg}" ]; then
curl -o "${archive_pkg}" "http://www.slackware.com/~alien/slackbuilds/chromium-ungoogled/pkg64/current/${archive_pkg}"
fi
if [ ! -f "checksums/${archive_pkg}.md5" ]; then
curl -o "checksums/${archive_pkg}.md5" "http://www.slackware.com/~alien/slackbuilds/chromium-ungoogled/pkg64/current/${archive_pkg}.md5"
fi
cat "checksums/${archive_pkg}.md5" | md5sum -c
prepare
pkgdir="tree"
package
dpkg-buildpackage
Loading…
Cancel
Save