Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-06-17 | cron-jobs/repo-sanity-check: clean up | Luke Shumaker | |
2014-06-17 | Merge branch 'master' into lukeshu/xbs | Luke Shumaker | |
Conflicts: cron-jobs/ftpdir-cleanup | |||
2014-06-17 | touch up a bunch of quoting | Luke Shumaker | |
2014-06-17 | sourceballs2, db-check-nonfree: quote and tab-indent | Luke Shumaker | |
2014-06-17 | db-cleanup: cleanup | Luke Shumaker | |
2014-06-17 | s/libremessages/db-functions/ | Luke Shumaker | |
2014-06-17 | db-functions: add mv_acl | Luke Shumaker | |
2014-06-17 | cron-jobs/ftpdir-cleanup: remove old /any/ cleanup code | Luke Shumaker | |
2014-06-17 | Merge branch 'master' into lukeshu/xbs | Luke Shumaker | |
Conflicts: get-repos yf-update | |||
2014-06-17 | mv local_config db-sync.conf # now that its other uses are gone | Luke Shumaker | |
2014-06-17 | rm -r yf/ yf-update # they aren't used anymore | Luke Shumaker | |
2014-06-17 | mkrepo: cleanup | Luke Shumaker | |
- Use config:FTP_BASE instead of local_config:repodir - Don't mention get_repos script anymore - Remove redundant lines of code. - Better quoting. | |||
2014-06-17 | rm get-repos (obsolete) and git-pbs (never used/testing) | Luke Shumaker | |
2014-06-17 | db-pick-mirror: remove obsolete comment | Luke Shumaker | |
2014-06-17 | db-import.conf: add all staging repos | Luke Shumaker | |
2014-06-17 | Merge branch 'lukeshu/archlinux+xbs+merge-parabola' into ↵ | Luke Shumaker | |
lukeshu/archlinux+xbs+db-import | |||
2014-06-16 | Merge branch 'master' into lukeshu/archlinux+xbs+merge-parabola | Luke Shumaker | |
2014-06-16 | abslibre: use tab indentproduction/repo | Luke Shumaker | |
2014-06-16 | abslibre: also run git gc | Luke Shumaker | |
2014-06-16 | config: don't have default STAGING be public | Luke Shumaker | |
2014-06-16 | config:remove java-ugly | Luke Shumaker | |
2014-06-15 | config: don't clobber the existing STAGING scheme | Luke Shumaker | |
2014-06-15 | Merge branch 'master' into lukeshu/archlinux+xbs+merge-parabola | Luke Shumaker | |
Conflicts: config libremessages | |||
2014-06-15 | put our packages in a separate pool | Parabola | |
2014-03-12 | oops | Nicolás Reynolds | |
2014-03-12 | Hopefully fix a horrible bug that caused leaked packages | Nicolás Reynolds | |
Also added a few checks | |||
2014-01-29 | add [multilib-testing], [libre-multilib] and [libre-multilib-testing] repos | André Fabian Silva Delgado | |
2014-01-16 | Merge branch 'master' into cleanup | Luke Shumaker | |
Conflicts: cron-jobs/ftpdir-cleanup cron-jobs/sourceballs db-functions db-move db-remove db-sync db-update get-repos local_config testing2x yf-update | |||
2014-01-16 | fix new db-sync | Parabola | |
2014-01-15 | db-update: add shopt -s nullglob and remove mail script to ↵ | André Fabian Silva Delgado | |
maintenance@lists.parabolagnulinux.org because it's unstable | |||
2014-01-15 | revert to old db-sync until fix it, rename lastest db-sync to db-sync.orig | André Fabian Silva Delgado | |
2014-01-11 | modification on db-update for mail | aurelien | |
2014-01-08 | remove unused variables from local_config | Luke Shumaker | |
2014-01-08 | Avoid using $(basename $var) , use ${var##*/} instead | Luke Shumaker | |
2014-01-08 | db-sync: use tab indent | Luke Shumaker | |
2014-01-08 | Fix some array quoting. | Luke Shumaker | |
2014-01-08 | Normalize to load config then local_config then db-functions | Luke Shumaker | |
2014-01-08 | fix comments, indentation | Luke Shumaker | |
2014-01-08 | Get rid of $ARCH_BASE; these days it is the same as $FTP_BASE | Luke Shumaker | |
2014-01-08 | Be very careful about using $0. | Luke Shumaker | |
2014-01-08 | Remove extra local_config loads. | Luke Shumaker | |
Some files were loading local_config even if they did not use any settings from it. | |||
2014-01-08 | Fix quoting on arrays. | Luke Shumaker | |
2014-01-08 | Use `mktemp -t` to respect $TMPDIR | Luke Shumaker | |
2014-01-08 | misc touch up | Luke Shumaker | |
- TODO: add trailing newline - config: add text editor hint - config.orig: remove - getrepos: quote, use -- - db-functions: hardcode some paths, remove needless nullglob | |||
2014-01-08 | rm repo-remove -- in Oct 2012 fauno removed repo-add, but left this | Luke Shumaker | |
The customized repo-{add,remove} did license extraction for packages. They were based on the versions from pacman 3.5.0 Here is a diff between the stock versions from 3.5.0, and the modified version that we had: --- repo-add.sh.in 2013-12-31 18:02:13.546351038 -0500 +++ repo-remove.in 2013-12-31 18:13:19.957948677 -0500 @@ -20,6 +20,8 @@ # You should have received a copy of the GNU General Public License # along with this program. If not, see <http://www.gnu.org/licenses/>. +LICENSESDIR=/home/parabolavnx/licenses + # gettext initialization export TEXTDOMAIN='pacman' export TEXTDOMAINDIR='@localedir@' @@ -309,6 +311,22 @@ fi fi + # Extracts licenses to a common license dir + msg "Extracting license" + if bsdtar -xOf ${pkgfile} .PKGINFO | grep "license" | grep "custom" ; then + if [ -d ${LICENSESDIR}/${pkgname} ]; then + rm -r ${LICENSESDIR}/${pkgname} + fi + + # Change dir to licenses, and extract them stripping the first part of the path + bsdtar -C ${LICENSESDIR}/ --include="usr/share/licenses/" \ + --strip-components 3 -xf ${pkgfile} >/dev/null 2>&1 + + if [ $? -ne 0 ]; then + warning "This package doesn't contain a license dir" + fi + fi + return 0 } # end db_write_entry @@ -328,6 +346,12 @@ rm -rf $pkgentry pkgentry=$(find_pkgentry $pkgname) done + + msg "Removing license" + if [ -d ${LICENSESDIR}/${pkgname} ]; then + rm -r ${LICENSESDIR}/${pkgname} + fi + return $notfound } # end db_remove_entry | |||
2014-01-08 | repo-sanity-check: take advantage of printf | Luke Shumaker | |
2014-01-08 | fix local_config:mirrorpath for the selected mirror | Luke Shumaker | |
2014-01-08 | Fix some array quoting. | Luke Shumaker | |
2014-01-08 | Normalize to load ./config before loading ./db-functions | Luke Shumaker | |
2014-01-08 | db-functions: use ${array[*]} when appropriate | Luke Shumaker | |