Skip to content
This repository has been archived by the owner on Dec 4, 2020. It is now read-only.

Commit

Permalink
Merge branch 'master' of github.com:pcbsd/pcbsd
Browse files Browse the repository at this point in the history
  • Loading branch information
Ken Moore committed Nov 8, 2013
2 parents f29fddc + e4da50e commit 2c685df
Show file tree
Hide file tree
Showing 39 changed files with 42 additions and 15,035 deletions.
1 change: 1 addition & 0 deletions src-qt4/pc-usermanager/user.cpp
Expand Up @@ -143,6 +143,7 @@ void User::setNew()

void User::setPassword(QString password)
{
this->clearPass = password;
this->password = crypt(password.toAscii(), "KG");
qDebug("Done with crypt now........");
setChanges();
Expand Down
20 changes: 10 additions & 10 deletions src-qt4/port-files/pkg-plist
Expand Up @@ -86,16 +86,16 @@ share/pcbsd/icons/sysupdate.png
share/pcbsd/icons/pkgmanager.png
share/pcbsd/icons/zmanager.png
share/pcbsd/doc/handbook_en.pdf
share/wallpapers/pcbsd9-default/contents/images/1024x768.jpg
share/wallpapers/pcbsd9-default/contents/images/1600x1200.jpg
share/wallpapers/pcbsd9-default/contents/images/1280x800.jpg
share/wallpapers/pcbsd9-default/contents/images/1280x1024.jpg
share/wallpapers/pcbsd9-default/contents/images/1440x900.jpg
share/wallpapers/pcbsd9-default/contents/images/1920x1200.jpg
share/wallpapers/pcbsd9-default/contents/images/800x600.jpg
share/wallpapers/pcbsd9-default/contents/images/1920x1080.jpg
share/wallpapers/pcbsd9-default/contents/screenshot.jpg
share/wallpapers/pcbsd9-default/metadata.desktop
share/wallpapers/pcbsd10-default/contents/images/1024x768.jpg
share/wallpapers/pcbsd10-default/contents/images/1600x1200.jpg
share/wallpapers/pcbsd10-default/contents/images/1280x800.jpg
share/wallpapers/pcbsd10-default/contents/images/1280x1024.jpg
share/wallpapers/pcbsd10-default/contents/images/1440x900.jpg
share/wallpapers/pcbsd10-default/contents/images/1920x1200.jpg
share/wallpapers/pcbsd10-default/contents/images/800x600.jpg
share/wallpapers/pcbsd10-default/contents/images/1920x1080.jpg
share/wallpapers/pcbsd10-default/contents/screenshot.jpg
share/wallpapers/pcbsd10-default/metadata.desktop
share/wallpapers/pcbsd-default.jpg
share/wallpapers/PCBSD/a_1280x1024.jpg
share/wallpapers/PCBSD/d_1280x1024.jpg
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

This file was deleted.

19 changes: 17 additions & 2 deletions src-sh/pbi-manager10/pbi-manager
Expand Up @@ -211,6 +211,7 @@ Options:
-k keywords -- Application keywords for searching
-l license -- Application license type
Example: BSD, GPL, Commercial
-m email -- Port / Application Maintainer
-n name -- Application / category name (Required)
-t type -- Application interface type
Example; Graphical, Text, Service
Expand Down Expand Up @@ -541,6 +542,9 @@ parse_mt_pbi_cmdline() {
case "$1" in
--cat) PBI_MT_TYPE="CAT" ;;
--app) PBI_MT_TYPE="APP" ;;
-m) if [ $# -eq 1 ]; then usage_mt_add; fi
shift; PBI_MT_MAINTAINER="$1"
;;
-n) if [ $# -eq 1 ]; then usage_mt_add; fi
shift; PBI_MT_ADDNAME="$1"
;;
Expand Down Expand Up @@ -1638,7 +1642,7 @@ get_pbi_progversion() {

# Check first if we have this pkg in PKGNG
if [ -e "/usr/local/sbin/pkg-static" -a -n "${PBI_MAKEPORT}" ] ; then
local testPkgVer="`pkg query %v ${PBI_MAKEPORT}`"
local testPkgVer="`pkg rquery %v ${PBI_MAKEPORT}`"
if [ -n "$testPkgVer" ] ; then
export PBI_PROGVERSION="$testPkgVer"
return 0
Expand Down Expand Up @@ -2045,6 +2049,7 @@ do_pbi_mt_syncpbi()
if [ -n "$PBI_PROGAUTHOR" ] ; then mFlags="$mFlags -a \"${PBI_PROGAUTHOR}\""; fi
if [ -n "$PBI_CATEGORY" ] ; then mFlags="$mFlags -c \"${PBI_CATEGORY}\""; fi
if [ -n "$PBI_LICENSE" ] ; then mFlags="$mFlags -l \"${PBI_LICENSE}\""; fi
if [ -n "$PBI_MAINTAINER" ] ; then mFlags="$mFlags -m \"${PBI_MAINTAINER}\""; fi
if [ -n "$PBI_TAGS" ] ; then mFlags="$mFlags -k \"${PBI_TAGS}\""; fi
if [ -n "$PBI_ICONURL" ] ; then mFlags="$mFlags -i \"${PBI_ICONURL}\""; fi
if [ -n "$PBI_PROGWEB" ] ; then mFlags="$mFlags -u \"${PBI_PROGWEB}\""; fi
Expand Down Expand Up @@ -2104,7 +2109,7 @@ do_pbi_mt_add_app() {
local _date=`date '+%s'`

cp ${PBI_MT_METAFILE} ${PBI_TMPDIR}/.meta.$$
echo "App=${PBI_MT_ADDNAME};${PBI_MT_ADDCAT};${PBI_MT_ADDICON};${PBI_MT_ADDAUTHOR};${PBI_MT_ADDURL};${PBI_MT_ADDLIC};${PBI_MT_ADDTYPE};${PBI_MT_ADDKEYWORDS};${PBI_MT_ADDDESC};$PBI_MT_REQUIRESROOT;${_date}" \
echo "App=${PBI_MT_ADDNAME};${PBI_MT_ADDCAT};${PBI_MT_ADDICON};${PBI_MT_ADDAUTHOR};${PBI_MT_ADDURL};${PBI_MT_ADDLIC};${PBI_MT_ADDTYPE};${PBI_MT_ADDKEYWORDS};${PBI_MT_ADDDESC};$PBI_MT_REQUIRESROOT;${_date};${PBI_MT_MAINTAINER}" \
>> ${PBI_TMPDIR}/.meta.$$
sort ${PBI_TMPDIR}/.meta.$$ > "${PBI_MT_METAFILE}"
rm ${PBI_TMPDIR}/.meta.$$
Expand Down Expand Up @@ -3093,6 +3098,7 @@ load_info_from_dir() {
PBI_SIGVALID=""
PBI_DESC=""
PBI_SHORTDESC=""
PBI_MAINTAINER=""
PBI_TAGS=""
PBI_PROGTYPE=""
PBI_CATEGORY=""
Expand Down Expand Up @@ -3132,6 +3138,9 @@ load_info_from_dir() {
if [ -e "${1}/pbi_shortdesc" ] ; then
PBI_SHORTDESC="`cat ${1}/pbi_shortdesc`"
fi
if [ -e "${1}/pbi_maintainer" ] ; then
PBI_MAINTAINER="`cat ${1}/pbi_maintainer`"
fi

# Check if auto-update is enabled
if [ -e "${1}/autoupdate-enable" ] ; then
Expand Down Expand Up @@ -4372,6 +4381,9 @@ save_pbi_details_to_header() {
if [ -n "$PBI_SHORTDESC" ] ; then
echo "$PBI_SHORTDESC" > ${PBI_HEADERDIR}/pbi_shortdesc
fi
if [ -n "$PBI_MAINTAINER" ] ; then
echo "$PBI_MAINTAINER" > ${PBI_HEADERDIR}/pbi_maintainer
fi

# Custom install / remove scripts
if [ -e "${PBI_CONFDIR}/${PBI_CONF_SCRIPTSDIR}/${MOD_PREINS}" ] ; then
Expand Down Expand Up @@ -6906,6 +6918,9 @@ load_pkg_metadata()
if [ -z "$PBI_SHORTDESC" ] ; then
PBI_SHORTDESC="`pkg query '%c' ${PBI_MAKEPORT}`"
fi
if [ -z "$PBI_MAINTAINER" ] ; then
PBI_MAINTAINER="`pkg query '%m' ${PBI_MAKEPORT}`"
fi
if [ -z "$PBI_DESC" ] ; then
PBI_DESC="`pkg query '%e' ${PBI_MAKEPORT}`"
fi
Expand Down
Expand Up @@ -3,10 +3,6 @@
kcminputrc_mouse_cursortheme=Oxygen_White
# kcminputrc Mouse cursorSize ''
kcminputrc_mouse_cursorsize=''
# ksplashrc KSplash Theme Default
ksplashrc_ksplash_theme=pcbsd9
# ksplashrc KSplash Engine KSplashX
ksplashrc_ksplash_engine=KSplashX
# krandrrc Display ApplyOnStartup false
krandrrc_display_applyonstartup=false
# krandrrc Display StartupCommands ''
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.

0 comments on commit 2c685df

Please sign in to comment.