Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- spaceman 2010-11-30 06:35:51.000000000 -0800
- +++ spaceman.copy 2011-04-03 13:49:19.000000000 -0700
- @@ -1039,6 +1039,7 @@
- source $BUILDSCRIPT
- for name in ${source[@]} ; do
- + [ "${name:0:8}" != "https://" ] &&
- [ "${name:0:7}" != "http://" ] &&
- [ "${name:0:6}" != "ftp://" ] && echo ${name} >>$FILELIST
- done
- @@ -4145,7 +4146,7 @@
- license makedepends md5sums noextract optdepends
- options pkgdesc pkgname pkgrel pkgname32 pkgrel32 pkgver provides
- replaces section sha1sums sha256sums source url
- - usedesc useflags CC"
- + usedesc useflags CC NOSTRIP PACKAGER"
- if [ "${name:0:1}" != "_" ] ; then
- if ! grep -q -w "$name" <<< "$allowed_vars" ; then
- @@ -7860,13 +7861,13 @@
- synonym(){
- # expects a pkgname as $1
- # returns the grep -E string for pkgname and it's synonyms
- -syno="$1"
- +syno="$(echo $1|sed 's|\([-+]\)|\\|g')" #take out dangerous characters that prevent proper package detection
- [ -z "$DBFILE" ] && DBFILE=$INSTLIST
- -syno="${syno} $(grep "^$1:" $DBFILE | cut -d: -f${p_PROVIDES})"
- -syn=$(cut -d: -f${p_PROVIDES} $DBFILE | grep -n -E "( |^)$1( |$)" | cut -d: -f${p_PKGNAME})
- +syno="${syno} $(grep "^$1:" $DBFILE| cut -d: -f${p_PROVIDES})"
- +syn=$(cut -d: -f${p_PROVIDES} $DBFILE| grep -n -E "( |^)$syno( |$)" | cut -d: -f${p_PROVIDES})
- for n in ${syn}
- do
- - syno="${syno} $(sed -n ${n}p $DBFILE | cut -d: -f${p_PKGNAME})"
- + syno="${syno} $(sed -n ${n}p $DBFILE| cut -d: -f${p_PKGNAME})"
- done
- [ $(wc -w <<< "$syno") -gt 1 ] && syno="($(echo $syno | tr " " "|"))"
- echo $syno
Advertisement
Add Comment
Please, Sign In to add comment