diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-09-07 11:20:09 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2011-09-07 11:20:09 -0300 |
commit | 941527868d956c45f9e90714aee6b668a5ce28ab (patch) | |
tree | 81f4971031b575f74891b4a37354643ae10b8116 | |
parent | d220266566780795b2cad867253ac75b99c59604 (diff) | |
parent | 2936ee619794c7075842b79eeab88fc690990802 (diff) |
Merge branch 'master' of ssh://gparabola/libretools
Conflicts:
fullpkg
-rw-r--r-- | cleansystem | 3 | ||||
-rwxr-xr-x | fullpkg | 2 | ||||
-rwxr-xr-x | librerelease | 2 | ||||
-rwxr-xr-x | pkgbuild-check-nonfree | 11 |
4 files changed, 10 insertions, 8 deletions
diff --git a/cleansystem b/cleansystem index 3f92b95..5c44d17 100644 --- a/cleansystem +++ b/cleansystem @@ -124,3 +124,6 @@ wpa_supplicant xfsprogs xz zlib +libgssglue +libtirpc + @@ -228,7 +228,7 @@ __build() { echo "built:$(basename $PWD)" >>$build_dir/log ;; -## Build failed +# # Build failed *) error "There were errors while trying to build the package." echo "failed:$(basename $PWD)" >>$build_dir/log diff --git a/librerelease b/librerelease index 7df5184..5283114 100755 --- a/librerelease +++ b/librerelease @@ -61,7 +61,7 @@ while getopts 'hlc' arg; do case $arg in h) usage; exit 0 ;; l) list_packages; exit 0 ;; - c) clean_packages; exit $? ;; + c) clean; exit $? ;; esac done diff --git a/pkgbuild-check-nonfree b/pkgbuild-check-nonfree index 55976a8..fd7b69e 100755 --- a/pkgbuild-check-nonfree +++ b/pkgbuild-check-nonfree @@ -19,6 +19,8 @@ # You should have received a copy of the GNU General Public License # along with Parabola. If not, see <http://www.gnu.org/licenses/>. +source /etc/libretools.conf + function in_array { # usage : in_array( $needle, $haystack ) [[ $2 ]] || return 1 # Not found @@ -30,10 +32,9 @@ function in_array { # usage : in_array( $needle, $haystack ) return 1 # Not Found } - function get_blacklist { # Download the blacklist. - pushd $XDG_CONFIG_HOME/libretools/ >/dev/null + pushd "$XDG_CONFIG_HOME/libretools" >/dev/null msg "Downloading the blacklist of proprietary software packages." wget -N -q -O blacklist.txt "${BLACKLIST}" 2>/dev/null || { [ -e $XDG_CONFIG_HOME/libretools/blacklist.txt ] || { @@ -47,7 +48,7 @@ function get_blacklist { # Download the blacklist. function check_deps { # Check wheter a package depends on non-free - pushd $XDG_CONFIG_HOME/libretools/ >/dev/null + pushd "$XDG_CONFIG_HOME/libretools/" >/dev/null local unfree=($(cut -d: -f1 blacklist.txt)) # pkgname:free-replacement:comments local freerep=($(cut -d: -f2 blacklist.txt)) # pkgname:free-replacement:comments popd >/dev/null @@ -72,8 +73,6 @@ function check_deps { # Check wheter a package depends on non-free done } -source /etc/libretools.conf - if [ -e $XDG_CONFIG_HOME/libretools/libretools.conf ]; then source $XDG_CONFIG_HOME/libretools/libretools.conf fi @@ -89,7 +88,7 @@ else fi if [ ! -d "$XDG_CONFIG_HOME/libretools" ]; then - mkdir -p $XDG_CONFIG_HOME/libretools + mkdir -p "$XDG_CONFIG_HOME/libretools" fi get_blacklist |