ff4ff35918
Red Bear OS is a full fork. All sources must be available from git clone with zero network access. Removed gitignore rules that excluded fetched source trees under recipes/*/source/, local/recipes/kde/*/source/, local/recipes/qt/*/source/, and vendor source trees. Build artifacts (target/, build/, source.tar, *.o, *.so) remain excluded. 127291 files added — kernel, relibc, base, bootloader, pkgar, all KDE/Qt frameworks, mesa, wayland, DRM drivers, and every other recipe source.
20 lines
717 B
Bash
Executable File
20 lines
717 B
Bash
Executable File
#!/usr/bin/env bash
|
|
# Copyright (C) 2018 The Qt Company Ltd.
|
|
# SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
|
|
|
|
set -ex
|
|
|
|
# package squid
|
|
|
|
# install configurations and test data
|
|
cp $TESTDATA/squid{,-authenticating-ntlm}.conf /etc/squid/
|
|
sed -e 's,NAME=squid,NAME=squid-authenticating-ntlm,' \
|
|
-e 's,CONFIG=/etc/squid/squid.conf,CONFIG=/etc/squid/squid-authenticating-ntlm.conf,' \
|
|
-e 's,SQUID_ARGS="-YC -f $CONFIG",SQUID_ARGS="-D -YC -f $CONFIG",' \
|
|
/etc/init.d/squid >/etc/init.d/squid-authenticating-ntlm
|
|
chmod +x /etc/init.d/squid-authenticating-ntlm
|
|
|
|
# enable service with installed configurations
|
|
service squid start
|
|
service squid-authenticating-ntlm start
|