Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
M
manjaro-tools
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
29
Issues
29
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tools
development-tools
manjaro-tools
Commits
fc0adbcb
Commit
fc0adbcb
authored
May 29, 2018
by
Bernhard Landauer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
pacman 5.1.0 update
parent
f87fa4be
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
18 deletions
+12
-18
bin/mkchrootpkg.in
bin/mkchrootpkg.in
+1
-6
data/makepkg.conf
data/makepkg.conf
+10
-11
data/manjaro-tools.conf
data/manjaro-tools.conf
+1
-1
No files found.
bin/mkchrootpkg.in
View file @
fc0adbcb
...
...
@@ -198,11 +198,6 @@ prepare_chroot() {
$install
-d
"
$copydir
"
/
{
build,build/.gnupg,startdir,
{
pkg,srcpkg,src,log
}
dest
}
for
x
in
.gnupg/pubring.
{
kbx,gpg
}
;
do
[[
-r
$USER_HOME
/
$x
]]
||
continue
$install
-m
644
"
$USER_HOME
/
$x
"
"
$copydir
/build/
$x
"
done
sed
-e
'/^MAKEFLAGS=/d'
-e
'/^PACKAGER=/d'
-i
"
$copydir
/etc/makepkg.conf"
for
x
in
BUILDDIR
=
/build
PKGDEST
=
/pkgdest
SRCPKGDEST
=
/srcpkgdest
SRCDEST
=
/srcdest
LOGDEST
=
/logdest
\
"MAKEFLAGS='
$MAKEFLAGS
'"
"PACKAGER='
$PACKAGER
'"
...
...
@@ -254,7 +249,7 @@ _chrootnamcap() {
download_sources
()
{
local
builddir
=
"
$(
mktemp
-d
)
"
ch
mod
1777
"
$builddir
"
ch
own
$SUDO_USER
:
$SUDO_USER
"
$builddir
"
# Ensure sources are downloaded
if
[[
-n
$SUDO_USER
]]
;
then
...
...
data/makepkg.conf
View file @
fc0adbcb
#!/hint/bash
#
# /etc/makepkg.conf
#
...
...
@@ -8,9 +9,10 @@
#
#-- The download utilities that makepkg should use to acquire sources
# Format: 'protocol::agent'
DLAGENTS
=(
'ftp::/usr/bin/curl -fC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
'http::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
'https::/usr/bin/curl -fLC - --retry 3 --retry-delay 3 -o %o %u'
DLAGENTS
=(
'file::/usr/bin/curl -gqC - -o %o %u'
'ftp::/usr/bin/curl -gqfC - --ftp-pasv --retry 3 --retry-delay 3 -o %o %u'
'http::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
'https::/usr/bin/curl -gqb "" -fLC - --retry 3 --retry-delay 3 -o %o %u'
'rsync::/usr/bin/rsync --no-motd -z %u %o'
'scp::/usr/bin/scp -C %u %o'
)
...
...
@@ -34,8 +36,6 @@ CARCH="@CARCH@"
CHOST
=
"@CHOST@"
#-- Compiler and Linker Flags
# -march (or -mcpu) builds exclusively for an architecture
# -mtune optimizes for an architecture, but builds for whole processor family
CPPFLAGS
=
"-D_FORTIFY_SOURCE=2"
CFLAGS
=
"@CFLAGS@"
CXXFLAGS
=
"@CFLAGS@"
...
...
@@ -50,7 +50,7 @@ DEBUG_CXXFLAGS="-g -fvar-tracking-assignments"
# BUILD ENVIRONMENT
#########################################################################
#
# Defaults: BUILDENV=(
fakeroot !distcc
color !ccache check !sign)
# Defaults: BUILDENV=(
!distcc !
color !ccache check !sign)
# A negated environment option will do the opposite of the comments below.
#
#-- fakeroot: Allow building packages as a non-root user
...
...
@@ -74,7 +74,7 @@ BUILDENV=(!distcc color !ccache check !sign)
# These are default values for the options=() settings
#########################################################################
#
# Default: OPTIONS=(
strip docs !libtool !staticlibs emptydirs zipman purge !optipng !upx
!debug)
# Default: OPTIONS=(
!strip docs libtool staticlibs emptydirs !zipman !purge
!debug)
# A negated option will do the opposite of the comments below.
#
#-- strip: Strip symbols from binaries/libraries
...
...
@@ -84,10 +84,9 @@ BUILDENV=(!distcc color !ccache check !sign)
#-- emptydirs: Leave empty directories in packages
#-- zipman: Compress manual (man and info) pages in MAN_DIRS with gzip
#-- purge: Remove files specified by PURGE_TARGETS
#-- upx: Compress binary executable files using UPX
#-- debug: Add debugging flags as specified in DEBUG_* variables
#
OPTIONS
=(
strip
docs
!
libtool
!
staticlibs
emptydirs
zipman
purge
!
optipng
!
upx
!
debug
)
OPTIONS
=(
strip
docs
!
libtool
!
staticlibs
emptydirs
zipman
purge
!
debug
)
#-- File integrity checks to use. Valid: md5, sha1, sha256, sha384, sha512
INTEGRITY_CHECK
=(
md5
)
...
...
@@ -103,6 +102,8 @@ MAN_DIRS=({usr{,/local}{,/share},opt/*}/{man,info})
DOC_DIRS
=(
usr
/{,
local
/}{,
share
/}{
doc
,
gtk
-
doc
}
opt
/*/{
doc
,
gtk
-
doc
})
#-- Files to be removed from all packages (if purge is specified)
PURGE_TARGETS
=(
usr
/{,
share
}/
info
/
dir
.
packlist
*.
pod
)
#-- Directory to store source code in for debug packages
DBGSRCDIR
=
"/usr/src/debug"
#########################################################################
# PACKAGE OUTPUT
...
...
@@ -143,5 +144,3 @@ COMPRESSZ=(compress -c -f)
#
PKGEXT
=
'.pkg.tar.xz'
SRCEXT
=
'.src.tar.gz'
# vim: set ft=sh ts=2 sw=2 et:
data/manjaro-tools.conf
View file @
fc0adbcb
...
...
@@ -63,7 +63,7 @@
# Set to 'true' to use ssh-agent to store passphrase.
# ssh_agent=false
# use alternative storage server (one or the other might be more stable)
# use alternative storage server (one or the other might be more stable)
# alt_storage=false
# the server project: manjaro|manjaro-community
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment