Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-06-18 | db-cleanup: delete symlinks in one pass | Luke Shumaker | |
2014-06-18 | db-cleanup: clarify message | Luke Shumaker | |
2014-06-18 | db-cleanup: obey TMPDIR | Luke Shumaker | |
2014-06-18 | more quoting fixes | Luke Shumaker | |
2014-06-18 | db-functions:check_repo_permissions: ARCHES is an array | Luke Shumaker | |
2014-06-18 | oops | Luke Shumaker | |
2014-06-18 | silly whitespace and similar fidling | Luke Shumaker | |
2014-06-18 | use mv_acl | Luke Shumaker | |
2014-06-18 | create-repo: get rid of old staging logic | Luke Shumaker | |
2014-06-18 | Use printf formatters instead of string interpolation. | Luke Shumaker | |
I used this command to find them: egrep -r --exclude-dir={test,.git} '(plain|msg|msg2|warning|error|stat_busy|stat_done|abort|die)\s+"?[^"]*\$' | |||
2014-06-18 | More quoting fixes | Luke Shumaker | |
2014-06-18 | Clean up quoting. | Luke Shumaker | |
2014-06-18 | use tab indent | Luke Shumaker | |
2014-06-17 | remove more scripts that I know to be obsolete | 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 | 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-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 | 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 | 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 | db-update: remove 'other' from repo blacklist now that issue #460 is added | Luke Shumaker | |
2014-01-08 | Don't error about permissions on empty staging repos (feature #460) | Parabola | |
2014-01-06 | fix things | Parabola | |
2014-01-04 | Merge branch 'repo' | Luke Shumaker | |
2014-01-05 | go ahead and track local_config | Parabola | |