Compare commits
No commits in common. "master" and "pristine-tar" have entirely different histories.
master
...
pristine-t
Binary file not shown.
Binary file not shown.
@ -1,89 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
# the directory of the script
|
|
||||||
DIR=`cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd`
|
|
||||||
echo "Working directory $DIR"
|
|
||||||
|
|
||||||
# the temp directory used, within $DIR
|
|
||||||
WORK_DIR=`mktemp -d -p "$DIR"`
|
|
||||||
echo "Creating temp working directory $WORK_DIR"
|
|
||||||
|
|
||||||
# deletes the temp directory
|
|
||||||
function cleanup {
|
|
||||||
rm -rf "$WORK_DIR"
|
|
||||||
echo "Deleted temp working directory $WORK_DIR"
|
|
||||||
}
|
|
||||||
|
|
||||||
# register the cleanup function to be called on the EXIT signal
|
|
||||||
trap cleanup EXIT
|
|
||||||
|
|
||||||
# Download Files specified in files.diz
|
|
||||||
while IFS=! read type app version outputfile url md5 realver
|
|
||||||
do
|
|
||||||
echo "Downloading $app Version: $version"
|
|
||||||
#use -O for output file. define $outputfile yourself
|
|
||||||
wget -c --no-check-certificate --tries=1 -O $DIR/../$outputfile --timeout=5 "$url"
|
|
||||||
# use $(..) instead of backticks.
|
|
||||||
calculated_md5=$(md5sum "$DIR/../$outputfile" | cut -f 1 -d " ")
|
|
||||||
# compare md5
|
|
||||||
case "$calculated_md5" in
|
|
||||||
"$md5" )
|
|
||||||
echo "$DIR/../$outputfile md5 ok"
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
echo "$DIR/../$outputfile md5 NOT ok"
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
done < "$DIR/files.diz"
|
|
||||||
|
|
||||||
# Extract to specified dir and set some variables
|
|
||||||
while IFS=! read type app version outputfile url md5 realver
|
|
||||||
do
|
|
||||||
mkdir -p $WORK_DIR/${type}/${realver}
|
|
||||||
pushd $WORK_DIR/${type}/${realver}
|
|
||||||
tar -zxf $DIR/../$outputfile
|
|
||||||
unzip $DIR/../$outputfile
|
|
||||||
popd
|
|
||||||
mkdir -p $WORK_DIR/${app}-${version}/${type}/${realver}
|
|
||||||
pushd $WORK_DIR/${app}-${version}/${type}/${realver}
|
|
||||||
case "${type}" in
|
|
||||||
"amd64" )
|
|
||||||
mv $WORK_DIR/${type}/${realver}/*/64bin/magician .
|
|
||||||
mv $WORK_DIR/${type}/${realver}/magician .
|
|
||||||
chmod +x magician
|
|
||||||
;;
|
|
||||||
"i386" )
|
|
||||||
mv $WORK_DIR/${type}/${realver}/*/32bin/magician .
|
|
||||||
mv $WORK_DIR/${type}/${realver}/magician .
|
|
||||||
chmod +x magician
|
|
||||||
;;
|
|
||||||
"doc" )
|
|
||||||
mv $DIR/../$outputfile .
|
|
||||||
;;
|
|
||||||
*)
|
|
||||||
echo "Wrong arch"
|
|
||||||
exit 1
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
echo "${app}_${version}.orig.tar.gz" > $WORK_DIR/filename.txt
|
|
||||||
echo "${app}-${version}" > $WORK_DIR/dirname.txt
|
|
||||||
echo "${version}" > $WORK_DIR/version.txt
|
|
||||||
popd
|
|
||||||
done < "$DIR/files.diz"
|
|
||||||
|
|
||||||
FILENAME=`cat $WORK_DIR/filename.txt`
|
|
||||||
DIRNAME=`cat $WORK_DIR/dirname.txt`
|
|
||||||
echo "Creating $DIR/../$FILENAME "
|
|
||||||
|
|
||||||
pushd $WORK_DIR
|
|
||||||
tar -czf $DIR/../$FILENAME $DIRNAME
|
|
||||||
popd
|
|
||||||
|
|
||||||
VER=`cat $WORK_DIR/version.txt`
|
|
||||||
echo "Importing $DIR/../$FILENAME as $VER into git"
|
|
||||||
#exit 1
|
|
||||||
|
|
||||||
cleanup
|
|
||||||
gbp import-orig --pristine-tar -u $VER $DIR/../$FILENAME
|
|
||||||
|
|
||||||
exit 0
|
|
11
debian/README.source
vendored
11
debian/README.source
vendored
@ -1,11 +0,0 @@
|
|||||||
magician-2.0.0 (1:2.0.0-1.1) unstable; urgency=low
|
|
||||||
|
|
||||||
Sources have been repacked from the following upstream archive:
|
|
||||||
|
|
||||||
see files.diz
|
|
||||||
|
|
||||||
Upstream licence has been reformated using the following command:
|
|
||||||
|
|
||||||
magician -license
|
|
||||||
|
|
||||||
-- Mario Fetka (geos_one) <mario.fetka@gmail.com> Thu May 23 16:20:12 GMT 2017
|
|
1882
debian/Samsung_Magician_DC_Brand_v2_User_Guide.txt
vendored
1882
debian/Samsung_Magician_DC_Brand_v2_User_Guide.txt
vendored
File diff suppressed because it is too large
Load Diff
7
debian/changelog
vendored
7
debian/changelog
vendored
@ -1,7 +0,0 @@
|
|||||||
magician (2.0.1-1.1) UNRELEASED; urgency=medium
|
|
||||||
|
|
||||||
* Non-maintainer upload.
|
|
||||||
* new integrated version
|
|
||||||
|
|
||||||
-- Mario Fetka <mario.fetka@gmail.com> Tue, 25 Apr 2017 04:03:29 +0200
|
|
||||||
|
|
1
debian/compat
vendored
1
debian/compat
vendored
@ -1 +0,0 @@
|
|||||||
7
|
|
16
debian/control
vendored
16
debian/control
vendored
@ -1,16 +0,0 @@
|
|||||||
Source: magician
|
|
||||||
Section: admin
|
|
||||||
Priority: optional
|
|
||||||
Maintainer: Mario Fekta (geos_one) <mario.fetka@gmail.com>
|
|
||||||
Build-Depends: debhelper (>= 5)
|
|
||||||
Standards-Version: 3.9.3
|
|
||||||
|
|
||||||
Package: magician
|
|
||||||
Architecture: amd64 i386
|
|
||||||
Depends: ${misc:Depends}, ${shlibs:Depends}
|
|
||||||
Description: The Magician SSD management utility 1.0 is designed
|
|
||||||
to work with all Samsung SSD products including 470 Series,
|
|
||||||
750 Series, 830 Series, 840 Series, 850 Series, 950 Series
|
|
||||||
and 960 Series.
|
|
||||||
The Data Center Magician SSD management utility 2.0 is designed
|
|
||||||
to work with the Samsung PM863 and SM863 Series only.
|
|
126
debian/copyright
vendored
126
debian/copyright
vendored
@ -1,126 +0,0 @@
|
|||||||
Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
|
|
||||||
Upstream-Name: magician
|
|
||||||
Source: http://www.samsung.com/semiconductor/minisite/ssd/downloads/software/Samsung_Magician_DC_Linux_64bit.zip
|
|
||||||
Source: http://www.samsung.com/semiconductor/minisite/ssd/downloads/software/Samsung_Magician_DC_Linux_32bit.zip
|
|
||||||
Source: http://www.samsung.com/semiconductor/minisite/ssd/downloads/software/samsung_magician_dc-v1.0_rtm_p2.tar.gz
|
|
||||||
|
|
||||||
Files: debian/*
|
|
||||||
Copyright: Copyright (C) 2016 Mario Fetka (geos_one) <mario.fetka@gmail.com>
|
|
||||||
License: GPL-3.0+
|
|
||||||
This program is free software: you can redistribute it and/or modify
|
|
||||||
it under the terms of the GNU General Public License as published by
|
|
||||||
the Free Software Foundation, either version 3 of the License, or
|
|
||||||
(at your option) any later version.
|
|
||||||
.
|
|
||||||
This package is distributed in the hope that it will be useful,
|
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
||||||
GNU General Public License for more details.
|
|
||||||
.
|
|
||||||
You should have received a copy of the GNU General Public License
|
|
||||||
along with this program. If not, see <https://www.gnu.org/licenses/>.
|
|
||||||
.
|
|
||||||
On Debian systems, the complete text of the GNU General
|
|
||||||
Public License version 3 can be found in "/usr/share/common-licenses/GPL-3".
|
|
||||||
|
|
||||||
Files: *
|
|
||||||
================================================================================================
|
|
||||||
Samsung(R) SSD Magician DC Version 1.0/2.0
|
|
||||||
Copyright (c) 2014 Samsung Corporation
|
|
||||||
================================================================================================
|
|
||||||
|
|
||||||
-----------------------------------------------------------------------------------------------
|
|
||||||
| PLEASE CAREFULLY READ THE FOLLOWING TERMS AND CONDITIONS BEFORE USING THE |
|
|
||||||
| SAMSUNG MAGICIAN ('SOFTWARE') PROVIDED BY SAMSUNG ELECTRONICS CO., LTD. ('SAMSUNG'). |
|
|
||||||
| IF YOU DO NOT AGREE TO THE TERMS AND CONDITIONS OF |
|
|
||||||
| THIS SAMSUNG MAGICIAN SOFTWARE LICENSE AGREEMENT ('AGREEMENT'), DO NOT USE THE SOFTWARE. |
|
|
||||||
| |
|
|
||||||
| 1. LIMITED LICENSE: |
|
|
||||||
| ------------------- |
|
|
||||||
| 1.1 Samsung grants to you a nonexclusive, nontransferable and royalty-free license to use |
|
|
||||||
| the Software only with Samsung SSD (Solid State Drive) products. You may not modify the |
|
|
||||||
| Software; reverse compile, reverse engineer, disassemble or reverse assemble all or any |
|
|
||||||
| portion of the Software; rent, lease, license, sublicense, distribute, transfer or sell |
|
|
||||||
| the Software; or create derivative works of the Software. |
|
|
||||||
| 1.2 The Software contains software that is licensed under BSD 2.0 or is in the |
|
|
||||||
| public domain. |
|
|
||||||
|-----------------------------| |
|
|
||||||
| Component | License | |
|
|
||||||
|-----------------------------| |
|
|
||||||
| hdparm BSD | 2.0 | |
|
|
||||||
| Json-cpp | public domain | |
|
|
||||||
|-----------------------------| |
|
|
||||||
| - Below is the full license statement from hdparm. |
|
|
||||||
| * BSD-Style Open Source License : You may freely use, modify, and redistribute the hdparm |
|
|
||||||
| program, as either binary or source, or both. The only condition is that the name and |
|
|
||||||
| copyright notice remain in the source code as-is. Mark Lord (mlord@pobox.com) |
|
|
||||||
| - Below is the full license statement from json-cpp. |
|
|
||||||
| * The json-cpp library and this documentation are in public domain. |
|
|
||||||
| |
|
|
||||||
| 2. OWNERSHIP: |
|
|
||||||
| ------------- |
|
|
||||||
| Except as expressly licensed above, no title, ownership, or intellectual property rights of|
|
|
||||||
| any kind, express or implied, are transferred to you, and all right, title, and interest in|
|
|
||||||
| and to the Software remains with Samsung. The Software is licensed to you and not sold. |
|
|
||||||
| You must reproduce and include all copyright notices and any other proprietary rights |
|
|
||||||
| notices appearing on the Software. |
|
|
||||||
| |
|
|
||||||
| 3. NO SUPPORT: |
|
|
||||||
| -------------- |
|
|
||||||
| Samsung is under no obligation to update, maintain, or provide new versions or other |
|
|
||||||
| support for the Software. Samsung may make changes to the Software at any time without |
|
|
||||||
| notice to you. |
|
|
||||||
| |
|
|
||||||
| 4. NO WARRANTY: |
|
|
||||||
| --------------- |
|
|
||||||
| The Software is provided "AS IS" without warranty of any kind. |
|
|
||||||
| SAMSUNG EXPRESSLY DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED |
|
|
||||||
| TO, NONINFRINGEMENT OF THIRD PARTY RIGHTS, ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR |
|
|
||||||
| FITNESS FOR ANY PARTICULAR PURPOSE, AND ANY WARRANTIES ARISING FOR ANY COURSE OF DEALING OR|
|
|
||||||
| USAGE OF TRADE. SAMSUNG DOES NOT WARRANT THAT THE SOFTWARE WILL MEET YOUR REQUIREMENTS, OR |
|
|
||||||
| THAT THE OPERATION OF THE SOFTWARE WILL BE UNINTERRUPTED OR ERROR-FREE. FURTHERMORE, |
|
|
||||||
| SAMSUNG DOES NOT MAKE ANY REPRESENTATIONS REGARDING THE USE OR |
|
|
||||||
| THE RESULTS OF THE USE OF THE SOFTWARE IN TERMS OF ITS CORRECTNESS, ACCURACY, RELIABILITY, |
|
|
||||||
| OR OTHERWISE. THE ENTIRE RISK ARISING OUT OF USE OR |
|
|
||||||
| PERFORMANCE OF THE SOFTWARE REMAINS WITH YOU. |
|
|
||||||
| |
|
|
||||||
| 5. NO LIABILITY: |
|
|
||||||
| ---------------- |
|
|
||||||
| IN NO EVENT SHALL SAMSUNG OR ITS AFFILIATED COMPANIES BE LIABLE FOR ANY DIRECT, INDIRECT, |
|
|
||||||
| CONSEQUENTIAL, INCIDENTAL, OR SPECIAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR |
|
|
||||||
| LOSS OF PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF YOUR USE OF |
|
|
||||||
| OR INABILITY TO USE THE SOFTWARE, EVEN IF SAMSUNG HAS BEEN ADVISED OF |
|
|
||||||
| THE POSSIBILITY OF SUCH DAMAGES. |
|
|
||||||
| |
|
|
||||||
| 6. TERMINATION: |
|
|
||||||
| --------------- |
|
|
||||||
| This Agreement is effective until terminated. This Agreement may be terminated by you at |
|
|
||||||
| any time by deleting the Software and discontinuing its use, or by Samsung if you fail to |
|
|
||||||
| cure any breach of this Agreement within sixty (60) days' written notice of breach by |
|
|
||||||
| Samsung. Upon termination, the licenses granted to you shall terminate, and you shall cease|
|
|
||||||
| all use and distribution of, and cease exercising any and all other rights granted under |
|
|
||||||
| this Agreement with respect to, the Software. |
|
|
||||||
| |
|
|
||||||
| 7. GENERAL: |
|
|
||||||
| ----------- |
|
|
||||||
| This Agreement constitutes the entire agreement between Samsung and you regarding the |
|
|
||||||
| subject matter hereof and supersedes all previous oral or written communications between |
|
|
||||||
| the parties. |
|
|
||||||
| |
|
|
||||||
| 8. DISPUTE RESOLUTION: |
|
|
||||||
| ---------------------- |
|
|
||||||
| This Agreement shall be governed by and construed in accordance with the laws of the |
|
|
||||||
| Republic of Korea, without regard to conflicts of laws principles. All disputes, |
|
|
||||||
| controversies or claims between the parties arising out of or in connection with this |
|
|
||||||
| Agreement (including its existence, validity or termination) which cannot be amicably |
|
|
||||||
| settled shall be finally resolved by arbitration to be held in Seoul, Korea in accordance |
|
|
||||||
| with the Arbitration Rules of the Korean Commercial Arbitration Board by one or more |
|
|
||||||
| arbitrators. The arbitral award shall be final and binding on the parties. |
|
|
||||||
| |
|
|
||||||
| 9. DISCLAIMER: |
|
|
||||||
| -------------- |
|
|
||||||
| Samsung is not responsible for any loss or damage to your computer, system, or application |
|
|
||||||
| programs, arising from the use of this application. Samsung also does not take any |
|
|
||||||
| liability for any kind of data loss and restoration that may occur during the installation |
|
|
||||||
| or execution of this Software.User of this application has to take complete responsibility.|
|
|
||||||
-----------------------------------------------------------------------------------------------
|
|
2
debian/dirs
vendored
2
debian/dirs
vendored
@ -1,2 +0,0 @@
|
|||||||
usr/sbin
|
|
||||||
usr/lib/magician
|
|
2
debian/docs
vendored
2
debian/docs
vendored
@ -1,2 +0,0 @@
|
|||||||
doc/2.00/*.pdf
|
|
||||||
debian/*.txt
|
|
4
debian/magician.wrapper
vendored
4
debian/magician.wrapper
vendored
@ -1,4 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
LD_LIBRARY_PATH=/usr/lib/magician:$LD_LIBRARY_PATH
|
|
||||||
export LD_LIBRARY_PATH
|
|
||||||
exec /usr/lib/magician/magician $@
|
|
14
debian/postinst
vendored
14
debian/postinst
vendored
@ -1,14 +0,0 @@
|
|||||||
#!/bin/sh
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
if [ -f "/usr/lib/magician/magician-2.00" ]; then
|
|
||||||
update-alternatives --install /usr/lib/magician/magician magician /usr/lib/magician/magician-2.00 200
|
|
||||||
fi
|
|
||||||
if [ -f "/usr/lib/magician/magician-1.00" ]; then
|
|
||||||
update-alternatives --install /usr/lib/magician/magician magician /usr/lib/magician/magician-1.00 100
|
|
||||||
fi
|
|
||||||
|
|
||||||
#DEBHELPER#
|
|
||||||
|
|
||||||
exit 0
|
|
14
debian/prerm
vendored
14
debian/prerm
vendored
@ -1,14 +0,0 @@
|
|||||||
#! /bin/sh
|
|
||||||
|
|
||||||
set -e
|
|
||||||
|
|
||||||
if [ -f "/usr/lib/magician/magician-2.00" ]; then
|
|
||||||
update-alternatives --remove magician /usr/lib/magician/magician-2.00
|
|
||||||
fi
|
|
||||||
if [ -f "/usr/lib/magician/magician-1.00" ]; then
|
|
||||||
update-alternatives --remove magician /usr/lib/magician/magician-1.00
|
|
||||||
fi
|
|
||||||
|
|
||||||
#DEBHELPER#
|
|
||||||
|
|
||||||
exit 0
|
|
52
debian/rules
vendored
52
debian/rules
vendored
@ -1,52 +0,0 @@
|
|||||||
#!/usr/bin/make -f
|
|
||||||
|
|
||||||
# Uncomment this to turn on verbose mode.
|
|
||||||
#export DH_VERBOSE=1
|
|
||||||
|
|
||||||
clean:
|
|
||||||
dh_testdir
|
|
||||||
dh_testroot
|
|
||||||
dh_clean
|
|
||||||
|
|
||||||
install:
|
|
||||||
dh_testdir
|
|
||||||
dh_testroot
|
|
||||||
dh_clean -k
|
|
||||||
dh_installdirs
|
|
||||||
ifeq ($(DEB_BUILD_ARCH),amd64)
|
|
||||||
install -D -m 0755 debian/magician.wrapper \
|
|
||||||
debian/magician/usr/sbin/magician
|
|
||||||
install -D -m 0755 amd64/2.00/magician \
|
|
||||||
debian/magician/usr/lib/magician/magician-2.00
|
|
||||||
install -D -m 0755 amd64/1.00/magician \
|
|
||||||
debian/magician/usr/lib/magician/magician-1.00
|
|
||||||
endif
|
|
||||||
ifeq ($(DEB_BUILD_ARCH),i386)
|
|
||||||
install -D -m 0755 debian/magician.wrapper \
|
|
||||||
debian/magician/usr/sbin/magician
|
|
||||||
install -D -m 0755 i386/2.00/magician \
|
|
||||||
debian/magician/usr/lib/magician/magician-2.00
|
|
||||||
install -D -m 0755 i386/1.00/magician \
|
|
||||||
debian/magician/usr/lib/magician/magician-1.00
|
|
||||||
endif
|
|
||||||
dh_install
|
|
||||||
|
|
||||||
binary-indep: build install
|
|
||||||
binary-arch: build install
|
|
||||||
dh_testdir
|
|
||||||
dh_testroot
|
|
||||||
dh_installchangelogs
|
|
||||||
dh_installdocs
|
|
||||||
dh_link
|
|
||||||
dh_compress
|
|
||||||
dh_fixperms
|
|
||||||
dh_makeshlibs
|
|
||||||
dh_strip
|
|
||||||
dh_installdeb
|
|
||||||
dh_shlibdeps
|
|
||||||
dh_gencontrol
|
|
||||||
dh_md5sums
|
|
||||||
dh_builddeb
|
|
||||||
|
|
||||||
binary: binary-arch binary-indep
|
|
||||||
.PHONY: build clean binary-indep binary-arch binary install
|
|
Binary file not shown.
@ -1,5 +0,0 @@
|
|||||||
doc!magician!2.0.1!Samsung_Magician_DC_Brand_v2_User_Guide.pdf!http://www.samsung.com/semiconductor/minisite/ssd/downloads/document/Samsung_Magician_DC_Brand_v2_User_Guide.pdf!0a3581bc6495549be635cd14deaa576f!2.00
|
|
||||||
amd64!magician!2.0.1!Samsung_Magician_DC_Linux_64bit.zip!http://www.samsung.com/semiconductor/minisite/ssd/downloads/software/Samsung_Magician_DC_Linux_64bit.zip!07132c95d8bf88fad498fab4b7864b2e!2.00
|
|
||||||
i386!magician!2.0.1!Samsung_Magician_DC_Linux_32bit.zip!http://www.samsung.com/semiconductor/minisite/ssd/downloads/software/Samsung_Magician_DC_Linux_32bit.zip!1357224cd841ef97b57c1a489e4f37b4!2.00
|
|
||||||
amd64!magician!2.0.1!samsung_magician_dc-v1.0_rtm_p2.tar.gz!http://www.samsung.com/semiconductor/minisite/ssd/downloads/software/samsung_magician_dc-v1.0_rtm_p2.tar.gz!b7e88ecac15adddaa5bfae3f679ee2ca!1.00
|
|
||||||
i386!magician!2.0.1!samsung_magician_dc-v1.0_rtm_p2.tar.gz!http://www.samsung.com/semiconductor/minisite/ssd/downloads/software/samsung_magician_dc-v1.0_rtm_p2.tar.gz!b7e88ecac15adddaa5bfae3f679ee2ca!1.00
|
|
Binary file not shown.
Binary file not shown.
BIN
magician_2.0.0.orig.tar.gz.delta
Normal file
BIN
magician_2.0.0.orig.tar.gz.delta
Normal file
Binary file not shown.
1
magician_2.0.0.orig.tar.gz.id
Normal file
1
magician_2.0.0.orig.tar.gz.id
Normal file
@ -0,0 +1 @@
|
|||||||
|
595c7f473679dfb7bb63c3809966819ccfdfabc6
|
BIN
magician_2.0.1.orig.tar.gz.delta
Normal file
BIN
magician_2.0.1.orig.tar.gz.delta
Normal file
Binary file not shown.
1
magician_2.0.1.orig.tar.gz.id
Normal file
1
magician_2.0.1.orig.tar.gz.id
Normal file
@ -0,0 +1 @@
|
|||||||
|
afb7e027ad622dfce40ef19a08aca8a6399823b0
|
Loading…
Reference in New Issue
Block a user