1
0
forked from ports/contrib

Drop chown root:root crap

This commit is contained in:
James Mills 2015-02-17 11:09:04 +10:00
parent 33f9835356
commit ffa16bfc05
19 changed files with 19 additions and 52 deletions

View File

@ -6,7 +6,7 @@
name=c-ares
version=1.10.0
release=2
release=3
source=(http://c-ares.haxx.se/download/$name-$version.tar.gz)
build() {
@ -22,7 +22,4 @@ build() {
# Package
make DESTDIR=$PKG install
# Cleanup
chown -R root:root $PKG
}

View File

@ -6,7 +6,7 @@
name=cadaver
version=0.23.3
release=1
release=2
source=(http://www.webdav.org/cadaver/cadaver-$version.tar.gz)
build() {
@ -20,7 +20,4 @@ build() {
# Package
make prefix=$PKG/usr install
# Cleanup
chown -R root:root $PKG
}

View File

@ -6,7 +6,7 @@
name=cgroupfs-mount
version=1.1
release=1
release=2
source=(https://github.com/tianon/${name}/archive/${version}.tar.gz)
build() {
@ -15,6 +15,4 @@ build() {
# Package
install -D -m 755 cgroupfs-mount $PKG/usr/bin/cgroupfs-mount
install -D -m 755 cgroupfs-umount $PKG/usr/bin/cgroupfs-umount
chown -R root:root $PKG
}

View File

@ -7,7 +7,7 @@
name=docker
version=1.5.0
revision=a8a31eff10
release=3
release=4
source=(
https://raw.githubusercontent.com/docker/docker/v${version}/contrib/check-config.sh
https://github.com/docker/docker/archive/v$version.tar.gz
@ -37,6 +37,4 @@ build() {
install -D -m 755 $SRC/$name $PKG/etc/rc.d/$name
install -D -m 644 $SRC/$name.conf $PKG/etc/$name.conf
chown -R root:root $PKG
}

View File

@ -6,7 +6,7 @@
name=fping
version=3.10
release=3
release=4
source=(http://www.fping.org/dist/${name}-${version}.tar.gz)
build () {
@ -24,6 +24,4 @@ build () {
# Package
make DESTDIR=$PKG install
chown -R root:root $PKG
}

View File

@ -6,7 +6,7 @@
name=go
version=1.3.3
release=1
release=2
source=(
https://storage.googleapis.com/golang/${name}${version}.linux-amd64.tar.gz
golang.sh
@ -53,6 +53,4 @@ build() {
find "$PKG/usr/lib/go/" -type f -name "Makefile" -delete
rm $PKG/usr/lib/go/{AUTHORS,README,LICENSE,CONTRIBUTORS,PATENTS,robots.txt}
rm $PKG/usr/lib/go/src/{make.*,all.*,run.*,race.*,clean.*,Make.*,sudo.*}
chown -R root:root $PKG
}

View File

@ -6,7 +6,7 @@
name=linux-firmware
version=20141009
release=1
release=2
source=(http://shortcircuit.net.au/~prologic/distfiles/$name-$version.tar.xz)
build() {
@ -17,6 +17,4 @@ build() {
# Cleanup
rm $PKG/lib/firmware/{Makefile,README,configure,GPL-3}
chown -R root:root $PKG
}

View File

@ -6,7 +6,7 @@
name=lxmenu-data
version=0.1.2
release=1
release=2
source=(http://downloads.sourceforge.net/lxde/$name-$version.tar.gz)
build() {
@ -14,5 +14,4 @@ build() {
./configure --prefix=/usr --sysconfdir=/etc
make
make DESTDIR=$PKG install
chown -R root:root $PKG
}

View File

@ -6,7 +6,7 @@
name=lxmusic
version=0.4.5
release=1
release=2
source=(http://download.sourceforge.net/sourceforge/lxde/$name-$version.tar.gz)
build() {
@ -15,5 +15,4 @@ build() {
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/locale
chown -R root:root $PKG
}

View File

@ -6,7 +6,7 @@
name=lxterminal
version=0.2.0
release=1
release=2
source=(http://downloads.sourceforge.net/lxde/$name-$version.tar.gz)
build() {
@ -26,6 +26,4 @@ build() {
# Cleanup
rm -rf $PKG/usr/share/locale
chown -R root:root $PKG
}

View File

@ -6,7 +6,7 @@
name=mosquitto
version=1.3.1
release=3
release=4
source=(http://mosquitto.org/files/source/$name-$version.tar.gz
https://raw.github.com/binarybucks/mqttitude/master/tools/TLS/generate-CA.sh)
@ -27,6 +27,4 @@ build() {
mkdir -p $PKG/usr/man
mv $PKG/usr/share/man/* $PKG/usr/man
rm -rf $PKG/etc/mosquitto/*.example
chown -R root:root $PKG
}

View File

@ -7,7 +7,7 @@
name=nodejs
_name=node
version=0.10.33
release=2
release=3
source=(http://nodejs.org/dist/v${version}/$_name-v${version}.tar.gz)
build() {
@ -16,6 +16,4 @@ build() {
./configure --prefix=/usr
make
make DESTDIR=$PKG install
chown -R root:root $PKG
}

View File

@ -6,11 +6,10 @@
name=pbr
version=0.8.0
release=1
release=2
source=(http://pypi.python.org/packages/source/p/$name/$name-$version.tar.gz)
build() {
cd $name-$version
/usr/bin/python setup.py install --root=$PKG
chown -R root:root $PKG
}

View File

@ -6,7 +6,7 @@
name=pcmanfm
version=1.1.2
release=1
release=2
source=("http://downloads.sourceforge.net/project/pcmanfm/PCManFM%20%2B%20Libfm%20(tarball%20release)/PCManFM/pcmanfm-$version.tar.gz")
build() {
@ -15,5 +15,4 @@ build() {
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share/locale
chown -R root:root $PKG
}

View File

@ -6,11 +6,10 @@
name=pip
version=1.5.4
release=1
release=2
source=(http://pypi.python.org/packages/source/p/$name/$name-$version.tar.gz)
build() {
cd $name-$version
/usr/bin/python setup.py install --prefix=/usr --root=$PKG
chown -R root:root $PKG
}

View File

@ -6,7 +6,7 @@
name=redis
version=2.8.9
release=1
release=2
source=(
http://download.redis.io/releases/$name-$version.tar.gz
redis.conf
@ -21,6 +21,4 @@ build() {
install -D -m 755 $SRC/redis.rc $PKG/etc/rc.d/redis
install -D -m 644 $SRC/redis.conf $PKG/etc/redis.conf
install -d -m 755 $PKG/var/lib/redis
chown -R root:root $PKG
}

View File

@ -7,7 +7,7 @@
name=regionset
version=0.2
release=1
release=2
source=(http://linvdr.org/download/regionset/$name-$version.tar.gz)
build() {
@ -15,6 +15,4 @@ build() {
make
install -D -m 755 regionset $PKG/usr/bin/regionset
chown -R root:root $PKG
}

View File

@ -6,11 +6,10 @@
name=stevedore
version=0.15
release=1
release=2
source=(http://pypi.python.org/packages/source/s/$name/$name-$version.tar.gz)
build() {
cd $name-$version
/usr/bin/python setup.py install --root=$PKG
chown -R root:root $PKG
}

View File

@ -6,11 +6,10 @@
name=virtualenv
version=1.11.6
release=1
release=2
source=(http://pypi.python.org/packages/source/v/$name/$name-$version.tar.gz)
build() {
cd $name-$version
/usr/bin/python setup.py install --root=$PKG
chown -R root:root $PKG
}