Age | Commit message (Collapse) | Author | |
---|---|---|---|
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 | |
2014-01-05 | db-update: add hook for publishing generated sources | Parabola | |
2014-01-05 | fix use of $0 in db-cleanup | Parabola | |
2013-12-27 | Changed to /srv | Nicolás Reynolds | |
2013-12-27 | Adapt to the current setup | Nicolás Reynolds | |
2013-12-27 | Use the blacklist from git | Nicolás Reynolds | |
2013-12-27 | Remove abs dependency | Nicolás Reynolds | |
2013-12-27 | Original abslibre sync script used on the dead repo | Nicolás Reynolds | |
2013-12-17 | Removes the extra new line added by nano for unknown reasons. | Drtan Samos | |
2013-12-17 | Added a user repository for me in order to test packages before they come to ↵ | Drtan Samos | |
the offical repositories. | |||
2013-11-30 | Drop remote (connos) repo support | Luke Shumaker | |
2013-11-30 | Change the default WEB_DIR to reflect the new server | Luke Shumaker | |
2013-10-14 | oops | Luke Shumaker | |
2013-10-14 | db-sync: also generate ${repo}.files databases for imported repos | Luke Shumaker | |
2013-10-14 | Merge branch 'repo' | Luke Shumaker | |
2013-10-14 | Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/dbscripts | Luke Shumaker | |
2013-10-14 | config: only set staging if it is not set from the environment | Parabola | |
2013-08-28 | remove mtjm repo | André Fabian Silva Delgado | |
2013-08-26 | remove fauno repo | André Fabian Silva Delgado | |
2013-08-26 | Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/dbscripts | André Fabian Silva Delgado | |
2013-08-26 | remove deprecated repos | André Fabian Silva Delgado | |
2013-08-26 | removed unnecessary code | Icarious | |
2013-08-22 | remove coherence repo | André Fabian Silva Delgado | |
2013-08-21 | rename unfree to nonfree | Márcio Alexandre Silva Delgado | |
2013-08-20 | revert back db-move | Márcio Alexandre Silva Delgado | |
2013-08-20 | fixing db-move for any package architecture | Márcio Alexandre Silva Delgado | |
2013-08-20 | fixing PKGEXT variable | Márcio Alexandre Silva Delgado | |
2013-08-20 | adding nonprism repo | Márcio Alexandre Silva Delgado | |