Explorar o código

Aligned remote packaging with the build

Thomas Davis %!s(int64=12) %!d(string=hai) anos
pai
achega
ed2e3ec50b
Modificáronse 4 ficheiros con 13 adicións e 12 borrados
  1. 1 1
      RELEASE_NOTES.md
  2. 4 4
      VS2012/civetweb64.aip
  3. 4 6
      distribution/arch/PKGBUILD.git.example
  4. 4 1
      test/MakefileTest.mk

+ 1 - 1
RELEASE_NOTES.md

@@ -1,4 +1,4 @@
-### Windows users may be the install the 
+### Some Windows users may be the install the 
 [Visual C++ Redistributable for Visual Studio 2012](http://www.microsoft.com/en-us/download/details.aspx?id=30679)
 
 Release Notes v1.2 

+ 4 - 4
VS2012/civetweb64.aip

@@ -13,8 +13,8 @@
     <ROW Property="ProductVersion" Value="1.2.0" Type="32"/>
     <ROW Property="SecureCustomProperties" Value="OLDPRODUCTS;AI_NEWERPRODUCTFOUND"/>
     <ROW Property="UpgradeCode" Value="{2899A100-4182-4BF0-814A-2FBA957BE3B1}"/>
-    <ROW Property="WindowsType9X" MultiBuildValue="DefaultBuild:Windows 9x/ME#Win32_Release:Windows 9x/ME" ValueLocId="-"/>
-    <ROW Property="WindowsType9XDisplay" MultiBuildValue="DefaultBuild:Windows 9x/ME#Win32_Release:Windows 9x/ME" ValueLocId="-"/>
+    <ROW Property="WindowsType9X" MultiBuildValue="DefaultBuild:Windows 9x/ME#x64_Release:Windows 9x/ME" ValueLocId="-"/>
+    <ROW Property="WindowsType9XDisplay" MultiBuildValue="DefaultBuild:Windows 9x/ME#x64_Release:Windows 9x/ME" ValueLocId="-"/>
   </COMPONENT>
   <COMPONENT cid="caphyon.advinst.msicomp.MsiDirsComponent">
     <ROW Directory="APPDIR" Directory_Parent="TARGETDIR" DefaultDir="APPDIR:." IsPseudoRoot="1"/>
@@ -42,7 +42,7 @@
   </COMPONENT>
   <COMPONENT cid="caphyon.advinst.msicomp.BuildComponent">
     <ROW BuildKey="DefaultBuild" BuildName="DefaultBuild" BuildOrder="1" BuildType="0" PackageFolder=".." PackageFileName="civetweb64_setup" Languages="en" InstallationType="4" UseLargeSchema="true" MsiPackageType="x64"/>
-    <ROW BuildKey="Win32_Release" BuildName="Win32_Release" BuildOrder="2" BuildType="0" PackageFolder="Win32_ReleaseSetupFiles" PackageFileName="civetweb" Languages="en" InstallationType="4" UseLargeSchema="true"/>
+    <ROW BuildKey="x64_Release" BuildName="x64_Release" BuildOrder="2" BuildType="0" PackageFolder="x64_ReleaseSetupFiles" PackageFileName="civetweb" Languages="en" InstallationType="4" UseLargeSchema="true"/>
     <ATTRIBUTE name="CurrentBuild" value="DefaultBuild"/>
   </COMPONENT>
   <COMPONENT cid="caphyon.advinst.msicomp.DictionaryComponent">
@@ -126,7 +126,7 @@
     <ROW Action="AI_ResolveLocalizedCredentials" Sequence="51"/>
   </COMPONENT>
   <COMPONENT cid="caphyon.advinst.msicomp.MsiLaunchConditionsComponent">
-    <ROW Condition="VersionNT" Description="[ProductName] cannot be installed on [WindowsType9XDisplay]" DescriptionLocId="AI.LaunchCondition.No9X" IsPredefined="true" Builds="DefaultBuild;Win32_Release"/>
+    <ROW Condition="VersionNT" Description="[ProductName] cannot be installed on [WindowsType9XDisplay]" DescriptionLocId="AI.LaunchCondition.No9X" IsPredefined="true" Builds="DefaultBuild;x64_Release"/>
   </COMPONENT>
   <COMPONENT cid="caphyon.advinst.msicomp.MsiRegsComponent">
     <ROW Registry="Path" Root="-1" Key="Software\[Manufacturer]\[ProductName]" Name="Path" Value="[APPDIR]" Component_="ProductInformation"/>

+ 4 - 6
distribution/arch/PKGBUILD.git.example

@@ -25,15 +25,13 @@ md5sums=('SKIP')
 
 build() {
   cd "$srcdir/$_pkgname"
-  make build WITH_IPV6=1
+  make build WITH_IPV6=1 WITH_LUA=1
 }
 
 package() {
-  install -Dm755 "$srcdir/$_pkgname/$_pkgname" "$pkgdir/usr/bin/$_pkgname"
-  install -Dm644 "$srcdir/$_pkgname/distribution/arch/$_pkgname.conf" "$pkgdir/etc/$_pkgname/$_pkgname.conf"
-  install -Dm644 "$srcdir/$_pkgname/distribution/arch/$_pkgname.service" "$pkgdir/usr/lib/systemd/system/$_pkgname.service"
-  install -d "$pkgdir/usr/share/$_pkgname"
-  install -m644 "$srcdir/$_pkgname/docs/UserManual.md" "$srcdir/$_pkgname/README.md" "$pkgdir/usr/share/$_pkgname"
+  make install "PREFIX=$pkgdir" TARGET_OS=LINUX
+  install -d -m 755 "$pkgdir/usr/lib/systemd/system"
+  install -m 644 "$srcdir/$_pkgname/distribution/arch/$_pkgname.service" "$pkgdir/usr/lib/systemd/system/$_pkgname.service"
 }
 
 # vim:set ts=2 sw=2 et:

+ 4 - 1
test/MakefileTest.mk

@@ -13,7 +13,7 @@ include $(TOP)/resources/Makefile.in-os
 all: test
 
 test: buildoptions buildlibs buildinstall
-test: buildexamples
+test: buildexamples threaded
 
 ifeq ($(TARGET_OS),OSX)
 test: dmg
@@ -46,6 +46,9 @@ buildoptions:
 	$(MAKE) -C $(TOP) clean build WITH_LUA=1
 	$(MAKE) -C $(TOP) clean build WITH_LUA=1 WITH_IPV6=1 WITH_WEBSOCKET=1
 
+threaded:
+	$(MAKE) -j 8 -C $(TOP) clean build WITH_LUA=1
+
 buildinstall:
 	$(MAKE) -C $(TOP) clean install PREFIX=$(TEST_OUT)